/* ===== PEPITOUP — Pet Homes & Accessories Storefront ===== */
/* Niche: Pet housing, crates, kennels, beds, gates, habitats */
/* Design: Warm, trustworthy, home-and-family oriented */

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

/* ===== DESIGN TOKENS ===== */
:root{
  /* Warm earthy palette for pet home brand */
  --color-bg:#FAF7F2;
  --color-surface:#FFFFFF;
  --color-surface-alt:#F5F0E8;
  --color-border:#E5DDD0;
  --color-text-primary:#2D2418;
  --color-text-secondary:#5C4E3D;
  --color-text-muted:#8A7B68;
  --color-accent:#C67D3E;
  --color-accent-hover:#A8632B;
  --color-accent-fg:#FFFFFF;
  --color-success:#4A7C59;
  --color-warning:#D4A03E;
  --color-error:#C0492F;
  --color-sale:#C0492F;

  --font-heading:'Fraunces',Georgia,serif;
  --font-body:'Plus Jakarta Sans',system-ui,-apple-system,sans-serif;
  --font-mono:'JetBrains Mono',monospace;

  --radius-sm:6px;--radius-md:12px;--radius-lg:20px;--radius-full:9999px;
  --shadow-sm:0 1px 3px rgba(45,36,24,.08);
  --shadow-md:0 4px 12px rgba(45,36,24,.10);
  --shadow-lg:0 12px 32px rgba(45,36,24,.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-max:1280px;
}

/* ===== LAYOUT ===== */
.container{max-width:var(--container-max);margin:0 auto;padding:0 var(--space-lg)}
.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:clamp(1.6rem,4vw,2.4rem);font-weight:600;color:var(--color-text-primary);line-height:1.2}
.section-subtitle{font-size:1.05rem;color:var(--color-text-secondary);margin-top:var(--space-sm);max-width:600px;margin-left:auto;margin-right:auto}

/* ===== GRIDS ===== */
.grid-2{display:grid;grid-template-columns:1fr;gap:var(--space-lg)}
.grid-3{display:grid;grid-template-columns:1fr;gap:var(--space-lg)}
.grid-4{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--space-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-3{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(3,1fr)}
}
@media(min-width:1024px){
  .grid-4{grid-template-columns:repeat(4,1fr)}
}

/* ===== BUTTONS ===== */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-sm);padding:12px 24px;border-radius:var(--radius-sm);font-family:var(--font-body);font-weight:600;font-size:.95rem;transition:all var(--transition-fast);white-space:nowrap;text-align:center;line-height:1.4}
.btn-primary{background:var(--color-accent);color:var(--color-accent-fg)}
.btn-primary:hover{background:var(--color-accent-hover);transform:translateY(-1px);box-shadow:var(--shadow-md)}
.btn-secondary{background:var(--color-surface);color:var(--color-text-primary);border:2px 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:8px 16px}
.btn-ghost:hover{color:var(--color-accent)}
.btn-lg{padding:16px 32px;font-size:1.05rem}
.btn-sm{padding:8px 16px;font-size:.85rem}
.btn:disabled{opacity:.5;cursor:not-allowed;transform:none}
.btn-full{width:100%}

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

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar{background:var(--color-text-primary);color:#FAF7F2;text-align:center;padding:10px var(--space-lg);font-size:.85rem;font-weight:500}
.announcement-bar span{display:inline-flex;align-items:center;gap:6px}

/* ===== 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;gap:var(--space-lg);padding:14px var(--space-lg);max-width:var(--container-max);margin:0 auto}
.nav-logo{font-family:var(--font-heading);font-size:1.5rem;font-weight:700;color:var(--color-text-primary);letter-spacing:-.02em;white-space:nowrap}
.nav-logo span{color:var(--color-accent)}
.nav-links{display:none;align-items:center;gap:var(--space-lg)}
.nav-links a{font-weight:500;font-size:.95rem;color:var(--color-text-secondary);transition:color var(--transition-fast);position:relative}
.nav-links a:hover{color:var(--color-accent)}
.nav-links a::after{content:'';position:absolute;bottom:-4px;left:0;width:0;height:2px;background:var(--color-accent);transition:width var(--transition-fast)}
.nav-links a:hover::after{width:100%}
.nav-actions{display:flex;align-items:center;gap:var(--space-md)}
.nav-action{position:relative;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:var(--radius-full);color:var(--color-text-secondary);transition:all var(--transition-fast)}
.nav-action:hover{background:var(--color-surface-alt);color:var(--color-accent)}
.nav-action svg{width:22px;height:22px}
.nav-cart-count{position:absolute;top:-2px;right:-2px}
.search-toggle{display:flex}
.search-bar-inline{display:none;position:absolute;top:100%;left:0;right:0;background:var(--color-surface);border-bottom:1px solid var(--color-border);padding:var(--space-md) var(--space-lg);z-index:101}
.search-bar-inline.active{display:block}
.search-bar-inline form{display:flex;max-width:600px;margin:0 auto;gap:var(--space-sm)}
.search-bar-inline input{flex:1;padding:10px 16px;border:2px solid var(--color-border);border-radius:var(--radius-sm);font-size:1rem}
.search-bar-inline input:focus{outline:none;border-color:var(--color-accent)}

/* ===== HAMBURGER / MOBILE MENU ===== */
.hamburger{display:flex;flex-direction:column;gap:4px;width:28px;height:22px;justify-content:center}
.hamburger span{display:block;width:100%;height:2.5px;background:var(--color-text-primary);border-radius:2px;transition:all var(--transition-fast)}
.hamburger.active span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
.hamburger.active span:nth-child(2){opacity:0}
.hamburger.active span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}
.mobile-menu{position:fixed;top:0;left:-100%;width:85%;max-width:360px;height:100vh;background:var(--color-surface);z-index:200;overflow-y:auto;transition:left var(--transition-base);padding:var(--space-xl) var(--space-lg);box-shadow:var(--shadow-lg)}
.mobile-menu.active{left:0}
.mobile-menu-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(45,36,24,.4);z-index:199;opacity:0;pointer-events:none;transition:opacity var(--transition-base)}
.mobile-menu-overlay.active{opacity:1;pointer-events:auto}
.mobile-menu .nav-logo{margin-bottom:var(--space-xl)}
.mobile-menu nav{display:flex;flex-direction:column;gap:var(--space-md)}
.mobile-menu nav a{font-size:1.1rem;font-weight:500;color:var(--color-text-primary);padding:8px 0;border-bottom:1px solid var(--color-border)}
.mobile-menu nav a:hover{color:var(--color-accent)}
.mobile-menu-close{position:absolute;top:var(--space-lg);right:var(--space-lg);font-size:1.5rem;color:var(--color-text-muted)}

@media(min-width:768px){
  .nav-links{display:flex}
  .hamburger{display:none}
}

/* ===== HERO ===== */
.hero{position:relative;min-height:520px;display:flex;align-items:center;overflow:hidden;background:var(--color-surface-alt)}
.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;z-index:0}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(45,36,24,.65) 0%,rgba(45,36,24,.35) 100%);z-index:1}
.hero-content{position:relative;z-index:2;padding:var(--space-3xl) var(--space-lg);max-width:700px}
.hero-eyebrow{display:inline-block;font-size:.8rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--color-accent);background:rgba(255,255,255,.15);padding:6px 14px;border-radius:var(--radius-full);margin-bottom:var(--space-md);backdrop-filter:blur(4px)}
.hero-title{font-family:var(--font-heading);font-size:clamp(2rem,6vw,3.5rem);font-weight:700;color:#fff;line-height:1.1;margin-bottom:var(--space-md)}
.hero-subtitle{font-size:clamp(1rem,3vw,1.25rem);color:rgba(255,255,255,.9);margin-bottom:var(--space-xl);max-width:540px;line-height:1.5}
.hero-actions{display:flex;flex-wrap:wrap;gap:var(--space-md)}

/* ===== COLLECTION CARDS ===== */
.collection-card{position:relative;border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:4/3;box-shadow:var(--shadow-sm);transition:all var(--transition-base);display:block}
.collection-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px)}
.collection-card img{width:100%;height:100%;object-fit:cover;transition:transform var(--transition-base)}
.collection-card:hover img{transform:scale(1.05)}
.collection-card-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(45,36,24,.75) 0%,rgba(45,36,24,.1) 60%);display:flex;flex-direction:column;justify-content:flex-end;padding:var(--space-lg)}
.collection-card-title{font-family:var(--font-heading);font-size:1.3rem;font-weight:600;color:#fff;margin-bottom:4px}
.collection-card-count{font-size:.85rem;color:rgba(255,255,255,.8)}

/* ===== PRODUCT CARDS ===== */
.product-card{background:var(--color-surface);border-radius:var(--radius-md);overflow:hidden;box-shadow:var(--shadow-sm);transition:all var(--transition-base);display:flex;flex-direction:column}
.product-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}
.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-base)}
.product-card:hover .product-card-img-wrap img{transform:scale(1.05)}
.product-card-badges{position:absolute;top:var(--space-sm);left:var(--space-sm);display:flex;flex-direction:column;gap:4px;z-index:1}
.product-card-body{padding:var(--space-md);display:flex;flex-direction:column;gap:var(--space-xs);flex:1}
.product-card-vendor{font-size:.75rem;color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.05em;font-weight:600}
.product-card-title{font-family:var(--font-heading);font-size:1rem;font-weight:600;color:var(--color-text-primary);line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-card-title a:hover{color:var(--color-accent)}
.product-card-price-wrap{display:flex;align-items:baseline;gap:var(--space-sm);margin-top:auto}
.product-card-price{font-family:var(--font-mono);font-size:1.1rem;font-weight:700;color:var(--color-text-primary)}
.product-card-compare-price{font-size:.9rem;color:var(--color-text-muted);text-decoration:line-through}
.product-card-atc{margin-top:var(--space-sm);width:100%}

/* ===== BLOG CARDS ===== */
.blog-card{background:var(--color-surface);border-radius:var(--radius-md);overflow:hidden;box-shadow:var(--shadow-sm);transition:all var(--transition-base);display:flex;flex-direction:column}
.blog-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}
.blog-card-img{aspect-ratio:16/9;overflow:hidden;background:var(--color-surface-alt);display:flex;align-items:center;justify-content:center}
.blog-card-img img{width:100%;height:100%;object-fit:cover}
.blog-card-img-placeholder{font-size:3rem;color:var(--color-text-muted)}
.blog-card-body{padding:var(--space-lg);display:flex;flex-direction:column;gap:var(--space-sm);flex:1}
.blog-card-title{font-family:var(--font-heading);font-size:1.15rem;font-weight:600;line-height:1.3}
.blog-card-title a:hover{color:var(--color-accent)}
.blog-card-excerpt{font-size:.9rem;color:var(--color-text-secondary);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.blog-card-meta{font-size:.8rem;color:var(--color-text-muted);margin-top:auto}
.blog-card-readmore{color:var(--color-accent);font-weight:600;font-size:.85rem;margin-top:var(--space-sm)}

/* ===== 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{display:flex;flex-direction:column;align-items:center;text-align:center;gap:var(--space-sm);padding:var(--space-lg)}
.trust-item svg{width:36px;height:36px;color:var(--color-accent)}
.trust-item-title{font-weight:600;font-size:.95rem}
.trust-item-desc{font-size:.8rem;color:var(--color-text-muted)}

/* ===== BREADCRUMB ===== */
.breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:var(--space-md) 0;font-size:.85rem;color:var(--color-text-muted)}
.breadcrumb a:hover{color:var(--color-accent)}
.breadcrumb-sep{color:var(--color-text-muted);opacity:.5}

/* ===== PRODUCT PAGE ===== */
.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)}}
.product-gallery{display:flex;flex-direction:column;gap:var(--space-md)}
.gallery-main-wrap{position:relative;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;cursor:zoom-in}
.gallery-thumbs{display:flex;gap:var(--space-sm);overflow-x:auto;padding-bottom:4px}
.gallery-thumb{flex:0 0 80px;width:80px;height:80px;border-radius:var(--radius-sm);overflow:hidden;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:var(--space-md)}
.product-vendor{font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--color-text-muted)}
.product-title{font-family:var(--font-heading);font-size:clamp(1.5rem,4vw,2rem);font-weight:700;line-height:1.2}
.product-rating{display:flex;align-items:center;gap:var(--space-sm)}
.rating-stars{display:inline-flex;gap:2px}
.rating-stars svg{width:18px;height:18px}
.rating-stars .star-filled{color:#E8A53E}
.rating-stars .star-empty{color:var(--color-border)}
.rating-text{font-size:.85rem;color:var(--color-text-muted)}
.product-price-wrap{display:flex;align-items:baseline;gap:var(--space-md);flex-wrap:wrap}
.product-price{font-family:var(--font-mono);font-size:1.8rem;font-weight:700;color:var(--color-text-primary)}
.product-compare-price{font-size:1.2rem;color:var(--color-text-muted);text-decoration:line-through}
.product-short-desc{color:var(--color-text-secondary);font-size:.95rem;line-height:1.6}
.option-group{display:flex;flex-direction:column;gap:var(--space-sm)}
.option-label{font-weight:600;font-size:.9rem;color:var(--color-text-primary)}
.option-btns{display:flex;flex-wrap:wrap;gap:var(--space-sm)}
.option-btn{padding:8px 16px;border:2px solid var(--color-border);border-radius:var(--radius-sm);font-size:.9rem;font-weight:500;transition:all var(--transition-fast);background:var(--color-surface)}
.option-btn.active{border-color:var(--color-accent);background:var(--color-accent);color:var(--color-accent-fg)}
.option-btn.unavailable{opacity:.4;text-decoration:line-through;cursor:not-allowed}
.option-btn:not(.unavailable):hover{border-color:var(--color-accent)}
.qty-control{display:inline-flex;align-items:center;border:2px solid var(--color-border);border-radius:var(--radius-sm);overflow:hidden}
.qty-btn{width:40px;height:40px;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:40px;text-align:center;border:none;font-weight:600;font-size:1rem}
.qty-input:focus{outline:none}
.product-actions{display:flex;gap:var(--space-md);flex-wrap:wrap}
.product-actions .btn{flex:1;min-width:160px}
.availability-msg{font-size:.9rem;font-weight:500;padding:8px 12px;border-radius:var(--radius-sm)}
.availability-msg.in-stock{background:rgba(74,124,89,.1);color:var(--color-success)}
.availability-msg.out-stock{background:rgba(192,73,47,.1);color:var(--color-error)}
.product-accordions{margin-top:var(--space-md)}
.accordion{border-bottom:1px solid var(--color-border)}
.accordion-header{display:flex;justify-content:space-between;align-items:center;padding:var(--space-md) 0;font-weight:600;font-size:1rem;cursor:pointer;color:var(--color-text-primary)}
.accordion-header:hover{color:var(--color-accent)}
.accordion-icon{transition:transform var(--transition-fast);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-base)}
.accordion.open .accordion-body{max-height:600px}
.accordion-body-inner{padding:0 0 var(--space-md);color:var(--color-text-secondary);font-size:.95rem;line-height:1.6}

/* ===== STICKY ATC ===== */
.sticky-atc{position:fixed;bottom:0;left:0;right:0;background:var(--color-surface);border-top:1px solid var(--color-border);box-shadow:0 -4px 12px rgba(45,36,24,.08);padding:var(--space-md) var(--space-lg);z-index:90;transform:translateY(100%);transition:transform var(--transition-base);display:flex;align-items:center;gap:var(--space-md)}
.sticky-atc.visible{transform:translateY(0)}
.sticky-atc-product{display:flex;align-items:center;gap:var(--space-sm);flex:1;min-width:0}
.sticky-atc-product img{width:48px;height:48px;border-radius:var(--radius-sm);object-fit:cover;flex-shrink:0}
.sticky-atc-product-info{min-width:0}
.sticky-atc-product-title{font-size:.85rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sticky-atc-product-price{font-family:var(--font-mono);font-size:.9rem;font-weight:700;color:var(--color-accent)}
@media(min-width:768px){.sticky-atc{padding:var(--space-md) var(--space-xl)}}

/* ===== REVIEWS ===== */
.reviews-section{padding:var(--space-xl) 0;border-top:1px solid var(--color-border)}
.reviews-summary{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-lg);margin-bottom:var(--space-xl)}
.reviews-avg{font-family:var(--font-heading);font-size:3rem;font-weight:700;line-height:1}
.reviews-score{display:flex;flex-direction:column;gap:4px}
.reviews-bars{display:flex;flex-direction:column;gap:4px;flex:1;min-width:200px}
.rating-bar{display:flex;align-items:center;gap:var(--space-sm);font-size:.8rem}
.rating-bar-label{width:40px;color:var(--color-text-muted)}
.rating-bar-track{flex:1;height:8px;background:var(--color-surface-alt);border-radius:var(--radius-full);overflow:hidden}
.rating-bar-fill{height:100%;background:#E8A53E;border-radius:var(--radius-full)}
.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:var(--space-lg);margin-bottom:var(--space-md)}
.review-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:var(--space-sm)}
.review-author{font-weight:600;font-size:.95rem}
.review-verified{font-size:.75rem;color:var(--color-success);display:inline-flex;align-items:center;gap:4px}
.review-title{font-weight:600;font-size:1rem;margin-bottom:var(--space-xs)}
.review-body{font-size:.9rem;color:var(--color-text-secondary);line-height:1.6}
.review-date{font-size:.8rem;color:var(--color-text-muted)}

/* ===== CART DRAWER ===== */
.cart-overlay{position:fixed;inset:0;background:rgba(45,36,24,.4);z-index:150;opacity:0;pointer-events:none;transition:opacity var(--transition-base)}
.cart-overlay.active{opacity:1;pointer-events:auto}
.cart-drawer{position:fixed;top:0;right:-100%;width:90%;max-width:420px;height:100vh;background:var(--color-surface);z-index:160;overflow-y:auto;transition:right var(--transition-base);display:flex;flex-direction:column}
.cart-drawer.active{right:0}
.cart-drawer-header{display:flex;justify-content:space-between;align-items:center;padding:var(--space-lg);border-bottom:1px solid var(--color-border);position:sticky;top:0;background:var(--color-surface);z-index:1}
.cart-drawer-header h2{font-family:var(--font-heading);font-size:1.3rem;font-weight:600;display:flex;align-items:center;gap:var(--space-sm)}
.cart-close{font-size:1.5rem;color:var(--color-text-muted);width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-full)}
.cart-close:hover{background:var(--color-surface-alt);color:var(--color-text-primary)}
.cart-lines{flex:1;padding:var(--space-md) var(--space-lg);overflow-y:auto}
.cart-item{display:flex;gap:var(--space-md);padding:var(--space-md) 0;border-bottom:1px solid var(--color-border)}
.cart-item img{width:64px;height:64px;border-radius:var(--radius-sm);object-fit:cover;flex-shrink:0}
.cart-item-info{flex:1;min-width:0}
.cart-item-title{font-size:.9rem;font-weight:600;line-height:1.3;margin-bottom:2px}
.cart-item-variant{font-size:.8rem;color:var(--color-text-muted)}
.cart-item-price{font-family:var(--font-mono);font-size:.9rem;font-weight:600;color:var(--color-text-primary);margin-top:4px}
.cart-item-controls{display:flex;align-items:center;gap:var(--space-sm);margin-top:var(--space-sm)}
.cart-item-qty{display:inline-flex;align-items:center;border:1px solid var(--color-border);border-radius:var(--radius-sm);overflow:hidden}
.cart-item-qty button{width:28px;height:28px;font-size:1rem;color:var(--color-text-secondary)}
.cart-item-qty button:hover{background:var(--color-surface-alt)}
.cart-item-qty span{width:32px;text-align:center;font-size:.85rem;font-weight:600}
.cart-item-remove{font-size:.8rem;color:var(--color-error);margin-left:auto}
.cart-item-remove:hover{text-decoration:underline}
.cart-empty{text-align:center;padding:var(--space-2xl) var(--space-lg);color:var(--color-text-muted)}
.cart-empty svg{width:48px;height:48px;margin:0 auto var(--space-md);color:var(--color-border)}
.cart-footer{padding:var(--space-lg);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:var(--space-sm);font-size:1.1rem}
.cart-subtotal strong{font-family:var(--font-mono);font-size:1.3rem;color:var(--color-text-primary)}
.cart-tax-note{font-size:.8rem;color:var(--color-text-muted);margin-bottom:var(--space-md)}
.cart-footer .btn{width:100%;margin-bottom:var(--space-sm)}

/* ===== TOAST ===== */
.toast{position:fixed;bottom:var(--space-xl);left:50%;transform:translateX(-50%) translateY(100px);background:var(--color-text-primary);color:#fff;padding:12px 24px;border-radius:var(--radius-sm);font-size:.9rem;font-weight:500;z-index:300;opacity:0;transition:all var(--transition-base);box-shadow:var(--shadow-lg);max-width:90vw;text-align:center}
.toast.show{transform:translateX(-50%) translateY(0);opacity:1}
.toast-success{background:var(--color-success)}
.toast-error{background:var(--color-error)}

/* ===== FOOTER ===== */
.footer{background:var(--color-text-primary);color:rgba(250,247,242,.8);padding:var(--space-2xl) 0 var(--space-lg)}
.footer-grid{display:grid;grid-template-columns:1fr;gap:var(--space-xl);margin-bottom:var(--space-xl)}
@media(min-width:640px){.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:768px){.footer-grid{grid-template-columns:2fr 1fr 1fr 1fr}}
.footer-col h3{font-family:var(--font-heading);font-size:1rem;font-weight:600;color:#fff;margin-bottom:var(--space-md)}
.footer-col a{display:block;font-size:.9rem;padding:4px 0;color:rgba(250,247,242,.7);transition:color var(--transition-fast)}
.footer-col a:hover{color:var(--color-accent)}
.footer-logo{font-family:var(--font-heading);font-size:1.5rem;font-weight:700;color:#fff;margin-bottom:var(--space-md)}
.footer-logo span{color:var(--color-accent)}
.footer-desc{font-size:.9rem;line-height:1.6;margin-bottom:var(--space-md);max-width:300px}
.social-links{display:flex;gap:var(--space-sm)}
.social-links a{width:36px;height:36px;border-radius:var(--radius-full);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);color:#fff}
.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-wrap:wrap;justify-content:space-between;align-items:center;gap:var(--space-md);font-size:.85rem;color:rgba(250,247,242,.5)}
.footer-contact{font-size:.85rem;line-height:1.8}
.footer-contact a{display:inline}

/* ===== PAGINATION ===== */
.pagination{display:flex;justify-content:center;gap:var(--space-sm);padding:var(--space-xl) 0}
.pagination-btn{min-width:40px;height:40px;padding:0 12px;border:1px solid var(--color-border);border-radius:var(--radius-sm);font-weight:600;font-size:.9rem;display:flex;align-items:center;justify-content:center;transition:all var(--transition-fast);background:var(--color-surface)}
.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}

/* ===== SEARCH ===== */
.search-results{padding:var(--space-lg) 0}
.search-item{display:flex;gap:var(--space-md);padding:var(--space-md);border-bottom:1px solid var(--color-border);transition:background var(--transition-fast)}
.search-item:hover{background:var(--color-surface-alt)}
.search-item img{width:60px;height:60px;border-radius:var(--radius-sm);object-fit:cover}
.search-item-info{flex:1}
.search-item-title{font-weight:600;font-size:.95rem}
.search-item-price{font-family:var(--font-mono);font-weight:700;color:var(--color-accent)}

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

/* ===== SORT BAR ===== */
.sort-bar{display:flex;align-items:center;gap:var(--space-md);padding:var(--space-md) 0;flex-wrap:wrap}
.sort-bar label{font-size:.9rem;color:var(--color-text-muted);font-weight:600}
.sort-bar select{padding:8px 12px;border:1px solid var(--color-border);border-radius:var(--radius-sm);font-size:.9rem;background:var(--color-surface);cursor:pointer}
.sort-bar select:focus{outline:none;border-color:var(--color-accent)}
.product-count-text{font-size:.85rem;color:var(--color-text-muted);margin-left:auto}

/* ===== POLICY PAGES ===== */
.policy-layout{display:grid;grid-template-columns:1fr;gap:var(--space-xl);padding:var(--space-lg) 0}
@media(min-width:768px){.policy-layout{grid-template-columns:240px 1fr}}
.policy-sidebar{display:flex;flex-direction:column;gap:var(--space-xs)}
.policy-sidebar a{padding:10px 14px;border-radius:var(--radius-sm);font-size:.9rem;font-weight:500;color:var(--color-text-secondary);transition:all var(--transition-fast)}
.policy-sidebar a:hover{background:var(--color-surface-alt);color:var(--color-accent)}
.policy-sidebar a.active{background:var(--color-accent);color:#fff}
.policy-content{background:var(--color-surface);border-radius:var(--radius-md);padding:var(--space-xl);box-shadow:var(--shadow-sm)}
.policy-content h1{font-family:var(--font-heading);font-size:1.8rem;margin-bottom:var(--space-lg)}
.policy-content h2{font-family:var(--font-heading);font-size:1.3rem;margin:var(--space-lg) 0 var(--space-sm)}
.policy-content p{margin-bottom:var(--space-md);line-height:1.7;color:var(--color-text-secondary)}
.policy-content ul{margin-bottom:var(--space-md);padding-left:var(--space-lg)}
.policy-content li{margin-bottom:var(--space-xs);color:var(--color-text-secondary)}

/* ===== PAGE CONTENT ===== */
.page-content{background:var(--color-surface);border-radius:var(--radius-md);padding:var(--space-xl);box-shadow:var(--shadow-sm);margin:var(--space-lg) 0}
.page-content h1{font-family:var(--font-heading);font-size:1.8rem;margin-bottom:var(--space-lg)}
.page-content h2{font-family:var(--font-heading);font-size:1.3rem;margin:var(--space-lg) 0 var(--space-sm)}
.page-content h3{font-family:var(--font-heading);font-size:1.1rem;margin:var(--space-md) 0 var(--space-sm)}
.page-content p{margin-bottom:var(--space-md);line-height:1.7;color:var(--color-text-secondary)}
.page-content ul,.page-content ol{margin-bottom:var(--space-md);padding-left:var(--space-lg)}
.page-content li{margin-bottom:var(--space-xs);color:var(--color-text-secondary)}
.page-content ul{list-style:disc}
.page-content ol{list-style:decimal}

/* ===== CONTACT FORM ===== */
.contact-form{display:flex;flex-direction:column;gap:var(--space-md);max-width:600px}
.form-group{display:flex;flex-direction:column;gap:var(--space-xs)}
.form-group label{font-weight:600;font-size:.9rem;color:var(--color-text-primary)}
.form-group input,.form-group textarea,.form-group select{padding:12px 16px;border:2px solid var(--color-border);border-radius:var(--radius-sm);font-size:1rem;transition:border-color var(--transition-fast)}
.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:var(--color-accent)}
.form-group textarea{min-height:120px;resize:vertical}
.form-error{font-size:.85rem;color:var(--color-error);display:none}
.form-error.show{display:block}
.form-success{background:rgba(74,124,89,.1);color:var(--color-success);padding:var(--space-md);border-radius:var(--radius-sm);font-size:.9rem;display:none}
.form-success.show{display:block}

/* ===== FAQ ===== */
.faq-section{padding:var(--space-xl) 0}
.faq-item{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);margin-bottom:var(--space-sm);overflow:hidden}
.faq-question{display:flex;justify-content:space-between;align-items:center;padding:var(--space-md) var(--space-lg);font-weight:600;font-size:1rem;cursor:pointer;color:var(--color-text-primary)}
.faq-question:hover{color:var(--color-accent)}
.faq-icon{transition:transform var(--transition-fast);font-size:1.2rem;color:var(--color-text-muted)}
.faq-item.open .faq-icon{transform:rotate(45deg)}
.faq-answer{max-height:0;overflow:hidden;transition:max-height var(--transition-base)}
.faq-item.open .faq-answer{max-height:400px}
.faq-answer-inner{padding:0 var(--space-lg) var(--space-md);color:var(--color-text-secondary);font-size:.95rem;line-height:1.6}

/* ===== NEWSLETTER ===== */
.newsletter{background:var(--color-surface-alt);border-radius:var(--radius-lg);padding:var(--space-2xl) var(--space-lg);text-align:center;margin:var(--space-xl) 0}
.newsletter h2{font-family:var(--font-heading);font-size:1.6rem;margin-bottom:var(--space-sm)}
.newsletter p{color:var(--color-text-secondary);margin-bottom:var(--space-lg);max-width:500px;margin-left:auto;margin-right:auto}
.newsletter-form{display:flex;gap:var(--space-sm);max-width:480px;margin:0 auto;flex-wrap:wrap}
.newsletter-form input{flex:1;min-width:200px;padding:12px 16px;border:2px solid var(--color-border);border-radius:var(--radius-sm);font-size:1rem}
.newsletter-form input:focus{outline:none;border-color:var(--color-accent)}

/* ===== 404 PAGE ===== */
.error-page{text-align:center;padding:var(--space-3xl) var(--space-lg)}
.error-page h1{font-family:var(--font-heading);font-size:clamp(3rem,10vw,6rem);font-weight:700;color:var(--color-accent);line-height:1}
.error-page p{font-size:1.1rem;color:var(--color-text-secondary);margin-bottom:var(--space-lg);max-width:500px;margin-left:auto;margin-right:auto}
.error-page .search-bar-inline{position:static;display:block;margin-bottom:var(--space-lg)}
.error-page .search-bar-inline form{max-width:400px}

/* ===== UTILITY ===== */
.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}
.text-center{text-align:center}
.mt-0{margin-top:0!important}
.mb-0{margin-bottom:0!important}
.hidden{display:none!important}
.loading-spinner{display:inline-block;width:20px;height:20px;border:2px solid var(--color-border);border-top-color:var(--color-accent);border-radius:50%;animation:spin .8s linear infinite}

/* ===== ACCESSIBILITY ===== */
*:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media(min-width:640px){
  .hero{min-height:560px}
}
@media(min-width:1024px){
  .hero{min-height:600px}
}
