/* ==========================================================================
   CARA — storefront styles
   Palette: warm paper, ink, terracotta. Type: Fraunces (display) + Manrope.
   ========================================================================== */

:root {
  --paper: #f6f2eb;
  --paper-2: #eee7dc;
  --card: #fffdf9;
  --ink: #171412;
  --ink-2: #3d3833;
  --muted: #7b736a;
  --line: #e2d9cc;
  --accent: #b4532a;
  --accent-2: #8f3d1b;
  --accent-soft: #f3dfd2;
  --olive: #4f5a3a;
  --ok: #2f7a4f;
  --warn: #b7791f;
  --danger: #b42318;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(23, 20, 18, .04), 0 8px 24px -12px rgba(23, 20, 18, .18);
  --shadow-lg: 0 30px 60px -30px rgba(23, 20, 18, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }
p { margin: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 110px); }
.section-sm { padding-block: clamp(36px, 5vw, 64px); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.only-mobile { display: none !important; }
@media (max-width: 900px) {
  .only-mobile { display: inline-flex !important; }
  .hide-mobile { display: none !important; }
}

.eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.eyebrow.light { color: #f3c9b2; }
.display {
  font-family: var(--font-display); font-weight: 400; font-optical-sizing: auto;
  font-size: clamp(2.6rem, 6.2vw, 5.6rem); line-height: .98; letter-spacing: -.025em;
}
.display em, .h2 em, h2 em { font-style: italic; color: var(--accent); }
.h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 3.8vw, 3.2rem); letter-spacing: -.02em; }
.lead { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--ink-2); max-width: 52ch; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.section-head .h2 { margin-top: 10px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; background: var(--ink); color: var(--paper);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; border: 1px solid var(--ink);
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 24px -12px var(--accent); }
.btn:disabled { opacity: .45; pointer-events: none; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: none; }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-accent:hover { background: var(--ink); border-color: var(--ink); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.link { font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .2s; }
.link:hover { color: var(--accent); }
.link-btn { font-size: .8rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--danger); }

/* ---------- announcement ---------- */
.announce { background: var(--ink); color: #efe7db; font-size: .78rem; letter-spacing: .04em; overflow: hidden; white-space: nowrap; }
.announce-track { display: inline-flex; gap: 80px; padding: 9px 0; animation: marquee 28s linear infinite; padding-left: 100%; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (min-width: 900px) { .announce-track { animation: none; padding-left: 0; width: 100%; justify-content: center; } .announce-track span + span { display: none; } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -18px rgba(0,0,0,.4); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.wordmark { font-family: var(--font-display); font-size: 2rem; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.wordmark span { color: var(--accent); }
.main-nav { display: flex; gap: 6px; margin-left: 12px; }
.main-nav a { padding: 8px 14px; border-radius: 999px; font-size: .93rem; font-weight: 500; color: var(--ink-2); position: relative; transition: color .2s, background .2s; }
.main-nav a:hover { color: var(--ink); background: var(--paper-2); }
.main-nav a.active { color: var(--ink); }
.main-nav a.active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); transform: translateX(-50%); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.search { position: relative; margin-right: 8px; }
.search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .85rem; }
.search input { width: 220px; padding: 10px 14px 10px 38px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: .88rem; transition: width .3s var(--ease), border-color .2s; }
.search input:focus { outline: none; border-color: var(--ink); width: 260px; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 1.05rem; transition: background .2s; }
.icon-btn:hover { background: var(--paper-2); }
.badge { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: .65rem; font-weight: 700; display: none; place-items: center; line-height: 18px; text-align: center; }
.badge.show { display: grid; animation: pop .35s var(--ease); }
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }

@media (max-width: 900px) {
  .header-inner { height: 64px; gap: 8px; }
  .wordmark { font-size: 1.7rem; }
  .search { display: none; }
  .main-nav {
    position: fixed; inset: 0 30% 0 0; min-width: 280px; z-index: 80; background: var(--paper);
    flex-direction: column; padding: 76px 24px 24px; margin: 0; gap: 2px;
    transform: translateX(-102%); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg);
  }
  .main-nav a { font-family: var(--font-display); font-size: 1.7rem; padding: 10px 6px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .main-nav a.active::after { left: auto; right: 6px; top: 50%; transform: translateY(-50%); }
  .nav-close { position: absolute; top: 14px; right: 14px; }
  body.nav-open .main-nav { transform: none; }
}

/* ---------- scrim + drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(23, 20, 18, .45); opacity: 0; pointer-events: none; transition: opacity .35s; z-index: 70; }
body.drawer-open .scrim, body.nav-open .scrim { opacity: 1; pointer-events: auto; }
body.drawer-open, body.nav-open { overflow: hidden; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 90;
  background: var(--card); display: flex; flex-direction: column;
  transform: translateX(102%); transition: transform .45s var(--ease); box-shadow: var(--shadow-lg);
}
body.drawer-open .drawer { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.ship-meter { padding: 14px 0 6px; font-size: .85rem; }
.meter { height: 6px; border-radius: 3px; background: var(--paper-2); margin-top: 8px; overflow: hidden; }
.meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #d9824f); border-radius: 3px; transition: width .5s var(--ease); }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-img img { width: 76px; height: 92px; object-fit: cover; border-radius: 10px; background: var(--paper-2); }
.line-name { font-weight: 600; font-size: .95rem; line-height: 1.3; display: block; }
.line-end { text-align: right; display: grid; gap: 6px; justify-items: end; }
.empty { text-align: center; padding: 60px 10px; display: grid; gap: 16px; justify-items: center; color: var(--muted); }
.empty i { font-size: 2.4rem; color: var(--line); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.qty button { width: 40px; height: 44px; font-size: 1.1rem; border-radius: 50%; }
.qty button:hover { color: var(--accent); }
.qty span, .qty input { min-width: 28px; text-align: center; font-weight: 600; border: 0; background: none; width: 40px; }
.qty input:focus { outline: none; }
.qty.sm { margin-top: 10px; }
.qty.sm button { width: 30px; height: 30px; font-size: .95rem; }

/* ---------- toasts ---------- */
.toast-wrap { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 120; display: grid; gap: 8px; width: max-content; max-width: calc(100% - 32px); }
.toast { display: flex; gap: 12px; align-items: center; padding: 13px 20px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .9rem; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(14px) scale(.96); transition: all .3s var(--ease); }
.toast.show { opacity: 1; transform: none; }
.toast i { color: #f0a77f; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .announce-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   HOME
   ========================================================================== */
.hero { position: relative; padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(48px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 26px; }
.hero-copy .lead { max-width: 44ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: clamp(20px, 4vw, 44px); padding-top: 18px; border-top: 1px solid var(--line); margin-top: 8px; }
.hero-stats b { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 400; }
.hero-stats span { font-size: .8rem; color: var(--muted); }
.hero-visual { position: relative; display: grid; grid-template-columns: 1fr .62fr; grid-template-rows: 1fr auto; gap: 14px; height: clamp(440px, 52vw, 640px); }
.hero-visual .hv-main { grid-row: 1 / 3; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.hero-visual .hv-side { border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero-visual > div:hover img { transform: scale(1.04); }
.hv-card { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; }
.hv-card b { font-family: var(--font-display); font-weight: 400; font-size: 2.6rem; line-height: 1; color: #f0a77f; }
.hv-card span { font-size: .85rem; opacity: .8; }
.hero-badge {
  position: absolute; left: -26px; bottom: 60px; width: 116px; height: 116px; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); font-size: 1rem; line-height: 1.1; box-shadow: var(--shadow-lg);
  animation: spin-slow 18s linear infinite;
}
.hero-badge span { animation: spin-slow 18s linear infinite reverse; display: block; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 460px; }
  .hero-badge { left: auto; right: 12px; bottom: auto; top: -20px; width: 92px; height: 92px; font-size: .85rem; }
}
@media (max-width: 520px) {
  .hero-visual { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 420px; }
  .hero-visual .hv-side, .hero-visual .hv-card { display: none; }
  .hero-visual .hv-main { grid-row: auto; }
}

/* marquee of values */
.ticker { border-block: 1px solid var(--line); overflow: hidden; background: var(--card); }
.ticker-track { display: flex; gap: 56px; padding: 18px 0; width: max-content; animation: ticker 40s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-display); font-size: 1.35rem; font-style: italic; white-space: nowrap; color: var(--ink-2); }
.ticker-track i { color: var(--accent); font-size: .9rem; font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); isolation: isolate; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(23,20,18,.72)); z-index: 1; }
.cat:hover img { transform: scale(1.06); }
.cat-label { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; color: #fff; display: flex; justify-content: space-between; align-items: end; }
.cat-label h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; }
.cat-label small { display: block; font-size: .78rem; opacity: .8; }
.cat-label .arrow { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); display: grid; place-items: center; transition: background .3s, transform .3s; }
.cat:hover .arrow { background: var(--accent); transform: rotate(-45deg); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } .cat-label h3 { font-size: 1.4rem; } }

/* product grid + card */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.tag { position: absolute; top: 12px; left: 12px; background: var(--card); color: var(--ink); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.tag-accent { background: var(--accent); color: #fff; }
.tag-dark { background: var(--ink); color: var(--paper); }
.wish { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,253,249,.88); backdrop-filter: blur(6px); display: grid; place-items: center; transition: transform .25s var(--ease), color .2s; z-index: 2; }
.wish:hover { transform: scale(1.1); }
.wish.on { color: var(--accent); }
.quick-add {
  /* % margins resolve against card width, so 125% = bottom of the 4:5 image */
  position: absolute; left: 12px; right: 12px; top: 0;
  margin-top: calc(125% - 58px);
  height: 46px; border-radius: 999px; background: rgba(23,20,18,.9); color: var(--paper);
  font-size: .85rem; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; transform: translateY(10px); transition: all .35s var(--ease); z-index: 2;
}
.card:hover .quick-add, .quick-add:focus-visible { opacity: 1; transform: none; }
.quick-add:hover { background: var(--accent); }
@media (hover: none) {
  .quick-add { opacity: 1; transform: none; left: auto; right: 10px; width: 42px; height: 42px; margin-top: calc(125% - 52px); font-size: 0; gap: 0; }
  .quick-add i { font-size: .95rem; }
}
.card-body { padding: 14px 4px 0; display: grid; gap: 4px; }
.card-brand { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.card-title { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.card-title a:hover { color: var(--accent); }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.price { font-weight: 700; }
.price s { color: var(--muted); font-weight: 400; font-size: .85em; margin-left: 4px; }
.stars { color: #d39a2c; font-size: .8rem; letter-spacing: 1px; }
.stars .dim { color: var(--line); }

/* tabs */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; flex-wrap: wrap; }
.tabs button { padding: 9px 18px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--muted); transition: all .25s; }
.tabs button.on { background: var(--ink); color: var(--paper); }
.tabs button:not(.on):hover { color: var(--ink); }

/* split promo */
.promo { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: calc(var(--radius) + 6px); overflow: hidden; background: var(--ink); color: var(--paper); min-height: 480px; }
.promo-img { position: relative; min-height: 320px; }
.promo-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-copy { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.promo-copy .h2 em { color: #f0a77f; }
.promo-copy p { color: #cfc6ba; max-width: 40ch; }
.countdown { display: flex; gap: 10px; }
.countdown div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 10px 14px; min-width: 66px; text-align: center; }
.countdown b { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; line-height: 1.1; }
.countdown span { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
@media (max-width: 900px) { .promo { grid-template-columns: 1fr; } }

/* bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 250px; gap: 16px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); color: #fff; isolation: isolate; display: flex; align-items: flex-end; padding: 26px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 35%, rgba(23,20,18,.78)); z-index: -1; }
.tile:hover img { transform: scale(1.05); }
.tile h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2.3rem); margin: 6px 0 14px; }
.tile .eyebrow { color: #f6cdb6; }
.t1 { grid-column: span 7; grid-row: span 2; }
.t2 { grid-column: span 5; }
.t3 { grid-column: span 5; }
.t-solid { background: var(--accent); }
.t-solid::before { display: none; }
@media (max-width: 900px) { .bento { grid-auto-rows: 220px; } .t1, .t2, .t3 { grid-column: span 12; } .t1 { grid-row: span 2; } }

/* features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--card); padding: 28px 24px; display: grid; gap: 8px; }
.feature i { font-size: 1.4rem; color: var(--accent); margin-bottom: 6px; }
.feature h4 { font-size: 1rem; }
.feature p { font-size: .88rem; color: var(--muted); }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 18px; align-content: space-between; }
.quote p { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.45; }
.quote footer { display: flex; align-items: center; gap: 12px; font-size: .88rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; font-weight: 700; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* instagram strip */
.insta { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.insta a { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--paper-2); }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.insta a::after { content: "\f16d"; font-family: "Font Awesome 6 Brands"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.6rem; background: rgba(180,83,42,.55); opacity: 0; transition: opacity .3s; }
.insta a:hover::after { opacity: 1; }
.insta a:hover img { transform: scale(1.08); }
@media (max-width: 760px) { .insta { grid-template-columns: repeat(3, 1fr); } }

/* ---------- newsletter + footer ---------- */
.newsletter { background: var(--accent); color: #fff; }
.newsletter-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-block: clamp(44px, 6vw, 72px); }
.newsletter h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3.2vw, 2.8rem); margin-top: 10px; }
.newsletter h2 em { color: #ffe3d2; }
.news-form { display: flex; gap: 8px; background: rgba(255,255,255,.14); padding: 6px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); }
.news-form input { flex: 1; min-width: 0; background: none; border: 0; padding: 0 18px; color: #fff; }
.news-form input::placeholder { color: rgba(255,255,255,.75); }
.news-form input:focus { outline: none; }
@media (max-width: 760px) { .newsletter-inner { grid-template-columns: minmax(0, 1fr); } .news-form .btn { padding-inline: 18px; } }

.site-footer { background: var(--ink); color: #cfc6ba; padding-top: 72px; font-size: .92rem; }
.site-footer .wordmark { color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr) 1.3fr; gap: 32px; padding-bottom: 56px; }
.footer-grid h4 { color: var(--paper); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.footer-grid > div > a { display: block; padding: 4px 0; transition: color .2s, transform .2s; }
.footer-grid > div > a:hover { color: #fff; transform: translateX(3px); }
.footer-grid p + p { margin-top: 10px; }
.footer-brand p { margin: 16px 0 22px; max-width: 32ch; }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #3a3531; display: grid; place-items: center; transition: all .25s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.pay-icons { display: flex; gap: 12px; font-size: 1.9rem; color: #e9e1d6; margin-bottom: 12px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid #2d2926; padding-block: 22px; font-size: .82rem; color: #8f877d; }
.footer-bottom a:hover { color: #fff; }
.site-footer .muted { color: #8f877d; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
.page-hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,20,18,.78), rgba(23,20,18,.25)); z-index: -1; }
.page-hero .container { padding-block: clamp(64px, 10vw, 128px); display: grid; gap: 14px; }
.page-hero .display { font-size: clamp(2.4rem, 5.5vw, 4.6rem); }
.page-hero .display em { color: #f0a77f; }
.page-hero p { max-width: 50ch; opacity: .88; }
.crumbs { font-size: .8rem; letter-spacing: .06em; opacity: .8; }
.crumbs a:hover { text-decoration: underline; }
.page-title { padding-block: clamp(36px, 5vw, 64px) 8px; }
.page-title .display { font-size: clamp(2.2rem, 4.5vw, 3.8rem); margin-top: 10px; }
.crumbs-dark { font-size: .82rem; color: var(--muted); }
.crumbs-dark a:hover { color: var(--accent); }

/* shop */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: .88rem; font-weight: 600; color: var(--ink-2); transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 0; border-bottom: 1px solid var(--line); margin-bottom: 28px; position: sticky; top: 74px; z-index: 10; background: var(--paper); }
@media (max-width: 900px) { .shop-bar { top: 64px; } }
.shop-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.select, .input {
  padding: 11px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card);
  font-size: .92rem; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.select { appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23171412' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; width: auto; cursor: pointer; }
.select.pill { border-radius: 999px; }
.input:focus, .select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(23,20,18,.06); }
textarea.input { resize: vertical; min-height: 140px; }
.range-wrap { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); }
.range-wrap input[type=range] { accent-color: var(--accent); width: 130px; }
.result-count { font-size: .88rem; color: var(--muted); }
.no-results { grid-column: 1 / -1; text-align: center; padding: 80px 20px; color: var(--muted); display: grid; gap: 14px; justify-items: center; }
.no-results i { font-size: 2.2rem; color: var(--line); }

/* product detail */
.pd { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.pd-gallery { display: grid; grid-template-columns: 84px 1fr; gap: 14px; position: sticky; top: 96px; }
.pd-thumbs { display: grid; gap: 10px; align-content: start; }
.pd-thumbs button { aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; border: 2px solid transparent; opacity: .65; transition: all .2s; background: var(--paper-2); }
.pd-thumbs button.on, .pd-thumbs button:hover { border-color: var(--ink); opacity: 1; }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-main { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); cursor: zoom-in; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.pd-main.zoom img { transform: scale(1.8); }
.pd-info { display: grid; gap: 20px; }
.pd-info h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -.02em; }
.pd-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pd-price b { font-size: 1.7rem; }
.pd-price s { color: var(--muted); }
.save-pill { background: var(--accent-soft); color: var(--accent-2); font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.opt-label { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; display: flex; justify-content: space-between; }
.opt-label a { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); text-decoration: underline; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.sizes button { min-width: 54px; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-weight: 600; transition: all .2s; }
.sizes button:hover { border-color: var(--ink); }
.sizes button.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pd-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-actions .btn { flex: 1; min-width: 180px; height: 52px; }
.wish-lg { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; font-size: 1.1rem; transition: all .2s; }
.wish-lg.on, .wish-lg:hover { color: var(--accent); border-color: var(--accent); }
.stock { font-size: .85rem; display: flex; align-items: center; gap: 8px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(47,122,79,.15); }
.stock.low::before { background: var(--warn); box-shadow: 0 0 0 4px rgba(183,121,31,.15); }
.stock.out::before { background: var(--danger); box-shadow: 0 0 0 4px rgba(180,35,24,.15); }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.perks div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: .8rem; display: grid; gap: 4px; }
.perks i { color: var(--accent); }
details.acc { border-top: 1px solid var(--line); padding: 16px 0; }
details.acc:last-of-type { border-bottom: 1px solid var(--line); }
details.acc summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-size: 1.3rem; line-height: 1; transition: transform .3s; }
details.acc[open] summary::after { transform: rotate(45deg); }
details.acc p, details.acc ul { margin-top: 12px; color: var(--ink-2); font-size: .94rem; }
details.acc ul { padding-left: 18px; }
@media (max-width: 900px) {
  .pd { grid-template-columns: 1fr; }
  .pd-gallery { position: static; grid-template-columns: 1fr; }
  .pd-thumbs { grid-template-columns: repeat(4, 1fr); order: 2; }
  .perks { grid-template-columns: 1fr; }
}

/* cart page + checkout */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.cart-table { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 24px; }
.cart-row { display: grid; grid-template-columns: 100px 1fr auto auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 0; }
.cart-row img { width: 100px; height: 124px; object-fit: cover; border-radius: 12px; background: var(--paper-2); }
.cart-row h3 { font-size: 1.02rem; margin-bottom: 4px; }
.cart-row .sub { font-weight: 700; min-width: 90px; text-align: right; }
@media (max-width: 680px) {
  .cart-row { grid-template-columns: 80px 1fr; gap: 14px; }
  .cart-row img { width: 80px; height: 100px; }
  .cart-row .qty, .cart-row .sub { grid-column: 2; justify-self: start; text-align: left; }
}
.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; position: sticky; top: 96px; }
.summary h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; }
.summary .row-between { font-size: .95rem; }
.summary .total { font-size: 1.2rem; font-weight: 700; border-top: 1px solid var(--line); padding-top: 14px; }
.summary .green { color: var(--ok); }
.coupon { display: flex; gap: 8px; }
.coupon .input { border-radius: 999px; }
.coupon-msg { font-size: .82rem; }
.coupon-msg.ok { color: var(--ok); }
.coupon-msg.err { color: var(--danger); }
.coupon-hints { display: flex; gap: 6px; flex-wrap: wrap; }
.coupon-hints button { font-size: .72rem; font-weight: 700; letter-spacing: .06em; border: 1px dashed var(--accent); color: var(--accent); padding: 4px 10px; border-radius: 6px; }
.coupon-hints button:hover { background: var(--accent-soft); }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } .summary { position: static; } }

.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; }
.form-card h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.form-card h3 .step { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: .8rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.pay-opts { display: grid; gap: 10px; }
.pay-opt { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.pay-opt:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.pay-opt input { accent-color: var(--accent); width: 18px; height: 18px; }
.pay-opt .pay-title { font-weight: 600; }
.pay-opt .pay-sub { font-size: .8rem; color: var(--muted); }
.pay-opt .pay-icons { margin: 0 0 0 auto; font-size: 1.4rem; color: var(--ink-2); gap: 8px; }
.pay-opt.disabled { opacity: .6; }
.soon { font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--accent-soft); color: var(--accent-2); padding: 3px 8px; border-radius: 999px; margin-left: 6px; }
.mini-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: .9rem; }
.mini-line img { width: 56px; height: 68px; object-fit: cover; border-radius: 8px; }
.mini-line .q { position: relative; }
.success { text-align: center; display: grid; justify-items: center; gap: 18px; padding: clamp(40px, 8vw, 90px) 20px; }
.success .tick { width: 84px; height: 84px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 2rem; animation: pop .5s var(--ease); }

/* orders */
.order { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 16px; }
.order + .order { margin-top: 16px; }
.order-items { display: flex; gap: 8px; flex-wrap: wrap; }
.order-items img { width: 56px; height: 68px; border-radius: 8px; object-fit: cover; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--paper-2); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.Paid, .status.Delivered { color: var(--ok); background: #e3f1e8; }
.status.Pending { color: var(--warn); background: #fbf0dc; }
.status.Shipped, .status.Processing { color: #2457a6; background: #e3ecf9; }
.status.Cancelled { color: var(--danger); background: #fbe5e3; }
.tracker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; font-size: .75rem; color: var(--muted); }
.tracker div { position: relative; padding-top: 22px; text-align: center; }
.tracker div::before { content: ""; position: absolute; top: 4px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; border-radius: 50%; background: var(--line); z-index: 1; }
.tracker div::after { content: ""; position: absolute; top: 9px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.tracker div:first-child::after { display: none; }
.tracker div.done { color: var(--ink); font-weight: 600; }
.tracker div.done::before, .tracker div.done::after { background: var(--accent); }

/* blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 32px); }
.post-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.post-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.post-feature .post-img { aspect-ratio: 16 / 11; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post:hover .post-img img { transform: scale(1.05); }
.post-meta { display: flex; gap: 10px; font-size: .78rem; color: var(--muted); margin: 16px 0 8px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.post-meta b { color: var(--accent); }
.post h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; margin-bottom: 10px; }
.post-feature h3 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.post p { color: var(--ink-2); font-size: .95rem; margin-bottom: 14px; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } .post-feature { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

/* about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-copy { display: grid; gap: 20px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { border-top: 1px solid var(--ink); padding-top: 16px; }
.stat b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; }
.stat span { font-size: .85rem; color: var(--muted); }
.video-wrap { border-radius: calc(var(--radius) + 6px); overflow: hidden; background: var(--ink); aspect-ratio: 16 / 8; }
.video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: grid; gap: 10px; }
.value .num { font-family: var(--font-display); font-style: italic; color: var(--accent); font-size: 1.6rem; }
.value h3 { font-size: 1.15rem; }
.value p { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .split, .values { grid-template-columns: 1fr; } .stats { grid-template-columns: 1fr 1fr; } }

/* contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.c-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 8px; }
.c-card i { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; margin-bottom: 6px; }
.c-card h4 { font-size: 1rem; }
.c-card p { color: var(--muted); font-size: .92rem; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 100%; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.4) sepia(.15); }
@media (max-width: 900px) { .contact-cards { grid-template-columns: 1fr; } }

.faq { max-width: 820px; margin-inline: auto; }

/* ---------- multiple product images ---------- */
.card-media img.card-alt { position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--ease), transform .9s var(--ease); }
.card:hover .card-media img.card-alt { opacity: 1; }
.pd-main-wrap { position: relative; }
.pd-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,.12); cursor: pointer; display: grid; place-items: center; z-index: 2; }
.pd-nav.prev { left: 12px; }
.pd-nav.next { right: 12px; }
.pd-nav:hover { background: #fff; }
.pd-count { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 20px; z-index: 2; pointer-events: none; }
.pd-thumbs.many { max-height: min(78vh, 640px); overflow-y: auto; scrollbar-width: thin; padding-right: 2px; }
@media (max-width: 900px) {
  .pd-thumbs.many { max-height: none; overflow: visible; padding-right: 0; }
}
