/* LipAfrika: storefront styles */

@font-face { font-family: 'Cormorant Garamond'; src: url('/assets/fonts/cormorant-garamond-latin-wght-normal.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/assets/fonts/cormorant-garamond-latin-wght-italic.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/assets/fonts/jost-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  /* Brand palette (from the brief) */
  --blush: #f4dadb;
  --gold: #d0ac69;
  --cream: #fff9f1;
  --espresso: #30201c;
  --black: #0b0b0b;
  --white: #fff;
  /* Supporting tones */
  --blush-soft: #f9ecea;
  --blush-deep: #e8c3c3;
  --gold-text: #8a6a30;   /* gold dark enough for text on cream (AA) */
  --gold-soft: #f3e6cc;
  --muted: #6b5a54;
  --line: #eaded6;
  --ok: #3f7a4f;
  --warn: #a2401f;
  --wa: #1f8f4e;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(48, 32, 28, .04), 0 12px 32px rgba(48, 32, 28, .08);
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 68px;

  /* Names the admin panel shares with the storefront */
  --ink: var(--espresso);
  --red: var(--espresso);
  --red-dark: #1d1310;
  --blue: var(--espresso);
  --blue-dark: var(--espresso);
  --sky: var(--blush-soft);
  --yellow: var(--gold);
  --yellow-soft: var(--gold-soft);
  --head: var(--serif);
  --body: var(--sans);
}
@media (min-width: 960px) { :root { --header-h: 84px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.65 var(--sans); color: var(--espresso); background: var(--cream); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0 0 .45em; color: var(--espresso); letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.45rem; }
h1 em, h2 em { font-style: italic; color: var(--gold-text); font-weight: 400; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--blush-deep); }
:focus-visible { outline: 2px solid var(--espresso); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.mt0 { margin-top: 0; }
.mt16 { margin-top: 16px; }
.more { margin-top: 40px; }
.round { border-radius: 50%; }
.d1 { --d: .1s; } .d2 { --d: .2s; } .d3 { --d: .3s; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { display: inline-block; font: 500 .74rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 18px; }
.eyebrow--light { color: var(--gold); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 46ch; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: .7em 1.8em; border-radius: var(--radius); border: 1px solid transparent;
  font: 500 .8rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap; overflow: hidden;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .15s;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn--red, .btn--dark { background: var(--espresso); color: var(--cream); }
.btn--red:hover, .btn--dark:hover { background: var(--black); }
.btn--blue { background: var(--white); color: var(--espresso); border-color: var(--espresso); }
.btn--blue:hover { background: var(--espresso); color: var(--cream); }
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: #dcbd84; }
.btn--ghost { background: transparent; color: var(--espresso); border-color: rgba(48, 32, 28, .35); }
.btn--ghost:hover { border-color: var(--espresso); background: rgba(255, 255, 255, .6); }
.btn--light { background: transparent; color: var(--cream); border-color: rgba(255, 249, 241, .5); }
.btn--light:hover { border-color: var(--gold); color: var(--gold); }
.btn--wa { background: var(--wa); color: var(--white); }
.btn--wa:hover { background: #18773f; }
.btn--block { width: 100%; white-space: normal; text-align: center; }
.btn--sm { min-height: 40px; padding: .5em 1.2em; font-size: .72rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.is-added { background: var(--ok); color: var(--white); border-color: var(--ok); }
.link { background: none; border: 0; padding: 0; color: var(--espresso); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.text-link { display: inline-flex; align-items: center; gap: .5em; font: 500 .78rem var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid var(--gold); }
.text-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- top bars ---------- */
.concept { background: var(--black); color: #d9cfc4; font-size: .78rem; text-align: center; padding: 7px 16px; letter-spacing: .02em; }
.concept strong { color: var(--gold); font-weight: 500; }
.announce { background: var(--espresso); color: var(--gold-soft); font: 400 .72rem/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; text-align: center; padding: 9px 16px; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255, 249, 241, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(48, 32, 28, .05); }
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; min-height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; justify-self: center; }
.logo img { width: 42px; height: 42px; border-radius: 50%; }
.logo span { font: 500 1.35rem/1 var(--serif); letter-spacing: .3em; margin-right: -.3em; color: var(--espresso); }
@media (min-width: 960px) { .logo img { width: 52px; height: 52px; } .logo span { font-size: 1.6rem; } }
@media (max-width: 400px) { .logo { gap: 7px; } .logo img { width: 34px; height: 34px; } .logo span { font-size: 1.05rem; letter-spacing: .2em; margin-right: -.2em; } }
.nav { display: none; gap: clamp(16px, 2vw, 28px); }
.nav a { position: relative; white-space: nowrap; text-decoration: none; font: 400 .76rem var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header__start { display: flex; align-items: center; }
.header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
@media (min-width: 960px) { .nav { display: flex; } .header .menu-btn { display: none; } }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: transparent; color: var(--espresso); cursor: pointer; text-decoration: none; transition: background .25s;
}
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn:hover { background: var(--blush-soft); }
.icon-btn.signed-in::after { content: ''; position: absolute; right: 9px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--espresso); color: var(--cream); font: 500 .66rem/18px var(--sans); text-align: center;
}
.cart-count:empty, .cart-count[data-n="0"] { display: none; }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); background: var(--gold); color: var(--black); } 100% { transform: scale(1); } }
.hide-mobile { display: none; }
@media (min-width: 720px) { .hide-mobile { display: inline-grid; } }

/* Mobile menu: slides down under the header */
.mobile-nav { position: fixed; inset: var(--menu-top, var(--header-h)) 0 auto 0; z-index: 39; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 16px 24px; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .4s var(--ease), opacity .3s, visibility 0s .4s; max-height: calc(100vh - var(--menu-top, var(--header-h))); overflow-y: auto; }
.mobile-nav.open { transform: none; opacity: 1; visibility: visible; transition: transform .4s var(--ease), opacity .3s; }
.mobile-nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font: 500 1.6rem/1.2 var(--serif); }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav.open a { animation: slideIn .5s var(--ease) both; }
.mobile-nav.open a:nth-child(2) { animation-delay: .04s; } .mobile-nav.open a:nth-child(3) { animation-delay: .08s; }
.mobile-nav.open a:nth-child(4) { animation-delay: .12s; } .mobile-nav.open a:nth-child(5) { animation-delay: .16s; }
.mobile-nav.open a:nth-child(6) { animation-delay: .2s; } .mobile-nav.open a:nth-child(7) { animation-delay: .24s; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
@media (min-width: 960px) { .mobile-nav { display: none; } }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-menu { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--blush); }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 70% at 78% 40%, rgba(255, 255, 255, .55), transparent 70%), radial-gradient(40% 50% at 10% 90%, rgba(208, 172, 105, .18), transparent 70%); pointer-events: none; }
.hero__inner { position: relative; display: grid; gap: 28px; align-items: center; padding-top: 40px; padding-bottom: 0; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.05fr .95fr; padding-top: 0; min-height: min(78vh, 760px); } }
.hero__copy { padding-bottom: 8px; }
.hero h1 { font-size: clamp(3rem, 8vw, 6.2rem); line-height: .98; margin-bottom: .3em; }
.hero .lead { margin-bottom: 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 34px 0 0; padding: 0; list-style: none; font: 400 .74rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.hero__meta li { display: flex; align-items: center; gap: 8px; }
.hero__meta li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.hero__art { position: relative; align-self: end; justify-self: center; width: min(100%, 470px); }
.hero__art img { width: 100%; height: auto; display: block; will-change: transform; mask-image: radial-gradient(ellipse 62% 58% at 50% 46%, #000 62%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 46%, #000 62%, transparent 100%); }
.hero__price { position: absolute; right: 0; bottom: 18%; display: grid; place-items: center; width: 108px; height: 108px; border-radius: 50%; background: var(--cream); color: var(--espresso); text-decoration: none; text-align: center; box-shadow: var(--shadow); font: 500 .62rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.hero__price b { display: block; font: 500 1.6rem/1 var(--serif); letter-spacing: 0; margin-top: 2px; }
@media (min-width: 900px) { .hero__price { right: -10px; width: 124px; height: 124px; } }

/* Entrance: each [data-enter] child rises in, one after the other. */
@media (prefers-reduced-motion: no-preference) {
  [data-enter] > * { animation: rise 1s var(--ease) both; }
  [data-enter] > *:nth-child(2) { animation-delay: .12s; } [data-enter] > *:nth-child(3) { animation-delay: .24s; }
  [data-enter] > *:nth-child(4) { animation-delay: .36s; } [data-enter] > *:nth-child(5) { animation-delay: .48s; }
  .hero__art { animation: fadeUp 1.4s .2s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px) scale(.98); } to { opacity: 1; transform: none; } }

/* Scroll reveals (site.js adds .in when the element scrolls into view) */
@media (prefers-reduced-motion: no-preference) and (scripting: enabled) {
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- sections ---------- */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 110px 0; } }
.section--blush { background: var(--blush-soft); }
.section--tight { padding-top: 40px; }
.section--white { background: var(--white); }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; margin-bottom: 40px; }
.section__head h2 { margin: 0; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }

/* Marquee strip */
.strip { background: var(--espresso); color: var(--gold-soft); overflow: hidden; border-block: 1px solid rgba(208, 172, 105, .3); }
.strip__track { display: flex; gap: 48px; width: max-content; padding: 16px 0; font: italic 400 1.35rem/1 var(--serif); letter-spacing: .02em; }
.strip__track span { display: flex; align-items: center; gap: 48px; white-space: nowrap; }
.strip__track span::after { content: '✦'; font-style: normal; font-size: .8rem; color: var(--gold); }
@media (prefers-reduced-motion: no-preference) { .strip__track { animation: marquee 38s linear infinite; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- product grid & cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; } }
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 720px) { .grid--feature { grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); justify-content: center; } }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card__img { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--blush-soft); border-radius: var(--radius); }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s var(--ease); }
.card__img .alt { opacity: 0; }
.card:hover .card__img img:first-of-type { transform: scale(1.05); }
.card:hover .card__img .alt { opacity: 1; }
.card__quick { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; }
@media (hover: hover) {
  .card__quick { opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .card:hover .card__quick, .card:focus-within .card__quick { opacity: 1; transform: none; }
}
.card__quick .btn { width: 100%; min-height: 40px; padding-inline: 8px; letter-spacing: .12em; background: rgba(255, 249, 241, .94); color: var(--espresso); backdrop-filter: blur(6px); }
.card__quick .btn:hover { background: var(--espresso); color: var(--cream); }
.card__body { display: grid; gap: 4px; padding-top: 14px; text-align: center; }
.card__cat { font: 400 .68rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.card__name { font: 500 1.35rem/1.2 var(--serif); text-decoration: none; }
.card__name:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.card__shades { display: flex; justify-content: center; gap: 6px; margin: 4px 0 2px; }
.card__shades i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.card__shades small { font-size: .74rem; color: var(--muted); line-height: 12px; }
.price { font: 400 .98rem var(--sans); letter-spacing: .04em; }
.price s { color: var(--muted); font-size: .85em; margin-left: 6px; }
.badge { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--cream); color: var(--espresso); font: 500 .62rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 7px 10px; border-radius: 2px; }
.badge--out { background: var(--espresso); color: var(--cream); }
.badge--sample { left: auto; right: 10px; background: rgba(255, 255, 255, .7); color: var(--muted); }
.stock-note { font-size: .82rem; color: var(--muted); }
.stock-note.low { color: var(--warn); }
.noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--blush-deep); }
.noimg svg { width: 40%; height: 40%; }
.empty { grid-column: 1 / -1; text-align: center; padding: 56px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.empty h3, .empty h1 { margin-bottom: .3em; }
.empty .btn { margin-top: 8px; }
.skeleton { aspect-ratio: 4 / 5; border-radius: var(--radius); background: linear-gradient(90deg, var(--blush-soft) 0%, #fdf5f3 50%, var(--blush-soft) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.skeleton--wide { aspect-ratio: 3; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- brand story / campaign ---------- */
.story { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1fr; gap: 80px; } }
.story__media { position: relative; }
.story__media img { width: 100%; height: auto; border-radius: var(--radius); }
.story__badge { position: absolute; right: -8px; bottom: -28px; width: 120px; height: 120px; border-radius: 50%; box-shadow: var(--shadow); background: var(--cream); padding: 6px; }
@media (min-width: 900px) { .story__badge { right: -40px; width: 150px; height: 150px; } }
.story__badge img { border-radius: 50%; }
.story--about { margin-bottom: 48px; }
.story--about .story__media { max-width: 360px; margin: 0 auto; }
@media (prefers-reduced-motion: no-preference) { .story__badge { animation: spin 40s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }

.campaign { position: relative; background: var(--black); color: var(--cream); overflow: hidden; }
.campaign__inner { display: grid; align-items: center; gap: 32px; }
@media (min-width: 900px) { .campaign__inner { grid-template-columns: .9fr 1.1fr; min-height: 640px; } }
.campaign h2 { color: var(--cream); }
.campaign p { color: #cbbfb4; max-width: 42ch; }
.campaign__media { position: relative; margin: 0 -16px; overflow: hidden; }
@media (min-width: 720px) { .campaign__media { margin: 0; } }
.campaign__media img { width: 100%; height: auto; transform: scale(1.08); will-change: transform; }
.campaign__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--black), transparent 30%), linear-gradient(0deg, var(--black), transparent 25%); pointer-events: none; }
@media (max-width: 899px) { .campaign__media::after { background: linear-gradient(0deg, var(--black), transparent 30%); } }
.campaign__copy { padding: 0 0 64px; }
@media (min-width: 900px) { .campaign__copy { padding: 0; } }
.claims { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0 0 30px; font: 400 .74rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.claims li { display: flex; align-items: center; gap: 8px; }
.claims li::before { content: '✦'; font-size: .6rem; }
.gold-rule { width: 64px; height: 1px; background: var(--gold); margin: 24px 0; }

/* Delivery promise row */
.promise { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 720px) { .promise { grid-template-columns: repeat(3, 1fr); } }
.promise > div { background: var(--cream); padding: 32px 24px; text-align: center; }
.promise svg { width: 28px; height: 28px; margin: 0 auto 14px; color: var(--gold-text); }
.promise h3 { font-size: 1.4rem; margin-bottom: .25em; }
.promise p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- page heads ---------- */
.page-head { padding: 56px 0 32px; text-align: center; background: linear-gradient(180deg, var(--blush-soft), var(--cream)); }
@media (min-width: 900px) { .page-head { padding: 88px 0 48px; } }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: .2em; }
.page-head p { color: var(--muted); max-width: 52ch; margin: 0 auto; }
.crumbs { font: 400 .72rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--espresso); text-decoration: underline; }

/* ---------- shop toolbar ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding: 8px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 18px; font: 400 .74rem var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: all .25s var(--ease); }
.chip:hover { border-color: var(--espresso); }
.chip[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.toolbar__right { display: flex; gap: 10px; flex-wrap: wrap; flex: 1 1 280px; justify-content: flex-end; }
.field-inline { position: relative; flex: 1 1 200px; max-width: 320px; }
.field-inline svg { position: absolute; left: 14px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.field-inline .input { padding-left: 40px; }
.result-count { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: -12px 0 24px; }

/* ---------- forms ---------- */
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); transition: border-color .2s, box-shadow .2s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--espresso); outline: none; box-shadow: 0 0 0 3px rgba(208, 172, 105, .25); }
.select { width: auto; padding-right: 34px; appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2330201c' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; }
.textarea { min-height: 96px; resize: vertical; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.label { display: grid; gap: 7px; font-weight: 500; font-size: .9rem; }
.label small { font-weight: 400; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: .92rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--espresso); flex: none; }
.note { background: var(--gold-soft); border-radius: var(--radius); padding: 13px 16px; font-size: .92rem; margin: 14px 0 0; }
.note--blue { background: var(--blush-soft); }
.form-error { color: var(--warn); font-weight: 500; margin: 12px 0 0; }
.form-error:empty { display: none; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font: 500 .72rem/1.5 var(--sans); letter-spacing: .04em; background: var(--blush-soft); color: var(--espresso); white-space: nowrap; }
.pill--paid { background: #e3efe5; color: var(--ok); }
.pill--unpaid, .pill--pending { background: var(--gold-soft); color: var(--gold-text); }
.pill--cancelled { background: #f6e2dc; color: var(--warn); }

/* Quantity stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); height: 50px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 1.2rem; cursor: pointer; transition: background .2s; }
.qty button:hover { background: var(--blush-soft); }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty input { width: 40px; text-align: center; border: 0; background: none; font-weight: 500; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty--sm { height: 38px; }
.qty--sm button { width: 34px; font-size: 1rem; }
.qty--sm input { width: 28px; font-size: .9rem; }

/* ---------- product page ---------- */
.pdp { display: grid; gap: 32px; padding: 24px 0 64px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.1fr .9fr; gap: 72px; padding: 48px 0 96px; align-items: start; } }
.gallery { display: grid; gap: 12px; }
@media (min-width: 900px) { .gallery { grid-template-columns: 76px 1fr; position: sticky; top: calc(var(--header-h) + 24px); } }
.gallery__main { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--blush-soft); border-radius: var(--radius); }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.gallery__main img.leaving { opacity: 0; transform: scale(1.03); }
@media (min-width: 900px) { .gallery__main { order: 2; } }
.gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .gallery__thumbs { flex-direction: column; order: 1; overflow: visible; } }
.gallery__thumbs button { flex: none; width: 64px; aspect-ratio: 4 / 5; border: 1px solid transparent; border-radius: 3px; padding: 0; overflow: hidden; background: var(--blush-soft); cursor: pointer; opacity: .6; transition: opacity .25s, border-color .25s; }
@media (min-width: 900px) { .gallery__thumbs button { width: 100%; } }
.gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs button[aria-current="true"], .gallery__thumbs button:hover { opacity: 1; border-color: var(--espresso); }
.pdp__info h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: .1em; }
.pdp__tagline { font: italic 400 1.25rem var(--serif); color: var(--muted); margin-bottom: 18px; }
.pdp__price { font-size: 1.25rem; letter-spacing: .04em; margin-bottom: 22px; }
.pdp__price s { color: var(--muted); font-size: .85em; margin-left: 8px; }
.shades { border: 0; margin: 0 0 24px; padding: 22px 0 0; border-top: 1px solid var(--line); }
.shades legend { font: 400 .74rem var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 0; margin-bottom: 14px; }
.shades legend b { font-weight: 500; letter-spacing: .06em; text-transform: none; font-size: .95rem; margin-left: 6px; }
.shades__list { display: flex; flex-wrap: wrap; gap: 12px; }
.shade { position: relative; }
.shade input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.shade .sw { display: block; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); outline: 1px solid transparent; outline-offset: 4px; transition: outline-color .25s, transform .25s var(--ease); }
.shade .sw:hover { transform: scale(1.08); }
.shade input:checked + .sw { outline-color: var(--espresso); }
.shade input:focus-visible + .sw { outline: 2px solid var(--espresso); }
.shade.out .sw::after { content: ''; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 1px; background: rgba(255, 255, 255, .9); transform: rotate(45deg); }
.shade.out .sw { opacity: .55; }
.buy { display: flex; gap: 10px; margin: 20px 0 14px; }
.buy .btn { flex: 1; }
.pdp__stock { min-height: 1.4em; margin-bottom: 4px; }
.acc-list { border-top: 1px solid var(--line); margin-top: 28px; }
.acc-list details { border-bottom: 1px solid var(--line); }
.acc-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; font: 400 .78rem var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.acc-list summary::-webkit-details-marker { display: none; }
.acc-list summary::after { content: '+'; font-size: 1.3rem; font-weight: 300; transition: transform .3s var(--ease); }
.acc-list details[open] summary::after { transform: rotate(45deg); }
.acc-list .acc-body { padding: 0 0 20px; color: var(--muted); white-space: pre-line; }

/* ---------- cart drawer ---------- */
.drawer-scrim { position: fixed; inset: 0; z-index: 80; background: rgba(11, 11, 11, .38); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 81; width: min(440px, 100%); background: var(--cream); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .5s var(--ease); box-shadow: -20px 0 60px rgba(0, 0, 0, .12); visibility: hidden; }
.drawer-open .drawer-scrim { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.drawer-open .drawer { transform: none; visibility: visible; }
.drawer-open { overflow: hidden; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.8rem; margin: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 4px 20px; }
.drawer__foot { padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); display: grid; gap: 10px; }
.drawer__foot .sum-row { font-size: 1.05rem; }
.drawer__empty { text-align: center; padding: 60px 10px; }
.drawer__empty h3 { font-size: 1.8rem; }

/* Cart lines (drawer + cart page) */
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line__img { position: relative; width: 76px; aspect-ratio: 4 / 5; border-radius: 3px; background: var(--blush-soft); overflow: hidden; }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__name { font: 500 1.2rem/1.2 var(--serif); text-decoration: none; }
.line__meta { display: flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--muted); margin-top: 2px; }
.line__meta i { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.line__ctrl { display: flex; align-items: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.line__total { text-align: right; font-size: .95rem; }
.line__warn { color: var(--warn); font-size: .82rem; margin-top: 4px; }

/* ---------- cart page / checkout ---------- */
.checkout { display: grid; gap: 28px; padding: 32px 0 80px; align-items: start; }
@media (min-width: 960px) { .checkout { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; } }
.checkout > * { min-width: 0; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
@media (min-width: 720px) { .panel { padding: 30px; } }
.panel + .panel { margin-top: 20px; }
form.panel > .btn[type="submit"] { margin-top: 18px; }
.panel h2 { font-size: 1.75rem; display: flex; align-items: center; gap: 12px; }
.panel h2 .n { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-text); display: grid; place-items: center; font: 400 .9rem var(--sans); flex: none; }
.options { display: grid; gap: 10px; }
@media (min-width: 640px) { .options--2 { grid-template-columns: 1fr 1fr; } }
.option { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; background: var(--white); transition: border-color .25s, background .25s; }
.option:hover { border-color: var(--blush-deep); }
.option:has(input:checked) { border-color: var(--espresso); background: var(--cream); }
.option input { margin-top: 4px; accent-color: var(--espresso); width: 17px; height: 17px; flex: none; }
.option b { display: flex; justify-content: space-between; gap: 8px; font-weight: 500; }
.option b em { font-style: normal; font-weight: 400; white-space: nowrap; }
.option span { display: block; font-size: .86rem; color: var(--muted); }
.summary { position: sticky; top: calc(var(--header-h) + 20px); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.sum-row--total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; font: 500 1.6rem var(--serif); }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .8rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.secure svg { width: 15px; height: 15px; flex: none; }
.terms-note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.terms-note a { color: inherit; }

/* ---------- order page ---------- */
.thanks { text-align: center; padding: 8px 0 8px; }
.thanks__icon { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-text); display: grid; place-items: center; }
.thanks__icon svg { width: 32px; height: 32px; }
.ref { display: inline-block; font: 500 1.3rem var(--serif); border: 1px solid var(--gold); padding: 4px 16px; border-radius: 2px; letter-spacing: .06em; }
.ref-sm { font: 500 1.1rem var(--serif); }
.timeline { list-style: none; padding: 0; margin: 18px 0 0; display: grid; }
.timeline li { position: relative; padding: 0 0 20px 34px; color: var(--muted); }
.timeline li::before { content: ''; position: absolute; left: 6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); }
.timeline li::after { content: ''; position: absolute; left: 11px; top: 20px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.done, .timeline li.now { color: var(--espresso); }
.timeline li.done::before { background: var(--gold); border-color: var(--gold); }
.timeline li.now::before { background: var(--espresso); border-color: var(--espresso); box-shadow: 0 0 0 4px var(--gold-soft); }

/* ---------- account ---------- */
.acc { padding-bottom: 40px; }
.acc-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .acc-grid { grid-template-columns: 1fr 1fr; } .acc-grid--me { grid-template-columns: 1.3fr 1fr; } }
.acc-grid .panel + .panel { margin-top: 0; }
.acc-grid--me > div > .panel + .panel { margin-top: 20px; }
form.panel > .btn[type="submit"] { margin-top: 18px; }
.acc-narrow { max-width: 460px; margin: 0 auto; }
.acc-narrow .label { margin: 14px 0; }
.acc-staff { max-width: 640px; margin: 0 auto 20px; text-align: center; }
.acc-order { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.acc-order:hover .ref-sm { text-decoration: underline; }
#logout { margin-top: 20px; }

/* ---------- content pages (about, FAQ, policies) ---------- */
.prose { max-width: 720px; margin: 0 auto; padding: 56px 0 96px; }
.prose h2 { font-size: 2rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.4rem; margin-top: 1.4em; }
.prose p, .prose li { color: #4d3f3a; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.draft-note { border: 1px dashed var(--gold); background: var(--gold-soft); color: var(--gold-text); padding: 12px 16px; border-radius: var(--radius); font-size: .88rem; margin: 0 0 32px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; font: 500 1.35rem/1.25 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 300 1.5rem var(--sans); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) { .faq details[open] > div, .acc-list details[open] .acc-body { animation: rise .45s var(--ease); } }

.contact-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; text-align: center; display: grid; gap: 6px; justify-items: center; align-content: start; }
.contact-card svg.big { width: 30px; height: 30px; color: var(--gold-text); margin-bottom: 8px; }
.contact-card h2 { font-size: 1.8rem; margin: 0; }
.contact-card .btn { margin-top: 12px; }
.socials { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { background: var(--espresso); color: #d7cbc2; padding: 72px 0 28px; }
.footer a { color: #d7cbc2; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand img { width: 84px; height: 84px; border-radius: 50%; margin-bottom: 16px; }
.footer__brand .wordmark { font: 500 1.8rem/1 var(--serif); letter-spacing: .3em; color: var(--cream); margin-bottom: 12px; }
.footer__brand p { max-width: 34ch; font-size: .95rem; }
.footer h3 { font: 400 .72rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; letter-spacing: .04em; }

/* ---------- WhatsApp button & toast ---------- */
.wa-fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: var(--white); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); transition: transform .3s var(--ease); }
.wa-fab:hover { transform: scale(1.06); }
.wa-fab svg { width: 28px; height: 28px; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--espresso); color: var(--cream); padding: 13px 20px; border-radius: var(--radius); font-size: .92rem;
  display: flex; gap: 10px; align-items: center; max-width: calc(100vw - 32px); transition: opacity .3s, transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast.error { background: var(--warn); }
.toast a { color: var(--gold); }
.toast svg { flex: none; }

/* ---------- page transitions (browsers that support them) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vtOut .25s var(--ease) both; }
  ::view-transition-new(root) { animation: vtIn .4s var(--ease) both; }
}
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(8px); } }

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