/* ============================================================================
   E SOLES — GLOBAL DESIGN SYSTEM · BRIGHT MODERN MINIMAL
   Crisp warm-white canvas, near-black editorial ink, one bronze accent.
   Token-driven: every page inherits the look through CSS variables.

   Covers: tokens, reset, layout, buttons, badges, prices, forms, breadcrumbs,
   page hero, prose (policies), announcement bar, header, mobile menu, footer,
   floating WhatsApp button, product card, quantity stepper, motion layers.
   ========================================================================== */

:root {
  /* Surfaces */
  --charcoal: #16130e;
  --charcoal-soft: #211c15;
  --espresso: #2b251c;
  --ink: #19150f;
  --text: #554d41;
  --text-muted: #968b7c;
  --cream: #faf9f6;
  --cream-soft: #f3f0ea;
  --white: #ffffff;
  --line: #e8e2d8;

  /* Accents */
  --gold: #a97b32;
  --gold-light: #c89a54;
  --pop: #c75b39;
  --success: #3f6b3f;

  /* Type */
  --font-serif: 'Fraunces', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 5rem;
  --space-10: 6rem;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(22, 19, 14, 0.05);
  --shadow-md: 0 10px 30px rgba(22, 19, 14, 0.08);
  --shadow-lg: 0 24px 60px rgba(22, 19, 14, 0.14);

  /* Shape */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 220ms var(--ease);

  --announce-h: 38px;
  --header-h: 72px;
}

@media (max-width: 640px) {
  :root {
    --gutter: clamp(0.85rem, 4vw, 1.25rem);
    --space-6: 1.5rem;
    --space-7: 2rem;
    --space-8: 2.5rem;
    --space-9: 3rem;
    --space-10: 3.5rem;
    --announce-h: 32px;
    --header-h: 64px;
  }
}

/* ============================= Reset ===================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--gold) var(--cream-soft);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--gold-light);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(-160%);
  background: var(--charcoal);
  color: var(--cream);
  padding: 0.6rem 1rem;
  z-index: 999;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* ===================== Promo popup (injected by ui.js) ==================== */
.promo-pop {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(22, 19, 14, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.promo-pop__panel {
  position: relative;
  max-width: 360px;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  text-align: center;
  animation: popIn 0.45s var(--ease) both;
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.promo-pop__close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}

.promo-pop__close:hover { background: var(--cream-soft); color: var(--ink); }

.promo-pop__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(169, 123, 50, 0.1);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.8rem;
  margin-bottom: var(--space-3);
}

.promo-pop__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--ink);
}

.promo-pop__price { margin-top: var(--space-2); color: var(--ink); }
.promo-pop__price s { color: var(--text-muted); }
.promo-pop__price strong { color: var(--gold); font-size: 1.25rem; }
.promo-pop__save { margin: 0.4rem 0 var(--space-4); font-size: 0.85rem; color: var(--text-muted); }
.promo-pop__text { margin: 0.5rem 0 var(--space-3); font-size: 0.9rem; line-height: 1.55; color: var(--text-muted); }

.promo-pop__pay {
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.6rem 0.9rem;
  margin: 0 0 var(--space-4);
  text-align: left;
}

.promo-pop__pay-row { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; padding: 0.35rem 0; }
.promo-pop__pay-row + .promo-pop__pay-row { border-top: 1px dashed var(--line); }
.promo-pop__pay-row span { color: var(--text-muted); min-width: 96px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.07em; }
.promo-pop__pay-row code { font-family: Consolas, 'Courier New', monospace; font-size: 0.82rem; color: var(--ink); word-break: break-all; flex: 1; }

.promo-pop__copy {
  flex: none;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gold);
  background: none;
  border: 1px solid var(--gold);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.7rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.promo-pop__copy:hover { background: var(--gold); color: var(--white); }
.promo-pop__copy.is-done { color: var(--success); border-color: var(--success); background: transparent; }
.promo-pop__panel .btn + .btn { margin-top: var(--space-2); }

/* ============================= Layout ==================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding: var(--space-8) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-10) 0;
  }
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-7);
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: var(--space-3);
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--gold-light);
  vertical-align: middle;
  margin: 0 0.6rem;
}

.section-eyebrow .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.01em;
}

.section-subtitle {
  margin-top: var(--space-3);
  color: var(--text-muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============================= Buttons =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition),
    box-shadow var(--transition);
  line-height: 1.2;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 55%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  transition: left 0.6s var(--ease), opacity 0.3s;
  pointer-events: none;
}

.btn:hover::before { left: 130%; opacity: 1; }

.btn-primary {
  background: var(--charcoal);
  color: var(--cream);
}
.btn-primary:hover { background: var(--espresso); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(169, 123, 50, 0.28);
}
.btn-gold:hover { background: var(--gold-light); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.btn-outline-light:hover { background: var(--white); color: var(--charcoal); }

.btn-light {
  background: var(--cream);
  color: var(--charcoal);
}
.btn-light:hover { background: var(--white); }

.btn-whatsapp {
  background: #1f8f4a;
  color: var(--white);
}
.btn-whatsapp:hover { background: #177a3e; }

.btn-block { width: 100%; }
.btn-sm { padding: 0.6rem 1.3rem; font-size: 0.74rem; }

.btn[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

/* ============================= Badges ==================================== */
.badge {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
}
.badge-sale { background: var(--pop); color: var(--white); }
.badge-limited { background: var(--charcoal); color: var(--gold-light); }
.badge-elite { background: var(--gold); color: var(--ink); }

/* ============================= Prices ==================================== */
.price { font-weight: 600; color: var(--ink); font-size: 1rem; }
.price-sale { color: var(--pop); }
.price-old { color: var(--text-muted); text-decoration: line-through; font-weight: 400; }

/* ============================= Forms ===================================== */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: var(--space-4);
}

.field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(169, 123, 50, 0.14);
}

.field textarea { min-height: 120px; resize: vertical; }

.field__error {
  font-size: 0.78rem;
  color: var(--pop);
}

.check-field {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text);
}

.check-field input[type='checkbox'] {
  margin-top: 0.2rem;
  accent-color: var(--gold);
  width: 1rem;
  height: 1rem;
}

.field-row {
  display: grid;
  gap: 0 var(--space-4);
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}

/* ============================= Breadcrumbs =============================== */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.breadcrumbs a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .separator { opacity: 0.5; }
.breadcrumbs .current { color: var(--ink); }

/* ============================= Page hero ================================= */
.page-hero {
  background: linear-gradient(180deg, var(--cream-soft), var(--cream));
  color: var(--ink);
  padding: var(--space-8) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  letter-spacing: -0.01em;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 560px;
  margin: var(--space-3) auto 0;
}

.page-hero .gold-rule {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: var(--space-4) auto 0;
  border-radius: var(--radius-pill);
}

/* ============================= Prose (policies) ========================== */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin: var(--space-7) 0 var(--space-3); }
.prose h3 { font-size: 1.1rem; margin: var(--space-5) 0 var(--space-2); font-family: var(--font-sans); }
.prose p { margin-bottom: var(--space-4); }
.prose ul { list-style: disc; padding-left: 1.4rem; margin-bottom: var(--space-4); }
.prose ol { list-style: decimal; padding-left: 1.4rem; margin-bottom: var(--space-4); }
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: var(--ink); }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

.prose .note-box {
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-sm);
  margin: var(--space-5) 0;
}

.prose .policy-updated {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 var(--space-5);
}

/* ============================= Announcement bar ========================== */
.announce {
  background: var(--charcoal);
  text-align: center;
  overflow: hidden;
}

.announce__track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.announce:hover .announce__track { animation-play-state: paused; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.announce__text {
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.65rem var(--gutter);
  white-space: nowrap;
}

.announce__text:not(:last-child)::after {
  content: '\00b7';
  margin-left: 2rem;
}

/* ============================= Header ==================================== */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hdr--scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 14px rgba(22, 19, 14, 0.05);
}

.hdr__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.hdr__nav { display: none; gap: var(--space-6); }
@media (min-width: 860px) { .hdr__nav { display: flex; } }

.hdr__link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  transition: color var(--transition);
  position: relative;
}

.hdr__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width var(--transition);
}

.hdr__link:hover,
.hdr__link--active { color: var(--ink); }
.hdr__link--active::after { width: 100%; }

.hdr__actions { display: flex; align-items: center; gap: 0.4rem; }

.hdr__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transition: background var(--transition);
  position: relative;
  color: var(--ink);
}

.hdr__icon-btn:hover { background: rgba(22, 19, 14, 0.06); }

.hdr__menu-btn { display: inline-flex; }
@media (min-width: 860px) { .hdr__menu-btn { display: none; } }

.hdr__cart-count {
  position: absolute;
  top: 3px;
  right: 1px;
  width: 17px;
  height: 17px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 1;
}

.hdr__cart-count--hidden { display: none; }

/* ============================= Logo ====================================== */
.logo__img {
  height: 46px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

@media (max-width: 480px) {
  .logo__img { height: 40px; max-width: 160px; }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}

.logo__mark {
  font-weight: 700;
  color: var(--ink);
  font-size: 1.6rem;
}

.logo__mark-accent { color: var(--gold); }

.logo__text {
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.24em;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.logo--light .logo__mark,
.logo--light .logo__text { color: var(--cream); }
.logo--light .logo__mark-accent { color: var(--gold-light); }
.logo--light .logo__img { border-radius: 8px; }

/* Rotating gold spark orbiting the logo mark (idea from the reference). */
.logo__spark {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  display: inline-block;
  animation: sparkSpin 6s linear infinite;
}

.logo__spark::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(169, 123, 50, 0.6);
}

.logo__spark i {
  position: absolute;
  top: -2px;
  left: 50%;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(169, 123, 50, 0.8);
}

.logo--light .logo__spark::before { border-color: rgba(200, 154, 84, 0.7); }
.logo--light .logo__spark i { background: var(--gold-light); box-shadow: 0 0 8px rgba(200, 154, 84, 0.8); }

@keyframes sparkSpin {
  to { transform: rotate(360deg); }
}

/* ============================= Mobile menu =============================== */
.mob-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}

.mob-menu--open { pointer-events: auto; visibility: visible; }

/* Lock body scroll while the menu is open so the page behind does not move. */
body.mob-menu-lock { overflow: hidden; }

.mob-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 19, 14, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mob-menu--open .mob-menu__backdrop { opacity: 1; }

.mob-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(85vw, 340px);
  height: 100%;
  background: var(--cream);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
}

.mob-menu--open .mob-menu__panel { transform: translateX(0); }

.mob-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem var(--gutter);
  border-bottom: 1px solid var(--line);
}

.mob-menu__close {
  color: var(--ink);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
}

.mob-menu__close:hover { background: rgba(22, 19, 14, 0.06); }

.mob-menu__nav { display: flex; flex-direction: column; padding: var(--space-5) 0; }

.mob-menu__link {
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.95rem var(--gutter);
  transition: color var(--transition), background var(--transition);
  border-left: 2px solid transparent;
}

.mob-menu__link:hover,
.mob-menu__link--active {
  color: var(--ink);
  background: var(--cream-soft);
  border-left-color: var(--gold);
}

/* ---- Phone ergonomics ---------------------------------------------------
   The audience is overwhelmingly on phones, so the shared shell gets
   thumb-friendly targets: taller tappable rows and roomier tap buttons.
   Page-level layout (hero stacking, CTAs, filters) lives in each page's CSS. */
@media (max-width: 640px) {
  .mob-menu__link {
    padding: 1.15rem var(--gutter);
    font-size: 1.02rem;
  }

  .hdr__icon-btn {
    width: 44px;
    height: 44px;
  }

  .btn {
    padding: 1.05rem 1.5rem;
  }
}

/* ============================= Footer ==================================== */
.footer {
  background: var(--charcoal);
  color: var(--cream);
  border-top: 1px solid rgba(169, 123, 50, 0.5);
}

.footer__main {
  display: grid;
  gap: var(--space-7);
  padding: var(--space-8) var(--gutter);
}

@media (min-width: 768px) {
  .footer__main {
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    padding-top: var(--space-9);
    padding-bottom: var(--space-9);
  }
}

.footer__brand .logo {
  pointer-events: none;
  margin-bottom: var(--space-3);
}

.footer__tagline {
  font-size: 0.88rem;
  color: rgba(250, 249, 246, 0.55);
}

.footer__heading {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-4);
}

.footer__col ul { display: flex; flex-direction: column; gap: 0.55rem; }

.footer__link {
  font-size: 0.88rem;
  color: rgba(250, 249, 246, 0.62);
  transition: color var(--transition);
}

.footer__link:hover { color: var(--cream); }

.footer__address {
  font-style: normal;
  font-size: 0.88rem;
  color: rgba(250, 249, 246, 0.62);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.footer__address a { color: rgba(250, 249, 246, 0.62); transition: color var(--transition); }
.footer__address a:hover { color: var(--cream); }

.footer__social { display: flex; gap: 0.6rem; }

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(250, 249, 246, 0.16);
  color: rgba(250, 249, 246, 0.72);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.footer__social-link:hover {
  color: var(--white);
  border-color: var(--gold);
  background: rgba(169, 123, 50, 0.14);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__bottom-inner {
  padding: var(--space-4) var(--gutter);
  font-size: 0.8rem;
  color: rgba(250, 249, 246, 0.42);
  text-align: center;
}

/* ============================= Floating WhatsApp ========================= */
.float-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #1f8f4a;
  color: var(--white);
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  font-size: 0.8rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.float-wa:hover { background: #177a3e; transform: translateY(-2px); }

.float-wa__label { display: none; }
@media (min-width: 600px) { .float-wa__label { display: inline; } }

/* ============================= Product card ============================== */
.pcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.45s var(--ease), transform 0.45s var(--ease),
    border-color 0.45s var(--ease);
}

.pcard:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: rgba(169, 123, 50, 0.35);
}

.pcard__img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--cream-soft);
  overflow: hidden;
}

.pcard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.pcard__img-wrap:hover .pcard__img--front { transform: scale(1.05); }

/* Flip card: reveal a 2nd (model-wearing) image by flipping on hover/focus.
   A card only gets .pcard--flip when product.images[1] exists. */
.pcard--flip .pcard__img-wrap { perspective: 1200px; }
.pcard--flip .pcard__flip {
  position: relative;
  display: block;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s var(--ease);
}
.pcard--flip .pcard__img--front { display: block; width: 100%; height: 100%; backface-visibility: hidden; }
.pcard--flip .pcard__img--back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: rotateY(180deg);
  backface-visibility: hidden;
}
.pcard--flip .pcard__img-wrap:hover .pcard__flip,
.pcard--flip .pcard__img-wrap:focus-visible .pcard__flip,
.pcard--flip .pcard__img-wrap:focus-within .pcard__flip { transform: rotateY(180deg); }

.pcard__badge { position: absolute; top: var(--space-3); left: var(--space-3); z-index: 1; }
.pcard__badge--limited { display: none; }
@media (min-width: 900px) { .pcard__badge--limited { display: inline-block; } }

.pcard__body {
  padding: var(--space-4) var(--space-5) var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.4rem;
}

.pcard__category {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.pcard__title { font-size: 1.05rem; line-height: 1.3; }
.pcard__title a { color: var(--ink); transition: color var(--transition); }
.pcard__title a:hover { color: var(--gold); }

.pcard__desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

.pcard__pay {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.section.elite {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--cream-soft), var(--white));
}

.pcard__prices {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.pcard__sole-note {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--pop);
  background: rgba(199, 91, 57, 0.08);
  border-radius: var(--radius-pill);
  padding: 0.18rem 0.55rem;
}

.pcard__footer {
  margin-top: auto;
  padding-top: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.pcard__actions { display: flex; align-items: center; gap: 0.5rem; }

.pcard__add {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--cream-soft);
  border: 1px solid var(--line);
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-pill);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.pcard__add:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--cream); }

.pcard__view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.pcard__view:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

@media (max-width: 480px) {
  .pcard__footer { flex-direction: column; align-items: stretch; }
  .pcard__actions { justify-content: flex-start; }
}

/* ============================= Quantity stepper ========================== */
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  overflow: hidden;
}

.qty__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 44px;
  color: var(--ink);
  transition: background var(--transition);
}

.qty__btn:hover { background: var(--cream-soft); }

.qty__input {
  width: 44px;
  border: none;
  text-align: center;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  -moz-appearance: textfield;
}

.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__input:focus { outline: none; }

/* ============================= Empty / 404 states ======================== */
.empty-state {
  text-align: center;
  padding: var(--space-8) 0;
}

.empty-state h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: var(--space-3); }
.empty-state p { color: var(--text-muted); margin-bottom: var(--space-5); }

.p404 { padding: var(--space-8) var(--gutter); text-align: center; }
.p404__inner { max-width: 560px; margin: 0 auto; }
.p404__code {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
  opacity: 0.85;
  margin-bottom: var(--space-4);
}
.p404 h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); margin-bottom: var(--space-3); }
.p404__text { color: var(--text-muted); margin-bottom: var(--space-6); }
.p404__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; }

/* ============================= Icons ===================================== */
.ic {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.ic--fill { fill: currentColor; stroke: none; }

/* ============================= Utility =================================== */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-4); }
.mb-2 { margin-bottom: var(--space-6); }
.mt-2 { margin-top: var(--space-6); }
.no-scroll { overflow: hidden; }

/* ============================= Reveal on scroll ========================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px) scale(0.992);
  filter: blur(6px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease),
    filter 0.85s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform, filter;
}

[data-reveal].reveal--in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Stagger product grids a little for a playful cascade. */
.shop-grid [data-reveal]:nth-child(6n+1) { --d: 0ms; }
.shop-grid [data-reveal]:nth-child(6n+2) { --d: 50ms; }
.shop-grid [data-reveal]:nth-child(6n+3) { --d: 100ms; }
.shop-grid [data-reveal]:nth-child(6n+4) { --d: 150ms; }
.shop-grid [data-reveal]:nth-child(6n+5) { --d: 200ms; }
.shop-grid [data-reveal]:nth-child(6n+6) { --d: 250ms; }
.home-collection .cat-grid [data-reveal]:nth-child(2n+2) { --d: 80ms; }

/* Editorial letter-spacing headline reveal. */
@keyframes lsIn {
  from { letter-spacing: 0.28em; opacity: 0; }
  to { letter-spacing: 0.012em; opacity: 1; }
}
.anim-ls { animation: lsIn 1.1s var(--ease) both; }

/* ============================= Final CTA ================================= */
.final-cta {
  position: relative;
  background: var(--charcoal);
  color: var(--cream);
  text-align: center;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(200, 154, 84, 0.22) 1.5px, transparent 1.5px),
    radial-gradient(rgba(200, 154, 84, 0.14) 1px, transparent 1px);
  background-size: 34px 34px, 22px 22px;
  background-position: 0 0, 12px 14px;
  opacity: 0.4;
}

.final-cta__inner {
  position: relative;
  padding: var(--space-10) 0;
  max-width: 680px;
  margin: 0 auto;
}

.final-cta__title {
  color: var(--cream);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: var(--space-4);
}

.final-cta__text {
  color: rgba(250, 249, 246, 0.7);
  font-weight: 300;
  margin-bottom: var(--space-7);
}

/* ============================= Ambient motion layers ===================== */
.cg {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 4;
  width: 380px;
  height: 380px;
  margin: 0;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(200, 154, 84, 0.12), rgba(200, 154, 84, 0.04) 42%, transparent 72%);
  will-change: transform;
}

.dust {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.dust__pt {
  position: absolute;
  bottom: -8vh;
  display: block;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 154, 84, 0.7), rgba(200, 154, 84, 0) 72%);
  opacity: 0;
  animation: dustFloat var(--dur, 16s) linear infinite;
  will-change: transform, opacity;
}

.dust__pt--thread {
  border-radius: 1px;
  background: linear-gradient(rgba(200, 154, 84, 0.55), rgba(200, 154, 84, 0));
  transform: rotate(24deg);
}

@keyframes dustFloat {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
  8%   { opacity: var(--o, 0.5); }
  55%  { opacity: calc(var(--o, 0.5) * 0.9); }
  100% { transform: translate3d(var(--sway, 0), -118vh, 0) rotate(200deg); opacity: 0; }
}

/* Footprint scroll trail (decoration; hooks created by ui.js). */
.fp-bar {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

.fp-mark {
  position: absolute;
  right: 14px;
  width: 26px;
  height: 26px;
  opacity: 0;
  transform: translateY(14px) rotate(var(--rot, 0deg)) scaleY(-1);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
  background: url('../../images/footprint.png') no-repeat center / contain;
}

.fp-mark--right { transform: translateY(14px) rotate(var(--rot, 0deg)) scaleX(-1) scaleY(-1); }
.fp-mark--on { opacity: 0.72; transform: translateY(0) rotate(var(--rot, 0deg)); }
.fp-mark--fade { opacity: 0; }

/* ============================= Phone performance ==========================
   Cursor-following and particle effects are desktop flourishes with no
   meaning on a touch screen, so phones skip them. The footprint scroll trail
   is KEPT on phones — it doubles as a scroll-progress indicator, which is
   more useful on a small screen than on desktop. Its size and offset are
   set inline by ui.js so the trail clears the floating WhatsApp button. */
@media (max-width: 860px) {
  .cg { display: none !important; }
  .dust { display: none !important; }
  .hero__cue { display: none; }
}

/* ============================= Footnotes ============================== */
/* Guard against sideways scrolling on phones. Decorative images (the hero
   shoe, the Chelsea photo, the tilted feature card) are intentionally wider
   than the screen, so one stray element must never make the whole page swipe
   left and right. `overflow-x: clip` clips without becoming a scroll
   container, so the sticky header keeps working. */
@supports (overflow: clip) {
  html, body {
    overflow-x: clip;
  }
}
@supports not (overflow: clip) {
  html, body {
    overflow-x: hidden;
  }
}

/* ============================= Reduced motion ============================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal]:not(.reveal--in) {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .announce__track, .announce__text, .dust__pt, .cg { animation: none !important; }
  .logo__spark, .logo__spark i { animation: none !important; }
  .pcard--flip .pcard__flip { transform: none !important; transition: none; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}