/* ============================================
   HEAVEN JEWELS BOUTIQUE — DESIGN SYSTEM
   Niche: Jewelry & Accessories
   Palette: Deep navy, gold, ivory, soft champagne
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--color-text-primary); background: var(--color-bg); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul { list-style: none; }
table { border-collapse: collapse; width: 100%; }

:root {
  --color-bg: #FBF9F7;
  --color-surface: #FFFFFF;
  --color-surface-alt: #F5F0EB;
  --color-border: #E5DDD5;
  --color-text-primary: #1A2238;
  --color-text-secondary: #4A526B;
  --color-text-muted: #8A92A8;
  --color-accent: #B8860B;
  --color-accent-hover: #9A7309;
  --color-accent-fg: #FFFFFF;
  --color-accent-soft: #F5E6C8;
  --color-gold: #C9A961;
  --color-gold-soft: #F0E6CE;
  --color-navy: #1A2238;
  --color-champagne: #F7E7CE;
  --color-success: #4A7C59;
  --color-warning: #D4923A;
  --color-error: #C44545;
  --color-dark: #1A2238;
  --color-cream: #FBF9F7;

  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(26,34,56,0.08);
  --shadow-md: 0 4px 12px rgba(26,34,56,0.10);
  --shadow-lg: 0 12px 40px rgba(26,34,56,0.14);

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  --container-max: 1280px;
  --header-height: 72px;
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-md); }
@media (min-width: 768px) { .container { padding: 0 var(--space-lg); } }
@media (min-width: 1024px) { .container { padding: 0 var(--space-xl); } }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; color: var(--color-text-primary); }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
@media (min-width: 768px) { h1 { font-size: 3rem; } h2 { font-size: 2.2rem; } h3 { font-size: 1.6rem; } }
p { margin-bottom: var(--space-md); }
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-secondary { color: var(--color-text-secondary); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); padding: 12px 28px; font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; border-radius: var(--radius-sm); transition: all var(--transition-base); cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--color-accent); color: var(--color-accent-fg); }
.btn-primary:hover { background: var(--color-accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--color-navy); color: #fff; }
.btn-secondary:hover { background: #0F1525; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--color-text-primary); border: 1px solid var(--color-border); }
.btn-ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn-gold { background: var(--color-gold); color: #fff; }
.btn-gold:hover { background: #b0924a; transform: translateY(-1px); }
.btn-lg { padding: 16px 40px; font-size: 0.95rem; }
.btn-sm { padding: 8px 18px; font-size: 0.75rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.badge { display: inline-flex; align-items: center; padding: 3px 10px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; border-radius: var(--radius-full); }
.badge-sale { background: var(--color-accent); color: #fff; }
.badge-new { background: var(--color-success); color: #fff; }
.badge-out { background: var(--color-text-muted); color: #fff; }
.badge-gold { background: var(--color-gold); color: #fff; }

.announcement-bar { background: var(--color-navy); color: #fff; text-align: center; padding: 8px var(--space-md); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 400; }
.announcement-bar span { display: inline-block; margin: 0 var(--space-md); }
.announcement-bar .sep { color: var(--color-gold); }

.nav { position: sticky; top: 0; z-index: 100; background: var(--color-surface); border-bottom: 1px solid var(--color-border); transition: box-shadow var(--transition-base); }
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); gap: var(--space-md); }
.nav-logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--color-text-primary); letter-spacing: 0.02em; white-space: nowrap; }
.nav-logo span { color: var(--color-gold); }
.nav-links { display: none; align-items: center; gap: var(--space-lg); }
.nav-links a { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-secondary); transition: color var(--transition-fast); position: relative; }
.nav-links a:hover { color: var(--color-accent); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--color-accent); transition: width var(--transition-base); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: var(--space-md); }
.nav-icon-btn { position: relative; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--color-text-primary); transition: color var(--transition-fast); }
.nav-icon-btn:hover { color: var(--color-accent); }
.nav-icon-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 2px; right: 2px; background: var(--color-accent); color: #fff; font-size: 0.65rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.cart-count:empty, .cart-count[data-count="0"] { display: none; }

.hamburger { width: 40px; height: 40px; display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--color-text-primary); transition: all var(--transition-base); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) { .hamburger { display: flex; } .nav-links { display: none; } }
@media (min-width: 1024px) { .nav-links { display: flex; } .hamburger { display: none; } }

.mobile-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--color-surface); z-index: 99; transform: translateX(-100%); transition: transform var(--transition-slow); display: flex; flex-direction: column; padding: var(--header-height) var(--space-xl) var(--space-2xl); }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { font-family: var(--font-heading); font-size: 1.4rem; color: var(--color-text-primary); padding: var(--space-md) 0; border-bottom: 1px solid var(--color-border); transition: color var(--transition-fast); }
.mobile-menu a:hover { color: var(--color-accent); padding-left: var(--space-sm); }
.mobile-menu .mobile-social { display: flex; gap: var(--space-md); margin-top: var(--space-xl); }

.search-wrap { position: relative; }
.search-bar { display: none; position: absolute; top: calc(100% + 8px); right: 0; width: 320px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-md); box-shadow: var(--shadow-lg); z-index: 101; }
.search-bar.open { display: block; }
.search-bar input { width: 100%; padding: 10px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 0.9rem; }
.search-bar input:focus { border-color: var(--color-accent); outline: none; }
.search-results { margin-top: var(--space-sm); max-height: 400px; overflow-y: auto; }
.search-item { display: flex; gap: var(--space-md); padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-border); align-items: center; transition: background var(--transition-fast); }
.search-item:hover { background: var(--color-surface-alt); }
.search-item img { width: 50px; height: 50px; object-fit: cover; border-radius: var(--radius-sm); }
.search-item-info h4 { font-size: 0.85rem; font-family: var(--font-body); font-weight: 500; }
.search-item-info p { font-size: 0.8rem; color: var(--color-accent); margin: 0; }
@media (min-width: 768px) { .search-bar { width: 400px; } }

.hero { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,34,56,0.6) 0%, rgba(26,34,56,0.3) 50%, rgba(184,134,11,0.2) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; padding: var(--space-2xl) var(--space-md); max-width: 640px; }
.hero-eyebrow { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-gold); margin-bottom: var(--space-md); font-weight: 500; }
.hero-title { font-size: 2.8rem; color: #fff; line-height: 1.1; margin-bottom: var(--space-md); }
.hero-subtitle { font-size: 1.05rem; color: rgba(255,255,255,0.9); margin-bottom: var(--space-xl); max-width: 480px; }
.hero-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; }
@media (min-width: 768px) { .hero { min-height: 600px; } .hero-title { font-size: 4rem; } .hero-content { padding: var(--space-3xl) var(--space-xl); } }

.section { padding: var(--space-2xl) 0; }
.section-alt { background: var(--color-surface-alt); }
.section-dark { background: var(--color-navy); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-header { text-align: center; margin-bottom: var(--space-xl); }
.section-title { font-size: 2rem; margin-bottom: var(--space-sm); }
.section-subtitle { color: var(--color-text-secondary); font-size: 1rem; max-width: 600px; margin: 0 auto; }
.section-eyebrow { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--space-sm); font-weight: 500; }
@media (min-width: 768px) { .section { padding: var(--space-3xl) 0; } .section-title { font-size: 2.5rem; } }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--space-md); }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); } }

.product-card { background: var(--color-surface); border-radius: var(--radius-md); overflow: hidden; transition: transform var(--transition-base), box-shadow var(--transition-base); position: relative; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card-img { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--color-surface-alt); }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-badges { position: absolute; top: var(--space-sm); left: var(--space-sm); display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.product-card-quick-add { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,0.95); padding: var(--space-sm); transform: translateY(100%); transition: transform var(--transition-base); z-index: 2; }
.product-card:hover .product-card-quick-add { transform: translateY(0); }
.product-card-quick-add .btn { width: 100%; }
.product-card-info { padding: var(--space-md); flex: 1; display: flex; flex-direction: column; }
.product-card-title { font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; color: var(--color-text-primary); margin-bottom: 4px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-vendor { font-size: 0.7rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.product-card-price { display: flex; align-items: baseline; gap: var(--space-sm); margin-top: auto; }
.product-card-price .price { font-family: var(--font-mono); font-size: 0.95rem; font-weight: 600; color: var(--color-accent); }
.product-card-price .compare-price { font-family: var(--font-mono); font-size: 0.8rem; color: var(--color-text-muted); text-decoration: line-through; }
.product-card-rating { display: flex; align-items: center; gap: 4px; margin-bottom: var(--space-sm); }
.product-card-rating .stars { color: var(--color-gold); font-size: 0.75rem; }

.collection-card { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius-md); display: block; }
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.collection-card:hover img { transform: scale(1.08); }
.collection-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,34,56,0.7) 0%, rgba(26,34,56,0.1) 60%); display: flex; align-items: flex-end; padding: var(--space-lg); }
.collection-card-title { color: #fff; font-size: 1.4rem; font-family: var(--font-heading); }
.collection-card-count { color: rgba(255,255,255,0.8); font-size: 0.8rem; margin-top: 4px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--space-xs); align-items: center; padding: var(--space-md) 0; font-size: 0.8rem; color: var(--color-text-muted); }
.breadcrumb a { color: var(--color-text-secondary); transition: color var(--transition-fast); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb-sep { color: var(--color-text-muted); }

.product-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); padding: var(--space-lg) 0 var(--space-2xl); }
@media (min-width: 768px) { .product-layout { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); padding: var(--space-xl) 0 var(--space-3xl); } }
@media (min-width: 1024px) { .product-layout { grid-template-columns: 1.2fr 1fr; } }

.product-gallery { position: sticky; top: calc(var(--header-height) + var(--space-md)); }
.gallery-main-wrap { position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: var(--radius-md); background: var(--color-surface-alt); margin-bottom: var(--space-md); }
.gallery-main-wrap img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform var(--transition-base); }
.gallery-main-wrap.zoomed img { transform: scale(2); cursor: zoom-out; }
.gallery-thumbs { display: flex; gap: var(--space-sm); overflow-x: auto; padding-bottom: var(--space-xs); }
.gallery-thumb { width: 72px; height: 72px; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; cursor: pointer; flex-shrink: 0; transition: border-color var(--transition-fast); }
.gallery-thumb.active { border-color: var(--color-accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info { padding: 0; }
.product-vendor { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-muted); margin-bottom: var(--space-sm); }
.product-title { font-size: 1.8rem; line-height: 1.2; margin-bottom: var(--space-sm); }
@media (min-width: 768px) { .product-title { font-size: 2.2rem; } }
.product-rating-row { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-md); }
.product-rating-row .stars { color: var(--color-gold); font-size: 0.9rem; }
.product-rating-row .count { font-size: 0.8rem; color: var(--color-text-muted); }
.product-price-wrap { display: flex; align-items: baseline; gap: var(--space-md); margin-bottom: var(--space-lg); }
.product-price { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; color: var(--color-accent); }
.product-compare-price { font-family: var(--font-mono); font-size: 1.1rem; color: var(--color-text-muted); text-decoration: line-through; }
.product-save-badge { background: var(--color-accent-soft); color: var(--color-accent); padding: 3px 10px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; }

.option-group { margin-bottom: var(--space-lg); }
.option-label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-secondary); margin-bottom: var(--space-sm); display: flex; justify-content: space-between; }
.option-label .selected-value { color: var(--color-accent); font-weight: 500; }
.option-btns { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.option-btn { padding: 8px 18px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 0.85rem; color: var(--color-text-primary); transition: all var(--transition-fast); background: var(--color-surface); }
.option-btn:hover { border-color: var(--color-accent); }
.option-btn.active { border-color: var(--color-accent); background: var(--color-accent); color: #fff; }
.option-btn.unavailable { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }

.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--radius-sm); overflow: hidden; }
.qty-btn { width: 40px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--color-text-secondary); transition: background var(--transition-fast); }
.qty-btn:hover { background: var(--color-surface-alt); color: var(--color-accent); }
.qty-input { width: 50px; height: 44px; text-align: center; border: none; border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border); font-size: 0.95rem; font-weight: 600; }
.qty-input:focus { outline: none; }

.product-actions { display: flex; flex-direction: column; gap: var(--space-md); margin-bottom: var(--space-lg); }
@media (min-width: 480px) { .product-actions { flex-direction: row; } }
.product-actions .btn { flex: 1; }
.availability-msg { display: flex; align-items: center; gap: var(--space-sm); font-size: 0.85rem; margin-bottom: var(--space-md); }
.availability-msg.in-stock { color: var(--color-success); }
.availability-msg.out-stock { color: var(--color-error); }
.availability-msg::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.product-short-desc { color: var(--color-text-secondary); font-size: 0.95rem; line-height: 1.7; margin-bottom: var(--space-lg); padding-bottom: var(--space-lg); border-bottom: 1px solid var(--color-border); }

.product-accordions { margin-bottom: var(--space-xl); }
.accordion { border-bottom: 1px solid var(--color-border); }
.accordion-header { display: flex; justify-content: space-between; align-items: center; padding: var(--space-md) 0; cursor: pointer; font-weight: 500; font-size: 0.95rem; color: var(--color-text-primary); }
.accordion-header:hover { color: var(--color-accent); }
.accordion-icon { transition: transform var(--transition-base); font-size: 1.2rem; color: var(--color-text-muted); }
.accordion.open .accordion-icon { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height var(--transition-slow); }
.accordion.open .accordion-body { max-height: 800px; }
.accordion-body-inner { padding: 0 0 var(--space-md); color: var(--color-text-secondary); font-size: 0.9rem; line-height: 1.7; }
.accordion-body-inner ul { padding-left: var(--space-lg); list-style: disc; margin-bottom: var(--space-sm); }
.accordion-body-inner li { margin-bottom: 4px; }

.sticky-atc { position: fixed; bottom: 0; left: 0; right: 0; background: var(--color-surface); border-top: 1px solid var(--color-border); box-shadow: 0 -4px 12px rgba(0,0,0,0.08); padding: var(--space-sm) var(--space-md); z-index: 90; transform: translateY(100%); transition: transform var(--transition-base); display: flex; align-items: center; gap: var(--space-md); }
.sticky-atc.visible { transform: translateY(0); }
.sticky-atc-product { display: flex; align-items: center; gap: var(--space-sm); flex: 1; min-width: 0; }
.sticky-atc-product img { width: 48px; height: 48px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.sticky-atc-product .info { min-width: 0; }
.sticky-atc-product .info h4 { font-size: 0.8rem; font-family: var(--font-body); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-atc-product .info .price { font-size: 0.85rem; color: var(--color-accent); font-weight: 600; font-family: var(--font-mono); }

.reviews-section { padding: var(--space-xl) 0; border-top: 1px solid var(--color-border); }
.reviews-summary { display: flex; flex-wrap: wrap; gap: var(--space-xl); align-items: center; margin-bottom: var(--space-xl); }
.reviews-avg { text-align: center; }
.reviews-avg .score { font-size: 3rem; font-family: var(--font-heading); font-weight: 700; color: var(--color-text-primary); }
.reviews-avg .stars { color: var(--color-gold); font-size: 1.1rem; margin: var(--space-xs) 0; }
.reviews-avg .count { font-size: 0.8rem; color: var(--color-text-muted); }
.reviews-bars { flex: 1; min-width: 200px; }
.rating-bar { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: 6px; }
.rating-bar .label { font-size: 0.8rem; color: var(--color-text-muted); width: 40px; }
.rating-bar .bar { flex: 1; height: 6px; background: var(--color-surface-alt); border-radius: var(--radius-full); overflow: hidden; }
.rating-bar .bar-fill { height: 100%; background: var(--color-gold); border-radius: var(--radius-full); }
.rating-bar .pct { font-size: 0.75rem; color: var(--color-text-muted); width: 36px; text-align: right; }
.review-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-lg); margin-bottom: var(--space-md); }
.review-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: var(--space-sm); }
.review-author { font-weight: 600; font-size: 0.9rem; }
.review-verified { font-size: 0.7rem; color: var(--color-success); display: flex; align-items: center; gap: 4px; }
.review-title { font-size: 0.9rem; font-weight: 600; margin-bottom: var(--space-xs); }
.review-body { font-size: 0.85rem; color: var(--color-text-secondary); line-height: 1.6; }
.review-stars { color: var(--color-gold); font-size: 0.8rem; margin-bottom: var(--space-xs); }
.review-date { font-size: 0.75rem; color: var(--color-text-muted); }

.cart-overlay { position: fixed; inset: 0; background: rgba(26,34,56,0.5); z-index: 200; opacity: 0; visibility: hidden; transition: opacity var(--transition-base), visibility var(--transition-base); }
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: 0; width: 100%; max-width: 420px; height: 100vh; background: var(--color-surface); z-index: 201; transform: translateX(100%); transition: transform var(--transition-slow); display: flex; flex-direction: column; }
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-header { display: flex; justify-content: space-between; align-items: center; padding: var(--space-lg); border-bottom: 1px solid var(--color-border); }
.cart-drawer-header h2 { font-size: 1.3rem; }
.cart-close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--color-text-muted); transition: color var(--transition-fast); }
.cart-close:hover { color: var(--color-accent); }
.cart-lines { flex: 1; overflow-y: auto; padding: var(--space-md) var(--space-lg); }
.cart-item { display: flex; gap: var(--space-md); padding: var(--space-md) 0; border-bottom: 1px solid var(--color-border); }
.cart-item img { width: 70px; height: 70px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-title { font-size: 0.85rem; font-weight: 500; margin-bottom: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item-variant { font-size: 0.75rem; color: var(--color-text-muted); margin-bottom: var(--space-sm); }
.cart-item-price { font-size: 0.85rem; color: var(--color-accent); font-weight: 600; font-family: var(--font-mono); }
.cart-item-controls { display: flex; align-items: center; justify-content: space-between; margin-top: var(--space-sm); }
.cart-item-qty { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.cart-item-qty button { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--color-text-secondary); }
.cart-item-qty button:hover { color: var(--color-accent); }
.cart-item-qty span { width: 32px; text-align: center; font-size: 0.85rem; font-weight: 600; }
.cart-item-remove { font-size: 0.75rem; color: var(--color-text-muted); transition: color var(--transition-fast); }
.cart-item-remove:hover { color: var(--color-error); }
.cart-empty { text-align: center; padding: var(--space-2xl) var(--space-lg); color: var(--color-text-muted); }
.cart-empty svg { width: 64px; height: 64px; margin: 0 auto var(--space-md); opacity: 0.3; }
.cart-footer { padding: var(--space-lg); border-top: 1px solid var(--color-border); }
.cart-subtotal { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-sm); font-size: 1rem; }
.cart-subtotal strong { font-family: var(--font-mono); font-size: 1.2rem; color: var(--color-accent); }
.cart-tax-note { font-size: 0.75rem; color: var(--color-text-muted); text-align: center; margin-bottom: var(--space-md); }
.cart-free-ship { font-size: 0.8rem; color: var(--color-success); text-align: center; margin-bottom: var(--space-md); padding: var(--space-sm); background: rgba(74,124,89,0.08); border-radius: var(--radius-sm); }

.toast { position: fixed; bottom: var(--space-xl); left: 50%; transform: translateX(-50%) translateY(100px); background: var(--color-navy); color: #fff; padding: var(--space-md) var(--space-lg); border-radius: var(--radius-md); font-size: 0.9rem; z-index: 300; opacity: 0; transition: all var(--transition-base); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: var(--space-sm); }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast-success { border-left: 4px solid var(--color-success); }
.toast-error { border-left: 4px solid var(--color-error); }

.trust-badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); padding: var(--space-xl) 0; }
@media (min-width: 768px) { .trust-badges { grid-template-columns: repeat(4, 1fr); } }
.trust-item { text-align: center; padding: var(--space-md); }
.trust-item svg { width: 36px; height: 36px; margin: 0 auto var(--space-sm); color: var(--color-accent); }
.trust-item h4 { font-size: 0.9rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 4px; }
.trust-item p { font-size: 0.78rem; color: var(--color-text-muted); margin: 0; }

.footer { background: var(--color-navy); color: rgba(255,255,255,0.7); padding: var(--space-2xl) 0 var(--space-lg); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); margin-bottom: var(--space-xl); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: var(--space-md); }
.footer-logo span { color: var(--color-gold); }
.footer-col h4 { color: #fff; font-size: 0.85rem; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--space-md); }
.footer-col a { display: block; color: rgba(255,255,255,0.6); font-size: 0.85rem; padding: 4px 0; transition: color var(--transition-fast); }
.footer-col a:hover { color: var(--color-gold); }
.footer-col p { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.social-links { display: flex; gap: var(--space-sm); margin-top: var(--space-md); }
.social-links a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; transition: all var(--transition-fast); }
.social-links a:hover { border-color: var(--color-gold); background: var(--color-gold); }
.social-links svg { width: 18px; height: 18px; color: rgba(255,255,255,0.7); }
.social-links a:hover svg { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: var(--space-lg); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-md); font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer-payment-icons { display: flex; gap: var(--space-sm); align-items: center; }
.footer-payment-icons span { font-size: 1.5rem; opacity: 0.6; }

.pagination { display: flex; justify-content: center; gap: var(--space-xs); margin-top: var(--space-xl); }
.pagination-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 0.85rem; color: var(--color-text-secondary); transition: all var(--transition-fast); }
.pagination-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.pagination-btn.active { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.pagination-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.sort-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-lg); flex-wrap: wrap; gap: var(--space-md); }
.sort-bar .result-count { font-size: 0.85rem; color: var(--color-text-muted); }
.sort-bar select { padding: 8px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 0.85rem; background: var(--color-surface); cursor: pointer; }
.sort-bar select:focus { border-color: var(--color-accent); outline: none; }

.collection-hero { position: relative; height: 280px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.collection-hero img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.collection-hero-overlay { position: absolute; inset: 0; background: rgba(26,34,56,0.5); }
.collection-hero-content { position: relative; z-index: 2; text-align: center; padding: var(--space-lg); }
.collection-hero-content h1 { color: #fff; font-size: 2.2rem; }
.collection-hero-content p { color: rgba(255,255,255,0.85); max-width: 600px; margin: var(--space-sm) auto 0; }
@media (min-width: 768px) { .collection-hero { height: 360px; } .collection-hero-content h1 { font-size: 3rem; } }

@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
.fade-in { animation: fadeIn 0.6s ease; }
.slide-up { animation: slideUp 0.6s ease; }

.brand-story { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); align-items: center; }
@media (min-width: 768px) { .brand-story { grid-template-columns: 1fr 1fr; } }
.brand-story-img { aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius-lg); }
.brand-story-img img { width: 100%; height: 100%; object-fit: cover; }
.brand-story-text h2 { margin-bottom: var(--space-md); }
.brand-story-text p { color: var(--color-text-secondary); margin-bottom: var(--space-md); }

.testimonials { display: grid; grid-template-columns: 1fr; gap: var(--space-md); }
@media (min-width: 768px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-lg); }
.testimonial-card .stars { color: var(--color-gold); margin-bottom: var(--space-sm); }
.testimonial-card p { font-size: 0.9rem; color: var(--color-text-secondary); font-style: italic; margin-bottom: var(--space-md); }
.testimonial-card .author { font-weight: 600; font-size: 0.85rem; }
.testimonial-card .location { font-size: 0.78rem; color: var(--color-text-muted); }

.newsletter { text-align: center; padding: var(--space-2xl) var(--space-md); background: var(--color-surface-alt); }
.newsletter h2 { margin-bottom: var(--space-sm); }
.newsletter p { color: var(--color-text-secondary); margin-bottom: var(--space-lg); }
.newsletter-form { display: flex; gap: var(--space-sm); max-width: 480px; margin: 0 auto; flex-direction: column; }
@media (min-width: 480px) { .newsletter-form { flex-direction: row; } }
.newsletter-form input { flex: 1; padding: 12px 18px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 0.9rem; }
.newsletter-form input:focus { border-color: var(--color-accent); outline: none; }

.cart-page { padding: var(--space-xl) 0 var(--space-2xl); }
.cart-page-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); }
@media (min-width: 768px) { .cart-page-layout { grid-template-columns: 1fr 360px; } }
.cart-page-items { background: var(--color-surface); border-radius: var(--radius-md); border: 1px solid var(--color-border); }
.cart-page-item { display: flex; gap: var(--space-md); padding: var(--space-md); border-bottom: 1px solid var(--color-border); }
.cart-page-item:last-child { border-bottom: none; }
.cart-page-item img { width: 100px; height: 100px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.cart-page-item-info { flex: 1; }
.cart-page-item-info h3 { font-size: 0.95rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 4px; }
.cart-page-item-info .variant { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: var(--space-sm); }
.cart-page-item-info .price { font-size: 0.9rem; color: var(--color-accent); font-weight: 600; font-family: var(--font-mono); }
.cart-page-item-actions { display: flex; align-items: center; gap: var(--space-md); margin-top: var(--space-sm); }
.cart-summary { background: var(--color-surface); border-radius: var(--radius-md); border: 1px solid var(--color-border); padding: var(--space-lg); position: sticky; top: calc(var(--header-height) + var(--space-md)); }
.cart-summary h3 { margin-bottom: var(--space-md); }
.cart-summary-row { display: flex; justify-content: space-between; margin-bottom: var(--space-sm); font-size: 0.9rem; }
.cart-summary-row.total { border-top: 1px solid var(--color-border); padding-top: var(--space-md); margin-top: var(--space-md); font-size: 1.1rem; font-weight: 700; }
.cart-summary-row.total strong { font-family: var(--font-mono); color: var(--color-accent); }

.checkout-page { padding: var(--space-xl) 0 var(--space-2xl); max-width: 860px; margin: 0 auto; }
.checkout-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); }
@media (min-width: 768px) { .checkout-layout { grid-template-columns: 1fr 360px; } }
.checkout-form-section { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-lg); margin-bottom: var(--space-md); }
.checkout-form-section h3 { font-size: 1.1rem; margin-bottom: var(--space-md); display: flex; align-items: center; gap: var(--space-sm); }
.checkout-form-section h3 .step-num { width: 28px; height: 28px; background: var(--color-accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-family: var(--font-body); }
.form-row { display: grid; grid-template-columns: 1fr; gap: var(--space-md); margin-bottom: var(--space-md); }
@media (min-width: 480px) { .form-row.two-col { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; }
.form-field label { font-size: 0.8rem; font-weight: 500; color: var(--color-text-secondary); margin-bottom: 4px; }
.form-field input, .form-field select { padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 0.9rem; transition: border-color var(--transition-fast); }
.form-field input:focus, .form-field select:focus { border-color: var(--color-accent); outline: none; box-shadow: 0 0 0 3px rgba(184,134,11,0.1); }
.form-field .error-msg { color: var(--color-error); font-size: 0.75rem; margin-top: 4px; display: none; }
.form-field.error input { border-color: var(--color-error); }
.form-field.error .error-msg { display: block; }
.card-input-group { position: relative; }
.card-input-group .card-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 1.2rem; opacity: 0.4; }
.checkout-order-summary { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-lg); position: sticky; top: calc(var(--header-height) + var(--space-md)); }
.checkout-order-summary h3 { margin-bottom: var(--space-md); }
.checkout-order-item { display: flex; gap: var(--space-sm); padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-border); }
.checkout-order-item img { width: 50px; height: 50px; object-fit: cover; border-radius: var(--radius-sm); }
.checkout-order-item .info { flex: 1; }
.checkout-order-item .info h4 { font-size: 0.8rem; font-family: var(--font-body); font-weight: 500; }
.checkout-order-item .info .qty { font-size: 0.75rem; color: var(--color-text-muted); }
.checkout-order-item .price { font-size: 0.85rem; font-weight: 600; color: var(--color-accent); font-family: var(--font-mono); }
.checkout-security { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-md); background: rgba(74,124,89,0.08); border-radius: var(--radius-sm); margin-top: var(--space-md); font-size: 0.8rem; color: var(--color-success); }

.thank-you-page { padding: var(--space-2xl) 0; text-align: center; }
.thank-you-icon { width: 80px; height: 80px; margin: 0 auto var(--space-lg); background: rgba(74,124,89,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.thank-you-icon svg { width: 40px; height: 40px; color: var(--color-success); }
.thank-you-page h1 { font-size: 2.5rem; margin-bottom: var(--space-md); }
.thank-you-page .order-number { font-family: var(--font-mono); font-size: 1rem; color: var(--color-text-muted); margin-bottom: var(--space-xl); }
.thank-you-details { max-width: 600px; margin: 0 auto var(--space-xl); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-lg); text-align: left; }
.thank-you-details h3 { margin-bottom: var(--space-md); }
.thank-you-order-item { display: flex; gap: var(--space-sm); padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-border); }
.thank-you-order-item:last-child { border-bottom: none; }
.thank-you-order-item img { width: 50px; height: 50px; object-fit: cover; border-radius: var(--radius-sm); }
.thank-you-order-item .info { flex: 1; }
.thank-you-order-item .info h4 { font-size: 0.85rem; font-family: var(--font-body); font-weight: 500; }
.thank-you-order-item .price { font-size: 0.85rem; color: var(--color-accent); font-weight: 600; font-family: var(--font-mono); }
.thank-you-totals { margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--color-border); }
.thank-you-totals .row { display: flex; justify-content: space-between; margin-bottom: var(--space-sm); font-size: 0.9rem; }
.thank-you-totals .row.total { font-weight: 700; font-size: 1.1rem; }
.thank-you-totals .row.total strong { color: var(--color-accent); font-family: var(--font-mono); }

.error-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: var(--space-2xl) var(--space-md); }
.error-page h1 { font-size: 5rem; color: var(--color-accent); margin-bottom: var(--space-sm); }
.error-page p { font-size: 1.1rem; color: var(--color-text-secondary); margin-bottom: var(--space-lg); }

.page-content { padding: var(--space-xl) 0 var(--space-2xl); max-width: 800px; margin: 0 auto; }
.page-content h1 { margin-bottom: var(--space-lg); }
.page-content h2 { margin: var(--space-lg) 0 var(--space-sm); }
.page-content p { color: var(--color-text-secondary); margin-bottom: var(--space-md); }
.page-content ul { padding-left: var(--space-lg); list-style: disc; margin-bottom: var(--space-md); }
.page-content li { color: var(--color-text-secondary); margin-bottom: var(--space-xs); }

.policy-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); padding: var(--space-xl) 0 var(--space-2xl); }
@media (min-width: 768px) { .policy-layout { grid-template-columns: 240px 1fr; } }
.policy-sidebar a { display: block; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--color-text-secondary); transition: all var(--transition-fast); margin-bottom: 4px; }
.policy-sidebar a:hover { background: var(--color-surface-alt); color: var(--color-accent); }
.policy-sidebar a.active { background: var(--color-accent); color: #fff; }
.policy-content { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-xl); }
.policy-content h1 { margin-bottom: var(--space-lg); }
.policy-content h2 { margin: var(--space-xl) 0 var(--space-sm); font-size: 1.3rem; }
.policy-content p { color: var(--color-text-secondary); margin-bottom: var(--space-md); }
.policy-content ul { padding-left: var(--space-lg); list-style: disc; margin-bottom: var(--space-md); }
.policy-content li { color: var(--color-text-secondary); margin-bottom: var(--space-xs); }

.contact-form { max-width: 600px; margin: 0 auto; }
.contact-form .form-field { margin-bottom: var(--space-md); }
.contact-form textarea { padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 0.9rem; min-height: 120px; resize: vertical; }
.contact-form textarea:focus { border-color: var(--color-accent); outline: none; }
.contact-info-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-md); margin-bottom: var(--space-xl); }
@media (min-width: 768px) { .contact-info-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-info-card { text-align: center; padding: var(--space-lg); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.contact-info-card svg { width: 32px; height: 32px; margin: 0 auto var(--space-sm); color: var(--color-accent); }
.contact-info-card h4 { font-size: 0.9rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 4px; }
.contact-info-card p { font-size: 0.85rem; color: var(--color-text-muted); margin: 0; }

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: var(--space-md) 0; cursor: pointer; font-weight: 500; font-size: 0.95rem; }
.faq-question:hover { color: var(--color-accent); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--transition-slow); }
.faq-answer.open { max-height: 300px; }
.faq-answer p { padding: 0 0 var(--space-md); color: var(--color-text-secondary); font-size: 0.9rem; }

.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
@media (min-width: 768px) { .benefits-grid { grid-template-columns: repeat(4, 1fr); } }
.benefit-card { text-align: center; padding: var(--space-lg); }
.benefit-card .icon { width: 48px; height: 48px; margin: 0 auto var(--space-md); background: var(--color-accent-soft); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; }
.benefit-card .icon svg { width: 24px; height: 24px; color: var(--color-accent); }
.benefit-card h4 { font-size: 0.9rem; font-family: var(--font-body); font-weight: 600; margin-bottom: var(--space-xs); }
.benefit-card p { font-size: 0.8rem; color: var(--color-text-muted); margin: 0; }
