/* ============================================
   PAPER CHASE — Stationery & Gift Boutique
   Design System: Warm, artisanal, editorial
   Palette: Sage green, cream, terracotta, gold
   ============================================ */

/* --- Reset --- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font-body);color:var(--color-text-primary);background:var(--color-bg);line-height:1.65;font-size:16px;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:var(--color-accent);text-decoration:none;transition:color var(--transition-fast)}
a:hover{color:var(--color-accent-hover)}
button{font-family:inherit;cursor:pointer;border:none;background:none}
ul,ol{list-style:none}
input,textarea,select{font-family:inherit;font-size:inherit}
:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}
.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}

/* --- Design Tokens --- */
:root{
  --color-bg:#FAF7F2;
  --color-surface:#FFFFFF;
  --color-surface-alt:#F5F0E8;
  --color-surface-dark:#2C3A2E;
  --color-border:#E8E0D5;
  --color-border-strong:#D4C9B8;
  --color-text-primary:#2A2A2A;
  --color-text-secondary:#5C5C5C;
  --color-text-muted:#8A8A8A;
  --color-accent:#6B8E6B;
  --color-accent-hover:#5A7A5A;
  --color-accent-fg:#FFFFFF;
  --color-accent-light:#E8F0E8;
  --color-gold:#C4A86A;
  --color-terracotta:#C17B5C;
  --color-cream:#F5F0E8;
  --color-success:#5A8A5A;
  --color-warning:#D4A04A;
  --color-error:#C15C5C;
  --color-sale:#C15C5C;

  --font-heading:'Cormorant Garamond',Georgia,serif;
  --font-body:'Jost','Helvetica Neue',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(42,42,42,.08);
  --shadow-md:0 4px 12px rgba(42,42,42,.10);
  --shadow-lg:0 12px 40px rgba(42,42,42,.14);
  --space-xs:4px;--space-sm:8px;--space-md:16px;--space-lg:24px;
  --space-xl:40px;--space-2xl:64px;--space-3xl:96px;
  --transition-fast:150ms ease;--transition-base:250ms ease;--transition-slow:400ms ease;
  --container-max:1280px;
}

/* --- Layout --- */
.container{max-width:var(--container-max);margin:0 auto;padding:0 20px}
.container-narrow{max-width:800px;margin:0 auto;padding:0 20px}
.section{padding:var(--space-2xl) 0}
.section-alt{background:var(--color-surface-alt)}
.section-sm{padding:var(--space-xl) 0}
.section-title{font-family:var(--font-heading);font-size:clamp(1.8rem,4vw,2.8rem);font-weight:600;color:var(--color-text-primary);text-align:center;margin-bottom:var(--space-sm);line-height:1.2}
.section-subtitle{text-align:center;color:var(--color-text-secondary);font-size:1.05rem;max-width:600px;margin:0 auto var(--space-xl)}
.section-header{margin-bottom:var(--space-xl)}

/* --- Buttons --- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 28px;font-family:var(--font-body);font-size:.95rem;font-weight:500;letter-spacing:.03em;border-radius:var(--radius-sm);transition:all var(--transition-base);text-align:center;cursor:pointer;white-space:nowrap}
.btn-primary{background:var(--color-accent);color:var(--color-accent-fg)}
.btn-primary:hover{background:var(--color-accent-hover);color:var(--color-accent-fg);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-strong)}
.btn-secondary:hover{border-color:var(--color-accent);color:var(--color-accent);transform:translateY(-1px)}
.btn-ghost{background:transparent;color:var(--color-text-secondary);padding:10px 20px}
.btn-ghost:hover{color:var(--color-accent)}
.btn-lg{padding:16px 40px;font-size:1.05rem}
.btn-sm{padding:8px 18px;font-size:.85rem}
.btn-block{width:100%}
.btn:disabled{opacity:.5;cursor:not-allowed;transform:none}

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

/* --- Announcement Bar --- */
.announcement-bar{background:var(--color-surface-dark);color:#F5F0E8;text-align:center;padding:10px 20px;font-size:.82rem;letter-spacing:.05em}
.announcement-bar span{display:inline-flex;align-items:center;gap:6px}
.announcement-bar .sep{margin:0 12px;opacity:.4}

/* --- Navigation --- */
.nav{position:sticky;top:0;z-index:100;background:var(--color-surface);border-bottom:1px solid var(--color-border);transition:box-shadow var(--transition-base)}
.nav.scrolled{box-shadow:var(--shadow-sm)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;max-width:var(--container-max);margin:0 auto;gap:20px}
.nav-logo{font-family:var(--font-heading);font-size:1.6rem;font-weight:700;color:var(--color-text-primary);letter-spacing:.02em;white-space:nowrap}
.nav-logo span{color:var(--color-accent)}
.nav-links{display:flex;align-items:center;gap:28px}
.nav-links a{color:var(--color-text-secondary);font-size:.9rem;font-weight:500;letter-spacing:.03em;transition:color var(--transition-fast);position:relative}
.nav-links a:hover{color:var(--color-accent)}
.nav-links a::after{content:'';position:absolute;bottom:-4px;left:0;width:0;height:1.5px;background:var(--color-accent);transition:width var(--transition-base)}
.nav-links a:hover::after{width:100%}
.nav-actions{display:flex;align-items:center;gap:16px}
.nav-icon-btn{position:relative;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;color:var(--color-text-secondary);transition:all var(--transition-fast)}
.nav-icon-btn:hover{background:var(--color-surface-alt);color:var(--color-accent)}
.nav-icon-btn svg{width:20px;height:20px}
.nav-cart-count{position:absolute;top:-2px;right:-2px}
.hamburger{display:none;flex-direction:column;gap:5px;width:28px;height:28px;justify-content:center;align-items:center}
.hamburger span{width:22px;height:2px;background:var(--color-text-primary);border-radius:2px;transition:all var(--transition-base)}
.hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* --- Mobile Menu --- */
.mobile-menu{position:fixed;top:0;left:-100%;width:85%;max-width:360px;height:100vh;background:var(--color-surface);z-index:200;transition:left var(--transition-slow);overflow-y:auto;padding:80px 24px 24px;box-shadow:var(--shadow-lg)}
.mobile-menu.open{left:0}
.mobile-menu-overlay{position:fixed;inset:0;background:rgba(42,42,42,.4);z-index:150;opacity:0;pointer-events:none;transition:opacity var(--transition-slow)}
.mobile-menu-overlay.open{opacity:1;pointer-events:auto}
.mobile-menu a{display:block;padding:14px 0;font-size:1.1rem;color:var(--color-text-primary);border-bottom:1px solid var(--color-border);font-family:var(--font-heading);font-weight:500}
.mobile-menu a:hover{color:var(--color-accent);padding-left:8px}
.mobile-menu-close{position:absolute;top:20px;right:20px;font-size:1.5rem;color:var(--color-text-muted)}

/* --- Search Bar --- */
.search-overlay{position:fixed;inset:0;background:rgba(42,42,42,.5);z-index:180;opacity:0;pointer-events:none;transition:opacity var(--transition-base)}
.search-overlay.open{opacity:1;pointer-events:auto}
.search-panel{position:absolute;top:0;left:50%;transform:translateX(-50%) translateY(-100%);width:100%;max-width:600px;background:var(--color-surface);padding:24px;transition:transform var(--transition-slow);border-radius:0 0 var(--radius-lg) var(--radius-lg)}
.search-overlay.open .search-panel{transform:translateX(-50%) translateY(0)}
.search-input-wrap{display:flex;align-items:center;gap:12px;border-bottom:2px solid var(--color-accent);padding-bottom:12px}
.search-input-wrap svg{width:22px;height:22px;color:var(--color-accent);flex-shrink:0}
.search-input-wrap input{flex:1;border:none;font-size:1.2rem;background:transparent;color:var(--color-text-primary)}
.search-input-wrap input:focus{outline:none}
.search-close{font-size:1.4rem;color:var(--color-text-muted);padding:4px 8px}
.search-results{margin-top:16px;max-height:400px;overflow-y:auto}
.search-item{display:flex;align-items:center;gap:14px;padding:12px;border-radius:var(--radius-sm);transition:background var(--transition-fast)}
.search-item:hover{background:var(--color-surface-alt)}
.search-item img{width:56px;height:56px;border-radius:var(--radius-sm);object-fit:cover}
.search-item-info h4{font-size:.95rem;color:var(--color-text-primary);margin-bottom:2px}
.search-item-info p{font-size:.85rem;color:var(--color-accent);font-family:var(--font-mono)}
.search-empty{padding:24px;text-align:center;color:var(--color-text-muted)}

/* --- Hero --- */
.hero{position:relative;height:clamp(420px,60vh,640px);display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--color-surface-dark)}
.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(44,58,46,.55) 0%,rgba(44,58,46,.35) 50%,rgba(44,58,46,.55) 100%)}
.hero-content{position:relative;z-index:2;text-align:center;color:#F5F0E8;padding:0 20px;max-width:700px}
.hero-eyebrow{font-size:.85rem;letter-spacing:.2em;text-transform:uppercase;color:var(--color-gold);margin-bottom:var(--space-md);font-weight:500}
.hero-title{font-family:var(--font-heading);font-size:clamp(2.2rem,6vw,4rem);font-weight:600;line-height:1.1;margin-bottom:var(--space-md)}
.hero-subtitle{font-size:clamp(1rem,2vw,1.2rem);font-weight:300;max-width:500px;margin:0 auto var(--space-xl);opacity:.9}
.hero-actions{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}

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

/* --- Product Cards --- */
.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-lg);transform:translateY(-4px)}
.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 var(--transition-slow)}
.product-card:hover .product-card-img-wrap img{transform:scale(1.05)}
.product-card-badges{position:absolute;top:10px;left:10px;display:flex;gap:6px;z-index:2}
.product-card-quick-add{position:absolute;bottom:0;left:0;right:0;padding:12px;background:rgba(255,255,255,.95);transform:translateY(100%);transition:transform var(--transition-base);text-align:center}
.product-card:hover .product-card-quick-add{transform:translateY(0)}
.product-card-info{padding:16px;display:flex;flex-direction:column;gap:6px;flex:1}
.product-card-vendor{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--color-text-muted)}
.product-card-title{font-family:var(--font-heading);font-size:1.15rem;font-weight:600;color:var(--color-text-primary);line-height:1.3}
.product-card-title a{color:inherit}
.product-card-title a:hover{color:var(--color-accent)}
.product-card-price-wrap{display:flex;align-items:center;gap:8px;margin-top:auto}
.product-card-price{font-family:var(--font-mono);font-size:1rem;font-weight:600;color:var(--color-text-primary)}
.product-card-compare{font-family:var(--font-mono);font-size:.9rem;color:var(--color-text-muted);text-decoration:line-through}
.product-card-rating{display:flex;align-items:center;gap:4px;font-size:.8rem;color:var(--color-text-muted)}
.rating-stars{color:var(--color-gold);letter-spacing:1px}

/* --- Collection Cards --- */
.collection-card{position:relative;border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:4/3;display:block}
.collection-card img{width:100%;height:100%;object-fit:cover;transition:transform var(--transition-slow)}
.collection-card:hover img{transform:scale(1.06)}
.collection-card-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(44,58,46,.7) 0%,rgba(44,58,46,.1) 60%);display:flex;align-items:flex-end;padding:24px}
.collection-card-overlay h3{font-family:var(--font-heading);font-size:1.5rem;color:#fff;font-weight:600}
.collection-card-overlay p{color:rgba(255,255,255,.85);font-size:.9rem;margin-top:4px}

/* --- Blog Cards --- */
.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(-3px)}
.blog-card-img{aspect-ratio:16/10;overflow:hidden}
.blog-card-img img{width:100%;height:100%;object-fit:cover;transition:transform var(--transition-slow)}
.blog-card:hover .blog-card-img img{transform:scale(1.05)}
.blog-card-info{padding:20px}
.blog-card-date{font-size:.78rem;color:var(--color-text-muted);letter-spacing:.05em}
.blog-card-title{font-family:var(--font-heading);font-size:1.3rem;font-weight:600;margin:8px 0;color:var(--color-text-primary)}
.blog-card-excerpt{font-size:.9rem;color:var(--color-text-secondary);line-height:1.5}
.blog-card-read{margin-top:12px;font-size:.85rem;color:var(--color-accent);font-weight:500}

/* --- Trust Badges --- */
.trust-badges{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;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-family:var(--font-heading);font-size:1.1rem;font-weight:600;margin-bottom:4px}
.trust-item p{font-size:.82rem;color:var(--color-text-muted)}

/* --- Breadcrumbs --- */
.breadcrumb{display:flex;align-items:center;gap:8px;padding:16px 0;font-size:.85rem;color:var(--color-text-muted);flex-wrap:wrap}
.breadcrumb a{color:var(--color-text-muted)}
.breadcrumb a:hover{color:var(--color-accent)}
.breadcrumb-sep{opacity:.5}
.breadcrumb-current{color:var(--color-text-secondary)}

/* --- Product Page Layout --- */
.product-layout{display:grid;grid-template-columns:1fr;gap:var(--space-xl);padding:var(--space-xl) 0}
@media(min-width:768px){.product-layout{grid-template-columns:1fr 1fr;gap:var(--space-2xl)}}
.product-gallery{display:flex;flex-direction:column;gap:16px}
.gallery-main-wrap{border-radius:var(--radius-lg);overflow:hidden;background:var(--color-surface-alt);aspect-ratio:1}
.gallery-main-wrap img{width:100%;height:100%;object-fit:cover}
.gallery-thumbs{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px}
.gallery-thumb{width:80px;height:80px;border-radius:var(--radius-sm);overflow:hidden;flex-shrink:0;border:2px solid transparent;cursor:pointer;transition:border-color var(--transition-fast)}
.gallery-thumb.active{border-color:var(--color-accent)}
.gallery-thumb img{width:100%;height:100%;object-fit:cover}
.product-info{display:flex;flex-direction:column;gap:16px}
.product-vendor{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--color-text-muted)}
.product-title{font-family:var(--font-heading);font-size:clamp(1.6rem,4vw,2.4rem);font-weight:600;line-height:1.15}
.product-rating-row{display:flex;align-items:center;gap:8px}
.product-rating-row .rating-stars{font-size:1.1rem}
.product-rating-row span{font-size:.85rem;color:var(--color-text-muted)}
.product-price-wrap{display:flex;align-items:baseline;gap:12px}
.product-price{font-family:var(--font-mono);font-size:1.6rem;font-weight:700;color:var(--color-text-primary)}
.product-compare-price{font-family:var(--font-mono);font-size:1.2rem;color:var(--color-text-muted);text-decoration:line-through}
.product-short-desc{color:var(--color-text-secondary);font-size:1rem;line-height:1.6}
.availability-msg{font-size:.85rem;padding:8px 14px;border-radius:var(--radius-sm);display:inline-flex;align-items:center;gap:6px}
.availability-msg.in-stock{background:var(--color-accent-light);color:var(--color-success)}
.availability-msg.out-stock{background:#F5E8E8;color:var(--color-error)}

/* --- Option Selectors --- */
.option-group{margin-bottom:16px}
.option-label{font-size:.82rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--color-text-secondary);margin-bottom:8px;display:block}
.option-btns{display:flex;flex-wrap:wrap;gap:8px}
.option-btn{padding:10px 20px;border:1.5px solid var(--color-border-strong);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text-primary);font-size:.9rem;transition:all var(--transition-fast)}
.option-btn:hover{border-color:var(--color-accent)}
.option-btn.active{border-color:var(--color-accent);background:var(--color-accent);color:#fff}
.option-btn.unavailable{opacity:.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-strong);border-radius:var(--radius-sm);overflow:hidden}
.qty-btn{width:40px;height:44px;display:flex;align-items:center;justify-content:center;font-size:1.2rem;color:var(--color-text-secondary);transition:background var(--transition-fast)}
.qty-btn:hover{background:var(--color-surface-alt);color:var(--color-accent)}
.qty-input{width:50px;height:44px;text-align:center;border:none;font-size:1rem;font-family:var(--font-mono);color:var(--color-text-primary);background:transparent}
.qty-input:focus{outline:none}

/* --- Sticky ATC --- */
.sticky-atc{position:fixed;bottom:0;left:0;right:0;background:var(--color-surface);border-top:1px solid var(--color-border);padding:12px 20px;z-index:90;transform:translateY(100%);transition:transform var(--transition-base);display:flex;align-items:center;gap:16px;box-shadow:0 -4px 12px rgba(42,42,42,.08)}
.sticky-atc.visible{transform:translateY(0)}
.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 h4{font-size:.9rem;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sticky-atc-product .price{font-family:var(--font-mono);font-weight:700;color:var(--color-accent)}

/* --- Product Actions --- */
.product-actions{display:flex;gap:12px;flex-wrap:wrap}
.product-actions .btn{flex:1;min-width:160px}

/* --- Accordions --- */
.product-accordions{margin-top:var(--space-lg)}
.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-family:var(--font-heading);font-size:1.1rem;font-weight:600;color:var(--color-text-primary)}
.accordion-header:hover{color:var(--color-accent)}
.accordion-icon{transition:transform var(--transition-base);font-size:1.2rem;color:var(--color-text-muted)}
.accordion.open .accordion-icon{transform:rotate(45deg)}
.accordion-body{max-height:0;overflow:hidden;transition:max-height var(--transition-slow)}
.accordion.open .accordion-body{max-height:500px}
.accordion-body-inner{padding:0 0 16px;color:var(--color-text-secondary);font-size:.95rem;line-height:1.7}

/* --- Reviews --- */
.reviews-section{padding:var(--space-xl) 0;border-top:1px solid var(--color-border)}
.reviews-summary{display:flex;align-items:center;gap:24px;margin-bottom:var(--space-xl);flex-wrap:wrap}
.reviews-avg{font-family:var(--font-heading);font-size:3rem;font-weight:700;color:var(--color-text-primary);line-height:1}
.reviews-score .rating-stars{font-size:1.2rem}
.reviews-score p{font-size:.85rem;color:var(--color-text-muted);margin-top:4px}
.reviews-bars{flex:1;min-width:200px;max-width:300px}
.rating-bar{display:flex;align-items:center;gap:8px;margin-bottom:6px;font-size:.8rem}
.rating-bar-label{width:40px;color:var(--color-text-muted)}
.rating-bar-track{flex:1;height:6px;background:var(--color-surface-alt);border-radius:3px;overflow:hidden}
.rating-bar-fill{height:100%;background:var(--color-gold);border-radius:3px}
.rating-bar-count{width:30px;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:16px}
.review-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:12px}
.review-author{font-weight:600;color:var(--color-text-primary)}
.review-verified{font-size:.75rem;color:var(--color-success);display:inline-flex;align-items:center;gap:4px;margin-top:2px}
.review-date{font-size:.8rem;color:var(--color-text-muted)}
.review-title{font-family:var(--font-heading);font-size:1.15rem;font-weight:600;margin-bottom:8px}
.review-body{color:var(--color-text-secondary);font-size:.92rem;line-height:1.6}
.review-stars{color:var(--color-gold);margin-bottom:8px}

/* --- Cart Drawer --- */
.cart-overlay{position:fixed;inset:0;background:rgba(42,42,42,.5);z-index:200;opacity:0;pointer-events:none;transition:opacity var(--transition-base)}
.cart-overlay.open{opacity:1;pointer-events:auto}
.cart-drawer{position:fixed;top:0;right:-100%;width:100%;max-width:420px;height:100vh;background:var(--color-surface);z-index:210;transition:right var(--transition-slow);display:flex;flex-direction:column;box-shadow:var(--shadow-lg)}
.cart-drawer.open{right:0}
.cart-drawer-header{display:flex;align-items:center;justify-content:space-between;padding:20px;border-bottom:1px solid var(--color-border)}
.cart-drawer-header h2{font-family:var(--font-heading);font-size:1.4rem;font-weight:600;display:flex;align-items:center;gap:8px}
.cart-close{font-size:1.4rem;color:var(--color-text-muted);width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%}
.cart-close:hover{background:var(--color-surface-alt);color:var(--color-text-primary)}
.cart-lines{flex:1;overflow-y:auto;padding:16px 20px}
.cart-item{display:flex;gap:14px;padding:16px 0;border-bottom:1px solid var(--color-border)}
.cart-item-img{width:72px;height:72px;border-radius:var(--radius-sm);overflow:hidden;flex-shrink:0;background:var(--color-surface-alt)}
.cart-item-img img{width:100%;height:100%;object-fit:cover}
.cart-item-info{flex:1;min-width:0}
.cart-item-title{font-size:.92rem;font-weight:600;color:var(--color-text-primary);margin-bottom:2px}
.cart-item-variant{font-size:.8rem;color:var(--color-text-muted);margin-bottom:8px}
.cart-item-price{font-family:var(--font-mono);font-size:.9rem;font-weight:600;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-strong);border-radius:var(--radius-sm);overflow:hidden}
.cart-item-qty button{width:28px;height:30px;font-size:1rem;color:var(--color-text-secondary);background:transparent}
.cart-item-qty button:hover{background:var(--color-surface-alt)}
.cart-item-qty span{width:32px;text-align:center;font-size:.85rem;font-family:var(--font-mono)}
.cart-item-remove{font-size:.78rem;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{border-top:1px solid var(--color-border);padding:20px}
.cart-subtotal{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:1.05rem}
.cart-subtotal strong{font-family:var(--font-mono);font-size:1.3rem;color:var(--color-text-primary)}
.cart-tax-note{font-size:.78rem;color:var(--color-text-muted);text-align:center;margin-bottom:16px}
.cart-footer .btn{margin-bottom:8px}

/* --- Toast --- */
.toast{position:fixed;bottom:80px;left:50%;transform:translateX(-50%) translateY(20px);background:var(--color-surface-dark);color:#fff;padding:14px 28px;border-radius:var(--radius-full);font-size:.9rem;z-index:300;opacity:0;pointer-events:none;transition:all var(--transition-base);box-shadow:var(--shadow-lg);display:flex;align-items:center;gap:8px}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.toast-success{background:var(--color-success)}
.toast-error{background:var(--color-error)}

/* --- Footer --- */
.footer{background:var(--color-surface-dark);color:#C4B9A8;padding:var(--space-2xl) 0 var(--space-lg)}
.footer-grid{display:grid;grid-template-columns:1fr;gap:var(--space-xl);max-width:var(--container-max);margin:0 auto;padding:0 20px}
@media(min-width:640px){.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:768px){.footer-grid{grid-template-columns:2fr 1fr 1fr 1fr}}
.footer-logo{font-family:var(--font-heading);font-size:1.8rem;font-weight:700;color:#F5F0E8;margin-bottom:12px}
.footer-logo span{color:var(--color-accent)}
.footer-tagline{font-size:.9rem;line-height:1.6;margin-bottom:20px;max-width:300px}
.footer-col h4{font-family:var(--font-heading);font-size:1.1rem;font-weight:600;color:#F5F0E8;margin-bottom:16px}
.footer-col ul li{margin-bottom:10px}
.footer-col ul li a{color:#C4B9A8;font-size:.9rem;transition:color var(--transition-fast)}
.footer-col ul li a:hover{color:var(--color-accent)}
.footer-contact{font-size:.88rem;line-height:1.7}
.footer-contact a{color:#C4B9A8}
.footer-contact a:hover{color:var(--color-accent)}
.social-links{display:flex;gap:12px;margin-top:16px}
.social-links a{width:38px;height:38px;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-accent)}
.social-links svg{width:18px;height:18px;color:#F5F0E8}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:var(--space-xl);padding-top:var(--space-lg);text-align:center;font-size:.82rem;color:#8A8070}
.footer-bottom a{color:#8A8070}
.footer-bottom a:hover{color:var(--color-accent)}

/* --- 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-strong);border-radius:var(--radius-sm);font-size:.9rem;color:var(--color-text-secondary);background:var(--color-surface);transition:all var(--transition-fast)}
.pagination-btn:hover{border-color:var(--color-accent);color:var(--color-accent)}
.pagination-btn.active{background:var(--color-accent);color:#fff;border-color:var(--color-accent)}
.pagination-btn:disabled{opacity:.4;cursor:not-allowed}

/* --- Sort Bar --- */
.sort-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;flex-wrap:wrap}
.sort-bar select{padding:8px 16px;border:1px solid var(--color-border-strong);border-radius:var(--radius-sm);background:var(--color-surface);font-size:.9rem;color:var(--color-text-primary);cursor:pointer}
.sort-bar select:focus{outline:none;border-color:var(--color-accent)}
.sort-count{font-size:.85rem;color:var(--color-text-muted)}

/* --- Collection Hero --- */
.collection-hero{position:relative;height:280px;border-radius:var(--radius-lg);overflow:hidden;margin-bottom:var(--space-xl)}
.collection-hero img{width:100%;height:100%;object-fit:cover}
.collection-hero-overlay{position:absolute;inset:0;background:linear-gradient(to right,rgba(44,58,46,.7) 0%,rgba(44,58,46,.3) 100%);display:flex;align-items:center;padding:24px 32px}
.collection-hero-overlay h1{font-family:var(--font-heading);font-size:clamp(1.8rem,4vw,2.8rem);color:#fff;font-weight:600}

/* --- Forms --- */
.form-group{margin-bottom:20px}
.form-label{display:block;font-size:.85rem;font-weight:600;color:var(--color-text-secondary);margin-bottom:6px;letter-spacing:.03em}
.form-input,.form-textarea,.form-select{width:100%;padding:12px 16px;border:1.5px solid var(--color-border-strong);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text-primary);font-size:.95rem;transition:border-color var(--transition-fast)}
.form-input:focus,.form-textarea:focus,.form-select:focus{outline:none;border-color:var(--color-accent)}
.form-textarea{min-height:120px;resize:vertical}
.form-row{display:grid;grid-template-columns:1fr;gap:16px}
@media(min-width:640px){.form-row{grid-template-columns:1fr 1fr}}

/* --- Checkout --- */
.checkout-layout{display:grid;grid-template-columns:1fr;gap:var(--space-xl);padding:var(--space-xl) 0}
@media(min-width:768px){.checkout-layout{grid-template-columns:1.5fr 1fr;gap:var(--space-2xl)}}
.checkout-section{background:var(--color-surface);border-radius:var(--radius-lg);padding:24px;margin-bottom:20px}
.checkout-section h2{font-family:var(--font-heading);font-size:1.4rem;font-weight:600;margin-bottom:20px;padding-bottom:12px;border-bottom:1px solid var(--color-border)}
.checkout-summary{background:var(--color-surface);border-radius:var(--radius-lg);padding:24px;position:sticky;top:90px}
.checkout-summary h3{font-family:var(--font-heading);font-size:1.2rem;font-weight:600;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;min-width:0}
.checkout-summary-item-info h4{font-size:.85rem;font-weight:600;margin-bottom:2px}
.checkout-summary-item-info p{font-size:.78rem;color:var(--color-text-muted)}
.checkout-summary-item-price{font-family:var(--font-mono);font-size:.85rem;font-weight:600}
.checkout-summary-totals{padding-top:16px;margin-top:8px}
.checkout-summary-totals .total-row{display:flex;justify-content:space-between;margin-bottom:8px;font-size:.9rem;color:var(--color-text-secondary)}
.checkout-summary-totals .total-row.grand{font-size:1.2rem;font-weight:700;color:var(--color-text-primary);border-top:2px solid var(--color-border);padding-top:12px;margin-top:12px}
.checkout-summary-totals .total-row.grand strong{font-family:var(--font-mono)}

/* --- Card Payment Form --- */
.card-form{margin-top:20px}
.card-input-wrap{position:relative;margin-bottom:16px}
.card-input-wrap label{display:block;font-size:.82rem;font-weight:600;color:var(--color-text-secondary);margin-bottom:6px}
.card-input{width:100%;padding:14px 16px;border:1.5px solid var(--color-border-strong);border-radius:var(--radius-sm);font-size:1rem;letter-spacing:.05em;transition:border-color var(--transition-fast)}
.card-input:focus{outline:none;border-color:var(--color-accent);box-shadow:0 0 0 3px var(--color-accent-light)}
.card-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.card-icons{display:flex;gap:8px;margin-top:12px;opacity:.6}
.card-icons svg{width:36px;height:24px}
.security-badges{display:flex;align-items:center;gap:12px;padding:16px;background:var(--color-surface-alt);border-radius:var(--radius-sm);margin-top:20px}
.security-badges svg{width:24px;height:24px;color:var(--color-success);flex-shrink:0}
.security-badges p{font-size:.82rem;color:var(--color-text-secondary)}

/* --- Thank You Page --- */
.thank-you-hero{text-align:center;padding:var(--space-3xl) 20px}
.thank-you-icon{width:80px;height:80px;margin:0 auto var(--space-lg);background:var(--color-accent-light);border-radius:50%;display:flex;align-items:center;justify-content:center}
.thank-you-icon svg{width:40px;height:40px;color:var(--color-success)}
.thank-you-title{font-family:var(--font-heading);font-size:clamp(2rem,5vw,3rem);font-weight:600;margin-bottom:var(--space-md)}
.thank-you-subtitle{font-size:1.1rem;color:var(--color-text-secondary);max-width:500px;margin:0 auto var(--space-xl)}
.order-number{background:var(--color-surface-alt);border-radius:var(--radius-md);padding:16px 24px;display:inline-block;margin-bottom:var(--space-xl)}
.order-number .label{font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;color:var(--color-text-muted)}
.order-number .value{font-family:var(--font-mono);font-size:1.3rem;font-weight:700;color:var(--color-text-primary)}
.thank-you-actions{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}

/* --- 404 --- */
.error-page{text-align:center;padding:var(--space-3xl) 20px}
.error-page h1{font-family:var(--font-heading);font-size:clamp(4rem,15vw,8rem);font-weight:700;color:var(--color-accent);line-height:1}
.error-page h2{font-family:var(--font-heading);font-size:1.5rem;font-weight:600;margin-bottom:var(--space-md)}
.error-page p{color:var(--color-text-secondary);max-width:400px;margin:0 auto var(--space-xl)}

/* --- Page Content --- */
.page-content{max-width:760px;margin:0 auto;padding:var(--space-xl) 0}
.page-content h1{font-family:var(--font-heading);font-size:clamp(1.8rem,4vw,2.6rem);font-weight:600;margin-bottom:var(--space-lg)}
.page-content h2{font-family:var(--font-heading);font-size:1.5rem;font-weight:600;margin:var(--space-xl) 0 var(--space-md)}
.page-content p{margin-bottom:var(--space-md);color:var(--color-text-secondary);line-height:1.8}
.page-content ul{margin-bottom:var(--space-md);padding-left:20px}
.page-content ul li{list-style:disc;margin-bottom:8px;color:var(--color-text-secondary)}
.page-content .contact-info{background:var(--color-surface-alt);border-radius:var(--radius-lg);padding:24px;margin:var(--space-lg) 0}
.page-content .contact-info p{margin-bottom:8px}
.page-content .contact-info strong{color:var(--color-text-primary)}

/* --- Policy Layout --- */
.policy-layout{display:grid;grid-template-columns:1fr;gap:var(--space-xl);padding:var(--space-xl) 0}
@media(min-width:768px){.policy-layout{grid-template-columns:240px 1fr}}
.policy-sidebar{position:sticky;top:90px;align-self:start}
.policy-sidebar a{display:block;padding:10px 16px;border-radius:var(--radius-sm);font-size:.9rem;color:var(--color-text-secondary);transition:all var(--transition-fast);margin-bottom:4px}
.policy-sidebar a:hover{background:var(--color-surface-alt);color:var(--color-accent)}
.policy-sidebar a.active{background:var(--color-accent-light);color:var(--color-accent);font-weight:600}

/* --- Blog Article --- */
.article-hero{position:relative;height:clamp(300px,40vh,460px);border-radius:var(--radius-lg);overflow:hidden;margin-bottom:var(--space-xl)}
.article-hero img{width:100%;height:100%;object-fit:cover}
.article-hero-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(44,58,46,.75) 0%,rgba(44,58,46,.2) 60%);display:flex;align-items:flex-end;padding:32px}
.article-hero-overlay h1{font-family:var(--font-heading);font-size:clamp(1.6rem,4vw,2.6rem);color:#fff;font-weight:600;max-width:700px}
.article-meta{display:flex;align-items:center;gap:16px;font-size:.85rem;color:var(--color-text-muted);margin-bottom:var(--space-lg);flex-wrap:wrap}
.article-meta span{display:inline-flex;align-items:center;gap:4px}
.article-content{max-width:760px;margin:0 auto}
.article-content p{margin-bottom:var(--space-md);color:var(--color-text-secondary);line-height:1.8;font-size:1.05rem}
.article-content h2{font-family:var(--font-heading);font-size:1.6rem;font-weight:600;margin:var(--space-xl) 0 var(--space-md);color:var(--color-text-primary)}
.article-share{display:flex;align-items:center;gap:12px;padding:var(--space-lg) 0;border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border);margin:var(--space-xl) 0}
.article-share span{font-size:.85rem;color:var(--color-text-muted)}
.share-btn{width:36px;height:36px;border-radius:50%;background:var(--color-surface-alt);display:flex;align-items:center;justify-content:center;transition:all var(--transition-fast)}
.share-btn:hover{background:var(--color-accent);color:#fff}
.share-btn svg{width:16px;height:16px}

/* --- Animations --- */
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes slideUp{from{opacity:0;transform:translateY(30px)}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 .6s ease}
.slide-up{animation:slideUp .6s ease}
.skeleton{background:linear-gradient(90deg,var(--color-surface-alt) 25%,var(--color-border) 50%,var(--color-surface-alt) 75%);background-size:200% 100%;animation:shimmer 1.5s infinite}
.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}

/* --- Responsive Nav --- */
@media(max-width:768px){
  .nav-links{display:none}
  .hamburger{display:flex}
  .nav-logo{font-size:1.3rem}
  .section{padding:var(--space-xl) 0}
  .hero{height:clamp(360px,50vh,480px)}
}

/* --- Reduced Motion --- */
@media(prefers-reduced-motion:reduce){
  *{animation-duration:.01ms!important;transition-duration:.01ms!important}
  html{scroll-behavior:auto}
}

/* --- Brand Story Section --- */
.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);overflow:hidden;aspect-ratio:4/3}
.brand-story-img img{width:100%;height:100%;object-fit:cover}
.brand-story-text h2{font-family:var(--font-heading);font-size:clamp(1.6rem,4vw,2.4rem);font-weight:600;margin-bottom:var(--space-md)}
.brand-story-text p{color:var(--color-text-secondary);line-height:1.8;margin-bottom:var(--space-md)}
.brand-story-text .signature{font-family:var(--font-heading);font-size:1.3rem;color:var(--color-accent);font-style:italic;margin-top:var(--space-lg)}

/* --- FAQ --- */
.faq-section{max-width:760px;margin:0 auto}
.faq-item{border-bottom:1px solid var(--color-border)}
.faq-question{display:flex;justify-content:space-between;align-items:center;padding:18px 0;cursor:pointer;font-family:var(--font-heading);font-size:1.15rem;font-weight:600;color:var(--color-text-primary)}
.faq-question:hover{color:var(--color-accent)}
.faq-answer{max-height:0;overflow:hidden;transition:max-height var(--transition-slow)}
.faq-answer.open{max-height:300px}
.faq-answer p{padding:0 0 18px;color:var(--color-text-secondary);line-height:1.7}

/* --- Cart Page --- */
.cart-page{padding:var(--space-xl) 0}
.cart-page-layout{display:grid;grid-template-columns:1fr;gap:var(--space-xl)}
@media(min-width:768px){.cart-page-layout{grid-template-columns:1fr 360px}}
.cart-page-items{background:var(--color-surface);border-radius:var(--radius-lg);padding:24px}
.cart-page-item{display:flex;gap:16px;padding:20px 0;border-bottom:1px solid var(--color-border)}
.cart-page-item:last-child{border-bottom:none}
.cart-page-item-img{width:100px;height:100px;border-radius:var(--radius-md);overflow:hidden;flex-shrink:0;background:var(--color-surface-alt)}
.cart-page-item-img img{width:100%;height:100%;object-fit:cover}
.cart-page-item-info{flex:1}
.cart-page-item-info h3{font-family:var(--font-heading);font-size:1.15rem;font-weight:600;margin-bottom:4px}
.cart-page-item-info h3 a{color:inherit}
.cart-page-item-info .variant{font-size:.82rem;color:var(--color-text-muted);margin-bottom:8px}
.cart-page-item-info .price{font-family:var(--font-mono);font-weight:600;color:var(--color-accent)}
.cart-page-item-controls{display:flex;align-items:center;gap:16px;margin-top:12px}
.cart-page-summary{background:var(--color-surface);border-radius:var(--radius-lg);padding:24px;position:sticky;top:90px;align-self:start}
.cart-page-summary h3{font-family:var(--font-heading);font-size:1.3rem;font-weight:600;margin-bottom:20px;padding-bottom:12px;border-bottom:1px solid var(--color-border)}
