/* --- Responsive Utilities --- */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* --- Mobile Menu Drawer --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 999;
    transform: translateX(-100%);
    transition: 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.mobile-menu-drawer.active {
    transform: translateX(0);
}

.drawer-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.close-drawer {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.drawer-content {
    padding: 20px;
    overflow-y: auto;
}

.drawer-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #f9f9f9;
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.drawer-divider {
    height: 1px;
    background: #eee;
    margin: 15px 0;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* --- Responsive Media Queries --- */

/* Tablet & Smaller Desktop (1024px and down) */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 15px;
    }

    .nav-menu a {
        font-size: 0.75rem;
    }

    /* Reduce font size to fit */
    .search-bar {
        max-width: 300px;
    }
}

/* Mobile (768px and down) */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    /* Top Bar */
    .top-bar {
        display: none;
    }

    /* Header Layout */
    .header-inner {
        padding: 15px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-toggle {
        display: block;
        margin-right: 15px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .logo-accent {
        font-size: 1.1rem;
    }

    /* Header Actions */
    .header-actions {
        gap: 15px;
    }

    .icon-link {
        font-size: 1.2rem;
    }

    /* Hero Slider */
    .hero-slider {
        height: 300px;
    }

    .slide-content h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .slide-content p {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .btn-hero {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    /* Product Grid */
    .grid-banners {
        grid-template-columns: 1fr !important;
    }

    /* Footer */
    footer {
        padding: 40px 0;
    }

    .footer-cols {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col {
        text-align: center;
    }

    /* Reviews Mobile */
    .reviews-container {
        flex-direction: column;
        gap: 20px;
    }

    .review-summary-card {
        width: 100%;
        flex: none;
        padding: 15px;
    }

    .rating-number {
        font-size: 2rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card {
        padding: 15px;
    }
}