/* Intimate Underpinnings — luxury sleepwear design system */
:root {
  --color-bg: #fbf7f4;
  --color-surface: #ffffff;
  --color-surface-alt: #f4ece7;
  --color-surface-deep: #efe3dc;
  --color-border: #e7dbd3;
  --color-border-strong: #d8c6bb;
  --color-text-primary: #2d2226;
  --color-text-secondary: #5c4f52;
  --color-text-muted: #948589;
  --color-accent: #7a2e46;
  --color-accent-hover: #611f36;
  --color-accent-fg: #fdf6f2;
  --color-gold: #b08d57;
  --color-gold-soft: #d9c3a3;
  --color-blush: #e8c9c5;
  --color-champagne: #f0ddd0;
  --color-success: #4b7d52;
  --color-warning: #b07826;
  --color-error: #a23b3b;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 16px; --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(45,34,38,.06);
  --shadow-md: 0 6px 20px rgba(45,34,38,.08);
  --shadow-lg: 0 18px 50px rgba(45,34,38,.14);
  --space-xs:4px; --space-sm:8px; --space-md:16px; --space-lg:24px; --space-xl:40px; --space-2xl:64px; --space-3xl:96px;
  --transition-fast:150ms ease; --transition-base:250ms ease;
  --container:1240px; --nav-h:68px;
}
*,*::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-secondary);line-height:1.65;font-size:16px;font-weight:300;-webkit-font-smoothing:antialiased;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}
ul{list-style:none}
input,select,textarea{font-family:inherit;font-size:1rem}
h1,h2,h3,h4{font-family:var(--font-heading);color:var(--color-text-primary);font-weight:500;line-height:1.12;letter-spacing:-.01em}
h1{font-size:clamp(2.4rem,6vw,4.2rem)}
h2{font-size:clamp(1.9rem,4vw,2.9rem)}
h3{font-size:clamp(1.3rem,2.4vw,1.7rem)}
.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 20px}
.section{padding:var(--space-2xl) 0}
.section-alt{background:var(--color-surface-alt)}
.section-header{text-align:center;max-width:640px;margin:0 auto var(--space-xl)}
.section-subtitle{color:var(--color-text-muted);margin-top:var(--space-sm);font-size:1.05rem}
.eyebrow{font-size:.72rem;letter-spacing:.28em;text-transform:uppercase;color:var(--color-gold);font-weight:500;margin-bottom:var(--space-sm);display:block}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 30px;border-radius:var(--radius-full);font-size:.82rem;letter-spacing:.13em;text-transform:uppercase;font-weight:400;transition:all var(--transition-base);white-space:nowrap;border:1px solid transparent}
.btn-primary{background:var(--color-accent);color:var(--color-accent-fg)}
.btn-primary:hover{background:var(--color-accent-hover);transform:translateY(-2px);box-shadow:var(--shadow-md)}
.btn-secondary{background:var(--color-text-primary);color:#fff}
.btn-secondary:hover{background:#000;transform:translateY(-2px)}
.btn-ghost{background:transparent;color:var(--color-text-primary);border-color:var(--color-border-strong)}
.btn-ghost:hover{background:var(--color-text-primary);color:#fff}
.btn-gold{background:var(--color-gold);color:#fff}
.btn-gold:hover{background:#96753f}
.btn-sm{padding:9px 20px;font-size:.72rem}
.btn-lg{padding:16px 40px;font-size:.85rem}
.btn-block{width:100%}
.btn:disabled{opacity:.45;cursor:not-allowed;transform:none!important}
.badge{display:inline-flex;align-items:center;justify-content:center;font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;padding:4px 10px;border-radius:var(--radius-full);font-weight:500}
.badge-sale{background:var(--color-accent);color:#fff}
.badge-new{background:var(--color-gold);color:#fff}
.badge-count{background:var(--color-accent);color:#fff;min-width:18px;height:18px;font-size:.66rem;padding:0 5px;border-radius:var(--radius-full)}
.announcement-bar{background:var(--color-text-primary);color:#f7ece6;text-align:center;font-size:.74rem;letter-spacing:.18em;text-transform:uppercase;padding:9px 16px;font-weight:300}
.announcement-bar span{margin:0 14px}
.announcement-bar .sep{color:var(--color-gold)}
.nav{position:sticky;top:0;z-index:100;background:rgba(251,247,244,.92);backdrop-filter:blur(12px);border-bottom:1px solid var(--color-border)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:var(--nav-h);gap:var(--space-md)}
.nav-logo{font-family:var(--font-heading);font-size:1.5rem;font-weight:600;letter-spacing:.02em;color:var(--color-text-primary);white-space:nowrap}
.nav-logo span{color:var(--color-accent)}
.nav-links{display:none;align-items:center;gap:var(--space-lg)}
.nav-links>li{position:relative}
.nav-links>li>a{font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;font-weight:400;color:var(--color-text-secondary);padding:8px 0;transition:color var(--transition-fast);position:relative}
.nav-links>li>a::after{content:'';position:absolute;left:0;bottom:0;width:0;height:1px;background:var(--color-accent);transition:width var(--transition-base)}
.nav-links>li>a:hover{color:var(--color-accent)}
.nav-links>li>a:hover::after{width:100%}
.nav-dropdown{position:absolute;top:100%;left:50%;transform:translateX(-50%) translateY(8px);background:var(--color-surface);box-shadow:var(--shadow-lg);border-radius:var(--radius-md);padding:12px;min-width:210px;opacity:0;visibility:hidden;transition:all var(--transition-base);border:1px solid var(--color-border);z-index:50}
.nav-links>li:hover .nav-dropdown{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.nav-dropdown a{display:block;padding:8px 12px;font-size:.85rem;border-radius:var(--radius-sm);color:var(--color-text-secondary)}
.nav-dropdown a:hover{background:var(--color-surface-alt);color:var(--color-accent)}
.nav-actions{display:flex;align-items:center;gap:var(--space-md)}
.nav-icon-btn{position:relative;color:var(--color-text-primary);display:flex;padding:4px}
.nav-icon-btn:hover{color:var(--color-accent)}
.nav-icon-btn .badge-count{position:absolute;top:-6px;right:-8px}
.hamburger{display:flex;flex-direction:column;gap:4px;padding:6px}
.hamburger span{width:22px;height:1.5px;background:var(--color-text-primary);transition:all var(--transition-base)}
.nav-search{display:none;flex:1;max-width:340px;position:relative}
.nav-search input{width:100%;padding:9px 16px 9px 38px;border-radius:var(--radius-full);border:1px solid var(--color-border-strong);background:var(--color-surface);font-size:.85rem;color:var(--color-text-primary)}
.nav-search input:focus{outline:none;border-color:var(--color-accent)}
.nav-search svg{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:var(--color-text-muted)}
.search-results{position:absolute;top:110%;left:0;right:0;background:var(--color-surface);box-shadow:var(--shadow-lg);border-radius:var(--radius-md);overflow:hidden;z-index:120;border:1px solid var(--color-border);max-height:400px;overflow-y:auto}
.search-item{display:flex;gap:12px;padding:10px 14px;align-items:center;border-bottom:1px solid var(--color-border)}
.search-item:hover{background:var(--color-surface-alt)}
.search-item img{width:46px;height:56px;object-fit:cover;border-radius:var(--radius-sm)}
.search-item-title{font-size:.85rem;color:var(--color-text-primary)}
.search-item-price{font-size:.8rem;color:var(--color-accent)}
.mobile-menu{position:fixed;top:0;right:0;bottom:0;width:86%;max-width:380px;background:var(--color-surface);z-index:210;transform:translateX(100%);transition:transform var(--transition-base);overflow-y:auto;padding:24px;box-shadow:var(--shadow-lg)}
.mobile-menu.open{transform:translateX(0)}
.mobile-menu-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}
.mobile-menu-close{font-size:1.6rem;color:var(--color-text-primary)}
.mobile-menu a{display:block;padding:13px 0;font-size:1rem;border-bottom:1px solid var(--color-border);color:var(--color-text-primary)}
.mobile-menu .sub a{padding-left:16px;font-size:.9rem;color:var(--color-text-secondary)}
.overlay{position:fixed;inset:0;background:rgba(45,34,38,.5);z-index:200;opacity:0;visibility:hidden;transition:all var(--transition-base)}
.overlay.open{opacity:1;visibility:visible}
.hero{position:relative;min-height:78vh;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(105deg,rgba(45,34,38,.62) 0%,rgba(45,34,38,.25) 55%,rgba(45,34,38,.05) 100%);z-index:1}
.hero-content{position:relative;z-index:2;max-width:620px;color:#fff;padding:40px 0}
.hero-eyebrow{color:var(--color-gold-soft);letter-spacing:.3em;font-size:.78rem;text-transform:uppercase;margin-bottom:18px;display:block}
.hero-title{color:#fff;margin-bottom:20px}
.hero-subtitle{color:rgba(255,255,255,.88);font-size:1.1rem;max-width:480px;margin-bottom:32px;font-weight:300}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.grid{display:grid;gap:var(--space-lg)}
.grid-2{grid-template-columns:1fr}
.grid-3{grid-template-columns:repeat(2,1fr)}
.grid-4{grid-template-columns:repeat(2,1fr)}
.product-card{background:var(--color-surface);border-radius:var(--radius-md);overflow:hidden;transition:all var(--transition-base);position:relative;display:flex;flex-direction:column}
.product-card:hover{box-shadow:var(--shadow-md);transform:translateY(-4px)}
.product-card-img{position:relative;aspect-ratio:4/5;overflow:hidden;background:var(--color-surface-alt);display:block}
.product-card-img img{width:100%;height:100%;object-fit:cover;transition:transform 600ms ease,opacity var(--transition-base)}
.product-card-img img.alt{position:absolute;inset:0;opacity:0}
.product-card:hover .product-card-img img.alt{opacity:1}
.product-card:hover .product-card-img img.main{transform:scale(1.04)}
.product-card-badges{position:absolute;top:10px;left:10px;display:flex;flex-direction:column;gap:5px;z-index:2}
.product-card-body{padding:16px;display:flex;flex-direction:column;gap:6px;flex:1}
.product-card-vendor{font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:var(--color-text-muted)}
.product-card-title{font-family:var(--font-body);font-size:.92rem;font-weight:400;color:var(--color-text-primary);line-height:1.4}
.product-card-price{display:flex;align-items:baseline;gap:8px;margin-top:auto;padding-top:6px}
.price{font-size:1.02rem;color:var(--color-text-primary);font-weight:400}
.price-compare{font-size:.85rem;color:var(--color-text-muted);text-decoration:line-through}
.product-card-atc{margin-top:10px}
.product-card-swatches{display:flex;gap:6px;margin-top:4px}
.swatch-dot{width:15px;height:15px;border-radius:var(--radius-full);border:1px solid var(--color-border-strong)}
.collection-card{position:relative;aspect-ratio:3/4;border-radius:var(--radius-md);overflow:hidden;display:flex;align-items:flex-end}
.collection-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 600ms ease}
.collection-card:hover img{transform:scale(1.06)}
.collection-card::after{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(45,34,38,.7),transparent 62%)}
.collection-card-body{position:relative;z-index:2;padding:22px;color:#fff;width:100%}
.collection-card-title{color:#fff;font-size:1.5rem}
.collection-card-count{font-size:.75rem;letter-spacing:.14em;text-transform:uppercase;color:var(--color-gold-soft)}
.trust-badges{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--space-lg)}
.trust-item{text-align:center;padding:20px}
.trust-item svg{color:var(--color-accent);margin:0 auto 12px}
.trust-item h4{font-family:var(--font-body);font-size:.85rem;letter-spacing:.06em;text-transform:uppercase;color:var(--color-text-primary);margin-bottom:4px;font-weight:500}
.trust-item p{font-size:.82rem;color:var(--color-text-muted)}
.breadcrumb{display:flex;flex-wrap:wrap;gap:6px;font-size:.78rem;color:var(--color-text-muted);padding:18px 0}
.breadcrumb a:hover{color:var(--color-accent)}
.breadcrumb-sep{color:var(--color-border-strong)}
/* Product detail — compact premium PDP */
.product-layout{display:grid;grid-template-columns:1fr;gap:clamp(20px,3vw,36px);padding:12px 0 48px;align-items:start}
.product-gallery{display:grid;grid-template-columns:1fr;gap:12px;position:relative}
.gallery-main-wrap{aspect-ratio:1/1;max-height:min(560px,70vh);width:100%;margin:0 auto;border-radius:var(--radius-md);overflow:hidden;background:var(--color-surface);border:1px solid var(--color-border);position:relative;cursor:zoom-in}
.gallery-main-wrap img{width:100%;height:100%;object-fit:contain;object-position:center;background:var(--color-surface)}
.gallery-thumbs{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}
.gallery-thumb{flex:0 0 64px;width:64px;height:64px;aspect-ratio:1;border-radius:var(--radius-sm);overflow:hidden;border:1.5px solid var(--color-border);cursor:pointer;background:var(--color-surface);padding:0;transition:border-color var(--transition-fast),box-shadow var(--transition-fast)}
.gallery-thumb:hover{border-color:var(--color-border-strong)}
.gallery-thumb.active{border-color:var(--color-accent);box-shadow:0 0 0 1px var(--color-accent)}
.gallery-thumb img{width:100%;height:100%;object-fit:cover}
.product-info{display:flex;flex-direction:column;gap:14px;min-width:0}
.product-info-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:clamp(18px,2.5vw,28px);box-shadow:var(--shadow-sm)}
.product-vendor{font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;color:var(--color-gold);margin-bottom:4px}
.product-title{font-size:clamp(1.45rem,2.6vw,2rem);line-height:1.2;margin:0 0 4px}
.product-price-wrap{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px;padding:4px 0 2px}
.product-price{font-size:1.55rem;color:var(--color-text-primary);font-weight:400;letter-spacing:.01em}
.product-compare-price{font-size:1rem;color:var(--color-text-muted);text-decoration:line-through}
.product-save{font-size:.72rem;background:var(--color-blush);color:var(--color-accent);padding:3px 10px;border-radius:var(--radius-full);font-weight:500}
.product-short-desc{color:var(--color-text-secondary);font-size:.9rem;line-height:1.65;margin:0}
.product-highlights{display:grid;grid-template-columns:1fr;gap:8px;margin:2px 0 4px}
.product-highlight{display:flex;align-items:flex-start;gap:10px;font-size:.84rem;color:var(--color-text-secondary);line-height:1.45}
.product-highlight .hi-dot{width:6px;height:6px;border-radius:50%;background:var(--color-gold);margin-top:7px;flex:0 0 auto}
.option-group{display:flex;flex-direction:column;gap:8px}
.option-label{font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:var(--color-text-primary);font-weight:500;display:flex;align-items:center;justify-content:space-between;gap:12px}
.option-label a,.size-guide-link{font-size:.78rem;letter-spacing:.04em;text-transform:none;color:var(--color-accent);text-decoration:underline;text-underline-offset:2px;font-weight:400}
.option-label a:hover,.size-guide-link:hover{color:var(--color-accent-hover)}
.option-btns{display:flex;flex-wrap:wrap;gap:8px}
.option-btn{min-width:44px;padding:10px 16px;border:1px solid var(--color-border-strong);border-radius:var(--radius-full);font-size:.84rem;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{background:var(--color-accent);color:#fff;border-color:var(--color-accent)}
.option-btn.swatch{padding:0;width:36px;height:36px;min-width:36px;overflow:hidden;position:relative}
.option-btn.swatch .swatch-fill{position:absolute;inset:3px;border-radius:var(--radius-full)}
.qty-control{display:inline-flex;align-items:center;border:1px solid var(--color-border-strong);border-radius:var(--radius-full);overflow:hidden;background:var(--color-surface);height:48px}
.qty-btn{width:42px;height:48px;font-size:1.15rem;color:var(--color-text-primary)}
.qty-btn:hover{background:var(--color-surface-alt)}
.qty-input{width:44px;height:48px;text-align:center;border:none;background:transparent;color:var(--color-text-primary);-moz-appearance:textfield}
.qty-input::-webkit-outer-spin-button,.qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.qty-input:focus{outline:none}
.product-actions{display:flex;flex-direction:column;gap:10px;margin-top:2px}
.product-actions-row{display:flex;gap:10px;align-items:stretch}
.product-actions .btn{min-height:48px}
.availability-msg{display:flex;align-items:center;gap:8px;font-size:.84rem;color:var(--color-success);margin:0}
.availability-msg .dot{width:8px;height:8px;border-radius:var(--radius-full);background:currentColor;flex:0 0 auto}
.product-meta-list{display:flex;flex-direction:column;gap:8px;font-size:.8rem;color:var(--color-text-muted);border-top:1px solid var(--color-border);padding-top:14px;margin-top:4px}
.product-meta-list div{display:flex;gap:8px;align-items:center}
.product-accordions{border-top:1px solid var(--color-border);margin-top:4px}
.accordion{border-bottom:1px solid var(--color-border)}
.accordion-head{width:100%;display:flex;justify-content:space-between;align-items:center;padding:14px 0;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--color-text-primary);font-weight:500}
.accordion-head .icon{transition:transform var(--transition-base);font-size:1.15rem;line-height:1}
.accordion.open .accordion-head .icon{transform:rotate(45deg)}
.accordion-body{max-height:0;overflow:hidden;transition:max-height var(--transition-base)}
.accordion.open .accordion-body{max-height:1400px}
.accordion-body-inner{padding:0 0 16px;font-size:.88rem;line-height:1.7;color:var(--color-text-secondary)}
.accordion-body-inner ul{list-style:disc;padding-left:20px;display:flex;flex-direction:column;gap:6px}
.accordion-body-inner h3{font-size:1rem;margin:10px 0 4px}
.product-related{padding:40px 0 56px}
.product-related .section-header{margin-bottom:28px}
.product-related .section-header h2{font-size:clamp(1.5rem,3vw,2.1rem)}
.product-related .grid{gap:18px}
.sticky-atc{position:fixed;bottom:0;left:0;right:0;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);box-shadow:0 -6px 24px rgba(45,34,38,.1);z-index:90;transform:translateY(100%);transition:transform var(--transition-base);border-top:1px solid var(--color-border);display:none}
.sticky-atc.visible{transform:translateY(0)}
.sticky-atc-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 20px;max-width:var(--container);margin:0 auto}
.sticky-atc-product{display:flex;align-items:center;gap:12px;min-width:0}
.sticky-atc-product img{width:40px;height:48px;object-fit:cover;border-radius:var(--radius-sm)}
.sticky-atc-title{font-size:.82rem;color:var(--color-text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}
.sticky-atc-price{font-size:.88rem;color:var(--color-accent)}
/* legacy review classes kept inert if present */
.reviews-section,.product-rating-row{display:none!important}
.cart-overlay{position:fixed;inset:0;background:rgba(45,34,38,.5);z-index:300;opacity:0;visibility:hidden;transition:all var(--transition-base)}
.cart-overlay.open{opacity:1;visibility:visible}
.cart-drawer{position:fixed;top:0;right:0;bottom:0;width:92%;max-width:420px;background:var(--color-bg);z-index:310;transform:translateX(100%);transition:transform var(--transition-base);display:flex;flex-direction:column;box-shadow:var(--shadow-lg)}
.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-size:1.4rem;display:flex;align-items:center;gap:10px}
.cart-close{font-size:1.5rem;color:var(--color-text-primary)}
.cart-lines{flex:1;overflow-y:auto;padding:12px 20px}
.cart-item{display:grid;grid-template-columns:72px 1fr auto;gap:14px;padding:16px 0;border-bottom:1px solid var(--color-border)}
.cart-item img{width:72px;height:90px;object-fit:cover;border-radius:var(--radius-sm)}
.cart-item-title{font-size:.88rem;color:var(--color-text-primary);line-height:1.4}
.cart-item-variant{font-size:.76rem;color:var(--color-text-muted);margin-top:2px}
.cart-item-price{font-size:.85rem;color:var(--color-accent);margin-top:6px}
.cart-item-qty{display:inline-flex;align-items:center;border:1px solid var(--color-border-strong);border-radius:var(--radius-full);margin-top:8px}
.cart-item-qty button{width:28px;height:28px;color:var(--color-text-primary)}
.cart-item-qty span{width:30px;text-align:center;font-size:.85rem}
.cart-item-remove{font-size:.72rem;color:var(--color-text-muted);text-decoration:underline;align-self:flex-start}
.cart-item-remove:hover{color:var(--color-error)}
.cart-empty{text-align:center;padding:60px 20px;color:var(--color-text-muted)}
.cart-empty svg{margin:0 auto 16px;color:var(--color-border-strong)}
.cart-footer{padding:20px;border-top:1px solid var(--color-border);background:var(--color-surface)}
.cart-subtotal{display:flex;justify-content:space-between;font-size:1.05rem;color:var(--color-text-primary);margin-bottom:6px}
.cart-tax-note{font-size:.76rem;color:var(--color-text-muted);margin-bottom:14px;text-align:center}
.cart-footer .btn{margin-bottom:8px}
.cart-free-ship{font-size:.78rem;text-align:center;color:var(--color-success);margin-bottom:12px;display:flex;align-items:center;justify-content:center;gap:6px}
.cart-page-layout{display:grid;grid-template-columns:1fr;gap:var(--space-xl);align-items:start}
.cart-table{background:var(--color-surface);border-radius:var(--radius-md);padding:8px 20px}
.cart-row{display:grid;grid-template-columns:90px 1fr auto;gap:16px;padding:20px 0;border-bottom:1px solid var(--color-border);align-items:center}
.cart-row:last-child{border-bottom:none}
.cart-row img{width:90px;height:112px;object-fit:cover;border-radius:var(--radius-sm)}
.cart-summary{background:var(--color-surface);border-radius:var(--radius-md);padding:24px;position:sticky;top:calc(var(--nav-h) + 20px)}
.cart-summary h3{margin-bottom:16px}
.summary-row{display:flex;justify-content:space-between;padding:8px 0;font-size:.9rem;color:var(--color-text-secondary)}
.summary-row.total{border-top:1px solid var(--color-border);margin-top:8px;padding-top:16px;font-size:1.15rem;color:var(--color-text-primary)}
.checkout-layout{display:grid;grid-template-columns:1fr;gap:var(--space-xl);align-items:start;padding:var(--space-lg) 0 var(--space-2xl)}
.checkout-form{display:flex;flex-direction:column;gap:var(--space-lg)}
.checkout-section{background:var(--color-surface);border-radius:var(--radius-md);padding:24px}
.checkout-section h3{font-size:1.3rem;margin-bottom:4px}
.checkout-section .step-num{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:var(--radius-full);background:var(--color-accent);color:#fff;font-size:.8rem;margin-right:8px}
.form-row{display:grid;grid-template-columns:1fr;gap:14px;margin-top:16px}
.form-row.two{grid-template-columns:1fr}
.form-row.three{grid-template-columns:1fr}
.form-group{display:flex;flex-direction:column;gap:6px}
.form-group label{font-size:.76rem;letter-spacing:.06em;text-transform:uppercase;color:var(--color-text-secondary);font-weight:500}
.form-group input,.form-group select,.form-group textarea{padding:12px 14px;border:1px solid var(--color-border-strong);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text-primary);transition:border var(--transition-fast)}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:var(--color-accent);box-shadow:0 0 0 3px rgba(122,46,70,.08)}
.form-group input.error{border-color:var(--color-error)}
.form-error{font-size:.72rem;color:var(--color-error)}
.card-field-wrap{position:relative}
.card-brand-icons{position:absolute;right:12px;top:50%;transform:translateY(-50%)}
.secure-note{display:flex;align-items:center;gap:8px;font-size:.78rem;color:var(--color-success);margin-top:12px}
.checkout-summary{background:var(--color-surface);border-radius:var(--radius-md);padding:24px;position:sticky;top:calc(var(--nav-h) + 20px)}
.checkout-summary-item{display:grid;grid-template-columns:56px 1fr auto;gap:12px;padding:12px 0;border-bottom:1px solid var(--color-border);align-items:center}
.checkout-summary-item img{width:56px;height:70px;object-fit:cover;border-radius:var(--radius-sm)}
.pay-badges{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:14px;opacity:.75}
.pay-badges .chip{font-size:.68rem;padding:4px 8px;border:1px solid var(--color-border);border-radius:var(--radius-sm);color:var(--color-text-muted);letter-spacing:.04em}
.confirm-hero{text-align:center;padding:var(--space-2xl) 0 var(--space-xl)}
.confirm-check{width:84px;height:84px;border-radius:var(--radius-full);background:var(--color-success);color:#fff;display:flex;align-items:center;justify-content:center;margin:0 auto 24px;animation:pop 500ms ease}
.confirm-card{background:var(--color-surface);border-radius:var(--radius-md);padding:28px;max-width:640px;margin:0 auto}
.confirm-detail-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--color-border);font-size:.9rem}
.confirm-item{display:grid;grid-template-columns:56px 1fr auto;gap:12px;padding:12px 0;align-items:center}
.confirm-item img{width:56px;height:70px;object-fit:cover;border-radius:var(--radius-sm)}
.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(20px);background:var(--color-text-primary);color:#fff;padding:13px 22px;border-radius:var(--radius-full);font-size:.88rem;z-index:400;opacity:0;transition:all var(--transition-base);box-shadow:var(--shadow-lg);display:flex;align-items:center;gap:10px;max-width:90%}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.toast-success .tick{color:#8fd39a}
.toast-error{background:var(--color-error)}
.pagination{display:flex;justify-content:center;gap:8px;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-strong);border-radius:var(--radius-sm);font-size:.85rem;color:var(--color-text-primary)}
.pagination-btn:hover{border-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}
.toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:16px 0;border-bottom:1px solid var(--color-border);margin-bottom:var(--space-lg)}
.toolbar-count{font-size:.82rem;color:var(--color-text-muted)}
.toolbar-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.toolbar select{padding:9px 14px;border:1px solid var(--color-border-strong);border-radius:var(--radius-full);background:var(--color-surface);font-size:.82rem;color:var(--color-text-primary)}
.filter-chips{display:flex;gap:8px;flex-wrap:wrap}
.filter-chip{padding:6px 14px;border:1px solid var(--color-border-strong);border-radius:var(--radius-full);font-size:.78rem;color:var(--color-text-secondary);transition:all var(--transition-fast);background:var(--color-surface)}
.filter-chip.active,.filter-chip:hover{background:var(--color-accent);color:#fff;border-color:var(--color-accent)}
.collection-hero{position:relative;min-height:300px;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden;border-radius:var(--radius-lg);margin:var(--space-md) 0}
.collection-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.collection-hero::after{content:'';position:absolute;inset:0;background:rgba(45,34,38,.42)}
.collection-hero-content{position:relative;z-index:2;color:#fff;padding:40px 20px}
.collection-hero-content h1{color:#fff}
.collection-hero-content p{color:rgba(255,255,255,.88);max-width:520px;margin:12px auto 0}
.prose{max-width:760px;margin:0 auto;font-size:1.02rem;line-height:1.8;color:var(--color-text-secondary)}
.prose h2{margin:32px 0 12px}
.prose h3{margin:24px 0 8px}
.prose p{margin-bottom:18px}
.prose ul,.prose ol{margin:0 0 18px 22px;display:flex;flex-direction:column;gap:8px}
.prose ul{list-style:disc}.prose ol{list-style:decimal}
.prose img{border-radius:var(--radius-md);margin:20px 0}
.prose a{color:var(--color-accent);text-decoration:underline}
.prose blockquote{border-left:3px solid var(--color-gold);padding-left:18px;font-style:italic;color:var(--color-text-primary);margin:20px 0}
.blog-card{background:var(--color-surface);border-radius:var(--radius-md);overflow:hidden;transition:all var(--transition-base);display:flex;flex-direction:column}
.blog-card:hover{box-shadow:var(--shadow-md);transform:translateY(-4px)}
.blog-card-img{aspect-ratio:16/10;overflow:hidden;background:var(--color-surface-alt)}
.blog-card-img img{width:100%;height:100%;object-fit:cover;transition:transform 600ms ease}
.blog-card:hover .blog-card-img img{transform:scale(1.05)}
.blog-card-body{padding:20px;display:flex;flex-direction:column;gap:8px;flex:1}
.blog-card-meta{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--color-gold)}
.blog-card-title{font-family:var(--font-heading);font-size:1.25rem;color:var(--color-text-primary)}
.blog-card-excerpt{font-size:.88rem;color:var(--color-text-secondary);flex:1}
.cta-band{background:var(--color-accent);color:#fff;text-align:center;padding:var(--space-2xl) 20px;border-radius:var(--radius-lg)}
.cta-band h2{color:#fff}
.cta-band p{color:rgba(255,255,255,.85);max-width:480px;margin:12px auto 24px}
.newsletter-form{display:flex;gap:10px;max-width:440px;margin:0 auto;flex-wrap:wrap;justify-content:center}
.newsletter-form input{flex:1;min-width:200px;padding:13px 18px;border-radius:var(--radius-full);border:none;color:var(--color-text-primary)}
.newsletter-form input:focus{outline:none}
.split{display:grid;grid-template-columns:1fr;gap:var(--space-xl);align-items:center}
.split-img{aspect-ratio:4/3;border-radius:var(--radius-lg);overflow:hidden}
.split-img img{width:100%;height:100%;object-fit:cover}
.footer{background:var(--color-text-primary);color:#d9c9c4;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-brand-name{font-family:var(--font-heading);font-size:1.6rem;color:#fff;margin-bottom:12px}
.footer-brand-name span{color:var(--color-gold-soft)}
.footer p{font-size:.88rem;line-height:1.7;color:#b9a7a2}
.footer-col h4{color:#fff;font-family:var(--font-body);font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;margin-bottom:14px;font-weight:500}
.footer-col a{display:block;padding:5px 0;font-size:.88rem;color:#b9a7a2;transition:color var(--transition-fast)}
.footer-col a:hover{color:var(--color-gold-soft)}
.social-links{display:flex;gap:12px;margin-top:16px}
.social-links a{width:38px;height:38px;border:1px solid rgba(255,255,255,.2);border-radius:var(--radius-full);display:flex;align-items:center;justify-content:center;color:#d9c9c4;transition:all var(--transition-fast)}
.social-links a:hover{background:var(--color-gold);border-color:var(--color-gold);color:#fff}
.footer-contact{display:flex;flex-direction:column;gap:8px;margin-top:14px;font-size:.85rem}
.footer-contact div{display:flex;gap:8px;align-items:center}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding-top:20px;display:flex;flex-direction:column;gap:12px;align-items:center;text-align:center;font-size:.8rem;color:#9c8b86}
.footer-payments{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:center}
.footer-payments .chip{font-size:.64rem;padding:3px 7px;border:1px solid rgba(255,255,255,.2);border-radius:3px;color:#b9a7a2}
.spinner{width:18px;height:18px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:spin 700ms linear infinite}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}
@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)}}
@keyframes pop{0%{transform:scale(0)}60%{transform:scale(1.1)}100%{transform:scale(1)}}
.slide-up{animation:slideUp 600ms ease both}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media (min-width:640px){
  .grid-3{grid-template-columns:repeat(3,1fr)}
  .trust-badges{grid-template-columns:repeat(4,1fr)}
  .form-row.two{grid-template-columns:1fr 1fr}
  .form-row.three{grid-template-columns:2fr 1fr 1fr}
  .review-grid{grid-template-columns:repeat(2,1fr)}
  .footer-bottom{flex-direction:row;justify-content:space-between}
}
@media (min-width:768px){
  .nav-links{display:flex}
  .nav-search{display:block}
  .hamburger{display:none}
  .grid-2{grid-template-columns:1fr 1fr}
  .grid-4{grid-template-columns:repeat(4,1fr)}
  .product-layout{grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:36px}
  .product-highlights{grid-template-columns:1fr 1fr}
  .split{grid-template-columns:1fr 1fr}
  .cart-page-layout{grid-template-columns:1.6fr 1fr}
  .checkout-layout{grid-template-columns:1.4fr 1fr}
  .footer-grid{grid-template-columns:2fr 1fr 1fr 1.4fr}
  .sticky-atc{display:block}
}
@media (min-width:1024px){
  .product-gallery{grid-template-columns:72px 1fr;gap:12px;align-items:start}
  .gallery-thumbs{flex-direction:column;overflow-x:hidden;overflow-y:auto;max-height:520px;padding:0;order:-1}
  .gallery-thumb{flex:0 0 64px}
  .gallery-main-wrap{aspect-ratio:1/1;max-height:520px}
  .product-info{position:sticky;top:calc(var(--nav-h) + 16px)}
}

/* Homepage bestselling ATC */
.homepage-atc.product-card-atc{
  width:100%;
  margin-top:10px;
  border-color:var(--color-border-strong);
  color:var(--color-text-primary);
  background:var(--color-surface);
  font-weight:400;
  letter-spacing:.1em;
}
.homepage-atc.product-card-atc:hover{
  background:var(--color-accent);
  border-color:var(--color-accent);
  color:#fff;
}
.product-card-body .homepage-atc{display:inline-flex}

/* Bestselling grid fix */
.section-alt .grid.grid-4{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:var(--space-lg);
  width:100%;
  align-items:stretch;
}
.section-alt .grid.grid-4 > .product-card{
  width:100%;
  max-width:none;
  min-width:0;
  height:100%;
}
.section-alt .grid.grid-4 .product-card-body{
  display:flex;
  flex-direction:column;
  gap:6px;
  flex:1;
}
.section-alt .grid.grid-4 .homepage-atc{
  margin-top:auto;
  width:100%;
}
@media (min-width:768px){
  .section-alt .grid.grid-4{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media (max-width:639px){
  .section-alt .grid.grid-4{grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px;}
}
