/* ============================================================
   ÉLÉGANCE FEMME — Complete Redesign v2
   Premium furniture e-commerce aesthetic
   ============================================================ */
:root {
  --navy: #0a0a0a;
  --ink: #1a1a1a;
  --gray-900: #212121;
  --gray-700: #555555;
  --gray-500: #888888;
  --gray-400: #aaaaaa;
  --gray-300: #cccccc;
  --gray-200: #e5e5e5;
  --gray-100: #f5f5f5;
  --white: #ffffff;
  --cream: #faf9f7;
  --gold: #b8860b;
  --gold-light: #d4a843;
  --gold-bg: rgba(184, 134, 11, 0.08);
  --danger: #c0392b;
  --success: #27ae60;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-h: 64px;
  --max-w: 1400px;
}

html { scroll-behavior: smooth; }

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }
/* author display rules (e.g. .row{display:flex}) beat the UA [hidden] style,
   which once rendered a phantom empty totals row — hidden always wins here */
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }

/* ============================================================
   PAGE LOADER
   ============================================================ */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 20px;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  letter-spacing: 2px;
}
.loader-logo em { color: var(--gold); font-style: normal; }
.loader-bar {
  width: 80px; height: 1px;
  background: var(--gray-200);
  overflow: hidden;
}
.loader-bar::after {
  content: '';
  display: block;
  width: 40%; height: 100%;
  background: var(--navy);
  animation: loaderSlide 1s ease-in-out infinite;
}
@keyframes loaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ============================================================
   TOP ANNOUNCEMENT BAR
   ============================================================ */
.topbar {
  background: var(--navy);
  color: var(--gray-300);
  font-size: 0.7rem;
  text-align: center;
  padding: 6px 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============================================================
   HEADER
   ============================================================ */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
header.site.scrolled {
  border-bottom-color: transparent;
  box-shadow: 0 1px 0 var(--gray-200), 0 4px 20px rgba(0,0,0,0.06);
}

.site-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
}
.header-left {
  display: flex; align-items: center; gap: 12px;
  justify-self: start;
}
.header-right {
  display: flex; align-items: center; gap: 4px;
  justify-self: end;
}

/* Left: hamburger (mobile) + nav */
.header-left { display: flex; align-items: center; gap: 32px; }
.hamburger {
  display: none; width: 24px; height: 20px; flex-direction: column;
  justify-content: space-between; cursor: pointer; padding: 0;
}
.hamburger span {
  display: block; width: 100%; height: 1.5px; background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

nav.main-nav { display: flex; gap: 28px; }
nav.main-nav a {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 1px;
  text-transform: uppercase; color: var(--gray-700);
  position: relative; padding: 4px 0;
  transition: color 0.2s;
}
nav.main-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--ink);
  transition: width 0.3s var(--ease);
}
nav.main-nav a:hover { color: var(--ink); }
nav.main-nav a:hover::after { width: 100%; }

/* Center: brand */
.brand-center {
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 10px;
  white-space: nowrap;
  justify-self: center;
}
.brand-center img { flex-shrink: 0; height: 36px; width: auto; object-fit: contain; }
.brand .logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: 1px;
  white-space: nowrap;
}
.brand .logo em { color: var(--gold); font-style: normal; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: 1px;
  white-space: nowrap;
  font-weight: 500;
}

/* Language toggle button + dropdown */
.lang-btn-wrap { position: relative; }
.lang-toggle {
  font-size: 0.7rem !important; font-weight: 700 !important;
  letter-spacing: 0.5px;
}
.lang-dropdown {
  display: none; position: absolute; top: 100%; right: 0; z-index: 20;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 130px; padding: 6px 0;
  margin-top: 4px;
}
.lang-dropdown.open { display: block; }
.lang-dropdown button {
  display: block; width: 100%; text-align: left;
  padding: 8px 16px; font-size: 0.82rem;
  color: var(--ink); background: none; border: none;
  transition: background 0.15s;
}
.lang-dropdown button:hover { background: var(--gray-100); }
.lang-dropdown button.active { font-weight: 600; color: var(--gold); }
/* Mobile: lang inside hamburger menu */
.nav-lang {
  display: none;
  align-items: center; gap: 6px;
  padding: 12px 0 0;
  border-top: 1px solid var(--gray-200);
  margin-top: 8px;
}
.nav-lang button {
  font-size: 0.75rem; padding: 4px 10px; border-radius: 4px;
  background: transparent; color: var(--gray-500); border: 1px solid var(--gray-300);
  font-weight: 600; line-height: 1;
}
.nav-lang button.active { background: var(--navy); color: #fff; }
@media (max-width: 768px) {
  .lang-btn-wrap { display: none; }
  .nav-lang { display: flex; }
}

/* Right: icons */
.header-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
  color: var(--ink);
}
.header-icon:hover { background: var(--gray-100); }
.header-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }

.lang-switch {
  display: flex; margin-right: 4px;
}
.lang-switch button {
  font-size: 0.68rem; font-weight: 500;
  padding: 4px 8px; color: var(--gray-400);
  transition: color 0.2s;
}
.lang-switch button.active { color: var(--ink); }
.lang-switch button:hover { color: var(--ink); }

.cart-btn {
  position: relative; padding: 4px;
}
.cart-count {
  position: absolute; top: 2px; right: 2px;
  background: var(--gold); color: var(--white);
  font-size: 0.55rem; font-weight: 700;
  width: 15px; height: 15px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease-spring);
}
.cart-count.bump { animation: cartBump 0.4s var(--ease-spring); }
@keyframes cartBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cream);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 20%;
  opacity: 0;
  transition: opacity 1.5s var(--ease);
}
.hero-bg.loaded { opacity: 1; }
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 560px;
  padding: 80px clamp(24px, 6vw, 80px);
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero p {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 420px;
}
.hero .btn-primary { font-size: 0.82rem; letter-spacing: 1.5px; text-transform: uppercase; padding: 16px 40px; }
.hero .cod-badge {
  display: inline-block; margin-top: 20px;
  font-size: 0.68rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gray-500); font-weight: 500;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: fadeInUp 0.8s var(--ease-out) 1s both;
}
.scroll-hint .scroll-line {
  width: 1px; height: 36px; background: var(--gray-300);
  position: relative; overflow: hidden;
}
.scroll-hint .scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0;
  width: 100%; height: 50%; background: var(--ink);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -50%; }
  100% { top: 150%; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--white); border: none;
  border-radius: 999px; padding: 14px 32px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.5px;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease-spring), box-shadow 0.2s;
  position: relative; overflow: hidden;
}
.btn-primary:hover {
  background: var(--gray-900);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary .ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transform: scale(0); animation: ripple 0.5s ease-out; pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--ink); border: 1px solid var(--ink);
  border-radius: 999px; padding: 13px 30px;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover { background: var(--ink); color: var(--white); }

.btn-text {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; color: var(--ink);
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.3px;
  padding: 8px 0; position: relative;
}
.btn-text::after {
  content: ''; position: absolute; bottom: 4px; left: 0;
  width: 100%; height: 1px; background: var(--gray-400);
  transition: background 0.2s;
}
.btn-text:hover::after { background: var(--ink); }

/* ============================================================
   SCROLL REVEALS
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.4s; }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }

/* ============================================================
   SECTIONS
   ============================================================ */
section.block { padding: 72px 0 40px; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.3px;
}
.section-subtitle {
  color: var(--gray-500);
  font-size: 0.85rem;
  margin-top: 8px;
  font-family: var(--font-body);
}

/* Category chips — horizontal scroll, clean */
.chip-row {
  display: flex; gap: 8px; margin-bottom: 32px;
  overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.3px;
  color: var(--gray-500);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all 0.2s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.chip:hover { border-color: var(--gray-400); color: var(--ink); }
.chip.active {
  background: var(--ink); color: var(--white);
  border-color: var(--ink);
}

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px 24px;
}

/* Skeletons */
.sk-card { overflow: hidden; }
.sk {
  background: linear-gradient(90deg, var(--gray-100) 25%, #f8f8f8 40%, var(--gray-100) 55%);
  background-size: 400% 100%;
  animation: skShimmer 1.4s ease infinite;
  border-radius: 4px;
}
.sk-photo { aspect-ratio: 3 / 4; border-radius: 4px; }
.sk-line { height: 12px; border-radius: 6px; margin: 12px 0 0; }
.sk-line.w50 { width: 50%; }
.sk-line.w70 { width: 70%; }
.sk-line.w30 { width: 30%; margin-bottom: 16px; }
@keyframes skShimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* Product card — ultra-clean editorial */
.card { position: relative; }
.card .photo {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  background: var(--gray-100);
  position: relative;
  cursor: pointer;
}
.card .photo:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.card .photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.card:hover .photo img { transform: scale(1.04); }

/* Second photo */
.card .photo .ph-second {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.card:hover .photo .ph-second { opacity: 1; }

/* Badges */
.card .photo .badges {
  position: absolute; top: 12px; inset-inline-start: 12px;
  z-index: 2; display: flex; gap: 6px;
}
.badge-pill {
  font-size: 0.6rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; border-radius: 2px; padding: 4px 10px;
}
.badge-pill.badge-new { background: var(--ink); color: var(--white); }
.badge-pill.badge-top { background: var(--gold); color: var(--white); }

/* Quick view overlay */
.card .photo::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease);
  z-index: 1;
}
.card:hover .photo::after { background: rgba(0,0,0,0.06); }

/* Wishlist */
.heart {
  position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--white); color: var(--gray-400);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s var(--ease-spring), color 0.2s;
}
.heart:hover { transform: scale(1.1); color: var(--ink); }
.heart.on { color: var(--danger); }
.heart.on { animation: heartPop 0.35s var(--ease-spring); }
@keyframes heartPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

/* Card info */
.card .info { padding: 14px 0 0; }
.card .cat {
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--gray-400); font-weight: 500; margin-bottom: 4px;
}
.card h3 { font-size: 0.95rem; font-weight: 400; font-family: var(--font-body); }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--gold); }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.price { font-weight: 600; font-size: 0.95rem; }
.price-old { color: var(--gray-400); text-decoration: line-through; font-size: 0.82rem; }
.badge-sale { background: var(--gold-bg); color: var(--gold); font-size: 0.68rem; font-weight: 600; padding: 2px 8px; border-radius: 2px; }
.badge-oos { background: #fde8e8; color: var(--danger); font-size: 0.68rem; font-weight: 600; padding: 2px 8px; border-radius: 2px; }
.badge-low { background: #fef3cd; color: #856404; font-size: 0.68rem; font-weight: 600; padding: 2px 8px; border-radius: 2px; }

/* ============================================================
   CATEGORY TILES
   ============================================================ */
.tile-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.cat-tile {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 10;
}
.cat-tile .tile-photo {
  position: absolute; inset: 0;
}
.cat-tile .tile-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
/* full-tile scrim so the centred name stays readable on any photo */
.cat-tile .tile-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24, 19, 13, 0.22), rgba(24, 19, 13, 0.5));
}
.cat-tile:hover .tile-photo img { transform: scale(1.06); }
.cat-tile .tile-name {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 16px 20px;
  color: var(--white);
  font-size: 1.15rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
  transition: letter-spacing 0.35s var(--ease-out);
}
.cat-tile:hover .tile-name { letter-spacing: 0.14em; }
.cat-tile .tile-count {
  position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2;
  background: var(--white); color: var(--ink);
  font-size: 0.6rem; font-weight: 700;
  border-radius: 999px; padding: 3px 10px;
  text-transform: uppercase; letter-spacing: 0.5px;
}

/* ---- header "suivre ma commande" link: styled like the other header
   icons (no box), so every page's header reads as one uniform row ---- */
.track-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 10px; text-decoration: none;
  color: var(--ink); background: none; border: none;
  font-size: 0.85rem; font-weight: 600; white-space: nowrap;
  transition: color .15s;
}
.track-link:hover { color: var(--gold); }
.track-link .tl-ico { font-size: 1rem; line-height: 1; }
.header-right { display: flex; align-items: center; gap: 4px; }
@media (max-width: 860px) {
  /* tablet band: drop the words, keep the icon */
  .track-link { padding: 8px 6px; }
  .track-link .tl-label { display: none; }
}
@media (max-width: 600px) {
  /* phones: keep tracking reachable — compact icon-only, no label */
  .track-link { display: inline-flex; padding: 6px; }
  .track-link .tl-label { display: none; }
  .track-link .tl-ico { font-size: 1.2rem; }
  /* free the width the centred brand needs: shrink every header piece so
     logo + 📦 + FR + cart fit a 360px screen. The left column stays in the
     grid on every page — it is what keeps the brand centred. */
  .site-inner { gap: 6px; }
  .brand-center { gap: 7px; }
  .brand-center img { height: 30px; }
  .brand-name { font-size: 1.02rem; letter-spacing: 0; }
  .header-icon { width: 36px; height: 36px; }
}

/* ---- tracking page hero + lookup card ---- */
.track-hero { text-align: center; max-width: 520px; margin: 6px auto 26px; }
.track-hero .th-ico {
  width: 74px; height: 74px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; background: var(--gold-soft); border-radius: 50%;
}
.track-hero h1 { margin-bottom: 8px; }
.track-hero p { color: var(--muted); margin: 0; }

.track-lookup, .track-result { max-width: 560px; margin-inline: auto;
  border-radius: 18px; box-shadow: 0 10px 34px rgba(59, 47, 38, .08); }
.track-lookup { padding: clamp(20px, 3vw, 30px); }
.track-result { margin-top: 22px; padding: clamp(18px, 3vw, 28px); }

/* the lookup form itself: full-size inputs and a real CTA */
.track-lookup .form-grid { display: grid; gap: 18px; }
.track-lookup label { display: block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 8px; }
.track-lookup input {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 15px 16px; font-size: 1.05rem; background: var(--paper);
  transition: border-color .15s, box-shadow .15s;
}
.track-lookup input:focus { outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft); }
.track-lookup #tBtn {
  width: 100%; padding: 17px; font-size: 1.05rem; font-weight: 700;
  letter-spacing: .02em; border-radius: 999px;
  box-shadow: 0 10px 28px rgba(169, 96, 63, .3);
  transition: transform .15s, box-shadow .15s;
}
.track-lookup #tBtn:hover { transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(169, 96, 63, .38); }
.track-lookup .error-msg { color: #9c3434; font-size: 0.85rem; margin: 0; }
.track-lookup .error-msg.show {
  background: #fdf0f0; border-radius: 10px; padding: 10px 14px; }

/* ---- skeleton tiles shown while the catalogue loads ---- */
.sk-tile {
  aspect-ratio: 16 / 10; border-radius: 12px;
  background: linear-gradient(100deg, #efeae1 40%, #f7f3ec 50%, #efeae1 60%);
  background-size: 200% 100%;
  animation: sk-shimmer 1.4s ease infinite;
}
@keyframes sk-shimmer { to { background-position: -200% 0; } }

/* ---- one-tap add button on product cards ---- */
.card .qadd {
  position: absolute; bottom: 10px; inset-inline-end: 10px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: var(--navy, #1a1a1a); color: #fff; font-size: 1.05rem;
  cursor: pointer; opacity: 0; transform: translateY(6px);
  transition: opacity .18s, transform .18s, background .15s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.card:hover .qadd, .card:focus-within .qadd { opacity: 1; transform: none; }
.card .qadd:hover { background: var(--gold, #b8860b); }
@media (hover: none) {
  /* touch screens have no hover: keep the button visible but quiet */
  .card .qadd { opacity: .92; transform: none; width: 34px; height: 34px; }
}

/* ---- tracking trail: a proper stepper ---- */
.track-trail li { position: relative; display: flex; align-items: center;
  gap: 10px; padding: 7px 0; color: var(--gray-500); font-size: 0.9rem; }
.track-trail li:not(:last-child)::before {
  content: ''; flex: none; width: 2px; height: 22px;
  position: absolute; inset-inline-start: 11px; top: calc(50% + 8px);
  background: var(--gray-200);
}
.track-trail li.done:not(:last-child)::before { background: var(--gold); }
.track-trail .dot {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  border: 2px solid var(--gray-200); background: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.72rem; transition: all .2s;
}
.track-trail li.done { color: var(--ink); }
.track-trail li.done .dot { background: var(--gold); border-color: var(--gold); color: #fff; }
.track-trail li.done .dot::after { content: '✓'; font-weight: 800; }
.track-trail li.current { color: var(--gold); font-weight: 700; }
.track-trail li.current .dot { border-color: var(--gold); animation: dot-pulse 1.8s ease infinite; }
.track-trail li.current .dot::after { content: ''; width: 10px; height: 10px;
  border-radius: 50%; background: var(--gold); }
@keyframes dot-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(169,96,63,.35); }
                       50%  { box-shadow: 0 0 0 8px rgba(169,96,63,0); } }

/* ============================================================
   PRODUCT MODAL — full-screen product page
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, 0);
  display: flex; pointer-events: none;
  transition: background 0.3s var(--ease);
}
.modal-overlay.open {
  background: rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  backdrop-filter: blur(4px);
}
.modal-wrap {
  position: absolute; inset: 0;
  display: flex; justify-content: flex-end;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
}
.modal-overlay.open .modal-wrap { transform: translateX(0); }

.modal {
  background: var(--white);
  width: min(860px, 100%);
  height: 100vh; height: 100dvh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.modal .m-media {
  position: sticky; top: 0;
  background: var(--gray-100);
  min-height: 0; min-width: 0;
}
.modal .m-photo { width: 100%; height: 100%; }
.modal .m-photo img { width: 100%; height: 100%; object-fit: contain; }

.m-thumbs { display: flex; gap: 6px; padding: 8px 12px; }
.m-thumb {
  width: 48px; height: 60px; overflow: hidden;
  border-radius: 4px; border: 2px solid transparent;
  cursor: pointer; background: none;
  transition: border-color 0.2s;
}
.m-thumb img { width: 100%; height: 100%; object-fit: cover; }
.m-thumb.active { border-color: var(--ink); }

.modal .m-body {
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 16px;
  overflow-y: auto;
}
.modal h3 {
  font-size: 1.5rem; font-weight: 500; letter-spacing: -0.3px;
}
.modal .desc {
  color: var(--gray-500); font-size: 0.9rem; line-height: 1.7;
  flex: 1;
}
.size-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.size-btn {
  border: 1px solid var(--gray-200); background: var(--white);
  border-radius: 4px; min-width: 44px; padding: 8px 12px;
  font-size: 0.82rem; font-weight: 500;
  transition: all 0.2s var(--ease);
}
.size-btn:hover { border-color: var(--ink); }
.size-btn.selected { border-color: var(--ink); background: var(--ink); color: var(--white); }
.size-error { display: none; font-size: 0.78rem; color: var(--danger); margin-top: 4px; }
.size-error.show { display: block; }

.modal .m-actions { display: flex; gap: 10px; margin-top: 8px; }
.wl-btn {
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--gray-200); font-size: 0.78rem;
  font-weight: 500; transition: all 0.2s;
}
.wl-btn:hover { border-color: var(--ink); }
.wl-btn.on { color: var(--danger); border-color: var(--danger); }

.modal-close {
  position: absolute; top: 16px; inset-inline-end: 16px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--white); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-size: 1.1rem; color: var(--ink);
  transition: transform 0.2s var(--ease-spring);
}
.modal-close:hover { transform: scale(1.1); }
.link-btn {
  background: none; border: none; color: var(--gold); font-size: 0.78rem;
  text-decoration: underline; cursor: pointer; font-family: inherit;
}

/* ============================================================
   PHOTO GALLERY
   ============================================================ */
.gallery-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0, 0, 0, 0.95);
  display: none; align-items: center; overflow: hidden;
}
.gallery-overlay.open { display: flex; }
.gallery-track {
  display: flex; height: 100%; width: 100%;
  transition: transform 0.35s var(--ease-out);
  touch-action: pan-y;
}
.gallery-slide {
  flex: 0 0 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.gallery-slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery-close {
  position: absolute; top: 16px; inset-inline-end: 16px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.gallery-close:hover { background: rgba(255,255,255,0.2); }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.gallery-nav:hover:not(:disabled) { background: rgba(255,255,255,0.2); }
.gallery-nav:disabled { opacity: 0.3; }
.gallery-prev { inset-inline-start: 16px; }
.gallery-next { inset-inline-end: 16px; }
.gallery-count {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.8); font-size: 0.8rem; letter-spacing: 1px;
  background: rgba(0,0,0,0.5); border-radius: 999px; padding: 4px 14px;
}
.m-photo.zoomable { cursor: zoom-in; }

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.search-overlay {
  position: fixed; inset: 0; z-index: 150;
  background: var(--white);
  display: none; flex-direction: column;
  padding: 0;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.search-overlay.open { display: flex; opacity: 1; }
.search-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 16px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--gray-200);
}
.search-bar input {
  flex: 1; border: none; outline: none;
  font-size: 1.1rem; font-family: var(--font-body);
  background: transparent;
}
.search-close {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--gray-500);
  transition: background 0.2s;
}
.search-close:hover { background: var(--gray-100); }

/* ============================================================
   ORDER TRACKING
   ============================================================ */
.track-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--gray-200);
}
.track-head b { font-size: 1.2rem; }
.track-head span { color: var(--gray-500); font-size: 0.82rem; }

.track-trail { list-style: none; margin: 20px 0 16px; }
.track-trail li {
  display: flex; align-items: center; gap: 12px; position: relative;
  padding-block: 8px; color: var(--gray-400); font-size: 0.88rem;
}
.track-trail li:not(:last-child)::before {
  content: ''; position: absolute; inset-inline-start: 7px; top: 28px;
  width: 1px; height: calc(100% - 8px); background: var(--gray-200);
}
.track-trail li.done:not(:last-child)::before { background: var(--ink); }
.track-trail .dot {
  width: 14px; height: 14px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--gray-300); background: var(--white); z-index: 1;
}
.track-trail li.done { color: var(--ink); }
.track-trail li.done .dot { background: var(--ink); border-color: var(--ink); }
.track-trail li.current { color: var(--ink); font-weight: 600; }
.track-trail li.current .dot {
  background: var(--gold); border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-bg);
}
.track-cancelled {
  margin: 16px 0; padding: 12px; border-radius: 4px;
  background: #fde8e8; color: var(--danger); font-weight: 600; text-align: center;
}

/* ============================================================
   CATALOGUE TOOLBAR
   ============================================================ */
.shop-tools {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.shop-tools input, .shop-tools select {
  border: 1px solid var(--gray-200); background: var(--white);
  border-radius: 999px; padding: 10px 18px; font-size: 0.85rem;
  transition: border-color 0.2s;
}
.shop-tools input { min-width: 200px; flex: 1; max-width: 300px; }
.shop-tools input:focus, .shop-tools select:focus {
  outline: none; border-color: var(--ink);
}

/* ============================================================
   WHATSAPP
   ============================================================ */
.wa-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
  transition: transform 0.3s var(--ease-spring);
}
.wa-fab:hover { transform: scale(1.08); }

/* click-to-call: stacked above the WhatsApp button, same tap target */
.call-fab {
  position: fixed; bottom: 88px; right: 24px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy, #3b2f26); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; text-decoration: none;
  box-shadow: 0 4px 16px rgba(59,47,38,0.35);
  transition: transform 0.3s var(--ease-spring);
}
.call-fab:hover { transform: scale(1.08); }

.wa-fab[hidden] { display: none; }
.wa-fab svg { width: 28px; height: 28px; }

.success-contact { margin: 16px 0 6px; font-size: 0.88rem; color: var(--gray-500); }
.success-contact a { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: #128c4b; font-weight: 600; font-size: 1rem; }
.success-contact svg { width: 18px; height: 18px; }
.wa-confirm {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px; padding: 12px 22px; border-radius: 999px;
  background: #128c4b; color: var(--white); font-weight: 700; font-size: 0.95rem;
  transition: background 0.15s, transform 0.15s;
}
.wa-confirm:hover { background: #0e7a41; transform: translateY(-1px); }
.wa-confirm svg { width: 18px; height: 18px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer.site {
  background: var(--navy); color: var(--gray-400);
  padding: 64px 0 32px; margin-top: 0;
}
footer.site .cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
footer.site h4 {
  color: var(--white); font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 500; margin-bottom: 16px;
}
footer.site h4 em { font-style: normal; }
footer.site p { font-size: 0.85rem; line-height: 1.7; max-width: 280px; }
footer.site a { transition: color 0.2s; }
footer.site a:hover { color: var(--white); }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 8px; }
footer.site li a { font-size: 0.82rem; }
footer.site .fine {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px; padding-top: 20px;
  font-size: 0.75rem; text-align: center;
  color: var(--gray-500);
}

.social-links { display: flex; gap: 8px; margin: 12px 0; }
.social-links a {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400); transition: all 0.2s;
}
.social-links a:hover { background: rgba(255,255,255,0.1); border-color: var(--gray-400); color: var(--white); }
.social-links svg { width: 14px; height: 14px; }
.social-links[hidden] { display: none; }

/* ============================================================
   CART / CHECKOUT
   ============================================================ */
.page-pad { padding: 48px 0 20px; }
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.panel {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 8px; padding: 24px;
}
.cart-line {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--gray-200); align-items: center;
}
.cart-line:last-child { border-bottom: none; }
.cart-line img { width: 64px; height: 80px; object-fit: cover; border-radius: 4px; }
.cart-line .name { font-weight: 500; font-size: 0.9rem; }
.cart-line .meta { font-size: 0.78rem; color: var(--gray-500); margin-top: 2px; }
.qty-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-btn {
  width: 28px; height: 28px; border: 1px solid var(--gray-200);
  border-radius: 4px; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s;
}
.qty-btn:hover { border-color: var(--ink); }
.remove-link { background: none; border: none; color: var(--gray-500); font-size: 0.78rem; text-decoration: underline; }
.totals { display: flex; flex-direction: column; gap: 8px; margin: 20px 0; }
.totals .row { display: flex; justify-content: space-between; font-size: 0.9rem; }
.totals .grand { font-weight: 600; font-size: 1.05rem; border-top: 1px solid var(--gray-200); padding-top: 10px; }

.order-items { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.order-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; }
.order-item img { width: 48px; height: 60px; object-fit: cover; border-radius: 4px; }
.order-item-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.order-item-info b { font-size: 0.85rem; font-weight: 500; }
.order-item-info span { font-size: 0.75rem; color: var(--gray-500); }
.order-item-price { font-weight: 600; font-size: 0.85rem; }

.form-grid { display: grid; gap: 14px; }
.form-grid label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; display: block; margin-bottom: 6px; color: var(--gray-700); }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; border: 1px solid var(--gray-200); border-radius: 4px;
  padding: 12px 14px; background: var(--white); font-size: 0.9rem;
  transition: border-color 0.2s;
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
  outline: none; border-color: var(--ink);
}

.card .photo { display: block; }
a.rv-item { display: block; text-decoration: none; color: inherit; }

.parcel-box { margin-top: 12px; padding: 12px; border: 1px dashed var(--gray-200); border-radius: 6px; }
.parcel-box .row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.85rem; padding: 2px 0; }
.parcel-box .parcel-no { font-family: ui-monospace, monospace; }
.parcel-box small { display: block; color: var(--gray-500); font-size: 0.72rem; margin-top: 4px; }

.deliv-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.deliv-opt {
  display: flex; align-items: flex-start; gap: 8px; cursor: pointer;
  border: 1px solid var(--gray-200); border-radius: 6px; padding: 12px;
  transition: border-color 0.2s, background 0.2s;
}
.deliv-opt:hover { border-color: var(--gray-400); }
.deliv-opt input { margin: 2px 0 0; accent-color: var(--ink); }
.deliv-opt b { display: block; font-size: 0.85rem; font-weight: 500; }
.deliv-opt small { display: block; color: var(--gray-500); font-size: 0.72rem; margin-top: 2px; }
.deliv-opt:has(input:checked) { border-color: var(--ink); background: var(--gray-100); }

.cod-note {
  display: flex; align-items: center; gap: 8px;
  background: var(--gray-100); border-radius: 4px;
  padding: 12px; font-size: 0.85rem;
}
.error-msg { color: var(--danger); background: #fde8e8; border-radius: 4px; padding: 10px 14px; font-size: 0.85rem; display: none; }
.error-msg.show { display: block; }

.cart-notice {
  background: #fef3cd; color: #856404;
  border-radius: 4px; padding: 12px 14px; font-size: 0.85rem; margin-bottom: 16px;
}
.cart-notice[hidden] { display: none; }

.success-box {
  text-align: center; max-width: 480px; margin: 60px auto;
  padding: 48px 32px;
  animation: successPop 0.5s var(--ease-spring);
}
@keyframes successPop {
  from { opacity: 0; transform: scale(0.95) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.success-box .check {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--gray-100); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto 16px;
}
.order-ref { font-size: 1rem; font-weight: 600; margin: 12px 0 20px; }

/* Banners */
.demo-banner { background: var(--gray-100); color: var(--gray-700); text-align: center; font-size: 0.78rem; padding: 6px 12px; display: none; }
.demo-banner.show { display: block; }
.stale-banner { background: #fef3cd; color: #856404; text-align: center; font-size: 0.78rem; padding: 6px 12px; display: none; }
.stale-banner.show { display: block; }
.promo-banner {
  background: var(--gold); color: var(--white); text-align: center;
  font-weight: 600; font-size: 0.85rem; letter-spacing: 0.5px; padding: 8px 12px;
}

/* ============================================================
   RECENTLY VIEWED & RELATED
   ============================================================ */
.related-row, .rv-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: 130px; gap: 12px;
  overflow-x: auto; padding: 4px 0 8px; margin-top: 8px;
  scrollbar-width: none;
}
.related-row::-webkit-scrollbar, .rv-strip::-webkit-scrollbar { display: none; }
.rel-item, .rv-item {
  border-radius: 4px; overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column;
  transition: transform 0.2s var(--ease-spring);
}
.rel-item:hover, .rv-item:hover { transform: translateY(-2px); }
.rel-item img, .rv-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
.rel-item .rv-name, .rv-item .rv-name {
  font-size: 0.72rem; font-weight: 500; padding: 6px 0 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rel-item .rv-price, .rv-item .rv-price {
  font-size: 0.72rem; color: var(--gold); font-weight: 600; padding: 0;
}

/* ============================================================
   SIZE GUIDE
   ============================================================ */
.size-table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 0.88rem; }
.size-table th, .size-table td { border: 1px solid var(--gray-200); padding: 8px 12px; text-align: center; }
.size-table th { background: var(--gray-100); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-500); }

/* ============================================================
   CHECKOUT PROMOS & FAQ
   ============================================================ */
.promo-entry { display: flex; gap: 8px; margin: 0 0 12px; }
.promo-entry input {
  flex: 1; border: 1px solid var(--gray-200); border-radius: 4px;
  padding: 10px 12px; font-size: 0.9rem; text-transform: uppercase;
}
.fd-bar { margin-bottom: 14px; }
.fd-bar .fd-msg { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 6px; }
.fd-bar .fd-track { background: var(--gray-200); border-radius: 999px; height: 6px; overflow: hidden; }
.fd-bar .fd-track i { display: block; height: 100%; background: var(--gold); border-radius: 999px; transition: width 0.4s var(--ease); }
.faq { max-width: 680px; margin: 48px auto 10px; }
.faq-item {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 6px; padding: 14px 16px; margin-bottom: 8px;
}
.faq-item summary { cursor: pointer; font-weight: 500; font-size: 0.9rem; }
.faq-item p { color: var(--gray-500); font-size: 0.85rem; margin-top: 10px; }

/* ============================================================
   RENDER PERFORMANCE
   ============================================================ */
#featured, #catTiles, #recentlyViewed, .faq {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}
#recentlyViewed, .faq { contain-intrinsic-size: auto 300px; }

/* ============================================================
   MOBILE STICKY CART
   ============================================================ */
.sticky-cart {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 110;
  display: none; align-items: center; gap: 10px;
  background: var(--white); border-top: 1px solid var(--gray-200);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}
.sticky-cart.show { display: flex; animation: stickyUp 0.3s var(--ease-out); }
@keyframes stickyUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.sticky-cart img { width: 42px; height: 42px; border-radius: 4px; object-fit: cover; flex-shrink: 0; }
.sticky-info { flex: 1; min-width: 0; }
.sticky-name { display: block; font-size: 0.78rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-price { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gold); }
.sticky-cart .btn-primary { flex-shrink: 0; padding: 10px 16px; font-size: 0.78rem; }
@media (min-width: 641px) { .sticky-cart { display: none !important; } }
body:has(.app-tabbar) .sticky-cart { bottom: 58px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .modal { grid-template-columns: 1fr; }
  .modal .m-media { min-height: 300px; max-height: 40vh; }
  nav.main-nav { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: 70vh; }
  .hero::after {
    background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.6) 100%);
  }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
}
@media (max-width: 640px) {
  .lang-switch button { padding: 3px 6px; font-size: 0.62rem; }
  .header-right { gap: 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .tile-row { grid-template-columns: 1fr; }
  .cat-tile { aspect-ratio: 16 / 9; }
  footer.site .cols { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 400px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FLOATING SOCIAL SIDEBAR
   ============================================================ */
.social-sidebar {
  position: fixed; left: 0; top: 50%; transform: translateY(-50%);
  z-index: 50;
  display: flex; flex-direction: column; gap: 0;
  background: var(--navy);
  border-radius: 0 10px 10px 0;
  overflow: hidden;
  box-shadow: 2px 4px 16px rgba(0,0,0,0.15);
  opacity: 0.85;
  transition: opacity 0.3s;
}
.social-sidebar:hover { opacity: 1; }
.social-sidebar a {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}
.social-sidebar a:hover {
  background: var(--gold);
  transform: scale(1.1);
}
@media (max-width: 768px) {
  .social-sidebar {
    position: fixed;
    left: 0; top: 50%; bottom: auto;
    transform: translateY(-50%);
    flex-direction: column;
    justify-content: center;
    gap: 0;
    border-radius: 0 10px 10px 0;
    opacity: 0.85;
    box-shadow: 2px 4px 16px rgba(0,0,0,0.15);
  }
  .social-sidebar:hover { opacity: 1; }
  .social-sidebar a {
    width: 36px; height: 36px;
  }
  .social-sidebar a svg { width: 14px; height: 14px; }
}

/* Footer social links styling */
.social-links {
  display: flex; gap: 10px; margin-top: 12px;
}
.social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #e8c9b6;
  transition: background 0.2s, transform 0.2s;
}
.social-links a:hover {
  background: var(--gold);
  color: #fff;
  transform: scale(1.1);
}

/* star line on product cards */
.card .card-stars { margin-top: 5px; font-size: 0.82rem; color: var(--gold);
  display: flex; align-items: center; gap: 4px; }
.card .card-stars b { font-weight: 700; }
.card .card-stars small { color: var(--muted); }

/* boutique page: trust strip, result count, empty state */
.shop-trust { display: flex; flex-wrap: wrap; gap: 8px 18px;
  margin-bottom: 18px; font-size: 0.82rem; color: var(--muted); }
.shop-trust em { font-style: normal; }
.shop-meta { color: var(--muted); font-size: 0.84rem; margin-bottom: 14px; }
.grid-empty { text-align: center; padding: 46px 16px; color: var(--muted); }
.grid-empty .btn-outline { margin-top: 14px; }


/* boutique page: back-to-home control in the header's left column */
.back-home {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.88rem; font-weight: 600; color: var(--ink);
  text-decoration: none; padding: 8px 12px; border-radius: 999px;
  transition: color .15s, background .15s;
}
.back-home:hover { color: var(--gold); background: var(--gold-soft); }
.back-home .bh-arrow { font-size: 1rem; line-height: 1; }
@media (max-width: 640px) {
  .back-home { padding: 7px 9px; font-size: 0.8rem; }
  .back-home .bh-arrow { font-size: 1.1rem; }
}

/* boutique catalogue: desktop category rail vs mobile chip row */
.catalogue-layout { display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 22px; align-items: start; }
.cat-rail { display: none; }

@media (min-width: 861px) {
  .catalogue-layout { grid-template-columns: 230px minmax(0, 1fr); }
  .cat-rail {
    display: block; position: sticky; top: 24px;
    background: var(--paper, #fffdf9); border: 1px solid var(--line);
    border-radius: 16px; padding: 14px;
    box-shadow: 0 8px 26px rgba(59, 47, 38, .07);
  }
  .cat-rail-title { font-size: 0.76rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 10px; }
  #categoryChips { display: flex; flex-direction: column; gap: 6px;
    overflow-x: visible; }
  #categoryChips .chip { width: 100%; text-align: start;
    border-radius: 10px; padding: 10px 14px; }
}

/* ---- boutique page refinements --------------------------------------
   The floating social sidebar owns the left edge of the screen; the
   category rail lives there too, so it stays home-page-only. */
.page-boutique .social-sidebar { display: none; }

/* premium category rail */
.cat-rail-title { position: relative; padding-bottom: 9px; margin-bottom: 12px; }
.cat-rail-title::after { content: ''; position: absolute;
  inset-inline-start: 0; bottom: 0; width: 30px; height: 2px;
  background: var(--gold); border-radius: 2px; }
#categoryChips .chip {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; border: none; background: transparent;
  color: var(--muted); font-weight: 600;
  padding: 9px 12px; border-radius: 9px;
  transition: background .15s, color .15s, padding-inline-start .15s;
}
#categoryChips .chip:hover { background: var(--gold-soft);
  color: var(--ink); padding-inline-start: 16px; }
#categoryChips .chip.active { background: var(--gold); color: #fff; }
.chip-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip-count { font-size: 0.68rem; opacity: .7;
  font-variant-numeric: tabular-nums; }
#categoryChips .chip.active .chip-count { opacity: .95; }

@media (max-width: 860px) {
  /* phone chip row keeps its compact pill look — hide counts there */
  .chip-count { display: none; }
  #categoryChips .chip { padding: 8px 20px; }
}

/* boutique page has no hero above it — kill the stacked dead space */
.page-boutique main.page-pad { padding: 22px 0 46px; }
.page-boutique section.block { padding-top: 6px; }

/* fractional star fill (PDP review summary) */
.pr-stars-frac { position: relative; display: inline-block;
  font-size: 1.25rem; line-height: 1; letter-spacing: 2px; }
.pr-stars-frac .sf-base { color: var(--line); }
.pr-stars-frac .sf-fill { position: absolute; inset-inline-start: 0; top: 0;
  overflow: hidden; white-space: nowrap; color: var(--gold); }

/* photo-corner discount ribbon on cards */
.badges .badge-off { background: var(--gold); color: #fff;
  box-shadow: 0 4px 12px rgba(169, 96, 63, .35); }

/* fractional gold stars on cards */
.card-stars { display: flex; align-items: center; gap: 5px;
  margin-top: 4px; font-size: 0.78rem; color: var(--muted); }
.card-stars .cs-frac { position: relative; display: inline-block;
  font-size: 0.85rem; line-height: 1; letter-spacing: 1px; }
.card-stars .cs-base { color: var(--gray-200); }
.card-stars .cs-fill { position: absolute; inset-inline-start: 0; top: 0;
  overflow: hidden; white-space: nowrap; color: var(--gold); }
.card-stars b { color: var(--ink); font-size: 0.78rem; }

/* phone fix: the category rail was hidden with the desktop sidebar - bring
   the chips back as a horizontal scroller above the grid */
@media (max-width: 860px) {
  .catalogue-layout { display: block; }
  .cat-rail { display: block !important; position: static;
    background: transparent; border: none; box-shadow: none;
    border-radius: 0; padding: 0; margin-bottom: 16px; }
  #categoryChips { display: flex; flex-direction: row !important;
    overflow-x: auto; gap: 8px; padding-bottom: 4px;
    scrollbar-width: none; }
  #categoryChips::-webkit-scrollbar { display: none; }
  #categoryChips .chip, #categoryChips .chip:hover {
    width: auto; white-space: nowrap;
    border: 1px solid var(--gray-200); background: var(--white);
    color: var(--muted); padding: 8px 18px; border-radius: 999px; }
  #categoryChips .chip.active { background: var(--gold); border-color: var(--gold); color: #fff; }
}
