/* ============================================
   HARTLEX GALLERY — DESIGN SYSTEM
   Niche: Home Décor — Warm, inviting, premium
   ============================================ */

/* --- Reset --- */
*, *::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, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

/* --- CSS Variables --- */
:root {
  /* Color palette — warm décor */
  --color-bg: #FAF7F2;
  --color-surface: #FFFFFF;
  --color-surface-alt: #F2EDE4;
  --color-border: #E5DDD0;
  --color-text-primary: #2B2520;
  --color-text-secondary: #5C544B;
  --color-text-muted: #948B7E;
  --color-accent: #A0522D;
  --color-accent-hover: #8B4513;
  --color-accent-fg: #FFFFFF;
  --color-sage: #8B9A7A;
  --color-sage-light: #C4D0B5;
  --color-terracotta: #C67D5D;
  --color-cream: #F5EFE6;
  --color-success: #4A7C59;
  --color-warning: #D4A24C;
  --color-error: #C05D3D;
  --color-sale: #B85C38;

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

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

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(43, 37, 32, 0.08);
  --shadow-md: 0 4px 12px rgba(43, 37, 32, 0.1);
  --shadow-lg: 0 12px 32px rgba(43, 37, 32, 0.14);

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

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

  /* Layout */
  --container-max: 1280px;
  --header-height: 72px;
}

/* --- Accessibility --- */
.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; scroll-behavior: auto !important; }
}

/* --- Container --- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-lg); width: 100%; }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); padding: 12px 28px; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; 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-surface); color: var(--color-text-primary); border: 1.5px solid var(--color-border); }
.btn-secondary:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn-ghost { background: transparent; color: var(--color-text-primary); }
.btn-ghost:hover { color: var(--color-accent); }
.btn-lg { padding: 16px 36px; font-size: 15px; }
.btn-sm { padding: 8px 18px; font-size: 12px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* --- Badges --- */
.badge { display: inline-flex; align-items: center; padding: 4px 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; border-radius: var(--radius-sm); }
.badge-sale { background: var(--color-sale); color: #fff; }
.badge-new { background: var(--color-sage); color: #fff; }
.badge-out { background: var(--color-text-muted); color: #fff; }
.badge-count { background: var(--color-accent); color: #fff; min-width: 20px; height: 20px; border-radius: var(--radius-full); justify-content: center; font-size: 11px; }

/* --- Announcement Bar --- */
.announcement-bar { background: var(--color-text-primary); color: var(--color-cream); text-align: center; padding: 10px var(--space-lg); font-size: 13px; letter-spacing: 0.04em; }
.announcement-bar span { display: inline-flex; align-items: center; gap: var(--space-sm); }
.announcement-bar .sep { opacity: 0.4; margin: 0 var(--space-sm); }

/* --- Navigation --- */
.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-lg); }
.nav-logo { font-family: var(--font-heading); font-size: 26px; font-weight: 600; letter-spacing: 0.02em; color: var(--color-text-primary); white-space: nowrap; }
.nav-logo a { display: inline-flex; align-items: baseline; }
.nav-links { display: none; align-items: center; gap: var(--space-xl); }
.nav-links a { font-size: 14px; font-weight: 500; 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: 2px; 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 { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); color: var(--color-text-primary); transition: all var(--transition-fast); position: relative; }
.nav-icon-btn:hover { background: var(--color-surface-alt); color: var(--color-accent); }
.nav-icon-btn svg { width: 22px; height: 22px; }
.cart-count-badge { position: absolute; top: 2px; right: 2px; background: var(--color-accent); color: #fff; min-width: 18px; height: 18px; border-radius: var(--radius-full); font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.cart-count-badge.hidden { display: none; }

/* Hamburger */
.hamburger { display: flex; flex-direction: column; gap: 5px; width: 28px; height: 22px; justify-content: center; }
.hamburger span { display: block; width: 100%; height: 2px; background: var(--color-text-primary); border-radius: 2px; transition: all var(--transition-base); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; left: -100%; width: 85%; max-width: 360px; height: 100vh; background: var(--color-surface); z-index: 200; transition: left var(--transition-slow); padding: var(--space-xl) var(--space-lg); overflow-y: auto; box-shadow: var(--shadow-lg); }
.mobile-menu.open { left: 0; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-xl); }
.mobile-menu-close { font-size: 24px; color: var(--color-text-muted); }
.mobile-menu nav { display: flex; flex-direction: column; gap: var(--space-lg); }
.mobile-menu nav a { font-size: 18px; font-weight: 500; color: var(--color-text-primary); padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-border); }
.mobile-menu nav a:hover { color: var(--color-accent); }
.mobile-menu .social-links { margin-top: var(--space-xl); }

/* Search bar in nav */
.nav-search { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding: var(--space-lg); box-shadow: var(--shadow-md); }
.nav-search.open { display: block; }
.nav-search-inner { max-width: 600px; margin: 0 auto; position: relative; }
.nav-search input { width: 100%; padding: 12px 16px 12px 44px; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); font-size: 15px; background: var(--color-bg); }
.nav-search input:focus { border-color: var(--color-accent); outline: none; }
.nav-search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--color-text-muted); }
.search-results-dropdown { position: absolute; top: 100%; left: 0; right: 0; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); max-height: 400px; overflow-y: auto; z-index: 10; display: none; }
.search-results-dropdown.show { display: block; }
.search-item { display: flex; gap: var(--space-md); padding: var(--space-md); border-bottom: 1px solid var(--color-border); transition: background var(--transition-fast); }
.search-item:hover { background: var(--color-surface-alt); }
.search-item img { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; }
.search-item-info h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.search-item-info p { font-size: 13px; color: var(--color-accent); font-weight: 600; }
.search-no-results { padding: var(--space-lg); text-align: center; color: var(--color-text-muted); font-size: 14px; }

/* --- Hero --- */
.hero { position: relative; min-height: 600px; 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(43,37,32,0.55) 0%, rgba(43,37,32,0.3) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; padding: var(--space-3xl) var(--space-lg); max-width: 640px; }
.hero-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-cream); margin-bottom: var(--space-md); }
.hero-title { font-family: var(--font-heading); font-size: 48px; font-weight: 500; line-height: 1.1; color: #fff; margin-bottom: var(--space-lg); }
.hero-subtitle { font-size: 17px; line-height: 1.7; 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; }

/* --- Sections --- */
.section { padding: var(--space-2xl) 0; }
.section-alt { background: var(--color-surface-alt); }
.section-header { text-align: center; margin-bottom: var(--space-xl); }
.section-title { font-family: var(--font-heading); font-size: 36px; font-weight: 500; color: var(--color-text-primary); margin-bottom: var(--space-sm); }
.section-subtitle { font-size: 16px; color: var(--color-text-secondary); max-width: 560px; margin: 0 auto; }

/* --- Grids --- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-lg); }

/* --- Product Card --- */
.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; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card-img { position: relative; aspect-ratio: 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: var(--space-xs); z-index: 2; }
.product-card-atc { position: absolute; bottom: 0; left: 0; right: 0; background: var(--color-text-primary); color: #fff; padding: 12px; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; transform: translateY(100%); transition: transform var(--transition-base); cursor: pointer; }
.product-card:hover .product-card-atc { transform: translateY(0); }
.product-card-atc:hover { background: var(--color-accent); }
.product-card-info { padding: var(--space-md); }
.product-card-vendor { font-size: 11px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.product-card-title { font-size: 15px; font-weight: 600; color: var(--color-text-primary); margin-bottom: var(--space-xs); line-height: 1.4; }
.product-card-title a:hover { color: var(--color-accent); }
.product-card-price-wrap { display: flex; align-items: center; gap: var(--space-sm); }
.product-card-price { font-size: 16px; font-weight: 700; color: var(--color-text-primary); font-family: var(--font-mono); }
.product-card-compare-price { font-size: 14px; color: var(--color-text-muted); text-decoration: line-through; }
.product-card-rating { display: flex; align-items: center; gap: 4px; margin-top: var(--space-xs); }
.product-card-rating .stars { color: var(--color-warning); font-size: 13px; letter-spacing: 1px; }
.product-card-rating .count { font-size: 12px; color: var(--color-text-muted); }

/* --- Collection Card --- */
.collection-card { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-md); overflow: hidden; display: block; }
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.collection-card:hover img { transform: scale(1.05); }
.collection-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(43,37,32,0.7) 0%, rgba(43,37,32,0.1) 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: var(--space-lg); }
.collection-card-title { font-family: var(--font-heading); font-size: 24px; font-weight: 500; color: #fff; margin-bottom: 4px; }
.collection-card-count { font-size: 13px; color: rgba(255,255,255,0.8); }

/* --- Blog Card --- */
.blog-card { background: var(--color-surface); border-radius: var(--radius-md); overflow: hidden; transition: transform var(--transition-base), box-shadow var(--transition-base); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-img { aspect-ratio: 16/10; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-info { padding: var(--space-lg); }
.blog-card-meta { font-size: 12px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-sm); }
.blog-card-title { font-family: var(--font-heading); font-size: 22px; font-weight: 500; margin-bottom: var(--space-sm); line-height: 1.3; }
.blog-card-excerpt { font-size: 14px; color: var(--color-text-secondary); line-height: 1.6; margin-bottom: var(--space-md); }
.blog-card-readmore { font-size: 13px; font-weight: 600; color: var(--color-accent); text-transform: uppercase; letter-spacing: 0.04em; }

/* --- Trust Badges --- */
.trust-badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); padding: var(--space-xl) 0; }
.trust-item { text-align: center; padding: var(--space-lg); }
.trust-item svg { width: 36px; height: 36px; color: var(--color-accent); margin-bottom: var(--space-sm); }
.trust-item h3 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.trust-item p { font-size: 13px; color: var(--color-text-muted); }

/* --- Breadcrumb --- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--space-xs); align-items: center; padding: var(--space-md) 0; font-size: 13px; color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: var(--color-text-secondary); font-weight: 500; }

/* --- Product Page Layout --- */
.product-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); padding: var(--space-lg) 0 var(--space-2xl); }
.product-gallery { position: sticky; top: calc(var(--header-height) + var(--space-md)); }
.gallery-main-wrap { border-radius: var(--radius-md); overflow: hidden; background: var(--color-surface-alt); aspect-ratio: 1; margin-bottom: var(--space-md); }
.gallery-main-wrap img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery-thumbs { display: flex; gap: var(--space-sm); overflow-x: auto; }
.gallery-thumb { width: 80px; height: 80px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; border: 2px solid transparent; cursor: pointer; 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: 12px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--space-sm); }
.product-title { font-family: var(--font-heading); font-size: 32px; font-weight: 500; line-height: 1.2; margin-bottom: var(--space-sm); }
.product-rating-row { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-md); }
.product-rating-row .stars { color: var(--color-warning); font-size: 16px; letter-spacing: 2px; }
.product-rating-row .rating-text { font-size: 13px; color: var(--color-text-muted); }
.product-price-wrap { display: flex; align-items: center; gap: var(--space-md); margin-bottom: var(--space-lg); }
.product-price { font-size: 28px; font-weight: 700; font-family: var(--font-mono); color: var(--color-text-primary); }
.product-compare-price { font-size: 20px; color: var(--color-text-muted); text-decoration: line-through; }
.product-short-desc { font-size: 15px; line-height: 1.7; color: var(--color-text-secondary); margin-bottom: var(--space-lg); }

/* Option selectors */
.option-group { margin-bottom: var(--space-lg); }
.option-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-sm); color: var(--color-text-secondary); }
.option-btns { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.option-btn { padding: 10px 20px; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; color: var(--color-text-primary); background: var(--color-surface); transition: all var(--transition-fast); }
.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; }

/* Quantity control */
.qty-control { display: inline-flex; align-items: center; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); overflow: hidden; }
.qty-btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--color-text-primary); transition: background var(--transition-fast); }
.qty-btn:hover { background: var(--color-surface-alt); }
.qty-input { width: 56px; height: 44px; text-align: center; border: none; border-left: 1.5px solid var(--color-border); border-right: 1.5px solid var(--color-border); font-size: 15px; font-weight: 600; background: var(--color-surface); }
.qty-input:focus { outline: none; }

/* Product actions */
.product-actions { display: flex; gap: var(--space-md); margin-bottom: var(--space-lg); flex-wrap: wrap; }
.product-actions .btn { flex: 1; min-width: 180px; }
.availability-msg { font-size: 14px; margin-bottom: var(--space-lg); display: flex; align-items: center; gap: var(--space-sm); }
.availability-msg.in-stock { color: var(--color-success); }
.availability-msg.out-stock { color: var(--color-error); }

/* Accordions */
.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-size: 15px; font-weight: 600; color: var(--color-text-primary); }
.accordion-header:hover { color: var(--color-accent); }
.accordion-icon { font-size: 20px; transition: transform var(--transition-base); 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: 600px; }
.accordion-body-inner { padding: 0 0 var(--space-md); font-size: 14px; line-height: 1.7; color: var(--color-text-secondary); }
.accordion-body-inner ul { padding-left: var(--space-lg); list-style: disc; margin-top: var(--space-sm); }
.accordion-body-inner li { margin-bottom: 4px; }

/* Sticky ATC */
.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(43,37,32,0.08); padding: var(--space-md) var(--space-lg); 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-md); flex: 1; min-width: 0; }
.sticky-atc-product img { width: 56px; height: 56px; 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: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-atc-product-info p { font-size: 15px; font-weight: 700; color: var(--color-accent); font-family: var(--font-mono); }

/* Reviews */
.reviews-section { padding: var(--space-xl) 0; }
.reviews-summary { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); margin-bottom: var(--space-xl); text-align: center; }
.reviews-avg { font-family: var(--font-heading); font-size: 56px; font-weight: 500; color: var(--color-text-primary); line-height: 1; }
.reviews-score .stars { font-size: 20px; color: var(--color-warning); letter-spacing: 2px; }
.reviews-count { font-size: 14px; color: var(--color-text-muted); margin-top: var(--space-xs); }
.reviews-bars { display: flex; flex-direction: column; gap: var(--space-xs); max-width: 300px; margin: 0 auto; }
.rating-bar { display: flex; align-items: center; gap: var(--space-sm); font-size: 13px; }
.rating-bar-label { width: 40px; color: var(--color-text-muted); }
.rating-bar-track { flex: 1; height: 8px; background: var(--color-surface-alt); border-radius: var(--radius-full); overflow: hidden; }
.rating-bar-fill { height: 100%; background: var(--color-warning); border-radius: var(--radius-full); transition: width var(--transition-slow); }
.rating-bar-pct { width: 36px; text-align: right; color: var(--color-text-muted); }
.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-size: 14px; font-weight: 600; }
.review-verified { font-size: 12px; color: var(--color-success); display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.review-title { font-size: 15px; font-weight: 600; margin-bottom: var(--space-xs); }
.review-body { font-size: 14px; line-height: 1.7; color: var(--color-text-secondary); }
.review-stars { color: var(--color-warning); font-size: 14px; letter-spacing: 1px; margin-bottom: var(--space-xs); }
.review-date { font-size: 12px; color: var(--color-text-muted); }

/* --- Cart Drawer --- */
.cart-overlay { position: fixed; inset: 0; background: rgba(43,37,32,0.5); z-index: 150; 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: -100%; width: 100%; max-width: 420px; height: 100vh; background: var(--color-surface); z-index: 160; transition: right var(--transition-slow); display: flex; flex-direction: column; }
.cart-drawer.open { right: 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-family: var(--font-heading); font-size: 24px; font-weight: 500; display: flex; align-items: center; gap: var(--space-sm); }
.cart-close { font-size: 24px; color: var(--color-text-muted); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); }
.cart-close:hover { background: var(--color-surface-alt); color: var(--color-text-primary); }
.cart-lines { flex: 1; overflow-y: auto; padding: var(--space-md) var(--space-lg); }
.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-empty p { font-size: 15px; margin-bottom: 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: 72px; height: 72px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; background: var(--color-surface-alt); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-title { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.cart-item-variant { font-size: 12px; color: var(--color-text-muted); margin-bottom: var(--space-sm); }
.cart-item-price { font-size: 14px; font-weight: 700; color: var(--color-accent); 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); overflow: hidden; }
.cart-item-qty button { width: 28px; height: 28px; font-size: 14px; color: var(--color-text-secondary); }
.cart-item-qty button:hover { background: var(--color-surface-alt); }
.cart-item-qty span { width: 32px; text-align: center; font-size: 13px; font-weight: 600; }
.cart-item-remove { font-size: 12px; color: var(--color-text-muted); text-decoration: underline; }
.cart-item-remove:hover { color: var(--color-error); }
.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); }
.cart-subtotal span { font-size: 15px; color: var(--color-text-secondary); }
.cart-subtotal strong { font-size: 20px; font-weight: 700; font-family: var(--font-mono); }
.cart-tax-note { font-size: 12px; color: var(--color-text-muted); margin-bottom: var(--space-md); text-align: center; }
.cart-footer .btn { margin-bottom: var(--space-sm); }

/* --- Toast --- */
.toast { position: fixed; bottom: var(--space-xl); left: 50%; transform: translateX(-50%) translateY(100px); background: var(--color-text-primary); color: #fff; padding: var(--space-md) var(--space-lg); border-radius: var(--radius-md); font-size: 14px; font-weight: 500; 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 { background: var(--color-success); }
.toast-error { background: var(--color-error); }

/* --- Pagination --- */
.pagination { display: flex; justify-content: center; gap: var(--space-xs); margin-top: var(--space-xl); }
.pagination-btn { min-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: 14px; font-weight: 500; color: var(--color-text-secondary); transition: all var(--transition-fast); padding: 0 var(--space-sm); }
.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 --- */
.sort-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-lg); gap: var(--space-md); flex-wrap: wrap; }
.sort-bar select { padding: 10px 16px; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); font-size: 14px; background: var(--color-surface); color: var(--color-text-primary); cursor: pointer; }
.sort-bar select:focus { border-color: var(--color-accent); outline: none; }
.sort-bar .result-count { font-size: 14px; color: var(--color-text-muted); }

/* --- Footer --- */
.footer { background: var(--color-text-primary); color: var(--color-cream); 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); }
.footer-logo { font-family: var(--font-heading); font-size: 28px; font-weight: 500; color: #fff; margin-bottom: var(--space-md); }
.footer-col h3 { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-md); color: #fff; }
.footer-col p { font-size: 14px; line-height: 1.7; color: rgba(245,239,230,0.7); margin-bottom: var(--space-sm); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-col ul a { font-size: 14px; color: rgba(245,239,230,0.7); transition: color var(--transition-fast); }
.footer-col ul a:hover { color: #fff; }
.social-links { display: flex; gap: var(--space-sm); }
.social-links a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(245,239,230,0.2); border-radius: var(--radius-full); color: rgba(245,239,230,0.7); transition: all var(--transition-fast); }
.social-links a:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.social-links svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(245,239,230,0.15); padding-top: var(--space-lg); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-md); }
.footer-bottom p { font-size: 13px; color: rgba(245,239,230,0.5); }
.footer-payments { display: flex; gap: var(--space-sm); align-items: center; }
.footer-payments span { font-size: 11px; color: rgba(245,239,230,0.4); letter-spacing: 0.05em; }

/* --- Skeleton --- */
.skeleton { background: linear-gradient(90deg, var(--color-surface-alt) 25%, var(--color-border) 50%, var(--color-surface-alt) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }
@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(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
.fade-in { animation: fadeIn var(--transition-slow) ease; }
.slide-up { animation: slideUp var(--transition-slow) ease; }

/* --- Collection Page --- */
.collection-hero { position: relative; min-height: 320px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.collection-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.collection-hero-overlay { position: absolute; inset: 0; background: rgba(43,37,32,0.5); }
.collection-hero-content { position: relative; z-index: 1; text-align: center; padding: var(--space-2xl) var(--space-lg); }
.collection-hero-content h1 { font-family: var(--font-heading); font-size: 40px; font-weight: 500; color: #fff; margin-bottom: var(--space-sm); }
.collection-hero-content p { font-size: 16px; color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto; }

/* --- Full Cart Page --- */
.cart-page { padding: var(--space-xl) 0 var(--space-2xl); }
.cart-page-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); }
.cart-page-items { background: var(--color-surface); border-radius: var(--radius-md); border: 1px solid var(--color-border); }
.cart-page-header { display: grid; grid-template-columns: 3fr 1fr 1fr 1fr auto; gap: var(--space-md); padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--color-border); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); }
.cart-page-item { display: grid; grid-template-columns: 3fr 1fr 1fr 1fr auto; gap: var(--space-md); padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--color-border); align-items: center; }
.cart-page-item-img { width: 80px; height: 80px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.cart-page-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-page-item-info h3 { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.cart-page-item-info p { font-size: 13px; color: var(--color-text-muted); }
.cart-page-item-price { font-size: 15px; font-weight: 600; font-family: var(--font-mono); }
.cart-page-item-total { font-size: 15px; font-weight: 700; font-family: var(--font-mono); color: var(--color-accent); }
.cart-page-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-page-summary h2 { font-family: var(--font-heading); font-size: 24px; font-weight: 500; margin-bottom: var(--space-lg); }
.cart-page-summary-row { display: flex; justify-content: space-between; margin-bottom: var(--space-sm); font-size: 14px; }
.cart-page-summary-row.total { border-top: 1px solid var(--color-border); padding-top: var(--space-md); margin-top: var(--space-md); font-size: 18px; font-weight: 700; }
.cart-page-summary-row.total .amount { font-family: var(--font-mono); color: var(--color-accent); }
.cart-page-empty { text-align: center; padding: var(--space-3xl) var(--space-lg); }
.cart-page-empty h2 { font-family: var(--font-heading); font-size: 32px; font-weight: 500; margin-bottom: var(--space-md); }
.cart-page-empty p { font-size: 16px; color: var(--color-text-muted); margin-bottom: var(--space-xl); }

/* --- Checkout Page --- */
.checkout-page { padding: var(--space-xl) 0 var(--space-2xl); }
.checkout-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); }
.checkout-form-section { background: var(--color-surface); border-radius: var(--radius-md); border: 1px solid var(--color-border); padding: var(--space-lg); margin-bottom: var(--space-lg); }
.checkout-form-section h2 { font-family: var(--font-heading); font-size: 22px; font-weight: 500; margin-bottom: var(--space-lg); display: flex; align-items: center; gap: var(--space-sm); }
.checkout-form-section h2 .step-num { width: 28px; height: 28px; background: var(--color-accent); color: #fff; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; font-family: var(--font-body); }
.form-row { display: grid; grid-template-columns: 1fr; gap: var(--space-md); margin-bottom: var(--space-md); }
.form-field { display: flex; flex-direction: column; }
.form-field label { font-size: 13px; font-weight: 600; margin-bottom: var(--space-xs); color: var(--color-text-secondary); }
.form-field label .required { color: var(--color-error); }
.form-field input, .form-field select, .form-field textarea { padding: 12px 16px; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); font-size: 15px; background: var(--color-bg); color: var(--color-text-primary); transition: border-color var(--transition-fast); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--color-accent); outline: none; box-shadow: 0 0 0 3px rgba(160,82,45,0.1); }
.form-field input.error { border-color: var(--color-error); }
.form-error { font-size: 12px; color: var(--color-error); margin-top: 4px; }
.checkout-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)); }
.checkout-summary h2 { font-family: var(--font-heading); font-size: 22px; font-weight: 500; margin-bottom: var(--space-lg); }
.checkout-summary-item { display: flex; gap: var(--space-md); padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-border); }
.checkout-summary-item img { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; }
.checkout-summary-item-info { flex: 1; }
.checkout-summary-item-info h4 { font-size: 14px; font-weight: 600; }
.checkout-summary-item-info p { font-size: 12px; color: var(--color-text-muted); }
.checkout-summary-item-price { font-size: 14px; font-weight: 700; font-family: var(--font-mono); }
.checkout-summary-totals { margin-top: var(--space-lg); }
.checkout-summary-totals .row { display: flex; justify-content: space-between; margin-bottom: var(--space-sm); font-size: 14px; }
.checkout-summary-totals .row.total { border-top: 1px solid var(--color-border); padding-top: var(--space-md); margin-top: var(--space-md); font-size: 18px; font-weight: 700; }
.checkout-summary-totals .row.total .amount { font-family: var(--font-mono); color: var(--color-accent); }

/* Card payment form */
.card-form { margin-top: var(--space-md); }
.card-input-group { position: relative; margin-bottom: var(--space-md); }
.card-input-group label { font-size: 13px; font-weight: 600; margin-bottom: var(--space-xs); color: var(--color-text-secondary); display: block; }
.card-input-group input { width: 100%; padding: 12px 16px; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); font-size: 15px; background: var(--color-bg); color: var(--color-text-primary); transition: border-color var(--transition-fast); font-family: var(--font-mono); letter-spacing: 1px; }
.card-input-group input:focus { border-color: var(--color-accent); outline: none; box-shadow: 0 0 0 3px rgba(160,82,45,0.1); }
.card-input-group .card-icon { position: absolute; right: 12px; top: 38px; width: 32px; height: 20px; }
.card-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.card-security-badge { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-md); background: var(--color-surface-alt); border-radius: var(--radius-sm); margin-top: var(--space-md); font-size: 13px; color: var(--color-text-secondary); }
.card-security-badge svg { width: 20px; height: 20px; color: var(--color-success); flex-shrink: 0; }
.place-order-btn { width: 100%; margin-top: var(--space-lg); padding: 16px; font-size: 16px; font-weight: 700; background: var(--color-accent); color: #fff; border-radius: var(--radius-sm); text-transform: uppercase; letter-spacing: 0.04em; transition: all var(--transition-base); cursor: pointer; }
.place-order-btn:hover { background: var(--color-accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.place-order-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* --- Thank You Page --- */
.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: var(--color-success); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; }
.thank-you-icon svg { width: 40px; height: 40px; color: #fff; }
.thank-you-page h1 { font-family: var(--font-heading); font-size: 40px; font-weight: 500; margin-bottom: var(--space-sm); }
.thank-you-page .order-num { font-size: 16px; color: var(--color-text-muted); margin-bottom: var(--space-lg); }
.thank-you-page .thank-you-msg { font-size: 17px; color: var(--color-text-secondary); max-width: 560px; margin: 0 auto var(--space-xl); line-height: 1.7; }
.order-details { max-width: 640px; margin: 0 auto var(--space-xl); background: var(--color-surface); border-radius: var(--radius-md); border: 1px solid var(--color-border); overflow: hidden; text-align: left; }
.order-details-header { padding: var(--space-lg); border-bottom: 1px solid var(--color-border); }
.order-details-header h2 { font-family: var(--font-heading); font-size: 22px; font-weight: 500; }
.order-details-item { display: flex; gap: var(--space-md); padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--color-border); }
.order-details-item img { width: 64px; height: 64px; border-radius: var(--radius-sm); object-fit: cover; }
.order-details-item-info { flex: 1; }
.order-details-item-info h4 { font-size: 14px; font-weight: 600; }
.order-details-item-info p { font-size: 13px; color: var(--color-text-muted); }
.order-details-item-price { font-size: 14px; font-weight: 700; font-family: var(--font-mono); }
.order-details-totals { padding: var(--space-lg); }
.order-details-totals .row { display: flex; justify-content: space-between; margin-bottom: var(--space-sm); font-size: 14px; }
.order-details-totals .row.total { border-top: 1px solid var(--color-border); padding-top: var(--space-md); margin-top: var(--space-md); font-size: 18px; font-weight: 700; }
.order-details-totals .row.total .amount { font-family: var(--font-mono); color: var(--color-accent); }
.order-details-shipping { padding: var(--space-lg); border-top: 1px solid var(--color-border); }
.order-details-shipping h3 { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-sm); color: var(--color-text-muted); }
.order-details-shipping p { font-size: 14px; line-height: 1.7; color: var(--color-text-secondary); }

/* --- Policy Pages --- */
.policy-page { padding: var(--space-xl) 0 var(--space-2xl); }
.policy-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); }
.policy-content { background: var(--color-surface); border-radius: var(--radius-md); border: 1px solid var(--color-border); padding: var(--space-xl); }
.policy-content h1 { font-family: var(--font-heading); font-size: 32px; font-weight: 500; margin-bottom: var(--space-lg); }
.policy-content h2 { font-family: var(--font-heading); font-size: 22px; font-weight: 500; margin: var(--space-lg) 0 var(--space-sm); }
.policy-content p { font-size: 15px; line-height: 1.8; 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 { font-size: 15px; line-height: 1.8; color: var(--color-text-secondary); margin-bottom: var(--space-xs); }
.policy-sidebar { background: var(--color-surface); border-radius: var(--radius-md); border: 1px solid var(--color-border); padding: var(--space-lg); }
.policy-sidebar h3 { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-md); color: var(--color-text-muted); }
.policy-sidebar ul { display: flex; flex-direction: column; gap: var(--space-sm); }
.policy-sidebar a { font-size: 14px; color: var(--color-text-secondary); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-sm); transition: all var(--transition-fast); display: block; }
.policy-sidebar a:hover, .policy-sidebar a.active { background: var(--color-surface-alt); color: var(--color-accent); font-weight: 600; }

/* --- Contact Page --- */
.contact-page { padding: var(--space-xl) 0 var(--space-2xl); }
.contact-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); }
.contact-info { background: var(--color-surface); border-radius: var(--radius-md); border: 1px solid var(--color-border); padding: var(--space-xl); }
.contact-info h2 { font-family: var(--font-heading); font-size: 24px; font-weight: 500; margin-bottom: var(--space-lg); }
.contact-info-item { display: flex; gap: var(--space-md); margin-bottom: var(--space-lg); }
.contact-info-item svg { width: 24px; height: 24px; color: var(--color-accent); flex-shrink: 0; }
.contact-info-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.contact-info-item p { font-size: 14px; color: var(--color-text-secondary); line-height: 1.6; }
.contact-form { background: var(--color-surface); border-radius: var(--radius-md); border: 1px solid var(--color-border); padding: var(--space-xl); }
.contact-form h2 { font-family: var(--font-heading); font-size: 24px; font-weight: 500; margin-bottom: var(--space-lg); }
.contact-form textarea { min-height: 120px; resize: vertical; }

/* --- 404 Page --- */
.error-page { padding: var(--space-3xl) 0; text-align: center; }
.error-page h1 { font-family: var(--font-heading); font-size: 120px; font-weight: 500; color: var(--color-accent); line-height: 1; margin-bottom: var(--space-md); }
.error-page h2 { font-family: var(--font-heading); font-size: 28px; font-weight: 500; margin-bottom: var(--space-md); }
.error-page p { font-size: 16px; color: var(--color-text-muted); margin-bottom: var(--space-xl); max-width: 480px; margin-left: auto; margin-right: auto; }
.error-page .search-bar { max-width: 480px; margin: 0 auto var(--space-xl); display: flex; gap: var(--space-sm); }
.error-page .search-bar input { flex: 1; padding: 12px 16px; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); font-size: 15px; }
.error-page .links { display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; }

/* --- Page Content --- */
.page-content { padding: var(--space-xl) 0 var(--space-2xl); }
.page-content-body { background: var(--color-surface); border-radius: var(--radius-md); border: 1px solid var(--color-border); padding: var(--space-xl); max-width: 800px; margin: 0 auto; }
.page-content-body h1 { font-family: var(--font-heading); font-size: 32px; font-weight: 500; margin-bottom: var(--space-lg); }
.page-content-body h2 { font-family: var(--font-heading); font-size: 22px; font-weight: 500; margin: var(--space-lg) 0 var(--space-sm); }
.page-content-body p { font-size: 15px; line-height: 1.8; color: var(--color-text-secondary); margin-bottom: var(--space-md); }

/* --- Brand Story Section --- */
.brand-story { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); align-items: center; }
.brand-story-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.brand-story-img img { width: 100%; height: 100%; object-fit: cover; }
.brand-story-text h2 { font-family: var(--font-heading); font-size: 32px; font-weight: 500; margin-bottom: var(--space-md); }
.brand-story-text p { font-size: 16px; line-height: 1.8; color: var(--color-text-secondary); margin-bottom: var(--space-md); }

/* --- Benefits Section --- */
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.benefit-card { text-align: center; padding: var(--space-lg); }
.benefit-card svg { width: 40px; height: 40px; color: var(--color-accent); margin-bottom: var(--space-md); }
.benefit-card h3 { font-size: 16px; font-weight: 600; margin-bottom: var(--space-xs); }
.benefit-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.6; }

/* --- Newsletter --- */
.newsletter { background: var(--color-text-primary); color: var(--color-cream); padding: var(--space-2xl) 0; text-align: center; }
.newsletter h2 { font-family: var(--font-heading); font-size: 32px; font-weight: 500; color: #fff; margin-bottom: var(--space-sm); }
.newsletter p { font-size: 15px; color: rgba(245,239,230,0.7); margin-bottom: var(--space-lg); }
.newsletter-form { display: flex; gap: var(--space-sm); max-width: 480px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 14px 18px; border: 1px solid rgba(245,239,230,0.2); border-radius: var(--radius-sm); font-size: 15px; background: rgba(255,255,255,0.05); color: #fff; }
.newsletter-form input::placeholder { color: rgba(245,239,230,0.4); }
.newsletter-form input:focus { outline: none; border-color: var(--color-accent); }
.newsletter-form button { padding: 14px 28px; background: var(--color-accent); color: #fff; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; cursor: pointer; transition: background var(--transition-fast); white-space: nowrap; }
.newsletter-form button:hover { background: var(--color-accent-hover); }

/* --- Responsive Breakpoints --- */
@media (min-width: 640px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .trust-badges { grid-template-columns: repeat(4, 1fr); }
  .benefits-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-title { font-size: 56px; }
  .section-title { font-size: 42px; }
  .form-row { grid-template-columns: repeat(2, 1fr); }
  .reviews-summary { grid-template-columns: auto 1fr; text-align: left; align-items: center; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .brand-story { grid-template-columns: 1fr 1fr; }
  .policy-layout { grid-template-columns: 240px 1fr; }
  .contact-layout { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .hamburger { display: none; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .hero-title { font-size: 64px; }
  .cart-page-layout { grid-template-columns: 1fr 380px; }
  .checkout-layout { grid-template-columns: 1fr 400px; }
  .collection-hero-content h1 { font-size: 48px; }
}

@media (min-width: 1024px) {
  .hero { min-height: 680px; }
  .hero-title { font-size: 72px; }
  .product-layout { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
  .section-title { font-size: 48px; }
  .container { padding: 0 var(--space-xl); }
}

@media (min-width: 1280px) {
  .hero-content { padding: var(--space-3xl) 0; }
}
