/* ShopAfrica v2 — shared storefront design system */
:root {
  --ink: #171612;
  --ink-soft: #39362f;
  --paper: #f7f3ea;
  --paper-2: #fffdf8;
  --line: rgba(23, 22, 18, 0.12);
  --muted: #716d64;
  --terracotta: #c85c2e;
  --terracotta-dark: #9f4220;
  --gold: #e6b05b;
  --forest: #234f3d;
  --hibiscus: #8f2944;
  --indigo: #283d69;
  --sand: #d7b07a;
  --success: #247047;
  --danger: #a23535;
  --white: #fff;
  --shadow-sm: 0 10px 30px rgba(31, 26, 18, 0.08);
  --shadow-md: 0 24px 70px rgba(31, 26, 18, 0.12);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.drawer-open, html.drawer-open body { overflow: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper-2);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }
::selection { background: rgba(200, 92, 46, .22); }
:focus-visible { outline: 3px solid rgba(200, 92, 46, .35); outline-offset: 3px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.kicker { margin: 0 0 10px; color: var(--terracotta); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800; }
.h1, .h2, .h3 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.035em; line-height: 1.02; margin: 0; }
.h1 { font-size: clamp(44px, 6vw, 78px); }
.h2 { font-size: clamp(34px, 4vw, 52px); }
.h3 { font-size: clamp(24px, 2.4vw, 32px); }
.lead { color: var(--muted); font-size: clamp(17px, 1.8vw, 20px); max-width: 720px; margin: 18px 0 0; }
.muted { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--terracotta-dark); font-weight: 800; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.button {
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.button--dark { background: var(--ink); color: var(--white); box-shadow: 0 8px 24px rgba(23,22,18,.18); }
.button--dark:hover { background: #292720; }
.button--accent { background: var(--terracotta); color: #fff; box-shadow: 0 8px 24px rgba(200,92,46,.22); }
.button--accent:hover { background: var(--terracotta-dark); }
.button--soft { background: rgba(23,22,18,.055); color: var(--ink); border-color: var(--line); }
.button--soft:hover { background: rgba(23,22,18,.09); }
.button--white { background: #fff; color: var(--ink); }
.button--small { min-height: 40px; padding-inline: 15px; font-size: 13px; }
.button--full { width: 100%; }

/* Announcement + header */
.announcement { background: var(--ink); color: rgba(255,255,255,.76); font-size: 12px; }
.announcement__inner { min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 13px; white-space: nowrap; }
.announcement__dot { width: 3px; height: 3px; background: rgba(255,255,255,.36); border-radius: 50%; }
.announcement__link { color: #fff; font-weight: 700; }
.announcement__link:hover { text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,253,248,.9); backdrop-filter: blur(18px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px rgba(23,22,18,.05); }
.site-header__inner { height: 78px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; white-space: nowrap; }
.brand__mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px 11px 11px 4px; background: var(--terracotta); color: #fff; font-size: 11px; font-weight: 900; letter-spacing: -.04em; transform: rotate(-3deg); }
.brand__mark span { transform: rotate(3deg); }
.brand__word { font-family: Georgia, "Times New Roman", serif; font-size: 24px; letter-spacing: -.04em; }
.brand__word span { color: var(--terracotta); }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 28px; font-size: 14px; font-weight: 750; }
.desktop-nav a { position: relative; padding: 8px 0; }
.desktop-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 2px; height: 2px; background: var(--terracotta); transition: left .18s, right .18s; }
.desktop-nav a:hover::after { left: 0; right: 0; }
.header-tools { display: flex; align-items: center; gap: 8px; }
.header-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 50%; background: transparent; cursor: pointer; }
.header-icon:hover { background: rgba(23,22,18,.055); }
.header-icon svg, .header-cart svg, .header-account svg, .mobile-drawer__nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.header-menu { display: none; }
.header-account { display: flex; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 14px; }
.header-account:hover { background: rgba(23,22,18,.05); }
.header-account__icon { display: grid; place-items: center; }
.header-account__copy { display: grid; line-height: 1.15; }
.header-account__copy small { color: var(--muted); font-size: 10px; font-weight: 650; }
.header-account__copy strong { font-size: 13px; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-cart { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.cart-count { position: absolute; right: -4px; top: -5px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: var(--terracotta); color: #fff; font-size: 10px; font-weight: 900; border: 2px solid var(--paper-2); }
.mobile-drawer-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(10,10,8,.42); backdrop-filter: blur(3px); }
.mobile-drawer { position: fixed; z-index: 90; top: 0; bottom: 0; left: 0; width: min(88vw, 390px); background: var(--paper-2); transform: translateX(-104%); transition: transform .25s ease; padding: 20px; overflow-y: auto; box-shadow: 30px 0 70px rgba(0,0,0,.16); }
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.mobile-drawer__account { margin: 20px 0; padding: 18px; border-radius: var(--radius); background: var(--paper); }
.mobile-drawer__hello { font-family: Georgia, serif; font-size: 24px; margin-bottom: 13px; }
.mobile-drawer__account-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mobile-drawer__nav { display: grid; border-top: 1px solid var(--line); }
.mobile-drawer__nav a { display: flex; align-items: center; justify-content: space-between; padding: 17px 2px; border-bottom: 1px solid var(--line); font-weight: 800; }
.mobile-drawer__nav svg { width: 17px; }
.mobile-drawer__links { padding-top: 18px; display: flex; flex-wrap: wrap; gap: 9px 18px; font-size: 13px; color: var(--muted); }

/* Home */
.hero { overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.hero__inner { min-height: 650px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(28px, 5vw, 74px); padding-top: 62px; padding-bottom: 62px; }
.hero__copy { position: relative; z-index: 2; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.58); font-size: 12px; font-weight: 800; margin-bottom: 24px; }
.hero__badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 4px rgba(35,79,61,.12); }
.hero__title { max-width: 720px; }
.hero__title em { color: var(--terracotta); font-style: italic; font-weight: 500; }
.hero__text { font-size: clamp(17px, 1.65vw, 20px); color: var(--muted); max-width: 625px; margin: 22px 0 30px; }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__trust { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 36px; color: var(--muted); font-size: 12px; font-weight: 700; }
.hero__trust span { display: flex; align-items: center; gap: 7px; }
.hero__trust i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero-art { position: relative; min-height: 520px; }
.hero-art::before { content: ""; position: absolute; width: 460px; height: 460px; right: 2%; top: 5%; border-radius: 47% 53% 56% 44% / 48% 43% 57% 52%; background: linear-gradient(145deg, #c85c2e, #8f2944 55%, #432c52); transform: rotate(-7deg); box-shadow: 0 34px 90px rgba(103,40,44,.22); }
.hero-art::after { content: ""; position: absolute; width: 190px; height: 190px; right: 55%; bottom: 4%; border-radius: 42% 58% 42% 58%; background: #e6b05b; opacity: .82; }
.hero-art__card { position: absolute; z-index: 2; border-radius: 26px; box-shadow: var(--shadow-md); border: 1px solid rgba(255,255,255,.55); backdrop-filter: blur(12px); }
.hero-art__card--main { width: 330px; min-height: 380px; right: 9%; top: 13%; padding: 28px; background: rgba(255,253,248,.92); transform: rotate(4deg); }
.hero-art__label { color: var(--terracotta); text-transform: uppercase; letter-spacing: .15em; font-size: 10px; font-weight: 900; }
.hero-art__flower { width: 180px; height: 180px; margin: 28px auto; display: grid; place-items: center; border-radius: 50%; font-size: 90px; background: radial-gradient(circle at 35% 30%, #fff5ef, #ead4c6); box-shadow: inset 0 0 0 1px rgba(23,22,18,.06); }
.hero-art__name { font-family: Georgia, serif; font-size: 29px; line-height: 1.05; }
.hero-art__meta { margin-top: 8px; color: var(--muted); font-size: 13px; }
.hero-art__card--mini { left: 2%; bottom: 16%; width: 190px; padding: 18px; background: rgba(23,22,18,.92); color: #fff; transform: rotate(-6deg); }
.hero-art__mini-title { font-size: 11px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .1em; }
.hero-art__mini-value { font-family: Georgia, serif; font-size: 26px; margin-top: 7px; }

.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-strip__inner { min-height: 94px; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 18px 24px; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; }
.trust-item__icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; background: var(--paper); font-size: 18px; }
.trust-item strong { display: block; font-size: 13px; }
.trust-item span { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }

.section { padding: 92px 0; }
.section--paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--ink); color: #fff; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section__head-copy { max-width: 650px; }
.section__head p { margin: 10px 0 0; color: var(--muted); }
.section--dark .section__head p { color: rgba(255,255,255,.62); }
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.category-card { position: relative; overflow: hidden; min-height: 260px; border-radius: var(--radius); border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; background: #fff; transition: transform .2s, box-shadow .2s; }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.category-card__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; font-size: 31px; background: var(--paper); }
.category-card__eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 900; }
.category-card__name { font-family: Georgia, serif; font-size: 25px; line-height: 1.05; margin: 7px 0; }
.category-card__desc { color: var(--muted); font-size: 13px; margin: 0; }
.category-card__arrow { margin-top: 18px; font-weight: 900; color: var(--terracotta); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .22s, box-shadow .22s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.product-visual { position: relative; min-height: 240px; overflow: hidden; display: grid; place-items: center; background: #efe7d9; }
.product-visual__halo { position: absolute; width: 190px; height: 190px; border-radius: 50%; background: rgba(255,255,255,.45); filter: blur(1px); }
.product-visual__icon { position: relative; z-index: 2; font-size: 84px; filter: drop-shadow(0 18px 18px rgba(42,32,20,.13)); transform: rotate(-4deg); transition: transform .25s; }
.product-card:hover .product-visual__icon { transform: rotate(0) scale(1.05); }
.product-visual__unit { position: absolute; left: 14px; bottom: 14px; z-index: 3; padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,.82); backdrop-filter: blur(8px); font-size: 10px; font-weight: 900; }
.product-visual--boissons { background: linear-gradient(145deg, #efd8dc, #ead9cc); }
.product-visual--epicerie { background: linear-gradient(145deg, #f1d9c7, #e7c69f); }
.product-visual--beaute { background: linear-gradient(145deg, #ece4d5, #d8cfb9); }
.product-visual--artisanat { background: linear-gradient(145deg, #d9ddec, #c8d1df); }
.product-visual--maison { background: linear-gradient(145deg, #d8e1d6, #c8d2bf); }
.product-card__body { padding: 18px; }
.product-card__tags { min-height: 23px; display: flex; gap: 5px; flex-wrap: wrap; }
.product-tag { display: inline-flex; align-items: center; padding: 4px 7px; border-radius: 999px; background: var(--paper); color: var(--muted); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.product-card__name { display: block; font-family: Georgia, serif; font-size: 21px; line-height: 1.08; margin-top: 8px; }
.product-card__name:hover { color: var(--terracotta); }
.product-card__desc { min-height: 42px; margin: 8px 0 16px; color: var(--muted); font-size: 12px; }
.product-card__bottom { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.product-card__price { font-weight: 900; font-size: 17px; }
.product-card__tax { color: var(--muted); font-size: 9px; margin-top: 1px; }
.round-add { width: 42px; height: 42px; flex: 0 0 auto; border: 0; border-radius: 50%; background: var(--ink); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; transition: transform .18s, background .18s; }
.round-add:hover { transform: scale(1.06); background: var(--terracotta); }
.round-add.is-added { background: var(--success); }

.story-block { display: grid; grid-template-columns: .92fr 1.08fr; gap: 50px; align-items: center; }
.story-visual { position: relative; min-height: 520px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #263d31, #17241e); overflow: hidden; color: #fff; padding: 42px; }
.story-visual::before { content: ""; position: absolute; width: 380px; height: 380px; border: 70px solid rgba(230,176,91,.86); border-radius: 50%; right: -110px; top: -90px; }
.story-visual::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 40% 60% 60% 40%; background: var(--terracotta); left: -70px; bottom: -60px; transform: rotate(25deg); }
.story-visual__copy { position: absolute; z-index: 2; left: 42px; right: 42px; bottom: 42px; }
.story-visual__copy span { color: rgba(255,255,255,.65); font-size: 12px; text-transform: uppercase; letter-spacing: .13em; font-weight: 800; }
.story-visual__copy strong { display: block; margin-top: 10px; font-family: Georgia, serif; font-size: clamp(30px, 4vw, 48px); line-height: 1.03; max-width: 480px; }
.story-copy p { color: var(--muted); font-size: 16px; }
.story-points { display: grid; gap: 16px; margin: 28px 0; }
.story-point { display: grid; grid-template-columns: 38px 1fr; gap: 13px; align-items: start; }
.story-point__number { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); color: var(--terracotta); font-weight: 900; }
.story-point strong { display: block; margin-bottom: 3px; }
.story-point span { color: var(--muted); font-size: 13px; }

.cta-panel { border-radius: var(--radius-lg); background: linear-gradient(135deg, #9f4220, #c85c2e 55%, #e18748); color: #fff; padding: clamp(30px, 6vw, 68px); display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center; overflow: hidden; position: relative; }
.cta-panel::after { content: ""; position: absolute; width: 280px; height: 280px; border: 55px solid rgba(255,255,255,.11); border-radius: 50%; right: -70px; top: -110px; }
.cta-panel h2 { position: relative; z-index: 2; max-width: 720px; }
.cta-panel p { position: relative; z-index: 2; margin: 12px 0 0; color: rgba(255,255,255,.78); max-width: 650px; }
.cta-panel .button { position: relative; z-index: 2; }

/* Page mastheads */
.page-hero { padding: 68px 0 48px; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero--compact { padding-block: 48px; }
.page-hero__inner { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.page-hero__copy { max-width: 760px; }
.page-hero__copy p { margin: 14px 0 0; color: var(--muted); font-size: 17px; }
.breadcrumbs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 12px; margin-bottom: 18px; }
.breadcrumbs a:hover { color: var(--terracotta); }

/* Catalog */
.catalog-layout { display: grid; grid-template-columns: 240px 1fr; gap: 34px; align-items: start; }
.catalog-sidebar { position: sticky; top: 112px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 20px; }
.filter-title { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 900; margin-bottom: 12px; }
.filter-list { display: grid; gap: 5px; }
.filter-button { width: 100%; border: 0; background: transparent; border-radius: 11px; padding: 10px 11px; text-align: left; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 750; }
.filter-button:hover, .filter-button.is-active { background: var(--paper); }
.filter-button.is-active { color: var(--terracotta-dark); }
.catalog-main { min-width: 0; }
.catalog-toolbar { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-bottom: 22px; }
.search-field { position: relative; }
.search-field input { width: 100%; height: 50px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); padding: 0 18px 0 44px; outline: 0; }
.search-field input:focus { border-color: rgba(200,92,46,.55); box-shadow: 0 0 0 4px rgba(200,92,46,.08); }
.search-field::before { content: "⌕"; position: absolute; left: 17px; top: 50%; transform: translateY(-53%); color: var(--muted); font-size: 21px; pointer-events: none; }
.select-field { height: 50px; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 0 38px 0 16px; color: var(--ink); font-weight: 700; }
.catalog-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; color: var(--muted); font-size: 12px; }
.mobile-filter-chips { display: none; gap: 7px; overflow-x: auto; margin: -4px -20px 20px; padding: 4px 20px 8px; scrollbar-width: none; }
.mobile-filter-chips::-webkit-scrollbar { display: none; }
.filter-chip { flex: 0 0 auto; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 12px; font-size: 12px; font-weight: 800; }
.filter-chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty-state { text-align: center; padding: 60px 24px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--paper); }
.empty-state__icon { font-size: 44px; margin-bottom: 12px; }
.empty-state h2 { font-family: Georgia, serif; margin: 0; }
.empty-state p { color: var(--muted); }

/* Product page */
.product-detail { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(35px, 6vw, 80px); align-items: start; }
.product-detail__visual { position: sticky; top: 118px; min-height: 590px; border-radius: var(--radius-lg); display: grid; place-items: center; overflow: hidden; }
.product-detail__visual .product-visual__halo { width: 390px; height: 390px; }
.product-detail__visual .product-visual__icon { font-size: 170px; }
.product-detail__visual .product-visual__unit { left: 24px; bottom: 24px; font-size: 12px; padding: 8px 12px; }
.product-detail__tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 18px; }
.product-detail__title { font-family: Georgia, serif; font-size: clamp(42px, 5vw, 64px); letter-spacing: -.045em; line-height: .98; margin: 0; }
.product-detail__price { margin-top: 18px; font-size: 23px; font-weight: 900; }
.product-detail__price small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; font-weight: 600; }
.product-detail__short { margin: 22px 0; color: var(--muted); font-size: 17px; }
.product-detail__buy { display: grid; grid-template-columns: 112px 1fr; gap: 10px; margin: 24px 0; }
.quantity-control { height: 50px; display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.quantity-control button { height: 100%; border: 0; background: transparent; cursor: pointer; font-size: 18px; }
.quantity-control span { text-align: center; font-weight: 900; }
.product-facts { margin-top: 30px; border-top: 1px solid var(--line); }
.product-fact { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.product-fact span:first-child { color: var(--muted); }
.product-note { margin-top: 24px; padding: 17px; border-radius: 16px; background: var(--paper); color: var(--muted); font-size: 12px; }

/* Cart */
.cart-layout { display: grid; grid-template-columns: minmax(0,1fr) 370px; gap: 28px; align-items: start; }
.cart-list { display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 105px minmax(0,1fr) auto; gap: 17px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cart-line__visual { min-height: 96px; border-radius: 15px; display: grid; place-items: center; font-size: 44px; }
.cart-line__name { font-family: Georgia, serif; font-size: 20px; }
.cart-line__meta { color: var(--muted); font-size: 11px; margin: 4px 0 10px; }
.cart-line__actions { display: flex; align-items: center; gap: 10px; }
.cart-line__remove { border: 0; background: transparent; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 4px; font-size: 11px; }
.cart-line__price { text-align: right; font-weight: 900; white-space: nowrap; }
.summary-card { position: sticky; top: 118px; border-radius: var(--radius); background: var(--ink); color: #fff; padding: 24px; }
.summary-card h2 { font-family: Georgia, serif; font-size: 27px; margin: 0 0 20px; }
.summary-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 0; color: rgba(255,255,255,.7); font-size: 13px; }
.summary-row strong { color: #fff; }
.summary-row--total { margin-top: 10px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.17); color: #fff; font-size: 16px; }
.summary-row--total strong { font-size: 21px; }
.summary-card .button { margin-top: 18px; }
.summary-note { color: rgba(255,255,255,.52); font-size: 10px; text-align: center; margin: 12px 0 0; }
.cart-empty { padding: 55px 24px; border-radius: var(--radius); background: var(--paper); text-align: center; }
.cart-empty__icon { font-size: 46px; }
.cart-empty h2 { font-family: Georgia, serif; margin-bottom: 7px; }
.cart-empty p { color: var(--muted); margin-bottom: 22px; }

/* Forms + checkout */
.form-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: clamp(20px, 3vw, 30px); }
.form-card + .form-card { margin-top: 16px; }
.form-card__title { font-family: Georgia, serif; font-size: 26px; margin: 0 0 6px; }
.form-card__intro { color: var(--muted); font-size: 13px; margin: 0 0 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 850; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 13px; background: var(--paper-2); padding: 12px 13px; color: var(--ink); outline: 0; }
.field input, .field select { height: 48px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(200,92,46,.55); box-shadow: 0 0 0 4px rgba(200,92,46,.08); }
.field-help { color: var(--muted); font-size: 10px; }
.checkbox-line { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 12px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 28px; align-items: start; }
.checkout-steps { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 24px; }
.checkout-step { padding: 7px 11px; border-radius: 999px; background: var(--paper); color: var(--muted); font-size: 10px; font-weight: 900; }
.checkout-step.is-active { background: var(--ink); color: #fff; }
.payment-placeholder { padding: 18px; border-radius: 16px; border: 1px dashed rgba(200,92,46,.4); background: rgba(200,92,46,.045); }
.payment-placeholder strong { display: block; }
.payment-placeholder p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.form-message { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 12px; display: none; }
.form-message.is-visible { display: block; }
.form-message--success { background: rgba(36,112,71,.1); color: var(--success); }
.form-message--error { background: rgba(162,53,53,.09); color: var(--danger); }
.form-message--info { background: var(--paper); color: var(--ink-soft); }

/* Account + orders */
.account-shell { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 26px; align-items: start; }
.account-nav { position: sticky; top: 118px; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; background: #fff; }
.account-nav a, .account-nav button { width: 100%; border: 0; background: transparent; padding: 12px 13px; border-radius: 11px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 750; cursor: pointer; text-align: left; }
.account-nav a:hover, .account-nav button:hover, .account-nav a.is-active { background: var(--paper); }
.account-profile { display: flex; align-items: center; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.account-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--terracotta); color: #fff; display: grid; place-items: center; font-family: Georgia, serif; font-size: 25px; }
.account-profile h1 { margin: 0; font-family: Georgia, serif; font-size: 30px; }
.account-profile p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.account-badge { display: inline-flex; margin-top: 7px; padding: 5px 8px; border-radius: 999px; background: rgba(36,112,71,.09); color: var(--success); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.account-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.account-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 20px; min-height: 160px; display: flex; flex-direction: column; justify-content: space-between; }
.account-card__icon { font-size: 25px; }
.account-card h2 { font-family: Georgia, serif; font-size: 21px; margin: 18px 0 4px; }
.account-card p { color: var(--muted); margin: 0; font-size: 11px; }
.account-card a { margin-top: 12px; font-size: 11px; font-weight: 900; color: var(--terracotta); }
.loading-card { min-height: 260px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: grid; place-items: center; color: var(--muted); }
.spinner { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--terracotta); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.orders-list { display: grid; gap: 12px; }
.order-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.order-card__head { padding: 18px 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.order-number { font-family: Georgia, serif; font-size: 20px; }
.order-meta { color: var(--muted); font-size: 11px; margin-top: 3px; }
.order-status { display: inline-flex; padding: 6px 9px; border-radius: 999px; background: var(--paper); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.order-card__body { padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.order-total { font-weight: 900; }

/* Content pages */
.content-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 56px; align-items: start; }
.content-aside { position: sticky; top: 118px; }
.content-aside__box { padding: 22px; border-radius: var(--radius); background: var(--paper); }
.content-aside__box strong { display: block; font-family: Georgia, serif; font-size: 22px; }
.content-aside__box p { margin: 7px 0 16px; color: var(--muted); font-size: 12px; }
.prose { font-size: 15px; color: var(--ink-soft); }
.prose h2 { margin: 42px 0 12px; font-family: Georgia, serif; color: var(--ink); font-size: 30px; letter-spacing: -.025em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 24px 0 9px; color: var(--ink); font-size: 17px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 20px; }
.prose a { color: var(--terracotta-dark); text-decoration: underline; text-underline-offset: 3px; }
.notice { padding: 16px 18px; border-radius: 14px; background: var(--paper); border-left: 4px solid var(--terracotta); font-size: 12px; color: var(--ink-soft); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 850; display: flex; justify-content: space-between; gap: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--terracotta); font-size: 20px; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: -5px 0 20px; color: var(--muted); font-size: 13px; max-width: 760px; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; }
.contact-panel { border-radius: var(--radius-lg); background: var(--ink); color: #fff; padding: 34px; }
.contact-panel h2 { font-family: Georgia, serif; font-size: 34px; margin-top: 0; }
.contact-panel p { color: rgba(255,255,255,.62); }
.contact-method { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.13); }
.contact-method small { display: block; color: rgba(255,255,255,.48); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.contact-method a, .contact-method strong { display: block; margin-top: 4px; font-size: 14px; }

/* Auth */
.auth-page { min-height: calc(100vh - 34px); display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); }
.auth-visual { position: relative; overflow: hidden; background: linear-gradient(145deg, #1e3f31, #12251d); color: #fff; padding: 52px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-visual::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; border: 90px solid rgba(230,176,91,.72); right: -130px; bottom: -120px; }
.auth-visual::after { content: ""; position: absolute; width: 210px; height: 210px; border-radius: 40% 60% 55% 45%; background: var(--terracotta); left: -60px; top: 28%; transform: rotate(22deg); }
.auth-visual > * { position: relative; z-index: 2; }
.auth-visual__copy { max-width: 540px; }
.auth-visual h1 { font-family: Georgia, serif; font-size: clamp(44px, 5.5vw, 76px); line-height: .98; letter-spacing: -.04em; margin: 0; }
.auth-visual p { color: rgba(255,255,255,.68); font-size: 16px; }
.auth-main { padding: 44px; display: grid; place-items: center; }
.auth-card { width: min(100%, 480px); }
.auth-card__top { margin-bottom: 24px; }
.auth-card__top h1 { font-family: Georgia, serif; font-size: 39px; margin: 0; }
.auth-card__top p { color: var(--muted); margin: 8px 0 0; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(23,22,18,.06); margin-bottom: 20px; }
.auth-tab { height: 40px; border: 0; border-radius: 999px; background: transparent; font-weight: 850; cursor: pointer; }
.auth-tab.is-active { background: #fff; box-shadow: 0 4px 16px rgba(23,22,18,.08); }
.auth-google { width: 100%; height: 50px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 10px; }
.auth-google:hover { background: var(--paper); }
.google-g { font-weight: 900; color: #4285f4; font-size: 18px; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 10px; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-form { display: grid; gap: 13px; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 78px; }
.password-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--muted); font-size: 10px; font-weight: 850; cursor: pointer; padding: 8px; }
.auth-forgot { margin-top: -4px; border: 0; background: transparent; padding: 0; justify-self: end; color: var(--terracotta-dark); font-size: 11px; font-weight: 850; cursor: pointer; }
.auth-message { display: none; padding: 11px 13px; border-radius: 12px; font-size: 11px; }
.auth-message.is-visible { display: block; }
.auth-message.is-error { background: rgba(162,53,53,.09); color: var(--danger); }
.auth-message.is-success { background: rgba(36,112,71,.1); color: var(--success); }
.auth-message.is-info { background: var(--paper); color: var(--ink-soft); }
.auth-legal { margin-top: 18px; color: var(--muted); text-align: center; font-size: 9px; }
.auth-legal a { text-decoration: underline; }
.auth-back { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.65); font-size: 12px; font-weight: 800; }

/* Footer */
.site-footer { padding: 70px 0 22px; background: #11110f; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.65fr repeat(3, 1fr); gap: 50px; padding-bottom: 50px; }
.brand--footer .brand__word { color: #fff; }
.footer-brand p { max-width: 410px; color: rgba(255,255,255,.55); font-size: 12px; margin: 18px 0; }
.footer-email { color: #fff; font-weight: 800; font-size: 13px; }
.footer-title { margin: 4px 0 16px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.48); }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.74); font-size: 12px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { min-height: 55px; border-top: 1px solid rgba(255,255,255,.12); display: flex; align-items: end; justify-content: space-between; gap: 16px; color: rgba(255,255,255,.42); font-size: 10px; }

.toast { position: fixed; z-index: 120; left: 50%; bottom: 24px; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; padding: 12px 17px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: var(--shadow-md); font-size: 12px; font-weight: 800; transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast--error { background: var(--danger); }
.toast--success { background: var(--forest); }

/* Responsive */
@media (max-width: 1050px) {
  .desktop-nav { gap: 18px; }
  .desktop-nav a:nth-last-child(-n+2) { display: none; }
  .hero__inner { grid-template-columns: 1fr .82fr; }
  .hero-art__card--main { width: 290px; right: 3%; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .announcement__inner { justify-content: flex-start; overflow: hidden; }
  .announcement__dot--desktop, .announcement__link { display: none; }
  .site-header__inner { height: 68px; grid-template-columns: auto 1fr auto; gap: 10px; }
  .header-menu { display: grid; }
  .desktop-nav, .header-search, .header-account__copy { display: none; }
  .brand { justify-self: center; }
  .header-tools { justify-self: end; }
  .header-account { width: 42px; height: 42px; padding: 0; display: grid; place-items: center; }
  .hero__inner { min-height: auto; grid-template-columns: 1fr; padding-block: 50px 34px; }
  .hero__copy { text-align: center; }
  .hero__badge { margin-inline: auto; }
  .hero__text { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__trust { justify-content: center; gap: 14px; }
  .hero-art { min-height: 430px; max-width: 560px; width: 100%; margin-inline: auto; }
  .hero-art::before { width: 370px; height: 370px; right: 8%; }
  .hero-art__card--main { width: 280px; min-height: 330px; right: 12%; padding: 22px; }
  .hero-art__flower { width: 140px; height: 140px; font-size: 70px; margin: 23px auto; }
  .hero-art__card--mini { left: 4%; bottom: 8%; }
  .section { padding: 68px 0; }
  .section__head { align-items: start; flex-direction: column; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .story-block, .product-detail, .content-grid, .contact-layout { grid-template-columns: 1fr; }
  .story-visual { min-height: 420px; }
  .product-detail__visual, .content-aside { position: relative; top: auto; }
  .product-detail__visual { min-height: 440px; }
  .product-detail__visual .product-visual__icon { font-size: 130px; }
  .cta-panel { grid-template-columns: 1fr; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { display: none; }
  .mobile-filter-chips { display: flex; }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .select-field { width: 100%; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary-card { position: relative; top: auto; }
  .account-shell { grid-template-columns: 1fr; }
  .account-nav { position: relative; top: auto; display: flex; overflow-x: auto; padding: 7px; }
  .account-nav a, .account-nav button { width: auto; flex: 0 0 auto; }
  .account-cards { grid-template-columns: 1fr; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { min-height: 280px; padding: 32px; }
  .auth-visual h1 { font-size: 46px; max-width: 580px; }
  .auth-visual p { max-width: 570px; }
  .auth-main { padding: 40px 20px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand__word { font-size: 21px; }
  .brand__mark { width: 33px; height: 33px; }
  .header-tools { gap: 2px; }
  .header-account { display: none; }
  .hero__title { font-size: 43px; }
  .hero__text { font-size: 16px; }
  .hero__actions .button { width: 100%; }
  .hero__trust { display: grid; grid-template-columns: 1fr 1fr; text-align: left; }
  .hero-art { min-height: 370px; }
  .hero-art::before { width: 305px; height: 305px; right: 0; }
  .hero-art::after { width: 130px; height: 130px; left: 1%; }
  .hero-art__card--main { width: 235px; min-height: 290px; right: 7%; padding: 18px; }
  .hero-art__flower { width: 120px; height: 120px; font-size: 58px; margin: 18px auto; }
  .hero-art__name { font-size: 24px; }
  .hero-art__card--mini { width: 155px; padding: 14px; bottom: 3%; }
  .hero-art__mini-value { font-size: 21px; }
  .trust-strip__inner { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); padding-inline: 0; }
  .trust-item:last-child { border-bottom: 0; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 210px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-visual { min-height: 260px; }
  .page-hero { padding-block: 45px 34px; }
  .page-hero__inner { display: block; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .product-detail__buy { grid-template-columns: 1fr; }
  .quantity-control { width: 130px; }
  .cart-line { grid-template-columns: 80px 1fr; align-items: start; }
  .cart-line__visual { min-height: 80px; }
  .cart-line__price { grid-column: 2; text-align: left; }
  .account-profile { align-items: flex-start; }
  .order-card__head, .order-card__body { display: grid; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; padding-top: 18px; }
  .auth-visual { min-height: 235px; padding: 24px; }
  .auth-visual h1 { font-size: 38px; }
  .auth-visual p { font-size: 13px; }
  .auth-main { padding: 32px 16px; }
}
