/* ============================================
   GRAPE CHILLER — Wine Coolers & Barware
   Design System: Deep burgundy + warm gold + charcoal
   ============================================ */

/* --- 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);background:var(--color-bg);color:var(--color-text-primary);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 / Design Tokens --- */
:root{
  --color-bg:#faf8f6;
  --color-surface:#ffffff;
  --color-surface-alt:#f5f0ec;
  --color-border:#e8e0d8;
  --color-text-primary:#1a1a1a;
  --color-text-secondary:#4a4a4a;
  --color-text-muted:#8a8a8a;
  --color-accent:#722f37;
  --color-accent-hover:#5a2530;
  --color-accent-fg:#ffffff;
  --color-gold:#c9a961;
  --color-gold-hover:#b8985a;
  --color-success:#2d7a4e;
  --color-warning:#c4730a;
  --color-error:#c43030;
  --color-sale:#c43030;

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

  --radius-sm:4px;--radius-md:8px;--radius-lg:16px;--radius-full:9999px;
  --shadow-sm:0 1px 3px rgba(0,0,0,.08);
  --shadow-md:0 4px 12px rgba(0,0,0,.1);
  --shadow-lg:0 12px 40px rgba(0,0,0,.15);

  --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;
  --container-max:1280px;
}

/* --- 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){*{animation-duration:.01ms!important;transition-duration:.01ms!important}}

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

/* --- Buttons --- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 28px;font-size:14px;font-weight:600;letter-spacing:.03em;border-radius:var(--radius-sm);transition:all var(--transition-base);cursor:pointer;text-align:center;line-height:1.4;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-gold{background:var(--color-gold);color:#1a1a1a}
.btn-gold:hover{background:var(--color-gold-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);padding:10px 20px}
.btn-ghost:hover{color:var(--color-accent)}
.btn-lg{padding:16px 40px;font-size:16px}
.btn-sm{padding:8px 18px;font-size:13px}
.btn-block{width:100%}
.btn:disabled{opacity:.5;cursor:not-allowed;transform:none}

/* --- Badges --- */
.badge{display:inline-flex;align-items:center;padding:3px 10px;font-size:11px;font-weight:600;border-radius:var(--radius-full);letter-spacing:.05em;text-transform:uppercase}
.badge-sale{background:var(--color-sale);color:#fff}
.badge-new{background:var(--color-success);color:#fff}
.badge-out{background:#ccc;color:#666}
.badge-count{background:var(--color-accent);color:#fff;min-width:20px;height:20px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;padding:0 6px}

/* --- Announcement Bar --- */
.announcement-bar{background:var(--color-accent);color:#fff;text-align:center;padding:10px var(--space-md);font-size:13px;font-weight:500;letter-spacing:.02em}
.announcement-bar strong{color:var(--color-gold)}

/* --- 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{max-width:var(--container-max);margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:0 var(--space-md);height:68px;gap:var(--space-md)}
.nav-logo{font-family:var(--font-heading);font-size:26px;font-weight:700;color:var(--color-accent);letter-spacing:-.01em;white-space:nowrap;display:flex;align-items:center;gap:6px}
.nav-logo span{color:var(--color-gold)}
.nav-links{display:none;align-items:center;gap:28px}
.nav-link{font-size:14px;font-weight:500;color:var(--color-text-secondary);transition:color var(--transition-fast);position:relative;padding:4px 0}
.nav-link:hover{color:var(--color-accent)}
.nav-link::after{content:'';position:absolute;bottom:-2px;left:0;width:0;height:2px;background:var(--color-gold);transition:width var(--transition-base)}
.nav-link:hover::after{width:100%}
.nav-actions{display:flex;align-items:center;gap:12px}
.nav-icon-btn{position:relative;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-sm);transition:background var(--transition-fast);color:var(--color-text-secondary)}
.nav-icon-btn:hover{background:var(--color-surface-alt);color:var(--color-accent)}
.nav-icon-btn svg{width:22px;height:22px}
.nav-cart-count{position:absolute;top:2px;right:2px}

/* Search in nav */
.nav-search-wrap{position:relative;display:none}
.nav-search-input{width:240px;padding:8px 12px 8px 36px;border:1px solid var(--color-border);border-radius:var(--radius-full);font-size:13px;background:var(--color-surface-alt);transition:all var(--transition-fast)}
.nav-search-input:focus{outline:none;border-color:var(--color-accent);background:#fff;width:300px}
.nav-search-icon{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--color-text-muted);pointer-events:none}

/* Search dropdown */
.search-dropdown{position:absolute;top:100%;right:0;width:380px;max-height:400px;overflow-y:auto;background:#fff;border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-lg);display:none;z-index:200}
.search-dropdown.show{display:block}
.search-item{display:flex;gap:12px;padding:12px;border-bottom:1px solid var(--color-border);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:13px;font-weight:600;margin-bottom:2px}
.search-item-info p{font-size:12px;color:var(--color-accent);font-weight:600}
.search-no-results{padding:20px;text-align:center;color:var(--color-text-muted);font-size:14px}

/* Mobile menu */
.hamburger{display:flex;flex-direction:column;gap:4px;width:24px;height:24px;justify-content:center}
.hamburger span{display:block;width:100%;height:2px;background:var(--color-text-primary);transition:all var(--transition-base)}
.hamburger.open span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

.mobile-menu{position:fixed;top:0;left:0;width:85%;max-width:360px;height:100vh;background:#fff;z-index:200;transform:translateX(-100%);transition:transform var(--transition-base);overflow-y:auto;padding:20px;box-shadow:var(--shadow-lg)}
.mobile-menu.open{transform:translateX(0)}
.mobile-menu-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:199;display:none}
.mobile-menu-overlay.show{display:block}
.mobile-menu-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid var(--color-border)}
.mobile-menu-close{font-size:24px;color:var(--color-text-muted)}
.mobile-menu nav{display:flex;flex-direction:column;gap:4px}
.mobile-menu nav a{padding:12px 0;font-size:16px;font-weight:500;color:var(--color-text-primary);border-bottom:1px solid var(--color-border)}
.mobile-menu nav a:hover{color:var(--color-accent)}
.mobile-menu-search{margin-bottom:20px}
.mobile-menu-search input{width:100%;padding:10px 14px;border:1px solid var(--color-border);border-radius:var(--radius-sm);font-size:14px}

@media(min-width:1024px){
  .nav-links{display:flex}
  .nav-search-wrap{display:block}
  .hamburger{display:none}
}

/* --- Hero --- */
.hero{position:relative;height:520px;display:flex;align-items:center;overflow:hidden;background:linear-gradient(135deg,#1a1216 0%,#2d1f23 50%,#3d2a30 100%)}
.hero-bg{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;opacity:.35}
.hero-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(90deg,rgba(26,18,22,.85) 0%,rgba(26,18,22,.5) 60%,rgba(26,18,22,.2) 100%)}
.hero-content{position:relative;z-index:2;max-width:var(--container-max);margin:0 auto;padding:0 var(--space-md);width:100%}
.hero-eyebrow{font-size:13px;font-weight:600;letter-spacing:.15em;text-transform:uppercase;color:var(--color-gold);margin-bottom:12px}
.hero-title{font-family:var(--font-heading);font-size:42px;font-weight:700;color:#fff;line-height:1.1;margin-bottom:16px;max-width:600px}
.hero-subtitle{font-size:17px;color:rgba(255,255,255,.85);max-width:480px;margin-bottom:28px;line-height:1.6}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
@media(min-width:768px){
  .hero{height:600px}
  .hero-title{font-size:56px}
  .hero-subtitle{font-size:19px}
}
@media(min-width:1024px){
  .hero-title{font-size:64px}
}

/* --- 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:32px;font-weight:700;color:var(--color-text-primary);margin-bottom:8px}
.section-subtitle{font-size:16px;color:var(--color-text-secondary);max-width:600px;margin:0 auto}
@media(min-width:768px){.section-title{font-size:40px}}

/* --- Grids --- */
.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-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)}
@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)}
}

/* --- Product Card --- */
.product-card{background:var(--color-surface);border-radius:var(--radius-md);overflow:hidden;transition:all var(--transition-base);border:1px solid var(--color-border);display:flex;flex-direction:column}
.product-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px);border-color:transparent}
.product-card-img-wrap{position:relative;aspect-ratio:1;overflow:hidden;background:var(--color-surface-alt)}
.product-card-img-wrap img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.product-card:hover .product-card-img-wrap img{transform:scale(1.05)}
.product-card-badges{position:absolute;top:10px;left:10px;display:flex;flex-direction:column;gap:6px;z-index:2}
.product-card-body{padding:16px;display:flex;flex-direction:column;flex:1}
.product-card-vendor{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--color-text-muted);margin-bottom:4px}
.product-card-title{font-size:15px;font-weight:600;color:var(--color-text-primary);margin-bottom:8px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:42px}
.product-card-title a:hover{color:var(--color-accent)}
.product-card-price-wrap{display:flex;align-items:baseline;gap:8px;margin-bottom:12px}
.product-card-price{font-family:var(--font-mono);font-size:18px;font-weight:700;color:var(--color-accent)}
.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-bottom:8px}
.product-card-rating .stars{color:var(--color-gold);font-size:13px;letter-spacing:1px}
.product-card-rating .count{font-size:12px;color:var(--color-text-muted)}
.product-card-atc{width:100%;padding:10px;font-size:13px;font-weight:600;background:var(--color-accent);color:#fff;border-radius:var(--radius-sm);transition:all var(--transition-fast);cursor:pointer}
.product-card-atc:hover{background:var(--color-accent-hover)}
.product-card-atc.added{background:var(--color-success)}

/* --- 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 .5s ease}
.collection-card:hover img{transform:scale(1.08)}
.collection-card-overlay{position:absolute;bottom:0;left:0;width:100%;padding:24px;background:linear-gradient(transparent,rgba(0,0,0,.75));color:#fff}
.collection-card-overlay h3{font-family:var(--font-heading);font-size:24px;font-weight:700;margin-bottom:4px}
.collection-card-overlay p{font-size:13px;opacity:.85}
.collection-card-overlay .btn{margin-top:12px}

/* --- Blog Card --- */
.blog-card{background:var(--color-surface);border-radius:var(--radius-md);overflow:hidden;border:1px solid var(--color-border);transition:all var(--transition-base)}
.blog-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}
.blog-card img{width:100%;aspect-ratio:16/9;object-fit:cover}
.blog-card-body{padding:20px}
.blog-card-date{font-size:12px;color:var(--color-text-muted);margin-bottom:8px}
.blog-card-title{font-family:var(--font-heading);font-size:20px;font-weight:700;margin-bottom:8px;line-height:1.3}
.blog-card-title a:hover{color:var(--color-accent)}
.blog-card-excerpt{font-size:14px;color:var(--color-text-secondary);line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.blog-card-meta{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:12px;color:var(--color-text-muted)}

/* --- Trust Badges --- */
.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:20px}
.trust-item svg{width:36px;height:36px;color:var(--color-accent);margin:0 auto 12px}
.trust-item h4{font-size:14px;font-weight:700;margin-bottom:4px}
.trust-item p{font-size:12px;color:var(--color-text-muted)}

/* --- Breadcrumb --- */
.breadcrumb{display:flex;align-items:center;gap:8px;padding:16px 0;font-size:13px;color:var(--color-text-muted)}
.breadcrumb a:hover{color:var(--color-accent)}
.breadcrumb-sep{color:var(--color-text-muted);font-size:10px}

/* --- Product Page Layout --- */
.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)}}
@media(min-width:1024px){.product-layout{grid-template-columns:1.1fr .9fr}}

.product-gallery{display:flex;flex-direction:column;gap:12px}
.gallery-main-wrap{position:relative;aspect-ratio:1;border-radius:var(--radius-md);overflow:hidden;background:var(--color-surface-alt);border:1px solid var(--color-border)}
.gallery-main-wrap img{width:100%;height:100%;object-fit:cover;cursor:zoom-in}
.gallery-zoom-icon{position:absolute;top:12px;right:12px;background:rgba(255,255,255,.9);border-radius:50%;width:36px;height:36px;display:flex;align-items:center;justify-content:center;color:var(--color-text-secondary)}
.gallery-thumbs{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}
.gallery-thumb{width:80px;height:80px;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 */
.product-info{display:flex;flex-direction:column}
.product-vendor{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--color-text-muted);margin-bottom:8px}
.product-title{font-family:var(--font-heading);font-size:28px;font-weight:700;line-height:1.2;margin-bottom:12px}
@media(min-width:768px){.product-title{font-size:34px}}
.product-rating-row{display:flex;align-items:center;gap:8px;margin-bottom:16px}
.product-rating-row .stars{color:var(--color-gold);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:baseline;gap:12px;margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid var(--color-border)}
.product-price{font-family:var(--font-mono);font-size:28px;font-weight:700;color:var(--color-accent)}
.product-compare-price{font-size:18px;color:var(--color-text-muted);text-decoration:line-through}
.product-save-badge{background:var(--color-sale);color:#fff;font-size:12px;font-weight:600;padding:3px 10px;border-radius:var(--radius-full)}

/* Option selectors */
.option-group{margin-bottom:20px}
.option-label{font-size:13px;font-weight:600;margin-bottom:8px;display:flex;align-items:center;gap:8px}
.option-label .selected-val{color:var(--color-accent);font-weight:700}
.option-btns{display:flex;flex-wrap:wrap;gap:8px}
.option-btn{padding:8px 18px;border:1.5px solid var(--color-border);border-radius:var(--radius-sm);font-size:13px;font-weight:500;transition:all var(--transition-fast);background:#fff}
.option-btn:hover{border-color:var(--color-accent)}
.option-btn.active{background:var(--color-accent);color:#fff;border-color:var(--color-accent)}
.option-btn.unavailable{opacity:.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:40px;height:42px;display:flex;align-items:center;justify-content:center;font-size:18px;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:42px;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}

/* ATC buttons */
.product-atc-row{display:flex;gap:12px;margin:20px 0}
.product-atc-row .btn{flex:1}
.availability-msg{font-size:13px;margin-bottom:16px;display:flex;align-items:center;gap:6px}
.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}

/* Short description */
.product-short-desc{font-size:14px;color:var(--color-text-secondary);line-height:1.7;margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid var(--color-border)}
.product-short-desc ul{padding-left:20px;margin-top:8px}
.product-short-desc li{margin-bottom:4px;list-style:disc}

/* Accordions */
.product-accordions{margin-top:8px}
.accordion{border-bottom:1px solid var(--color-border)}
.accordion-header{display:flex;justify-content:space-between;align-items:center;padding:16px 0;cursor:pointer;font-size:15px;font-weight:600;color:var(--color-text-primary)}
.accordion-header:hover{color:var(--color-accent)}
.accordion-icon{transition:transform var(--transition-base);font-size:18px;color:var(--color-text-muted)}
.accordion.open .accordion-icon{transform:rotate(45deg)}
.accordion-body{max-height:0;overflow:hidden;transition:max-height var(--transition-base);font-size:14px;color:var(--color-text-secondary);line-height:1.7}
.accordion.open .accordion-body{max-height:600px;padding-bottom:16px}
.accordion-body p{margin-bottom:10px}
.accordion-body ul{padding-left:20px;margin-bottom:10px}
.accordion-body li{list-style:disc;margin-bottom:4px}

/* Sticky ATC */
.sticky-atc{position:fixed;bottom:0;left:0;width:100%;background:#fff;border-top:1px solid var(--color-border);box-shadow:0 -4px 20px rgba(0,0,0,.1);padding:12px var(--space-md);z-index:90;transform:translateY(100%);transition:transform var(--transition-base)}
.sticky-atc.visible{transform:translateY(0)}
.sticky-atc-inner{max-width:var(--container-max);margin:0 auto;display:flex;align-items:center;gap:16px}
.sticky-atc-product{display:flex;align-items:center;gap:12px;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:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sticky-atc-product .info .price{font-family:var(--font-mono);font-size:15px;font-weight:700;color:var(--color-accent)}
.sticky-atc-btn{flex-shrink:0}
@media(max-width:480px){
  .sticky-atc-product .info h4{font-size:12px;max-width:120px}
  .sticky-atc-btn .btn{padding:10px 18px;font-size:13px}
}

/* --- Reviews Section --- */
.reviews-section{padding:var(--space-xl) 0}
.reviews-summary{display:grid;grid-template-columns:1fr;gap:var(--space-lg);margin-bottom:var(--space-xl);padding:var(--space-lg);background:var(--color-surface-alt);border-radius:var(--radius-md)}
@media(min-width:768px){.reviews-summary{grid-template-columns:1fr 2fr;align-items:center}}
.reviews-avg{text-align:center}
.reviews-score{font-family:var(--font-heading);font-size:48px;font-weight:700;color:var(--color-accent)}
.reviews-score-out{font-size:16px;color:var(--color-text-muted)}
.reviews-stars{color:var(--color-gold);font-size:18px;letter-spacing:3px;margin:4px 0}
.reviews-count{font-size:13px;color:var(--color-text-muted)}
.reviews-bars{display:flex;flex-direction:column;gap:6px}
.rating-bar{display:flex;align-items:center;gap:10px;font-size:13px}
.rating-bar-label{width:40px;color:var(--color-text-muted)}
.rating-bar-track{flex:1;height:8px;background:var(--color-border);border-radius:4px;overflow:hidden}
.rating-bar-fill{height:100%;background:var(--color-gold);border-radius:4px;transition:width .5s ease}
.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:20px;margin-bottom:var(--space-md)}
.review-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:10px}
.review-author{font-size:14px;font-weight:700}
.review-verified{font-size:11px;color:var(--color-success);display:flex;align-items:center;gap:4px;margin-top:2px}
.review-title{font-size:15px;font-weight:600;margin-bottom:6px}
.review-body{font-size:14px;color:var(--color-text-secondary);line-height:1.6}
.review-date{font-size:12px;color:var(--color-text-muted)}
.rating-stars{color:var(--color-gold);font-size:14px;letter-spacing:2px;margin-bottom:6px}

/* --- Cart Drawer --- */
.cart-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:300;opacity:0;visibility:hidden;transition:all var(--transition-base)}
.cart-overlay.show{opacity:1;visibility:visible}
.cart-drawer{position:fixed;top:0;right:0;width:90%;max-width:420px;height:100vh;background:#fff;z-index:301;transform:translateX(100%);transition:transform var(--transition-base);display:flex;flex-direction:column}
.cart-drawer.open{transform:translateX(0)}
.cart-drawer-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid var(--color-border)}
.cart-drawer-header h2{font-family:var(--font-heading);font-size:22px;font-weight:700;display:flex;align-items:center;gap:8px}
.cart-close{font-size:24px;color:var(--color-text-muted);width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background var(--transition-fast)}
.cart-close:hover{background:var(--color-surface-alt)}
.cart-lines{flex:1;overflow-y:auto;padding:12px 20px}
.cart-item{display:flex;gap:12px;padding:16px 0;border-bottom:1px solid var(--color-border)}
.cart-item img{width:70px;height:70px;border-radius:var(--radius-sm);object-fit:cover;flex-shrink:0}
.cart-item-info{flex:1;min-width:0}
.cart-item-title{font-size:14px;font-weight:600;margin-bottom:2px;line-height:1.3}
.cart-item-variant{font-size:12px;color:var(--color-text-muted);margin-bottom:6px}
.cart-item-price{font-family:var(--font-mono);font-size:14px;font-weight:700;color:var(--color-accent)}
.cart-item-controls{display:flex;align-items:center;justify-content:space-between;margin-top:8px}
.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);display:flex;align-items:center;justify-content:center}
.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-empty{text-align:center;padding:40px 20px;color:var(--color-text-muted)}
.cart-empty svg{width:48px;height:48px;margin:0 auto 16px;opacity:.3}
.cart-footer{padding:20px;border-top:1px solid var(--color-border);background:var(--color-surface-alt)}
.cart-subtotal{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.cart-subtotal span{font-size:14px;color:var(--color-text-secondary)}
.cart-subtotal strong{font-family:var(--font-mono);font-size:20px;font-weight:700;color:var(--color-accent)}
.cart-tax-note{font-size:12px;color:var(--color-text-muted);margin-bottom:16px;text-align:center}
.cart-footer .btn{margin-bottom:8px}

/* --- Toast --- */
.toast{position:fixed;bottom:80px;left:50%;transform:translateX(-50%) translateY(100px);background:var(--color-text-primary);color:#fff;padding:14px 24px;border-radius:var(--radius-md);font-size:14px;font-weight:500;z-index:400;opacity:0;transition:all var(--transition-base);box-shadow:var(--shadow-lg);max-width:90%}
.toast.show{transform:translateX(-50%) translateY(0);opacity:1}
.toast-success{background:var(--color-success)}
.toast-error{background:var(--color-error)}

/* --- Footer --- */
.footer{background:#1a1216;color:rgba(255,255,255,.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:repeat(4,1fr)}}
.footer-col h4{font-family:var(--font-heading);font-size:18px;font-weight:700;color:#fff;margin-bottom:16px}
.footer-col ul{display:flex;flex-direction:column;gap:8px}
.footer-col a{font-size:14px;color:rgba(255,255,255,.6);transition:color var(--transition-fast)}
.footer-col a:hover{color:var(--color-gold)}
.footer-logo{font-family:var(--font-heading);font-size:28px;font-weight:700;color:#fff;margin-bottom:12px}
.footer-logo span{color:var(--color-gold)}
.footer-about{font-size:14px;line-height:1.6;color:rgba(255,255,255,.6);margin-bottom:16px}
.social-links{display:flex;gap:12px}
.social-links a{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;transition:all var(--transition-fast)}
.social-links a:hover{background:var(--color-gold);color:#1a1216}
.social-links svg{width:18px;height:18px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:var(--space-lg);display:flex;flex-direction:column;gap:8px;align-items:center;text-align:center;font-size:13px;color:rgba(255,255,255,.5)}
@media(min-width:768px){.footer-bottom{flex-direction:row;justify-content:space-between;text-align:left}}
.footer-payments{display:flex;gap:8px;align-items:center}
.footer-payments span{font-size:11px;padding:4px 8px;background:rgba(255,255,255,.08);border-radius:4px;letter-spacing:.05em}

/* --- Pagination --- */
.pagination{display:flex;justify-content:center;gap:6px;padding:var(--space-xl) 0}
.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:600;color:var(--color-text-secondary);transition:all var(--transition-fast);padding:0 12px}
.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:.4;cursor:not-allowed}

/* --- Sort Bar --- */
.sort-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 0;margin-bottom:var(--space-md);flex-wrap:wrap}
.sort-bar select{padding:8px 14px;border:1px solid var(--color-border);border-radius:var(--radius-sm);font-size:14px;background:#fff;cursor:pointer}
.sort-bar select:focus{outline:none;border-color:var(--color-accent)}
.sort-bar .result-count{font-size:13px;color:var(--color-text-muted)}

/* --- Search Page --- */
.search-page{padding:var(--space-2xl) 0}
.search-bar-large{display:flex;gap:8px;margin-bottom:var(--space-xl)}
.search-bar-large input{flex:1;padding:14px 18px;border:1.5px solid var(--color-border);border-radius:var(--radius-sm);font-size:16px}
.search-bar-large input:focus{outline:none;border-color:var(--color-accent)}

/* --- 404 Page --- */
.error-page{min-height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:var(--space-3xl) var(--space-md)}
.error-page h1{font-family:var(--font-heading);font-size:80px;font-weight:700;color:var(--color-accent);margin-bottom:16px}
.error-page h2{font-size:24px;font-weight:600;margin-bottom:12px}
.error-page p{font-size:16px;color:var(--color-text-secondary);max-width:400px;margin-bottom:24px}

/* --- Cart Page --- */
.cart-page{padding:var(--space-xl) 0 var(--space-2xl)}
.cart-page-title{font-family:var(--font-heading);font-size:36px;font-weight:700;margin-bottom:var(--space-xl)}
.cart-page-table{display:none}
@media(min-width:768px){
  .cart-page-table{display:block}
  .cart-page-table table{width:100%}
  .cart-page-table th{text-align:left;padding:12px 16px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--color-text-muted);border-bottom:2px solid var(--color-border)}
  .cart-page-table td{padding:16px;border-bottom:1px solid var(--color-border);vertical-align:middle}
  .cart-page-table .cart-product-cell{display:flex;align-items:center;gap:12px}
  .cart-page-table .cart-product-cell img{width:80px;height:80px;border-radius:var(--radius-sm);object-fit:cover}
  .cart-page-table .cart-product-cell .info h4{font-size:14px;font-weight:600}
  .cart-page-table .cart-product-cell .info p{font-size:12px;color:var(--color-text-muted)}
}
.cart-page-mobile{display:flex;flex-direction:column;gap:16px}
@media(min-width:768px){.cart-page-mobile{display:none}}
.cart-page-item{display:flex;gap:12px;padding:16px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md)}
.cart-page-item img{width:80px;height:80px;border-radius:var(--radius-sm);object-fit:cover;flex-shrink:0}
.cart-page-item .info{flex:1}
.cart-page-item .info h4{font-size:14px;font-weight:600;margin-bottom:4px}
.cart-page-item .info .variant{font-size:12px;color:var(--color-text-muted);margin-bottom:8px}
.cart-page-item .info .price{font-family:var(--font-mono);font-weight:700;color:var(--color-accent)}
.cart-page-item .controls{display:flex;align-items:center;justify-content:space-between;margin-top:8px}
.cart-page-summary{background:var(--color-surface-alt);border-radius:var(--radius-md);padding:24px;margin-top:var(--space-xl)}
.cart-page-summary h3{font-family:var(--font-heading);font-size:22px;font-weight:700;margin-bottom:16px}
.cart-page-summary-row{display:flex;justify-content:space-between;padding:8px 0;font-size:14px}
.cart-page-summary-row.total{border-top:2px solid var(--color-border);margin-top:8px;padding-top:16px;font-size:18px;font-weight:700}
.cart-page-summary-row.total strong{font-family:var(--font-mono);color:var(--color-accent)}
.cart-page-summary .btn{margin-top:16px}
.cart-page-empty{text-align:center;padding:var(--space-3xl) 0}
.cart-page-empty svg{width:64px;height:64px;margin:0 auto 16px;opacity:.2}
.cart-page-empty h2{font-family:var(--font-heading);font-size:28px;margin-bottom:8px}
.cart-page-empty p{color:var(--color-text-muted);margin-bottom:24px}

/* --- Checkout Page --- */
.checkout-page{padding:var(--space-xl) 0 var(--space-2xl);background:var(--color-surface-alt);min-height:80vh}
.checkout-layout{display:grid;grid-template-columns:1fr;gap:var(--space-xl)}
@media(min-width:1024px){.checkout-layout{grid-template-columns:1.5fr 1fr}}
.checkout-form-section{background:#fff;border-radius:var(--radius-md);padding:24px;margin-bottom:var(--space-lg)}
.checkout-form-section h3{font-family:var(--font-heading);font-size:22px;font-weight:700;margin-bottom:4px;display:flex;align-items:center;gap:8px}
.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:14px;font-family:var(--font-body)}
.checkout-form-section .section-desc{font-size:13px;color:var(--color-text-muted);margin-bottom:20px}
.form-row{display:grid;grid-template-columns:1fr;gap:12px;margin-bottom:12px}
@media(min-width:640px){.form-row.two-col{grid-template-columns:1fr 1fr}}
@media(min-width:640px){.form-row.three-col{grid-template-columns:2fr 1fr 1fr}}
.form-field{display:flex;flex-direction:column;gap:4px}
.form-field label{font-size:13px;font-weight:600;color:var(--color-text-secondary)}
.form-field label .required{color:var(--color-error)}
.form-field input,.form-field select{padding:12px 14px;border:1.5px solid var(--color-border);border-radius:var(--radius-sm);font-size:14px;transition:border-color var(--transition-fast)}
.form-field input:focus,.form-field select:focus{outline:none;border-color:var(--color-accent)}
.form-field input.error{border-color:var(--color-error)}

/* Card payment form */
.card-payment-wrap{margin-top:16px;padding:20px;background:var(--color-surface-alt);border-radius:var(--radius-md);border:1px solid var(--color-border)}
.card-payment-wrap .card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.card-payment-wrap .card-header h4{font-size:15px;font-weight:700;display:flex;align-items:center;gap:8px}
.card-payment-wrap .card-icons{display:flex;gap:6px}
.card-payment-wrap .card-icons span{font-size:10px;padding:3px 6px;background:#fff;border:1px solid var(--color-border);border-radius:3px;font-weight:700;letter-spacing:.05em}
.card-input-icon{position:relative}
.card-input-icon svg{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:20px;height:20px;color:var(--color-text-muted)}

/* Checkout summary */
.checkout-summary{background:#fff;border-radius:var(--radius-md);padding:24px;position:sticky;top:80px}
.checkout-summary h3{font-family:var(--font-heading);font-size:22px;font-weight:700;margin-bottom:16px}
.checkout-summary-item{display:flex;gap:12px;padding:12px 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:13px;font-weight:600;line-height:1.3}
.checkout-summary-item .info .qty{font-size:12px;color:var(--color-text-muted)}
.checkout-summary-item .price{font-family:var(--font-mono);font-size:14px;font-weight:700;color:var(--color-accent)}
.checkout-summary-totals{padding-top:16px}
.checkout-summary-totals .row{display:flex;justify-content:space-between;padding:6px 0;font-size:14px}
.checkout-summary-totals .row.total{border-top:2px solid var(--color-border);margin-top:8px;padding-top:12px;font-size:18px;font-weight:700}
.checkout-summary-totals .row.total strong{font-family:var(--font-mono);color:var(--color-accent)}
.checkout-trust{display:flex;flex-direction:column;gap:8px;margin-top:16px;padding-top:16px;border-top:1px solid var(--color-border)}
.checkout-trust-item{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--color-text-muted)}
.checkout-trust-item svg{width:16px;height:16px;color:var(--color-success);flex-shrink:0}

/* --- Thank You Page --- */
.thank-you-page{min-height:70vh;display:flex;align-items:center;justify-content:center;padding:var(--space-2xl) var(--space-md)}
.thank-you-card{max-width:640px;width:100%;background:#fff;border-radius:var(--radius-lg);padding:var(--space-2xl);text-align:center;box-shadow:var(--shadow-md)}
.thank-you-icon{width:80px;height:80px;margin:0 auto 24px;background:var(--color-success);border-radius:50%;display:flex;align-items:center;justify-content:center}
.thank-you-icon svg{width:40px;height:40px;color:#fff}
.thank-you-card h1{font-family:var(--font-heading);font-size:36px;font-weight:700;margin-bottom:12px;color:var(--color-accent)}
.thank-you-card .order-num{font-family:var(--font-mono);font-size:14px;color:var(--color-text-muted);margin-bottom:24px}
.thank-you-card .message{font-size:16px;color:var(--color-text-secondary);line-height:1.6;margin-bottom:28px}
.thank-you-details{background:var(--color-surface-alt);border-radius:var(--radius-md);padding:20px;margin-bottom:24px;text-align:left}
.thank-you-details .detail-row{display:flex;justify-content:space-between;padding:8px 0;font-size:14px;border-bottom:1px solid var(--color-border)}
.thank-you-details .detail-row:last-child{border-bottom:none}
.thank-you-details .detail-row strong{font-weight:700}
.thank-you-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* --- Page Content --- */
.page-content{padding:var(--space-xl) 0 var(--space-2xl)}
.page-content h1{font-family:var(--font-heading);font-size:36px;font-weight:700;margin-bottom:24px}
.page-content h2{font-family:var(--font-heading);font-size:26px;font-weight:700;margin:24px 0 12px}
.page-content h3{font-size:18px;font-weight:700;margin:20px 0 8px}
.page-content p{font-size:15px;line-height:1.7;color:var(--color-text-secondary);margin-bottom:12px}
.page-content ul,.page-content ol{padding-left:20px;margin-bottom:16px}
.page-content li{font-size:15px;line-height:1.7;color:var(--color-text-secondary);margin-bottom:6px;list-style:disc}
.page-content ol li{list-style:decimal}
.page-content img{border-radius:var(--radius-md);margin:16px 0}
.page-content table{border:1px solid var(--color-border);margin:16px 0}
.page-content th,.page-content td{padding:10px 14px;border:1px solid var(--color-border);font-size:14px;text-align:left}
.page-content th{background:var(--color-surface-alt);font-weight:700}
.page-content blockquote{border-left:3px solid var(--color-accent);padding-left:16px;margin:16px 0;font-style:italic;color:var(--color-text-secondary)}
.page-layout{display:grid;grid-template-columns:1fr;gap:var(--space-xl)}
@media(min-width:1024px){.page-layout{grid-template-columns:1fr 280px}}
.page-sidebar{display:none}
@media(min-width:1024px){.page-sidebar{display:block}}
.page-sidebar h4{font-family:var(--font-heading);font-size:18px;font-weight:700;margin-bottom:12px;padding-bottom:8px;border-bottom:2px solid var(--color-accent)}
.page-sidebar ul{display:flex;flex-direction:column;gap:6px}
.page-sidebar a{font-size:14px;color:var(--color-text-secondary);padding:6px 0;transition:color var(--transition-fast)}
.page-sidebar a:hover{color:var(--color-accent)}

/* --- Contact Form --- */
.contact-form{max-width:600px;margin:0 auto}
.contact-form .form-field{margin-bottom:16px}
.contact-form textarea{padding:12px 14px;border:1.5px solid var(--color-border);border-radius:var(--radius-sm);font-size:14px;min-height:120px;resize:vertical}
.contact-form textarea:focus{outline:none;border-color:var(--color-accent)}
.contact-info-grid{display:grid;grid-template-columns:1fr;gap:var(--space-md);margin-bottom:var(--space-xl)}
@media(min-width:640px){.contact-info-grid{grid-template-columns:repeat(3,1fr)}}
.contact-info-card{text-align:center;padding:20px;background:var(--color-surface-alt);border-radius:var(--radius-md)}
.contact-info-card svg{width:28px;height:28px;color:var(--color-accent);margin:0 auto 8px}
.contact-info-card h4{font-size:14px;font-weight:700;margin-bottom:4px}
.contact-info-card p{font-size:13px;color:var(--color-text-muted)}

/* --- FAQ --- */
.faq-section{max-width:800px;margin:0 auto}
.faq-item{border-bottom:1px solid var(--color-border)}
.faq-item .accordion-header{padding:18px 0}

/* --- Animations --- */
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes slideUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@keyframes shimmer{0%{background-position:-200% 0}100%{background-position:200% 0}}
@keyframes spin{to{transform:rotate(360deg)}}

.fade-in{animation:fadeIn .5s ease}
.slide-up{animation:slideUp .5s ease}

.skeleton{background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%);background-size:200% 100%;animation:shimmer 1.5s infinite}
.spinner{width:20px;height:20px;border:2px solid var(--color-border);border-top-color:var(--color-accent);border-radius:50%;animation:spin .8s linear infinite}

/* --- Collection Hero --- */
.collection-hero{position:relative;height:280px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.collection-hero img{position:absolute;width:100%;height:100%;object-fit:cover}
.collection-hero-overlay{position:absolute;width:100%;height:100%;background:rgba(26,18,22,.6)}
.collection-hero-content{position:relative;z-index:2;text-align:center;color:#fff;padding:0 var(--space-md)}
.collection-hero-content h1{font-family:var(--font-heading);font-size:36px;font-weight:700;margin-bottom:8px}
.collection-hero-content p{font-size:15px;opacity:.85;max-width:600px;margin:0 auto}
@media(min-width:768px){.collection-hero{height:340px}.collection-hero-content h1{font-size:48px}}

/* --- Benefits/Why Choose Us --- */
.benefits-grid{display:grid;grid-template-columns:1fr;gap:var(--space-lg)}
@media(min-width:640px){.benefits-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.benefits-grid{grid-template-columns:repeat(4,1fr)}}
.benefit-card{text-align:center;padding:var(--space-lg)}
.benefit-card .icon{width:56px;height:56px;margin:0 auto 16px;background:var(--color-surface-alt);border-radius:50%;display:flex;align-items:center;justify-content:center}
.benefit-card .icon svg{width:28px;height:28px;color:var(--color-accent)}
.benefit-card h4{font-family:var(--font-heading);font-size:20px;font-weight:700;margin-bottom:8px}
.benefit-card p{font-size:14px;color:var(--color-text-secondary);line-height:1.6}

/* --- Brand Story --- */
.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{border-radius:var(--radius-lg);width:100%;aspect-ratio:4/3;object-fit:cover}
.brand-story-content h2{font-family:var(--font-heading);font-size:32px;font-weight:700;margin-bottom:16px}
.brand-story-content p{font-size:15px;color:var(--color-text-secondary);line-height:1.7;margin-bottom:12px}

/* --- Newsletter --- */
.newsletter{background:var(--color-accent);color:#fff;padding:var(--space-2xl) 0;text-align:center}
.newsletter h2{font-family:var(--font-heading);font-size:32px;font-weight:700;margin-bottom:8px}
.newsletter p{font-size:15px;opacity:.85;margin-bottom:24px}
.newsletter-form{display:flex;gap:8px;max-width:480px;margin:0 auto;flex-direction:column}
@media(min-width:480px){.newsletter-form{flex-direction:row}}
.newsletter-form input{flex:1;padding:14px 18px;border:none;border-radius:var(--radius-sm);font-size:14px}
.newsletter-form input:focus{outline:none}
.newsletter-form .btn-gold{flex-shrink:0}

/* --- Loading States --- */
.loading-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(255,255,255,.8);z-index:999;display:flex;align-items:center;justify-content:center}
.loading-overlay.hidden{display:none}

/* --- Responsive Utilities --- */
.hide-mobile{display:none}
@media(min-width:768px){.hide-mobile{display:block}.hide-desktop{display:none}}

/* --- Print --- */
@media print{.nav,.footer,.announcement-bar,.cart-drawer,.sticky-atc{display:none}}

/* ============================================
   AUDIT FIXES — Hero Slider, Checkout, Contact, Layout
   ============================================ */

/* --- Hero Slider --- */
.hero-slider{position:relative;width:100%;height:520px;overflow:hidden;background:#1a1216}
.hero-slide{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;transition:opacity 800ms ease-in-out;display:flex;align-items:center}
.hero-slide.active{opacity:1;z-index:2}
.hero-slide-bg{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;opacity:.35}
.hero-slide-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(90deg,rgba(26,18,22,.88) 0%,rgba(26,18,22,.55) 60%,rgba(26,18,22,.2) 100%)}
.hero-slide-content{position:relative;z-index:3;max-width:1280px;margin:0 auto;padding:0 16px;width:100%}
.hero-slide-eyebrow{font-size:13px;font-weight:600;letter-spacing:.15em;text-transform:uppercase;color:var(--color-gold);margin-bottom:12px;opacity:0;transform:translateY(20px);transition:all 600ms ease 200ms}
.hero-slide-title{font-family:var(--font-heading);font-size:42px;font-weight:700;color:#fff;line-height:1.1;margin-bottom:16px;max-width:600px;opacity:0;transform:translateY(30px);transition:all 600ms ease 400ms}
.hero-slide-subtitle{font-size:17px;color:rgba(255,255,255,.85);max-width:480px;margin-bottom:28px;line-height:1.6;opacity:0;transform:translateY(30px);transition:all 600ms ease 600ms}
.hero-slide-actions{display:flex;gap:12px;flex-wrap:wrap;opacity:0;transform:translateY(30px);transition:all 600ms ease 800ms}
.hero-slide.active .hero-slide-eyebrow{opacity:1;transform:translateY(0)}
.hero-slide.active .hero-slide-title{opacity:1;transform:translateY(0)}
.hero-slide.active .hero-slide-subtitle{opacity:1;transform:translateY(0)}
.hero-slide.active .hero-slide-actions{opacity:1;transform:translateY(0)}
@media(min-width:768px){
  .hero-slider{height:600px}
  .hero-slide-title{font-size:56px}
  .hero-slide-subtitle{font-size:19px}
}
@media(min-width:1024px){.hero-slide-title{font-size:64px}}

.hero-slider-nav{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:10}
.hero-slider-dot{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.4);cursor:pointer;transition:all 250ms ease;border:none;padding:0}
.hero-slider-dot.active{background:var(--color-gold);width:30px;border-radius:5px}
.hero-slider-arrow{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.3);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:10;transition:all 250ms ease;opacity:.7}
.hero-slider-arrow:hover{background:rgba(255,255,255,.3);opacity:1}
.hero-slider-arrow svg{width:24px;height:24px}
.hero-slider-arrow.prev{left:20px}
.hero-slider-arrow.next{right:20px}
@media(max-width:768px){.hero-slider-arrow{display:none}}

/* --- Product Layout Fixes --- */
.product-layout{align-items:start}
.product-gallery{position:sticky;top:80px}
@media(max-width:767px){.product-gallery{position:static}}
.product-info{padding-bottom:24px}
.product-short-desc{word-wrap:break-word;overflow-wrap:break-word}
.product-short-desc h3{font-size:16px;margin:12px 0 6px}
.product-short-desc ul{padding-left:20px}
.product-short-desc li{margin-bottom:4px;list-style:disc}
.product-accordions .accordion-body{word-wrap:break-word;overflow-wrap:break-word}
.product-accordions .accordion-body h3{font-size:15px;margin:10px 0 6px}
.product-accordions .accordion-body ul{padding-left:20px}
.product-accordions .accordion-body li{list-style:disc;margin-bottom:4px}
.product-atc-row{flex-wrap:wrap}
@media(max-width:480px){.product-atc-row .btn{flex:1 1 100%}}
.reviews-section{padding:48px 0}
.review-card{break-inside:avoid}

/* --- Custom Checkout Page --- */
.checkout-page-v2{background:var(--color-surface-alt);min-height:100vh;padding:24px 0 64px}
.checkout-header{background:var(--color-surface);border-bottom:1px solid var(--color-border);padding:16px 0;margin-bottom:24px}
.checkout-header-inner{max-width:1280px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:0 16px}
.checkout-header-logo{font-family:var(--font-heading);font-size:24px;font-weight:700;color:var(--color-accent)}
.checkout-header-logo span{color:var(--color-gold)}
.checkout-header-steps{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--color-text-muted)}
.checkout-header-steps .step{display:flex;align-items:center;gap:6px}
.checkout-header-steps .step-num{width:24px;height:24px;border-radius:50%;background:var(--color-border);color:var(--color-text-muted);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}
.checkout-header-steps .step.active .step-num{background:var(--color-accent);color:#fff}
.checkout-header-steps .step.done .step-num{background:var(--color-success);color:#fff}
.checkout-header-steps .step-sep{color:var(--color-border)}
@media(max-width:640px){.checkout-header-steps{display:none}}

.checkout-v2-layout{display:grid;grid-template-columns:1fr;gap:24px;max-width:1280px;margin:0 auto;padding:0 16px}
@media(min-width:1024px){.checkout-v2-layout{grid-template-columns:1.5fr 1fr}}

.checkout-v2-form{display:flex;flex-direction:column;gap:20px}
.checkout-v2-section{background:#fff;border-radius:var(--radius-md);padding:24px;border:1px solid var(--color-border)}
.checkout-v2-section h3{font-family:var(--font-heading);font-size:20px;font-weight:700;margin-bottom:4px;display:flex;align-items:center;gap:10px}
.checkout-v2-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:14px;font-family:var(--font-body)}
.checkout-v2-section .section-desc{font-size:13px;color:var(--color-text-muted);margin-bottom:20px}

/* Shipping method */
.shipping-method{display:flex;flex-direction:column;gap:10px}
.shipping-option{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1.5px solid var(--color-border);border-radius:var(--radius-sm);cursor:pointer;transition:all 200ms ease}
.shipping-option:hover{border-color:var(--color-accent)}
.shipping-option.selected{border-color:var(--color-accent);background:rgba(114,47,55,.04)}
.shipping-option input{width:18px;height:18px;accent-color:var(--color-accent)}
.shipping-option-info{flex:1}
.shipping-option-info h4{font-size:14px;font-weight:600;margin-bottom:2px}
.shipping-option-info p{font-size:12px;color:var(--color-text-muted)}
.shipping-option-price{font-family:var(--font-mono);font-size:15px;font-weight:700;color:var(--color-success)}

/* Coupon */
.coupon-wrap{display:flex;gap:8px;margin-top:12px}
.coupon-wrap input{flex:1;padding:10px 14px;border:1.5px solid var(--color-border);border-radius:var(--radius-sm);font-size:14px}
.coupon-wrap input:focus{outline:none;border-color:var(--color-accent)}
.coupon-wrap button{flex-shrink:0;padding:10px 20px;background:var(--color-surface-alt);border:1.5px solid var(--color-border);border-radius:var(--radius-sm);font-size:13px;font-weight:600;cursor:pointer;transition:all 200ms ease}
.coupon-wrap button:hover{border-color:var(--color-accent);color:var(--color-accent)}
.coupon-applied{display:flex;align-items:center;gap:8px;padding:10px 14px;background:rgba(45,122,78,.08);border:1px solid rgba(45,122,78,.2);border-radius:var(--radius-sm);font-size:13px;color:var(--color-success);margin-top:8px}

/* Billing same as shipping */
.billing-toggle{display:flex;align-items:center;gap:10px;padding:12px 0;cursor:pointer}
.billing-toggle input{width:18px;height:18px;accent-color:var(--color-accent)}
.billing-toggle label{font-size:14px;font-weight:500;cursor:pointer}

/* Checkout summary v2 */
.checkout-v2-summary{background:#fff;border-radius:var(--radius-md);padding:24px;border:1px solid var(--color-border);position:sticky;top:80px;align-self:start}
.checkout-v2-summary h3{font-family:var(--font-heading);font-size:20px;font-weight:700;margin-bottom:16px}
.checkout-v2-items{max-height:300px;overflow-y:auto;margin-bottom:16px}
.checkout-v2-item{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid var(--color-border)}
.checkout-v2-item img{width:56px;height:56px;border-radius:var(--radius-sm);object-fit:cover;flex-shrink:0}
.checkout-v2-item .info{flex:1;min-width:0}
.checkout-v2-item .info h4{font-size:13px;font-weight:600;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.checkout-v2-item .info .qty{font-size:12px;color:var(--color-text-muted)}
.checkout-v2-item .price{font-family:var(--font-mono);font-size:14px;font-weight:700;color:var(--color-accent);flex-shrink:0}
.checkout-v2-totals{padding-top:12px;border-top:2px solid var(--color-border)}
.checkout-v2-totals .row{display:flex;justify-content:space-between;padding:5px 0;font-size:14px}
.checkout-v2-totals .row.discount{color:var(--color-success)}
.checkout-v2-totals .row.total{font-size:20px;font-weight:700;padding-top:12px;margin-top:4px;border-top:1px solid var(--color-border)}
.checkout-v2-totals .row.total strong{font-family:var(--font-mono);color:var(--color-accent)}
.checkout-v2-place-order{width:100%;padding:16px;font-size:16px;font-weight:700;background:var(--color-accent);color:#fff;border-radius:var(--radius-sm);cursor:pointer;transition:all 250ms ease;margin-top:16px}
.checkout-v2-place-order:hover{background:var(--color-accent-hover);transform:translateY(-1px);box-shadow:var(--shadow-md)}
.checkout-v2-place-order:disabled{opacity:.6;cursor:not-allowed;transform:none}
.checkout-v2-trust{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px;padding-top:16px;border-top:1px solid var(--color-border)}
.checkout-v2-trust-item{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--color-text-muted)}
.checkout-v2-trust-item svg{width:16px;height:16px;color:var(--color-success);flex-shrink:0}
.checkout-secure-badges{display:flex;gap:12px;justify-content:center;margin-top:16px;flex-wrap:wrap}
.checkout-secure-badge{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--color-text-muted);padding:6px 12px;background:var(--color-surface-alt);border-radius:var(--radius-sm)}
.checkout-secure-badge svg{width:14px;height:14px;color:var(--color-success)}

/* --- Contact Page Redesign --- */
.contact-hero{position:relative;height:320px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:linear-gradient(135deg,#1a1216 0%,#2d1f23 50%,#3d2a30 100%)}
.contact-hero-overlay{position:absolute;width:100%;height:100%;background:rgba(26,18,22,.6)}
.contact-hero-content{position:relative;z-index:2;text-align:center;color:#fff;padding:0 16px}
.contact-hero-content h1{font-family:var(--font-heading);font-size:40px;font-weight:700;margin-bottom:12px}
.contact-hero-content p{font-size:16px;opacity:.85;max-width:500px;margin:0 auto}
@media(min-width:768px){.contact-hero{height:380px}.contact-hero-content h1{font-size:52px}}

.contact-page-body{padding:64px 0}
.contact-grid{display:grid;grid-template-columns:1fr;gap:40px}
@media(min-width:1024px){.contact-grid{grid-template-columns:1.2fr .8fr}}

.contact-form-card{background:#fff;border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:32px;box-shadow:var(--shadow-sm)}
.contact-form-card h2{font-family:var(--font-heading);font-size:26px;font-weight:700;margin-bottom:8px}
.contact-form-card .intro{font-size:14px;color:var(--color-text-secondary);margin-bottom:24px}
.contact-form-card .form-field{margin-bottom:16px}
.contact-form-card .form-row{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:480px){.contact-form-card .form-row.two-col{grid-template-columns:1fr 1fr}}
.contact-form-card textarea{padding:12px 14px;border:1.5px solid var(--color-border);border-radius:var(--radius-sm);font-size:14px;min-height:140px;resize:vertical;width:100%}
.contact-form-card textarea:focus{outline:none;border-color:var(--color-accent)}
.contact-form-card .btn{margin-top:8px}

.contact-info-side{display:flex;flex-direction:column;gap:20px}
.contact-info-card{background:#fff;border:1px solid var(--color-border);border-radius:var(--radius-md);padding:24px;display:flex;align-items:start;gap:16px;transition:all 250ms ease}
.contact-info-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}
.contact-info-card .icon{width:44px;height:44px;background:rgba(114,47,55,.08);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.contact-info-card .icon svg{width:22px;height:22px;color:var(--color-accent)}
.contact-info-card h4{font-size:15px;font-weight:700;margin-bottom:4px}
.contact-info-card p{font-size:13px;color:var(--color-text-secondary);line-height:1.5}
.contact-info-card a{color:var(--color-accent);text-decoration:none}
.contact-info-card a:hover{text-decoration:underline}

.contact-map-wrap{border-radius:var(--radius-md);overflow:hidden;border:1px solid var(--color-border);background:var(--color-surface-alt);aspect-ratio:16/9;position:relative}
.contact-map-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:var(--color-text-muted)}
.contact-map-placeholder svg{width:48px;height:48px;opacity:.4}
.contact-map-placeholder p{font-size:13px}
.contact-map-iframe{width:100%;height:100%;border:none}

.contact-social-section{background:var(--color-surface-alt);border-radius:var(--radius-md);padding:24px;text-align:center}
.contact-social-section h4{font-family:var(--font-heading);font-size:18px;font-weight:700;margin-bottom:12px}
.contact-social-section .social-links{justify-content:center}
.contact-social-section .social-links a{width:40px;height:40px}

.contact-faq-section{padding:48px 0;background:var(--color-surface-alt)}
.contact-faq-section .container{max-width:800px}
.contact-faq-section h2{font-family:var(--font-heading);font-size:28px;font-weight:700;text-align:center;margin-bottom:32px}
.contact-faq-item{background:#fff;border:1px solid var(--color-border);border-radius:var(--radius-sm);margin-bottom:10px;overflow:hidden}
.contact-faq-item .accordion-header{padding:16px 20px;margin:0;border:none}
.contact-faq-item .accordion-body{padding:0 20px 16px}

/* --- Product card fix: ensure consistent height --- */
.product-card{height:100%}
.product-card-body{flex:1;display:flex;flex-direction:column}
.product-card-atc{margin-top:auto}

/* --- Collection grid fix --- */
.grid-4{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
@media(min-width:768px){.grid-4{grid-template-columns:repeat(4,1fr);gap:24px}}
.grid-3{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
@media(min-width:768px){.grid-3{grid-template-columns:repeat(3,1fr);gap:24px}}

/* --- Fix breadcrumb on product pages --- */
.product-layout .breadcrumb{margin-bottom:16px}

/* --- Fix section spacing --- */
.section{padding:64px 0}
.section-alt{padding:64px 0}

/* --- Fix accordion max-height for long content --- */
.accordion.open .accordion-body{max-height:2000px}

/* --- Fix sticky ATC z-index above cart drawer --- */
.sticky-atc{z-index:95}

/* ============================================
   V3 LAYOUT FIXES — Product page alignment
   ============================================ */

/* Product page: ensure gallery and info are top-aligned */
.product-layout { align-items: flex-start; }

/* Gallery sticky on desktop only */
@media(min-width:768px) {
  .product-gallery { position: sticky; top: 80px; }
}

/* Product info: full width on mobile */
.product-info { min-width: 0; }

/* Short desc: proper word wrapping and spacing */
.product-short-desc { 
  word-wrap: break-word; 
  overflow-wrap: break-word;
  max-width: 100%;
}
.product-short-desc p { margin-bottom: 10px; }
.product-short-desc h3 { font-size: 16px; margin: 14px 0 8px; font-weight: 700; }
.product-short-desc ul { padding-left: 20px; margin-bottom: 10px; }
.product-short-desc li { margin-bottom: 6px; list-style: disc; }

/* Accordion body: proper content rendering */
.accordion-body { word-wrap: break-word; overflow-wrap: break-word; }
.accordion-body h3 { font-size: 15px; margin: 12px 0 6px; font-weight: 700; }
.accordion-body ul { padding-left: 20px; margin-bottom: 10px; }
.accordion-body li { list-style: disc; margin-bottom: 4px; }
.accordion-body p { margin-bottom: 10px; }

/* Increase accordion max-height for long descriptions */
.accordion.open .accordion-body { max-height: 3000px; }

/* Product ATC row: equal width buttons */
.product-atc-row { 
  display: flex; 
  gap: 12px; 
  margin: 20px 0;
}
.product-atc-row .btn { flex: 1; }
@media(max-width:480px) {
  .product-atc-row { flex-direction: column; }
  .product-atc-row .btn { width: 100%; }
}

/* Reviews section: consistent spacing */
.reviews-section { padding: 48px 0; }

/* Related products: consistent card heights */
.product-card { height: 100%; }
.product-card-body { flex: 1; display: flex; flex-direction: column; }
.product-card-atc { margin-top: auto; }

/* Sticky ATC: ensure it doesn't overlap cart drawer */
.sticky-atc { z-index: 90; }

/* Section spacing consistency */
.section { padding: 64px 0; }
.section-alt { padding: 64px 0; }

/* Breadcrumb: consistent margin */
.product-layout .breadcrumb { margin-bottom: 16px; }

/* Container: ensure proper max-width */
.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media(min-width:768px) { .container { padding: 0 24px; } }

/* Product title: responsive sizing */
.product-title { 
  font-size: 24px; 
  line-height: 1.2;
  margin-bottom: 12px;
}
@media(min-width:768px) { .product-title { font-size: 32px; } }
@media(min-width:1024px) { .product-title { font-size: 34px; } }

/* Price wrap: consistent alignment */
.product-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

/* Option groups: consistent spacing */
.option-group { margin-bottom: 20px; }
.option-btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* Quantity control: consistent sizing */
.qty-control { 
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

/* Gallery: proper aspect ratio */
.gallery-main-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-alt);
}
.gallery-main-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gallery thumbs: horizontal scroll on mobile */
.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.gallery-thumb {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
}
.gallery-thumb.active { border-color: var(--color-accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
