/* ======= CLEAN MINIMAL E-COMMERCE ======= */
@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 {
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-bg: #eef2ff;
    --secondary: #059669;
    --accent: #f59e0b;
    --danger: #ef4444;
    --success: #22c55e;
    --orange: #f97316;
    --text: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
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; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ======= ANIMATIONS ======= */
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.animate-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

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

/* ======= HEADER ======= */
.main-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.main-header.scrolled { box-shadow: var(--shadow); }
.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; }
.logo span { color: var(--primary); }
.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); transition: var(--transition); }
.search-bar form:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }
.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; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 20px; color: var(--text); cursor: pointer; padding: 8px; }
.mobile-cart-btn { display: none; position: relative; font-size: 20px; color: var(--text); padding: 8px; }
.mobile-search-bar { display: none; padding: 8px 12px 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: 50px; overflow: hidden; background: var(--bg); }
.mobile-search-bar input { flex: 1; padding: 10px 16px; border: none; outline: none; font-size: 14px; background: transparent; font-family: inherit; }
.mobile-search-bar button { padding: 10px 14px; background: var(--primary); border: none; color: #fff; cursor: pointer; }
/* Mobile OFFER Button */
.mobile-offer-btn {
    display: inline-flex; align-items: center; gap: 5px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff; padding: 9px 14px; border-radius: 25px;
    font-size: 12px; font-weight: 800; text-decoration: none;
    white-space: nowrap; flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(22,163,74,.35);
    transition: all .2s ease; letter-spacing: .5px;
}
.mobile-offer-btn:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(22,163,74,.45); }
.mobile-offer-btn i { font-size: 11px; }
/* Desktop Navbar OFFER Button */
.navbar-offer-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff; padding: 7px 18px; border-radius: 25px;
    font-size: 13px; font-weight: 800; text-decoration: none;
    letter-spacing: .5px;
    box-shadow: 0 3px 10px rgba(22,163,74,.4);
    transition: all .2s ease;
}
.navbar-offer-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 16px rgba(22,163,74,.5); color: #fff; }
.navbar-offer-btn i { font-size: 13px; }

.mobile-menu { display: none; position: fixed; top: 60px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); z-index: 99; padding: 12px 0; box-shadow: var(--shadow-md); }
.mobile-menu.active { display: block; animation: fadeIn 0.2s ease; }
.mobile-menu a, .mobile-menu button { display: flex; align-items: center; gap: 10px; padding: 12px 24px; color: var(--text); font-size: 15px; font-weight: 500; width: 100%; background: none; border: none; font-family: inherit; cursor: pointer; }
.mobile-menu a:hover, .mobile-menu button:hover { background: var(--primary-bg); color: var(--primary); }

/* ======= MOBILE BOTTOM NAV ======= */
.mobile-bottom-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--border); z-index: 100; padding: 6px 0 env(safe-area-inset-bottom, 4px); }
.bottom-nav-item { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; font-size: 10px; color: var(--text-muted); font-weight: 500; flex: 1; text-align: center; }
.bottom-nav-item i { font-size: 18px; }
.bottom-nav-item.active { color: var(--primary); }
.cart-nav-icon { position: relative; }

/* ======= BANNER ======= */
.banner-section { position: relative; z-index: 1; overflow: hidden; }
.banner-slider { display: flex; transition: transform 0.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: 420px; 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,0.6)); 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: 0.9; }
.banner-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: var(--white); border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 15px; color: var(--text); box-shadow: var(--shadow); z-index: 5; transition: var(--transition); }
.banner-nav-btn:hover { background: var(--primary); color: #fff; }
.banner-nav-btn.prev { left: 12px; }
.banner-nav-btn.next { right: 12px; }
.banner-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.banner-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: var(--transition); border: none; }
.banner-dot.active { background: #fff; width: 26px; border-radius: 10px; }
.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: 0.9; max-width: 480px; margin-bottom: 24px; }

/* ======= HERO SPLIT LAYOUT ======= */
.hero-split-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 10px;
    padding: 10px;
    max-width: 1400px;
    margin: 0 auto;
}
.hero-slider-col {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 360px;
    background: #e2e8f0;
}
.hero-slider-col .banner-slider { min-height: 360px; height: 360px; }
.hero-slider-col .banner-slide { height: 360px; }
.hero-slider-col .banner-slide img { width: 100%; height: 360px; max-height: 360px; object-fit: cover; }
.hero-slider-col .demo-banner-inner { min-height: 360px; height: 360px; }

.hero-offers-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hero-offer-card {
    flex: 1;
    border-radius: 14px;
    overflow: hidden;
    display: block;
    position: relative;
    background: #e2e8f0;
    min-height: 170px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-offer-card:hover { transform: scale(1.015); box-shadow: 0 8px 28px rgba(0,0,0,0.14); }
.hero-offer-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.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,0.65));
    color: #fff; font-size: 13px; font-weight: 700;
}
.hero-offer-demo { cursor: pointer; }


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

/* ======= SECTIONS ======= */
.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: 20px; flex-wrap: wrap; gap: 10px; }
.section-title { font-size: 22px; font-weight: 800; color: var(--text); display: flex; align-items: center; gap: 10px; }
.view-all-link { font-size: 13px; font-weight: 600; color: var(--primary); padding: 8px 18px; border: 1.5px solid var(--primary); border-radius: 50px; transition: var(--transition); }
.view-all-link:hover { background: var(--primary); color: #fff; }

/* ======= CATEGORY CARDS ======= */
.category-grid { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.category-grid::-webkit-scrollbar { height: 0; }
.category-card { text-align: center; padding: 20px 16px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); min-width: 140px; 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: 56px; height: 56px; 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: 4px; }
.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: 18px; }
.product-card { background: var(--white); border-radius: var(--radius); border: 1.5px solid rgba(99,102,241,0.15); overflow: hidden; transition: all 0.3s ease; position: relative; box-shadow: 0 2px 8px rgba(0,0,0,0.04); display: flex; flex-direction: column; }
.product-card:hover { box-shadow: 0 8px 30px rgba(79,70,229,0.15); transform: translateY(-6px); border-color: rgba(99,102,241,0.35); }
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 5px; z-index: 2; }
.badge-featured { background: var(--accent); color: #fff; padding: 3px 10px; border-radius: 50px; font-size: 11px; font-weight: 600; }
.badge-sale { background: var(--danger); color: #fff; padding: 3px 10px; border-radius: 50px; font-size: 11px; font-weight: 600; }
.card-wishlist { position: absolute; top: 10px; right: 10px; background: var(--white); border: 1px solid var(--border); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; transition: var(--transition); font-size: 14px; color: var(--text-muted); }
.card-wishlist:hover, .card-wishlist.active { color: var(--danger); border-color: var(--danger); background: #fef2f2; }
.card-image { aspect-ratio: 1; overflow: hidden; background: var(--border-light); position: relative; margin: 10px; border-radius: 10px; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; border-radius: 10px; }
.product-card:hover .card-image img { transform: scale(1.08); }
.card-body { padding: 14px; display: flex; flex-direction: column; flex: 1; }
.card-category { font-size: 11px; color: var(--text-muted); font-weight: 500; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.3px; }
.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.4; }
.card-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.price-current { font-size: 20px; font-weight: 800; color: var(--primary); }
.price-original { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }

/* ======= SALE & FEATURED BADGES ======= */
.sale-badge { position: absolute; top: 10px; left: 10px; background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; padding: 6px 10px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 800; z-index: 2; line-height: 1.2; text-align: center; box-shadow: 0 2px 8px rgba(239,68,68,0.3); }
.featured-badge { position: absolute; top: 10px; right: 10px; background: linear-gradient(135deg, #f59e0b, #f97316); color: #fff; padding: 5px 10px; border-radius: var(--radius-sm); font-size: 11px; font-weight: 700; z-index: 2; display: flex; align-items: center; gap: 4px; box-shadow: 0 2px 8px rgba(245,158,11,0.3); }
.featured-badge i { font-size: 10px; }

/* ======= CARD ACTIONS BUTTONS ======= */
.card-actions-two { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }
.btn-card { flex: 1 1 auto; min-width: max-content; padding: 9px 6px; border: none; border-radius: var(--radius-sm); font-size: 12px; font-weight: 700; cursor: pointer; transition: all 0.25s ease; font-family: inherit; display: flex; align-items: center; justify-content: center; gap: 4px; text-align: center; }
.btn-card i { flex-shrink: 0; font-size: 11px; }
.btn-card span { white-space: nowrap; }
.btn-card-cart { background: linear-gradient(135deg, #4f46e5, #6366f1); color: #fff; }
.btn-card-cart[style] { background: unset; }
.btn-card-cart:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(79,70,229,0.35); }
.btn-card-buy { background: linear-gradient(135deg, #059669, #10b981); color: #fff; }
.btn-card-buy[style] { background: unset; }
.btn-card-buy:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(16,185,129,0.35); }

/* ======= CATEGORY CARD ICONS ======= */
.category-card h3 { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.cat-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); margin: 0 auto 10px; font-size: 22px; 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); }

/* ======= FEATURES GRID ======= */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.feature-card { background: var(--white); border-radius: var(--radius); padding: 24px 18px; text-align: center; border: 1px 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: 32px; margin-bottom: 12px; display: block; }
.feature-card h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--text-light); line-height: 1.5; }

/* ======= SHOP PAGE ======= */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; max-width: 1280px; margin: 0 auto; padding: 20px; }
.shop-sidebar { background: var(--white); border-radius: var(--radius); padding: 20px; border: 1px solid var(--border); height: fit-content; position: sticky; top: 72px; }
.sidebar-title { font-size: 15px; 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 12px; 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: 20px; font-weight: 700; color: var(--text); }
.sort-select { padding: 9px 16px; border: 1px solid var(--border); border-radius: 50px; background: var(--white); color: var(--text); font-size: 13px; cursor: pointer; outline: none; }
.filter-group { margin-bottom: 18px; }
.filter-group h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.filter-group label { display: flex; align-items: center; gap: 8px; padding: 5px 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: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 12px; 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 14px; background: var(--white); border: 1px solid var(--border); border-radius: 50px; color: var(--text); font-size: 13px; outline: none; }
.filter-toggle-btn { display: none; background: var(--white); border: 1px solid var(--border); color: var(--text); padding: 8px 16px; border-radius: var(--radius-sm); cursor: pointer; font-size: 13px; }
.results-count { font-size: 13px; color: var(--text-muted); }

/* ======= 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: 1px solid var(--border); position: relative; }
.product-image-main img { width: 100%; height: auto; display: block; max-height: 500px; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumb { width: 68px; height: 68px; min-width: 68px; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid var(--border); cursor: pointer; transition: var(--transition); opacity: 0.6; }
.gallery-thumb:hover { opacity: 0.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: 24px; 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: 50px; font-size: 12px; margin-bottom: 10px; font-weight: 600; }
.product-price-big { margin-bottom: 12px; }
.product-price-big .current { font-size: 28px; font-weight: 800; 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 14px; border-radius: 50px; font-size: 13px; font-weight: 700; margin-bottom: 14px; border: 1px solid rgba(239,68,68,0.2); }
.product-description { color: var(--text-light); line-height: 1.8; margin-bottom: 18px; font-size: 14px; }

.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: 10px 22px; 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); }
.variation-btn:hover { border-color: var(--primary) !important; color: var(--primary) !important; background: var(--primary-bg) !important; }
.variation-btn.active:not(.color-swatch) { border-color: var(--primary) !important; background: var(--primary) !important; color: #fff !important; }
.color-swatch { position: relative; }
.color-swatch:hover { transform: scale(1.15); }
.color-swatch.active { border-color: var(--primary) !important; box-shadow: 0 0 0 3px rgba(79,70,229,0.2) !important; transform: scale(1.1); }
.color-swatch.active::after { content: '\2713'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); color: #fff; font-size: 16px; font-weight: 900; text-shadow: 0 1px 2px rgba(0,0,0,0.4); }
.color-tooltip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--text); color: #fff; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.color-tooltip::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--text); }
.color-swatch:hover .color-tooltip { opacity: 1; }

.quantity-row { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.qty-btn { width: 38px; height: 38px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); color: var(--primary); font-size: 18px; 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: 54px; height: 38px; text-align: center; border: 1px 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: 14px 16px; 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 { opacity: 0.9; transform: translateY(-2px); box-shadow: var(--shadow); }
.action-buy { background: var(--success); color: #fff; }
.action-buy:hover { opacity: 0.9; transform: translateY(-2px); }
.action-whatsapp { background: #25d366; color: #fff; }
.action-whatsapp:hover { opacity: 0.9; transform: translateY(-2px); }
.action-call { background: var(--orange); color: #fff; }
.action-call:hover { opacity: 0.9; transform: translateY(-2px); }

.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: 13px; 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: 1px 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: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.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 — PREMIUM REDESIGN ======= */
@keyframes cartItemIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@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; }

/* Page Header */
.cart-page-header { background: linear-gradient(135deg,#4f46e5,#6366f1); border-radius: 20px; padding: 28px 32px; margin-bottom: 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.cart-page-header .page-title { font-size: 24px; font-weight: 900; color: #fff; margin-bottom: 0; }
.cart-page-header .page-title i { color: rgba(255,255,255,0.8); }
.cart-page-header .cart-count-badge { background: rgba(255,255,255,0.2); color: #fff; border: 1.5px solid rgba(255,255,255,0.35); padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; backdrop-filter: blur(6px); }
.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); }

/* Layout */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.cart-items-section { min-height: 100px; }

/* Section Label */
.cart-items-label { font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 14px; padding-left: 4px; }

/* Cart Item Card — Premium */
.cart-item {
    display: flex; align-items: center; gap: 18px;
    background: var(--white); border-radius: 18px;
    padding: 18px 20px; margin-bottom: 14px;
    border: 1.5px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    animation: cartItemIn 0.35s ease both;
    position: relative; overflow: hidden;
}
.cart-item::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: linear-gradient(180deg,#4f46e5,#6366f1);
    border-radius: 4px 0 0 4px; opacity: 0;
    transition: opacity 0.3s ease;
}
.cart-item:hover { box-shadow: 0 8px 32px rgba(79,70,229,0.12); border-color: rgba(99,102,241,0.35); transform: translateY(-2px); }
.cart-item:hover::before { opacity: 1; }

/* Image */
.cart-item-image {
    width: 90px; height: 90px; border-radius: 14px;
    overflow: hidden; background: var(--bg); flex-shrink: 0;
    border: 1px solid var(--border); position: relative;
}
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cart-item:hover .cart-item-image img { transform: scale(1.07); }

/* Info */
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
    font-size: 15px; 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 10px; border-radius: 999px; margin-left: 6px; }

/* Price */
.cart-item-price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.cart-item-current { font-size: 17px; font-weight: 900; color: var(--primary); }
.cart-item-original { font-size: 13px; 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,#ef4444,#f97316);
    padding: 2px 8px; border-radius: 999px;
    animation: pulse-badge 2s ease infinite;
}

/* Qty Controls — New classes from JS */
.cart-item-qty { display: flex; align-items: center; gap: 0; margin: 0 10px; flex-shrink: 0; }
.qty-ctrl {
    width: 34px; height: 34px; border: 1.5px solid var(--border);
    background: var(--bg); cursor: pointer; font-size: 18px; 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: 10px 0 0 10px; }
.qty-ctrl:last-child  { border-radius: 0 10px 10px 0; }
.qty-ctrl:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.qty-num {
    min-width: 40px; height: 34px; 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);
}

/* Old qty button compatibility */
.cart-item-qty button { width: 34px; height: 34px; border: 1.5px solid var(--border); background: var(--bg); cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: var(--transition); color: var(--text); }
.cart-item-qty button:first-child { border-radius: 10px 0 0 10px; }
.cart-item-qty button:last-child { border-radius: 0 10px 10px 0; }
.cart-item-qty button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.cart-item-qty input { width: 40px; height: 34px; 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); }

/* Item Total */
.cart-item-total { font-size: 16px; font-weight: 900; color: var(--text); min-width: 70px; text-align: right; flex-shrink: 0; }

/* Remove Button */
.cart-item-remove {
    width: 36px; height: 36px; border-radius: 50%; border: none;
    background: #fef2f2; color: var(--danger); font-size: 14px;
    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 SIDEBAR — Premium ---- */
.cart-summary {
    background: var(--white); border-radius: 20px; overflow: hidden;
    border: 1.5px solid var(--border); position: sticky; top: 80px;
    box-shadow: 0 8px 32px rgba(79,70,229,0.08);
}
.cart-summary-header {
    background: linear-gradient(135deg,#4f46e5,#6366f1);
    padding: 20px 24px; color: #fff;
}
.cart-summary-header h3 { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 10px; margin: 0; color: #fff; }
.cart-summary-header i { opacity: 0.85; }
.cart-summary-body { padding: 20px 24px; }

.cart-summary-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 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: 20px; font-weight: 900; color: var(--primary);
    padding: 16px 0 4px; margin-top: 6px;
    border-top: 2px solid var(--primary-bg); border-bottom: none;
}
.cart-summary-row.total span:last-child { color: var(--primary); }
.cart-summary-row.discount { color: var(--success); font-weight: 700; }

/* Coupon Form */
.coupon-form { display: flex; gap: 8px; margin: 16px 0; }
.coupon-form input { flex: 1; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 10px; font-size: 13px; outline: none; font-family: inherit; background: var(--bg); color: var(--text); transition: var(--transition); }
.coupon-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }
.coupon-form button { padding: 10px 18px; background: var(--primary); color: #fff; border: none; border-radius: 10px; font-size: 13px; font-weight: 700; cursor: pointer; transition: var(--transition); font-family: inherit; white-space: nowrap; }
.coupon-form button:hover { background: #4338ca; transform: translateY(-1px); }

.cart-note { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.cart-note i { color: var(--primary); }

/* Trust Badges */
.cart-trust-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
.trust-badge { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--bg); border-radius: 10px; border: 1px solid var(--border-light); font-size: 11px; color: var(--text-light); font-weight: 600; }
.trust-badge i { font-size: 15px; color: var(--primary); }
.trust-badge.green i { color: var(--success); }
.trust-badge.orange i { color: var(--orange); }
.trust-badge.red i { color: var(--danger); }

/* Cart Empty State */
.cart-empty {
    text-align: center; padding: 80px 20px;
    background: var(--white); border-radius: 20px;
    border: 2px dashed var(--border);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.cart-empty .empty-icon { font-size: 72px; color: var(--border); margin-bottom: 20px; animation: pulse-badge 3s ease infinite; }
.cart-empty h3 { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.cart-empty p { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }


/* ======= CHECKOUT / FORMS ======= */
.checkout-page { max-width: 700px; margin: 0 auto; padding: 20px; position: relative; z-index: 1; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 13px; color: var(--text-light); }
.form-control { width: 100%; padding: 11px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; outline: none; transition: var(--transition); font-family: inherit; background: var(--white); color: var(--text); }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }
textarea.form-control { resize: vertical; min-height: 70px; }

/* ======= AUTH ======= */
.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: 36px; width: 100%; max-width: 420px; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.auth-card h1 { font-size: 24px; 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: 24px; font-size: 14px; }
.auth-card .auth-footer { text-align: center; margin-top: 18px; 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: 260px 1fr; gap: 28px; max-width: 1280px; margin: 0 auto; padding: 28px 20px; position: relative; z-index: 1; }
.dashboard-layout > *:last-child { min-width: 0; }

/* Sidebar — both naming conventions */
.dash-sidebar, .dashboard-sidebar {
    background: #fff; border-radius: 16px;
    padding: 0; border: 1px solid #e8eaf0;
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
    height: fit-content; position: sticky; top: 80px;
    overflow: hidden;
}
.dashboard-sidebar > div:first-child {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    padding: 24px 20px;
}
.dashboard-sidebar > div:first-child div:first-child {
    width: 64px; height: 64px; border-radius: 50%;
    background: rgba(255,255,255,.25); backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 28px; font-weight: 800;
    margin: 0 auto 12px; border: 3px solid rgba(255,255,255,.4);
}
.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;
}

/* Menu — both naming conventions */
.dash-menu, .dashboard-menu {
    list-style: none; padding: 12px; margin: 0;
}
.dash-menu a, .dashboard-menu a {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 14px; border-radius: 10px;
    color: #4b5563; font-size: 13px; font-weight: 600;
    transition: all .2s; margin-bottom: 3px;
    text-decoration: none;
}
.dash-menu a:hover, .dashboard-menu a:hover,
.dash-menu a.active, .dashboard-menu a.active {
    background: #eef2ff; color: #4f46e5;
}
.dashboard-menu a[style*="var(--danger)"] { color: #ef4444 !important; }
.dashboard-menu a[style*="var(--danger)"]:hover { background: #fef2f2; }
.dash-menu i, .dashboard-menu i { font-size: 16px; flex-shrink: 0; }

/* ======= BREADCRUMBS ======= */
.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 ======= */
.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: 1px 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 ======= */
.data-table-wrapper { background: var(--white); border-radius: var(--radius); overflow-x: auto; border: 1px 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: 0.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: 4px 10px; border-radius: 50px; font-size: 11px; font-weight: 600; }
.badge-success { background: #ecfdf5; color: var(--success); }
.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 ======= */
.empty-state { text-align: center; padding: 50px 20px; }
.empty-state i { font-size: 56px; 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 ======= */
.payment-info-box { background: var(--primary-bg); border: 1px solid rgba(79,70,229,0.15); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; }
.payment-info-box h4 { font-size: 15px; 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; }
.product-features { margin-bottom: 14px; }
.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; }

/* ======= PREMIUM FOOTER ======= */
.store-footer { background: #0f172a; color: rgba(255,255,255,0.75); margin-top: 40px; }

/* Newsletter Strip */
.footer-newsletter-strip {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #06b6d4 100%);
    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: 0.9; }
.footer-nl-text strong { display: block; font-size: 15px; font-weight: 800; margin-bottom: 2px; }
.footer-nl-text span { font-size: 12px; opacity: 0.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: 50px; border: none;
    font-size: 13px; outline: none; font-family: inherit;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.footer-nl-btn {
    padding: 10px 22px; border-radius: 50px; border: none;
    background: #fff; color: #4f46e5; font-weight: 800; font-size: 13px;
    cursor: pointer; white-space: nowrap; transition: all 0.2s;
    display: flex; align-items: center; gap: 6px;
}
.footer-nl-btn:hover { background: #fef3c7; color: #4f46e5; transform: scale(1.04); }

/* Main Footer */
.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: 0.12;
}
.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;
}

/* Col Titles */
.footer-col-title {
    font-size: 13px; font-weight: 800; color: #fff; text-transform: uppercase;
    letter-spacing: 0.8px; margin-bottom: 18px;
    display: flex; align-items: center; gap: 8px;
}
.footer-col-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    flex-shrink: 0; display: inline-block;
}

/* Brand Col */
.footer-logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 16px; flex-shrink: 0;
}
.footer-logo-name { font-size: 18px; font-weight: 800; color: #fff; }
.footer-brand-desc { font-size: 13px; line-height: 1.8; opacity: 0.75; 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: 50px;
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 11px; color: rgba(255,255,255,0.75);
    background: rgba(255,255,255,0.06);
}
.footer-mini-badge i { color: #a5b4fc; font-size: 10px; }

.footer-social { display: flex; gap: 10px; }
.footer-social-btn {
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; color: #fff; transition: all 0.25s; 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); }

/* Quick Links */
.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,0.65); text-decoration: none;
    padding: 5px 0; transition: all 0.2s; border-radius: 4px;
}
.footer-links-list li a i { font-size: 10px; color: #6366f1; transition: transform 0.2s; }
.footer-links-list li a:hover { color: #a5b4fc; padding-left: 4px; }
.footer-links-list li a:hover i { transform: translateX(3px); }

/* Contact */
.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 12px; }
.footer-contact-icon {
    width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
    background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.2);
    display: flex; align-items: center; justify-content: center;
    color: #818cf8; font-size: 13px;
}
.footer-contact-list li div small {
    display: block; font-size: 10px; color: rgba(255,255,255,0.4);
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px;
}
.footer-contact-list li div span { font-size: 13px; color: rgba(255,255,255,0.75); }

/* Payment Cards */
.footer-payment-cards { display: flex; flex-direction: column; gap: 8px; }
.footer-pay-card {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: 10px;
    font-size: 13px; font-weight: 600; color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
}
.footer-pay-card i { font-size: 16px; }
.footer-pay-card.cod { background: rgba(22,163,74,0.18); border-color: rgba(22,163,74,0.25); }
.footer-pay-card.cod i { color: #4ade80; }
.footer-pay-card.bkash { background: rgba(226,19,110,0.18); border-color: rgba(226,19,110,0.25); }
.footer-pay-card.bkash i { color: #f472b6; }
.footer-pay-card.nagad { background: rgba(234,88,12,0.18); border-color: rgba(234,88,12,0.25); }
.footer-pay-card.nagad i { color: #fb923c; }

/* Guarantee */
.footer-guarantee { display: flex; flex-direction: column; gap: 10px; }
.footer-guarantee-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 12px; color: rgba(255,255,255,0.65);
}
.footer-guarantee-item i { color: #a5b4fc; font-size: 13px; width: 16px; }

/* Bottom Bar */
.footer-bottom-bar {
    background: rgba(0,0,0,0.35);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 16px 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: 13px; color: rgba(255,255,255,0.45); }
.footer-copyright strong { color: rgba(255,255,255,0.7); }
.footer-bottom-links { display: flex; align-items: center; gap: 10px; }
.footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-bottom-links a:hover { color: #a5b4fc; }
.footer-bottom-sep { color: rgba(255,255,255,0.2); font-size: 12px; }

/* ===== DEV BADGE (Desktop Footer) ===== */
.footer-bottom-inner {
    display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.dev-badge {
    display: inline-flex; align-items: center; gap: 8px;
    text-decoration: none; color: rgba(255,255,255,0.5);
    font-size: 12px; transition: opacity .2s;
}
.dev-badge:hover { opacity: 0.8; }
.dev-badge-text { color: rgba(255,255,255,0.4); }
.dev-badge-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(135deg, #6c2ea9, #a855f7);
    color: #fff; padding: 4px 12px; border-radius: 20px;
    font-size: 12px; font-weight: 700; letter-spacing: .3px;
    box-shadow: 0 2px 8px rgba(108,46,169,.5);
    transition: box-shadow .2s;
}
.dev-badge:hover .dev-badge-pill { box-shadow: 0 4px 16px rgba(108,46,169,.7); }
.dev-badge-pill i { font-size: 10px; }

/* ===== MOBILE DEV BAR (above bottom nav) ===== */
.mobile-dev-bar {
    display: none;
    text-align: center; padding: 8px 16px;
    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, #6c2ea9, #a855f7);
    color: #fff; padding: 3px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 700; text-decoration: none;
    box-shadow: 0 2px 6px rgba(108,46,169,.4);
}
.mobile-dev-pill i { font-size: 9px; }

@media (max-width: 768px) {
    .mobile-dev-bar { display: flex; }
    /* push above mobile bottom nav */
    .mobile-dev-bar { order: -1; }
}

/* ====== FLOATING CHAT WIDGET ====== */
.chat-widget-wrap {
    position: fixed; bottom: 90px; z-index: 9999;
    display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.cw-right { right: 20px; align-items: flex-end; }
.cw-left  { left: 20px;  align-items: flex-start; }

.cw-main-btn {
    width: 56px; height: 56px; border-radius: 50%; border: none;
    color: #fff; font-size: 22px; cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,.3);
    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 24px rgba(0,0,0,.35); }
.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 .25s ease, transform .25s 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: 10px;
    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: 17px; flex-shrink: 0; }
.cw-wa    { background: #25D366; }
.cw-phone { background: #6c2ea9; }
.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: 6px 14px; border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
    white-space: nowrap; order: -1;
    animation: cwPulse 2s ease infinite;
}
@keyframes cwPulse {
    0%,100% { transform: scale(1); }
    50%      { transform: scale(1.03); }
}

@media (max-width: 768px) {
    .chat-widget-wrap { bottom: 130px; }
    .cw-label { display: none; }
    .cw-option { padding: 10px; border-radius: 50%; }
    .cw-option i { font-size: 18px; }
    .cw-main-btn { width: 50px; height: 50px; font-size: 20px; }
}
/* ====== END CHAT WIDGET ====== */

/* ======= RESPONSIVE ======= */
@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; }
    .sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1000; }
    .sidebar-overlay.open { display: block; }
    .product-detail-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .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: 340px; }
    .demo-banner-inner { min-height: 300px; padding: 40px 24px; }
    .cart-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
}

@media (max-width: 768px) {
    /* ====== 3-TIER HEADER: MOBILE OVERRIDES ====== */
    /* Hide offer bar (tier 1) on mobile */
    .offer-bar { display: none !important; }
    /* Hide full navbar (tier 3) on mobile */
    .store-navbar { display: none !important; }
    /* Hide right-side action buttons (wishlist, cart(desktop), profile) */
    .header-actions { display: none !important; }
    /* Show only mobile hamburger & mobile cart btn */
    .mobile-menu-btn { display: block !important; }
    .mobile-cart-btn { display: flex !important; align-items: center; }
    /* Center logo absolutely between hamburger and cart */
    .main-header-inner { position: relative; justify-content: space-between; padding: 10px 14px; }
    .store-logo { position: absolute; left: 50%; transform: translateX(-50%); }
    .logo-sub { display: none !important; }
    .logo-main { font-size: 18px !important; }
    /* Show mobile search bar below header (flex for search+OFFER button) */
    .mobile-search-bar { display: flex !important; }
    /* Hide DESKTOP offer button on mobile (mobile has its own in search bar) */
    .header-offer-btn { display: none !important; }
    /* OLD header classes (fallback) */
    .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; }

    /* 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 { grid-template-columns: 1fr 1fr; gap: 20px; }

    /* Card buttons at 768px */
    .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: 19px; }

    /* 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; }

    /* 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: 13px; }
    .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; }
    .demo-btn { padding: 10px 20px !important; font-size: 13px !important; }

    /* Hero split — tablet */
    .hero-split-wrap { grid-template-columns: 1fr 200px; gap: 8px; padding: 8px; }
    .hero-slider-col { min-height: 280px; 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: 280px; min-height: 280px; max-height: 280px; }
    .hero-offer-card { min-height: 134px; border-radius: 10px; }
    .hero-offers-col { gap: 8px; }
    /* Footer 768 */
    .footer-nl-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
    .footer-nl-form { min-width: 100%; max-width: 100%; }
    .footer-grid-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
    /* ===== CART — 768px RESPONSIVE ===== */
    .cart-page { padding: 14px 12px 70px; }
    .cart-page-header { padding: 18px 20px; border-radius: 14px; margin-bottom: 18px; flex-direction: column; align-items: flex-start; gap: 8px; }
    .cart-page-header .page-title { font-size: 20px; }
    .cart-page-header .cart-count-badge { font-size: 12px; padding: 5px 14px; }
    /* Single column: items on top, summary below */
    .cart-layout { grid-template-columns: 1fr; gap: 18px; }
    /* Summary sidebar becomes normal flow (not sticky on mobile) */
    .cart-summary { position: static; border-radius: 16px; }
    .cart-summary-header { padding: 16px 20px; }
    .cart-summary-body { padding: 16px 20px; }
    /* Cart item cards */
    .cart-item { gap: 12px; padding: 14px 16px; border-radius: 14px; }
    .cart-item-image { width: 72px; height: 72px; border-radius: 10px; }
    .cart-item-name { font-size: 13px; white-space: normal; }
    .cart-item-current { font-size: 15px; }
    .cart-item-original { font-size: 12px; }
    .cart-item-total { font-size: 14px; min-width: 58px; }
    /* Qty row tighter */
    .cart-item-qty { margin: 0 6px; }
    .qty-ctrl { width: 30px; height: 30px; font-size: 16px; }
    .qty-num { min-width: 34px; height: 30px; font-size: 13px; }
    /* Trust badges 2x2 grid */
    .cart-trust-badges { grid-template-columns: 1fr 1fr; gap: 7px; }
    .trust-badge { font-size: 10px; padding: 8px 10px; border-radius: 8px; gap: 6px; }
    /* Summary total */
    .cart-summary-row.total { font-size: 18px; }
    /* Checkout button */
    .cart-summary-body .action-btn { font-size: 14px !important; padding: 13px !important; }

    /* Checkout */
    .checkout-page { padding: 12px; }
    .checkout-steps { gap: 4px; }

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

    /* Features grid */
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

    /* Bottom Nav */
    .bottom-nav-item i { font-size: 20px; }
    .bottom-nav-item { font-size: 11px; }
}

@media (max-width: 480px) {
    /* Products */
    .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; -webkit-line-clamp: 2; line-clamp: 2; }
    .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 detail */
    .product-btn-grid { grid-template-columns: 1fr; }
    .action-btn { font-size: 13px; }

    /* Banner */
    .banner-slide img { max-height: 160px; }
    .banner-slide .banner-overlay { padding: 10px 12px; }
    .banner-slide .banner-overlay h2 { font-size: 14px; }
    .banner-slide .banner-overlay p { font-size: 10px; }
    .banner-nav-btn { width: 26px; height: 26px; font-size: 11px; }
    .demo-banner-inner { min-height: 160px; padding: 18px 12px; }
    .demo-banner-inner h1 { font-size: 17px; }
    .demo-banner-inner p { font-size: 11px; margin-bottom: 10px; }
    .demo-badge { font-size: 10px !important; padding: 4px 10px !important; }
    .demo-btn { padding: 8px 14px !important; font-size: 11px !important; }
    .demo-features { gap: 5px !important; }
    .demo-features > div { padding: 5px 8px !important; font-size: 10px !important; }

    /* Hero split — mobile */
    .hero-split-wrap { grid-template-columns: 1fr; gap: 6px; padding: 6px; }
    .hero-slider-col { min-height: 200px; 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: 200px; min-height: 200px; max-height: 200px; }
    .hero-offers-col { flex-direction: row; gap: 6px; }
    .hero-offer-card { min-height: 110px; border-radius: 10px; }

    /* Footer 480 */
    .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 */
    .features-grid { grid-template-columns: 1fr 1fr; }
    .feature-card { padding: 16px 10px; }
    .feature-card .feature-icon { font-size: 24px; margin-bottom: 6px; }
    .feature-card h4 { font-size: 12px; }
    .feature-card p { font-size: 11px; }

    /* Typography */
    .section-title { font-size: 17px; }
    .view-all-link { font-size: 11px; padding: 5px 12px; }
    .page-title { font-size: 18px; }

    /* ===== CART — 480px COMPACT ===== */
    .cart-page { padding: 10px 8px 80px; }
    .cart-page-header { padding: 14px 16px; border-radius: 12px; margin-bottom: 14px; }
    .cart-page-header .page-title { font-size: 17px; }
    .cart-page-header .cart-count-badge { font-size: 11px; padding: 4px 12px; }
    /* Items */
    .cart-item { gap: 10px; padding: 12px 12px; border-radius: 12px; margin-bottom: 10px; flex-wrap: nowrap; }
    .cart-item::before { width: 3px; }
    .cart-item-image { width: 58px; height: 58px; border-radius: 8px; flex-shrink: 0; }
    .cart-item-name { font-size: 12px; }
    .cart-item-price { gap: 5px; }
    .cart-item-current { font-size: 13px; }
    .cart-item-original { font-size: 11px; }
    .cart-item-badge { font-size: 9px; padding: 1px 6px; }
    .cart-item-total { font-size: 13px; min-width: 50px; }
    .cart-item-remove { width: 30px; height: 30px; font-size: 12px; }
    /* Qty */
    .cart-item-qty { margin: 0 4px; }
    .qty-ctrl { width: 26px; height: 26px; font-size: 14px; }
    .qty-ctrl:first-child { border-radius: 7px 0 0 7px; }
    .qty-ctrl:last-child  { border-radius: 0 7px 7px 0; }
    .qty-num { min-width: 28px; height: 26px; font-size: 12px; }
    /* Summary */
    .cart-summary-header { padding: 14px 16px; }
    .cart-summary-body { padding: 14px 16px; }
    .cart-summary-row { font-size: 13px; padding: 8px 0; }
    .cart-summary-row.total { font-size: 16px; }
    /* Trust badges single row scroll */
    .cart-trust-badges { grid-template-columns: 1fr 1fr; gap: 6px; }
    .trust-badge { font-size: 10px; padding: 7px 8px; }
    /* Coupon */
    .coupon-form input { font-size: 12px; padding: 8px 10px; border-radius: 8px; }
    .coupon-form button { font-size: 12px; padding: 8px 12px; border-radius: 8px; }
    /* Items label */
    .cart-items-label { font-size: 11px; margin-bottom: 10px; }

    /* Bottom Nav on small phones */
    .mobile-bottom-nav { padding-bottom: env(safe-area-inset-bottom, 6px); }
    .bottom-nav-item { font-size: 10px; gap: 1px; }
    .bottom-nav-item i { font-size: 18px; }
}

/* ======= VARIATION BUTTON STYLES ======= */
.variation-btn {
    transition: all 0.2s ease !important;
    position: relative;
}
/* Regular buttons (not color swatches) hover/active */
.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(79,70,229,0.15) !important;
    font-weight: 700 !important;
}

/* Color Swatch — never override background color */
.variation-btn.color-swatch.active {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.25), inset 0 0 0 2px #fff !important;
    transform: scale(1.15);
}
.variation-btn.color-swatch:hover {
    transform: scale(1.1);
    border-color: var(--primary-light) !important;
}

/* Color Swatch Tooltip */
.color-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: #1e293b;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 10;
}
.color-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1e293b;
}
.variation-btn.color-swatch:hover .color-tooltip,
.variation-btn.color-swatch.active .color-tooltip {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}
