/* ═══════════════════════════════════════════════════════════
   SANTIAGO — TEMPLATE CSS
   Modern commercial leather-footwear store. Inspired by the
   clean black/white/camel e-commerce aesthetic of santiago.ma.
   Loaded AFTER brand.css → overrides the shared design tokens so
   the markup produced by storefront.js (product cards, etc.) adopts
   the Santiago look without touching the shared JS.
═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* ── Palette override (Santiago) ── */
  --espresso:    #15110d;   /* near-black ink (names, prices, headings) */
  --ink:         #000000;
  --havane:      #9a6a33;   /* bronze */
  --fauve:       #b07a3f;   /* camel accent */
  --fauve-light: #e7d4bd;
  --fauve-pale:  #f3ead5;
  --cream:       #f6f5f3;   /* light section */
  --cream-dark:  #efece7;
  --white:       #ffffff;
  --muted:       #8a8580;
  --line:        #ece9e4;
  --line-strong: #ddd8d0;
  --sale:        #c0392b;
  --gold:        #c79a4b;

  --font-display: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;
  --sant-nav-h:   64px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--espresso);
  background: var(--white);
  letter-spacing: 0;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ─────────────────────────────────────────────
   TOP ANNOUNCEMENT BAR
───────────────────────────────────────────── */
.sant-topbar {
  background: var(--ink); color: #fff;
  font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-align: center; padding: 7px 1rem;
  display: flex; align-items: center; justify-content: center; gap: 2.2rem;
  flex-wrap: wrap;
}
.sant-topbar span { display: inline-flex; align-items: center; gap: 0.4rem; opacity: 0.92; }
.sant-topbar svg { opacity: 0.7; }
@media (max-width: 640px) { .sant-topbar span:not(:first-child) { display: none; } }

/* ─────────────────────────────────────────────
   NAVIGATION (3-column, centered logo)
───────────────────────────────────────────── */
nav.sant-nav {
  position: sticky; top: 0; z-index: 90;
  height: var(--sant-nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 2.2rem;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.sant-nav-left { display: flex; align-items: center; gap: 1.8rem; }
.sant-nav-left a {
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.04em;
  text-decoration: none; color: var(--espresso); position: relative; padding: 4px 0;
  transition: color 0.2s;
}
.sant-nav-left a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--fauve); transition: width 0.25s ease;
}
.sant-nav-left a:hover { color: var(--fauve); }
.sant-nav-left a:hover::after { width: 100%; }

.sant-logo {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.45rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; text-align: center; white-space: nowrap;
}
.sant-logo sup { font-size: 0.6rem; color: var(--fauve); top: -0.7em; }

.sant-nav-right { display: flex; align-items: center; justify-content: flex-end; gap: 1.1rem; }
.sant-icon-btn {
  background: none; border: none; cursor: pointer; color: var(--espresso);
  display: inline-flex; align-items: center; justify-content: center; padding: 4px;
  position: relative; text-decoration: none; transition: color 0.2s;
}
.sant-icon-btn:hover { color: var(--fauve); }
.sant-lang {
  background: none; border: 1px solid var(--line-strong); cursor: pointer;
  font-family: var(--font-body); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.1em; color: var(--espresso); padding: 5px 10px; border-radius: 2px;
  transition: all 0.2s;
}
.sant-lang:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cart-badge {
  position: absolute; top: -6px; right: -8px; min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--fauve); color: #fff; border-radius: 9px;
  font-size: 0.58rem; font-weight: 600; display: flex; align-items: center; justify-content: center;
}
.sant-burger { display: none; }

@media (max-width: 860px) {
  nav.sant-nav { padding: 0 1.1rem; }
  .sant-nav-left a { display: none; }
  .sant-burger { display: inline-flex; }
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.sant-hero {
  position: relative;
  background:
    radial-gradient(140% 120% at 78% 35%, #2a1d10 0%, #15110d 58%, #0a0806 100%);
  overflow: hidden;
}
.sant-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.6s; }
.sant-hero.has-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,8,6,0.72) 0%, rgba(10,8,6,0.35) 55%, rgba(10,8,6,0.15) 100%); z-index: 1; }
.sant-hero.has-image .sant-hero-bg { opacity: 1; }
.sant-hero-inner {
  position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; width: 100%;
  padding: 3.5rem 2.2rem; min-height: 70vh;
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 2.5rem;
}
.sant-hero-visual { display: flex; align-items: center; justify-content: center; position: relative; }
.sant-hero-visual::before {
  content: ''; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(176,122,63,0.22) 0%, rgba(176,122,63,0) 68%);
}
.sant-hero-visual svg { position: relative; width: 100%; max-width: 470px; filter: drop-shadow(0 26px 44px rgba(0,0,0,0.5)); }
.sant-hero.has-image .sant-hero-visual { display: none; }
@media (max-width: 820px) {
  .sant-hero-inner { grid-template-columns: 1fr; min-height: auto; padding: 2.6rem 1.4rem 2.2rem; gap: 1.4rem; text-align: center; }
  .sant-hero-eyebrow { justify-content: center; }
  .sant-hero-actions { justify-content: center; }
  .sant-hero h1, .sant-hero p { margin-left: auto; margin-right: auto; }
  .sant-hero-visual { order: 2; }
  .sant-hero-visual svg { max-width: 300px; }
}
.sant-hero-eyebrow {
  font-size: 0.68rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--fauve-light); margin-bottom: 1.1rem; display: flex; align-items: center; gap: 0.7rem;
}
.sant-hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--fauve); }
.sant-hero h1 {
  font-family: var(--font-display); font-weight: 700; color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.01em;
  max-width: 12ch; margin-bottom: 1.2rem;
}
.sant-hero h1 em { font-style: normal; color: var(--fauve); }
.sant-hero p {
  font-size: 0.95rem; color: rgba(255,255,255,0.78); line-height: 1.7;
  max-width: 42ch; margin-bottom: 2rem;
}
.sant-hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.sant-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; text-decoration: none;
  padding: 14px 30px; border-radius: 2px; transition: all 0.22s; border: 1.5px solid transparent;
}
.sant-btn-primary { background: var(--fauve); color: #fff; }
.sant-btn-primary:hover { background: #fff; color: var(--ink); }
.sant-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.sant-btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ─────────────────────────────────────────────
   CATEGORY TILES
───────────────────────────────────────────── */
.sant-cats { max-width: 1240px; margin: 0 auto; padding: 3.2rem 2.2rem 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.sant-cat {
  position: relative; min-height: 260px; border-radius: 4px; overflow: hidden;
  display: flex; align-items: flex-end; text-decoration: none; cursor: pointer;
  background: linear-gradient(135deg, #1d150c, #322112);
}
.sant-cat:nth-child(2) { background: linear-gradient(135deg, #241a12, #43301c); }
.sant-cat-icon { position: absolute; top: 1.4rem; right: 1.6rem; width: 88px; height: auto; opacity: 0.5; z-index: 1; transition: opacity 0.25s, transform 0.25s; }
.sant-cat:hover .sant-cat-icon { opacity: 0.8; transform: translateY(-3px); }
.sant-cat-body { position: relative; z-index: 2; padding: 1.8rem; color: #fff; }
.sant-cat-body .k { font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--fauve-light); }
.sant-cat-body .t { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; margin: 0.3rem 0 0.6rem; }
.sant-cat-body .l { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 1.5px solid var(--fauve); padding-bottom: 3px; transition: gap 0.2s; }
.sant-cat:hover .l { color: var(--fauve-light); }
@media (max-width: 700px) { .sant-cats { grid-template-columns: 1fr; } }

/* ─────────────────────────────────────────────
   SECTION HEADINGS
───────────────────────────────────────────── */
.sant-section { max-width: 1240px; margin: 0 auto; padding: 3.4rem 2.2rem; }
.sant-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.sant-eyebrow { font-size: 0.64rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--fauve); margin-bottom: 0.5rem; }
.sant-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: var(--ink); letter-spacing: -0.01em; }
.sant-see { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--espresso); text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; transition: gap 0.2s, color 0.2s; }
.sant-see:hover { color: var(--fauve); gap: 0.7rem; }

/* ─────────────────────────────────────────────
   PRODUCTS GRID + CARDS  (markup from storefront.js)
───────────────────────────────────────────── */
#products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
}
@media (max-width: 1080px) { #products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { #products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; } }

.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  cursor: pointer; display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(20,17,13,0.10); border-color: var(--line-strong); }
.product-img {
  position: relative; aspect-ratio: 1 / 1; background: var(--cream);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-img-inner { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.product-badge {
  position: absolute; top: 0.7rem; left: 0.7rem; z-index: 2;
  font-size: 0.56rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 2px; background: var(--ink); color: #fff;
}
.product-badge.badge-new { background: var(--fauve); }
.product-badge.badge-exclu { background: var(--gold); color: #1c1305; }
.product-info { padding: 0.95rem 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.18rem; flex: 1; }
.product-ref { font-size: 0.56rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.product-name { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--ink); line-height: 1.25; }
.product-desc { font-size: 0.72rem; color: var(--muted); line-height: 1.5; margin-top: 0.1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: auto; padding-top: 0.7rem; }
.product-price { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink); }
.btn-add {
  font-family: var(--font-body); font-weight: 600; font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 14px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  border-radius: 2px; cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.btn-add:hover { background: var(--ink); color: #fff; }
@media (max-width: 760px) {
  .product-desc { display: none; }
  .product-info { padding: 0.8rem 0.8rem 0.9rem; }
  /* Stack price over a full-width button so "Commander" never clips on narrow cards */
  .product-footer { flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .btn-add { width: 100%; padding: 9px 8px; text-align: center; justify-content: center; }
}

/* ─────────────────────────────────────────────
   TRUST BAR
───────────────────────────────────────────── */
.sant-trust { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sant-trust-inner { max-width: 1240px; margin: 0 auto; padding: 1.6rem 2.2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.sant-trust-item { display: flex; align-items: center; gap: 0.8rem; }
.sant-trust-item svg { color: var(--fauve); flex-shrink: 0; }
.sant-trust-item .tt { font-size: 0.74rem; font-weight: 600; color: var(--ink); }
.sant-trust-item .ts { font-size: 0.66rem; color: var(--muted); margin-top: 1px; }
@media (max-width: 760px) { .sant-trust-inner { grid-template-columns: 1fr 1fr; gap: 1rem; } }

/* ─────────────────────────────────────────────
   HERITAGE BAND
───────────────────────────────────────────── */
.sant-heritage { background: var(--ink); color: #fff; text-align: center; padding: 4.5rem 2.2rem; }
.sant-heritage .e { font-size: 0.64rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--fauve); margin-bottom: 1.1rem; }
.sant-heritage .q { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 3.4vw, 2.2rem); line-height: 1.4; max-width: 22ch; margin: 0 auto; }
.sant-heritage .q em { font-style: normal; color: var(--fauve); }
.sant-heritage .a { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 1.4rem; }

/* ─────────────────────────────────────────────
   CONTACT
───────────────────────────────────────────── */
.sant-contact { max-width: 640px; margin: 0 auto; padding: 4rem 2.2rem; text-align: center; }
.sant-contact p { font-size: 0.82rem; color: var(--muted); line-height: 1.8; margin: 0.8rem 0 1.6rem; }
.sant-contact-links { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.sant-contact-btn {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 12px 22px;
  border: 1.5px solid var(--ink); border-radius: 2px; text-decoration: none; color: var(--ink);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; transition: all 0.2s;
}
.sant-contact-btn:hover { background: var(--ink); color: #fff; }
.sant-contact-btn.wa { background: #25d366; color: #fff; border-color: #25d366; }
.sant-contact-btn.wa:hover { background: #1da851; border-color: #1da851; }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.sant-footer { background: #0e0b08; color: #cfc9c0; padding: 3.4rem 2.2rem 1.6rem; }
.sant-footer-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; }
.sant-footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.sant-footer-brand sup { font-size: 0.6rem; color: var(--fauve); }
.sant-footer-tag { font-size: 0.74rem; color: #8c857b; line-height: 1.7; margin-top: 0.7rem; max-width: 34ch; }
.sant-footer-col h4 { font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--fauve); margin-bottom: 0.9rem; }
.sant-footer-col a, .sant-footer-col p { display: block; font-size: 0.76rem; color: #b6afa5; text-decoration: none; margin-bottom: 0.5rem; transition: color 0.2s; }
.sant-footer-col a:hover { color: #fff; }
.sant-footer-base {
  max-width: 1240px; margin: 2.4rem auto 0; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.66rem; letter-spacing: 0.08em; color: #6f685f;
}
.sant-pay { display: flex; gap: 0.5rem; align-items: center; }
.sant-pay span { font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 9px; border: 1px solid rgba(255,255,255,0.14); border-radius: 3px; color: #b6afa5; }
@media (max-width: 760px) { .sant-footer-inner { grid-template-columns: 1fr 1fr; } .sant-footer-brand { grid-column: 1 / -1; } }

/* ═══════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
═══════════════════════════════════════════════════════════ */
.sant-pd-breadcrumb { max-width: 1500px; margin: 0 auto; padding: 1.4rem 2.6rem 0; font-size: 0.66rem; letter-spacing: 0.08em; color: var(--muted); }
.sant-pd-breadcrumb a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.sant-pd-breadcrumb a:hover { color: var(--ink); }
.sant-pd-breadcrumb .sep { color: var(--line-strong); margin: 0 0.4rem; }

.sant-pd { max-width: 1500px; margin: 0 auto; padding: 1.6rem 2.6rem 4rem; display: grid; grid-template-columns: 1fr 0.82fr; gap: 3.5rem; align-items: start; }
/* Grid items default to min-width:auto, which lets wide content (e.g. the
   horizontal thumbnail strip) push a column past the viewport and break the
   layout. min-width:0 lets the columns shrink so inner scroll areas scroll. */
.sant-pd > * { min-width: 0; }
@media (max-width: 900px) { .sant-pd { grid-template-columns: 1fr; gap: 1.6rem; } }

/* gallery — Santiago style: vertical thumbnail rail (left) + large portrait main image */
.sant-gallery { position: sticky; top: calc(var(--sant-nav-h) + 12px); display: flex; gap: 0.7rem; align-items: flex-start; }
.sant-thumbs { order: -1; display: flex; flex-direction: column; gap: 0.55rem; width: 74px; flex: 0 0 74px; max-height: 600px; overflow-y: auto; scrollbar-width: none; }
.sant-thumbs::-webkit-scrollbar { width: 0; }
.sant-thumb { width: 74px; height: 74px; border-radius: 3px; overflow: hidden; border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: border-color 0.2s; flex: 0 0 auto; padding: 4px; }
.sant-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sant-thumb.active { border-color: var(--ink); }
.sant-thumb:hover { border-color: var(--fauve); }
.sant-gallery-main { flex: 1; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; padding: 0.8rem; }
.sant-gallery-main img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.sant-gallery-main .ph { width: 76%; }
.sant-gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255,255,255,0.92); color: var(--ink); cursor: pointer; display: none; align-items: center; justify-content: center; font-size: 1.3rem; line-height: 1; z-index: 2; transition: background 0.2s, color 0.2s; }
.sant-gallery-arrow.show { display: flex; }
.sant-gallery-arrow:hover { background: var(--ink); color: #fff; }
.sant-gallery-arrow.prev { left: 12px; }
.sant-gallery-arrow.next { right: 12px; }
.sant-gallery-count { position: absolute; bottom: 12px; right: 14px; z-index: 2; font-size: 0.62rem; letter-spacing: 0.06em; color: var(--ink); background: rgba(255,255,255,0.9); border: 1px solid var(--line); border-radius: 20px; padding: 3px 10px; }

/* Mobile overrides for the gallery live here (their base rules are above). The
   DETAILS mobile overrides are intentionally placed AFTER the details base rules
   further down, so source order lets them win. */
@media (max-width: 900px) {
  .sant-pd { gap: 1.1rem; padding: 1rem 1rem 5.5rem; }
  /* Stack: main image on top, thumbnails as a horizontal swipe strip below */
  .sant-gallery { position: relative; top: 0; flex-direction: column; gap: 0.55rem; }
  .sant-gallery-main { order: -1; flex: 0 0 auto; width: 100%; aspect-ratio: 1 / 1; padding: 0.5rem; }
  .sant-thumbs { order: 2; flex-direction: row; width: 100%; flex: none; max-height: none; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .sant-thumbs::-webkit-scrollbar { height: 0; background: transparent; }
  .sant-thumb { width: 66px; height: 66px; scroll-snap-align: start; }
}

/* details */
.sant-pd-cat { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fauve); margin-bottom: 0.6rem; }
.sant-pd-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--ink); line-height: 1.08; letter-spacing: -0.01em; }
.sant-pd-sub { font-size: 0.85rem; color: var(--muted); line-height: 1.6; margin: 0 0 1.2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.sant-pd-price-row { display: flex; align-items: baseline; gap: 0.9rem; flex-wrap: wrap; margin: 0.6rem 0 0.9rem; }
.sant-pd-price { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; color: var(--ink); }
.sant-pd-old { font-size: 1.05rem; color: var(--muted); text-decoration: line-through; }
.sant-pd-off { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.06em; color: #fff; background: var(--sale); padding: 4px 9px; border-radius: 3px; }
.sant-pd-cod { margin-left: auto; font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--havane); border: 1px solid var(--line-strong); padding: 5px 10px; border-radius: 20px; display: inline-flex; align-items: center; gap: 5px; }

.sant-opt-label { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.5rem; }
.sant-opt-label b { color: var(--ink); font-weight: 600; }
.sant-colors { display: flex; gap: 8px; margin-bottom: 1.4rem; }
.sant-cswatch { width: 30px; height: 30px; border-radius: 50%; cursor: pointer; border: 2px solid #fff; outline: 2px solid transparent; box-shadow: 0 0 0 1px var(--line-strong); transition: outline-color 0.2s, transform 0.15s; }
.sant-cswatch.active, .sant-cswatch:hover { outline-color: var(--fauve); transform: scale(1.1); }
.sant-sizes { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 0.5rem; }
.sz { min-width: 46px; height: 46px; padding: 0 6px; border: 1.5px solid var(--line-strong); background: #fff; font-family: var(--font-body); font-weight: 500; font-size: 0.82rem; color: var(--ink); cursor: pointer; border-radius: 3px; transition: all 0.16s; }
.sz:hover { border-color: var(--ink); }
.sz.sel { background: var(--ink); color: #fff; border-color: var(--ink); }
.sz:disabled { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }
.sant-sz-guide { font-size: 0.62rem; letter-spacing: 0.08em; color: var(--fauve); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; display: inline-block; margin: 0.4rem 0 1.6rem; background: none; border: none; }
.sant-stock-alert { display: none; align-items: center; gap: 0.5rem; font-size: 0.66rem; letter-spacing: 0.06em; color: var(--sale); margin-bottom: 1.2rem; }
.sant-stock-alert.show { display: flex; }
.sant-stock-alert::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--sale); animation: santPulse 1.4s ease-in-out infinite; }
@keyframes santPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.sant-pd-cta { width: 100%; padding: 17px; background: var(--ink); color: #fff; border: none; border-radius: 3px; cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; display: flex; align-items: center; justify-content: center; gap: 0.8rem; transition: background 0.22s; margin-bottom: 1.6rem; }
.sant-pd-cta:hover { background: var(--fauve); }

.sant-reassure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; margin-bottom: 1.8rem; }
.sant-reassure .r { text-align: center; padding: 0.9rem 0.4rem; border: 1px solid var(--line); border-radius: 3px; }
.sant-reassure svg { color: var(--fauve); margin-bottom: 0.3rem; }
.sant-reassure .rt { font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }

.sant-features { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.2rem 0; margin-bottom: 1.6rem; display: flex; flex-direction: column; gap: 0.55rem; }
.sant-feat { display: flex; align-items: center; gap: 0.6rem; font-size: 0.78rem; color: var(--havane); }
.sant-feat::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--fauve); flex-shrink: 0; }
.sant-desc-title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); margin-bottom: 0.6rem; }
.sant-desc-text { font-size: 0.84rem; color: var(--havane); line-height: 1.9; }

/* details — mobile overrides (placed after the base rules so source order wins) */
@media (max-width: 900px) {
  .sant-pd-title { font-size: 1.7rem; }
  .sant-pd-price { font-size: 1.7rem; }
  .sant-pd-price-row { gap: 0.45rem 0.7rem; margin: 0.5rem 0 0.85rem; align-items: center; }
  .sant-pd-cod { margin-left: 0; }              /* flow left under the price, not floating right */
  .sant-reassure { gap: 0.5rem; }
  .sant-reassure .r { padding: 0.7rem 0.3rem; }
}

/* sticky mobile cta */
.sant-sticky { position: fixed; bottom: 0; left: 0; right: 0; z-index: 80; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 0.7rem 1.2rem; display: flex; align-items: center; gap: 1rem; justify-content: center; transition: transform 0.3s; }
.sant-sticky.hidden { transform: translateY(110%); }
.sant-sticky .p { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); white-space: nowrap; }
.sant-sticky .btn { min-width: 220px; padding: 12px 26px; background: var(--ink); color: #fff; border: none; border-radius: 3px; font-weight: 600; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; transition: background 0.2s; }
.sant-sticky .btn:hover { background: var(--fauve); }

/* related */
.sant-related { max-width: 1500px; margin: 0 auto; padding: 0 2.6rem 4rem; }

/* ═══════════════════════════════════════════════════════════
   CHECKOUT PAGE
═══════════════════════════════════════════════════════════ */
.checkout-page { max-width: 1040px; margin: 0 auto; padding: 2.4rem 1.6rem 4rem; }
.checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 1.8rem; margin-top: 1.8rem; }
.checkout-grid > * { min-width: 0; }   /* let grid items shrink below content width (no mobile overflow) */
@media (max-width: 820px) { .checkout-grid { grid-template-columns: 1fr; } }

.co-head .e { font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--fauve); margin-bottom: 0.4rem; }
.co-head h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--ink); }

.co-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 1.5rem 1.6rem; }
.co-card + .co-card { margin-top: 1rem; }
.co-title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); margin-bottom: 1.1rem; display: flex; align-items: center; gap: 0.7rem; }
.co-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.sf-g { display: flex; flex-direction: column; gap: 5px; margin-bottom: 0.8rem; min-width: 0; }
.sf-g label { font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.sf-g input, .sf-g select, .sf-g textarea {
  width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: 3px;
  background: #fff; font-family: var(--font-body); font-size: 0.86rem; color: var(--ink);
  outline: none; transition: border-color 0.18s, box-shadow 0.18s;
}
.sf-g input:focus, .sf-g select:focus, .sf-g textarea:focus { border-color: var(--fauve); box-shadow: 0 0 0 3px rgba(176,122,63,0.12); }
.sf-g select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23b07a3f' stroke-width='1' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 30px; }
.sf-g textarea { resize: vertical; min-height: 70px; }
.sf-g.err input, .sf-g.err select { border-color: var(--sale); }
.sf-g .err-msg { font-size: 0.6rem; color: var(--sale); display: none; }
.sf-g.err .err-msg { display: block; }

.sz-grid { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 0.4rem; }

.cod-notice { display: flex; align-items: flex-start; gap: 0.7rem; padding: 0.9rem 1rem; background: var(--cream); border-left: 3px solid var(--fauve); border-radius: 3px; margin-top: 1rem; }
.cod-txt { font-size: 0.74rem; color: var(--havane); line-height: 1.6; }
.cod-txt strong { color: var(--ink); display: block; margin-bottom: 1px; }

.summary-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 1.6rem; position: sticky; top: calc(var(--sant-nav-h) + 12px); }
.summary-title { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); margin-bottom: 0.4rem; }
.sum-item { display: flex; justify-content: space-between; align-items: flex-start; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.sum-name { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.sum-meta { font-size: 0.64rem; color: var(--muted); margin-top: 2px; }
.sum-price { font-size: 0.86rem; color: var(--havane); white-space: nowrap; }
.sum-empty { font-size: 0.8rem; color: var(--muted); text-align: center; padding: 1.5rem 0; }
.sum-discount { display: none; justify-content: space-between; padding: 0.5rem 0; }
.sum-discount-label { font-size: 0.66rem; color: var(--success); }
.sum-discount-val { font-size: 0.82rem; color: var(--success); }
.sum-total { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; margin-top: 0.4rem; border-top: 1px solid var(--line); }
.sum-total-label { font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.sum-total-val { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--ink); }

.discount-row { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.discount-row input { flex: 1; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 3px; background: #fff; font-family: var(--font-body); font-size: 0.82rem; color: var(--ink); outline: none; }
.discount-row input:focus { border-color: var(--fauve); }
.discount-row button { padding: 10px 16px; background: var(--ink); color: #fff; border: none; border-radius: 3px; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: background 0.2s; }
.discount-row button:hover { background: var(--fauve); }

.btn-submit { width: 100%; padding: 15px; background: var(--ink); color: #fff; border: none; border-radius: 3px; font-family: var(--font-body); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; transition: background 0.22s; margin-top: 1rem; }
.btn-submit:hover { background: var(--fauve); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

#success-view { display: none; flex-direction: column; align-items: center; text-align: center; padding: 4.5rem 2rem; }
#success-view.show { display: flex; }
.success-ring { width: 70px; height: 70px; border-radius: 50%; background: var(--cream); border: 1.5px solid var(--fauve); display: flex; align-items: center; justify-content: center; margin-bottom: 1.4rem; animation: santRingIn 0.5s ease both; }
@keyframes santRingIn { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-check { font-size: 1.9rem; color: var(--fauve); }
.success-title { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; color: var(--ink); margin-bottom: 0.7rem; }
.success-msg { font-size: 0.84rem; color: var(--havane); line-height: 1.8; max-width: 360px; margin-bottom: 1.3rem; }
.success-ref { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.8rem; }
.success-ref b { color: var(--fauve); }
.btn-back { padding: 13px 34px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); border-radius: 3px; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; transition: all 0.2s; }
.btn-back:hover { background: var(--ink); color: #fff; }

.upsell-overlay { display: none; position: fixed; inset: 0; z-index: 300; background: rgba(10,8,6,0.6); backdrop-filter: blur(5px); align-items: center; justify-content: center; padding: 1.5rem; }
.upsell-overlay.active { display: flex; }
.upsell-box { background: #fff; border-radius: 6px; max-width: 460px; width: 100%; padding: 2.4rem; text-align: center; animation: santSlideUp 0.3s ease both; }
@keyframes santSlideUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.upsell-badge { font-size: 0.58rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--fauve); margin-bottom: 0.6rem; }
.upsell-title { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--ink); margin-bottom: 0.4rem; }
.upsell-desc { font-size: 0.8rem; color: var(--havane); line-height: 1.7; margin-bottom: 1.1rem; }
.upsell-prices { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1.4rem; }
.upsell-original { font-size: 0.9rem; color: var(--muted); text-decoration: line-through; }
.upsell-offer { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; color: var(--ink); }
.upsell-msg { font-size: 0.7rem; color: var(--fauve); border-top: 1px solid var(--line); padding-top: 1rem; margin-bottom: 1.3rem; }
.upsell-actions { display: flex; flex-direction: column; gap: 0.7rem; }
.btn-upsell-accept { padding: 13px; background: var(--ink); color: #fff; border: none; border-radius: 3px; font-weight: 600; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; transition: background 0.2s; }
.btn-upsell-accept:hover { background: var(--fauve); }
.btn-upsell-decline { background: none; border: none; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); cursor: pointer; padding: 8px; transition: color 0.2s; }
.btn-upsell-decline:hover { color: var(--ink); }

/* ═══════════════════════════════════════════════════════════
   PRODUCT-PAGE ORDER POPUP (quick COD order modal)
═══════════════════════════════════════════════════════════ */
.sant-om-overlay { position: fixed; inset: 0; z-index: 400; background: rgba(10,8,6,0.6); backdrop-filter: blur(5px); display: none; align-items: flex-end; justify-content: center; }
.sant-om-overlay.active { display: flex; }
.sant-om { background: #fff; width: 100%; max-width: 460px; max-height: 94vh; overflow-y: auto; border-radius: 10px 10px 0 0; animation: santSlideUp 0.3s ease both; }
@media (min-width: 560px) { .sant-om-overlay { align-items: center; padding: 1.2rem; } .sant-om { border-radius: 10px; } }
.sant-om-head { position: sticky; top: 0; background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.3rem; border-bottom: 1px solid var(--line); z-index: 2; }
.sant-om-head h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.sant-om-close { background: none; border: none; font-size: 1.5rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 0 4px; }
.sant-om-close:hover { color: var(--ink); }
.sant-om-body { padding: 1.2rem 1.3rem 1.5rem; }
.sant-om-prod { display: flex; gap: 0.8rem; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.sant-om-prod-img { width: 58px; height: 58px; border-radius: 5px; background: var(--cream); flex: 0 0 auto; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sant-om-prod-img img { width: 100%; height: 100%; object-fit: cover; }
.sant-om-prod-name { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--ink); line-height: 1.2; }
.sant-om-prod-meta { font-size: 0.66rem; color: var(--muted); margin-top: 3px; }
.sant-om-prod-price { margin-left: auto; font-family: var(--font-display); font-weight: 700; color: var(--ink); white-space: nowrap; }
.sant-om-qty { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.sant-om-qty-label { font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.sant-om-stepper { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 5px; overflow: hidden; }
.sant-om-stepper button { width: 36px; height: 36px; background: #fff; border: none; font-size: 1.2rem; color: var(--ink); cursor: pointer; transition: background 0.15s; }
.sant-om-stepper button:hover { background: var(--cream); }
.sant-om-stepper span { min-width: 40px; text-align: center; font-weight: 600; color: var(--ink); }
.sant-om-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.sant-om-summary { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1rem; }
.sant-om-line { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--havane); margin-bottom: 0.45rem; }
.sant-om-line.total { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); border-top: 1px solid var(--line); padding-top: 0.6rem; margin-top: 0.3rem; }
.sant-om-free { color: var(--success); font-weight: 600; }
.sant-om-cod { display: flex; gap: 0.6rem; align-items: flex-start; background: var(--cream); border-left: 3px solid var(--fauve); border-radius: 3px; padding: 0.7rem 0.9rem; margin: 0.9rem 0; font-size: 0.72rem; color: var(--havane); line-height: 1.5; }
.sant-om-submit { width: 100%; padding: 14px; background: var(--ink); color: #fff; border: none; border-radius: 5px; font-family: var(--font-body); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; transition: background 0.2s; }
.sant-om-submit:hover { background: var(--fauve); }
.sant-om-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.sant-om-err { color: var(--sale); font-size: 0.72rem; margin-top: 0.6rem; text-align: center; display: none; }
.sant-om-success { text-align: center; padding: 2.6rem 1.4rem; }
.sant-om-success .ring { width: 64px; height: 64px; border-radius: 50%; background: var(--cream); border: 1.5px solid var(--fauve); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.7rem; color: var(--fauve); }
.sant-om-success h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--ink); margin-bottom: 0.5rem; }
.sant-om-success p { font-size: 0.8rem; color: var(--havane); line-height: 1.7; margin-bottom: 1rem; }
.sant-om-success .ref { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.4rem; }
.sant-om-success .ref b { color: var(--fauve); }

/* ── Static content pages (Contact, Policies) ───────────────────── */
.sant-page-hero { background: #0e0b08; color: #fff; padding: calc(var(--sant-nav-h) + 2.6rem) 2.2rem 2.6rem; text-align: center; }
.sant-page-hero .eyebrow { font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--fauve); margin-bottom: 0.7rem; }
.sant-page-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: 2rem; letter-spacing: 0.02em; }
.sant-page-hero p { color: #b6afa5; margin-top: 0.7rem; font-size: 0.84rem; max-width: 56ch; margin-left: auto; margin-right: auto; line-height: 1.7; }

.sant-doc { max-width: 1080px; margin: 0 auto; padding: 2.6rem 1.6rem 4rem; display: grid; grid-template-columns: 220px 1fr; gap: 2.6rem; align-items: start; }
.sant-doc-nav { position: sticky; top: calc(var(--sant-nav-h) + 16px); display: flex; flex-direction: column; gap: 0.25rem; }
.sant-doc-nav a { font-size: 0.76rem; color: var(--muted); text-decoration: none; padding: 0.45rem 0.7rem; border-left: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.sant-doc-nav a:hover { color: var(--ink); border-left-color: var(--fauve); }
.sant-doc-body section { margin-bottom: 2.6rem; scroll-margin-top: calc(var(--sant-nav-h) + 16px); }
.sant-doc-body h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; margin-bottom: 0.8rem; color: var(--ink); }
.sant-doc-body p, .sant-doc-body li { font-size: 0.84rem; line-height: 1.85; color: #4a443c; }
.sant-doc-body ul { padding-left: 1.2rem; margin: 0.5rem 0 0.8rem; }
.sant-doc-body li { margin-bottom: 0.3rem; }
.sant-doc-body .upd { font-size: 0.7rem; color: var(--muted); font-style: italic; margin-bottom: 1.8rem; }

.sant-contact-grid { max-width: 1000px; margin: 0 auto; padding: 2.6rem 1.6rem 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; }
.sant-contact-card { border: 1px solid var(--line); border-radius: 6px; padding: 1.7rem 1.4rem; text-align: center; background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.sant-contact-card:hover { border-color: var(--fauve); box-shadow: 0 6px 22px rgba(0,0,0,0.05); }
.sant-contact-card .ic { color: var(--fauve); margin-bottom: 0.8rem; display: flex; justify-content: center; }
.sant-contact-card h3 { font-size: 0.95rem; margin-bottom: 0.4rem; color: var(--ink); font-family: var(--font-display); }
.sant-contact-card a, .sant-contact-card p { font-size: 0.82rem; color: #4a443c; text-decoration: none; line-height: 1.6; display: block; }
.sant-contact-card a:hover { color: var(--fauve); }
.sant-contact-cta { max-width: 1000px; margin: 1.4rem auto 4rem; padding: 0 1.6rem; text-align: center; }

@media (max-width: 760px) {
  .sant-doc { grid-template-columns: 1fr; gap: 1.4rem; }
  .sant-doc-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 0.4rem; border-bottom: 1px solid var(--line); padding-bottom: 0.8rem; }
  .sant-doc-nav a { border-left: none; border: 1px solid var(--line); border-radius: 20px; }
  .sant-page-hero h1 { font-size: 1.6rem; }
}

/* footer inline link rows (product / checkout pages) */
.sant-footer-links a { color: #b6afa5; text-decoration: none; font-size: 0.74rem; transition: color 0.2s; }
.sant-footer-links a:hover { color: #fff; }
