/* ============================================================
   MARAFIEA — Premium Jewellery Ecommerce
   Design System & Global Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ── Tokens ───────────────────────────────────────────────── */
:root {
  --ivory:       #FDFAF5;
  --espresso:    #1A1410;
  --gold:        #B8986A;
  --gold-light:  #D4B896;
  --gold-dark:   #8A6E44;
  --ink:         #2C2C3E;
  --parchment:   #F0E8DC;
  --muted:       #9B8E82;
  --border:      #E2D8CE;
  --white:       #FFFFFF;
  --success:     #2D6A4F;
  --error:       #C0392B;

  --ff-display:  'Cormorant Garamond', Georgia, serif;
  --ff-body:     'Inter', system-ui, sans-serif;

  --ease-luxury: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --shadow-card: 0 4px 24px rgba(26,20,16,0.08);
  --shadow-hover: 0 12px 48px rgba(26,20,16,0.16);
  --shadow-gold: 0 4px 24px rgba(184,152,106,0.25);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  background: var(--ivory);
  color: var(--espresso);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--ff-body); }
input, select, textarea { font-family: var(--ff-body); outline: none; }

/* ── Typography ──────────────────────────────────────────── */
.display-xl { font-family: var(--ff-display); font-size: clamp(3rem, 7vw, 6rem); font-weight: 300; line-height: 1.05; letter-spacing: -0.02em; }
.display-lg { font-family: var(--ff-display); font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 400; line-height: 1.1; }
.display-md { font-family: var(--ff-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 400; line-height: 1.2; }
.display-sm { font-family: var(--ff-display); font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 500; line-height: 1.3; }
.eyebrow { font-family: var(--ff-body); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.body-lg { font-size: 1.05rem; line-height: 1.7; color: var(--muted); }
.body-sm { font-size: 0.875rem; color: var(--muted); }

/* ── Utility ─────────────────────────────────────────────── */
.container { width: min(1280px, 100%); margin: 0 auto; padding: 0 2rem; }
.container-wide { width: min(1440px, 100%); margin: 0 auto; padding: 0 2rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.grid { display: grid; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; } .gap-4 { gap: 2rem; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.hidden { display: none !important; }

/* ── Gold Divider ────────────────────────────────────────── */
.gold-divider {
  display: flex; align-items: center; gap: 1rem; margin: 0.75rem auto;
  width: fit-content;
}
.gold-divider::before, .gold-divider::after {
  content: ''; display: block; width: 40px; height: 1px; background: var(--gold);
}
.gold-divider span { color: var(--gold); font-size: 0.7rem; }

/* ── Section Headers ─────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .eyebrow { margin-bottom: 0.75rem; display: block; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { max-width: 520px; margin: 0 auto; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem; font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 0; transition: all 0.3s var(--ease-luxury);
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.12); opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }

.btn-gold {
  background: var(--gold); color: var(--white);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: 0 8px 32px rgba(184,152,106,0.4); }

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

.btn-dark {
  background: var(--espresso); color: var(--white);
}
.btn-dark:hover { background: var(--ink); transform: translateY(-1px); }

.btn-ghost { border: 1px solid var(--border); color: var(--espresso); background: transparent; }
.btn-ghost:hover { border-color: var(--espresso); }

.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.72rem; }
.btn-lg { padding: 1.125rem 2.75rem; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Announcement Bar ────────────────────────────────────── */
#announcement-bar {
  background: var(--espresso);
  color: var(--gold-light);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1000;
  font-family: var(--ff-body);
}
#announcement-bar strong { color: var(--white); }
#announcement-bar .ann-close {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  color: var(--muted); cursor: pointer; font-size: 1rem;
  background: none; border: none; line-height: 1;
}

/* ── Header ──────────────────────────────────────────────── */
#site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(253, 250, 245, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s, padding 0.3s;
}
#site-header.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 20px rgba(26,20,16,0.06);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.25rem 2rem;
  max-width: 1440px;
  margin: 0 auto;
  transition: padding 0.3s;
}
#site-header.scrolled .header-inner { padding-top: 0.875rem; padding-bottom: 0.875rem; }

.header-logo a {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--espresso);
  display: flex; flex-direction: column; align-items: flex-start;
}
.header-logo .logo-sub {
  font-size: 0.6rem; font-family: var(--ff-body); letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold); font-weight: 500; margin-top: -0.25rem;
}
/* Marafiea image logo */
.site-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  display: block;
}
.footer-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .site-logo-img { height: 48px; }
}

.header-nav { display: flex; align-items: center; justify-content: center; gap: 0.25rem; }
.nav-item { position: relative; }
.nav-link {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--espresso); padding: 0.5rem 0.875rem; display: block;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 1px; background: var(--gold); transition: left 0.3s, right 0.3s;
}
.nav-link:hover::after { left: 0.875rem; right: 0.875rem; }

/* Mega Menu */
.mega-menu {
  position: absolute; top: calc(100% + 1rem); left: 50%; transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--border);
  box-shadow: var(--shadow-hover); padding: 2rem;
  min-width: 600px; opacity: 0; visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
  transform: translateX(-50%) translateY(-8px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.nav-item:hover .mega-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-col h4 { font-family: var(--ff-display); font-size: 0.9rem; font-weight: 600; margin-bottom: 1rem; color: var(--espresso); letter-spacing: 0.05em; border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; }
.mega-col ul li a { font-size: 0.82rem; color: var(--muted); display: block; padding: 0.3rem 0; transition: color 0.2s, padding-left 0.2s; }
.mega-col ul li a:hover { color: var(--gold); padding-left: 0.5rem; }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 0.25rem; }
.header-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--espresso); font-size: 1rem;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.header-btn:hover { background: var(--parchment); color: var(--gold); }
.header-btn .badge {
  position: absolute; top: 3px; right: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); color: var(--white);
  font-size: 0.6rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}

/* Search Bar */
.search-overlay {
  position: fixed; inset: 0; background: rgba(26,20,16,0.8);
  z-index: 1100; display: flex; align-items: flex-start; justify-content: center;
  padding-top: 12vh; opacity: 0; visibility: hidden; transition: all 0.3s;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-box {
  background: var(--white); width: min(680px, 90%); padding: 2rem;
  box-shadow: var(--shadow-hover);
}
.search-input-wrap { display: flex; align-items: center; border-bottom: 2px solid var(--gold); padding-bottom: 0.75rem; }
.search-input-wrap i { color: var(--gold); font-size: 1.2rem; margin-right: 1rem; }
.search-input-wrap input { flex: 1; font-size: 1.5rem; font-family: var(--ff-display); color: var(--espresso); background: none; border: none; }
.search-close { color: var(--muted); font-size: 1.4rem; cursor: pointer; }
.search-suggestions { margin-top: 1.5rem; }
.search-suggestions h4 { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.search-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.search-tag { padding: 0.4rem 1rem; border: 1px solid var(--border); font-size: 0.8rem; color: var(--muted); cursor: pointer; transition: all 0.2s; }
.search-tag:hover { border-color: var(--gold); color: var(--gold); }

/* Mobile Nav */
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; width: 24px; cursor: pointer; }
.mobile-menu-btn span { display: block; height: 1.5px; background: var(--espresso); transition: all 0.3s; }
.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4.5px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4.5px); }

.mobile-nav {
  position: fixed; inset: 0; top: 0; background: var(--ivory);
  z-index: 850; transform: translateX(-100%); transition: transform 0.4s var(--ease-luxury);
  padding: 6rem 2rem 2rem; overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { display: block; font-family: var(--ff-display); font-size: 1.5rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border); color: var(--espresso); }
.mobile-nav a:hover { color: var(--gold); padding-left: 0.5rem; }

/* ── Hero / Slider ───────────────────────────────────────── */
.hero-slider {
  position: relative; height: 60vh; min-height: 540px; overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1s var(--ease-luxury);
  display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transform: scale(1.06);
  transition: transform 8s var(--ease-luxury);
}
.hero-slide.active .hero-slide-bg { transform: scale(1); }
.hero-slide-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(26,20,16,0.72) 0%, rgba(26,20,16,0.25) 60%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 min(8vw, 8rem);
  max-width: 680px;
}
.hero-content .eyebrow { color: var(--gold-light); margin-bottom: 1.25rem; display: block; }
.hero-content h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-content p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 2.5rem; max-width: 420px; }
.hero-content .hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Slide text animation */
.hero-content .eyebrow,
.hero-content h1,
.hero-content p,
.hero-content .hero-btns {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s var(--ease-luxury), transform 0.7s var(--ease-luxury);
}
.hero-slide.active .hero-content .eyebrow { opacity: 1; transform: none; transition-delay: 0.3s; }
.hero-slide.active .hero-content h1     { opacity: 1; transform: none; transition-delay: 0.5s; }
.hero-slide.active .hero-content p      { opacity: 1; transform: none; transition-delay: 0.65s; }
.hero-slide.active .hero-content .hero-btns { opacity: 1; transform: none; transition-delay: 0.8s; }

/* Slider Controls */
.hero-controls {
  position: absolute; bottom: 2.5rem; right: min(8vw,8rem); z-index: 5;
  display: flex; align-items: center; gap: 1rem;
}
.hero-dots { display: flex; gap: 0.5rem; }
.hero-dot {
  width: 28px; height: 2px; background: rgba(255,255,255,0.35);
  cursor: pointer; transition: background 0.3s, width 0.3s;
}
.hero-dot.active { background: var(--gold); width: 48px; }
.hero-prev, .hero-next {
  width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; cursor: pointer; transition: all 0.2s; font-size: 0.85rem;
}
.hero-prev:hover, .hero-next:hover { background: var(--gold); border-color: var(--gold); }

/* Floating gems */
.floating-gems {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
}
.gem { position: absolute; border-radius: 50%; opacity: 0.12; filter: blur(1px); }
.gem-1 { width: 6px; height: 6px; background: var(--gold); top: 20%; right: 35%; animation: float1 6s ease-in-out infinite; }
.gem-2 { width: 4px; height: 4px; background: #fff; top: 40%; right: 28%; animation: float2 8s ease-in-out infinite; }
.gem-3 { width: 8px; height: 8px; background: var(--gold-light); top: 65%; right: 40%; animation: float1 7s ease-in-out infinite 1s; }
.gem-4 { width: 5px; height: 5px; background: #fff; top: 30%; right: 20%; animation: float2 5s ease-in-out infinite 2s; }
@keyframes float1 { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-18px) rotate(180deg); } }
@keyframes float2 { 0%,100% { transform: translateY(0) translateX(0); } 33% { transform: translateY(-12px) translateX(8px); } 66% { transform: translateY(6px) translateX(-6px); } }

/* ── 3D Diamond ──────────────────────────────────────────── */
.diamond-scene {
  perspective: 600px;
  width: 140px; height: 140px;
  margin: 0 auto;
}
.diamond {
  width: 100%; height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateDiamond 8s linear infinite;
}
.diamond-face {
  position: absolute;
  width: 0; height: 0;
  transform-origin: center center;
}
/* CSS Polygon diamond using clip-path */
.diamond-poly {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, rgba(184,152,106,0.9) 0%, rgba(255,255,255,0.6) 30%, rgba(184,152,106,0.7) 50%, rgba(255,255,255,0.4) 70%, rgba(184,152,106,0.8) 100%);
  clip-path: polygon(50% 0%, 100% 35%, 100% 65%, 50% 100%, 0% 65%, 0% 35%);
  animation: diamondShimmer 4s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(184,152,106,0.5), inset 0 0 20px rgba(255,255,255,0.3);
  filter: drop-shadow(0 4px 16px rgba(184,152,106,0.4));
}
.diamond-wrap {
  display: flex; align-items: center; justify-content: center;
  animation: rotateDiamond 10s linear infinite;
}
@keyframes rotateDiamond {
  from { transform: rotateY(0deg) rotateZ(0deg); }
  to   { transform: rotateY(360deg) rotateZ(10deg); }
}
@keyframes diamondShimmer {
  0%,100% { filter: drop-shadow(0 4px 16px rgba(184,152,106,0.4)) brightness(1); }
  50%     { filter: drop-shadow(0 4px 32px rgba(184,152,106,0.8)) brightness(1.2); }
}

/* ── Category Cards ──────────────────────────────────────── */
.categories-section { padding: 6rem 0; background: var(--ivory); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.category-card {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4; cursor: pointer;
  background: var(--parchment);
}
.category-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-luxury);
}
.category-card:hover img { transform: scale(1.08); }
.category-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,20,16,0.7) 0%, rgba(26,20,16,0.1) 60%, transparent 100%);
  transition: background 0.4s;
}
.category-card:hover .category-card-overlay {
  background: linear-gradient(to top, rgba(26,20,16,0.8) 0%, rgba(26,20,16,0.2) 60%, transparent 100%);
}
.category-card-body {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1.75rem;
  transform: translateY(0.5rem); transition: transform 0.4s;
}
.category-card:hover .category-card-body { transform: translateY(0); }
.category-card-body .eyebrow { color: var(--gold-light); margin-bottom: 0.4rem; }
.category-card-body h3 { font-family: var(--ff-display); font-size: 1.4rem; color: var(--white); font-weight: 400; margin-bottom: 0.75rem; }
.category-card-body .btn { opacity: 0; transform: translateY(8px); transition: all 0.3s 0.1s; padding: 0.5rem 1.25rem; font-size: 0.7rem; }
.category-card:hover .category-card-body .btn { opacity: 1; transform: translateY(0); }

/* ── Gemstone Section ────────────────────────────────────── */
.gemstone-section { padding: 5rem 0; background: var(--parchment); }
.gemstone-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.gemstone-card {
  text-align: center; cursor: pointer;
  padding: 1.5rem 1rem;
  border: 1px solid transparent;
  transition: all 0.3s;
  background: var(--white);
}
.gemstone-card:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); transform: translateY(-4px); }
.gem-swatch {
  width: 64px; height: 64px; border-radius: 50%;
  margin: 0 auto 1rem;
  position: relative; overflow: hidden;
}
.gem-swatch::after {
  content: ''; position: absolute;
  top: 15%; left: 25%; width: 30%; height: 25%;
  background: rgba(255,255,255,0.5); border-radius: 50%;
  transform: rotate(-30deg);
}
.gem-ruby    { background: radial-gradient(circle at 35% 35%, #ff6b6b, #8B0000); }
.gem-emerald { background: radial-gradient(circle at 35% 35%, #6bcb77, #1B5E20); }
.gem-sapphire{ background: radial-gradient(circle at 35% 35%, #74b9ff, #003580); }
.gem-diamond { background: radial-gradient(circle at 35% 35%, #f5f5f5, #9E9E9E); }
.gem-malachite{ background: radial-gradient(circle at 35% 35%, #69b578, #1B5E20 40%, #000 100%); }
.gem-rainbow { background: conic-gradient(from 0deg, #ff6b6b, #ffd93d, #6bcb77, #74b9ff, #a29bfe, #ff6b6b); }
.gemstone-card h4 { font-family: var(--ff-display); font-size: 1rem; font-weight: 500; margin-bottom: 0.25rem; }
.gemstone-card span { font-size: 0.75rem; color: var(--muted); }

/* ── Product Cards ───────────────────────────────────────── */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: box-shadow 0.4s, transform 0.4s;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.product-card-image {
  position: relative; aspect-ratio: 1;
  overflow: hidden; background: var(--parchment);
}
.product-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-luxury);
}
.product-card:hover .product-card-image img { transform: scale(1.08); }
.product-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--gold); color: var(--white);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem; text-transform: uppercase;
}
.product-badge.new { background: var(--espresso); }
.product-actions {
  position: absolute; right: 1rem; top: 1rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  transform: translateX(48px); transition: transform 0.3s var(--ease-luxury);
}
.product-card:hover .product-actions { transform: translateX(0); }
.product-action-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--espresso);
  transition: all 0.2s; cursor: pointer;
}
.product-action-btn:hover { background: var(--gold); color: var(--white); }
.product-action-btn.wishlisted { color: #e74c3c; }

.product-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.4rem; }
.product-gem { font-size: 0.7rem; color: var(--gold); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.product-rating { display: flex; align-items: center; gap: 0.3rem; font-size: 0.78rem; color: var(--muted); }
.product-rating i { color: #F5C518; font-size: 0.7rem; }
.product-name { font-family: var(--ff-display); font-size: 1rem; font-weight: 500; line-height: 1.3; margin-bottom: 0.75rem; color: var(--espresso); }
.product-name a:hover { color: var(--gold); }
.product-pricing { display: flex; align-items: baseline; gap: 0.6rem; margin-top: auto; padding-top: 0.75rem; border-top: 1px solid var(--border); }
.product-price { font-family: var(--ff-display); font-size: 1.1rem; font-weight: 600; color: var(--espresso); }
.product-original { font-size: 0.85rem; color: var(--muted); text-decoration: line-through; }
.product-discount { font-size: 0.75rem; color: var(--success); font-weight: 500; }
.product-atc {
  width: 100%; margin-top: 0.875rem; padding: 0.75rem;
  background: var(--espresso); color: var(--white);
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
  border: none; cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--ff-body);
}
.product-atc:hover { background: var(--gold); transform: none; }
.product-atc.added { background: var(--success); }

/* ── Products Grid ───────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ── Featured / Sections ─────────────────────────────────── */
.section-pad { padding: 5.5rem 0; }
.section-pad-sm { padding: 4rem 0; }

.featured-section { background: var(--ivory); }
.newarrivals-section { background: var(--parchment); }
.bestsellers-section { background: var(--white); }

/* ── Collection Cards ────────────────────────────────────── */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.collection-card {
  position: relative; overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
}
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-luxury); }
.collection-card:hover img { transform: scale(1.06); }
.collection-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,20,16,0.65) 0%, rgba(26,20,16,0.2) 100%);
  display: flex; align-items: center; padding: 2.5rem;
  transition: background 0.4s;
}
.collection-card:hover .collection-overlay { background: linear-gradient(135deg, rgba(26,20,16,0.78) 0%, rgba(26,20,16,0.3) 100%); }
.collection-body .eyebrow { color: var(--gold-light); margin-bottom: 0.6rem; display: block; }
.collection-body h3 { font-family: var(--ff-display); font-size: 1.8rem; color: var(--white); font-weight: 300; margin-bottom: 1rem; }
.collection-body .btn { opacity: 0; transform: translateY(6px); transition: all 0.3s; }
.collection-card:hover .collection-body .btn { opacity: 1; transform: translateY(0); }

/* ── 3D Diamond Hero Panel ───────────────────────────────── */
.diamond-panel {
  padding: 5rem 0;
  background: var(--espresso);
  text-align: center; overflow: hidden; position: relative;
}
.diamond-panel::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(184,152,106,0.12) 0%, transparent 65%);
}
.diamond-panel .eyebrow { color: var(--gold); }
.diamond-panel h2 { color: var(--white); margin: 1rem 0 0.75rem; }
.diamond-panel p { color: rgba(255,255,255,0.55); max-width: 480px; margin: 0 auto 2.5rem; }

/* ── Trust Section ───────────────────────────────────────── */
.trust-section { padding: 4rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.trust-item { text-align: center; }
.trust-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--parchment); color: var(--gold);
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  border: 1px solid var(--border);
}
.trust-item h4 { font-family: var(--ff-display); font-size: 1rem; font-weight: 500; margin-bottom: 0.3rem; }
.trust-item p { font-size: 0.82rem; color: var(--muted); }

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-section { padding: 5.5rem 0; background: var(--ivory); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card {
  background: var(--white); border: 1px solid var(--border);
  padding: 2rem; position: relative;
}
.testimonial-card::before {
  content: '"'; font-family: var(--ff-display); font-size: 4rem;
  color: var(--gold); opacity: 0.3; line-height: 1;
  position: absolute; top: 1rem; right: 1.5rem;
}
.testimonial-stars { color: #F5C518; font-size: 0.85rem; margin-bottom: 1rem; letter-spacing: 0.1em; }
.testimonial-text { font-family: var(--ff-display); font-size: 1rem; font-style: italic; line-height: 1.7; color: var(--ink); margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--parchment); }
.testimonial-info strong { font-size: 0.85rem; font-weight: 600; display: block; }
.testimonial-info span { font-size: 0.75rem; color: var(--muted); }

/* ── Newsletter ──────────────────────────────────────────── */
.newsletter-section {
  padding: 5rem 0;
  background: var(--espresso);
  text-align: center; position: relative; overflow: hidden;
}
.newsletter-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23B8986A' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.newsletter-section .eyebrow { color: var(--gold); }
.newsletter-section h2 { color: var(--white); margin: 0.75rem 0 0.75rem; }
.newsletter-section p { color: rgba(255,255,255,0.55); margin-bottom: 2rem; }
.newsletter-form { display: flex; max-width: 480px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(184,152,106,0.3);
  border-right: none; color: var(--white); font-size: 0.9rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form button { padding: 1rem 1.75rem; background: var(--gold); color: var(--white); border: none; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background 0.2s; font-family: var(--ff-body); }
.newsletter-form button:hover { background: var(--gold-dark); }

/* ── Footer ──────────────────────────────────────────────── */
#site-footer { background: #120F0C; color: rgba(255,255,255,0.6); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand h3 { font-family: var(--ff-display); font-size: 1.6rem; color: var(--white); margin-bottom: 0.25rem; letter-spacing: 0.08em; }
.footer-brand .logo-sub { font-size: 0.6rem; letter-spacing: 0.3em; color: var(--gold); font-weight: 500; text-transform: uppercase; display: block; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-social a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: all 0.2s; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h4 { font-family: var(--ff-display); font-size: 0.9rem; font-weight: 600; color: var(--white); letter-spacing: 0.08em; margin-bottom: 1.25rem; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.82rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact p { font-size: 0.82rem; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-contact i { color: var(--gold); width: 14px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 0; font-size: 0.78rem; flex-wrap: wrap; gap: 0.75rem; }
.footer-payments { display: flex; gap: 0.5rem; align-items: center; }
.payment-icon { background: rgba(255,255,255,0.08); border-radius: 3px; padding: 0.25rem 0.5rem; font-size: 0.7rem; color: rgba(255,255,255,0.6); }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb-bar { padding: 1rem 0; border-bottom: 1px solid var(--border); background: var(--white); }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--espresso); }

/* ── Page Header ─────────────────────────────────────────── */
.page-header {
  background: var(--parchment);
  padding: 3rem 0; text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-header h1 { margin-bottom: 0.5rem; }
.page-header p { color: var(--muted); }

/* ── Product Listing Layout ──────────────────────────────── */
.listing-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; padding: 3rem 0; }
.filters-sidebar { position: sticky; top: 100px; height: fit-content; }
.filter-group { padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.filter-group:first-child { padding-top: 0; }
.filter-group h4 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--espresso); margin-bottom: 0.875rem; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.filter-group h4 i { font-size: 0.7rem; transition: transform 0.2s; }
.filter-group.collapsed h4 i { transform: rotate(-90deg); }
.filter-options { display: flex; flex-direction: column; gap: 0.5rem; }
.filter-option { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; font-size: 0.85rem; color: var(--muted); transition: color 0.2s; }
.filter-option input[type="checkbox"] { accent-color: var(--gold); width: 14px; height: 14px; }
.filter-option:hover { color: var(--espresso); }
.filter-option.active { color: var(--gold); }
.filter-count { margin-left: auto; font-size: 0.75rem; color: var(--muted); }

/* Price Range */
.price-range-inputs { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.price-range-inputs input { flex: 1; border: 1px solid var(--border); padding: 0.5rem; font-size: 0.82rem; text-align: center; color: var(--espresso); background: var(--white); }
.price-range-inputs span { color: var(--muted); font-size: 0.8rem; }

/* Listing Products Area */
.listing-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.75rem; }
.listing-count { font-size: 0.85rem; color: var(--muted); }
.sort-select {
  border: 1px solid var(--border); padding: 0.5rem 1rem;
  font-size: 0.82rem; color: var(--espresso); background: var(--white);
  cursor: pointer; min-width: 200px;
}
.products-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.page-btn {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); font-size: 0.85rem; color: var(--muted);
  cursor: pointer; transition: all 0.2s; background: var(--white);
}
.page-btn.active { background: var(--gold); border-color: var(--gold); color: var(--white); }
.page-btn:hover:not(.active) { border-color: var(--gold); color: var(--gold); }

/* ── Product Detail Page ─────────────────────────────────── */
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding: 3rem 0; }
.gallery-main { position: relative; overflow: hidden; background: var(--parchment); aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-main:hover img { transform: scale(1.05); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-top: 0.75rem; }
.gallery-thumb { aspect-ratio: 1; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s; background: var(--parchment); }
.gallery-thumb.active { border-color: var(--gold); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info .product-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 400; line-height: 1.2; margin-bottom: 0.75rem; }
.product-info .product-category { font-size: 0.75rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; }
.product-info .product-price-row { display: flex; align-items: baseline; gap: 1rem; margin: 1.25rem 0; padding: 1.25rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.product-info .price-main { font-family: var(--ff-display); font-size: 2rem; font-weight: 600; }
.product-info .price-original { font-size: 1.1rem; color: var(--muted); text-decoration: line-through; }
.product-info .price-off { font-size: 0.85rem; color: var(--success); background: rgba(45,106,79,0.1); padding: 0.2rem 0.6rem; font-weight: 500; }

.selector-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; display: block; }
.size-options { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.size-btn {
  width: 44px; height: 44px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; cursor: pointer; transition: all 0.2s;
  color: var(--muted); background: var(--white);
}
.size-btn.active, .size-btn:hover { border-color: var(--gold); color: var(--gold); }
.size-btn.active { background: var(--gold); color: var(--white); }

.qty-selector { display: flex; align-items: center; border: 1px solid var(--border); width: fit-content; }
.qty-btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1rem; color: var(--muted); transition: all 0.2s; background: none; border: none; }
.qty-btn:hover { color: var(--gold); }
.qty-input { width: 56px; height: 44px; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); text-align: center; font-size: 0.9rem; color: var(--espresso); background: none; }

.product-ctas { display: grid; grid-template-columns: 1fr auto; gap: 0.75rem; margin-top: 1.5rem; }
.btn-wishlist { width: 52px; height: 52px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--muted); transition: all 0.2s; font-size: 1rem; }
.btn-wishlist:hover { border-color: #e74c3c; color: #e74c3c; }

.delivery-check { margin-top: 1.25rem; display: flex; border: 1px solid var(--border); }
.delivery-check input { flex: 1; padding: 0.75rem 1rem; border: none; font-size: 0.85rem; background: none; color: var(--espresso); }
.delivery-check button { padding: 0.75rem 1.25rem; background: none; border: none; border-left: 1px solid var(--border); font-size: 0.78rem; color: var(--gold); font-weight: 500; cursor: pointer; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--ff-body); }

.specs-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table td { padding: 0.75rem 0; font-size: 0.85rem; }
.specs-table td:first-child { color: var(--muted); width: 45%; }
.specs-table td:last-child { color: var(--espresso); font-weight: 500; }

.cert-badge { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; border: 1px solid var(--border); background: var(--parchment); margin-top: 0.75rem; }
.cert-badge i { color: var(--gold); font-size: 1.2rem; }
.cert-badge div strong { font-size: 0.85rem; display: block; margin-bottom: 0.2rem; }
.cert-badge div span { font-size: 0.78rem; color: var(--muted); }

/* ── Cart Page ───────────────────────────────────────────── */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; padding: 2.5rem 0; }
.cart-items-list { display: flex; flex-direction: column; gap: 0; }
.cart-item { display: grid; grid-template-columns: 100px 1fr auto; gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border); align-items: start; }
.cart-item-img { aspect-ratio: 1; overflow: hidden; background: var(--parchment); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-family: var(--ff-display); font-size: 1rem; font-weight: 500; margin-bottom: 0.3rem; }
.cart-item-meta { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.75rem; }
.cart-qty { display: flex; align-items: center; border: 1px solid var(--border); width: fit-content; }
.cart-qty button { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: var(--muted); transition: color 0.2s; }
.cart-qty button:hover { color: var(--gold); }
.cart-qty input { width: 44px; height: 32px; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); text-align: center; font-size: 0.85rem; background: none; color: var(--espresso); }
.cart-item-price { font-family: var(--ff-display); font-size: 1.1rem; font-weight: 600; white-space: nowrap; }
.cart-item-remove { display: block; font-size: 0.75rem; color: var(--muted); text-decoration: underline; margin-top: 0.5rem; cursor: pointer; background: none; border: none; font-family: var(--ff-body); }
.cart-item-remove:hover { color: var(--error); }

.cart-coupon { display: flex; margin-top: 1.5rem; border: 1px solid var(--border); }
.cart-coupon input { flex: 1; padding: 0.875rem 1rem; border: none; font-size: 0.85rem; background: none; color: var(--espresso); }
.cart-coupon button { padding: 0.875rem 1.5rem; background: var(--espresso); color: var(--white); border: none; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; font-family: var(--ff-body); transition: background 0.2s; }
.cart-coupon button:hover { background: var(--gold); }

.order-summary { background: var(--parchment); padding: 1.75rem; border: 1px solid var(--border); position: sticky; top: 100px; }
.order-summary h3 { font-family: var(--ff-display); font-size: 1.2rem; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.summary-row { display: flex; justify-content: space-between; font-size: 0.875rem; margin-bottom: 0.75rem; }
.summary-row.total { padding-top: 0.875rem; margin-top: 0.125rem; border-top: 1px solid var(--border); font-weight: 600; font-size: 1rem; font-family: var(--ff-display); }
.summary-row .discount { color: var(--success); }

/* ── Checkout ─────────────────────────────────────────────── */
.checkout-steps {
  display: flex; align-items: center; justify-content: center;
  gap: 0; padding: 2rem 0; border-bottom: 1px solid var(--border);
}
.checkout-step { display: flex; align-items: center; gap: 0.5rem; }
.step-num { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 600; color: var(--muted); transition: all 0.3s; }
.checkout-step.active .step-num { border-color: var(--gold); background: var(--gold); color: var(--white); }
.checkout-step.done .step-num { border-color: var(--success); background: var(--success); color: var(--white); }
.step-label { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.checkout-step.active .step-label { color: var(--gold); }
.step-divider { width: 60px; height: 1px; background: var(--border); margin: 0 0.75rem; }

.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; padding: 2.5rem 0; }
.form-section-title { font-family: var(--ff-display); font-size: 1.2rem; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.form-grid.single { grid-template-columns: 1fr; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--border); padding: 0.875rem 1rem;
  font-size: 0.9rem; color: var(--espresso); background: var(--white);
  transition: border-color 0.2s;
}
.form-field input:focus, .form-field select:focus { border-color: var(--gold); }
.form-field.error input { border-color: var(--error); }
.field-error { font-size: 0.75rem; color: var(--error); margin-top: 0.25rem; }

.payment-methods { display: flex; flex-direction: column; gap: 0.75rem; }
.payment-method {
  border: 1px solid var(--border); padding: 1rem 1.25rem;
  cursor: pointer; display: flex; align-items: center; gap: 1rem;
  transition: border-color 0.2s;
}
.payment-method.selected { border-color: var(--gold); background: rgba(184,152,106,0.04); }
.payment-method input[type="radio"] { accent-color: var(--gold); }
.payment-method-label { font-size: 0.875rem; font-weight: 500; }
.payment-method-icons { margin-left: auto; display: flex; gap: 0.35rem; font-size: 1.2rem; color: var(--muted); }

/* ── Order Confirmation ──────────────────────────────────── */
.order-success { text-align: center; padding: 4rem 2rem; max-width: 640px; margin: 0 auto; }
.success-animation {
  width: 90px; height: 90px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  margin: 0 auto 2rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: var(--white);
  animation: successPop 0.5s var(--ease-spring);
  box-shadow: 0 0 0 0 rgba(184,152,106,0.4);
  animation: successPop 0.5s var(--ease-spring), pulse 2s 0.5s ease-in-out 3;
}
@keyframes successPop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(184,152,106,0.4); } 70% { box-shadow: 0 0 0 24px rgba(184,152,106,0); } 100% { box-shadow: 0 0 0 0 rgba(184,152,106,0); } }
.order-id { display: inline-block; background: var(--parchment); padding: 0.5rem 1.5rem; font-family: var(--ff-display); font-size: 1rem; font-weight: 500; margin: 1.25rem 0; border: 1px solid var(--border); }
.order-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0; text-align: left; }
.order-detail-card { background: var(--parchment); padding: 1.25rem; border: 1px solid var(--border); }
.order-detail-card h4 { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.order-detail-card p { font-size: 0.875rem; line-height: 1.6; }

/* ── Scroll Reveal ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-luxury), transform 0.7s var(--ease-luxury); }
.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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Loader ──────────────────────────────────────────────── */
#page-loader {
  position: fixed; inset: 0; background: var(--espresso); z-index: 9999;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1.5rem;
  transition: opacity 0.6s, visibility 0.6s;
}
#page-loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { font-family: var(--ff-display); font-size: 2.5rem; color: var(--white); letter-spacing: 0.12em; }
.loader-logo span { color: var(--gold); }
.loader-bar { width: 120px; height: 1px; background: rgba(255,255,255,0.15); position: relative; overflow: hidden; }
.loader-bar::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--gold); animation: loadBar 1.5s ease-in-out forwards; }
@keyframes loadBar { to { left: 0; } }

/* ── Toast ───────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9000;
  background: var(--espresso); color: var(--white);
  padding: 1rem 1.5rem; box-shadow: var(--shadow-hover);
  display: flex; align-items: center; gap: 0.75rem;
  transform: translateY(100px); opacity: 0;
  transition: all 0.3s var(--ease-spring); pointer-events: none;
  min-width: 280px;
}
.toast.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.toast i { color: var(--gold); font-size: 1.1rem; }
.toast-text strong { display: block; font-size: 0.875rem; margin-bottom: 0.15rem; }
.toast-text span { font-size: 0.78rem; color: rgba(255,255,255,0.6); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .gemstone-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 1024px) {
  .header-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .header-logo { order: 2; text-align: center; }
  .header-actions { order: 3; }
  .listing-layout { grid-template-columns: 1fr; }
  .filters-sidebar { position: static; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .collections-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 0 1.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .checkout-steps { gap: 0; }
  .step-divider { width: 32px; }
  .step-label { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .gemstone-grid { grid-template-columns: repeat(3, 1fr); }
  .order-details-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .gemstone-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .hero-controls { right: 1.5rem; }
}
