/* ============================
   BD Tech — Premium Multi-Theme CSS v2.0
   ============================ */

:root {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --primary-light: #fb923c;
    --primary-soft: #fff7ed;
    --secondary: #0f172a;
    --accent: #fbbf24;
    --bg: #f8fafc;
    --card: #ffffff;
    --text: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.07);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
}

[data-theme="blue"] {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-soft: #eff6ff;
    --accent: #06b6d4;
}

[data-theme="green"] {
    --primary: #059669;
    --primary-dark: #047857;
    --primary-light: #10b981;
    --primary-soft: #ecfdf5;
    --accent: #84cc16;
}

[data-theme="dark"] {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --primary-soft: #2e1065;
    --accent: #ec4899;
    --bg: #0f172a;
    --card: #1e293b;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --border: #334155;
    --secondary: #020617;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Hind Siliguri', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    line-height: 1.6;
    font-size: 15px;
    transition: background 0.3s, color 0.3s;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ============================
   TOP BAR
   ============================ */
.topbar {
    background: var(--secondary);
    color: #cbd5e1;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.topbar-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1;
    font-weight: 500;
}
.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.lang-switch { display: inline-flex; gap: 4px; }
.lang-switch a {
    color: #94a3b8;
    padding: 3px 8px;
    border-radius: 6px;
    transition: all 0.2s;
    font-weight: 500;
}
.lang-switch a:hover { color: #fff; }
.lang-switch a.active {
    color: var(--primary-light);
    background: rgba(249, 115, 22, 0.15);
    font-weight: 700;
}

.theme-switcher {
    display: inline-flex;
    gap: 6px;
    background: rgba(0,0,0,0.2);
    padding: 4px 8px;
    border-radius: 999px;
}
.theme-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    cursor: pointer;
    transition: transform 0.2s, border 0.2s;
}
.theme-dot:hover { transform: scale(1.2); border-color: #fff; }
.theme-dot.orange { background: #f97316; }
.theme-dot.blue { background: #2563eb; }
.theme-dot.green { background: #059669; }
.theme-dot.dark { background: #8b5cf6; }

/* ============================
   HEADER
   ============================ */
.header {
    background: var(--card);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-main {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.menu-toggle {
    background: var(--bg);
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}
.menu-toggle:hover { background: var(--border); }

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    flex-shrink: 0;
}
.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(249,115,22,0.3);
    flex-shrink: 0;
}
.logo-text { line-height: 1; }
.logo-text span { color: var(--secondary); }
[data-theme="dark"] .logo-text span { color: #f1f5f9; }

.search-form {
    flex: 1;
    max-width: 560px;
    display: flex;
    background: var(--bg);
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, background 0.2s;
}
.search-form:focus-within {
    border-color: var(--primary);
    background: var(--card);
}
.search-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text);
    outline: none;
    font-family: inherit;
    min-width: 0;
}
.search-form input::placeholder { color: var(--text-muted); }
.search-form button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
    white-space: nowrap;
}
.search-form button:hover { background: var(--primary-dark); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}
.header-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    background: var(--bg);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    transition: all 0.2s;
    position: relative;
    border: none;
    white-space: nowrap;
}
.header-btn:hover { background: var(--border); }
.header-btn .icon {
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.header-btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 12px rgba(249,115,22,0.25);
}
.header-btn.primary:hover {
    box-shadow: 0 6px 16px rgba(249,115,22,0.35);
    transform: translateY(-1px);
}
.header-btn.danger { color: var(--danger); }

.cart-badge {
    position: absolute;
    top: -6px; right: -6px;
    background: var(--danger);
    color: #fff;
    font-size: 10px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid var(--card);
}

/* ============================
   DESKTOP NAV
   ============================ */
.nav-menu {
    display: flex;
    gap: 6px;
    padding: 8px 0 12px;
    border-top: 1px solid var(--border);
    overflow-x: auto;
    scrollbar-width: none;
}
.nav-menu::-webkit-scrollbar { display: none; }
.nav-menu a {
    white-space: nowrap;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s;
}
.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary);
    background: var(--primary-soft);
    font-weight: 600;
}

/* ============================
   MOBILE SEARCH BAR
   ============================ */
.mobile-search {
    display: none;
    padding: 10px 0;
    border-top: 1px solid var(--border);
}
.mobile-search .search-form { max-width: 100%; }

/* ============================
   SIDEBAR
   ============================ */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.6);
    backdrop-filter: blur(2px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.sidebar-overlay.active { opacity: 1; visibility: visible; }

.sidebar {
    position: fixed;
    top: 0; left: -340px;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--card);
    z-index: 999;
    overflow-y: auto;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 8px 0 32px rgba(0,0,0,0.15);
}
.sidebar.active { left: 0; }

.sidebar-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sidebar-header h3 { margin: 0; font-size: 17px; font-weight: 700; }
.sidebar-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.sidebar-close:hover { background: rgba(255,255,255,0.3); }

.sidebar-menu { list-style: none; padding: 8px; margin: 0; }
.sidebar-menu li { margin-bottom: 2px; }
.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: var(--text);
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s;
}
.sidebar-menu a:hover {
    background: var(--primary-soft);
    color: var(--primary);
}
.sidebar-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

/* ============================
   HERO
   ============================ */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
    color: #fff;
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 40%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero h1 {
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.15;
    letter-spacing: -1px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.hero p {
    font-size: clamp(14px, 2vw, 18px);
    opacity: 0.95;
    margin: 0 0 28px;
    font-weight: 400;
}
.hero .btn { padding: 14px 32px; font-size: 16px; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-family: inherit;
}
.btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-light { background: #fff; color: var(--primary); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.btn-light:hover { background: #f8fafc; }
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ============================
   SECTION
   ============================ */
.section { padding: 48px 0; }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 12px;
}
.section-head h2 {
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-head a {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

/* ============================
   CATEGORY GRID
   ============================ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
@media (min-width: 640px) {
    .category-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
@media (min-width: 900px) {
    .category-grid { grid-template-columns: repeat(6, 1fr); gap: 18px; }
}
.category-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid var(--border);
}
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.category-card .cat-icon {
    width: 60px; height: 60px;
    margin: 0 auto 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    box-shadow: 0 6px 16px rgba(249,115,22,0.25);
    transition: transform 0.3s;
}
.category-card:hover .cat-icon { transform: scale(1.1) rotate(-5deg); }
.category-card h4 {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    color: var(--text);
    line-height: 1.3;
}

/* ============================
   PRODUCT GRID
   ============================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 640px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (min-width: 900px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

.product-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid var(--border);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    background: var(--bg);
    overflow: hidden;
    display: block;
}
.product-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.product-card:hover .product-image img { transform: scale(1.08); }

.product-image .no-image {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg), var(--border));
    font-size: 56px;
    color: var(--text-muted);
}

.discount-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: linear-gradient(135deg, var(--danger), #dc2626);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 9px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(239,68,68,0.4);
    letter-spacing: 0.3px;
}
.sold-badge {
    position: absolute;
    bottom: 10px; left: 10px;
    background: rgba(100,116,139,0.95);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}
.wishlist-btn {
    position: absolute;
    top: 10px; right: 10px;
    width: 34px; height: 34px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.wishlist-btn:hover { transform: scale(1.1); background: #fff; }

.product-info {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
}
.product-title:hover { color: var(--primary); }

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--warning);
    margin-bottom: 8px;
}
.product-rating .count {
    color: var(--text-muted);
    font-size: 11px;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.price-current {
    font-size: 19px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}
.price-old {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
}
.btn-add-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 8px;
    background: var(--primary-soft);
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    font-family: inherit;
}
.btn-add-cart:hover {
    background: var(--primary);
    color: #fff;
}
.btn-buy-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(249,115,22,0.25);
}
.btn-buy-now:hover {
    box-shadow: 0 6px 16px rgba(249,115,22,0.4);
    transform: translateY(-1px);
}
.btn-disabled {
    grid-column: 1 / -1;
    padding: 10px;
    background: var(--bg);
    color: var(--text-muted);
    border: 2px dashed var(--border);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    cursor: not-allowed;
}

/* ============================
   FOOTER
   ============================ */
.footer {
    background: var(--secondary);
    color: #cbd5e1;
    margin-top: 60px;
    padding: 50px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    padding-bottom: 40px;
}
.footer h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer p, .footer a {
    font-size: 14px;
    color: #94a3b8;
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
    line-height: 1.5;
}
.footer a:hover { color: var(--primary-light); }
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

/* ============================
   WHATSAPP FLOAT
   ============================ */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    z-index: 990;
    transition: transform 0.2s;
    animation: wa-pulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45); }
    50% { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.75); }
}

/* ============================
   MOBILE BOTTOM NAV
   ============================ */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--card);
    border-top: 1px solid var(--border);
    z-index: 995;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
}
.mobile-nav-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}
.mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 4px 6px;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    gap: 2px;
    position: relative;
    transition: color 0.2s;
}
.mobile-nav a.active { color: var(--primary); }
.mobile-nav-icon {
    font-size: 22px;
    position: relative;
    line-height: 1;
}

/* ============================
   FLASH
   ============================ */
.flash {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin: 14px 0;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.3s ease-out;
}
.flash.success { background: #d1fae5; color: #065f46; border-left: 4px solid #10b981; }
.flash.error { background: #fee2e2; color: #991b1b; border-left: 4px solid #ef4444; }
[data-theme="dark"] .flash.success { background: #064e3b; color: #a7f3d0; }
[data-theme="dark"] .flash.error { background: #7f1d1d; color: #fecaca; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 900px) {
    .nav-menu { display: none; }
}

@media (max-width: 768px) {
    body { padding-bottom: 62px; }
    
    .menu-toggle { display: flex; }
    
    /* Mobile header compact */
    .header-main {
        gap: 6px;
        padding: 10px 0;
    }
    
    /* Hide text in buttons, show icon */
    .header-actions {
        gap: 4px;
    }
    .header-actions .header-btn {
        padding: 10px 11px;
        font-size: 18px;
        gap: 0;
    }
    .header-actions .header-btn > span:not(.icon):not(.cart-badge) {
        display: none;
    }
    .header-actions .header-btn .icon {
        font-size: 20px;
        line-height: 1;
    }
    .header-actions .header-btn.primary {
        padding: 10px 12px;
    }
    
    /* Logo compact */
    .logo {
        font-size: 19px;
        gap: 6px;
    }
    .logo-icon {
        width: 34px;
        height: 34px;
        font-size: 17px;
        border-radius: 9px;
    }
    
    .search-form { display: none; }
    .mobile-search { display: block; }
    .mobile-nav { display: block; }
    .section { padding: 32px 0; }
    .hero { padding: 50px 0; }
    .hero h1 { font-size: 26px; }
    .hero .btn { padding: 12px 24px; font-size: 14px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer { padding: 36px 0 0; }
    .product-grid { gap: 10px; }
    .product-info { padding: 10px; }
    .product-title { font-size: 13px; min-height: 36px; }
    .price-current { font-size: 17px; }
    .btn-add-cart, .btn-buy-now { font-size: 12px; padding: 9px 4px; gap: 3px; }
    .whatsapp-float { bottom: 76px; right: 12px; width: 50px; height: 50px; }
}

@media (max-width: 400px) {
    .footer-grid { grid-template-columns: 1fr; }
    .header-actions .header-btn { padding: 9px 9px; }
    .header-actions .header-btn .icon { font-size: 18px; }
    .logo { font-size: 17px; }
    .logo-icon { width: 30px; height: 30px; font-size: 15px; }
}

/* ============================
   UTILITIES
   ============================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.hidden { display: none; }
.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; }
.mb-1 { margin-bottom: 4px; } .mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; }