/* ═══════════════════════════════════════════════════
   ALFAZRI STORE — PROFESSIONAL REDESIGN v2.0
   Clean · Modern · International
═══════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Sans+Bengali:wght@300;400;500;600;700;800&display=swap');

/* ─── ROOT VARIABLES ─── */
:root {
    --primary:       #6c2ea9;
    --primary-light: #8b3fb5;
    --primary-bg:    #f5f0ff;
    --secondary:     #059669;
    --accent:        #f59e0b;
    --danger:        #ef4444;
    --success:       #22c55e;
    --orange:        #f97316;
    --text:          #111827;
    --text-light:    #6b7280;
    --text-muted:    #9ca3af;
    --bg:            #f9fafb;
    --white:         #ffffff;
    --border:        #e5e7eb;
    --border-light:  #f3f4f6;
    --shadow-sm:     0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow:        0 4px 16px rgba(0,0,0,.08);
    --shadow-md:     0 8px 28px rgba(0,0,0,.1);
    --shadow-lg:     0 20px 48px rgba(0,0,0,.14);
    --radius:        12px;
    --radius-sm:     8px;
    --radius-lg:     18px;
    --radius-xl:     24px;
    --transition:    all 0.22s ease;
}

/* ─── RESET ─── */
* { margin:0; padding:0; box-sizing:border-box; }
html { overflow-x:hidden; max-width:100%; scroll-behavior:smooth; }
body { font-family:'Inter','Noto Sans Bengali',sans-serif; background:var(--bg); color:var(--text); line-height:1.6; min-height:100vh; overflow-x:hidden; max-width:100vw; }
a { text-decoration:none; color:inherit; }
img { max-width:100%; height:auto; display:block; }
button { font-family:inherit; }

/* ─── ANIMATIONS ─── */
@keyframes slideIn  { from { transform:translateX(100%); opacity:0; } to { transform:translateX(0); opacity:1; } }
@keyframes fadeUp   { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes marqueeScroll { 0% { transform:translateX(0); } 100% { transform:translateX(-50%); } }
@keyframes badgePop { from { transform:scale(.5); opacity:0; } to { transform:scale(1); opacity:1; } }
@keyframes cartItemIn { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulse-badge { 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.08); } }
@keyframes qvFadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes qvSlideUp { from { opacity:0; transform:translateY(28px) scale(.97); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes cwPulse { 0%,100% { transform:scale(1); } 50% { transform:scale(1.03); } }
@keyframes storeShieldIn { from { opacity:0; transform:scale(.88) translateY(28px); } to { opacity:1; transform:scale(1) translateY(0); } }

.animate-on-scroll { opacity:0; transform:translateY(18px); transition:opacity .55s ease, transform .55s ease; }
.animate-on-scroll.visible { opacity:1; transform:translateY(0); }

/* ─── TOAST ─── */
.toast-notification { position:fixed; top:20px; right:20px; padding:13px 20px; border-radius:var(--radius-sm); color:#fff; z-index:9999; display:flex; align-items:center; gap:10px; font-size:14px; font-weight:600; animation:slideIn .35s ease; box-shadow:var(--shadow-md); }
.toast-notification.success { background:#16a34a; }
.toast-notification.error   { background:var(--danger); }
.toast-notification button  { background:none; border:none; color:#fff; cursor:pointer; font-size:16px; padding:0 0 0 8px; opacity:.8; }

/* ══════════════════════════════════
   ANNOUNCEMENT BAR
══════════════════════════════════ */
.offer-bar {
    height:38px; display:flex; align-items:center;
    border-bottom:1px solid rgba(255,255,255,.1);
    position:relative; z-index:99; overflow:hidden;
}
.offer-bar-inner {
    display:flex; align-items:center; width:100%;
    position:relative; overflow:hidden;
}
.offer-marquee { flex:1; overflow:hidden; }
.offer-marquee-track {
    display:flex; gap:60px; width:max-content;
    animation:marqueeScroll 35s linear infinite;
}
.offer-marquee-track span {
    font-size:12px; font-weight:600; color:rgba(255,255,255,.9);
    white-space:nowrap; letter-spacing:.3px;
}
.offer-bar-close {
    flex-shrink:0; background:none; border:none; cursor:pointer;
    color:rgba(255,255,255,.6); font-size:12px; padding:0 14px;
    transition:color .2s;
}
.offer-bar-close:hover { color:#fff; }

/* ══════════════════════════════════
   MAIN HEADER
══════════════════════════════════ */
.main-header {
    background:var(--white);
    border-bottom:1px solid var(--border);
    position:sticky; top:0; z-index:100;
    transition:box-shadow .25s;
}
.main-header.scrolled { box-shadow:0 2px 20px rgba(0,0,0,.08); }

.main-header-inner {
    display:flex; align-items:center; gap:16px;
    padding:0 28px; height:68px;
    max-width:1400px; margin:0 auto;
}

/* Logo */
.store-logo { text-decoration:none; flex-shrink:0; display:flex; align-items:center; }
.logo-img   { height:40px; width:auto; object-fit:contain; max-width:160px; }
.logo-text  { display:flex; flex-direction:column; line-height:1.15; }
.logo-main  {
    font-size:22px; font-weight:900; letter-spacing:-.4px; white-space:nowrap;
    background:linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.logo-sub {
    font-size:9px; font-weight:700; letter-spacing:2.5px;
    text-transform:uppercase; color:var(--text-muted); margin-top:1px;
}

/* Search */
.header-search-form { flex:1; min-width:0; max-width:600px; position:relative; }
.header-search-wrap {
    display:flex; align-items:center;
    border:1.5px solid #e5e7eb; border-radius:10px;
    overflow:hidden; background:#f8f9fb;
    transition:border-color .2s, box-shadow .2s, background .2s;
}
.header-search-wrap:focus-within {
    border-color:var(--primary); background:#fff;
    box-shadow:0 0 0 3px rgba(108,46,169,.1);
}
.header-search-input {
    flex:1; border:none; background:transparent;
    padding:12px 16px; font-size:14px; color:var(--text);
    outline:none; font-family:inherit; min-width:0;
}
.header-search-input::placeholder { color:var(--text-muted); font-weight:400; }
.header-search-btn {
    width:48px; height:46px; border:none; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    font-size:15px; color:#fff; flex-shrink:0;
    background:linear-gradient(135deg, var(--primary), var(--primary-light));
    transition:filter .2s;
}
.header-search-btn:hover { filter:brightness(1.1); }

/* Offer Button */
.header-offer-btn {
    display:inline-flex; align-items:center; gap:7px;
    background:linear-gradient(135deg, var(--cta,#16a34a), var(--cta-dark,#15803d));
    color:#fff; padding:10px 20px; border-radius:var(--radius-sm);
    font-size:13px; font-weight:700; white-space:nowrap; flex-shrink:0;
    transition:filter .2s, transform .2s;
    box-shadow:0 3px 10px rgba(0,0,0,.15);
}
.header-offer-btn:hover { filter:brightness(1.08); transform:translateY(-1px); }

/* Right Icons */
.header-actions { display:flex; align-items:center; gap:2px; flex-shrink:0; }
.header-icon-btn {
    display:flex; flex-direction:column; align-items:center; gap:2px;
    padding:8px 11px; border-radius:var(--radius-sm); border:none;
    background:none; cursor:pointer; text-decoration:none;
    color:var(--text-light); transition:background .15s, color .15s;
    position:relative;
}
.header-icon-btn i { font-size:20px; line-height:1; }
.header-icon-btn .icon-label {
    font-size:9px; font-weight:700; letter-spacing:.6px;
    text-transform:uppercase; color:var(--text-muted); white-space:nowrap;
}
.header-icon-btn:hover { background:var(--primary-bg); color:var(--primary); }
.header-icon-btn:hover .icon-label { color:var(--primary); }
.header-icon-btn .cart-badge {
    position:absolute; top:4px; right:5px;
    background:var(--danger); color:#fff;
    width:17px; height:17px; border-radius:50%;
    font-size:9px; font-weight:800;
    display:flex; align-items:center; justify-content:center;
    border:2px solid #fff;
}
.header-profile-btn i { color:var(--primary); }
.header-profile-wrap { position:relative; }

/* Mobile header elements */
.mobile-menu-btn { display:none; background:none; border:none; font-size:22px; color:var(--text); cursor:pointer; padding:8px; border-radius:var(--radius-sm); }
.mobile-cart-btn { display:none; position:relative; font-size:22px; color:var(--text); padding:8px; background:none; border:none; cursor:pointer; }
.mobile-search-bar {
    display:none; padding:8px 14px 10px; background:var(--white);
    border-bottom:1px solid var(--border); gap:8px; align-items:center;
}
.mobile-search-bar form {
    flex:1; display:flex; border:1.5px solid var(--border);
    border-radius:var(--radius-sm); overflow:hidden; background:var(--bg);
    transition:border-color .2s;
}
.mobile-search-bar form:focus-within { border-color:var(--primary); }
.mobile-search-bar input {
    flex:1; padding:10px 14px; border:none; outline:none;
    font-size:14px; background:transparent; font-family:inherit; color:var(--text);
}
.mobile-search-bar input::placeholder { color:var(--text-muted); }
.mobile-search-bar button {
    padding:10px 14px; border:none; color:#fff; cursor:pointer;
    background:linear-gradient(135deg, var(--primary), var(--primary-light));
}
.mobile-offer-btn { display:none; }

/* ── Snake / Wiggle animation for Order button ── */
@keyframes snakeWiggle {
    0%,100% { transform:translateX(0) rotate(0deg); }
    10%      { transform:translateX(-3px) rotate(-.8deg); }
    20%      { transform:translateX(3px) rotate(.8deg); }
    30%      { transform:translateX(-3px) rotate(-.6deg); }
    40%      { transform:translateX(3px) rotate(.6deg); }
    50%      { transform:translateX(-2px) rotate(-.4deg); }
    60%      { transform:translateX(2px) rotate(.4deg); }
    70%      { transform:translateX(-1px) rotate(-.2deg); }
    80%      { transform:translateX(1px) rotate(.2deg); }
    90%      { transform:translateX(0) rotate(0deg); }
}
@keyframes snakePulse {
    0%,100% { box-shadow:0 4px 18px rgba(5,150,105,.35); }
    50%      { box-shadow:0 6px 28px rgba(5,150,105,.6); }
}
.action-buy-snake {
    animation:snakeWiggle 2.8s ease-in-out infinite, snakePulse 2.8s ease-in-out infinite;
    position:relative; overflow:hidden;
}
.action-buy-snake::after {
    content:'';
    position:absolute; top:0; left:-100%;
    width:60%; height:100%;
    background:linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
    animation:snakeShine 2.8s ease-in-out infinite;
}
@keyframes snakeShine {
    0%     { left:-100%; }
    40%,100%{ left:150%; }
}
.action-buy-snake:hover {
    animation:none;
    filter:brightness(1.12);
    transform:translateY(-2px);
    box-shadow:0 8px 24px rgba(5,150,105,.45);
}
.header-container { max-width:1280px; margin:0 auto; padding:0 20px; display:flex; align-items:center; height:60px; gap:20px; }
.logo { font-size:22px; font-weight:800; color:var(--primary); white-space:nowrap; }
.search-bar { flex:1; max-width:500px; }
.search-bar form { display:flex; border:1.5px solid var(--border); border-radius:50px; overflow:hidden; background:var(--bg); }
.search-bar form:focus-within { border-color:var(--primary); }
.search-bar input { flex:1; padding:10px 18px; border:none; outline:none; font-size:14px; background:transparent; color:var(--text); font-family:inherit; }
.search-bar button { padding:10px 16px; background:var(--primary); border:none; color:#fff; cursor:pointer; font-size:14px; }
.header-nav { display:flex; align-items:center; gap:4px; }
.nav-link { display:flex; align-items:center; gap:6px; padding:8px 14px; border-radius:var(--radius-sm); color:var(--text-light); font-size:13px; font-weight:500; transition:var(--transition); background:none; border:none; cursor:pointer; }
.nav-link:hover { color:var(--primary); background:var(--primary-bg); }
.cart-link { position:relative; }
.cart-badge { position:absolute; top:0; right:0; background:var(--danger); color:#fff; width:18px; height:18px; border-radius:50%; font-size:10px; font-weight:700; display:flex; align-items:center; justify-content:center; }
.navbar-offer-btn { display:none; }

/* ── Bottom Nav (mobile) ── */
.mobile-bottom-nav {
    display:none; position:fixed; bottom:0; left:0; right:0;
    background:#fff; border-top:1px solid #ebebeb;
    z-index:100; height:60px;
    padding-bottom:env(safe-area-inset-bottom,0px);
    align-items:stretch; justify-content:space-around;
    box-shadow:0 -2px 16px rgba(0,0,0,.06);
}
.bottom-nav-item {
    display:flex; flex-direction:column; align-items:center;
    justify-content:center; gap:3px;
    flex:1; padding:6px 4px;
    font-size:10px; font-weight:600; color:#9ca3af;
    text-decoration:none; transition:color .18s;
    position:relative;
}
.bottom-nav-item i { font-size:21px; line-height:1; transition:transform .18s, color .18s; }
.bottom-nav-item span { font-size:10px; font-weight:600; white-space:nowrap; }
.bottom-nav-item:hover { color:var(--brand); }
.bottom-nav-item:hover i { transform:translateY(-1px); }
.bottom-nav-item.active { color:var(--brand); }
.bottom-nav-item.active i { color:var(--brand); }
.bottom-nav-item.active::after {
    content:''; position:absolute; top:0; left:20%; right:20%;
    height:2.5px; background:var(--brand); border-radius:0 0 3px 3px;
}
.bottom-nav-home { display:none; }
.nav-icon-wrap { position:relative; display:inline-flex; }
.nav-badge {
    position:absolute; top:-6px; right:-8px;
    background:#f59e0b; color:#fff;
    font-size:9px; font-weight:800;
    min-width:16px; height:16px; border-radius:99px;
    display:flex; align-items:center; justify-content:center;
    padding:0 3px; border:1.5px solid #fff;
}

/* ══════════════════════════════════
   NAVIGATION BAR
══════════════════════════════════ */
.store-navbar {
    border-bottom:1px solid rgba(255,255,255,.08);
    position:sticky; top:68px; z-index:99;
    box-shadow:0 2px 12px rgba(0,0,0,.12);
}
.navbar-inner {
    display:flex; align-items:center; justify-content:space-between;
    padding:0 28px; max-width:1400px; margin:0 auto; height:46px;
}
.navbar-links { display:flex; align-items:center; height:100%; overflow-x:auto; gap:2px; }
.navbar-links::-webkit-scrollbar { display:none; }
.navbar-link {
    display:flex; align-items:center; height:100%; padding:0 16px;
    font-size:13px; font-weight:600; color:rgba(255,255,255,.8);
    white-space:nowrap; border-bottom:2px solid transparent;
    transition:color .2s, border-color .2s, background .2s;
    text-decoration:none; letter-spacing:.2px;
}
.navbar-link:hover { color:#fff; background:rgba(255,255,255,.1); }
.navbar-link.active { color:#fff; border-bottom-color:rgba(255,255,255,.6); }
.navbar-extra { flex-shrink:0; }
.navbar-logout-btn {
    background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.2);
    color:rgba(255,255,255,.85); padding:6px 14px; border-radius:var(--radius-sm);
    font-size:12px; cursor:pointer; font-family:inherit; transition:background .2s;
}
.navbar-logout-btn:hover { background:rgba(255,255,255,.22); color:#fff; }
.navbar-tag { display:none; }

/* ══════════════════════════════════
   TRUST MARQUEE
══════════════════════════════════ */
.trust-marquee {
    background:var(--white); border-bottom:1px solid var(--border);
    padding:10px 0; overflow:hidden; position:relative; z-index:1;
}
.trust-marquee-inner { display:flex; gap:48px; animation:marqueeScroll 32s linear infinite; width:max-content; }
.trust-item { display:flex; align-items:center; gap:8px; font-size:12px; font-weight:600; color:var(--text-light); white-space:nowrap; }
.trust-item i { color:var(--primary); font-size:13px; }

/* ══════════════════════════════════
   BANNER / HERO
══════════════════════════════════ */
.banner-section { position:relative; z-index:1; overflow:hidden; }
.banner-slider { display:flex; transition:transform .5s ease; position:relative; height:100%; min-height:320px; }
.banner-slide { min-width:100%; position:relative; height:100%; }
.banner-slide img { width:100%; height:100%; max-height:460px; object-fit:cover; display:block; }
.banner-slide .banner-overlay { position:absolute; bottom:0; left:0; right:0; padding:30px 40px; background:linear-gradient(transparent,rgba(0,0,0,.55)); color:#fff; }
.banner-slide .banner-overlay h2 { font-size:26px; font-weight:800; margin-bottom:6px; }
.banner-slide .banner-overlay p  { font-size:15px; opacity:.9; }
.banner-nav-btn {
    position:absolute; top:50%; transform:translateY(-50%);
    background:rgba(255,255,255,.92); backdrop-filter:blur(8px);
    border:1px solid rgba(0,0,0,.06); width:42px; height:42px;
    border-radius:50%; cursor:pointer; font-size:14px; color:var(--text);
    box-shadow:var(--shadow); z-index:5; transition:var(--transition);
    display:flex; align-items:center; justify-content:center;
}
.banner-nav-btn:hover { background:var(--primary); color:#fff; border-color:var(--primary); }
.banner-nav-btn.prev { left:14px; }
.banner-nav-btn.next { right:14px; }
.banner-dots { position:absolute; bottom:14px; left:50%; transform:translateX(-50%); display:flex; gap:7px; z-index:5; }
.banner-dot { width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,.5); cursor:pointer; transition:var(--transition); border:none; }
.banner-dot.active { background:#fff; width:24px; border-radius:6px; }
.demo-banner-inner { min-height:100%; height:100%; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; padding:50px 30px; position:relative; overflow:hidden; color:#fff; }
.demo-banner-inner h1 { font-size:34px; font-weight:900; margin-bottom:12px; line-height:1.2; }
.demo-banner-inner p  { font-size:15px; opacity:.9; max-width:480px; margin-bottom:24px; }

/* Hero Split */
.hero-split-wrap { display:grid; grid-template-columns:1fr 300px; gap:12px; padding:12px; max-width:1400px; margin:0 auto; }
.hero-split-full { display:block !important; max-width:1100px; margin:0 auto; padding:12px; }
.hero-split-full .hero-slider-col { width:100%; max-width:100%; }
.hero-slider-col { position:relative; border-radius:var(--radius-lg); overflow:hidden; min-height:380px; background:var(--border); }
.hero-slider-col .banner-slider { min-height:380px; height:380px; }
.hero-slider-col .banner-slide { height:380px; }
.hero-slider-col .banner-slide img { width:100%; height:380px; max-height:380px; object-fit:cover; }
.hero-slider-col .demo-banner-inner { min-height:380px; height:380px; }
.hero-offers-col { display:flex; flex-direction:column; gap:12px; }
.hero-offer-card {
    flex:1; border-radius:var(--radius); overflow:hidden; display:block;
    position:relative; background:var(--border); min-height:178px;
    text-decoration:none; transition:transform .28s ease, box-shadow .28s ease;
}
.hero-offer-card:hover { transform:scale(1.018); box-shadow:var(--shadow-md); }
.hero-offer-card img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s ease; }
.hero-offer-card:hover img { transform:scale(1.06); }
.hero-offer-label { position:absolute; bottom:0; left:0; right:0; padding:10px 14px; background:linear-gradient(transparent,rgba(0,0,0,.6)); color:#fff; font-size:13px; font-weight:700; }
.hero-offer-demo { cursor:pointer; }

/* ══════════════════════════════════
   SECTIONS
══════════════════════════════════ */
.main-content { background:var(--bg); }
.section { max-width:1280px; margin:0 auto; padding:36px 20px; position:relative; z-index:1; }
.section-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; flex-wrap:wrap; gap:10px; }
.section-title {
    font-size:20px; font-weight:800; color:var(--text);
    display:flex; align-items:center; gap:10px;
    position:relative; padding-left:14px;
}
.section-title::before {
    content:''; position:absolute; left:0; top:50%;
    transform:translateY(-50%); width:4px; height:22px;
    background:linear-gradient(180deg, var(--primary), var(--primary-light));
    border-radius:3px;
}
.view-all-link {
    font-size:12px; font-weight:700; color:var(--primary);
    padding:8px 18px; border:1.5px solid var(--primary);
    border-radius:var(--radius-sm); transition:var(--transition);
    letter-spacing:.3px; text-transform:uppercase;
    display:flex; align-items:center; gap:6px;
}
.view-all-link:hover { background:var(--primary); color:#fff; }

/* ══════════════════════════════════
   CATEGORY CARDS
══════════════════════════════════ */
.category-grid { display:flex; gap:14px; overflow-x:auto; padding-bottom:6px; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; }
.category-grid::-webkit-scrollbar { height:0; }
.category-card {
    text-align:center; padding:18px 14px; background:var(--white);
    border-radius:var(--radius); border:1.5px solid var(--border);
    min-width:130px; scroll-snap-align:start; transition:var(--transition);
    cursor:pointer; text-decoration:none;
}
.category-card:hover { border-color:var(--primary); box-shadow:var(--shadow); transform:translateY(-3px); }
.category-card img, .category-card .category-icon { width:52px; height:52px; object-fit:contain; margin:0 auto 10px; display:block; border-radius:var(--radius-sm); }
.category-card h4 { font-size:13px; font-weight:600; color:var(--text); margin-bottom:3px; }
.category-card .product-count { font-size:11px; color:var(--text-muted); }

/* ══════════════════════════════════
   PRODUCT GRID & CARDS
══════════════════════════════════ */
.product-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }

.product-card {
    background:var(--white); border-radius:var(--radius);
    border:1.5px solid var(--border); overflow:hidden;
    transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    position:relative; display:flex; flex-direction:column;
}
.product-card:hover {
    transform:translateY(-5px);
    box-shadow:0 12px 36px rgba(0,0,0,.12);
    border-color:rgba(108,46,169,.25);
}

/* Image */
.card-image {
    aspect-ratio:1; overflow:hidden; background:var(--bg);
    position:relative; margin:8px; border-radius:var(--radius-sm);
}
.card-image img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; border-radius:var(--radius-sm); }
.product-card:hover .card-image img { transform:scale(1.07); }
.product-card:hover .card-image::after {
    content:''; position:absolute; inset:0;
    background:linear-gradient(to top,rgba(0,0,0,.3) 0%,transparent 50%);
    border-radius:var(--radius-sm); pointer-events:none;
}

/* Badges */
.sale-badge {
    position:absolute; top:8px; left:8px; z-index:2;
    background:var(--danger); color:#fff;
    padding:3px 10px; border-radius:6px;
    font-size:11px; font-weight:800; line-height:1;
    animation:badgePop .35s ease; letter-spacing:.3px;
}
.featured-badge {
    position:absolute; top:8px; right:8px; z-index:2;
    background:var(--accent); color:#fff;
    padding:4px 10px; border-radius:6px;
    font-size:11px; font-weight:700; letter-spacing:.2px;
    display:flex; align-items:center; gap:4px;
}

/* Quick View */
.qv-btn {
    position:absolute; top:50%; left:50%;
    transform:translate(-50%,-38%);
    background:rgba(255,255,255,.95); backdrop-filter:blur(10px);
    color:var(--primary); border:1.5px solid rgba(108,46,169,.25);
    border-radius:var(--radius-sm); padding:9px 20px;
    font-size:12px; font-weight:700; cursor:pointer;
    display:flex; align-items:center; gap:7px; white-space:nowrap;
    z-index:8; opacity:0; pointer-events:none;
    transition:all .28s cubic-bezier(.34,1.56,.64,1); font-family:inherit;
    letter-spacing:.4px; text-transform:uppercase;
    box-shadow:0 6px 24px rgba(0,0,0,.2);
}
.qv-btn i { font-size:11px; }
.product-card:hover .qv-btn { opacity:1; pointer-events:auto; transform:translate(-50%,-50%); }
.qv-btn:hover { background:var(--primary); color:#fff; border-color:var(--primary); transform:translate(-50%,-50%) scale(1.05); }

/* Wishlist */
.wishlist-heart-btn {
    position:absolute; top:10px; right:10px; z-index:10;
    width:34px; height:34px; border-radius:50%; border:none;
    background:rgba(255,255,255,.9); backdrop-filter:blur(4px);
    display:flex; align-items:center; justify-content:center;
    cursor:pointer; box-shadow:0 2px 8px rgba(0,0,0,.12);
    transition:all .2s;
}
.wishlist-heart-btn:hover { background:#fff; transform:scale(1.1); }
.wishlist-heart-btn .fa-heart { font-size:15px; color:#9ca3af; transition:color .2s; }
.wishlist-heart-btn.wishlisted .fa-heart { color:var(--danger); }

/* Card Body */
.card-body { padding:12px 14px 14px; display:flex; flex-direction:column; flex:1; }
.card-category { font-size:11px; color:var(--text-muted); font-weight:500; margin-bottom:3px; text-transform:uppercase; letter-spacing:.4px; }
.card-title {
    font-size:14px; font-weight:600; color:var(--text); margin-bottom:8px;
    display:-webkit-box; -webkit-line-clamp:2; line-clamp:2;
    -webkit-box-orient:vertical; overflow:hidden; min-height:40px; line-height:1.45;
}
.card-price { display:flex; align-items:baseline; gap:8px; margin-bottom:12px; }
.price-current  { font-size:18px; font-weight:800; color:var(--primary); }
.price-original { font-size:12px; color:var(--text-muted); text-decoration:line-through; }

/* Card Buttons */
.card-actions-two { display:flex; gap:7px; flex-wrap:wrap; margin-top:auto; padding-top:8px; }
.btn-card {
    flex:1 1 auto; min-width:max-content; padding:9px 8px;
    border:none; border-radius:var(--radius-sm);
    font-size:12px; font-weight:700; cursor:pointer;
    transition:all .22s ease; font-family:inherit;
    display:flex; align-items:center; justify-content:center; gap:5px;
    color:#fff; letter-spacing:.2px;
}
.btn-card i { flex-shrink:0; font-size:11px; }
.btn-card span { white-space:nowrap; }
.btn-card-cart        { background:var(--primary); }
.btn-card-cart[style] { background:unset; }
.btn-card-cart:hover  { filter:brightness(1.12); transform:translateY(-1px); }
.btn-card-buy         { background:var(--secondary); }
.btn-card-buy[style]  { background:unset; }
.btn-card-buy:hover   { filter:brightness(1.12); transform:translateY(-1px); }

/* Category Card Icons */
.category-card h3 { font-size:13px; font-weight:600; color:var(--text); margin-bottom:2px; }
.cat-icon { width:52px; height:52px; display:flex; align-items:center; justify-content:center; border-radius:var(--radius-sm); margin:0 auto 10px; font-size:20px; color:#fff; }
.cat-icon.c1 { background:linear-gradient(135deg,#6366f1,#818cf8); }
.cat-icon.c2 { background:linear-gradient(135deg,#10b981,#34d399); }
.cat-icon.c3 { background:linear-gradient(135deg,#f59e0b,#fbbf24); }
.cat-icon.c4 { background:linear-gradient(135deg,#ef4444,#f87171); }
.cat-icon.c5 { background:linear-gradient(135deg,#8b5cf6,#a78bfa); }
.cat-icon.c6 { background:linear-gradient(135deg,#06b6d4,#22d3ee); }
.cat-count  { font-size:11px; color:var(--text-muted); }

/* ══════════════════════════════════
   QUICK VIEW MODAL
══════════════════════════════════ */
#qvModal {
    display:none; position:fixed; inset:0; z-index:9999;
    background:rgba(6,6,20,.75); backdrop-filter:blur(14px);
    align-items:center; justify-content:center; padding:20px;
}
#qvModal.open { display:flex; animation:qvFadeIn .22s ease; }
.qv-dialog {
    background:#fff; border-radius:24px; width:100%; max-width:860px; max-height:90vh;
    display:grid; grid-template-columns:1.1fr .9fr; overflow:hidden;
    box-shadow:0 40px 100px rgba(0,0,0,.4); animation:qvSlideUp .3s cubic-bezier(.34,1.26,.64,1);
    position:relative;
}
.qv-close {
    position:absolute; top:14px; right:16px; z-index:20;
    width:34px; height:34px; border-radius:50%;
    background:rgba(255,255,255,.92); backdrop-filter:blur(8px);
    border:1px solid rgba(0,0,0,.08); cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    font-size:13px; color:#64748b; transition:all .2s;
    box-shadow:0 3px 10px rgba(0,0,0,.1);
}
.qv-close:hover { background:var(--danger); color:#fff; border-color:var(--danger); transform:rotate(90deg) scale(1.1); }
.qv-img-col {
    position:relative; background:var(--bg); display:flex;
    align-items:center; justify-content:center; overflow:hidden;
    min-height:380px; cursor:zoom-in;
}
.qv-img-col::before { content:''; position:absolute; inset:0; background:linear-gradient(to bottom,transparent 55%,rgba(0,0,0,.45) 100%); z-index:1; pointer-events:none; }
.qv-img-col img#qvMainImg { width:100%; height:100%; object-fit:cover; transition:transform .45s cubic-bezier(.25,.46,.45,.94); }
.qv-img-col:hover img#qvMainImg { transform:scale(1.05); }
.qv-zoom-hint { position:absolute; bottom:62px; right:14px; z-index:6; background:rgba(0,0,0,.5); backdrop-filter:blur(6px); color:rgba(255,255,255,.85); font-size:10px; padding:4px 10px; border-radius:20px; display:flex; align-items:center; gap:5px; pointer-events:none; border:1px solid rgba(255,255,255,.15); }
.qv-thumbs { position:absolute; bottom:12px; left:50%; transform:translateX(-50%); display:flex; gap:7px; z-index:6; padding:5px 9px; background:rgba(0,0,0,.4); backdrop-filter:blur(10px); border-radius:14px; border:1px solid rgba(255,255,255,.1); }
.qv-thumb { width:44px; height:44px; border-radius:9px; overflow:hidden; border:2px solid rgba(255,255,255,.3); cursor:pointer; transition:all .2s; flex-shrink:0; background:#fff; }
.qv-thumb:hover  { border-color:rgba(255,255,255,.8); transform:translateY(-2px); }
.qv-thumb.active { border-color:var(--primary); box-shadow:0 0 0 2px var(--primary-light); transform:scale(1.06); }
.qv-thumb img    { width:100%; height:100%; object-fit:cover; }
.qv-badge-pct { position:absolute; top:14px; left:14px; z-index:6; background:var(--danger); color:#fff; font-size:13px; font-weight:900; padding:5px 13px; border-radius:6px; }
.qv-info-col { padding:28px 26px 22px; overflow-y:auto; display:flex; flex-direction:column; gap:14px; background:#fff; }
.qv-name { font-size:18px; font-weight:800; color:var(--text); line-height:1.35; }
.qv-price-block { display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding:12px 16px; background:var(--primary-bg); border-radius:var(--radius-sm); border:1px solid rgba(108,46,169,.12); }
.qv-price { font-size:26px; font-weight:900; color:var(--primary); }
.qv-original { font-size:14px; color:var(--text-muted); text-decoration:line-through; font-weight:500; }
.qv-save-tag { font-size:11px; font-weight:700; color:var(--secondary); background:#dcfce7; padding:3px 10px; border-radius:6px; border:1px solid #bbf7d0; }
.qv-divider { height:1px; background:var(--border-light); }
.qv-actions { display:flex; flex-direction:column; gap:9px; }
.qv-btn-cart { width:100%; padding:13px; border:none; border-radius:var(--radius-sm); font-size:14px; font-weight:800; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:9px; font-family:inherit; transition:all .22s; color:#fff; letter-spacing:.3px; }
.qv-btn-cart:hover { filter:brightness(1.1); transform:translateY(-2px); }
.qv-btn-buy  { width:100%; padding:13px; border:none; border-radius:var(--radius-sm); font-size:14px; font-weight:800; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:9px; font-family:inherit; transition:all .22s; color:#fff; letter-spacing:.3px; }
.qv-btn-buy:hover { filter:brightness(1.1); transform:translateY(-2px); }
.qv-btn-detail { width:100%; padding:11px; border-radius:var(--radius-sm); cursor:pointer; font-size:13px; font-weight:700; display:flex; align-items:center; justify-content:center; gap:8px; font-family:inherit; transition:all .22s; background:transparent; border:1.5px solid var(--border); color:var(--primary); text-decoration:none; }
.qv-btn-detail:hover { background:var(--primary-bg); border-color:var(--primary); }
.qv-tip { display:flex; align-items:center; gap:6px; font-size:11px; color:var(--text-muted); justify-content:center; }
.qv-tip i { color:var(--primary-light); }

/* Lightbox */
#qvLightbox { display:none; position:fixed; inset:0; z-index:10000; background:rgba(3,3,12,.97); backdrop-filter:blur(20px); align-items:center; justify-content:center; }
#qvLightbox.open { display:flex; animation:qvFadeIn .2s ease; }
#qvLightbox img { max-width:88vw; max-height:88vh; object-fit:contain; border-radius:10px; box-shadow:0 40px 80px rgba(0,0,0,.6); }
#qvLightbox .lb-close { position:absolute; top:20px; right:24px; color:rgba(255,255,255,.7); font-size:20px; cursor:pointer; background:rgba(255,255,255,.1); backdrop-filter:blur(6px); border:1px solid rgba(255,255,255,.15); width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center; transition:all .2s; }
#qvLightbox .lb-close:hover { background:var(--danger); color:#fff; border-color:transparent; transform:rotate(90deg); }
#qvLightbox .lb-arr { position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,.1); backdrop-filter:blur(8px); border:1px solid rgba(255,255,255,.18); color:#fff; font-size:17px; width:50px; height:50px; min-width:50px; min-height:50px; max-width:50px; max-height:50px; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all .22s; overflow:hidden; flex-shrink:0; }
#qvLightbox .lb-arr:hover { background:rgba(108,46,169,.8); }
#qvLightbox .lb-prev { left:24px; }
#qvLightbox .lb-next { right:24px; }
#qvLightbox .lb-counter { position:absolute; bottom:20px; left:50%; transform:translateX(-50%); color:rgba(255,255,255,.5); font-size:12px; font-weight:600; background:rgba(255,255,255,.07); padding:4px 14px; border-radius:20px; border:1px solid rgba(255,255,255,.1); letter-spacing:1px; }
@media(max-width:640px){ .qv-dialog{ grid-template-columns:1fr; max-height:92vh; overflow-y:auto; border-radius:20px; } .qv-img-col{ min-height:260px; } .qv-info-col{ padding:18px 16px; } .qv-name{ font-size:16px; } .qv-price{ font-size:22px; } }

/* ══════════════════════════════════
   FEATURES GRID
══════════════════════════════════ */
.features-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:14px; }
.feature-card { background:var(--white); border-radius:var(--radius); padding:22px 16px; text-align:center; border:1.5px solid var(--border); transition:var(--transition); }
.feature-card:hover { border-color:var(--primary); box-shadow:var(--shadow); transform:translateY(-3px); }
.feature-card .feature-icon { font-size:30px; margin-bottom:10px; display:block; }
.feature-card h4 { font-size:14px; font-weight:700; color:var(--text); margin-bottom:5px; }
.feature-card p  { font-size:12px; color:var(--text-light); line-height:1.55; }

/* ══════════════════════════════════
   SHOP PAGE
══════════════════════════════════ */
.shop-layout { display:grid; grid-template-columns:230px 1fr; gap:22px; max-width:1280px; margin:0 auto; padding:20px; }
.shop-sidebar { background:var(--white); border-radius:var(--radius); padding:20px; border:1.5px solid var(--border); height:fit-content; position:sticky; top:120px; }
.sidebar-title { font-size:14px; font-weight:700; margin-bottom:12px; color:var(--text); display:flex; align-items:center; gap:8px; }
.sidebar-title i { color:var(--primary); }
.category-list { list-style:none; }
.category-list li a { display:flex; justify-content:space-between; align-items:center; padding:9px 11px; border-radius:var(--radius-sm); color:var(--text-light); font-size:13px; transition:var(--transition); }
.category-list li a:hover, .category-list li a.active { background:var(--primary-bg); color:var(--primary); font-weight:600; }
.category-list .count { background:var(--primary); color:#fff; padding:2px 8px; border-radius:10px; font-size:11px; font-weight:600; }
.shop-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; flex-wrap:wrap; gap:10px; }
.shop-header h1 { font-size:19px; font-weight:800; color:var(--text); }
.sort-select { padding:9px 14px; border:1.5px solid var(--border); border-radius:var(--radius-sm); background:var(--white); color:var(--text); font-size:13px; cursor:pointer; outline:none; transition:border-color .2s; }
.sort-select:focus { border-color:var(--primary); }
.filter-group { margin-bottom:18px; }
.filter-group h4 { font-size:13px; font-weight:700; color:var(--text); margin-bottom:8px; }
.filter-group label { display:flex; align-items:center; gap:8px; padding:4px 0; color:var(--text-light); font-size:13px; cursor:pointer; }
.filter-group input[type="radio"] { accent-color:var(--primary); }
.filter-group input[type="number"] { background:var(--bg); border:1.5px solid var(--border); border-radius:var(--radius-sm); padding:7px 10px; color:var(--text); width:100%; outline:none; font-size:13px; }
.price-range-inputs { display:flex; align-items:center; gap:8px; }
.shop-toolbar { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; flex-wrap:wrap; gap:10px; }
.shop-toolbar select { padding:8px 12px; background:var(--white); border:1.5px solid var(--border); border-radius:var(--radius-sm); color:var(--text); font-size:13px; outline:none; }
.filter-toggle-btn { display:none; background:var(--white); border:1.5px solid var(--border); color:var(--text); padding:8px 14px; border-radius:var(--radius-sm); cursor:pointer; font-size:13px; }
.results-count { font-size:13px; color:var(--text-muted); }

/* Sidebar overlay */
.sidebar-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:1000; }
.sidebar-overlay.open { display:block; }

/* ══════════════════════════════════
   PRODUCT DETAIL
══════════════════════════════════ */
.product-detail-page { max-width:1280px; margin:0 auto; padding:20px; position:relative; z-index:1; }
.product-detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:36px; margin-bottom:28px; }
.product-image-main { border-radius:var(--radius); overflow:hidden; background:var(--white); border:1.5px solid var(--border); position:relative; }
.product-image-main img { width:100%; height:auto; display:block; max-height:500px; object-fit:contain; }
.gallery-thumbs { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; margin-top:10px; }
.gallery-thumb { width:100%; height:auto; aspect-ratio:1; min-width:0; border-radius:var(--radius-sm); overflow:hidden; border:2px solid var(--border); cursor:pointer; transition:var(--transition); opacity:.6; }
.gallery-thumb:hover { opacity:.9; border-color:var(--text-muted); }
.gallery-thumb.active { border-color:var(--primary); opacity:1; }
.gallery-thumb img { width:100%; height:100%; object-fit:cover; }
.product-info h1 { font-size:22px; font-weight:800; margin-bottom:12px; color:var(--text); line-height:1.3; }
.product-category-tag { display:inline-block; background:var(--primary-bg); color:var(--primary); padding:4px 12px; border-radius:6px; font-size:12px; margin-bottom:10px; font-weight:600; }
.product-price-big { margin-bottom:12px; }
.product-price-big .current  { font-size:28px; font-weight:900; color:var(--primary); }
.product-price-big .original { font-size:16px; color:var(--text-muted); text-decoration:line-through; margin-left:10px; }
.discount-tag { display:inline-block; background:#fef2f2; color:var(--danger); padding:4px 12px; border-radius:6px; font-size:13px; font-weight:700; margin-bottom:14px; border:1px solid rgba(239,68,68,.18); }
.product-description { color:var(--text-light); line-height:1.8; margin-bottom:18px; font-size:14px; overflow-x:hidden; word-break:break-word; }
.product-description img  { max-width:100% !important; height:auto !important; }
.product-description iframe, .product-description video, .product-description table { max-width:100% !important; overflow-x:auto; display:block; }
.product-features ul { list-style:none; padding:0; }
.product-features ul li { padding:4px 0; font-size:14px; color:var(--text-light); display:flex; align-items:flex-start; gap:8px; }
.product-features ul li::before { content:'●'; color:var(--primary); font-size:8px; margin-top:7px; flex-shrink:0; }
.variation-select { margin-bottom:12px; }
.variation-select label { display:block; font-weight:700; margin-bottom:8px; font-size:14px; color:var(--text); }
.variation-options { display:flex; flex-wrap:wrap; gap:8px; }
.variation-btn { padding:9px 20px; border:1.5px solid var(--border); border-radius:var(--radius-sm); background:var(--white); cursor:pointer; font-weight:500; transition:var(--transition); font-size:14px; font-family:inherit; color:var(--text); position:relative; }
.variation-btn:not(.color-swatch):hover  { border-color:var(--primary-light) !important; background:var(--primary-bg) !important; }
.variation-btn:not(.color-swatch).active { border-color:var(--primary) !important; background:var(--primary-bg) !important; color:var(--primary) !important; box-shadow:0 0 0 3px rgba(108,46,169,.15) !important; font-weight:700 !important; }
.color-swatch:hover { transform:scale(1.1); border-color:var(--primary-light) !important; }
.color-swatch.active { border-color:var(--primary) !important; box-shadow:0 0 0 3px rgba(108,46,169,.25),inset 0 0 0 2px #fff !important; transform:scale(1.15); }
.color-swatch.active::after { content:'\2713'; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); color:#fff; font-size:14px; font-weight:900; text-shadow:0 1px 2px rgba(0,0,0,.4); }
.color-tooltip { position:absolute; bottom:calc(100% + 8px); left:50%; transform:translateX(-50%) scale(.8); background:var(--text); color:#fff; font-size:11px; font-weight:600; padding:4px 10px; border-radius:6px; white-space:nowrap; opacity:0; pointer-events:none; transition:all .2s; z-index:10; }
.color-tooltip::after { content:''; position:absolute; top:100%; left:50%; transform:translateX(-50%); border:5px solid transparent; border-top-color:var(--text); }
.variation-btn.color-swatch:hover .color-tooltip, .variation-btn.color-swatch.active .color-tooltip { opacity:1; transform:translateX(-50%) scale(1); }
.quantity-row { display:flex; align-items:center; gap:8px; margin-bottom:14px; }
.qty-btn { width:36px; height:36px; border:1.5px solid var(--border); border-radius:var(--radius-sm); background:var(--white); color:var(--primary); font-size:16px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:var(--transition); }
.qty-btn:hover { background:var(--primary-bg); border-color:var(--primary); }
.qty-input { width:50px; height:36px; text-align:center; border:1.5px solid var(--border); border-radius:var(--radius-sm); font-size:14px; outline:none; background:var(--white); color:var(--text); }
.product-btn-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.action-btn { display:flex; align-items:center; justify-content:center; gap:8px; padding:13px 14px; border-radius:var(--radius-sm); font-size:14px; font-weight:700; cursor:pointer; transition:var(--transition); border:none; font-family:inherit; width:100%; }
.action-cart      { background:var(--primary); color:#fff; }
.action-cart:hover{ filter:brightness(1.1); transform:translateY(-1px); }
.action-buy       { background:var(--secondary); color:#fff; }
.action-buy:hover { filter:brightness(1.1); transform:translateY(-1px); }
.action-whatsapp  { background:#25d366; color:#fff; }
.action-whatsapp:hover { filter:brightness(1.1); transform:translateY(-1px); }
.action-call      { background:var(--orange); color:#fff; }
.action-call:hover{ filter:brightness(1.1); transform:translateY(-1px); }
.product-meta-info { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.product-meta-info .meta-item { display:flex; align-items:center; gap:6px; font-size:12px; color:var(--text-light); background:var(--bg); padding:6px 12px; border-radius:var(--radius-sm); border:1px solid var(--border); }
.product-meta-info .meta-item i { color:var(--primary); font-size:12px; }

/* ══════════════════════════════════
   REVIEWS
══════════════════════════════════ */
.reviews-section { max-width:1280px; margin:20px auto; padding:20px; background:var(--white); border-radius:var(--radius); border:1.5px solid var(--border); position:relative; z-index:1; }
.review-item { padding:16px 0; border-bottom:1px solid var(--border-light); }
.review-item:last-child { border-bottom:none; }
.review-header { display:flex; align-items:center; gap:10px; }
.review-avatar { width:38px; height:38px; border-radius:50%; background:var(--primary); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:14px; }
.review-name { font-weight:600; font-size:14px; color:var(--text); }
.stars       { color:var(--accent); }
.review-date { margin-left:auto; font-size:12px; color:var(--text-muted); }

/* ══════════════════════════════════
   CART PAGE
══════════════════════════════════ */
@keyframes pulse-badge { 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.08); } }
.cart-page { max-width:1200px; margin:0 auto; padding:28px 20px 60px; position:relative; z-index:1; }
.cart-page-header { background:linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius:var(--radius-lg); padding:26px 30px; margin-bottom:26px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.cart-page-header .page-title { font-size:22px; font-weight:900; color:#fff; margin-bottom:0; }
.cart-page-header .cart-count-badge { background:rgba(255,255,255,.2); color:#fff; border:1.5px solid rgba(255,255,255,.35); padding:6px 16px; border-radius:99px; font-size:13px; font-weight:700; }
.page-title { font-size:22px; font-weight:800; margin-bottom:20px; color:var(--text); display:flex; align-items:center; gap:10px; }
.page-title i { color:var(--primary); }
.cart-layout { display:grid; grid-template-columns:1fr 370px; gap:26px; align-items:start; }
.cart-items-section { min-height:100px; }
.cart-items-label { font-size:12px; font-weight:700; color:var(--text-muted); text-transform:uppercase; letter-spacing:.8px; margin-bottom:12px; padding-left:4px; }
.cart-item { display:flex; align-items:center; gap:16px; background:var(--white); border-radius:var(--radius); padding:16px 18px; margin-bottom:12px; border:1.5px solid var(--border); transition:all .25s; animation:cartItemIn .3s ease both; position:relative; overflow:hidden; }
.cart-item::before { content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background:linear-gradient(180deg,var(--primary),var(--primary-light)); opacity:0; transition:opacity .25s; }
.cart-item:hover { box-shadow:0 6px 24px rgba(108,46,169,.1); border-color:rgba(108,46,169,.22); transform:translateY(-1px); }
.cart-item:hover::before { opacity:1; }
.cart-item-image { width:86px; height:86px; border-radius:var(--radius-sm); overflow:hidden; background:var(--bg); flex-shrink:0; border:1px solid var(--border); }
.cart-item-image img { width:100%; height:100%; object-fit:cover; }
.cart-item-info { flex:1; min-width:0; }
.cart-item-name { font-size:14px; font-weight:700; color:var(--text); margin-bottom:6px; line-height:1.4; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cart-item-variation { font-size:11px; font-weight:600; color:var(--primary); background:var(--primary-bg); padding:2px 9px; border-radius:99px; margin-left:6px; }
.cart-item-price { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:4px; }
.cart-item-current  { font-size:16px; font-weight:900; color:var(--primary); }
.cart-item-original { font-size:12px; color:var(--text-muted); text-decoration:line-through; font-weight:500; }
.cart-item-badge { font-size:10px; font-weight:800; color:#fff; background:linear-gradient(135deg,var(--danger),#f97316); padding:2px 8px; border-radius:99px; animation:pulse-badge 2s ease infinite; }
.cart-item-qty { display:flex; align-items:center; gap:0; margin:0 8px; flex-shrink:0; }
.qty-ctrl { width:32px; height:32px; border:1.5px solid var(--border); background:var(--bg); cursor:pointer; font-size:16px; font-weight:700; display:flex; align-items:center; justify-content:center; transition:var(--transition); color:var(--text); border-radius:0; font-family:inherit; }
.qty-ctrl:first-child { border-radius:var(--radius-sm) 0 0 var(--radius-sm); }
.qty-ctrl:last-child  { border-radius:0 var(--radius-sm) var(--radius-sm) 0; }
.qty-ctrl:hover { background:var(--primary); color:#fff; border-color:var(--primary); }
.qty-num { min-width:38px; height:32px; text-align:center; border:1.5px solid var(--border); border-left:none; border-right:none; font-size:14px; font-weight:800; display:flex; align-items:center; justify-content:center; background:var(--white); color:var(--text); }
.cart-item-qty button:first-child { border-radius:var(--radius-sm) 0 0 var(--radius-sm); width:32px; height:32px; border:1.5px solid var(--border); background:var(--bg); cursor:pointer; font-size:15px; display:flex; align-items:center; justify-content:center; transition:var(--transition); color:var(--text); }
.cart-item-qty button:last-child  { border-radius:0 var(--radius-sm) var(--radius-sm) 0; width:32px; height:32px; border:1.5px solid var(--border); background:var(--bg); cursor:pointer; font-size:15px; display:flex; align-items:center; justify-content:center; transition:var(--transition); color:var(--text); }
.cart-item-qty button:hover { background:var(--primary); color:#fff; border-color:var(--primary); }
.cart-item-qty input { width:38px; height:32px; text-align:center; border:1.5px solid var(--border); border-left:none; border-right:none; font-size:13px; font-weight:700; outline:none; background:var(--white); color:var(--text); }
.cart-item-total  { font-size:15px; font-weight:900; color:var(--text); min-width:68px; text-align:right; flex-shrink:0; }
.cart-item-remove { width:34px; height:34px; border-radius:50%; border:none; background:#fef2f2; color:var(--danger); font-size:13px; cursor:pointer; transition:var(--transition); flex-shrink:0; display:flex; align-items:center; justify-content:center; }
.cart-item-remove:hover { background:var(--danger); color:#fff; transform:scale(1.1); }
.cart-summary { background:var(--white); border-radius:var(--radius-lg); overflow:hidden; border:1.5px solid var(--border); position:sticky; top:126px; box-shadow:var(--shadow); }
.cart-summary-header { background:linear-gradient(135deg,var(--primary),var(--primary-light)); padding:18px 22px; color:#fff; }
.cart-summary-header h3 { font-size:16px; font-weight:800; display:flex; align-items:center; gap:10px; margin:0; color:#fff; }
.cart-summary-body { padding:18px 22px; }
.cart-summary-row { display:flex; justify-content:space-between; align-items:center; padding:9px 0; font-size:14px; color:var(--text-light); border-bottom:1px dashed var(--border-light); }
.cart-summary-row:last-of-type { border-bottom:none; }
.cart-summary-row.total { font-size:19px; font-weight:900; color:var(--primary); padding:14px 0 4px; margin-top:6px; border-top:2px solid var(--primary-bg); border-bottom:none; }
.cart-summary-row.discount { color:var(--secondary); font-weight:700; }
.coupon-form { display:flex; gap:7px; margin:14px 0; }
.coupon-form input { flex:1; padding:9px 13px; border:1.5px solid var(--border); border-radius:var(--radius-sm); font-size:13px; outline:none; font-family:inherit; background:var(--bg); color:var(--text); transition:border-color .2s; }
.coupon-form input:focus { border-color:var(--primary); }
.coupon-form button { padding:9px 16px; background:var(--primary); color:#fff; border:none; border-radius:var(--radius-sm); font-size:13px; font-weight:700; cursor:pointer; font-family:inherit; white-space:nowrap; transition:filter .2s; }
.coupon-form button:hover { filter:brightness(1.1); }
.cart-note { font-size:12px; color:var(--text-muted); margin-bottom:12px; display:flex; align-items:center; gap:6px; }
.cart-note i { color:var(--primary); }
.cart-trust-badges { display:grid; grid-template-columns:1fr 1fr; gap:7px; margin:14px 0; }
.trust-badge { display:flex; align-items:center; gap:7px; padding:9px 11px; background:var(--bg); border-radius:var(--radius-sm); border:1px solid var(--border-light); font-size:11px; color:var(--text-light); font-weight:600; }
.trust-badge i { font-size:14px; color:var(--primary); }
.trust-badge.green i { color:var(--secondary); }
.trust-badge.orange i { color:var(--orange); }
.trust-badge.red i   { color:var(--danger); }
.cart-empty { text-align:center; padding:70px 20px; background:var(--white); border-radius:var(--radius-lg); border:2px dashed var(--border); display:flex; flex-direction:column; align-items:center; justify-content:center; }
.cart-empty .empty-icon { font-size:64px; color:var(--border); margin-bottom:18px; animation:pulse-badge 3s ease infinite; }
.cart-empty h3 { font-size:19px; font-weight:800; color:var(--text); margin-bottom:7px; }
.cart-empty p  { font-size:14px; color:var(--text-muted); margin-bottom:22px; }

/* ══════════════════════════════════
   CHECKOUT / FORMS
══════════════════════════════════ */
.checkout-page { max-width:700px; margin:0 auto; padding:20px; position:relative; z-index:1; }
.form-group { margin-bottom:15px; }
.form-group label { display:block; font-weight:600; margin-bottom:5px; font-size:12px; color:var(--text-light); text-transform:uppercase; letter-spacing:.4px; }
.form-control { width:100%; padding:11px 14px; border:1.5px solid var(--border); border-radius:var(--radius-sm); font-size:14px; outline:none; transition:border-color .2s, box-shadow .2s; font-family:inherit; background:var(--white); color:var(--text); }
.form-control:focus { border-color:var(--primary); box-shadow:0 0 0 3px rgba(108,46,169,.08); }
textarea.form-control { resize:vertical; min-height:70px; }

/* ══════════════════════════════════
   AUTH PAGES
══════════════════════════════════ */
.auth-page { min-height:calc(100vh - 60px); display:flex; align-items:center; justify-content:center; padding:40px 20px; }
.auth-card { background:var(--white); border-radius:var(--radius-lg); padding:34px; width:100%; max-width:420px; border:1.5px solid var(--border); box-shadow:var(--shadow-md); }
.auth-card h1 { font-size:22px; font-weight:900; text-align:center; margin-bottom:6px; color:var(--text); }
.auth-card h1 span { color:var(--primary); }
.auth-card .subtitle { text-align:center; color:var(--text-muted); margin-bottom:22px; font-size:14px; }
.auth-card .auth-footer { text-align:center; margin-top:16px; font-size:13px; color:var(--text-muted); }
.auth-card .auth-footer a { color:var(--primary); font-weight:600; }

/* ══════════════════════════════════
   DASHBOARD
══════════════════════════════════ */
.dashboard-layout { display:grid; grid-template-columns:250px 1fr; gap:26px; max-width:1280px; margin:0 auto; padding:26px 20px; position:relative; z-index:1; }
.dashboard-layout > *:last-child { min-width:0; }
.dash-sidebar, .dashboard-sidebar { background:#fff; border-radius:var(--radius); padding:0; border:1.5px solid var(--border); box-shadow:var(--shadow-sm); height:fit-content; position:sticky; top:120px; overflow:hidden; }
.dashboard-sidebar > div:first-child { background:linear-gradient(135deg,var(--primary),var(--primary-light)); padding:22px 18px; }
.dashboard-sidebar > div:first-child div:first-child { width:60px; height:60px; border-radius:50%; background:rgba(255,255,255,.2); backdrop-filter:blur(10px); display:flex; align-items:center; justify-content:center; color:#fff; font-size:26px; font-weight:800; margin:0 auto 10px; border:2px solid rgba(255,255,255,.35); }
.dashboard-sidebar > div:first-child div:nth-child(2) { color:#fff !important; font-weight:700; font-size:14px; text-align:center; }
.dashboard-sidebar > div:first-child div:nth-child(3) { color:rgba(255,255,255,.7) !important; font-size:12px; text-align:center; margin-top:4px; }
.dash-menu, .dashboard-menu { list-style:none; padding:10px; margin:0; }
.dash-menu a, .dashboard-menu a { display:flex; align-items:center; gap:10px; padding:10px 13px; border-radius:var(--radius-sm); color:#4b5563; font-size:13px; font-weight:600; transition:all .2s; margin-bottom:2px; text-decoration:none; }
.dash-menu a:hover, .dashboard-menu a:hover, .dash-menu a.active, .dashboard-menu a.active { background:var(--primary-bg); color:var(--primary); }
.dashboard-menu a[style*="var(--danger)"] { color:var(--danger) !important; }
.dashboard-menu a[style*="var(--danger)"]:hover { background:#fef2f2; }
.dash-menu i, .dashboard-menu i { font-size:15px; flex-shrink:0; }
.acc-layout { display:grid; grid-template-columns:220px 1fr; gap:22px; align-items:start; max-width:1200px; margin:0 auto; padding:26px 20px 54px; }
.acc-main { min-width:0; }
.acc-stat-link { text-decoration:none; cursor:pointer; position:relative; transition:transform .2s ease, box-shadow .2s ease !important; }
.acc-stat-link:hover { transform:translateY(-4px) scale(1.015); box-shadow:0 12px 32px rgba(0,0,0,.15) !important; }
.acc-stat-arrow { position:absolute; bottom:12px; right:12px; width:26px; height:26px; background:rgba(255,255,255,.2); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:11px; color:#fff; transition:all .2s; }
.acc-stat-link:hover .acc-stat-arrow { background:rgba(255,255,255,.35); transform:translateX(2px); }

/* ══════════════════════════════════
   UTILITY
══════════════════════════════════ */
.breadcrumbs { padding:12px 0; font-size:13px; color:var(--text-muted); position:relative; z-index:1; }
.breadcrumbs a { color:var(--primary); }
.breadcrumbs a:hover { text-decoration:underline; }
.breadcrumbs span { margin:0 5px; }
.breadcrumb { list-style:none; display:flex; align-items:center; gap:4px; font-size:13px; color:var(--text-muted); padding:0; }
.breadcrumb a { color:var(--primary); }
.breadcrumb .separator { margin:0 4px; }
.pagination { display:flex; gap:4px; justify-content:center; margin-top:24px; flex-wrap:wrap; }
.pagination a, .pagination span { padding:8px 14px; border-radius:var(--radius-sm); font-size:13px; font-weight:500; transition:var(--transition); border:1.5px solid var(--border); }
.pagination a { color:var(--text-light); background:var(--white); }
.pagination a:hover { background:var(--primary); color:#fff; border-color:var(--primary); }
.pagination .active span { background:var(--primary); color:#fff; border-color:var(--primary); }
.data-table-wrapper { background:var(--white); border-radius:var(--radius); overflow-x:auto; border:1.5px solid var(--border); }
.data-table { width:100%; border-collapse:collapse; min-width:600px; }
.data-table th { background:var(--primary); color:#fff; padding:12px 16px; text-align:left; font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:.5px; }
.data-table td { padding:12px 16px; border-bottom:1px solid var(--border-light); font-size:13px; color:var(--text-light); }
.data-table tr:hover td { background:var(--primary-bg); }
.badge { display:inline-block; padding:3px 10px; border-radius:6px; font-size:11px; font-weight:600; }
.badge-success { background:#ecfdf5; color:var(--secondary); }
.badge-warning { background:#fffbeb; color:var(--accent); }
.badge-danger  { background:#fef2f2; color:var(--danger); }
.badge-info    { background:var(--primary-bg); color:var(--primary); }
.empty-state { text-align:center; padding:50px 20px; }
.empty-state i  { font-size:52px; color:var(--border); margin-bottom:14px; }
.empty-state h2 { font-size:20px; color:var(--text); margin-bottom:6px; }
.empty-state p  { color:var(--text-muted); margin-bottom:20px; }
.payment-info-box { background:var(--primary-bg); border:1px solid rgba(108,46,169,.12); border-radius:var(--radius); padding:16px; margin-bottom:16px; }
.payment-info-box h4 { font-size:14px; font-weight:700; color:var(--primary); margin-bottom:6px; display:flex; align-items:center; gap:8px; }
.payment-info-box p  { font-size:13px; color:var(--text-light); line-height:1.7; }

/* ══════════════════════════════════
   PREMIUM FOOTER
══════════════════════════════════ */
.store-footer { background:#0f172a; color:rgba(255,255,255,.75); margin-top:48px; }
.footer-newsletter-strip { padding:22px 20px; }
.footer-nl-inner { max-width:1200px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.footer-nl-text { display:flex; align-items:center; gap:14px; color:#fff; }
.footer-nl-text i { font-size:24px; opacity:.9; }
.footer-nl-text strong { display:block; font-size:15px; font-weight:800; margin-bottom:2px; }
.footer-nl-text span   { font-size:12px; opacity:.85; }
.footer-nl-form { display:flex; gap:8px; flex:1; max-width:420px; min-width:260px; }
.footer-nl-input { flex:1; padding:10px 16px; border-radius:var(--radius-sm); border:none; font-size:13px; outline:none; font-family:inherit; }
.footer-nl-btn { padding:10px 22px; border-radius:var(--radius-sm); border:none; background:#fff; font-weight:800; font-size:13px; cursor:pointer; white-space:nowrap; transition:all .2s; display:flex; align-items:center; gap:6px; }
.footer-nl-btn:hover { filter:brightness(.95); }
.footer-main { position:relative; overflow:hidden; padding:52px 20px 36px; background:linear-gradient(180deg,#0f172a 0%,#1e1b4b 100%); }
.footer-blob { position:absolute; border-radius:50%; filter:blur(80px); pointer-events:none; opacity:.1; }
.footer-blob-1 { width:400px; height:400px; background:#6366f1; top:-100px; right:-100px; }
.footer-blob-2 { width:300px; height:300px; background:#06b6d4; bottom:-80px; left:-80px; }
.footer-grid-inner { max-width:1200px; margin:0 auto; position:relative; z-index:1; display:grid; grid-template-columns:1.6fr 1.2fr 1.4fr; gap:40px; }
.footer-col-title { font-size:12px; font-weight:800; color:#fff; text-transform:uppercase; letter-spacing:1px; margin-bottom:18px; display:flex; align-items:center; gap:8px; }
.footer-col-dot { width:7px; height:7px; border-radius:50%; background:linear-gradient(135deg,#6366f1,#06b6d4); flex-shrink:0; display:inline-block; }
.footer-logo-wrap  { display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.footer-logo-icon  { width:36px; height:36px; border-radius:9px; background:linear-gradient(135deg,var(--primary),var(--primary-light)); display:flex; align-items:center; justify-content:center; color:#fff; font-size:15px; flex-shrink:0; }
.footer-logo-name  { font-size:17px; font-weight:800; color:#fff; }
.footer-brand-desc { font-size:13px; line-height:1.8; opacity:.7; margin-bottom:18px; }
.footer-mini-badges { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:18px; }
.footer-mini-badge  { display:inline-flex; align-items:center; gap:5px; padding:4px 10px; border-radius:6px; border:1px solid rgba(255,255,255,.1); font-size:11px; color:rgba(255,255,255,.7); background:rgba(255,255,255,.06); }
.footer-mini-badge i { color:#a5b4fc; font-size:10px; }
.footer-social { display:flex; gap:9px; }
.footer-social-btn { width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:14px; color:#fff; transition:all .22s; text-decoration:none; }
.footer-social-btn:hover { transform:translateY(-3px) scale(1.1); }
.footer-social-btn.fb { background:#1877f2; }
.footer-social-btn.wa { background:#25d366; }
.footer-social-btn.yt { background:#ff0000; }
.footer-social-btn.ig { background:linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.footer-links-list { list-style:none; display:flex; flex-direction:column; gap:4px; }
.footer-links-list li a { display:flex; align-items:center; gap:8px; font-size:13px; color:rgba(255,255,255,.6); text-decoration:none; padding:5px 0; transition:all .2s; }
.footer-links-list li a i { font-size:9px; color:#6366f1; transition:transform .2s; }
.footer-links-list li a:hover { color:#a5b4fc; padding-left:4px; }
.footer-links-list li a:hover i { transform:translateX(3px); }
.footer-contact-list { list-style:none; display:flex; flex-direction:column; gap:13px; }
.footer-contact-list li { display:flex; align-items:flex-start; gap:11px; }
.footer-contact-icon { width:32px; height:32px; border-radius:8px; flex-shrink:0; background:rgba(99,102,241,.15); border:1px solid rgba(99,102,241,.2); display:flex; align-items:center; justify-content:center; color:#818cf8; font-size:12px; }
.footer-contact-list li div small { display:block; font-size:10px; color:rgba(255,255,255,.4); text-transform:uppercase; letter-spacing:.5px; margin-bottom:2px; }
.footer-contact-list li div span { font-size:13px; color:rgba(255,255,255,.75); }
.footer-payment-cards { display:flex; flex-direction:column; gap:7px; }
.footer-pay-card { display:flex; align-items:center; gap:10px; padding:9px 13px; border-radius:9px; font-size:13px; font-weight:600; color:#fff; border:1px solid rgba(255,255,255,.1); }
.footer-pay-card i { font-size:15px; }
.footer-pay-card.cod   { background:rgba(22,163,74,.18); border-color:rgba(22,163,74,.25); }
.footer-pay-card.cod i { color:#4ade80; }
.footer-pay-card.bkash { background:rgba(226,19,110,.18); border-color:rgba(226,19,110,.25); }
.footer-pay-card.bkash i { color:#f472b6; }
.footer-pay-card.nagad { background:rgba(234,88,12,.18); border-color:rgba(234,88,12,.25); }
.footer-pay-card.nagad i { color:#fb923c; }
.footer-guarantee { display:flex; flex-direction:column; gap:9px; }
.footer-guarantee-item { display:flex; align-items:center; gap:10px; font-size:12px; color:rgba(255,255,255,.6); }
.footer-guarantee-item i { color:#a5b4fc; font-size:12px; width:16px; }
.footer-bottom-bar { background:rgba(0,0,0,.3); border-top:1px solid rgba(255,255,255,.06); padding:14px 20px; }
.footer-bottom-inner { max-width:1200px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.footer-copyright { font-size:12px; color:rgba(255,255,255,.4); }
.footer-copyright strong { color:rgba(255,255,255,.7); }
.footer-bottom-links { display:flex; align-items:center; gap:10px; }
.footer-bottom-links a { font-size:12px; color:rgba(255,255,255,.4); text-decoration:none; transition:color .2s; }
.footer-bottom-links a:hover { color:#a5b4fc; }
.footer-bottom-sep { color:rgba(255,255,255,.2); font-size:12px; }
.dev-badge { display:inline-flex; align-items:center; gap:7px; text-decoration:none; color:rgba(255,255,255,.45); font-size:12px; transition:opacity .2s; }
.dev-badge:hover { opacity:.8; }
.dev-badge-text { color:rgba(255,255,255,.35); }
.dev-badge-pill { display:inline-flex; align-items:center; gap:5px; background:linear-gradient(135deg,var(--primary),var(--primary-light)); color:#fff; padding:3px 11px; border-radius:20px; font-size:11px; font-weight:700; letter-spacing:.3px; box-shadow:0 2px 8px rgba(108,46,169,.4); }
.dev-badge-pill i { font-size:9px; }
.mobile-dev-bar { display:none; text-align:center; padding:7px 14px; background:#f8f5ff; border-top:1px solid #ede8f5; font-size:12px; color:#888; align-items:center; justify-content:center; gap:8px; }
.mobile-dev-pill { display:inline-flex; align-items:center; gap:5px; background:linear-gradient(135deg,var(--primary),var(--primary-light)); color:#fff; padding:3px 10px; border-radius:20px; font-size:11px; font-weight:700; text-decoration:none; }
.mobile-dev-pill i { font-size:9px; }

/* ══════════════════════════════════
   CHAT WIDGET
══════════════════════════════════ */
.chat-widget-wrap { position:fixed; bottom:88px; z-index:9999; display:flex; flex-direction:column; align-items:flex-end; gap:9px; }
.cw-right { right:20px; align-items:flex-end; }
.cw-left  { left:20px;  align-items:flex-start; }
.cw-main-btn { width:54px; height:54px; border-radius:50%; border:none; color:#fff; font-size:22px; cursor:pointer; box-shadow:0 4px 16px rgba(0,0,0,.28); display:flex; align-items:center; justify-content:center; transition:transform .2s, box-shadow .2s; position:relative; z-index:2; }
.cw-main-btn:hover { transform:scale(1.08); box-shadow:0 6px 22px rgba(0,0,0,.32); }
.cw-icon-close { display:none; }
.chat-widget-wrap.open .cw-icon-chat  { display:none; }
.chat-widget-wrap.open .cw-icon-close { display:block; }
.cw-options { display:flex; flex-direction:column; gap:8px; opacity:0; transform:translateY(12px) scale(.95); pointer-events:none; transition:opacity .22s ease, transform .22s ease; }
.chat-widget-wrap.open .cw-options { opacity:1; transform:translateY(0) scale(1); pointer-events:auto; }
.cw-option { display:flex; align-items:center; gap:9px; padding:9px 14px; border-radius:28px; text-decoration:none; color:#fff; font-size:13px; font-weight:600; box-shadow:0 2px 10px rgba(0,0,0,.18); transition:transform .15s, box-shadow .15s; white-space:nowrap; }
.cw-option:hover { transform:translateX(-3px); box-shadow:0 4px 16px rgba(0,0,0,.25); }
.cw-option i { font-size:16px; flex-shrink:0; }
.cw-wa    { background:#25D366; }
.cw-phone { background:var(--primary); }
.cw-msg   { background:#0084FF; }
.cw-tg    { background:#0088CC; }
.cw-email { background:#EA4335; }
.cw-cta-bubble { background:#fff; color:#333; font-size:12px; font-weight:600; padding:5px 13px; border-radius:20px; box-shadow:0 2px 10px rgba(0,0,0,.14); white-space:nowrap; order:-1; animation:cwPulse 2s ease infinite; }

/* ══════════════════════════════════
   SCROLL TO TOP
══════════════════════════════════ */
#scrollTopBtn { position:fixed; bottom:90px; right:20px; z-index:997; width:42px; height:42px; border-radius:50%; border:none; cursor:pointer; display:none; align-items:center; justify-content:center; font-size:16px; color:#fff; box-shadow:var(--shadow-md); transition:transform .2s; }
#scrollTopBtn:hover { transform:translateY(-3px); }

/* ══════════════════════════════════
   LIVE SEARCH DROPDOWN
══════════════════════════════════ */
.srch-drop { position:absolute; top:calc(100% + 6px); left:0; right:0; background:#fff; border-radius:var(--radius); border:1.5px solid var(--border); box-shadow:0 16px 48px rgba(0,0,0,.14); z-index:999; overflow:hidden; }
.srch-drop-mobile { left:0; right:0; top:calc(100% + 4px); }
.srch-product-item { display:flex; align-items:center; gap:11px; padding:11px 14px; cursor:pointer; transition:background .14s; text-decoration:none; }
.srch-product-item:hover, .srch-product-item.highlighted { background:var(--primary-bg); }
.srch-product-item img { width:46px; height:46px; object-fit:cover; border-radius:var(--radius-sm); border:1px solid var(--border); flex-shrink:0; }
.srch-product-name { font-size:13px; font-weight:600; color:var(--text); }
.srch-product-name mark { background:rgba(108,46,169,.15); color:var(--primary); border-radius:3px; font-style:normal; }
.srch-product-cat   { font-size:11px; color:var(--text-muted); margin-top:2px; }
.srch-product-price { font-size:14px; font-weight:800; color:var(--primary); margin-left:auto; white-space:nowrap; }
.srch-cats { display:flex; flex-wrap:wrap; gap:7px; padding:10px 14px; border-bottom:1px solid var(--border-light); }
.srch-cat-chip { display:inline-flex; align-items:center; gap:5px; padding:5px 12px; border-radius:6px; font-size:12px; font-weight:600; background:var(--bg); border:1px solid var(--border); color:var(--text-light); cursor:pointer; text-decoration:none; transition:var(--transition); }
.srch-cat-chip:hover { background:var(--primary); color:#fff; border-color:var(--primary); }
.srch-footer { display:flex; align-items:center; justify-content:center; gap:8px; padding:11px; background:var(--bg); border-top:1px solid var(--border-light); font-size:13px; font-weight:600; color:var(--primary); cursor:pointer; text-decoration:none; transition:background .15s; }
.srch-footer:hover { background:var(--primary-bg); }
.srch-total { background:var(--primary); color:#fff; padding:2px 9px; border-radius:99px; font-size:11px; font-weight:800; }
.srch-loading, .srch-empty { padding:22px; text-align:center; color:var(--text-muted); font-size:13px; }

/* ══════════════════════════════════
   PAGINATION (Laravel)
══════════════════════════════════ */
nav[aria-label="Pagination Navigation"] svg, nav[role="navigation"] svg, .pagination svg { width:16px !important; height:16px !important; max-width:16px !important; max-height:16px !important; display:inline !important; flex-shrink:0 !important; }
nav[aria-label="Pagination Navigation"] span[aria-hidden], nav[role="navigation"] span[aria-hidden] { display:inline-flex !important; align-items:center !important; justify-content:center !important; width:36px !important; height:36px !important; max-width:36px !important; max-height:36px !important; overflow:hidden !important; font-size:14px !important; border-radius:var(--radius-sm) !important; background:#f3f4f6 !important; border:1.5px solid var(--border) !important; color:#333 !important; }
nav[aria-label="Pagination Navigation"] a, nav[role="navigation"] a { display:inline-flex !important; align-items:center !important; justify-content:center !important; min-width:36px !important; height:36px !important; max-width:80px !important; padding:0 8px !important; border-radius:var(--radius-sm) !important; border:1.5px solid var(--border) !important; background:#fff !important; color:#333 !important; font-size:13px !important; font-weight:600 !important; text-decoration:none !important; transition:all .2s !important; overflow:hidden !important; white-space:nowrap !important; }
nav[aria-label="Pagination Navigation"] a:hover, nav[role="navigation"] a:hover { background:var(--primary) !important; color:#fff !important; border-color:var(--primary) !important; }
nav[aria-label="Pagination Navigation"] span[aria-current="page"] > span, nav[role="navigation"] span[aria-current="page"] > span { display:inline-flex !important; align-items:center !important; justify-content:center !important; width:36px !important; height:36px !important; border-radius:var(--radius-sm) !important; background:var(--primary) !important; color:#fff !important; border:1.5px solid var(--primary) !important; font-size:13px !important; font-weight:700 !important; }
nav[aria-label="Pagination Navigation"], nav[role="navigation"] { display:flex !important; align-items:center !important; justify-content:space-between !important; flex-wrap:wrap !important; gap:8px !important; }
nav[aria-label="Pagination Navigation"] > div:last-child, nav[role="navigation"] > div:last-child { display:flex !important; align-items:center !important; gap:4px !important; flex-wrap:wrap !important; }

/* ══════════════════════════════════
   RESPONSIVE — 1024px
══════════════════════════════════ */
@media(max-width:1024px){
    .product-grid { grid-template-columns:repeat(3,1fr); }
    .shop-layout { grid-template-columns:1fr; }
    .shop-sidebar { display:none; position:fixed; top:0; left:0; right:0; bottom:0; z-index:1001; overflow-y:auto; border-radius:0; margin:0; }
    .shop-sidebar.open { display:block; animation:fadeIn .2s ease; }
    .product-detail-grid { grid-template-columns:1fr; gap:20px; }
    .footer-grid-inner { grid-template-columns:1fr 1fr; gap:28px; }
    .dashboard-layout { grid-template-columns:1fr; }
    .dash-sidebar { display:none; }
    .banner-slide img { max-height:360px; }
    .demo-banner-inner { min-height:320px; padding:40px 24px; }
    .cart-layout { grid-template-columns:1fr; }
    .cart-summary { position:static; }
    .acc-layout { grid-template-columns:200px 1fr; gap:16px; }
}

/* ══════════════════════════════════
   RESPONSIVE — 768px
══════════════════════════════════ */
@media(max-width:768px){
    html, body { overflow-x:hidden !important; max-width:100vw !important; }
    .main-header, .store-navbar, .offer-bar,
    .section, .product-detail-page, .reviews-section,
    .cart-page, .checkout-page, .shop-layout,
    .hero-split-wrap, .hero-split-full,
    .store-footer, .footer-main, .footer-newsletter-strip { max-width:100vw !important; overflow-x:hidden !important; }
    .main-header-inner { max-width:100% !important; }
    table { display:block; overflow-x:auto; max-width:100%; }
    .product-description { overflow-x:hidden !important; word-break:break-word !important; }
    .product-description img { max-width:100% !important; height:auto !important; }
    .product-description iframe, .product-description video { max-width:100% !important; width:100% !important; }

    /* Header mobile */
    .offer-bar { display:none !important; }
    .store-navbar { display:none !important; }
    .header-actions { display:none !important; }
    .header-search-form { display:none; }
    .mobile-menu-btn { display:block !important; }
    .mobile-cart-btn { display:flex !important; align-items:center; }
    .main-header-inner { position:relative; justify-content:space-between; padding:10px 14px; gap:0; }
    .store-logo { position:absolute; left:50%; transform:translateX(-50%); }
    .logo-sub  { display:none !important; }
    .logo-main { font-size:18px !important; -webkit-text-fill-color:transparent !important; }
    .mobile-search-bar { display:none; }
    .mobile-search-bar.open { display:flex !important; }
    .header-offer-btn, .mobile-offer-btn { display:none !important; }
    .header-container { justify-content:space-between; }
    .logo { flex:1; text-align:center; font-size:20px; }
    .header-nav { display:none; }
    .search-bar { display:none; }
    .mobile-bottom-nav { display:flex; }
    .mobile-dev-bar { display:flex; }

    /* Grid */
    .product-grid { grid-template-columns:repeat(2,1fr); gap:10px; }
    .category-grid { gap:10px; }
    .category-card { padding:14px 10px; min-width:110px; }
    .footer-grid-inner { grid-template-columns:1fr 1fr; gap:20px; }

    /* Card buttons */
    .card-actions-two { gap:5px; }
    .btn-card { font-size:12px; padding:8px 6px; gap:3px; min-width:max-content; }
    .btn-card i { font-size:11px; }

    /* Spacing */
    .main-content { padding-bottom:70px; }
    .section { padding:20px 14px; }
    .section-title { font-size:17px; }
    .section-title::before { width:3px; height:18px; }

    /* Product detail */
    .product-detail-page { padding:12px; }
    .product-info h1 { font-size:18px; }
    .product-price-big .current { font-size:22px; }
    .action-btn { padding:11px 8px; font-size:13px; }
    .qty-cart-row { flex-wrap:nowrap !important; gap:6px !important; }
    .qty-cart-row .action-btn { flex:1 !important; width:auto !important; min-width:0 !important; white-space:nowrap !important; }
    .contact-btns-grid { grid-template-columns:1fr 1fr !important; max-width:100% !important; }
    .contact-btns-grid .action-btn { min-width:0 !important; padding:11px 6px !important; font-size:13px !important; }
    .gallery-thumbs { display:grid !important; grid-template-columns:repeat(5,1fr) !important; gap:6px !important; overflow:hidden !important; max-width:100% !important; }
    .gallery-thumb { width:100% !important; height:auto !important; aspect-ratio:1 !important; min-width:0 !important; max-width:100% !important; }

    /* Banner */
    .banner-slide img { max-height:220px; }
    .banner-slide .banner-overlay { padding:14px 18px; }
    .banner-slide .banner-overlay h2 { font-size:16px; }
    .banner-slide .banner-overlay p  { font-size:12px; }
    .banner-nav-btn { width:32px; height:32px; font-size:12px; }
    .demo-banner-inner { min-height:200px; padding:24px 18px; }
    .demo-banner-inner h1 { font-size:20px; }
    .demo-banner-inner p  { font-size:13px; margin-bottom:14px; }

    /* Hero split */
    .hero-split-wrap { grid-template-columns:1fr 180px; gap:8px; padding:8px; }
    .hero-slider-col { min-height:260px; border-radius:12px; }
    .hero-slider-col .banner-slider,.hero-slider-col .banner-slide,.hero-slider-col .banner-slide img,.hero-slider-col .demo-banner-inner { height:260px; min-height:260px; max-height:260px; }
    .hero-offer-card { min-height:124px; border-radius:9px; }
    .hero-offers-col { gap:8px; }

    /* Footer */
    .footer-nl-inner { flex-direction:column; align-items:flex-start; gap:14px; }
    .footer-nl-form  { min-width:100%; max-width:100%; }

    /* Cart 768 */
    .cart-page { padding:14px 12px 70px; }
    .cart-page-header { padding:16px 18px; border-radius:var(--radius); margin-bottom:16px; flex-direction:column; align-items:flex-start; gap:8px; }
    .cart-page-header .page-title { font-size:18px; }
    .cart-layout { grid-template-columns:1fr; gap:16px; }
    .cart-summary { position:static; border-radius:var(--radius); }
    .cart-item { gap:11px; padding:12px 14px; border-radius:var(--radius-sm); }
    .cart-item-image { width:70px; height:70px; border-radius:9px; }
    .cart-item-name  { font-size:13px; white-space:normal; }
    .cart-item-current { font-size:14px; }
    .cart-item-total   { font-size:13px; min-width:56px; }
    .cart-item-qty { margin:0 5px; }
    .qty-ctrl { width:28px; height:28px; font-size:15px; }
    .qty-num  { min-width:32px; height:28px; font-size:12px; }
    .cart-trust-badges { grid-template-columns:1fr 1fr; gap:6px; }
    .trust-badge { font-size:10px; padding:8px 9px; }
    .cart-summary-row.total { font-size:17px; }

    /* Checkout / Reviews */
    .checkout-page   { padding:12px; }
    .reviews-section { margin:12px; padding:14px; }

    /* Acc Layout */
    .acc-layout { grid-template-columns:1fr; padding:0 0 70px; gap:0; }
    .acc-main { padding:14px 14px 0; }

    /* Chat widget */
    .chat-widget-wrap { bottom:78px; }
    .chat-widget-wrap.cw-right { right:12px; }
    .chat-widget-wrap.cw-left  { left:12px; }
    .cw-option { padding:7px 12px; border-radius:22px; font-size:12px; gap:7px; }
    .cw-option i { font-size:14px; }
    .cw-main-btn { width:46px; height:46px; font-size:17px; }
    .cw-cta-bubble { font-size:11px; padding:4px 10px; }
}

/* ══════════════════════════════════
   RESPONSIVE — 480px
══════════════════════════════════ */
@media(max-width:480px){
    html, body { overflow-x:hidden !important; max-width:100vw !important; }
    .product-grid { grid-template-columns:repeat(2,1fr); gap:7px; }
    .card-image { margin:6px; border-radius:8px; }
    .card-body  { padding:7px 8px 9px; }
    .card-title { font-size:12px; min-height:30px; }
    .price-current { font-size:14px; }
    .card-actions-two { gap:4px; padding-top:8px; }
    .btn-card { font-size:12px; padding:8px 5px; gap:3px; border-radius:6px; min-width:max-content; }
    .btn-card i { font-size:11px; }
    .product-btn-grid { grid-template-columns:1fr; }
    .action-btn { font-size:13px; }
    .gallery-thumbs { gap:4px !important; }
    .variation-btn:not(.color-swatch) { padding:7px 13px !important; font-size:12px !important; }
    .banner-slide img { max-height:160px; }
    .banner-nav-btn { width:26px; height:26px; font-size:11px; }
    .demo-banner-inner { min-height:160px; padding:16px 12px; }
    .demo-banner-inner h1 { font-size:17px; }
    .demo-banner-inner p  { font-size:11px; margin-bottom:10px; }
    .hero-split-wrap { grid-template-columns:1fr; gap:6px; padding:6px; }
    .hero-slider-col { min-height:190px; border-radius:10px; }
    .hero-slider-col .banner-slider,.hero-slider-col .banner-slide,.hero-slider-col .banner-slide img,.hero-slider-col .demo-banner-inner { height:190px; min-height:190px; max-height:190px; }
    .hero-offers-col { flex-direction:row; gap:6px; }
    .hero-offer-card { min-height:110px; border-radius:9px; }
    .footer-grid-inner  { grid-template-columns:1fr; gap:24px; }
    .footer-bottom-inner { flex-direction:column; align-items:center; text-align:center; gap:8px; }
    .dev-badge { justify-content:center; }
    .features-grid { grid-template-columns:1fr 1fr; }
    .feature-card { padding:14px 10px; }
    .feature-card .feature-icon { font-size:24px; margin-bottom:6px; }
    .feature-card h4 { font-size:12px; }
    .feature-card p  { font-size:11px; }
    .section-title { font-size:15px; }
    .view-all-link { font-size:10px; padding:5px 11px; }
    .page-title { font-size:17px; }
    .cart-page { padding:10px 8px 80px; }
    .cart-page-header { padding:13px 14px; border-radius:10px; margin-bottom:12px; }
    .cart-page-header .page-title { font-size:15px; }
    .cart-item { gap:9px; padding:11px 11px; border-radius:10px; margin-bottom:9px; }
    .cart-item-image { width:56px; height:56px; border-radius:7px; }
    .cart-item-name    { font-size:12px; }
    .cart-item-current { font-size:13px; }
    .cart-item-total   { font-size:12px; min-width:48px; }
    .cart-item-remove  { width:28px; height:28px; font-size:12px; }
    .cart-item-qty { margin:0 3px; }
    .qty-ctrl { width:24px; height:24px; font-size:13px; }
    .qty-ctrl:first-child { border-radius:6px 0 0 6px; }
    .qty-ctrl:last-child  { border-radius:0 6px 6px 0; }
    .qty-num { min-width:26px; height:24px; font-size:12px; }
    .cart-summary-header { padding:13px 16px; }
    .cart-summary-body   { padding:13px 16px; }
    .cart-summary-row { font-size:13px; padding:8px 0; }
    .cart-summary-row.total { font-size:15px; }
    .cart-trust-badges { grid-template-columns:1fr 1fr; gap:5px; }
    .trust-badge { font-size:10px; padding:6px 8px; }
    .coupon-form input  { font-size:12px; padding:8px 10px; border-radius:var(--radius-sm); }
    .coupon-form button { font-size:12px; padding:8px 12px; border-radius:var(--radius-sm); }
    .cart-items-label { font-size:10px; margin-bottom:9px; }
    .mobile-bottom-nav { padding-bottom:env(safe-area-inset-bottom,5px); height:58px; }
    .bottom-nav-item i { font-size:19px; }
    @media(max-width:900px){
        .acc-layout { grid-template-columns:1fr; padding:0 0 70px; gap:0; }
        .acc-main   { padding:14px; }
    }
}

/* ══════════════════════════════════
   CATEGORY SECTION (home builder)
══════════════════════════════════ */
.cat-section { padding:36px 0; background:var(--bg); }
.cat-section-header { display:flex; align-items:center; justify-content:space-between; padding:0 20px; margin-bottom:24px; max-width:1280px; margin-left:auto; margin-right:auto; }
.cat-section-title-wrap { display:flex; align-items:center; gap:12px; }
.cat-section-pill { width:36px; height:36px; border-radius:50%; background:linear-gradient(135deg,var(--primary),var(--primary-light)); display:flex; align-items:center; justify-content:center; color:#fff; font-size:15px; box-shadow:0 4px 12px rgba(108,46,169,.3); }
.cat-section-title { font-size:20px; font-weight:800; color:var(--text); margin:0; padding-left:10px; border-left:3px solid var(--primary); }
.cat-view-all { display:inline-flex; align-items:center; gap:6px; background:var(--primary); color:#fff; padding:8px 18px; border-radius:var(--radius-sm); font-size:12px; font-weight:700; text-decoration:none; transition:filter .2s; letter-spacing:.3px; text-transform:uppercase; }
.cat-view-all:hover { filter:brightness(1.1); }
.cat-slider-outer { position:relative; display:flex; align-items:center; max-width:1280px; margin:0 auto; padding:0 14px; }
.cat-slider-viewport { overflow:hidden; width:100%; }
.cat-cards-grid { display:flex; flex-direction:row; gap:14px; transition:transform .4s cubic-bezier(.4,0,.2,1); will-change:transform; padding:8px 2px 14px; }
.cat-card-new { flex:0 0 calc((100% - 5*14px)/6); display:flex; flex-direction:column; align-items:center; gap:10px; text-decoration:none; padding:14px 8px; background:var(--white); border-radius:var(--radius); border:1.5px solid var(--border); transition:all .26s cubic-bezier(.4,0,.2,1); position:relative; overflow:hidden; }
@media(max-width:1200px){ .cat-card-new { flex:0 0 calc((100% - 4*14px)/5); } }
@media(max-width:900px)  { .cat-card-new { flex:0 0 calc((100% - 3*14px)/4); } }
.cat-card-new::before { content:''; position:absolute; inset:0; background:linear-gradient(145deg,var(--g1,var(--primary)),var(--g2,var(--primary-light))); opacity:0; transition:opacity .26s; border-radius:inherit; }
.cat-card-new:hover { transform:translateY(-5px); box-shadow:0 10px 28px rgba(0,0,0,.1); border-color:transparent; }
.cat-card-new:hover::before { opacity:1; }
.cat-card-new:hover .cat-name, .cat-card-new:hover .cat-label { color:#fff !important; }
.cat-circle { width:calc(100% - 10px); aspect-ratio:1/1; max-width:var(--cat-img-size,120px); border-radius:var(--cat-img-radius,50%); background:linear-gradient(145deg,var(--g1,var(--primary)),var(--g2,var(--primary-light))); display:flex; align-items:center; justify-content:center; overflow:hidden; position:relative; flex-shrink:0; border:3px solid rgba(255,255,255,.9); box-shadow:0 5px 16px rgba(0,0,0,.12); transition:all .26s; }
.cat-circle img { width:100%; height:100%; object-fit:cover; border-radius:var(--cat-img-radius,50%); }
.cat-circle i   { font-size:30px; color:#fff; }
.cat-circle-badge { position:absolute; top:-3px; right:-3px; background:var(--danger); color:#fff; font-size:10px; font-weight:800; width:20px; height:20px; border-radius:50%; display:flex; align-items:center; justify-content:center; border:2px solid #fff; }
.cat-name  { font-size:13px; font-weight:700; color:var(--text); text-align:center; line-height:1.3; position:relative; z-index:1; transition:color .26s; margin:0; }
.cat-label { font-size:11px; color:var(--text-muted); position:relative; z-index:1; transition:color .26s; }
.cat-nav-btn { display:flex; align-items:center; justify-content:center; width:36px; height:36px; min-width:36px; border-radius:50%; background:var(--primary); color:#fff; border:none; cursor:pointer; font-size:12px; z-index:10; flex-shrink:0; box-shadow:0 3px 10px rgba(108,46,169,.3); transition:all .2s; }
.cat-nav-btn:hover    { filter:brightness(1.1); transform:scale(1.05); }
.cat-nav-btn:disabled { opacity:.3; cursor:default; transform:none; }
.cat-prev { margin-right:8px; }
.cat-next { margin-left:8px; }
@media(max-width:768px){
    .cat-section-header { padding:0 12px; margin-bottom:10px; }
    .cat-section-title  { font-size:16px; }
    .cat-view-all { font-size:10px; padding:6px 12px; white-space:nowrap; }
    .cat-slider-outer { padding:0 4px; }
    .cat-nav-btn { width:26px; height:26px; min-width:26px; font-size:10px; }
    .cat-prev { margin-right:4px; }
    .cat-next { margin-left:4px; }
    .cat-cards-grid { gap:9px; padding:6px 2px 12px; }
    .cat-card-new { flex:0 0 calc((100% - 2*9px)/3); gap:7px; padding:9px 5px; border-radius:12px; }
}
