/* ============================================
   Glory Tails — Pet Supplies Storefront
   Design System: Warm, friendly, trustworthy
   Palette: Amber, soft brown, cream
   ============================================ */

*,*::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{width:100%;border-collapse:collapse}

:root{
  --color-bg:#FFFBF5;
  --color-surface:#FFFFFF;
  --color-surface-alt:#FEF3C7;
  --color-border:#F0E6D3;
  --color-text-primary:#2D1B0E;
  --color-text-secondary:#5C4530;
  --color-text-muted:#9B8A75;
  --color-accent:#F59E0B;
  --color-accent-hover:#D97706;
  --color-accent-fg:#FFFFFF;
  --color-accent-light:#FEF3C7;
  --color-secondary:#8B5CF6;
  --color-secondary-light:#EDE9FE;
  --color-success:#10B981;
  --color-warning:#F59E0B;
  --color-error:#EF4444;
  --font-heading:'Poppins','Segoe UI',sans-serif;
  --font-body:'Nunito Sans','Segoe UI',sans-serif;
  --font-mono:'JetBrains Mono','Courier New',monospace;
  --radius-sm:6px;--radius-md:10px;--radius-lg:16px;--radius-full:9999px;
  --shadow-sm:0 1px 3px rgba(245,158,11,.06);
  --shadow-md:0 4px 16px rgba(245,158,11,.08);
  --shadow-lg:0 12px 40px rgba(245,158,11,.12);
  --shadow-xl:0 24px 60px rgba(245,158,11,.16);
  --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;--header-height:68px;
}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px;border-radius:var(--radius-sm)}
@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes slideUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@keyframes shimmer{0%{background-position:-200% 0}100%{background-position:200% 0}}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes slideInRight{from{transform:translateX(100%)}to{transform:translateX(0)}}
@keyframes scaleIn{from{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}

.container{max-width:var(--container-max);margin:0 auto;padding:0 var(--space-md)}
@media(min-width:768px){.container{padding:0 var(--space-lg)}}
@media(min-width:1024px){.container{padding:0 var(--space-xl)}}
.section{padding:var(--space-2xl) 0}
.section-alt{background:var(--color-surface-alt)}
.section-tight{padding:var(--space-xl) 0}
.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:700;color:var(--color-text-primary);line-height:1.2;letter-spacing:-.02em}
.section-subtitle{font-size:1.05rem;color:var(--color-text-secondary);margin-top:var(--space-sm);max-width:560px;margin-left:auto;margin-right:auto}

.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)}.grid-auto{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-sm);padding:12px 24px;font-size:.95rem;font-weight:700;border-radius:var(--radius-full);transition:all var(--transition-base);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-secondary);color:#fff}
.btn-secondary:hover{background:#7C3AED;transform:translateY(-1px);box-shadow:var(--shadow-md)}
.btn-ghost{background:transparent;color:var(--color-text-primary);border:1.5px solid var(--color-border)}
.btn-ghost:hover{border-color:var(--color-accent);color:var(--color-accent)}
.btn-lg{padding:16px 36px;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!important;box-shadow:none!important}

.badge{display:inline-flex;align-items:center;padding:3px 10px;font-size:.72rem;font-weight:700;border-radius:var(--radius-full);text-transform:uppercase;letter-spacing:.04em}
.badge-sale{background:var(--color-secondary);color:#fff}
.badge-new{background:var(--color-accent);color:#fff}
.badge-out{background:var(--color-text-muted);color:#fff}
.badge-free{background:var(--color-accent-light);color:var(--color-accent)}

.announcement-bar{background:var(--color-accent);color:#fff;text-align:center;padding:10px var(--space-md);font-size:.85rem;font-weight:600}

.nav{position:sticky;top:0;z-index:100;background:var(--color-surface);border-bottom:1px solid var(--color-border);height:var(--header-height);display:flex;align-items:center}
.nav-inner{display:flex;align-items:center;justify-content:space-between;width:100%;gap:var(--space-lg)}
.nav-logo{font-family:var(--font-heading);font-size:1.4rem;font-weight:800;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-size:.9rem;font-weight:600;color:var(--color-text-secondary);transition:color var(--transition-fast);position:relative}
.nav-links a:hover{color:var(--color-accent)}
.nav-links a::after{content:'';position:absolute;bottom:-4px;left:0;width:0;height:2px;background:var(--color-accent);transition:width var(--transition-base)}
.nav-links a:hover::after{width:100%}
.nav-actions{display:flex;align-items:center;gap:var(--space-md)}
.nav-icon-btn{position:relative;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:var(--radius-full);color:var(--color-text-primary);transition:background var(--transition-fast)}
.nav-icon-btn:hover{background:var(--color-surface-alt)}
.nav-icon-btn svg{width:22px;height:22px}
.cart-count{position:absolute;top:-2px;right:-2px;background:var(--color-secondary);color:#fff;font-size:.68rem;font-weight:700;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;min-width:20px}
.cart-count:empty{display:none}
.search-toggle{display:flex}
.search-bar-nav{display:none;position:absolute;top:var(--header-height);left:0;right:0;background:var(--color-surface);border-bottom:1px solid var(--color-border);padding:var(--space-md) var(--space-lg);z-index:99}
.search-bar-nav.active{display:block}
.search-bar-nav form{max-width:600px;margin:0 auto;display:flex;gap:var(--space-sm)}
.search-bar-nav input{flex:1;padding:12px 20px;border:1.5px solid var(--color-border);border-radius:var(--radius-full);font-size:.95rem}
.search-bar-nav input:focus{border-color:var(--color-accent);outline:none}
.search-bar-nav button{padding:12px 24px}

.hamburger{display:none;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-base)}
.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)}
@media(min-width:768px){.nav-links{display:flex}}
@media(max-width:767px){.hamburger{display:flex}}

.mobile-menu{position:fixed;top:0;left:-100%;width:85%;max-width:340px;height:100vh;background:var(--color-surface);z-index:200;overflow-y:auto;transition:left var(--transition-slow);padding:var(--space-xl) var(--space-lg);box-shadow:var(--shadow-xl)}
.mobile-menu.active{left:0}
.mobile-menu-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(45,27,14,.4);z-index:199;opacity:0;visibility:hidden;transition:all var(--transition-base)}
.mobile-menu-overlay.active{opacity:1;visibility:visible}
.mobile-menu-close{position:absolute;top:var(--space-md);right:var(--space-md);font-size:1.5rem;color:var(--color-text-muted)}
.mobile-menu nav{display:flex;flex-direction:column;gap:var(--space-md);margin-top:var(--space-xl)}
.mobile-menu nav a{font-size:1.1rem;font-weight:600;color:var(--color-text-primary);padding:var(--space-sm) 0;border-bottom:1px solid var(--color-border)}
.mobile-menu nav a:hover{color:var(--color-accent)}

.hero{position:relative;min-height:520px;display:flex;align-items:center;overflow:hidden;background:linear-gradient(135deg,var(--color-accent-light) 0%,var(--color-surface-alt) 100%)}
.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(90deg,rgba(255,251,245,.92) 0%,rgba(255,251,245,.6) 50%,rgba(255,251,245,.2) 100%);z-index:1}
.hero-content{position:relative;z-index:2;max-width:560px;padding:var(--space-2xl) 0}
.hero-eyebrow{display:inline-flex;align-items:center;gap:6px;font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--color-accent);margin-bottom:var(--space-md)}
.hero-title{font-family:var(--font-heading);font-size:clamp(2rem,5vw,3.4rem);font-weight:800;line-height:1.1;letter-spacing:-.02em;color:var(--color-text-primary);margin-bottom:var(--space-md)}
.hero-subtitle{font-size:1.15rem;color:var(--color-text-secondary);margin-bottom:var(--space-xl);max-width:480px;line-height:1.6}
.hero-actions{display:flex;gap:var(--space-md);flex-wrap:wrap}
@media(min-width:768px){.hero{min-height:600px}}

.product-card{background:var(--color-surface);border-radius:var(--radius-lg);overflow:hidden;transition:all var(--transition-base);border:1px solid var(--color-border);display:flex;flex-direction:column}
.product-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px)}
.product-card-img{position:relative;aspect-ratio:1;overflow:hidden;background:var(--color-surface-alt)}
.product-card-img img{width:100%;height:100%;object-fit:cover;transition:transform var(--transition-slow)}
.product-card:hover .product-card-img img{transform:scale(1.05)}
.product-card-badges{position:absolute;top:10px;left:10px;display:flex;flex-direction:column;gap:4px;z-index:2}
.product-card-body{padding:var(--space-md);display:flex;flex-direction:column;gap:var(--space-xs);flex:1}
.product-card-vendor{font-size:.75rem;font-weight:600;color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.04em}
.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-price-wrap{display:flex;align-items:center;gap:var(--space-sm);margin-top:auto;padding-top:var(--space-sm)}
.product-card-price{font-family:var(--font-mono);font-size:1.1rem;font-weight:700;color:var(--color-accent)}
.product-card-compare{font-size:.9rem;color:var(--color-text-muted);text-decoration:line-through}
.product-card-atc{margin-top:var(--space-sm);width:100%}

.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(0deg,rgba(45,27,14,.65) 0%,rgba(45,27,14,.1) 60%);display:flex;align-items:flex-end;padding:var(--space-lg)}
.collection-card-title{color:#fff;font-family:var(--font-heading);font-size:1.3rem;font-weight:700}
.collection-card-count{color:rgba(255,255,255,.8);font-size:.85rem;margin-top:2px}

.blog-card{background:var(--color-surface);border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--color-border);transition:all var(--transition-base)}
.blog-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}
.blog-card-img{aspect-ratio:16/9;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.04)}
.blog-card-body{padding:var(--space-lg)}
.blog-card-date{font-size:.78rem;color:var(--color-text-muted);font-weight:600}
.blog-card-title{font-family:var(--font-heading);font-size:1.2rem;font-weight:700;margin:var(--space-xs) 0 var(--space-sm);line-height:1.3}
.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-read{display:inline-flex;align-items:center;gap:4px;margin-top:var(--space-md);font-size:.85rem;font-weight:700;color:var(--color-accent)}

.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:700;font-size:.9rem}
.trust-item-desc{font-size:.78rem;color:var(--color-text-muted)}

.breadcrumb{display:flex;align-items:center;gap:var(--space-xs);flex-wrap:wrap;padding:var(--space-md) 0;font-size:.85rem;color:var(--color-text-muted)}
.breadcrumb a{color:var(--color-text-secondary);transition:color var(--transition-fast)}
.breadcrumb a:hover{color:var(--color-accent)}
.breadcrumb-sep{color:var(--color-text-muted)}

.product-layout{display:grid;grid-template-columns:1fr;gap:var(--space-xl);padding:var(--space-lg) 0 var(--space-2xl)}
@media(min-width:768px){.product-layout{grid-template-columns:1fr 1fr;gap:var(--space-2xl)}}
@media(min-width:1024px){.product-layout{gap:var(--space-3xl)}}
.product-gallery{position:sticky;top:calc(var(--header-height) + 20px);align-self:start}
.gallery-main-wrap{border-radius:var(--radius-lg);overflow:hidden;background:var(--color-surface-alt);aspect-ratio:1;margin-bottom:var(--space-md);border:1px solid var(--color-border)}
.gallery-main{width:100%;height:100%;object-fit:cover;cursor:zoom-in}
.gallery-thumbs{display:flex;gap:var(--space-sm);overflow-x:auto;padding-bottom:var(--space-xs)}
.gallery-thumb{width:80px;height:80px;border-radius:var(--radius-md);overflow:hidden;border:2px solid transparent;flex-shrink:0;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:700;text-transform:uppercase;letter-spacing:.06em;color:var(--color-accent)}
.product-title{font-family:var(--font-heading);font-size:clamp(1.5rem,3vw,2rem);font-weight:700;line-height:1.2;letter-spacing:-.01em}
.product-price-wrap{display:flex;align-items:center;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-family:var(--font-mono);font-size:1.2rem;color:var(--color-text-muted);text-decoration:line-through}
.product-save-badge{background:var(--color-secondary-light);color:var(--color-secondary);padding:4px 12px;border-radius:var(--radius-full);font-size:.78rem;font-weight:700}
.product-short-desc{color:var(--color-text-secondary);font-size:.95rem;line-height:1.6}
.option-group{margin-bottom:var(--space-md)}
.option-label{display:block;font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-secondary);margin-bottom:var(--space-sm)}
.option-btns{display:flex;flex-wrap:wrap;gap:var(--space-sm)}
.option-btn{padding:8px 18px;border:1.5px solid var(--color-border);border-radius:var(--radius-full);font-size:.88rem;font-weight:600;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.unavailable{opacity:.4;text-decoration:line-through;cursor:not-allowed}
.qty-control{display:inline-flex;align-items:center;border:1.5px solid var(--color-border);border-radius:var(--radius-full);overflow:hidden}
.qty-btn{width:40px;height:40px;display:flex;align-items:center;justify-content:center;font-size:1.2rem;color:var(--color-text-primary);transition:background var(--transition-fast)}
.qty-btn:hover{background:var(--color-surface-alt)}
.qty-input{width:50px;text-align:center;border:none;font-size:1rem;font-weight:600;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}
.product-actions{display:flex;gap:var(--space-md);flex-wrap:wrap;margin-top:var(--space-sm)}
.product-actions .btn{flex:1;min-width:160px}
.availability-msg{display:flex;align-items:center;gap:6px;font-size:.85rem;font-weight:600}
.availability-msg.in-stock{color:var(--color-success)}
.availability-msg.out-stock{color:var(--color-error)}
.product-accordions{margin-top:var(--space-lg);border-top:1px solid var(--color-border)}
.accordion{border-bottom:1px solid var(--color-border)}
.accordion-header{display:flex;justify-content:space-between;align-items:center;padding:var(--space-md) 0;cursor:pointer;font-weight:700;font-size:.95rem;color:var(--color-text-primary)}
.accordion-header svg{width:20px;height:20px;transition:transform var(--transition-base);color:var(--color-text-muted)}
.accordion.open .accordion-header svg{transform:rotate(45deg)}
.accordion-body{max-height:0;overflow:hidden;transition:max-height var(--transition-slow);color:var(--color-text-secondary);font-size:.9rem;line-height:1.7}
.accordion.open .accordion-body{max-height:600px;padding-bottom:var(--space-md)}
.accordion-body p{margin-bottom:var(--space-sm)}
.accordion-body ul{padding-left:var(--space-lg);list-style:disc;margin-bottom:var(--space-sm)}
.accordion-body li{margin-bottom:4px}
.sticky-atc{position:fixed;bottom:0;left:0;right:0;background:var(--color-surface);border-top:1px solid var(--color-border);padding:var(--space-sm) var(--space-md);z-index:90;transform:translateY(100%);transition:transform var(--transition-base);display:flex;align-items:center;gap:var(--space-md);box-shadow:0 -4px 20px rgba(245,158,11,.08)}
.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)}

.cart-overlay{position:fixed;inset:0;background:rgba(45,27,14,.4);z-index:150;opacity:0;visibility:hidden;transition:all var(--transition-base)}
.cart-overlay.active{opacity:1;visibility:visible}
.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-slow);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:2}
.cart-drawer-header h2{font-family:var(--font-heading);font-size:1.3rem;font-weight:700;display:flex;align-items:center;gap:var(--space-sm)}
.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)}
.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:72px;height:72px;border-radius:var(--radius-md);object-fit:cover;flex-shrink:0;background:var(--color-surface-alt)}
.cart-item-info{flex:1;min-width:0}
.cart-item-title{font-size:.88rem;font-weight:600;line-height:1.3;margin-bottom:2px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cart-item-variant{font-size:.78rem;color:var(--color-text-muted);margin-bottom:var(--space-sm)}
.cart-item-price{font-family:var(--font-mono);font-size:.9rem;font-weight:700;color:var(--color-accent)}
.cart-item-controls{display:flex;align-items:center;justify-content:space-between;margin-top:var(--space-sm)}
.cart-item-qty{display:inline-flex;align-items:center;border:1px solid var(--color-border);border-radius:var(--radius-full);overflow:hidden}
.cart-item-qty button{width:28px;height:28px;display:flex;align-items:center;justify-content:center;font-size:.9rem}
.cart-item-qty span{width:32px;text-align:center;font-size:.85rem;font-weight:600}
.cart-item-remove{font-size:.78rem;color:var(--color-error);font-weight:600}
.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:64px;height:64px;margin:0 auto var(--space-md);color:var(--color-border)}
.cart-empty p{margin-bottom:var(--space-md)}
.cart-footer{padding:var(--space-lg);border-top:1px solid var(--color-border);background:var(--color-surface);position:sticky;bottom:0}
.cart-subtotal{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--space-sm)}
.cart-subtotal span{font-size:.95rem;color:var(--color-text-secondary)}
.cart-subtotal strong{font-family:var(--font-mono);font-size:1.3rem;font-weight:700;color:var(--color-text-primary)}
.cart-tax-note{font-size:.78rem;color:var(--color-text-muted);text-align:center;margin-bottom:var(--space-md)}
.cart-free-ship{font-size:.78rem;color:var(--color-accent);text-align:center;margin-bottom:var(--space-sm);font-weight:600}

.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%) translateY(100px);background:var(--color-text-primary);color:#fff;padding:12px 24px;border-radius:var(--radius-full);font-size:.9rem;font-weight:600;z-index:300;opacity:0;transition:all var(--transition-base);box-shadow:var(--shadow-lg)}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.toast-success{background:var(--color-success)}
.toast-error{background:var(--color-error)}

.footer{background:var(--color-text-primary);color:rgba(255,255,255,.7);padding:var(--space-2xl) 0 var(--space-lg)}
.footer-grid{display:grid;grid-template-columns:1fr;gap:var(--space-xl);margin-bottom:var(--space-xl)}
@media(min-width:640px){.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:768px){.footer-grid{grid-template-columns:repeat(4,1fr)}}
.footer-col h3{color:#fff;font-family:var(--font-heading);font-size:1rem;font-weight:700;margin-bottom:var(--space-md)}
.footer-col ul{display:flex;flex-direction:column;gap:var(--space-sm)}
.footer-col a{font-size:.88rem;color:rgba(255,255,255,.6);transition:color var(--transition-fast)}
.footer-col a:hover{color:var(--color-accent)}
.footer-logo{font-family:var(--font-heading);font-size:1.4rem;font-weight:800;color:#fff;margin-bottom:var(--space-sm)}
.footer-logo span{color:var(--color-accent)}
.footer-tagline{font-size:.88rem;color:rgba(255,255,255,.5);margin-bottom:var(--space-md);max-width:280px}
.social-links{display:flex;gap:var(--space-sm)}
.social-links a{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;transition:background var(--transition-fast)}
.social-links a:hover{background:var(--color-accent)}
.social-links svg{width:18px;height:18px;color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:var(--space-lg);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:var(--space-md);font-size:.82rem;color:rgba(255,255,255,.4)}
.footer-payments{display:flex;gap:var(--space-sm);align-items:center}
.footer-payments span{font-size:.7rem;padding:4px 10px;border:1px solid rgba(255,255,255,.15);border-radius:var(--radius-sm);font-weight:600}

.pagination{display:flex;justify-content:center;gap:var(--space-xs);margin-top:var(--space-xl)}
.pagination-btn{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border:1px solid var(--color-border);border-radius:var(--radius-sm);font-size:.9rem;font-weight:600;color:var(--color-text-primary);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{display:flex;justify-content:space-between;align-items:center;gap:var(--space-md);padding:var(--space-md) 0;flex-wrap:wrap}
.sort-bar select{padding:8px 16px;border:1.5px solid var(--color-border);border-radius:var(--radius-full);font-size:.88rem;font-weight:600;background:var(--color-surface);cursor:pointer}
.sort-bar select:focus{border-color:var(--color-accent);outline:none}
.sort-count{font-size:.85rem;color:var(--color-text-muted)}

.search-results{margin-top:var(--space-md)}
.search-item{display:flex;gap:var(--space-md);padding:var(--space-md);border:1px solid var(--color-border);border-radius:var(--radius-md);margin-bottom:var(--space-sm);transition:all var(--transition-fast)}
.search-item:hover{box-shadow:var(--shadow-sm);border-color:var(--color-accent)}
.search-item img{width:60px;height:60px;border-radius:var(--radius-sm);object-fit:cover}
.search-item-info h4{font-size:.9rem;font-weight:600;margin-bottom:2px}
.search-item-price{font-family:var(--font-mono);font-size:.85rem;font-weight:700;color:var(--color-accent)}
.search-input-wrap{position:relative;max-width:600px;margin:0 auto}
.search-input-wrap input{width:100%;padding:14px 24px 14px 48px;border:1.5px solid var(--color-border);border-radius:var(--radius-full);font-size:1rem}
.search-input-wrap input:focus{border-color:var(--color-accent);outline:none}
.search-input-wrap svg{position:absolute;left:16px;top:50%;transform:translateY(-50%);width:20px;height:20px;color:var(--color-text-muted)}

.error-page{text-align:center;padding:var(--space-3xl) var(--space-md)}
.error-page h1{font-family:var(--font-heading);font-size:clamp(4rem,15vw,10rem);font-weight:800;color:var(--color-accent);line-height:1}
.error-page p{font-size:1.1rem;color:var(--color-text-secondary);margin:var(--space-md) 0 var(--space-xl);max-width:480px;margin-left:auto;margin-right:auto}

.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:700;margin-bottom:var(--space-lg)}
.page-content h2{font-family:var(--font-heading);font-size:1.4rem;font-weight:700;margin:var(--space-xl) 0 var(--space-md)}
.page-content h3{font-size:1.1rem;font-weight:700;margin:var(--space-lg) 0 var(--space-sm)}
.page-content p{margin-bottom:var(--space-md);color:var(--color-text-secondary);line-height:1.7}
.page-content ul{padding-left:var(--space-lg);list-style:disc;margin-bottom:var(--space-md)}
.page-content li{margin-bottom:var(--space-xs);color:var(--color-text-secondary)}

.form-group{margin-bottom:var(--space-md)}
.form-group label{display:block;font-size:.85rem;font-weight:700;margin-bottom:var(--space-xs);color:var(--color-text-secondary)}
.form-group input,.form-group textarea,.form-group select{width:100%;padding:12px 16px;border:1.5px solid var(--color-border);border-radius:var(--radius-md);font-size:.95rem;background:var(--color-surface);transition:border-color var(--transition-fast)}
.form-group input:focus,.form-group textarea:focus,.form-group select:focus{border-color:var(--color-accent);outline:none;box-shadow:0 0 0 3px var(--color-accent-light)}
.form-group textarea{min-height:120px;resize:vertical}

.cart-page{padding:var(--space-xl) 0 var(--space-2xl)}
.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-table{width:100%}
.cart-table th{text-align:left;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted);padding:var(--space-sm) var(--space-md);border-bottom:2px solid var(--color-border)}
.cart-table th:last-child,.cart-table td:last-child{text-align:right}
.cart-table td{padding:var(--space-md);border-bottom:1px solid var(--color-border);vertical-align:middle}
.cart-table-product{display:flex;align-items:center;gap:var(--space-md)}
.cart-table-product img{width:80px;height:80px;border-radius:var(--radius-md);object-fit:cover;flex-shrink:0}
.cart-table-product-info h4{font-size:.9rem;font-weight:600;line-height:1.3}
.cart-table-product-info p{font-size:.78rem;color:var(--color-text-muted)}
.cart-table-price{font-family:var(--font-mono);font-weight:600}
.cart-table-mobile{display:block}
@media(min-width:768px){.cart-table-mobile{display:none}}
.cart-table-desktop{display:none}
@media(min-width:768px){.cart-table-desktop{display:block}}
.cart-summary{background:var(--color-surface-alt);border-radius:var(--radius-lg);padding:var(--space-xl);position:sticky;top:calc(var(--header-height) + 20px)}
.cart-summary h3{font-family:var(--font-heading);font-size:1.2rem;font-weight:700;margin-bottom:var(--space-md)}
.cart-summary-row{display:flex;justify-content:space-between;margin-bottom:var(--space-sm);font-size:.9rem}
.cart-summary-row.total{font-size:1.2rem;font-weight:700;padding-top:var(--space-md);border-top:1px solid var(--color-border);margin-top:var(--space-md)}
.cart-summary-row.total strong{font-family:var(--font-mono)}
.cart-summary .btn{margin-top:var(--space-md)}
.cart-mobile-item{display:flex;gap:var(--space-md);padding:var(--space-md) 0;border-bottom:1px solid var(--color-border)}
.cart-mobile-item img{width:80px;height:80px;border-radius:var(--radius-md);object-fit:cover;flex-shrink:0}
.cart-mobile-item-info{flex:1}
.cart-mobile-item-info h4{font-size:.9rem;font-weight:600;margin-bottom:2px}
.cart-mobile-item-info p{font-size:.78rem;color:var(--color-text-muted);margin-bottom:var(--space-sm)}
.cart-mobile-item-bottom{display:flex;justify-content:space-between;align-items:center}

.checkout-page{padding:var(--space-xl) 0 var(--space-2xl);background:var(--color-surface-alt);min-height:calc(100vh - var(--header-height))}
.checkout-layout{display:grid;grid-template-columns:1fr;gap:var(--space-xl)}
@media(min-width:768px){.checkout-layout{grid-template-columns:1fr 380px;gap:var(--space-2xl)}}
.checkout-form-section{background:var(--color-surface);border-radius:var(--radius-lg);padding:var(--space-xl);margin-bottom:var(--space-lg)}
.checkout-form-section h2{font-family:var(--font-heading);font-size:1.2rem;font-weight:700;margin-bottom:var(--space-md);display:flex;align-items:center;gap:var(--space-sm)}
.checkout-form-section h2 .step-num{width:28px;height:28px;background:var(--color-accent);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.85rem;font-weight:700}
.form-row{display:grid;grid-template-columns:1fr;gap:var(--space-md)}
@media(min-width:480px){.form-row.two-col{grid-template-columns:1fr 1fr}}
.card-form{margin-top:var(--space-md)}
.card-input-wrap{position:relative;margin-bottom:var(--space-md)}
.card-input-wrap label{display:block;font-size:.82rem;font-weight:700;margin-bottom:var(--space-xs);color:var(--color-text-secondary)}
.card-input-wrap input{width:100%;padding:14px 16px;border:1.5px solid var(--color-border);border-radius:var(--radius-md);font-size:.95rem;transition:border-color var(--transition-fast);background:var(--color-surface)}
.card-input-wrap input:focus{border-color:var(--color-accent);outline:none;box-shadow:0 0 0 3px var(--color-accent-light)}
.card-input-wrap .card-icon{position:absolute;right:14px;top:38px;width:24px;height:24px;color:var(--color-text-muted)}
.card-row{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-md)}
.card-secure-badge{display:flex;align-items:center;gap:var(--space-sm);padding:var(--space-md);background:var(--color-accent-light);border-radius:var(--radius-md);margin-bottom:var(--space-md)}
.card-secure-badge svg{width:20px;height:20px;color:var(--color-accent)}
.card-secure-badge span{font-size:.82rem;font-weight:600;color:var(--color-accent)}
.checkout-summary{background:var(--color-surface);border-radius:var(--radius-lg);padding:var(--space-xl);position:sticky;top:calc(var(--header-height) + 20px);align-self:start}
.checkout-summary h3{font-family:var(--font-heading);font-size:1.2rem;font-weight:700;margin-bottom:var(--space-md)}
.checkout-summary-item{display:flex;gap:var(--space-sm);padding:var(--space-sm) 0;border-bottom:1px solid var(--color-border)}
.checkout-summary-item img{width:56px;height:56px;border-radius:var(--radius-sm);object-fit:cover;flex-shrink:0}
.checkout-summary-item-info{flex:1;min-width:0}
.checkout-summary-item-info h4{font-size:.82rem;font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.checkout-summary-item-info p{font-size:.75rem;color:var(--color-text-muted)}
.checkout-summary-item-price{font-family:var(--font-mono);font-size:.82rem;font-weight:700;white-space:nowrap}
.checkout-summary-totals{margin-top:var(--space-md)}
.checkout-summary-totals .cart-summary-row{font-size:.85rem}

.thank-you-page{text-align:center;padding:var(--space-3xl) var(--space-md);background:var(--color-surface-alt);min-height:calc(100vh - var(--header-height))}
.thank-you-icon{width:80px;height:80px;margin:0 auto var(--space-lg);background:var(--color-accent);border-radius:50%;display:flex;align-items:center;justify-content:center;animation:scaleIn .5s ease}
.thank-you-icon svg{width:40px;height:40px;color:#fff}
.thank-you-page h1{font-family:var(--font-heading);font-size:clamp(2rem,5vw,3rem);font-weight:800;margin-bottom:var(--space-md)}
.thank-you-page .order-num{font-family:var(--font-mono);font-size:1.1rem;color:var(--color-accent);font-weight:700;margin-bottom:var(--space-lg)}
.thank-you-details{max-width:600px;margin:var(--space-xl) auto;background:var(--color-surface);border-radius:var(--radius-lg);padding:var(--space-xl);text-align:left}
.thank-you-details h2{font-family:var(--font-heading);font-size:1.2rem;font-weight:700;margin-bottom:var(--space-md)}
.thank-you-order-item{display:flex;justify-content:space-between;padding:var(--space-sm) 0;border-bottom:1px solid var(--color-border);font-size:.9rem}
.thank-you-order-item:last-child{border-bottom:none}
.thank-you-actions{display:flex;gap:var(--space-md);justify-content:center;margin-top:var(--space-xl);flex-wrap:wrap}

.collection-hero{position:relative;height:240px;overflow:hidden;border-radius:0 0 var(--radius-lg) var(--radius-lg)}
.collection-hero img{width:100%;height:100%;object-fit:cover}
.collection-hero-overlay{position:absolute;inset:0;background:linear-gradient(0deg,rgba(45,27,14,.6) 0%,rgba(45,27,14,.2) 100%);display:flex;align-items:flex-end;padding:var(--space-xl)}
.collection-hero-overlay h1{color:#fff;font-family:var(--font-heading);font-size:clamp(1.6rem,4vw,2.4rem);font-weight:700}
@media(min-width:768px){.collection-hero{height:320px}}

.benefits-section{display:grid;grid-template-columns:1fr;gap:var(--space-lg);padding:var(--space-xl) 0}
@media(min-width:640px){.benefits-section{grid-template-columns:repeat(2,1fr)}}
@media(min-width:768px){.benefits-section{grid-template-columns:repeat(3,1fr)}}
.benefit-card{text-align:center;padding:var(--space-lg)}
.benefit-card svg{width:48px;height:48px;color:var(--color-accent);margin:0 auto var(--space-md)}
.benefit-card h3{font-family:var(--font-heading);font-size:1.1rem;font-weight:700;margin-bottom:var(--space-sm)}
.benefit-card p{font-size:.88rem;color:var(--color-text-secondary);line-height:1.6}

.newsletter{text-align:center;padding:var(--space-2xl) var(--space-md);background:var(--color-accent-light);border-radius:var(--radius-lg)}
.newsletter h2{font-family:var(--font-heading);font-size:clamp(1.5rem,3vw,2rem);font-weight:700;margin-bottom:var(--space-sm)}
.newsletter p{color:var(--color-text-secondary);margin-bottom:var(--space-lg);max-width:480px;margin-left:auto;margin-right:auto}
.newsletter-form{display:flex;gap:var(--space-sm);max-width:440px;margin:0 auto;flex-wrap:wrap}
.newsletter-form input{flex:1;min-width:200px;padding:12px 20px;border:1.5px solid var(--color-border);border-radius:var(--radius-full);font-size:.95rem}
.newsletter-form input:focus{border-color:var(--color-accent);outline:none}

.contact-hero{background:linear-gradient(135deg,var(--color-accent-light) 0%,var(--color-surface-alt) 100%);padding:var(--space-2xl) 0 var(--space-xl);text-align:center}
.contact-hero h1{font-family:var(--font-heading);font-size:clamp(1.8rem,4vw,2.6rem);font-weight:700;margin-bottom:var(--space-sm)}
.contact-hero p{color:var(--color-text-secondary);max-width:520px;margin:0 auto;font-size:1.05rem}
.contact-layout{display:grid;grid-template-columns:1fr;gap:var(--space-xl);padding:var(--space-xl) 0 var(--space-2xl)}
@media(min-width:768px){.contact-layout{grid-template-columns:1fr 1fr;gap:var(--space-2xl);align-items:start}}
.contact-info-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);overflow:hidden}
.contact-info-img{width:100%;height:200px;object-fit:cover}
@media(min-width:768px){.contact-info-img{height:220px}}
.contact-info-body{padding:var(--space-xl)}
.contact-info-body h2{font-family:var(--font-heading);font-size:1.3rem;font-weight:700;margin-bottom:var(--space-sm)}
.contact-info-body>p{color:var(--color-text-secondary);font-size:.92rem;margin-bottom:var(--space-lg);line-height:1.6}
.contact-detail-item{display:flex;align-items:flex-start;gap:var(--space-md);padding:var(--space-md) 0;border-bottom:1px solid var(--color-border)}
.contact-detail-item:last-child{border-bottom:none}
.contact-detail-icon{width:44px;height:44px;border-radius:var(--radius-md);background:var(--color-accent-light);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.contact-detail-icon svg{width:22px;height:22px;color:var(--color-accent)}
.contact-detail-label{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted);margin-bottom:2px}
.contact-detail-value{font-size:.92rem;color:var(--color-text-primary);line-height:1.5}
.contact-detail-value a{color:var(--color-accent);font-weight:600}
.contact-form-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:var(--space-xl)}
.contact-form-card h2{font-family:var(--font-heading);font-size:1.3rem;font-weight:700;margin-bottom:var(--space-sm)}
.contact-form-card>p{color:var(--color-text-secondary);font-size:.92rem;margin-bottom:var(--space-lg)}
.contact-form-submit{margin-top:var(--space-sm)}
.contact-form-submit .btn{width:100%}
.contact-trust{display:flex;align-items:center;gap:var(--space-sm);margin-top:var(--space-lg);padding:var(--space-md);background:var(--color-accent-light);border-radius:var(--radius-md)}
.contact-trust svg{width:20px;height:20px;color:var(--color-accent);flex-shrink:0}
.contact-trust span{font-size:.82rem;color:var(--color-accent);font-weight:600}

.text-center{text-align:center}
.mt-md{margin-top:var(--space-md)}
.mt-lg{margin-top:var(--space-lg)}
.mt-xl{margin-top:var(--space-xl)}
.mb-md{margin-bottom:var(--space-md)}
.mb-lg{margin-bottom:var(--space-lg)}
.hidden{display:none!important}
.fade-in{animation:fadeIn .5s ease}
.slide-up{animation:slideUp .5s ease}
