/* ==========================================================================
   LEON DIAMOND — Jewelry E-Commerce (matches leondiamond.com visual style)
   Design system: white background / gray body text / light blue-gray buttons
   Font: Work Sans (400/500/700)
   ========================================================================== */

:root {
  /* Palette (extracted from leondiamond.com) */
  --bg: #ffffff;            /* --color-background: 255,255,255 */
  --bg-soft: #f3f3f3;       /* scheme-2 background */
  --surface: #ffffff;
  --surface-2: #f7f7f7;
  --border: rgba(18, 18, 18, 0.08);
  --border-strong: rgba(18, 18, 18, 0.18);
  --accent: #b2ccdd;        /* --color-button: 178,204,221 */
  --accent-hover: #a0bfd3;  /* hover state found on the site */
  --accent-dark: #545353;   /* dark hover for secondary buttons */
  --dark: #000000;          /* scheme-3 background */
  --heading: #121212;       /* scheme-2 foreground */
  --text: #6e6e6e;          /* --color-foreground: 110,110,110 */
  --text-dim: #9a9a9a;
  --text-light: #ffffff;
  --danger: #c0564f;
  --success: #4a7d5b;

  /* Typography */
  --font: "Work Sans", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: 24px;
  --radius: 0px;
  --header-h: 84px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 0.4s;

  /* WordPress / WooCommerce compatibility aliases */
  --gold: var(--accent);
  --gold-bright: var(--accent-hover);
  --gold-deep: var(--accent-dark);
  --text-muted: var(--text);
  --font-serif: var(--font);
  --font-sans: var(--font);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

::selection { background: rgba(178, 204, 221, 0.4); color: var(--heading); }

h1, h2, h3, h4, h5 {
  font-family: var(--font);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.005em;
  color: var(--heading);
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent-dark);
  opacity: 0.5;
}
.eyebrow.centered::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent-dark);
  opacity: 0.5;
}

.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 52px; }
.section-head h2 {
  font-size: clamp(30px, 3.6vw, 47px);
  font-weight: 500;
  margin: 16px 0 12px;
  color: var(--heading);
}
.section-head p { color: var(--text); font-size: 16px; line-height: 1.75; }

/* ---------- Buttons (Dawn-style: square, uppercase, #b2ccdd) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all var(--speed) var(--ease);
  text-align: center;
}
.btn-primary, .btn-gold {
  background: var(--accent);
  color: var(--text-light);
  border-color: var(--accent);
}
.btn-primary:hover, .btn-gold:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn-dark {
  background: var(--dark);
  color: var(--text-light);
  border-color: var(--dark);
}
.btn-dark:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn-ghost {
  background: transparent;
  color: var(--heading);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent-dark); color: var(--accent-dark); }

.btn-lg { padding: 16px 38px; font-size: 15px; font-weight: 600; }
.btn-block { width: 100%; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  border-bottom: 1px solid var(--accent-dark);
  padding-bottom: 6px;
  transition: all 0.3s ease;
}
.btn-link:hover { color: var(--heading); border-color: var(--heading); }

/* ---------- Announcement bar ---------- */
.announcement {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 9px 16px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}
.announcement strong { font-weight: 600; color: var(--heading); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 26px; height: 26px; }
.brand-name {
  font-family: var(--font);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--heading);
  line-height: 1;
  white-space: nowrap;
}
.brand-name em { font-style: normal; color: var(--accent-dark); }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text);
  transition: color 0.3s ease;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--heading); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--heading);
  transition: color 0.3s ease;
  position: relative;
}
.icon-btn:hover { color: var(--accent-dark); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute;
  top: 3px; right: 1px;
  min-width: 17px; height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--text-light);
  font-size: 10.5px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0;
}
.nav-toggle { display: none; }

/* ---------- Hero (white text over photo, like reference) ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 120px 24px;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  color: #fff;
  font-weight: 600;
  margin: 0 auto 34px;
  line-height: 1.15;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  max-width: 760px;
}
.hero .btn { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18); }

/* ---------- Marquee strip ---------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
  padding: 15px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 0;
  animation: marquee 32s linear infinite;
  will-change: transform;
}
.marquee-track span {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--heading);
  padding-right: 8px;
}
.marquee-track span i { font-style: normal; color: var(--accent-dark); margin: 0 32px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Stats band (10K+ / 100% / 100%) ---------- */
.stats {
  background: var(--bg);
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-num {
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 600;
  color: var(--heading);
  line-height: 1;
  letter-spacing: 0.02em;
}
.stat-label {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

/* ---------- Anniversary banner (Celebrating / 51 YEARS / 1975 - 2026) ---------- */
.anniversary {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
  text-align: center;
}
.anniv-small {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
}
.anniv-num {
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 700;
  color: var(--heading);
  line-height: 1.05;
  letter-spacing: 0.02em;
}
.anniv-range {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 14px 0 32px;
}
.anniv-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- Shape selector row ---------- */
.shapes {
  padding: 56px 0 24px;
  border-bottom: 1px solid var(--border);
}
.shape-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.shape-chip {
  padding: 11px 22px;
  border: 1px solid var(--border-strong);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  transition: all 0.3s ease;
}
.shape-chip:hover, .shape-chip.active { background: var(--accent); border-color: var(--accent); color: var(--text-light); }

/* ---------- Product tabs (Tennis Chains / Pendants) ---------- */
.tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 26px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  transition: all 0.3s ease;
}
.tab-btn:hover { border-color: var(--accent); color: var(--accent-dark); }
.tab-btn.active { background: var(--accent); border-color: var(--accent); color: var(--text-light); }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px 22px;
}
.product-card { position: relative; }
.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.04); }
.product-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: var(--accent);
  color: var(--text-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
}
.product-badge.soldout { background: var(--accent-dark); color: #fff; }
.product-actions {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateY(12px);
  opacity: 0;
  transition: all 0.45s var(--ease);
}
.product-card:hover .product-actions { transform: translateY(0); opacity: 1; }
.product-actions .btn { flex: 1; padding: 12px 10px; font-size: 12px; }
.product-actions .btn.icon-only { flex: 0 0 46px; padding: 0; }

.product-info { padding: 16px 2px 0; text-align: center; }
.product-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.product-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--heading);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}
.product-card:hover .product-name { color: var(--accent-dark); }
.product-price {
  font-size: 15px;
  font-weight: 500;
  color: var(--heading);
  letter-spacing: 0.03em;
}
.product-price .old { color: var(--text-dim); text-decoration: line-through; margin-right: 8px; font-size: 13.5px; }

/* ---------- Collection cards (Shop By Collection) ---------- */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.collection-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 3.4;
  display: flex;
  align-items: flex-end;
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: border-color 0.4s ease;
}
.collection-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.collection-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55) 100%);
}
.collection-card:hover img { transform: scale(1.06); }
.collection-card:hover { border-color: var(--accent); }
.collection-info {
  position: relative;
  z-index: 2;
  padding: 26px;
  width: 100%;
  text-align: left;
}
.collection-info h3 {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.collection-info span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.9;
}
.collection-info span::after { content: "→"; transition: transform 0.3s ease; }
.collection-card:hover .collection-info span::after { transform: translateX(6px); }

/* ---------- Toi et Moi split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.split-media { position: relative; min-height: 540px; overflow: hidden; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-body {
  display: flex;
  align-items: center;
  padding: 80px clamp(24px, 6vw, 96px);
}
.split-body h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 500;
  margin: 16px 0 12px;
  color: var(--heading);
}
.split-body .split-tagline {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 18px;
}
.split-body p { color: var(--text); margin-bottom: 32px; max-width: 480px; line-height: 1.8; }

/* ---------- Visit us in store ---------- */
.visit {
  background: var(--bg);
  padding: 88px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.visit h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 500;
  margin: 14px 0 12px;
}
.visit .visit-sub {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 34px;
}
.visit-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.visit-address {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--heading);
  margin-top: 8px;
}

/* ---------- Values (50 Year Legacy etc.) ---------- */
.values { background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.value { text-align: center; padding: 8px 12px; }
.value-icon {
  width: 58px; height: 58px;
  margin: 0 auto 18px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-dark);
  background: var(--bg);
}
.value-icon svg { width: 24px; height: 24px; }
.value h3 { font-size: 19px; font-weight: 500; margin-bottom: 8px; color: var(--heading); }
.value p { font-size: 14px; color: var(--text); line-height: 1.7; }

/* ---------- Dark banner (Fancy Colored Diamonds) ---------- */
.dark-banner {
  background: var(--dark);
  color: #fff;
  padding: 110px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.dark-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(178, 204, 221, 0.16) 0%, transparent 65%);
  pointer-events: none;
}
.dark-banner h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
  color: #fff;
  margin: 14px 0 10px;
}
.dark-banner p { color: rgba(255, 255, 255, 0.75); margin-bottom: 34px; font-size: 16px; }

/* ---------- Testimonials / Customer Stories ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.4s ease;
}
.testimonial:hover { border-color: var(--accent); }
.testimonial-stars { color: var(--accent-dark); letter-spacing: 4px; font-size: 14px; }
.testimonial-text {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--heading);
  flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft);
  color: var(--accent-dark);
  font-size: 16px;
  font-weight: 600;
}
.testimonial-author strong { display: block; font-size: 14px; font-weight: 600; color: var(--heading); }
.testimonial-author span { font-size: 12.5px; color: var(--text-dim); }

/* ---------- Instagram strip ---------- */
.insta-strip { padding: 56px 0; border-bottom: 1px solid var(--border); }
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.insta-item { aspect-ratio: 1; overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.insta-item:hover img { transform: scale(1.08); }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 84px 0;
}
.newsletter h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 500;
  margin: 16px 0 14px;
  color: var(--heading);
}
.newsletter p { color: var(--text); margin-bottom: 34px; max-width: 560px; margin-left: auto; margin-right: auto; }
.newsletter-form {
  display: flex;
  max-width: 520px;
  margin: 0 auto;
  border: 1px solid var(--border-strong);
  background: var(--bg);
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--heading);
}
.newsletter-form input::placeholder { color: var(--text-dim); }
.newsletter-form .btn { border: none; }
.newsletter-note { font-size: 12.5px; color: var(--text-dim); margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 56px;
}
.footer-brand .brand-name { margin-bottom: 18px; display: inline-block; }
.footer-brand p { color: var(--text); font-size: 14px; max-width: 300px; line-height: 1.8; }
.footer-contact { margin-top: 16px; font-size: 14px; color: var(--text); line-height: 1.9; }
.footer-contact strong { color: var(--heading); font-weight: 600; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: all 0.3s ease;
  background: var(--bg);
}
.footer-social a:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 20px;
}
.footer-col li { margin-bottom: 11px; }
.footer-col a {
  font-size: 14px;
  color: var(--text);
  transition: color 0.3s ease;
}
.footer-col a:hover { color: var(--accent-dark); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; color: var(--text-dim); }
.footer-payments { display: flex; gap: 8px; }
.footer-payments span {
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 64px 0 44px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.page-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  margin-top: 14px;
}
.page-hero p { color: var(--text); max-width: 620px; margin: 12px auto 0; font-size: 15.5px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 20px 0;
}
.breadcrumbs a { color: var(--text); transition: color 0.3s ease; }
.breadcrumbs a:hover { color: var(--accent-dark); }
.breadcrumbs span.sep { color: var(--text-dim); opacity: 0.5; }
.breadcrumbs .current { color: var(--accent-dark); }

/* ---------- Shop layout ---------- */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding: 44px 0 88px;
}
.shop-sidebar { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.filter-group { border-bottom: 1px solid var(--border); padding: 20px 0; }
.filter-group:first-child { padding-top: 0; }
.filter-group h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 14px;
}
.filter-group label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: color 0.3s ease;
}
.filter-group label:hover { color: var(--heading); }
.filter-group input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.filter-group input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
.filter-group input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.filter-count { margin-left: auto; font-size: 12px; color: var(--text-dim); }

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  gap: 16px;
  flex-wrap: wrap;
}
.shop-toolbar .result-count { font-size: 14px; color: var(--text); }
.shop-sort {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}
.shop-sort select {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--heading);
  outline: none;
  cursor: pointer;
}
.shop-sort select option { background: var(--bg); }

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}
.pagination a, .pagination span {
  min-width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong);
  font-size: 14px;
  color: var(--text);
  transition: all 0.3s ease;
  background: var(--bg);
}
.pagination a:hover { border-color: var(--accent); color: var(--accent-dark); }
.pagination .current { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination .next { padding: 0 18px; }

/* ---------- Product detail ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  padding: 32px 0 88px;
}
.gallery { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.gallery-main {
  aspect-ratio: 4 / 4.7;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface-2);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.gallery-thumbs button {
  width: 82px; height: 96px;
  border: 1px solid var(--border);
  overflow: hidden;
  opacity: 0.55;
  transition: all 0.3s ease;
  padding: 0;
  background: var(--surface-2);
}
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button.active, .gallery-thumbs button:hover { opacity: 1; border-color: var(--accent); }

.product-info-block h1 {
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--heading);
}
.product-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--text-dim);
}
.product-meta .stars { color: var(--accent-dark); letter-spacing: 2px; }
.product-meta .reviews { color: var(--text-dim); }
.product-meta .sku { letter-spacing: 0.12em; }

.price-block {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 26px;
}
.price-block .price { font-size: 28px; font-weight: 600; color: var(--heading); letter-spacing: 0.02em; }
.price-block .old { font-size: 18px; color: var(--text-dim); text-decoration: line-through; }
.price-block .save { font-size: 12px; font-weight: 600; color: var(--success); letter-spacing: 0.1em; text-transform: uppercase; }

.product-desc { color: var(--text); line-height: 1.85; margin-bottom: 28px; }
.product-desc strong { color: var(--heading); font-weight: 600; }

.options-group { margin-bottom: 24px; }
.options-group > span {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 12px;
}
.options-group > span em { font-style: normal; color: var(--accent-dark); font-weight: 500; }
.option-row { display: flex; flex-wrap: wrap; gap: 8px; }
.option-chip {
  min-width: 46px;
  padding: 10px 16px;
  border: 1px solid var(--border-strong);
  font-size: 13px;
  text-align: center;
  color: var(--text);
  transition: all 0.3s ease;
  cursor: pointer;
  background: var(--bg);
}
.option-chip:hover { border-color: var(--accent); color: var(--heading); }
.option-chip.active { border-color: var(--accent); background: var(--accent); color: #fff; }

.buy-row {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}
.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
  background: var(--bg);
}
.qty-stepper button {
  width: 46px; height: 52px;
  font-size: 17px;
  color: var(--text);
  transition: color 0.3s ease;
}
.qty-stepper button:hover { color: var(--accent-dark); }
.qty-stepper input {
  width: 44px;
  height: 52px;
  background: transparent;
  border: none;
  outline: none;
  text-align: center;
  font-size: 14px;
  color: var(--heading);
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row .btn { flex: 1; height: 52px; padding: 0 24px; }

.wishlist-btn {
  width: 52px; height: 52px;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: all 0.3s ease;
  flex-shrink: 0;
  background: var(--bg);
}
.wishlist-btn:hover { color: var(--danger); border-color: var(--danger); }
.wishlist-btn svg { width: 20px; height: 20px; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}
.trust-item {
  border: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 16px 10px;
  text-align: center;
}
.trust-item svg { width: 20px; height: 20px; color: var(--accent-dark); margin: 0 auto 8px; }
.trust-item span { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); }

/* ---------- Accordion ---------- */
.accordion { margin-top: 32px; border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--heading);
  transition: color 0.3s ease;
  text-align: left;
}
.accordion-head:hover { color: var(--accent-dark); }
.accordion-head .icon { font-size: 20px; font-weight: 300; color: var(--accent-dark); transition: transform 0.4s var(--ease); }
.accordion-item.open .accordion-head .icon { transform: rotate(45deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.accordion-body-inner { padding: 0 4px 20px; color: var(--text); font-size: 14px; line-height: 1.85; }
.accordion-body-inner li { padding-left: 18px; position: relative; margin-bottom: 6px; }
.accordion-body-inner li::before {
  content: "";
  position: absolute; left: 0; top: 11px;
  width: 6px; height: 1px;
  background: var(--accent);
}

/* ---------- Related products ---------- */
.related { border-top: 1px solid var(--border); padding-top: 56px; }
.related .product-grid { grid-template-columns: repeat(4, 1fr); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 32px; left: 50%;
  transform: translate(-50%, 24px);
  z-index: 300;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--accent);
  padding: 16px 26px;
  font-size: 14px;
  color: var(--heading);
  box-shadow: 0 18px 50px rgba(0,0,0,0.16);
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s var(--ease);
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--accent-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .related .product-grid { grid-template-columns: repeat(3, 1fr); }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .insta-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(340px, 84vw);
    background: var(--bg);
    border-left: 1px solid var(--border);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    padding: 96px 40px 40px;
    transform: translateX(102%);
    transition: transform 0.5s var(--ease);
    z-index: 200;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 16px; padding: 16px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: inline-flex; }
  .nav-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 190;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }
  .nav-overlay.show { opacity: 1; pointer-events: auto; }

  .stats-grid { gap: 18px; }
  .split { grid-template-columns: 1fr; }
  .split-media { min-height: 360px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .product-detail { grid-template-columns: 1fr; gap: 40px; }
  .gallery { position: static; }
  .shop-layout { grid-template-columns: 1fr; gap: 32px; }
  .shop-sidebar { position: static; }
  .section { padding: 68px 0; }
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .collection-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .related .product-grid { grid-template-columns: 1fr 1fr; }
  .product-actions { position: static; transform: none; opacity: 1; margin-top: 10px; }
  .trust-strip { grid-template-columns: 1fr; }
  .hero-content { padding: 84px 20px; }
  .buy-row { flex-wrap: wrap; }
  .footer-bottom { justify-content: center; text-align: center; }
  .section-head h2 { font-size: 30px; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--header-h) + 9vh) 24px 48px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.search-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
.search-overlay-inner { position: relative; width: 100%; max-width: 720px; }
.search-overlay .search-form {
  display: flex;
  gap: 12px;
  align-items: stretch;
  animation: searchSlideIn 0.45s var(--ease);
}
@keyframes searchSlideIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.search-overlay .search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  height: 58px;
  padding: 0 18px;
  font-family: var(--font);
  font-size: 17px;
  color: var(--heading);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--speed) ease, box-shadow var(--speed) ease;
}
.search-overlay .search-form input[type="search"]::placeholder { color: var(--text); opacity: 0.7; }
.search-overlay .search-form input[type="search"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(178, 204, 221, 0.35);
}
.search-overlay .search-form .btn { height: 58px; padding: 0 26px; white-space: nowrap; }
.search-close {
  position: absolute;
  top: -70px;
  right: 0;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--heading);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--speed) ease;
}
.search-close:hover { color: var(--accent-dark); border-color: var(--accent-dark); transform: rotate(90deg); }
@media (max-width: 640px) {
  .search-overlay { padding: calc(var(--header-h) + 6vh) 18px 36px; }
  .search-overlay .search-form { flex-direction: column; }
  .search-overlay .search-form .btn { height: 52px; }
  .search-close { top: -62px; }
}

/* ---------- Hero ghost button (white on dark photo) ---------- */
.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}
.hero .btn-ghost:hover {
  color: var(--heading);
  background: #fff;
  border-color: #fff;
}

/* ---------- Loading skeletons (cleared by shop.js innerHTML render) ---------- */
.sk-card, .sk-detail, .sk-box { display: none; }
.js .sk-card { display: block; }
.js .sk-detail { display: grid; }
.js .sk-box { display: block; }

.sk-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}
.sk-body { padding: 6px 0 16px; }
.sk-line {
  height: 12px;
  border-radius: 4px;
  margin: 12px 14px 0;
}
.sk-line.w-60 { width: 60%; }
.sk-line.w-40 { width: 40%; }
.sk-detail { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 48px; }
.sk-detail .sk-media { border-radius: var(--radius); }
.sk-box { min-height: 300px; border-radius: var(--radius); }
.sk-media, .sk-line, .sk-box {
  background: linear-gradient(100deg, var(--bg-soft) 40%, var(--border) 50%, var(--bg-soft) 60%);
  background-size: 200% 100%;
  animation: skShimmer 1.4s ease infinite;
}
.sk-media { width: 100%; aspect-ratio: 1 / 1; }
@keyframes skShimmer { to { background-position: -200% 0; } }
@media (max-width: 960px) {
  .sk-detail { grid-template-columns: 1fr; gap: 24px; }
}
