:root {
    --primary-hover: #1d4ed8;
    --secondary: #64748b;
    --accent: #f59e0b;
    --bg-main: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-dark: #1e293b;
    --text-light: #64748b;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: #f8fafc;
    overflow-x: hidden;
}

/* ─── Cart Icon Button ─── */
.cart-icon-btn {
    position: relative;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s;
}
.cart-icon-btn:hover { color: var(--primary); }

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ─── Cart Drawer ─── */
.cart-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
    z-index: 3000;
    opacity: 0; visibility: hidden;
    transition: all 0.3s;
}
.cart-overlay.active { opacity: 1; visibility: visible; }

.cart-drawer {
    position: fixed;
    top: 0; right: 0;
    transform: translateX(100%);
    width: 420px; max-width: 95vw;
    height: 100vh;
    background: white;
    z-index: 3001;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    display: flex; flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex; justify-content: space-between; align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
}
.cart-drawer-header h3 { font-size: 1.1rem; font-weight: 700; margin: 0; }
.cart-drawer-header button {
    background: rgba(255,255,255,0.2); border: none;
    color: white; font-size: 1rem; width: 32px; height: 32px;
    border-radius: 50%; cursor: pointer; transition: background 0.2s;
}
.cart-drawer-header button:hover { background: rgba(255,255,255,0.35); }

.cart-drawer-body { flex: 1; overflow-y: auto; padding: 1rem; }

.cart-empty {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    height: 100%; gap: 1rem;
    color: var(--text-light);
}
.cart-empty i { font-size: 3rem; opacity: 0.3; }
.cart-empty p { font-size: 1rem; }

.cart-item {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding: 1rem; border-radius: 12px;
    border: 1px solid #f1f5f9; margin-bottom: 0.75rem;
    transition: box-shadow 0.2s;
}
.cart-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }

.cart-item-name { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; }
.cart-item-price { font-size: 0.8rem; color: var(--text-light); display: flex; align-items: center; gap: 0.5rem; }

.qty-input {
    width: 52px; border: 1px solid #e2e8f0;
    border-radius: 8px; padding: 2px 6px;
    font-size: 0.85rem; text-align: center;
}

.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.cart-item-total { font-weight: 800; color: var(--primary); font-size: 0.9rem; }

.remove-item {
    background: none; border: none; color: #ef4444;
    cursor: pointer; font-size: 0.8rem; padding: 4px;
    opacity: 0.6; transition: opacity 0.2s;
}
.remove-item:hover { opacity: 1; }

.cart-drawer-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
}
.cart-subtotal {
    display: flex; justify-content: space-between;
    font-size: 1rem; font-weight: 700; margin-bottom: 1rem;
}
.cart-subtotal strong { color: var(--primary); font-size: 1.25rem; }

/* ─── Checkout Modal ─── */
.checkout-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
    z-index: 4000; opacity: 0; visibility: hidden; transition: all 0.3s;
}
.checkout-modal-overlay.active { opacity: 1; visibility: visible; }

.checkout-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -48%) scale(0.96);
    width: 600px; max-width: 95vw; max-height: 90vh;
    background: white; border-radius: 20px;
    z-index: 4001; opacity: 0; visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}
.checkout-modal.open {
    opacity: 1; visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.checkout-modal-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    display: flex; justify-content: space-between; align-items: center;
    border-radius: 20px 20px 0 0;
}
.checkout-modal-header h3 { font-size: 1.1rem; font-weight: 700; margin: 0; }
.checkout-modal-header button {
    background: rgba(255,255,255,0.2); border: none;
    color: white; font-size: 1rem; width: 32px; height: 32px;
    border-radius: 50%; cursor: pointer;
}

.checkout-modal-body { padding: 1.5rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-col { display: flex; flex-direction: column; gap: 0.35rem; }
.form-col.full { grid-column: 1 / -1; }
.form-col label { font-weight: 600; font-size: 0.85rem; color: var(--text-dark); }
.form-col input,
.form-col textarea {
    border: 1px solid #e2e8f0; border-radius: 10px;
    padding: 0.65rem 0.9rem; font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-col input:focus,
.form-col textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Order summary inside checkout */
.order-summary {
    background: #f8fafc; border-radius: 12px;
    padding: 1rem; margin-bottom: 1.25rem;
}
.order-summary h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.75rem; }
.summary-row {
    display: flex; justify-content: space-between;
    font-size: 0.85rem; color: var(--text-light);
    padding: 0.3rem 0; border-bottom: 1px dashed #e2e8f0;
}
.summary-row:last-child { border-bottom: none; }
.summary-row.total {
    font-weight: 800; color: var(--primary);
    font-size: 1rem; margin-top: 0.5rem; padding-top: 0.5rem;
}

.w-full { width: 100%; }
.checkout-submit-btn { padding: 0.85rem; font-size: 1rem; border-radius: 12px; }

/* Add to cart animation */
.add-to-cart.added { animation: bounce-cart 0.4s ease; }
@keyframes bounce-cart {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.3) rotate(10deg); }
    100% { transform: scale(1); }
}

/* ─── Toast Notification ─── */
.sf-toast {
    position: fixed; bottom: 5rem; left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1e293b; color: white;
    padding: 0.85rem 1.75rem; border-radius: 50px;
    font-weight: 600; font-size: 0.9rem;
    z-index: 9999; opacity: 0; visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.sf-toast.show {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.sf-toast.toast-success { background: #16a34a; }
.sf-toast.toast-error   { background: #dc2626; }

@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
    .cart-drawer { width: 100%; }
}



/* ─── Base Reset ─── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}


header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: 0.75rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

body {
    padding-top: 85px;
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.5;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.3s;
}

.menu-toggle:hover {
    background: #f1f5f9;
}

.header-center {
    flex: 1;
    max-width: 600px;
}

/* Features Section */
.features-section {
    background: white;
    border-top: 1px solid #f1f5f9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #1e293b;
    flex-shrink: 0;
    transition: all 0.3s;
}

.feature-item:hover .feature-icon {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-5px);
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* WhatsApp Sticky Button */
.whatsapp-sticky {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-sticky i {
    font-size: 2rem;
}

.whatsapp-sticky:hover {
    transform: scale(1.1) translateY(-5px);
    background: #128c7e;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-sticky {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }
    .whatsapp-sticky i {
        font-size: 1.5rem;
    }
}





.search-bar {
    display: flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 2px;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.search-bar:focus-within {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.search-bar input {
    flex: 1;
    border: none;
    background: none;
    padding: 0.75rem 1rem;
    outline: none;
    font-size: 0.95rem;
}

.search-bar button {
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin: 2px;
    cursor: pointer;
}


.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}

.logo span {
    color: var(--text-dark);
}


.logo img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
}


nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary);
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 75vh;
    min-height: 500px;
    overflow: hidden;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.slider-container {
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide .hero-content {
    transform: translateX(-50px);
    transition: all 0.8s ease-out 0.3s;
    opacity: 0;
}

.slide.active .hero-content {
    transform: translateX(0);
    opacity: 1;
}

.slide .hero-image {
    transform: translateX(50px);
    transition: all 0.8s ease-out 0.3s;
    opacity: 0;
}

.slide.active .hero-image {
    transform: translateX(0);
    opacity: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1e3a8a;
}

.hero-content p {
    font-size: 1.25rem;
    color: #3b82f6;
    margin-bottom: 2rem;
}

.hero-image {
    width: 40%;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    object-fit: cover;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 10;
}

.nav-btn {
    background: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
    color: var(--primary);
}

.nav-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.dots {
    display: flex;
    gap: 0.75rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 6px;
}


/* Categories */
.section {
    padding: 2.5rem 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.category-card:hover {
    transform: translateY(-5px);
    background: white;
}

.category-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    transform: scale(1.02);
}

.product-image {
    height: 250px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.75rem;
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    height: 2.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

.add-to-cart {
    background: var(--primary);
    color: white;
    padding: 0.6rem 1rem;
    height: 40px;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.add-to-cart:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
}

.add-to-cart:active {
    transform: scale(0.95);
}

/* Footer */
footer {
    background: #1e293b;
    color: white;
    padding: 2rem 5%;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

/* Category Sidebar */
.category-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: white;
    z-index: 2000;
    box-shadow: 10px 0 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.category-sidebar.active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
}

#close-sidebar {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--secondary);
    cursor: pointer;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.sidebar-menu {
    list-style: none;
}

.menu-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.2s;
}

.menu-item a:hover {
    background: #eff6ff;
    color: var(--primary);
}

.sub-menu {
    list-style: none;
    background: #f8fafc;
    display: none;
}

.menu-item:hover .sub-menu {
    display: block;
}

.sub-menu li a {
    padding: 0.75rem 2.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (max-width: 1024px) {
    header {
        padding: 0.75rem 3%;
        gap: 1rem;
    }
    
    nav, .auth-buttons {
        display: none;
    }

@media (max-width: 1024px) {
    header {
        padding: 0.75rem 3%;
        gap: 1rem;
    }
    
    nav, .auth-buttons {
        display: none !important;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-wrap: wrap !important;
        padding: 1rem;
        gap: 0.5rem;
    }

    .header-left {
        gap: 0.75rem;
        flex: 1;
    }

    .logo {
        font-size: 1.1rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .header-center {
        order: 3;
        flex-basis: 100%;
        margin-top: 0.75rem;
    }

    .search-bar {
        width: 100%;
    }

    .search-bar input {
        padding: 0.6rem;
    }

    .hero-slider {
        height: auto;
        padding: 2rem 0;
    }

    .slide {
        flex-direction: column;
        text-align: center;
        padding: 1rem 5%;
        position: relative;
        opacity: 0;
        display: none;
    }

    .slide.active {
        display: flex;
        opacity: 1;
    }

    .hero-content {
        margin-bottom: 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.85rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-image {
        width: 100%;
    }

    .hero-image img {
        max-height: 250px;
        border-radius: 1rem;
    }

    .section {
        padding: 2.5rem 5%;
    }

    .features-grid {
        gap: 1.5rem;
    }
}

/* ─── Category Page ─── */
.category-hero {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 3rem 5%;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.cat-breadcrumb-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.cat-breadcrumb {
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}
.cat-breadcrumb:hover { color: var(--primary); }

.cat-breadcrumb-sep {
    margin: 0 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.cat-breadcrumb-current {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

.category-hero h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1e3a8a;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.category-hero p {
    color: var(--text-light);
    font-size: 1rem;
}


/* Make category cards work as links */
a.category-card {
    text-decoration: none;
    color: inherit;
    display: block;
}
a.category-card:hover {
    transform: translateY(-5px);
    background: white;
}

/* Empty state */
.cat-empty {
    text-align: center;
    padding: 5rem 2rem;
    color: var(--text-light);
}
.cat-empty i {
    font-size: 4rem;
    opacity: 0.2;
    margin-bottom: 1.5rem;
}
.cat-empty h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}
.cat-empty p {
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

/* ── Mobile Bottom Navigation ── */
.mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 2000;
    padding: 0.5rem 0;
    border-top: 1px solid #e2e8f0;
}

@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

.mobile-bottom-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.75rem;
    gap: 0.25rem;
    transition: color 0.2s;
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.25rem;
}

.mobile-bottom-nav .nav-item:hover,
.mobile-bottom-nav .nav-item:active {
    color: var(--primary);
}

.mobile-bottom-nav .icon-wrapper {
    position: relative;
    display: inline-block;
}

.mobile-bottom-nav .mobile-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    padding: 0.1rem 0.3rem;
    border-radius: 10px;
    font-weight: bold;
    border: 1px solid white;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex !important;
    }
    
    /* Ensure body doesn't get hidden behind the nav */
    body {
        padding-bottom: 70px;
    }
    
    /* Move WhatsApp icon slightly higher on mobile to clear bottom nav */
    .whatsapp-sticky {
        bottom: 80px;
    }
}
