@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800&family=Cormorant+Garamond:wght@600;700&display=swap');

:root {
  /* ─── REBRANDED: Navy/Indigo from logo ─── */
  --primary: #1a1a45;
  --primary-dark: #0e0e2a;
  --primary-light: #ecedf5;
  --primary-mid: #2d2d6b;
  --accent: #d4a843;
  --accent-soft: #fdf6e5;
  --accent-hover: #c49530;
  --success: #1a9e5c;
  --success-light: #e6f5ec;
  --danger: #dc3545;
  --dark: #0e0e1a;
  --text: #2d2f3a;
  --text-light: #6b6d7a;
  --text-muted: #a8aab5;
  --bg: #f6f7fa;
  --white: #ffffff;
  --border: #e2e4ea;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.05);
  --shadow-md: 0 6px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --shadow-glow: 0 0 24px rgba(26,26,69,.12);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 50px;
  --transition: all .3s cubic-bezier(.4,0,.2,1);
  --font: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font);color:var(--text);background:var(--bg);line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:var(--primary);text-decoration:none;transition:var(--transition)}
a:hover{color:var(--primary-dark)}
img{max-width:100%;height:auto}
.container{max-width:1320px;margin:0 auto;padding:0 24px}

/* ═══ ANIMATIONS ═══ */
@keyframes fadeInUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
@keyframes fadeInDown{from{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}
@keyframes scaleIn{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}
@keyframes bounceIn{0%{opacity:0;transform:scale(.3)}50%{transform:scale(1.05)}70%{transform:scale(.95)}100%{opacity:1;transform:scale(1)}}
@keyframes slideRight{from{width:0}to{width:100%}}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}
@keyframes spin{to{transform:rotate(360deg)}}

.animate-on-scroll{opacity:0;transform:translateY(25px);transition:opacity .6s ease,transform .6s ease}
.animate-on-scroll.visible{opacity:1;transform:translateY(0)}
.stagger-1{transition-delay:.08s}.stagger-2{transition-delay:.16s}.stagger-3{transition-delay:.24s}.stagger-4{transition-delay:.32s}.stagger-5{transition-delay:.4s}

/* ═══ TOPBAR ═══ */
.topbar{background:var(--primary-dark);color:rgba(255,255,255,.7);font-size:.76rem;padding:7px 0;letter-spacing:.2px}
.topbar a{color:rgba(255,255,255,.85)}.topbar a:hover{color:var(--accent)}
.topbar-inner{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem}
.topbar-left,.topbar-right{display:flex;gap:1.5rem;align-items:center}
.topbar-left i,.topbar-right i{color:var(--accent)}

/* ═══ HEADER ═══ */
.site-header{background:var(--white);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:1000;box-shadow:var(--shadow-sm);transition:box-shadow .3s}
.site-header.scrolled{box-shadow:0 4px 20px rgba(0,0,0,.1)}
.header-main{display:flex;align-items:center;justify-content:space-between;padding:.7rem 0;gap:1.2rem}

/* Logo only — no text */
.header-logo{display:flex;align-items:center;flex-shrink:0}
.header-logo img{height:48px;transition:var(--transition)}
.header-logo:hover img{transform:scale(1.03)}

.header-search{flex:1;max-width:520px;position:relative}
.header-search input{width:100%;border:2px solid var(--border);border-radius:var(--radius-pill);padding:.65rem 1.2rem .65rem 2.8rem;font-size:.88rem;font-family:var(--font);background:var(--bg);transition:var(--transition);outline:none}
.header-search input:focus{border-color:var(--primary);background:var(--white);box-shadow:var(--shadow-glow)}
.header-search .search-icon{position:absolute;left:1rem;top:50%;transform:translateY(-50%);color:var(--text-muted);font-size:1.05rem}

.search-results{position:absolute;top:calc(100% + 4px);left:0;right:0;background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow-lg);max-height:420px;overflow-y:auto;display:none;z-index:1001;border:1px solid var(--border)}
.search-results.active{display:block;animation:fadeInDown .2s ease}
.search-result-item{display:flex;align-items:center;gap:.8rem;padding:.65rem 1rem;border-bottom:1px solid var(--border);transition:var(--transition)}
.search-result-item:hover{background:var(--primary-light)}
.search-result-item img{width:46px;height:46px;object-fit:cover;border-radius:10px}
.sri-name{font-size:.84rem;font-weight:600}.sri-price{font-size:.78rem;color:var(--primary);font-weight:700}

.header-actions{display:flex;align-items:center;gap:.6rem;flex-shrink:0}
.header-btn{display:flex;align-items:center;gap:.4rem;padding:.5rem 1rem;border-radius:var(--radius-pill);font-size:.84rem;font-weight:600;border:2px solid var(--border);background:var(--white);color:var(--text);cursor:pointer;transition:var(--transition);position:relative}
.header-btn:hover{border-color:var(--primary);color:var(--primary);transform:translateY(-1px)}
.header-btn.cart-btn{background:var(--primary);color:#fff;border-color:var(--primary)}
.header-btn.cart-btn:hover{background:var(--primary-dark);border-color:var(--primary-dark);box-shadow:0 4px 14px rgba(26,26,69,.3)}
.cart-count{background:var(--accent);color:var(--primary-dark);font-size:.65rem;font-weight:800;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:absolute;top:-7px;right:-7px;animation:bounceIn .4s ease}

.category-nav{background:linear-gradient(135deg,var(--primary-dark),var(--primary));overflow:hidden}
.category-nav-inner{display:flex;align-items:center;overflow-x:auto;scrollbar-width:none}
.category-nav-inner::-webkit-scrollbar{display:none}
.cat-nav-link{color:rgba(255,255,255,.72);font-size:.8rem;font-weight:500;padding:.7rem 1.1rem;white-space:nowrap;transition:var(--transition);border-bottom:2px solid transparent;position:relative}
.cat-nav-link:hover,.cat-nav-link.active{color:#fff;background:rgba(255,255,255,.08);border-bottom-color:var(--accent)}

/* ═══ HERO SLIDER ═══ */
.hero-slider{position:relative;overflow:hidden;height:540px;background:var(--primary-dark)}
.hero-slide{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;visibility:hidden;transition:opacity 1.2s ease,visibility 0s linear 1.2s;display:flex;align-items:center}
.hero-slide.active{opacity:1;visibility:visible;z-index:2;transition:opacity 1.2s ease,visibility 0s linear 0s}
.hero-slide-bg{position:absolute;top:0;left:0;width:100%;height:100%;background-size:cover;background-position:center;filter:brightness(.3)}
.hero-slide-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(135deg,rgba(14,14,42,.9) 0%,rgba(26,26,69,.65) 50%,rgba(0,0,0,.25) 100%)}
.hero-content{position:relative;z-index:3;max-width:580px;padding:3rem 0;color:#fff}
.hero-badge{display:inline-flex;align-items:center;gap:.5rem;background:rgba(212,168,67,.15);backdrop-filter:blur(12px);padding:.4rem 1rem;border-radius:var(--radius-pill);font-size:.76rem;font-weight:600;margin-bottom:1.2rem;border:1px solid rgba(212,168,67,.25);color:var(--accent);animation:fadeInDown .8s ease}
.hero-content h1{font-family:var(--font-display);font-size:3rem;font-weight:700;line-height:1.12;margin-bottom:1rem;animation:fadeInUp .8s ease .2s both}
.hero-content h1 span{color:var(--accent)}
.hero-content p{font-size:1.05rem;opacity:.82;margin-bottom:1.8rem;line-height:1.7;animation:fadeInUp .8s ease .4s both}
.hero-actions{display:flex;gap:.7rem;flex-wrap:wrap;animation:fadeInUp .8s ease .6s both}
.hero-stats{display:flex;gap:2.5rem;margin-top:2.2rem;padding-top:1.3rem;border-top:1px solid rgba(255,255,255,.12);animation:fadeInUp .8s ease .8s both}
.hero-stat-value{font-size:1.6rem;font-weight:800;font-family:var(--font-display)}
.hero-stat-label{font-size:.72rem;opacity:.55;text-transform:uppercase;letter-spacing:.5px}
.hero-dots{position:absolute;bottom:1.5rem;left:50%;transform:translateX(-50%);z-index:10;display:flex;gap:.5rem}
.hero-dot{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.25);cursor:pointer;transition:var(--transition);border:none}
.hero-dot.active{background:var(--accent);width:28px;border-radius:5px}
.hero-progress{position:absolute;bottom:0;left:0;height:3px;background:var(--accent);z-index:10;animation:slideRight 6s linear infinite}

/* ═══ BUTTONS ═══ */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.68rem 1.6rem;border-radius:var(--radius-pill);font-size:.88rem;font-weight:700;font-family:var(--font);cursor:pointer;transition:var(--transition);border:2px solid transparent;text-decoration:none;line-height:1.4}
.btn-primary{background:var(--primary);color:#fff;border-color:var(--primary)}
.btn-primary:hover{background:var(--primary-dark);border-color:var(--primary-dark);color:#fff;box-shadow:0 6px 18px rgba(26,26,69,.3);transform:translateY(-2px)}
.btn-accent{background:var(--accent);color:var(--primary-dark);border-color:var(--accent);font-weight:800}
.btn-accent:hover{background:var(--accent-hover);border-color:var(--accent-hover);transform:translateY(-2px)}
.btn-outline{background:transparent;color:#fff;border-color:rgba(255,255,255,.35)}
.btn-outline:hover{background:rgba(255,255,255,.1);border-color:#fff;color:#fff}
.btn-outline-dark{background:transparent;color:var(--primary);border-color:var(--primary)}
.btn-outline-dark:hover{background:var(--primary);color:#fff}
.btn-sm{padding:.42rem .9rem;font-size:.8rem}
.btn-lg{padding:.85rem 2rem;font-size:.95rem}
.btn-whatsapp{background:#25d366;color:#fff;border-color:#25d366}
.btn-whatsapp:hover{background:#1da851;border-color:#1da851;color:#fff;transform:translateY(-2px)}
.btn-danger{background:var(--danger);color:#fff;border-color:var(--danger)}
.btn-danger:hover{background:#c82333;color:#fff}

/* ═══ SECTIONS ═══ */
.section{padding:3.5rem 0}
.section-header{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:2rem;gap:1rem}
.section-title{font-family:var(--font-display);font-size:1.9rem;font-weight:700;color:var(--dark);line-height:1.15}
.section-title::after{content:'';display:block;width:45px;height:3px;background:var(--accent);border-radius:2px;margin-top:.4rem}
.section-subtitle{color:var(--text-light);font-size:.86rem;margin-top:.3rem}
.section-link{font-size:.84rem;font-weight:700;white-space:nowrap;display:flex;align-items:center;gap:.3rem;background:var(--primary-light);padding:.42rem 1rem;border-radius:var(--radius-pill);color:var(--primary);transition:var(--transition)}
.section-link:hover{background:var(--primary);color:#fff;transform:translateX(3px)}

/* ═══ TRUST BAR ═══ */
.trust-bar{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.5rem 2rem;margin:-2rem auto 0;position:relative;z-index:5;max-width:1200px}
.trust-bar-inner{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem}
.trust-item{display:flex;align-items:center;gap:.8rem}
.trust-item-icon{width:48px;height:48px;border-radius:12px;background:var(--primary-light);display:flex;align-items:center;justify-content:center;font-size:1.2rem;color:var(--primary);flex-shrink:0;transition:var(--transition)}
.trust-item:hover .trust-item-icon{background:var(--primary);color:#fff;transform:rotate(-5deg) scale(1.08)}
.trust-item-text strong{font-size:.82rem;display:block;color:var(--dark)}
.trust-item-text span{font-size:.7rem;color:var(--text-light)}

/* ═══ CATEGORY CARDS ═══ */
.category-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:1rem}
.category-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:1.2rem .8rem;text-align:center;transition:var(--transition);cursor:pointer;color:var(--text);position:relative;overflow:hidden}
.category-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--accent);transform:scaleX(0);transform-origin:left;transition:transform .3s ease}
.category-card:hover{border-color:var(--primary);box-shadow:var(--shadow-md);transform:translateY(-4px);color:var(--primary)}
.category-card:hover::before{transform:scaleX(1)}
.category-card-icon{width:50px;height:50px;background:var(--primary-light);border-radius:12px;display:flex;align-items:center;justify-content:center;margin:0 auto .7rem;font-size:1.3rem;color:var(--primary);transition:var(--transition)}
.category-card:hover .category-card-icon{background:var(--primary);color:#fff;transform:scale(1.08)}
.category-card-name{font-weight:700;font-size:.82rem;margin-bottom:.2rem}
.category-card-count{font-size:.7rem;color:var(--text-muted)}

/* ═══ PRODUCT CARDS ═══ */
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1.2rem}
.product-card{background:var(--white);border-radius:var(--radius);border:1px solid var(--border);overflow:hidden;transition:var(--transition);display:flex;flex-direction:column}
.product-card:hover{box-shadow:var(--shadow-md);transform:translateY(-5px);border-color:var(--primary-mid)}
.product-card-img{width:100%;aspect-ratio:1;overflow:hidden;background:#f3f4f8;position:relative}
.product-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .45s cubic-bezier(.4,0,.2,1)}
.product-card:hover .product-card-img img{transform:scale(1.06)}
.product-card-actions{position:absolute;bottom:.6rem;left:.6rem;right:.6rem;display:flex;gap:.4rem;opacity:0;transform:translateY(8px);transition:all .3s ease}
.product-card:hover .product-card-actions{opacity:1;transform:translateY(0)}
.product-card-actions .btn{flex:1;font-size:.76rem;padding:.45rem .5rem;backdrop-filter:blur(10px);background:rgba(26,26,69,.9);color:#fff;border-color:transparent}
.product-card-body{padding:1rem;display:flex;flex-direction:column;flex:1}
.product-card-category{font-size:.66rem;color:var(--primary-mid);font-weight:700;text-transform:uppercase;letter-spacing:.7px;margin-bottom:.3rem}
.product-card-name{font-weight:600;font-size:.86rem;color:var(--dark);margin-bottom:.5rem;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex:1}
.product-card-name a{color:inherit}.product-card-name a:hover{color:var(--primary)}
.product-card-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:.5rem;border-top:1px solid var(--border)}
.product-card-price{font-size:1.02rem;font-weight:800;color:var(--primary-dark)}
.product-card-cart{width:36px;height:36px;border-radius:50%;background:var(--primary-light);color:var(--primary);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:var(--transition);font-size:1rem}
.product-card-cart:hover{background:var(--primary);color:#fff;transform:scale(1.12)}
.product-badge{position:absolute;top:.6rem;left:.6rem;background:var(--accent);color:var(--primary-dark);font-size:.66rem;font-weight:800;padding:.25rem .65rem;border-radius:var(--radius-pill);z-index:2}

/* ═══ MOST VIEWED ═══ */
.most-viewed-section{background:var(--white);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.most-viewed-scroll{display:flex;gap:1rem;overflow-x:auto;padding:1rem 0;scrollbar-width:none;scroll-behavior:smooth}
.most-viewed-scroll::-webkit-scrollbar{display:none}
.mv-item{flex-shrink:0;width:150px;text-align:center;transition:var(--transition);padding:.4rem}
.mv-item:hover{transform:translateY(-3px)}
.mv-item img{width:96px;height:96px;object-fit:cover;border-radius:10px;border:2px solid var(--border);transition:var(--transition);margin-bottom:.4rem}
.mv-item:hover img{border-color:var(--primary);box-shadow:var(--shadow-md)}
.mv-item-name{font-size:.72rem;font-weight:600;color:var(--dark);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.3}
.mv-item-price{font-size:.76rem;font-weight:700;color:var(--primary)}

/* ═══ PRODUCT DETAIL ═══ */
.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:3rem;padding:2rem 0}
.product-gallery{background:var(--white);border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--border)}
.product-gallery img{width:100%;aspect-ratio:1;object-fit:cover;transition:transform .4s}
.product-info h1{font-family:var(--font-display);font-size:1.9rem;font-weight:700;color:var(--dark);line-height:1.2;margin-bottom:.5rem}
.product-meta{display:flex;gap:.5rem;align-items:center;margin-bottom:1.3rem;flex-wrap:wrap}
.product-meta-tag{font-size:.73rem;padding:.28rem .7rem;border-radius:var(--radius-pill);font-weight:600}
.product-meta-tag.category{background:var(--primary-light);color:var(--primary)}.product-meta-tag.sku{background:#f0f0f0;color:var(--text-light)}.product-meta-tag.stock{background:var(--success-light);color:var(--success)}
.product-price-box{background:linear-gradient(135deg,var(--primary-light),#ddddf0);border-radius:var(--radius);padding:1.2rem 1.4rem;margin-bottom:1.3rem;border:1px solid rgba(26,26,69,.08)}
.product-price-box .price{font-size:2rem;font-weight:800;color:var(--primary-dark);font-family:var(--font-display)}
.product-description{color:var(--text-light);line-height:1.8;margin-bottom:1.3rem;font-size:.92rem}
.product-qty-row{display:flex;gap:.8rem;align-items:center;margin-bottom:1rem}
.qty-control{display:flex;align-items:center;border:2px solid var(--border);border-radius:var(--radius-pill);overflow:hidden;background:var(--white)}
.qty-control button{width:40px;height:40px;border:none;background:none;cursor:pointer;font-size:1.1rem;font-weight:800;color:var(--text);transition:var(--transition)}
.qty-control button:hover{background:var(--primary-light);color:var(--primary)}
.qty-control input{width:48px;text-align:center;border:none;font-size:.95rem;font-weight:700;font-family:var(--font);outline:none}
.product-guarantees{display:grid;grid-template-columns:repeat(3,1fr);gap:.7rem;margin-top:1.5rem;padding-top:1.2rem;border-top:1px solid var(--border)}
.guarantee-item{text-align:center;padding:.7rem;border-radius:var(--radius);transition:var(--transition)}
.guarantee-item:hover{background:var(--primary-light)}
.guarantee-item i{font-size:1.3rem;color:var(--primary);display:block;margin-bottom:.3rem}
.guarantee-item span{font-size:.72rem;color:var(--text-light);font-weight:600}

/* ═══ CART - PROPERLY FIXED ═══ */
.cart-layout{display:grid;grid-template-columns:1fr 380px;gap:1.5rem;align-items:start}
.cart-items-list{display:flex;flex-direction:column;gap:.7rem}
.cart-item-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:.9rem;display:flex;align-items:center;gap:.9rem;transition:var(--transition)}
.cart-item-card:hover{box-shadow:var(--shadow-sm);border-color:var(--primary-mid)}
.cart-item-card>a{flex-shrink:0;width:72px;height:72px;display:block;line-height:0;border-radius:10px;overflow:hidden}
.cart-item-card img{width:72px!important;height:72px!important;min-width:72px;max-width:72px;object-fit:cover;display:block;border-radius:10px}
.cart-item-details{flex:1;min-width:0}
.cart-item-details .name{font-weight:700;font-size:.86rem;color:var(--dark);margin-bottom:.15rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cart-item-details .name a{color:var(--dark)}.cart-item-details .name a:hover{color:var(--primary)}
.cart-item-details .cat{font-size:.7rem;color:var(--text-muted)}
.cart-item-price{font-weight:800;color:var(--primary-dark);font-size:.95rem;white-space:nowrap;text-align:right;min-width:90px}
.cart-item-qty{display:flex;align-items:center;border:1.5px solid var(--border);border-radius:var(--radius-pill);overflow:hidden;flex-shrink:0}
.cart-item-qty button{width:30px;height:30px;border:none;background:none;cursor:pointer;font-weight:800;font-size:.95rem;transition:var(--transition)}
.cart-item-qty button:hover{background:var(--primary-light);color:var(--primary)}
.cart-item-qty span{width:32px;text-align:center;font-weight:700;font-size:.84rem}
.cart-item-remove{width:32px;height:32px;border-radius:50%;border:none;background:#fef2f2;color:var(--danger);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:var(--transition);flex-shrink:0;font-size:.85rem}
.cart-item-remove:hover{background:var(--danger);color:#fff;transform:scale(1.08)}

.cart-summary{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:1.3rem;position:sticky;top:100px}
.cart-summary h3{font-weight:800;margin-bottom:.8rem;font-family:var(--font-display);font-size:1.15rem;color:var(--dark)}
.cart-summary-row{display:flex;justify-content:space-between;padding:.45rem 0;font-size:.88rem}
.cart-summary-row.total{font-size:1.2rem;font-weight:800;color:var(--primary-dark);border-top:2px solid var(--border);padding-top:.8rem;margin-top:.4rem}
.cart-actions{display:flex;flex-direction:column;gap:.5rem;margin-top:1rem}
.cart-actions .btn{width:100%;justify-content:center}

/* ═══ CHECKOUT ═══ */
.checkout-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:2rem;align-items:start}
.form-group{margin-bottom:.9rem}
.form-group label{display:block;font-size:.8rem;font-weight:700;margin-bottom:.35rem;color:var(--text)}
.form-group input,.form-group textarea,.form-group select{width:100%;padding:.65rem .9rem;border:2px solid var(--border);border-radius:var(--radius);font-size:.88rem;font-family:var(--font);transition:var(--transition);outline:none}
.form-group input:focus,.form-group textarea:focus,.form-group select:focus{border-color:var(--primary);box-shadow:var(--shadow-glow)}
.gateway-tabs{display:flex;gap:.5rem;margin-bottom:.8rem}
.gateway-tab{flex:1;padding:.6rem;border:2px solid var(--border);border-radius:var(--radius);text-align:center;cursor:pointer;transition:var(--transition);font-weight:600;font-size:.8rem;background:var(--white)}
.gateway-tab.active{border-color:var(--primary);background:var(--primary-light);color:var(--primary)}
.gateway-tab:hover{border-color:var(--primary)}

/* ═══ PAGINATION ═══ */
.pagination{display:flex;justify-content:center;gap:.3rem;margin-top:2rem}
.pagination a,.pagination span{display:flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 .6rem;border-radius:var(--radius);font-size:.84rem;font-weight:700;border:1.5px solid var(--border);background:var(--white);color:var(--text);transition:var(--transition)}
.pagination a:hover{border-color:var(--primary);color:var(--primary);transform:translateY(-2px)}
.pagination .active{background:var(--primary);color:#fff;border-color:var(--primary)}

/* ═══ FILTER SIDEBAR ═══ */
.shop-layout{display:grid;grid-template-columns:260px 1fr;gap:2rem}
.filter-sidebar{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:1.2rem;height:fit-content;position:sticky;top:100px}
.filter-section{margin-bottom:1.3rem}
.filter-section h4{font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.7px;margin-bottom:.5rem;color:var(--dark)}
.filter-cat-list{list-style:none;max-height:320px;overflow-y:auto;scrollbar-width:thin}
.filter-cat-list li a{display:flex;justify-content:space-between;padding:.35rem .5rem;font-size:.82rem;color:var(--text);border-radius:6px;transition:var(--transition)}
.filter-cat-list li a:hover,.filter-cat-list li a.active{background:var(--primary-light);color:var(--primary)}
.filter-cat-list li a .count{font-size:.68rem;background:var(--border);padding:.1rem .4rem;border-radius:10px;color:var(--text-light)}
.price-range-inputs{display:flex;gap:.4rem;align-items:center}
.price-range-inputs input{width:100%;padding:.4rem .5rem;border:1.5px solid var(--border);border-radius:6px;font-size:.8rem;font-family:var(--font);outline:none}
.price-range-inputs input:focus{border-color:var(--primary)}

/* ═══ BREADCRUMB ═══ */
.breadcrumb-bar{background:var(--white);border-bottom:1px solid var(--border);padding:.65rem 0}
.breadcrumb{display:flex;align-items:center;gap:.4rem;font-size:.8rem;list-style:none}
.breadcrumb li{display:flex;align-items:center;gap:.4rem}
.breadcrumb li+li::before{content:'›';color:var(--text-muted)}
.breadcrumb a{color:var(--text-light)}.breadcrumb .active{color:var(--primary);font-weight:700}

/* ═══ WELCOME POPUP ═══ */
.welcome-popup-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);backdrop-filter:blur(4px);z-index:9998;display:none;align-items:center;justify-content:center}
.welcome-popup-overlay.show{display:flex}
.welcome-popup{background:var(--white);border-radius:var(--radius-lg);width:90%;max-width:440px;overflow:hidden;position:relative;animation:scaleIn .4s cubic-bezier(.4,0,.2,1);box-shadow:var(--shadow-lg)}
.welcome-popup-close{position:absolute;top:.7rem;right:.7rem;width:32px;height:32px;border-radius:50%;border:none;background:rgba(0,0,0,.06);cursor:pointer;font-size:1rem;display:flex;align-items:center;justify-content:center;transition:var(--transition);z-index:2;color:var(--text)}
.welcome-popup-close:hover{background:var(--accent);color:var(--primary-dark)}
.welcome-popup-header{background:linear-gradient(135deg,var(--primary-dark),var(--primary));color:#fff;padding:1.8rem 1.8rem 1.3rem;text-align:center}
.welcome-popup-header h2{font-family:var(--font-display);font-size:1.5rem;margin-bottom:.2rem}
.welcome-popup-header p{opacity:.75;font-size:.84rem}
.welcome-popup-body{padding:1.3rem 1.8rem 1.8rem}
.welcome-cats{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}
.welcome-cat-pill{display:flex;align-items:center;gap:.5rem;padding:.55rem .7rem;border:1.5px solid var(--border);border-radius:var(--radius);transition:var(--transition);font-size:.8rem;font-weight:600;color:var(--text)}
.welcome-cat-pill:hover{border-color:var(--primary);background:var(--primary-light);color:var(--primary);transform:translateY(-2px)}
.welcome-cat-pill i{font-size:1rem;color:var(--primary)}

/* ═══ FOOTER ═══ */
.site-footer{background:var(--dark);color:rgba(255,255,255,.65);padding:3.5rem 0 1.3rem;margin-top:3rem}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:2.5rem;margin-bottom:2rem}
.footer-brand h3{font-family:var(--font-display);color:#fff;font-size:1.3rem;margin-bottom:.5rem}
.footer-brand p{font-size:.82rem;line-height:1.65}
.footer-col h4{color:#fff;font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:.8rem}
.footer-col ul{list-style:none}.footer-col ul li{margin-bottom:.4rem}
.footer-col ul li a{color:rgba(255,255,255,.5);font-size:.82rem;transition:var(--transition)}
.footer-col ul li a:hover{color:var(--accent);padding-left:3px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.07);padding-top:1.2rem;display:flex;justify-content:space-between;align-items:center;font-size:.74rem}
.footer-socials{display:flex;gap:.4rem}
.footer-socials a{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.07);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.55);transition:var(--transition)}
.footer-socials a:hover{background:var(--primary-mid);color:#fff;transform:translateY(-2px)}

/* ═══ TOAST ═══ */
.toast-notification{position:fixed;bottom:1.5rem;right:1.5rem;background:var(--primary);color:#fff;padding:.9rem 1.3rem;border-radius:var(--radius);font-size:.86rem;font-weight:600;box-shadow:var(--shadow-lg);z-index:9999;display:flex;align-items:center;gap:.5rem;transform:translateY(120%);transition:transform .4s cubic-bezier(.4,0,.2,1)}
.toast-notification.show{transform:translateY(0)}
.toast-notification.error{background:var(--danger)}

/* ═══ WHATSAPP ═══ */
.wa-float{position:fixed;bottom:1.5rem;left:1.5rem;width:54px;height:54px;background:#25d366;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.6rem;box-shadow:0 4px 16px rgba(37,211,102,.3);z-index:999;transition:var(--transition);animation:float 3s ease-in-out infinite}
.wa-float:hover{transform:scale(1.12);color:#fff}

/* ═══ UTILITY ═══ */
.empty-state{text-align:center;padding:3.5rem 2rem}
.empty-state i{font-size:3rem;color:var(--text-muted);margin-bottom:.8rem;display:block}
.empty-state h3{color:var(--dark);margin-bottom:.4rem;font-size:1.2rem}
.empty-state p{color:var(--text-light);margin-bottom:1.3rem}
.spinner{width:22px;height:22px;border:3px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:spin .6s linear infinite;display:inline-block}

/* ═══ RESPONSIVE ═══ */
@media(max-width:1024px){
  .hero-slider{height:460px}.hero-content h1{font-size:2.3rem}
  .footer-grid{grid-template-columns:1fr 1fr}.product-detail{grid-template-columns:1fr}
  .checkout-grid{grid-template-columns:1fr}
  .trust-bar-inner{grid-template-columns:repeat(2,1fr)}
  .cart-layout{grid-template-columns:1fr}
}
@media(max-width:768px){
  .shop-layout{grid-template-columns:1fr}.filter-sidebar{position:static}
  .topbar{display:none}
  .header-search{order:3;flex-basis:100%;max-width:100%;display:flex}
  .hero-slider{height:380px}.hero-content h1{font-size:1.8rem}.hero-content{padding:2rem 0}
  .hero-stats{flex-wrap:wrap;gap:1rem}
  .trust-bar{margin:-1rem 15px 0;padding:.8rem 1rem}.trust-bar-inner{grid-template-columns:1fr 1fr;gap:.8rem}
  .product-grid{grid-template-columns:repeat(2,1fr);gap:.7rem}
  .category-grid{grid-template-columns:repeat(3,1fr);gap:.6rem}
  .footer-grid{grid-template-columns:1fr}.section{padding:2.2rem 0}
  .product-guarantees{grid-template-columns:1fr}
  .cart-item-card{flex-wrap:wrap;gap:.6rem}
  .cart-item-price{min-width:auto;text-align:left;width:100%;padding-top:.3rem;border-top:1px dashed var(--border)}
}
@media(max-width:480px){
  .product-grid{grid-template-columns:repeat(2,1fr);gap:.5rem}
  .product-card-body{padding:.7rem}.product-card-name{font-size:.76rem}
  .category-grid{grid-template-columns:repeat(2,1fr)}
  .hero-slider{height:340px}.hero-content h1{font-size:1.45rem}.hero-stats{gap:.8rem}
  .header-main{flex-wrap:wrap}
  .welcome-cats{grid-template-columns:1fr}
}
