/* ============================================================
   Shared storefront styles — brand theming via CSS variables
   injected per-site from data/site.json
   ============================================================ */
:root {
  --primary: #2f3a34;
  --secondary: #6b7264;
  --accent: #b08d57;
  --bg: #faf8f5;
  --surface: #ffffff;
  --text: #1e2420;
  --muted: #7a8077;
  --line: #e7e2da;
  --star: #c99b3f;
  --star-empty: #ddd6ca;
  --heading-font: 'Cormorant Garamond', serif;
  --body-font: 'Jost', sans-serif;
  --radius: 14px;
  --wa-green: #25d366;
  --shadow: 0 10px 40px rgba(30, 36, 32, .08);
  --shadow-lift: 0 18px 60px rgba(30, 36, 32, .14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body-font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, .logo { font-family: var(--heading-font); font-weight: 500; letter-spacing: .01em; }
.wrap { width: min(1240px, 92vw); margin: 0 auto; }
.eyebrow {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 10px;
}
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- Announce bar ---------- */
.announce-bar {
  background: var(--primary); color: #fff; overflow: hidden;
  font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
}
.announce-track { display: flex; gap: 28px; padding: 9px 0; width: max-content; animation: announce 28s linear infinite; }
.announce-track span { white-space: nowrap; }
.announce-dot { opacity: .5; }
@keyframes announce { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(30,36,32,.06); }
.header-inner {
  width: min(1400px, 94vw); margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 16px 0;
}
.logo { font-size: 26px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.main-nav { display: flex; gap: 30px; justify-content: center; }
.main-nav a {
  font-size: 14px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 0;
  border-bottom: 1.5px solid transparent; transition: border-color .25s, color .25s;
}
.main-nav a:hover { border-bottom-color: var(--accent); color: var(--accent); }
.header-actions { display: flex; gap: 16px; align-items: center; }
.icon-link { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; position: relative; }
.icon-link:hover { background: rgba(0,0,0,.05); }
.icon-link svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: -2px; right: -4px; background: var(--accent); color: #fff;
  font-size: 10.5px; min-width: 16px; height: 16px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px; font-weight: 700;
}
.cart-count:empty, .cart-count[data-zero="1"] { display: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); display: block; transition: .3s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 34px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); background: var(--accent); }
.btn-ghost { border-color: var(--text); color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--text); color: var(--bg); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 82vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.42) 78%);
}
.hero-content { position: relative; z-index: 2; color: #fff; padding: 0 0 84px; }
.hero-eyebrow { font-size: 13px; letter-spacing: .3em; text-transform: uppercase; opacity: .85; margin-bottom: 16px; }
.hero h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1.04; max-width: 15ch; margin-bottom: 18px; text-shadow: 0 4px 30px rgba(0,0,0,.25); }
.hero-sub { font-size: 17px; max-width: 52ch; opacity: .92; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta .btn-ghost { border-color: #fff; color: #fff; }
.hero-cta .btn-ghost:hover { background: #fff; color: var(--text); }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 34px 0; border-bottom: 1px solid var(--line);
}
.trust-item { display: flex; gap: 14px; align-items: center; }
.trust-icon { font-size: 24px; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; }
.trust-item strong { display: block; font-size: 14.5px; }
.trust-item span:not(.trust-icon) { font-size: 12.5px; color: var(--muted); }

/* ---------- Section head ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.section-link { font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; white-space: nowrap; }
section { padding: 64px 0; }

/* ---------- Collections ---------- */
.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.collection-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow); }
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.collection-card:hover img { transform: scale(1.06); }
.collection-label {
  position: absolute; left: 18px; bottom: 18px; right: 18px; color: #fff;
  background: rgba(20, 22, 20, .45); backdrop-filter: blur(8px);
  border-radius: 10px; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center;
}
.collection-label span { font-family: var(--heading-font); font-size: 20px; }
.collection-label em { font-style: normal; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }

/* ---------- Product grid & cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s, box-shadow .35s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.product-card-media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #f3efe9; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-card-media img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 14px; left: 14px; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.product-card-info { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.product-card-info h3 { font-size: 19px; line-height: 1.25; }
.product-card-rating { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.product-card-price { display: flex; align-items: baseline; gap: 10px; }
.price-now { font-size: 18px; font-weight: 700; }
.price-was { color: var(--muted); text-decoration: line-through; font-size: 14px; }
.price-save { color: #2f7d4f; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; }
.product-card-moq { font-size: 12.5px; color: var(--accent); font-weight: 600; letter-spacing: .04em; }

/* ---------- Stars ---------- */
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }

/* ---------- Home story ---------- */
.home-story { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-story-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.home-story-media img { border-radius: var(--radius); box-shadow: var(--shadow-lift); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.home-story-copy h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 18px; }
.home-story-copy p { color: var(--secondary); margin-bottom: 26px; max-width: 54ch; }

/* ---------- Review cards ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.review-card h3 { font-size: 17px; }
.review-card p { color: var(--secondary); font-size: 14.5px; flex: 1; }
.review-meta { display: flex; gap: 12px; align-items: center; }
.review-meta strong { font-size: 14px; display: block; }
.review-meta span { font-size: 12px; color: var(--muted); }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line); }

/* ---------- Page head / filters ---------- */
.page-head { padding: 54px 0 10px; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 52px); }
.page-head-sub { color: var(--secondary); max-width: 62ch; margin-top: 8px; }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; padding: 22px 0 8px; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-size: 13px; letter-spacing: .06em; transition: .25s; display: inline-flex; gap: 7px; align-items: center;
}
.chip em { font-style: normal; color: var(--muted); font-size: 11.5px; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.chip.active em { color: rgba(255,255,255,.7); }
.product-grid-page { padding-top: 18px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { color: var(--text); }

/* ---------- Product page ---------- */
.product-main { padding-top: 40px; }
.product-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.gallery-stage { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; background: #f3efe9; box-shadow: var(--shadow); }
.gallery-stage img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; margin-top: 12px; }
.gallery-thumb { border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; padding: 0; background: #f3efe9; aspect-ratio: 1/1; transition: border-color .25s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--accent); }
.product-info h1 { font-size: clamp(30px, 3.4vw, 44px); margin: 6px 0 12px; }
.product-rating-line { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 14px; }
.rating-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.product-price-line { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.product-price-line .price-now { font-size: 26px; }
.product-short { color: var(--secondary); margin-bottom: 24px; max-width: 56ch; }
.option-block { margin-bottom: 20px; }
.option-label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; display: flex; justify-content: space-between; }
.size-guide-link { font-size: 12px; color: var(--accent); text-transform: none; letter-spacing: 0; font-weight: 500; }
.option-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  padding: 10px 20px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface);
  font-size: 14px; cursor: pointer; transition: .2s; font-family: var(--body-font);
}
.pill:hover { border-color: var(--text); }
.pill.active { border-color: var(--primary); background: var(--primary); color: #fff; }
.moq-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 22px; }
.moq-block strong { display: block; margin-bottom: 2px; }
.moq-block > span { font-size: 13px; color: var(--muted); }
.tier-table { margin-top: 12px; }
.tier-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tier-table th, .tier-table td { text-align: left; padding: 7px 4px; border-bottom: 1px dashed var(--line); }
.tier-table th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.qty-row { display: flex; gap: 14px; align-items: stretch; margin: 8px 0 20px; }
.qty-stepper { display: flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.qty-stepper button { width: 44px; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--text); }
.qty-stepper input { width: 52px; text-align: center; border: 0; font-size: 15px; font-family: var(--body-font); background: none; }
.btn-add { flex: 1; }
.product-usps { display: flex; flex-direction: column; gap: 9px; border-top: 1px solid var(--line); padding-top: 18px; }
.product-usps span { font-size: 13.5px; color: var(--secondary); display: flex; gap: 9px; align-items: center; }
.product-wholesale-note { margin-top: 16px; background: color-mix(in srgb, var(--accent) 10%, var(--surface)); border: 1px dashed var(--accent); padding: 14px 18px; border-radius: 10px; font-size: 13.5px; color: var(--secondary); }

/* ---------- Details ---------- */
.details-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; margin-top: 10px; }
.details-copy h2 { font-size: 26px; margin: 30px 0 14px; }
.details-copy h2:first-child { margin-top: 0; }
.rich p { color: var(--secondary); margin-bottom: 14px; max-width: 70ch; }
.rich ul { margin: 0 0 16px 20px; color: var(--secondary); }
.rich li { margin-bottom: 6px; }
.rich strong { color: var(--text); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th { text-align: left; color: var(--muted); font-weight: 600; width: 34%; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.sizes-table-wrap { margin-top: 30px; }
.sizes-table th, .sizes-table td { text-align: center; }
.sizes-table th:first-child, .sizes-table td:first-child { text-align: left; }
.details-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 100px; }
.side-block { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.side-block h3 { font-size: 18px; margin-bottom: 8px; }
.side-block p { font-size: 14px; color: var(--secondary); }

/* ---------- Reviews on product page ---------- */
.product-reviews { border-top: 1px solid var(--line); margin-top: 60px; }
.reviews-summary { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; margin-bottom: 40px; }
.reviews-score { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.reviews-score .big { font-family: var(--heading-font); font-size: 64px; line-height: 1; }
.reviews-bars { display: flex; flex-direction: column; gap: 8px; max-width: 420px; }
.review-bar { display: grid; grid-template-columns: 44px 1fr 44px; gap: 12px; align-items: center; font-size: 12.5px; color: var(--muted); }
.rb-track { height: 8px; border-radius: 4px; background: var(--star-empty); overflow: hidden; }
.rb-fill { display: block; height: 100%; background: var(--star); border-radius: 4px; }
.rb-pct { text-align: right; }
.reviews-list { display: flex; flex-direction: column; gap: 26px; max-width: 860px; }
.review-item { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.review-item-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.review-item-head strong { display: block; font-size: 14.5px; }
.review-item-head span { font-size: 12px; }
.review-item h3 { font-size: 16.5px; margin: 8px 0 6px; }
.review-item p { color: var(--secondary); font-size: 14.5px; }

/* ---------- Related ---------- */
.related-products { border-top: 1px solid var(--line); }

/* ---------- Story page ---------- */
.story-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; }
.story-hero-media, .story-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.5)); }
.story-hero-content { position: relative; z-index: 2; color: #fff; padding-bottom: 60px; }
.story-hero h1 { font-size: clamp(38px, 5vw, 64px); max-width: 20ch; }
.story-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 70px 0; }
.story-flip .story-media { order: 2; }
.story-media img { border-radius: var(--radius); box-shadow: var(--shadow-lift); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.story-copy h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 16px; }
.story-copy p { color: var(--secondary); margin-bottom: 14px; max-width: 60ch; }
.story-copy blockquote { border-left: 3px solid var(--accent); padding-left: 20px; margin-top: 22px; font-family: var(--heading-font); font-size: 22px; font-style: italic; color: var(--text); }
.story-copy cite { display: block; font-family: var(--body-font); font-size: 13px; color: var(--muted); margin-top: 8px; font-style: normal; }
.story-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 30px 0 60px; }
.story-value { background: var(--surface); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.story-value-num { font-family: var(--heading-font); font-size: 42px; color: var(--accent); }
.story-value h3 { margin: 8px 0 8px; font-size: 20px; }
.story-value p { font-size: 14px; color: var(--secondary); }
.story-cta { text-align: center; padding-bottom: 90px; }
.story-cta h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 22px; }

/* ---------- Static pages ---------- */
.static-page { padding: 60px 0; max-width: 860px; }
.static-page h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 26px; }
.static-body h2 { font-size: 22px; margin: 26px 0 10px; }
.static-body p, .static-body li { color: var(--secondary); }
.static-body ul { margin: 0 0 14px 22px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-info h3 { font-size: 22px; margin-bottom: 12px; }
.contact-info ul { list-style: none; margin-top: 18px; }
.contact-info li { margin-bottom: 12px; color: var(--secondary); font-size: 14.5px; }
.contact-info a { color: var(--accent); }
.contact-form { display: flex; flex-direction: column; gap: 16px; background: var(--surface); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form label { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; font-weight: 600; }
.contact-form input, .contact-form textarea, .checkout-form input, .checkout-form select, .checkout-form label > input, .checkout-form select {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; font-family: var(--body-font); font-size: 14.5px; background: var(--bg);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Cart & checkout ---------- */
.cart-page, .checkout-page { padding: 54px 0; }
.cart-page h1, .checkout-page h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 30px; }
.cart-empty { text-align: center; padding: 70px 0; }
.cart-empty p { color: var(--muted); margin-bottom: 22px; }
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 44px; align-items: start; }
.cart-lines { display: flex; flex-direction: column; gap: 18px; }
.cart-line { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; background: var(--surface); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); align-items: center; }
.cart-line img { width: 110px; height: 110px; object-fit: cover; border-radius: 10px; }
.cart-line-info { display: flex; flex-direction: column; gap: 5px; font-size: 14.5px; }
.cart-line-info strong { font-size: 16px; }
.cart-line-right { text-align: right; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.cart-remove { font-size: 12.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.cart-remove:hover { color: #b3402e; }
.cart-summary { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: sticky; top: 100px; }
.cart-summary h3 { margin-bottom: 16px; font-size: 21px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14.5px; padding: 8px 0; color: var(--secondary); }
.sum-row strong { color: var(--text); }
.sum-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 16px; }
.sum-total strong { font-size: 20px; }
.cart-summary .btn { margin: 18px 0 10px; }
.checkout-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; }
.checkout-form { display: flex; flex-direction: column; gap: 16px; }
.checkout-form h3 { font-size: 20px; margin-top: 12px; }
.checkout-form label { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; font-weight: 600; }
.checkout-form .form-row label { margin-bottom: 0; }
.checkout-form input:focus, .checkout-form select:focus { outline: 2px solid var(--accent); border-color: transparent; }
.pay-methods { display: flex; flex-direction: column; gap: 10px; }
.pay-method { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; padding: 14px 16px; cursor: pointer; font-weight: 500; }
.pay-method:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 5%, var(--surface)); }
.pay-icons { margin-left: auto; font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.checkout-confirm { padding: 80px 0; }
.confirm-card { max-width: 560px; margin: 0 auto; text-align: center; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 54px 40px; }
.confirm-check { width: 64px; height: 64px; border-radius: 50%; background: #2f7d4f; color: #fff; font-size: 30px; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.confirm-card p { color: var(--secondary); margin: 12px 0 26px; }

/* ---------- 404 ---------- */
.notfound { padding: 90px 0; text-align: center; }
.notfound h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 12px; }
.notfound p { color: var(--muted); margin-bottom: 28px; }
.notfound .btn { margin: 0 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary); color: rgba(255,255,255,.82); margin-top: 40px; }
.footer-newsletter { border-bottom: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); }
.footer-newsletter-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 40px 0; flex-wrap: wrap; }
.footer-newsletter h3 { color: #fff; font-size: 24px; margin-bottom: 4px; }
.footer-newsletter p { font-size: 14px; opacity: .8; }
.newsletter-form { display: flex; gap: 0; min-width: min(440px, 100%); }
.newsletter-form input {
  flex: 1; border: 1.5px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08);
  padding: 14px 18px; color: #fff; font-family: var(--body-font); font-size: 14px; border-radius: 999px 0 0 999px; outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form button {
  border: 0; background: var(--accent); color: #fff; padding: 14px 26px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; font-size: 12.5px; cursor: pointer; border-radius: 0 999px 999px 0;
}
.newsletter-form button:hover { filter: brightness(1.1); }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 52px 0 30px; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; display: inline-block; }
.footer-brand p { font-size: 13.5px; opacity: .75; max-width: 40ch; margin-bottom: 18px; }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; padding: 5px 0; opacity: .8; transition: .2s; }
.footer-col a:hover { opacity: 1; color: var(--accent); }
.footer-pay { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-pay .pay { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); padding: 5px 10px; border-radius: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { display: inline-flex; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; padding: 0; opacity: .85; }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0 26px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12.5px; opacity: .65; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--accent); }

/* ---------- WhatsApp widget ---------- */
.wa-widget { position: fixed; right: 22px; bottom: 22px; z-index: 120; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.wa-fab {
  position: relative; width: 60px; height: 60px; border-radius: 50%; background: var(--wa-green);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(37, 211, 102, .45);
  transition: transform .25s;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 30px; height: 30px; fill: #fff; }
.wa-fab-pulse { position: absolute; inset: 0; border-radius: 50%; background: var(--wa-green); animation: waPulse 2.2s ease-out infinite; z-index: -1; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.65); opacity: 0; } }
.wa-bubble {
  width: 300px; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-lift);
  overflow: hidden; opacity: 0; transform: translateY(14px) scale(.96); pointer-events: none;
  transition: opacity .4s, transform .4s cubic-bezier(.2,.7,.3,1.2);
}
.wa-bubble.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-bubble-close { position: absolute; top: 8px; right: 10px; background: none; border: 0; font-size: 20px; color: rgba(255,255,255,.85); cursor: pointer; z-index: 2; }
.wa-bubble { position: relative; }
.wa-bubble-head { background: var(--wa-green); color: #fff; padding: 16px 18px 14px; display: flex; gap: 12px; align-items: center; }
.wa-agent-avatar { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.wa-agent-avatar svg { width: 26px; height: 26px; }
.wa-bubble-head strong { display: block; font-size: 14.5px; }
.wa-online { font-size: 12px; opacity: .95; display: flex; gap: 6px; align-items: center; }
.wa-online i { width: 8px; height: 8px; border-radius: 50%; background: #d3f9be; display: inline-block; animation: waBlink 1.6s infinite; }
@keyframes waBlink { 50% { opacity: .4; } }
.wa-bubble-msg { padding: 16px 18px; font-size: 13.5px; color: var(--text); background: var(--bg); }
.wa-bubble-cta {
  margin: 0 16px 16px; display: flex; gap: 9px; align-items: center; justify-content: center;
  background: var(--wa-green); color: #fff; border-radius: 999px; padding: 12px; font-weight: 700; font-size: 13.5px;
  letter-spacing: .04em; transition: filter .2s;
}
.wa-bubble-cta:hover { filter: brightness(1.08); }
.wa-bubble-cta svg { width: 18px; height: 18px; fill: #fff; }

/* ---------- AI chat widget ---------- */
.ac-widget { position: fixed; right: 22px; bottom: 22px; z-index: 120; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; font-family: var(--body-font); }
.ac-fab {
  position: relative; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--primary)); color: #fff;
  box-shadow: 0 12px 30px rgba(20, 30, 40, .4); display: flex; align-items: center; justify-content: center;
  transition: transform .25s;
}
.ac-fab:hover { transform: scale(1.07); }
.ac-fab svg { width: 26px; height: 26px; fill: #fff; }
.ac-fab-icon-close { display: none; font-size: 26px; line-height: 1; }
.ac-widget.active .ac-fab-icon-open { display: none; }
.ac-widget.active .ac-fab-icon-close { display: block; }
.ac-fab-badge {
  position: absolute; top: -3px; right: -3px; background: #e5484d; color: #fff; font-size: 11px; font-weight: 700;
  min-width: 20px; height: 20px; border-radius: 10px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg);
}
.ac-window {
  width: 340px; height: 470px; background: var(--surface); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-lift); display: flex; flex-direction: column;
  opacity: 0; transform: translateY(16px) scale(.97); pointer-events: none; transition: opacity .35s, transform .35s cubic-bezier(.2,.7,.3,1.15);
}
.ac-window.open { opacity: 1; transform: none; pointer-events: auto; }
.ac-head { background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 70%, var(--accent))); color: #fff; padding: 15px 16px; display: flex; gap: 12px; align-items: center; }
.ac-agent-avatar { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.ac-agent-avatar svg { width: 25px; height: 25px; }
.ac-head-info strong { display: block; font-size: 14.5px; }
.ac-status { font-size: 12px; opacity: .85; }
.ac-min { margin-left: auto; background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; opacity: .8; }
.ac-body { flex: 1; overflow-y: auto; padding: 16px; background: var(--bg); display: flex; flex-direction: column; gap: 10px; }
.ac-msg { display: flex; }
.ac-msg-bot { justify-content: flex-start; }
.ac-msg-user { justify-content: flex-end; }
.ac-bubble { background: var(--surface); border-radius: 14px 14px 14px 4px; padding: 11px 14px; font-size: 13.5px; box-shadow: var(--shadow); max-width: 78%; }
.ac-msg-user .ac-bubble { background: var(--primary); color: #fff; border-radius: 14px 14px 4px 14px; }
.ac-time { display: block; font-size: 10.5px; opacity: .55; margin-top: 5px; }
.ac-typing { display: flex; gap: 4px; align-items: center; padding: 14px; }
.ac-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: acBounce 1.2s infinite; }
.ac-typing span:nth-child(2) { animation-delay: .15s; }
.ac-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes acBounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.ac-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--surface); }
.ac-input input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: 11px 16px; font-family: var(--body-font); font-size: 13.5px; outline: none; background: var(--bg); }
.ac-input input:focus { border-color: var(--accent); }
.ac-input button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--accent); cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none; }
.ac-input button svg { width: 18px; height: 18px; fill: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .product-layout, .details-grid, .checkout-layout, .cart-layout { grid-template-columns: 1fr; }
  .details-side { position: static; }
  .home-story-inner { grid-template-columns: 1fr; gap: 30px; }
  .main-nav { position: fixed; inset: 0 30% 0 0; background: var(--bg); flex-direction: column; padding: 90px 30px; gap: 8px; transform: translateX(-100%); transition: transform .35s; box-shadow: var(--shadow-lift); z-index: 95; }
  .main-nav.open { transform: none; }
  .main-nav a { font-size: 17px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; z-index: 99; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .logo { justify-self: center; }
}
@media (max-width: 720px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .collection-grid, .review-grid, .story-values, .contact-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; gap: 12px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero { min-height: 68vh; }
  .gallery-thumbs { grid-template-columns: repeat(6, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .reviews-summary { grid-template-columns: 1fr; gap: 20px; }
  .story-section { grid-template-columns: 1fr; gap: 26px; padding: 44px 0; }
  .story-flip .story-media { order: 0; }
  .cart-line { grid-template-columns: 80px 1fr; }
  .cart-line img { width: 80px; height: 80px; }
  .cart-line-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .ac-window { width: min(340px, calc(100vw - 44px)); }
  .wa-bubble { width: min(300px, calc(100vw - 44px)); }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Linear icons & dual-widget layout ---------- */
.ic { flex: none; color: var(--accent); }
.trust-icon .ic { width: 22px; height: 22px; }
body.has-aichat .wa-widget { bottom: 96px; }
@media (max-width: 720px) { body.has-aichat .wa-widget { bottom: 92px; } }

/* ---------- Brand logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo .logo-mark { width: 36px; height: 36px; border-radius: 9px; flex: none; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.logo .logo-word { letter-spacing: .14em; }
.site-footer .logo .logo-mark { width: 40px; height: 40px; }
@media (max-width: 1080px) { .logo .logo-mark { width: 30px; height: 30px; } .logo .logo-word { font-size: 20px; } }
