/* ==========================================================================
   Jain's Aroma — Market Shelf design system
   Direction: warm paper retail, forest ink, amber accent, 14px radius.
   ========================================================================== */

:root {
  --cream: #FFFDF8;
  --paper: #F7F1E5;
  --paper-deep: #EFE7D6;
  --ink: #1E2A22;
  --ink-soft: #3A443C;
  --muted: #5C6459;
  --forest: #173D2B;
  --forest-deep: #0E2A1D;
  --forest-soft: #234A36;
  --sage: #E7EFE2;
  --sage-soft: #F2F6EE;
  --sage-line: #D3DFCC;
  --amber: #D97706;
  --amber-deep: #9A5304;
  --amber-soft: #FBEDDA;
  --line: #E4DDCC;
  --line-strong: #CFC5AF;
  --danger: #B42318;
  --danger-soft: #FDECEA;
  --success: #1F6B45;
  --success-soft: #E9F4EC;
  --info-soft: #EEF2F7;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(30, 42, 34, .05);
  --shadow: 0 12px 30px -18px rgba(30, 42, 34, .35);
  --shadow-lift: 0 22px 45px -25px rgba(30, 42, 34, .45);
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --wrap: 1240px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--amber-deep); }
button { font: inherit; }
::selection { background: var(--amber-soft); color: var(--forest); }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-sans); color: var(--forest); font-weight: 600; letter-spacing: -.022em; line-height: 1.1; }
h1 { font-size: clamp(34px, 5vw, 54px); }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.display { font-family: var(--font-sans); font-weight: 600; letter-spacing: -.035em; line-height: .98; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--amber-deep);
}
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; opacity: .7; }
.eyebrow.plain::before { display: none; }
.lede { font-size: clamp(16px, 1.6vw, 18.5px); color: var(--ink-soft); line-height: 1.65; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; line-height: 1.55; }
.tiny { font-size: 11px; }
.center { text-align: center; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 26px; }
.wrap-narrow { max-width: 860px; }
.row { display: flex; align-items: center; }
.stack { display: grid; gap: 14px; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.between { justify-content: space-between; }
.wrap-gap { flex-wrap: wrap; }
.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; }
.full { width: 100%; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 22px;
  border-radius: 10px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  background: var(--cream); color: var(--forest);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.btn[disabled], .btn.is-disabled { opacity: .55; pointer-events: none; }
.btn-primary { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.btn-primary:hover { background: var(--forest-deep); color: var(--cream); box-shadow: var(--shadow); }
.btn-accent { background: var(--amber); color: #1C1608; border-color: var(--amber); }
.btn-accent:hover { background: #C26A05; color: #1C1608; }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--forest); }
.btn-ghost:hover { border-color: var(--forest); background: var(--sage-soft); }
.btn-light { background: var(--cream); color: var(--forest); }
.btn-light:hover { background: #fff; }
.btn-outline-light { background: transparent; border-color: rgba(255,253,248,.4); color: var(--cream); }
.btn-outline-light:hover { border-color: var(--cream); background: rgba(255,253,248,.08); color: var(--cream); }
.btn-danger { background: var(--danger-soft); color: var(--danger); border-color: #F3C8C2; }
.btn-sm { min-height: 36px; padding: 0 13px; font-size: 13px; border-radius: 8px; }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn .icon { flex: none; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid transparent; background: transparent; color: var(--ink);
  cursor: pointer; transition: background .18s, border-color .18s;
}
.icon-btn:hover { background: var(--paper); }
.icon-btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 1px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; text-decoration: none; color: var(--forest); }
.text-link .icon { transition: transform .18s ease; }
.text-link:hover .icon { transform: translateX(3px); }

/* --- Badges, pills, alerts ---------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: .03em;
  background: var(--sage); color: var(--forest); white-space: nowrap;
}
.badge.warn { background: var(--amber-soft); color: #7A4302; }
.badge.ok { background: var(--success-soft); color: var(--success); }
.badge.muted { background: #F1EEE6; color: #6B6A60; }
.badge.danger { background: var(--danger-soft); color: var(--danger); }
.badge.info { background: var(--info-soft); color: #2C4A66; }
.badge.forest { background: var(--forest); color: var(--cream); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-soft); }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; border-radius: 10px; font-size: 14px; line-height: 1.5; margin-bottom: 16px; border: 1px solid transparent; }
.alert .icon { flex: none; margin-top: 2px; }
.alert.success { background: var(--success-soft); color: #14532D; border-color: #CBE5D3; }
.alert.error { background: var(--danger-soft); color: #7A271A; border-color: #F1CCC7; }
.alert.info { background: var(--info-soft); color: #263F55; border-color: #D8E2ED; }
.alert.warning { background: var(--amber-soft); color: #7A4302; border-color: #F3D8B2; }
.flash-stack { position: fixed; top: 96px; right: 20px; z-index: 1200; width: min(390px, calc(100vw - 32px)); }
.flash-stack .alert { box-shadow: var(--shadow); background-color: var(--cream); }
.flash-stack .alert.success { background-color: #F2FAF4; }
.flash-stack .alert.error { background-color: #FFF5F3; }
.flash-close { margin-left: auto; background: none; border: 0; cursor: pointer; color: currentColor; opacity: .6; padding: 2px; }
.flash-close:hover { opacity: 1; }

/* --- Forms --------------------------------------------------------------- */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field > label, .label { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); letter-spacing: .01em; }
.field .hint { font-size: 11.5px; color: var(--muted); line-height: 1.45; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=url], input[type=date], input[type=search], select, textarea {
  width: 100%; min-height: 46px; padding: 11px 13px;
  border: 1px solid var(--line-strong); border-radius: 9px;
  background: #FFFEFB; color: var(--ink);
  font: inherit; font-size: 14.5px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23676F65' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 38px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(23,61,43,.12); }
input::placeholder, textarea::placeholder { color: #9A9F96; }
input[type=checkbox], input[type=radio] { width: 17px; height: 17px; margin: 0; accent-color: var(--forest); flex: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); cursor: pointer; line-height: 1.5; }
.check input { margin-top: 3px; }
.check a { color: inherit; }
.form-error { font-size: 12px; color: var(--danger); }
qty-field, .qty-field { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 9px; background: #FFFEFB; overflow: hidden; }
.qty-field button { border: 0; background: none; width: 38px; height: 44px; cursor: pointer; color: var(--forest); display: inline-flex; align-items: center; justify-content: center; }
.qty-field button:hover { background: var(--sage-soft); }
.qty-field input { width: 40px; border: 0; text-align: center; min-height: 44px; padding: 0; background: transparent; font-weight: 600; }
.qty-field input:focus { box-shadow: none; }
.form-note { padding: 12px 14px; background: var(--sage-soft); border-radius: 10px; font-size: 12.5px; color: var(--ink-soft); }

/* --- Announcement + header ---------------------------------------------- */
.announce { background: var(--forest); color: #EDF3E8; font-size: 12px; letter-spacing: .02em; }
.announce .wrap { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 34px; padding-top: 5px; padding-bottom: 5px; text-align: center; }
.announce .icon { color: #B9CDB7; }
.announce a { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,253,248,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 26px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); flex: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; background: var(--forest); color: #F3D9AE; display: grid; place-items: center; font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -.04em; }
.brand-name { display: grid; line-height: 1.05; }
.brand-name strong { font-size: 18px; letter-spacing: -.02em; }
.brand-name span { font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 3px; margin-right: auto; }
.main-nav a { position: relative; padding: 8px 11px; font-size: 13.5px; font-weight: 500; color: var(--ink-soft); text-decoration: none; border-radius: 7px; white-space: nowrap; }
.main-nav a:hover { color: var(--forest); background: var(--paper); }
.main-nav a[aria-current="page"] { color: var(--forest); font-weight: 600; }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 1.5px; background: var(--amber); }
.nav-drop { position: relative; }
.nav-drop > button { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; padding: 8px 11px; font-size: 13.5px; font-weight: 500; color: var(--ink-soft); cursor: pointer; border-radius: 7px; }
.nav-drop > button:hover { color: var(--forest); background: var(--paper); }
.nav-drop-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-shadow: var(--shadow-lift); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .16s ease; }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: none; }
.nav-drop-menu a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 10px; border-radius: 7px; font-size: 13.5px; }
.nav-drop-menu a span { color: var(--muted); font-size: 11px; }
.header-actions { display: flex; align-items: center; gap: 2px; }
.header-actions .icon-btn { position: relative; }
.cart-count { position: absolute; top: 1px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--amber); color: #1C1608; font-size: 10px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--cream); }
.header-search { display: flex; }
.search-panel { border-top: 1px solid var(--line); background: var(--cream); display: none; }
.search-panel.open { display: block; }
.search-panel form { display: flex; gap: 10px; padding: 14px 0; }
.search-panel input { min-height: 44px; }
.mobile-toggle { display: none; }

.search-suggest-wrap { position: relative; flex: 1; }
.suggest-list { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: var(--cream); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 6px; z-index: 30; }
.suggest-list a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 6px; font-size: 13px; text-decoration: none; color: var(--ink); }
.suggest-list a:hover { background: var(--paper); }
.suggest-list .suggest-empty { padding: 10px; font-size: 12.5px; color: var(--muted); }

/* --- Art system ---------------------------------------------------------- */
.art { display: block; width: 100%; }
.art svg { display: block; width: 100%; height: auto; }
.art-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* --- Flash --------------------------------------------------------------- */

/* --- Hero ----------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 58px 0 44px; }
.hero::before { content: ""; position: absolute; left: -160px; top: -80px; width: 480px; height: 480px; background: radial-gradient(circle, #F4E9D7 0, rgba(244,233,215,0) 68%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(26px, 5vw, 64px); align-items: center; position: relative; }
.hero-copy { max-width: 580px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 74px); letter-spacing: -.045em; line-height: .96; margin: 14px 0 20px; }
.hero h1 em { font-style: normal; color: var(--amber-deep); position: relative; }
.hero .lede { max-width: 47ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; padding-top: 20px; border-top: 1px solid var(--line); }
.hero-trust .pill { border-color: transparent; background: transparent; padding: 0; color: var(--ink-soft); }
.hero-trust .icon { color: var(--amber-deep); }
.hero-art { position: relative; }
.hero-art .art-frame { border-radius: 210px 210px 26px 26px; overflow: hidden; background: #E9EBDD; border: 1px solid var(--sage-line); }
.hero-art .art-frame svg { display: block; width: 100%; }
.hero-badge { position: absolute; left: -18px; bottom: 26px; background: var(--cream); border: 1px solid var(--line); border-radius: 13px; padding: 12px 15px; box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center; max-width: 235px; }
.hero-badge .seal { width: 38px; height: 38px; border-radius: 50%; background: var(--sage); color: var(--forest); display: grid; place-items: center; flex: none; }
.hero-badge strong { display: block; font-size: 12.5px; color: var(--forest); }
.hero-badge span { font-size: 11px; color: var(--muted); line-height: 1.4; }
.hero-stamp { position: absolute; top: 14px; right: 10px; width: 92px; height: 92px; border-radius: 50%; background: rgba(255,253,248,.86); border: 1px solid var(--line); display: grid; place-items: center; text-align: center; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--forest); line-height: 1.5; }
.hero-stamp strong { display: block; font-size: 11px; letter-spacing: .04em; }

/* --- Sections ------------------------------------------------------------- */
.section { padding: 58px 0; }
.section.tight { padding: 40px 0; }
.section.paper { background: var(--paper); border-top: 1px solid #EDE4D2; border-bottom: 1px solid #EDE4D2; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head h2 { margin: 8px 0 6px; }
.section-head p { color: var(--muted); max-width: 60ch; font-size: 14px; margin: 0; }
.section-head .head-link { flex: none; padding-bottom: 4px; }

/* --- Category tiles ------------------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cat-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; border-radius: var(--radius-lg); overflow: hidden; background: var(--sage-soft); border: 1px solid var(--sage-line); text-decoration: none; color: var(--ink); padding: 20px; transition: transform .22s ease, box-shadow .22s ease; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: var(--ink); }
.cat-tile .art { position: absolute; inset: -8% -6% auto; opacity: .95; transition: transform .5s ease; }
.cat-tile:hover .art { transform: scale(1.04); }
.cat-tile .cat-meta { position: relative; margin-top: auto; background: rgba(255,253,248,.9); backdrop-filter: blur(4px); border-radius: 12px; padding: 13px 15px; border: 1px solid rgba(228,221,204,.8); }
.cat-tile h3 { font-size: 18px; margin-bottom: 2px; letter-spacing: -.02em; }
.cat-tile .cat-count { font-size: 11.5px; color: var(--muted); }
.cat-tile .cat-arrow { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,253,248,.85); display: grid; place-items: center; color: var(--forest); border: 1px solid var(--line); transition: background .2s, color .2s; }
.cat-tile:hover .cat-arrow { background: var(--forest); color: var(--cream); }
.cat-tile:nth-child(1) { background: #F4E8D4; border-color: #E9D8BC; }
.cat-tile:nth-child(2) { background: #F6ECD6; }
.cat-tile:nth-child(3) { background: #EDEFE2; }
.cat-tile:nth-child(4) { background: #F2E7DA; }

/* --- Product cards -------------------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-grid.small-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card { position: relative; display: flex; flex-direction: column; background: var(--cream); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.product-media { position: relative; display: block; aspect-ratio: 1 / .92; background: var(--paper); overflow: hidden; }
.product-media .art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.product-media .art svg { width: 100%; height: 100%; }
.product-media .art-crop { position: absolute; inset: 3%; }
.product-card:hover .product-media .art { transform: scale(1.035); }
.product-card:hover .product-media .art { transform: scale(1.035); }
.product-media[data-art="incense"] { background: #F6EAD3; }
.product-media[data-art="resin"] { background: #F3E5D6; }
.product-media[data-art="spice"] { background: #F7EDD5; }
.product-media[data-art="oil"] { background: #F2E6D2; }
.product-media[data-art="gift"] { background: #F4E8D6; }
.product-media[data-art="photo"] { background: #F2EEE4; }
.product-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; z-index: 2; }
.product-badges .badge { background: rgba(255,253,248,.94); color: var(--forest); border: 1px solid rgba(228,221,204,.9); font-size: 10.5px; letter-spacing: .04em; }
.product-badges .badge.warn { background: var(--amber); color: #1C1608; border-color: var(--amber); }
.wish-btn { position: absolute; top: 10px; right: 10px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(228,221,204,.9); background: rgba(255,253,248,.92); display: grid; place-items: center; color: var(--forest); cursor: pointer; transition: background .18s, color .18s; }
.wish-btn:hover { background: var(--forest); color: var(--cream); }
.wish-btn.saved { background: var(--forest); color: #F7C873; border-color: var(--forest); }
.wish-btn .icon { width: 17px; height: 17px; }
.wish-btn.saved .icon { fill: currentColor; }
.quick-add { margin: 0 12px 12px; min-height: 40px; border-radius: 9px; border: 1px solid rgba(23,61,43,.14); background: rgba(255,253,248,.96); color: var(--forest); font-weight: 600; font-size: 12.5px; display: flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; text-decoration: none; transition: background .2s ease, color .2s ease; }
.quick-add:hover { background: var(--forest); color: var(--cream); }
.quick-add[disabled] { background: rgba(255,253,248,.9); color: var(--muted); cursor: not-allowed; }
.product-info { display: flex; flex-direction: column; gap: 6px; padding: 15px 16px 17px; flex: 1; }
.product-kicker { font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.product-title { font-size: 15px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; margin: 0; }
.product-title a { color: var(--forest); text-decoration: none; }
.product-title a:hover { color: var(--amber-deep); }
.product-sub { font-size: 12.5px; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 37px; }
.product-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
.price { display: inline-flex; align-items: baseline; gap: 7px; font-weight: 600; color: var(--forest); font-size: 15.5px; letter-spacing: -.01em; }
.price-was { font-size: 12px; color: var(--muted); text-decoration: line-through; font-weight: 400; }
.price-off { font-size: 10.5px; font-weight: 600; color: var(--success); background: var(--success-soft); border-radius: 999px; padding: 2px 6px; }
.rating { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); }
.rating .icon { color: var(--amber); fill: var(--amber); width: 12px; height: 12px; }
.rating .count { color: var(--muted); }
.stock-line { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.stock-line .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--success); }
.stock-line.low .dot { background: var(--amber); }
.stock-line.out .dot { background: var(--danger); }
.empty-state { text-align: center; padding: 56px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: rgba(247,241,229,.45); }
.empty-state .seal { width: 56px; height: 56px; border-radius: 50%; background: var(--sage); color: var(--forest); display: grid; place-items: center; margin: 0 auto 16px; }
.empty-state h3 { margin-bottom: 6px; }
.empty-state p { color: var(--muted); max-width: 44ch; margin: 0 auto 18px; font-size: 14px; }

/* --- Promo ---------------------------------------------------------------- */
.promo { position: relative; overflow: hidden; border-radius: 26px; background: var(--forest); color: #F5F1E6; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 20px; padding: 44px clamp(24px, 4vw, 54px); }
.promo::after { content: ""; position: absolute; right: -90px; top: -120px; width: 340px; height: 340px; border-radius: 50%; border: 1px solid rgba(255,253,248,.12); }
.promo .eyebrow { color: #F3C987; }
.promo h2 { color: #FFFDF8; margin: 10px 0 10px; max-width: 18ch; }
.promo p { color: #D8E2D5; max-width: 46ch; font-size: 14.5px; }
.promo .promo-art { justify-self: center; width: min(100%, 360px); position: relative; z-index: 1; }
.promo .promo-art svg { border-radius: 16px; }
.promo .btn { margin-top: 8px; }
.promo .promo-facts { display: flex; gap: 22px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,253,248,.14); }
.promo .promo-facts strong { display: block; color: #FFFDF8; font-size: 17px; }
.promo .promo-facts span { font-size: 11px; color: #B9CDB7; }

/* --- Story ---------------------------------------------------------------- */
.story { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.story-art { border-radius: 26px 26px 80px 26px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); position: relative; }
.story-art svg { display: block; width: 100%; }
.story-art .story-tag { position: absolute; bottom: 16px; left: 16px; background: var(--cream); border-radius: 10px; padding: 9px 13px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); border: 1px solid var(--line); }
.story-copy h2 { margin: 10px 0 14px; }
.story-points { list-style: none; padding: 0; margin: 22px 0 24px; display: grid; gap: 14px; }
.story-points li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.story-points .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--sage); color: var(--forest); display: grid; place-items: center; flex: none; margin-top: 1px; }

/* --- Collections ---------------------------------------------------------- */
.collection-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.collection-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 168px; border: 1px solid var(--line); background: var(--cream); border-radius: 16px; padding: 18px; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; }
.collection-card:hover { border-color: var(--forest); transform: translateY(-2px); box-shadow: var(--shadow); }
.collection-card .art { width: 64px; margin-left: auto; opacity: .9; }
.collection-card h3 { font-size: 16px; margin: 10px 0 3px; }
.collection-card span { font-size: 11.5px; color: var(--muted); }
.collection-card .icon { color: var(--forest); margin-top: 12px; }

/* --- Why us --------------------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); }
.why-item { padding: 26px 24px; border-right: 1px solid var(--line); }
.why-item:last-child { border-right: 0; }
.why-item .seal { width: 42px; height: 42px; border-radius: 12px; background: var(--sage-soft); color: var(--forest); display: grid; place-items: center; margin-bottom: 14px; }
.why-item h3 { font-size: 15px; margin-bottom: 6px; }
.why-item p { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }

/* --- Journal -------------------------------------------------------------- */
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.journal-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--cream); transition: transform .2s, box-shadow .2s; }
.journal-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.journal-art { background: #F2EADA; overflow: hidden; }
.journal-art svg { width: 100%; display: block; }
.journal-body { padding: 18px 19px 20px; display: grid; gap: 8px; }
.journal-body .date { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.journal-body h3 { font-size: 17.5px; line-height: 1.3; }
.journal-body p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }
.journal-body .text-link { margin-top: 4px; font-size: 13px; }

/* --- Newsletter ----------------------------------------------------------- */
.newsletter-block { background: var(--amber-soft); border: 1px solid #F0D8B5; border-radius: 26px; padding: clamp(28px, 4vw, 46px); display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.newsletter-block::before { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(168,91,5,.18); }
.newsletter-block h2 { font-size: clamp(24px, 3vw, 32px); margin: 6px 0 8px; }
.newsletter-block p { font-size: 14px; color: #6B4A22; max-width: 42ch; }
.newsletter-form { display: flex; gap: 8px; position: relative; z-index: 1; }
.newsletter-form input { min-height: 48px; background: #FFFDF8; }
.newsletter-form .btn { flex: none; }
.newsletter-form .form-note { grid-column: 1 / -1; }

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: var(--forest); color: #DCE6D8; margin-top: 30px; padding: 52px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 34px; padding-bottom: 40px; }
.footer-brand .brand { color: #FFFDF8; }
.footer-brand .brand-mark { background: #EFE7D6; color: var(--forest); }
.footer-brand .brand-name span { color: #A8BDA5; }
.footer-brand p { font-size: 13px; color: #B9CBB6; line-height: 1.7; max-width: 30ch; margin-top: 16px; }
.footer-col h4 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #9FB69B; margin-bottom: 14px; font-weight: 600; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: #E4ECE0; font-size: 13px; text-decoration: none; }
.footer-col a:hover { color: #F3C987; text-decoration: underline; }
.footer-note { border-top: 1px solid rgba(255,253,248,.12); padding: 16px 0 0; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 11.5px; color: #A8BDA5; }
.footer-note a { color: #E4ECE0; }
.footer-note a:hover { color: var(--cream); }
.footer-note .pay-note { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.footer-bottom { border-top: 1px solid rgba(255,253,248,.12); padding: 16px 0 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 11.5px; color: #9FB69B; }
.footer-bottom a { color: #E4ECE0; }

/* --- Mobile tab bar ------------------------------------------------------- */
.mobile-tabbar { display: none; }

/* --- Breadcrumbs ---------------------------------------------------------- */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); padding: 18px 0 0; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--forest); }
.breadcrumbs .sep { opacity: .5; }

/* --- Shop ----------------------------------------------------------------- */
.page-head { padding: 30px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.page-head .head-grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 50px); margin: 8px 0 8px; }
.page-head p { color: var(--muted); max-width: 62ch; font-size: 14px; margin: 0; }
.page-head .count { font-size: 12px; color: var(--muted); padding-bottom: 6px; }
.shop-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 34px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); }
.filter-block { border-bottom: 1px solid var(--line); padding: 0 0 20px; margin-bottom: 20px; }
.filter-block h3 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; color: var(--ink-soft); }
.filter-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.filter-list a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 9px; margin: 0 -9px; border-radius: 7px; font-size: 13.5px; color: var(--ink-soft); text-decoration: none; }
.filter-list a:hover { background: var(--paper); color: var(--forest); }
.filter-list a.active { background: var(--forest); color: var(--cream); font-weight: 500; }
.filter-list a.active span { color: #B9CDB7; }
.filter-list span { font-size: 11px; color: var(--muted); }
.filter-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); font-size: 11.5px; color: var(--ink-soft); text-decoration: none; background: var(--cream); }
.filter-tag:hover { border-color: var(--forest); }
.sort-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.sort-bar .active-filters { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; font-size: 12px; color: var(--muted); }
.sort-bar form { display: flex; align-items: center; gap: 8px; }
.sort-bar label { font-size: 12px; color: var(--muted); }
.sort-bar select { min-height: 38px; padding-top: 6px; padding-bottom: 6px; font-size: 12.5px; width: auto; min-width: 170px; }
.filter-toggle { display: none; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 5px; padding-top: 34px; }
.pagination a, .pagination span { min-width: 38px; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--line); font-size: 13px; text-decoration: none; color: var(--ink-soft); background: var(--cream); }
.pagination a:hover { border-color: var(--forest); color: var(--forest); }
.pagination .current { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.pagination .gap { border-color: transparent; background: none; }

/* --- Product detail ------------------------------------------------------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(28px, 4vw, 56px); align-items: start; padding-top: 26px; }
.pdp-gallery { position: sticky; top: calc(var(--header-h) + 22px); }
.pdp-main { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #F4E8D4; aspect-ratio: 1 / 1.02; display: flex; align-items: center; justify-content: center; }
.pdp-main .art { width: 100%; height: 100%; }
.pdp-main .art svg { height: 100%; width: 100%; object-fit: contain; }
.pdp-thumbs { display: flex; gap: 9px; margin-top: 10px; }
.pdp-thumbs button { width: 76px; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper); cursor: pointer; aspect-ratio: 1; }
.pdp-thumbs button.active { border-color: var(--forest); box-shadow: 0 0 0 1px var(--forest); }
.pdp-thumbs .art svg { width: 100%; height: 100%; }
.pdp-info .product-kicker { margin-bottom: 8px; display: block; }
.pdp-info h1 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 10px; }
.pdp-rating { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.stars { display: inline-flex; gap: 2px; }
.stars .icon { width: 14px; height: 14px; color: var(--line-strong); }
.stars .on { color: var(--amber); fill: var(--amber); }
.pdp-lead { font-size: 15px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 18px; }
.pdp-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.pdp-price .price { font-size: 26px; }
.pdp-price .price-was { font-size: 14px; }
.pdp-price .price-off { font-size: 11px; }
.tax-note { font-size: 11.5px; color: var(--muted); margin-bottom: 18px; }
.variant-field { margin: 18px 0; }
.variant-field > span { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 8px; }
.variant-list { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-chip { position: relative; }
.variant-chip input { position: absolute; opacity: 0; pointer-events: none; }
.variant-chip label { display: inline-flex; flex-direction: column; gap: 1px; padding: 9px 14px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--cream); font-size: 13px; cursor: pointer; transition: .15s; }
.variant-chip label small { font-size: 10.5px; color: var(--muted); }
.variant-chip input:checked + label { border-color: var(--forest); background: var(--sage-soft); box-shadow: inset 0 0 0 1px var(--forest); }
.variant-chip input:focus-visible + label { outline: 3px solid var(--amber); outline-offset: 2px; }
.pdp-buy { display: flex; gap: 10px; align-items: stretch; margin: 20px 0 16px; flex-wrap: wrap; }
.pdp-buy .btn { flex: 1; min-height: 52px; }
.pdp-buy .qty-field { flex: none; }
.pdp-stock { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--success); margin-bottom: 14px; }
.pdp-stock.low { color: var(--amber-deep); }
.pdp-stock.out { color: var(--danger); }
.pdp-stock .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pdp-trust { list-style: none; margin: 0 0 22px; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.pdp-trust li { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: var(--ink-soft); }
.pdp-trust .icon { color: var(--forest); flex: none; margin-top: 1px; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 15px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--forest); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { transition: transform .2s; color: var(--muted); }
.accordion details[open] summary .icon { transform: rotate(180deg); }
.accordion .accordion-body { padding: 0 0 18px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; }
.accordion .accordion-body p { margin-bottom: 10px; }
.accordion .accordion-body ul { padding-left: 18px; margin: 0; }
.spec-list { display: grid; gap: 6px; }
.spec-list div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; font-size: 12.5px; }
.spec-list span:first-child { color: var(--muted); }
.reviews-section { padding-top: 52px; }
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.review-summary { display: flex; align-items: center; gap: 16px; }
.review-score { font-size: 38px; font-weight: 600; color: var(--forest); line-height: 1; }
.review-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: start; }
.review { border-top: 1px solid var(--line); padding: 18px 0; }
.review:first-child { border-top: 0; padding-top: 0; }
.review-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
.review-head strong { font-size: 13px; }
.review-head .date { font-size: 11px; color: var(--muted); }
.review h4 { font-size: 14px; margin: 6px 0 4px; }
.review p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.65; }
.review-form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.review-form-card h3 { font-size: 17px; margin-bottom: 4px; }
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 3px; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { cursor: pointer; color: var(--line-strong); }
.rating-input label .icon { width: 24px; height: 24px; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--amber); }
.rating-input input:checked ~ label .icon, .rating-input label:hover .icon, .rating-input label:hover ~ label .icon { fill: currentColor; }
.rating-input input:focus-visible + label { outline: 2px solid var(--amber); outline-offset: 2px; }

/* --- Cart ----------------------------------------------------------------- */
.site-main { min-height: 52vh; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .78fr); gap: 34px; align-items: start; padding: 8px 0 30px; }
.cart-lines { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--cream); overflow: hidden; }
.cart-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; padding: 18px; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line:last-child { border-bottom: 0; }
.line-media { width: 96px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.line-media .art svg { width: 100%; height: 100%; }
.line-info { display: grid; gap: 4px; }
.line-info .kicker { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.line-info h3 { font-size: 15px; }
.line-info h3 a { color: var(--forest); text-decoration: none; }
.line-info h3 a:hover { color: var(--amber-deep); }
.line-info .variant { font-size: 12px; color: var(--muted); }
.line-price { font-size: 13.5px; font-weight: 600; color: var(--forest); }
.line-controls { display: flex; align-items: center; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.line-controls .qty-field button { width: 30px; height: 34px; }
.line-controls .qty-field input { width: 32px; min-height: 34px; font-size: 12.5px; }
.line-controls form { display: inline-flex; }
.remove-link { border: 0; background: none; padding: 0; font-size: 12px; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.remove-link:hover { color: var(--danger); }
.line-total { text-align: right; font-weight: 600; color: var(--forest); font-size: 15px; white-space: nowrap; }
.line-total small { display: block; font-size: 10.5px; font-weight: 400; color: var(--muted); margin-top: 3px; }
.summary-card { position: sticky; top: calc(var(--header-h) + 20px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.summary-card h2 { font-size: 20px; margin-bottom: 16px; }
.summary-lines { display: grid; gap: 9px; font-size: 13.5px; }
.summary-lines .line { display: flex; justify-content: space-between; gap: 16px; color: var(--ink-soft); }
.summary-lines .line.discount { color: var(--success); }
.summary-lines .line.total { border-top: 1px solid var(--line-strong); margin-top: 6px; padding-top: 14px; font-size: 18px; font-weight: 600; color: var(--forest); }
.coupon-form { display: flex; gap: 7px; margin: 18px 0; }
.coupon-form input { min-height: 40px; font-size: 13px; text-transform: uppercase; }
.coupon-form .btn { min-height: 40px; }
.coupon-chip { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--sage-soft); border: 1px dashed var(--sage-line); border-radius: 8px; padding: 8px 10px; font-size: 12px; margin-bottom: 14px; }
.coupon-chip strong { letter-spacing: .06em; }
.ship-progress { margin: 14px 0 0; font-size: 11.5px; color: var(--ink-soft); line-height: 1.45; background: var(--paper-deep); border-radius: 7px; padding: 6px 9px; }
.ship-line { display: flex; align-items: center; gap: 6px; }
.ship-bar { height: 5px; border-radius: 999px; background: var(--paper-deep); overflow: hidden; margin-top: 8px; }
.ship-bar span { display: block; height: 100%; background: var(--amber); border-radius: inherit; transition: width .4s ease; }
.summary-note { margin-top: 14px; font-size: 11.5px; color: var(--muted); display: flex; gap: 6px; align-items: flex-start; }
.cart-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.cart-continue { font-size: 13px; }
.cart-cross { margin-top: 54px; }

/* --- Checkout ------------------------------------------------------------- */
.checkout-steps { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 8px 0 24px; }
.checkout-steps span.on { color: var(--forest); font-weight: 600; }
.checkout-steps .sep { flex: none; width: 24px; height: 1px; background: var(--line-strong); }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(310px, .8fr); gap: 34px; align-items: start; padding-bottom: 40px; }
.checkout-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--cream); padding: clamp(20px, 3vw, 28px); }
.checkout-card + .checkout-card { margin-top: 18px; }
.checkout-card h2 { font-size: 19px; margin-bottom: 16px; display: flex; align-items: center; gap: 9px; }
.step-num { width: 24px; height: 24px; border-radius: 50%; background: var(--forest); color: var(--cream); font-size: 11px; display: inline-grid; place-items: center; flex: none; }
.saved-addresses { display: grid; gap: 8px; margin-bottom: 16px; }
.saved-address { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px; cursor: pointer; font-size: 12.5px; background: #FFFEFB; }
.saved-address:hover { border-color: var(--forest); }
.saved-address input { margin-top: 3px; }
.saved-address strong { display: block; font-size: 12.5px; }
.saved-address span { color: var(--muted); line-height: 1.45; display: block; }
.payment-options { display: grid; gap: 9px; }
.pay-option { position: relative; display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line-strong); border-radius: 11px; padding: 14px; cursor: pointer; background: #FFFEFB; transition: border-color .15s, background .15s; }
.pay-option:has(input:checked) { border-color: var(--forest); background: var(--sage-soft); box-shadow: inset 0 0 0 1px var(--forest); }
.pay-option input { margin-top: 3px; }
.pay-option strong { display: block; font-size: 13.5px; }
.pay-option span { font-size: 12px; color: var(--muted); line-height: 1.45; display: block; }
.pay-option .pay-logo { margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--forest); background: var(--sage); border-radius: 5px; padding: 4px 7px; align-self: center; }
.checkout-terms { margin: 18px 0; font-size: 12.5px; }
.checkout-side .summary-card { top: calc(var(--header-h) + 20px); }
.mini-line { display: flex; gap: 11px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.mini-line:last-of-type { border-bottom: 0; }
.mini-thumb { width: 46px; height: 46px; border-radius: 8px; overflow: hidden; background: var(--paper); flex: none; border: 1px solid var(--line); }
.mini-thumb .art svg { width: 100%; height: 100%; }
.mini-line .mini-info { flex: 1; min-width: 0; font-size: 12px; line-height: 1.4; }
.mini-line .mini-info strong { display: block; font-weight: 500; color: var(--ink); }
.mini-line .mini-info span { color: var(--muted); font-size: 11px; }
.mini-line .mini-price { font-size: 12px; font-weight: 600; white-space: nowrap; }

/* --- Order pages ---------------------------------------------------------- */
.order-wrap { max-width: 940px; margin: 0 auto; padding: 10px 26px 50px; }
.order-success { text-align: center; padding: 34px 20px 30px; }
.order-success .seal { width: 62px; height: 62px; border-radius: 50%; background: var(--success-soft); color: var(--success); display: grid; place-items: center; margin: 0 auto 16px; border: 1px solid #CBE5D3; }
.order-success h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; }
.order-success p { color: var(--muted); font-size: 14px; }
.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; padding: 6px 0 22px; border-bottom: 1px solid var(--line); }
.order-head h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 4px; }
.order-head .order-meta { font-size: 12.5px; color: var(--muted); }
.order-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); gap: 30px; align-items: start; padding-top: 24px; }
.order-card { border: 1px solid var(--line); border-radius: 16px; background: var(--cream); padding: 22px; }
.order-card + .order-card { margin-top: 16px; }
.order-card h2 { font-size: 16px; margin-bottom: 14px; }
.order-item { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.order-item:last-child { border-bottom: 0; }
.order-item .mini-thumb { width: 54px; height: 54px; }
.order-item .oi-info { flex: 1; font-size: 13px; line-height: 1.4; }
.order-item .oi-info span { color: var(--muted); font-size: 11.5px; display: block; }
.order-item .oi-total { font-size: 13px; font-weight: 600; text-align: right; }
.order-item .oi-total span { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 20px 26px; font-size: 12.5px; color: var(--ink-soft); }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--forest); }
.timeline li::after { content: ""; position: absolute; left: 7px; top: 15px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline li strong { display: block; font-size: 12.5px; color: var(--forest); font-weight: 600; }
.timeline li time { font-size: 10.5px; color: var(--muted); }
.status-track { display: grid; gap: 0; margin-bottom: 8px; }
.status-step { display: flex; gap: 12px; align-items: flex-start; position: relative; padding-bottom: 18px; }
.status-step::before { content: ""; position: absolute; left: 9px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.status-step:last-child::before { display: none; }
.status-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--cream); flex: none; display: grid; place-items: center; color: transparent; z-index: 1; }
.status-step.done .status-dot { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.status-step.done::before { background: var(--forest); }
.status-step.current .status-dot { border-color: var(--amber); background: var(--amber-soft); }
.status-step .status-label { font-size: 12.5px; color: var(--muted); padding-top: 1px; }
.status-step.done .status-label, .status-step.current .status-label { color: var(--ink); font-weight: 500; }
.order-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ship-address { font-size: 13px; line-height: 1.65; color: var(--ink-soft); }
.tracking-box { background: var(--sage-soft); border-radius: 10px; padding: 12px 14px; font-size: 12.5px; margin-top: 10px; }
.tracking-box strong { display: block; color: var(--forest); font-size: 13px; }

/* --- Track --------------------------------------------------------------- */
.track-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 34px; align-items: start; padding: 20px 0 40px; }
.track-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.track-help { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.track-help h3 { font-size: 16px; margin-bottom: 10px; }
.track-help ol { padding-left: 18px; margin: 0; font-size: 13px; color: var(--ink-soft); display: grid; gap: 8px; }

/* --- Pay ----------------------------------------------------------------- */
.pay-wrap { max-width: 640px; margin: 30px auto 60px; padding: 0 24px; text-align: center; }
.pay-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--cream); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.pay-card .amount { font-size: 40px; font-weight: 600; color: var(--forest); letter-spacing: -.03em; margin: 10px 0 4px; }
.pay-steps { text-align: left; margin: 22px 0; display: grid; gap: 9px; font-size: 12.5px; color: var(--muted); }
.pay-steps li { display: flex; gap: 9px; align-items: flex-start; }
.pay-steps .n { width: 21px; height: 21px; border-radius: 50%; background: var(--sage); color: var(--forest); font-size: 10px; display: grid; place-items: center; flex: none; }

/* --- Auth ---------------------------------------------------------------- */
.auth-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: 64vh; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin: 28px 0 40px; background: var(--cream); }
.auth-side { background: var(--forest); color: #E6EFE2; padding: clamp(28px, 4vw, 46px); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side::after { content: ""; position: absolute; right: -80px; bottom: -100px; width: 300px; height: 300px; border-radius: 50%; border: 1px solid rgba(255,253,248,.14); }
.auth-side h2 { color: #FFFDF8; font-size: clamp(26px, 3vw, 34px); margin: 16px 0 12px; }
.auth-side p { color: #B9CBB6; font-size: 13.5px; max-width: 34ch; }
.auth-side .auth-facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; font-size: 12.5px; }
.auth-side .auth-facts li { display: flex; gap: 9px; align-items: center; color: #D6E2D2; }
.auth-side .auth-facts .icon { color: #F3C987; }
.auth-side .art { width: 150px; margin: 26px 0 0; opacity: .95; }
.auth-main { padding: clamp(28px, 4vw, 46px); display: flex; flex-direction: column; justify-content: center; }
.auth-main h1 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 8px; }
.auth-main .sub { color: var(--muted); font-size: 13.5px; margin-bottom: 22px; }
.auth-main .btn { margin-top: 4px; }
.auth-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 12.5px; flex-wrap: wrap; }
.auth-switch { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); text-align: center; }

/* --- Account -------------------------------------------------------------- */
.account-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 34px; align-items: start; padding: 26px 0 50px; }
.account-side { position: sticky; top: calc(var(--header-h) + 20px); }
.account-user { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); padding: 18px; margin-bottom: 14px; }
.account-user .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--forest); color: #F3D9AE; display: grid; place-items: center; font-weight: 600; margin-bottom: 10px; }
.account-user strong { display: block; font-size: 14px; }
.account-user span { font-size: 11.5px; color: var(--muted); word-break: break-word; }
.account-nav { display: grid; gap: 2px; }
.account-nav a { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 8px; font-size: 13px; color: var(--ink-soft); text-decoration: none; }
.account-nav a:hover { background: var(--paper); color: var(--forest); }
.account-nav a.active { background: var(--sage); color: var(--forest); font-weight: 600; }
.account-nav .sep { height: 1px; background: var(--line); margin: 8px 0; }
.account-main h1 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 4px; }
.account-main .head-sub { color: var(--muted); font-size: 13.5px; margin-bottom: 24px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 26px; }
.stat-card { border: 1px solid var(--line); border-radius: 14px; background: var(--cream); padding: 16px; }
.stat-card .stat-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.stat-card .stat-value { font-size: 24px; font-weight: 600; color: var(--forest); letter-spacing: -.02em; margin-top: 4px; }
.stat-card .stat-note { font-size: 11px; color: var(--muted); }
.account-card { border: 1px solid var(--line); border-radius: 16px; background: var(--cream); padding: 22px; margin-bottom: 18px; }
.account-card h2 { font-size: 16.5px; margin-bottom: 14px; }
.account-empty { color: var(--muted); font-size: 13px; }
.addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.addr-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-size: 12.5px; line-height: 1.6; background: #FFFEFB; }
.addr-card .addr-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.addr-card strong { font-size: 12.5px; }
.addr-actions { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.addr-actions .btn { min-height: 30px; padding: 0 9px; font-size: 11.5px; }
.order-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.order-table th { text-align: left; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 0 10px 9px; border-bottom: 1px solid var(--line); }
.order-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.order-table tr:last-child td { border-bottom: 0; }
.order-table .num { font-weight: 600; color: var(--forest); text-decoration: none; }
.order-table .right { text-align: right; }
.account-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.account-tabs a { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; text-decoration: none; color: var(--ink-soft); background: var(--cream); }
.account-tabs a.active { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.ticket-list { display: grid; gap: 10px; }
.ticket-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 11px; background: #FFFEFB; text-decoration: none; color: var(--ink); }
.ticket-row:hover { border-color: var(--forest); color: var(--ink); }
.ticket-row .t-sub { font-size: 13.5px; font-weight: 500; color: var(--forest); }
.ticket-row .t-meta { font-size: 11.5px; color: var(--muted); }
.thread { display: grid; gap: 14px; margin: 18px 0; }
.thread-msg { border: 1px solid var(--line); border-radius: 12px; padding: 15px 16px; background: #FFFEFB; }
.thread-msg.staff { background: var(--sage-soft); border-color: var(--sage-line); }
.thread-msg.internal { background: #FFF7E6; border-color: #F0DBB1; }
.thread-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; font-size: 11.5px; color: var(--muted); }
.thread-head strong { color: var(--forest); font-size: 12px; }
.thread-body { font-size: 13.5px; line-height: 1.65; color: var(--ink-soft); }
.thread-attach { margin-top: 8px; font-size: 12px; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }

/* Account additions */
.account-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.account-hero.compact { margin-bottom: 16px; }
.account-hero h1 { margin-bottom: 4px; }
.head-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.head-actions form { margin: 0; }
.account-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card-head-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.card-head-row h2 { margin: 0; }
.link-quiet { font-size: 12px; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.link-quiet:hover { color: var(--forest); }
.latest-order { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.order-no { font-weight: 600; color: var(--forest); text-decoration: none; }
.order-meta { font-size: 12px; color: var(--muted); margin: 2px 0 0; }
.track-hint { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 12px; color: var(--ink-soft); background: var(--sage-soft); border: 1px solid var(--sage-line); border-radius: 8px; padding: 9px 12px; margin-top: 12px; }
.mini-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0; }
.ticket-subject { font-size: 14px; font-weight: 600; margin: 4px 0 2px; color: var(--forest); }
.tiny-note { font-size: 12px; color: var(--muted); margin-top: 12px; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.tiny-note a { color: var(--forest); }
.empty-inline { display: grid; gap: 10px; justify-items: start; color: var(--muted); font-size: 13px; }
.empty-inline p { margin: 0; }
.addr-lines { font-size: 12.5px; line-height: 1.65; color: var(--ink-soft); margin: 0; }
.addr-lines strong { color: var(--ink); }
.account-nav form { margin: 0; }
.account-nav .nav-item { display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 11px; border-radius: 8px; font: inherit; font-size: 13px; color: var(--ink-soft); background: none; border: 0; cursor: pointer; text-align: left; }
.account-nav .nav-item:hover { background: var(--paper); color: var(--forest); }
.optional { color: var(--muted); font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 11px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.form-hint { display: block; font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.notice { display: flex; align-items: flex-start; gap: 9px; padding: 12px 14px; border: 1px solid #F0DBB1; background: #FFF7E6; border-radius: 10px; font-size: 13px; margin-bottom: 18px; color: var(--ink-soft); }
.notice a { color: var(--forest); }
.pager { display: flex; gap: 6px; margin-top: 18px; flex-wrap: wrap; }
.pager a { min-width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; text-decoration: none; color: var(--ink-soft); }
.pager a.active { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.table-scroll { overflow-x: auto; margin: 4px -6px 0; padding: 0 6px; }
.table-scroll .order-table { min-width: 620px; }
.order-totals { display: grid; gap: 8px; max-width: 320px; margin: 16px 0 0 auto; font-size: 13px; }
.order-totals .line { display: flex; justify-content: space-between; gap: 18px; color: var(--ink-soft); }
.order-totals .line.discount { color: var(--success); }
.order-totals .line.total { border-top: 1px solid var(--line-strong); padding-top: 10px; margin-top: 4px; font-size: 17px; font-weight: 600; color: var(--forest); }
.line-item { display: flex; align-items: center; gap: 10px; }
.line-item small { display: block; font-size: 11px; color: var(--muted); }
.thumb-sm { width: 38px; height: 38px; flex: none; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--paper); display: grid; place-items: center; color: var(--forest); }
.thumb-sm svg { width: 100%; height: 100%; }
.kv-block { display: grid; gap: 8px; margin: 14px 0; }
.kv-block > div { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; border-bottom: 1px dashed var(--line); padding-bottom: 7px; }
.kv-block span { color: var(--muted); }
.kv-block strong { color: var(--ink); font-weight: 600; }
.summary-card .kv-block { margin-top: 16px; }
.summary-card form { margin-top: 14px; }
.card-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.card-actions form { margin: 0; }
.danger-text { color: var(--danger) !important; }
.danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.danger-zone h2 { margin-bottom: 4px; }
.review-list { display: grid; gap: 12px; }
.review-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: #FFFEFB; }
.review-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.review-product { font-weight: 600; color: var(--forest); text-decoration: none; font-size: 13.5px; }
.review-card .stars { color: var(--amber); font-size: 14px; letter-spacing: 2px; margin: 2px 0 0; }
.review-card h3 { font-size: 14.5px; margin: 8px 0 4px; }
.review-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.6; margin: 0; }
.review-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; font-size: 11.5px; color: var(--muted); }
.review-foot form { margin: 0; }
.ticket-row { align-items: center; }
.ticket-main { display: grid; gap: 2px; min-width: 0; }
.ticket-no { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ticket-main strong { font-size: 13.5px; color: var(--forest); }
.ticket-meta { font-size: 11.5px; color: var(--muted); }
.thread-msg.is-customer { border-color: var(--sage-line); background: var(--sage-soft); }
.thread-msg.is-team { background: #FFFEFB; }
.thread-msg header { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; font-size: 11.5px; color: var(--muted); flex-wrap: wrap; }
.thread-msg header strong { color: var(--forest); font-size: 12px; }
.thread-msg .thread-body { font-size: 13.5px; line-height: 1.65; color: var(--ink-soft); }

@media (max-width: 900px) {
  .account-layout { grid-template-columns: 1fr; gap: 20px; }
  .account-side { position: static; }
  .account-nav { display: flex; overflow-x: auto; gap: 4px; padding-bottom: 6px; }
  .account-nav a, .account-nav .nav-item { white-space: nowrap; padding: 8px 10px; }
  .account-nav .sep, .account-nav form { display: none; }
  .account-split, .addr-grid { grid-template-columns: 1fr; }
  .order-layout { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .summary-card { position: static; }
}
@media (max-width: 520px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .account-card { padding: 18px; }
  .account-hero { align-items: flex-start; }
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
  .order-table th:nth-child(2), .order-table td:nth-child(2), .order-table th:nth-child(6), .order-table td:nth-child(6) { display: none; }
  .account-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .account-tabs a { white-space: nowrap; }
}

/* --- Content pages -------------------------------------------------------- */
.prose { font-size: 15px; line-height: 1.75; color: var(--ink-soft); max-width: 68ch; }
.prose h2 { font-size: 24px; margin: 30px 0 10px; }
.prose h3 { font-size: 18px; margin: 24px 0 8px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 16px; display: grid; gap: 7px; }
.prose a { color: var(--forest); }
.prose blockquote { margin: 20px 0; border-left: 3px solid var(--amber); padding: 2px 0 2px 18px; color: var(--ink); font-size: 16px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 44px; align-items: start; padding: 10px 0 46px; }
.content-aside { position: sticky; top: calc(var(--header-h) + 20px); background: var(--paper); border-radius: 16px; border: 1px solid var(--line); padding: 22px; font-size: 13px; }
.content-aside h3 { font-size: 14px; margin-bottom: 10px; }
.content-aside .small { color: var(--muted); }
.about-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 24px 0 40px; }
.about-hero h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 14px; }
.about-art { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.value-card { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: var(--cream); }
.value-card .icon { color: var(--amber-deep); margin-bottom: 10px; }
.value-card h3 { font-size: 15px; margin-bottom: 6px; }
.value-card p { font-size: 12.5px; color: var(--muted); margin: 0; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: start; padding: 10px 0 46px; }
.contact-side { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.contact-side h3 { font-size: 16px; margin-bottom: 12px; }
.contact-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; font-size: 13px; }
.contact-facts li { display: flex; gap: 10px; align-items: flex-start; }
.contact-facts .icon { color: var(--forest); flex: none; margin-top: 2px; }
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 17px 0; font-size: 14px; font-weight: 600; color: var(--forest); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { flex: none; color: var(--muted); transition: transform .2s; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 44px 18px 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-lead { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); margin-bottom: 26px; }
.blog-lead .lead-copy { padding: clamp(22px, 3vw, 34px); }
.blog-lead h2 { font-size: clamp(24px, 3vw, 32px); margin: 8px 0 10px; }
.blog-lead p { color: var(--muted); font-size: 13.5px; }
.blog-lead .journal-art { background: transparent; align-self: stretch; display: flex; align-items: center; }
.post-head { max-width: 780px; margin: 16px auto 22px; text-align: center; }
.post-head h1 { font-size: clamp(30px, 4.6vw, 46px); margin: 10px 0 10px; }
.post-head .post-meta { font-size: 12px; color: var(--muted); }
.post-hero { max-width: 880px; margin: 0 auto 28px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.post-body { max-width: 720px; margin: 0 auto 40px; }
.post-body.prose { font-size: 15.5px; }
.more-posts { border-top: 1px solid var(--line); padding-top: 34px; margin-top: 34px; }

/* --- Invoice -------------------------------------------------------------- */
.invoice-page { background: #F2EEE4; min-height: 100vh; padding: 26px 18px; }
.invoice-sheet { max-width: 820px; margin: 0 auto; background: #FFFDF8; border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px, 5vw, 48px); }
.invoice-head { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.invoice-head h1 { font-size: 24px; margin-bottom: 4px; }
.invoice-head .inv-meta { text-align: right; font-size: 12px; color: var(--muted); }
.invoice-head .inv-meta strong { color: var(--forest); font-size: 13px; }
.invoice-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; font-size: 12.5px; line-height: 1.6; }
.invoice-parties h2 { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.invoice-table { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-bottom: 18px; }
.invoice-table th { text-align: left; padding: 8px; background: var(--paper); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.invoice-table td { padding: 9px 8px; border-bottom: 1px solid var(--line); }
.invoice-table .r { text-align: right; }
.invoice-totals { margin-left: auto; width: 260px; display: grid; gap: 7px; font-size: 12.5px; }
.invoice-totals .line { display: flex; justify-content: space-between; gap: 16px; }
.invoice-totals .line.total { border-top: 1px solid var(--line-strong); padding-top: 8px; font-size: 15px; font-weight: 700; color: var(--forest); }
.invoice-note { margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 10.5px; color: var(--muted); line-height: 1.6; }
.print-btn { max-width: 820px; margin: 0 auto 14px; display: flex; justify-content: flex-end; }

/* --- Maintenance / error -------------------------------------------------- */
.simple-page { max-width: 640px; margin: 60px auto; padding: 0 24px; text-align: center; }
.simple-page .seal { width: 64px; height: 64px; border-radius: 50%; background: var(--sage); color: var(--forest); display: grid; place-items: center; margin: 0 auto 18px; }
.simple-page h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 10px; }
.simple-page p { color: var(--muted); }
.error-code { font-family: var(--font-display); font-size: 72px; line-height: 1; color: var(--paper-deep); letter-spacing: -.04em; }

/* --- Toast ---------------------------------------------------------------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--forest); color: var(--cream); padding: 11px 18px; border-radius: 999px; font-size: 13px; opacity: 0; pointer-events: none; transition: .22s ease; z-index: 2000; box-shadow: var(--shadow-lift); max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--danger); }
body.has-toast { padding-bottom: 0; }

/* --- Utilities, mobile drawer, skip link --------------------------------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 3000; background: var(--forest); color: var(--cream); padding: 10px 16px; border-radius: 8px; text-decoration: none; transition: top .15s ease; }
.skip-link:focus { top: 12px; color: var(--cream); }
.mobile-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); background: var(--cream); z-index: 400; transform: translateX(102%); transition: transform .24s cubic-bezier(.3,.8,.3,1); padding: 18px; overflow-y: auto; box-shadow: -20px 0 50px rgba(0,0,0,.14); }
.mobile-drawer.open { transform: none; }
.drawer-scrim { position: fixed; inset: 0; background: rgba(20,30,22,.4); z-index: 350; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.drawer-nav { display: grid; gap: 2px; }
.drawer-nav > a { display: flex; justify-content: space-between; align-items: center; padding: 11px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 15px; }
.drawer-nav > a:hover { color: var(--amber-deep); }
.drawer-sub { display: grid; gap: 2px; padding: 16px 0 10px; }
.drawer-sub .eyebrow { margin-bottom: 6px; }
.drawer-sub a { padding: 7px 4px; font-size: 13px; color: var(--ink-soft); text-decoration: none; }
.drawer-links { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; display: grid; gap: 4px; }
.drawer-links a { display: flex; gap: 9px; align-items: center; padding: 8px 4px; font-size: 13px; color: var(--ink-soft); text-decoration: none; }
body.drawer-open { overflow: hidden; }
.wa-float { position: fixed; right: 18px; bottom: 84px; z-index: 140; width: 48px; height: 48px; border-radius: 50%; background: #1F8A54; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lift); }
.wa-float:hover { background: #177046; color: #fff; }
@media (min-width: 901px) { .wa-float { bottom: 24px; } }

/* --- Skeleton ------------------------------------------------------------- */
.skeleton { position: relative; overflow: hidden; background: var(--paper); border-radius: 6px; }
.skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,253,248,.6), transparent); animation: shimmer 1.3s infinite; }
@keyframes shimmer { 100% { transform: translateX(100%); } }
.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.is-loading::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite; left: calc(50% - 8px); top: calc(50% - 8px); }
.btn-ghost.is-loading::after, .btn-light.is-loading::after { border-color: rgba(23,61,43,.2); border-top-color: var(--forest); }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-item:nth-child(2) { border-right: 0; }
  .why-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .journal-grid, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main-nav a, .nav-drop > button { padding: 8px 8px; font-size: 13px; }
  .shop-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .main-nav { display: none; }
  .mobile-toggle { display: inline-flex; }
  .header-inner { gap: 12px; }
  .brand { margin-right: auto; }
  .brand-mark { width: 34px; height: 34px; font-size: 17px; }
  .brand-name strong { font-size: 16px; }
  .header-actions .account-link { display: none; }
  .hero { padding: 34px 0 26px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { max-width: 100%; }
  .hero h1 { font-size: clamp(38px, 9vw, 56px); }
  .hero-art { max-width: 480px; margin: 0 auto; width: 100%; }
  .hero-art .art-frame { border-radius: 150px 150px 22px 22px; }
  .section { padding: 40px 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 20px; }
  .promo { grid-template-columns: 1fr; padding: 28px 24px; }
  .promo .promo-art { max-width: 280px; order: -1; justify-self: start; }
  .story { grid-template-columns: 1fr; gap: 26px; }
  .story-art { border-radius: 20px 20px 56px 20px; }
  .newsletter-block { grid-template-columns: 1fr; gap: 18px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 46ch; }
  .pdp { grid-template-columns: 1fr; gap: 26px; }
  .pdp-gallery { position: static; }
  .pdp-main { max-width: 520px; margin: 0 auto; width: 100%; }
  .pdp-thumbs { justify-content: center; }
  .review-grid { grid-template-columns: 1fr; gap: 26px; }
  .cart-layout, .checkout-layout, .order-layout, .track-layout, .content-layout, .contact-layout, .about-hero, .auth-layout { grid-template-columns: 1fr; }
  .summary-card, .checkout-side .summary-card { position: static; }
  .cart-line { grid-template-columns: 76px minmax(0, 1fr) auto; gap: 12px; padding: 15px; }
  .line-media { width: 76px; }
  .account-layout { grid-template-columns: 1fr; gap: 20px; padding-top: 18px; }
  .account-side { position: static; }
  .account-user { display: flex; align-items: center; gap: 12px; }
  .account-user .avatar { margin: 0; }
  .account-nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .account-nav a { padding: 7px 10px; font-size: 12.5px; }
  .account-nav .sep { display: none; }
  .account-nav a .icon { display: none; }
  .profile-grid { grid-template-columns: 1fr; }
  .auth-side { min-height: 220px; }
  .auth-side .art { display: none; }
  .auth-main { padding: 28px 22px; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { display: none; position: static; }
  .filters.open { display: block; border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--paper); margin-bottom: 18px; }
  .filter-toggle { display: inline-flex; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-grid.small-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-media { aspect-ratio: 1; }
  .quick-add { min-height: 36px; font-size: 12px; margin: 0 10px 10px; }
  .product-info { padding: 11px 12px 14px; gap: 4px; }
  .product-title { font-size: 13.5px; }
  .product-sub { display: none; }
  .price { font-size: 14px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-lead { grid-template-columns: 1fr; }
  .blog-lead .journal-art { order: -1; }
  .value-grid { grid-template-columns: 1fr; }
  .collection-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-note { flex-direction: column; }
  .cat-tile { min-height: 240px; }
  .mobile-tabbar { position: fixed; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255,253,248,.97); backdrop-filter: blur(12px); border-top: 1px solid var(--line); z-index: 150; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .mobile-tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9.5px; letter-spacing: .02em; color: var(--muted); text-decoration: none; padding: 4px 0; border-radius: 8px; }
  .mobile-tabbar a.active { color: var(--forest); }
  .mobile-tabbar .tab-cart { position: relative; }
  .mobile-tabbar .tab-count { position: absolute; top: -2px; right: calc(50% - 18px); min-width: 15px; height: 15px; padding: 0 4px; border-radius: 999px; background: var(--amber); color: #1C1608; font-size: 9px; font-weight: 700; display: grid; place-items: center; }
  body { padding-bottom: 62px; }
  .flash-stack { top: 78px; }
  .site-footer { margin-bottom: -1px; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  .announce { font-size: 10.5px; }
  .announce .wrap { min-height: 30px; }
  .brand-name span { display: none; }
  .header-actions .icon-btn { width: 38px; height: 38px; }
  .hero { padding-top: 24px; }
  .hero h1 { font-size: clamp(34px, 11vw, 48px); }
  .hero .lede { font-size: 14.5px; }
  .hero-ctas .btn { flex: 1; min-width: 140px; }
  .hero-trust { gap: 7px 12px; font-size: 10.5px; }
  .hero-trust .pill { font-size: 10.5px; }
  .hero-badge { left: 10px; bottom: 10px; padding: 9px 11px; }
  .hero-badge .seal { width: 30px; height: 30px; }
  .hero-stamp { display: none; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-tile { min-height: 200px; padding: 12px; }
  .cat-tile h3 { font-size: 14px; }
  .cat-tile .cat-meta { padding: 9px 10px; }
  .cat-tile .cat-count { font-size: 10px; }
  .cat-tile .cat-arrow { top: 10px; right: 10px; width: 28px; height: 28px; }
  .section { padding: 32px 0; }
  .section-head h2 { font-size: 25px; }
  .product-grid { gap: 10px; }
  .product-info { padding: 10px 11px 12px; }
  .product-kicker { font-size: 9px; }
  .product-title { font-size: 12.5px; line-height: 1.3; }
  .product-sub { display: none; }
  .price { font-size: 13px; gap: 5px; flex-wrap: wrap; }
  .price-was { font-size: 10.5px; }
  .price-off { font-size: 9px; padding: 1px 4px; }
  .rating { font-size: 10px; }
  .stock-line { font-size: 10px; }
  .quick-add { min-height: 33px; font-size: 11px; }
  .product-badges .badge { font-size: 9px; padding: 3px 6px; }
  .wish-btn { width: 30px; height: 30px; top: 7px; right: 7px; }
  .collection-strip { grid-template-columns: 1fr 1fr; }
  .collection-card { min-height: 140px; padding: 14px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px; }
  .why-item:last-child { border-bottom: 0; }
  .journal-grid { grid-template-columns: 1fr; }
  .newsletter-block { padding: 24px 20px; border-radius: 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-note { font-size: 10.5px; }
  .footer-bottom { flex-direction: column; gap: 8px; padding-bottom: 22px; }
  .pdp-info h1 { font-size: 27px; }
  .pdp-price .price { font-size: 23px; }
  .pdp-buy { flex-direction: column; }
  .pdp-buy .qty-field { align-self: flex-start; }
  .pdp-buy .btn { width: 100%; }
  .pdp-main { border-radius: 16px; }
  .review-summary { gap: 10px; }
  .review-score { font-size: 30px; }
  .cart-line { grid-template-columns: 66px minmax(0, 1fr); }
  .line-media { width: 66px; }
  .line-total { grid-column: 2; text-align: left; font-size: 13px; margin-top: -4px; }
  .line-total small { display: inline; margin-left: 5px; }
  .cart-foot { flex-direction: column; align-items: stretch; }
  .cart-foot .btn { width: 100%; }
  .summary-card { padding: 18px; }
  .checkout-layout { gap: 20px; }
  .field-row, .field-row-3 { grid-template-columns: 1fr; gap: 0; }
  .field-row .field, .field-row-3 .field { margin-bottom: 14px; }
  .order-success { padding: 24px 0 18px; }
  .order-wrap { padding: 4px 18px 40px; }
  .order-head { flex-direction: column; }
  .order-head .order-actions { margin-top: 0; }
  .stat-grid { grid-template-columns: 1fr; gap: 8px; }
  .stat-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 15px; }
  .stat-card .stat-value { margin: 0; font-size: 20px; }
  .addr-grid { grid-template-columns: 1fr; }
  .order-table th:nth-child(2), .order-table td:nth-child(2) { display: none; }
  .auth-layout { border-radius: 16px; margin: 16px 0 30px; }
  .auth-side { padding: 22px; min-height: auto; }
  .auth-side h2 { font-size: 23px; }
  .auth-side p { display: none; }
  .auth-side .auth-facts { grid-template-columns: 1fr 1fr; display: grid; margin-top: 14px; gap: 8px; font-size: 11px; }
  .auth-main h1 { font-size: 25px; }
  .page-head { padding: 20px 0 18px; }
  .page-head h1 { font-size: 30px; }
  .sort-bar { align-items: stretch; }
  .sort-bar > form { justify-content: space-between; }
  .sort-bar select { flex: 1; }
  .pagination { flex-wrap: wrap; }
  .invoice-page { padding: 12px 8px; }
  .invoice-parties { grid-template-columns: 1fr; gap: 16px; }
  .invoice-head { flex-direction: column; }
  .invoice-head .inv-meta { text-align: left; }
  .flash-stack { top: 70px; right: 12px; width: calc(100vw - 24px); }
  .mobile-tabbar { padding-bottom: calc(5px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
}

@media print {
  body { padding: 0; background: #fff; }
  body::after, .site-header, .site-footer, .announce, .mobile-tabbar, .print-btn, .flash-stack, .breadcrumbs, .no-print { display: none !important; }
  .invoice-page { background: #fff; padding: 0; }
  .invoice-sheet { border: 0; max-width: 100%; padding: 0; border-radius: 0; }
  a { color: inherit; text-decoration: none; }
}
