/* ===== RESPONSIVE ===== */

/* Tablet: hide right sidebar */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 240px 1fr;
    }
    .right-sidebar {
        display: none;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        display: block;
        height: auto;
    }

    .mobile-header { display: flex; }
    .desktop-only { display: none; }
    .mobile-only { display: block; }
    .mobile-only.desktop-flex { display: flex; }

    /* Left Sidebar Drawer */
    .sidebar.left-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        z-index: 1300;
        transform: translateX(-100%);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .sidebar.left-sidebar.active {
        transform: translateX(0);
    }

    /* Right Sidebar Drawer */
    .right-sidebar {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        z-index: 1300;
        transform: translateX(100%);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .right-sidebar.active {
        transform: translateX(0);
    }

    /* Main Content */
    .main-content {
        padding: 16px;
        height: auto;
        overflow: visible;
    }

    /* 2-column product grid */
    .articles-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .card-content h3 {
        font-size: 13px;
        margin-bottom: 8px;
        height: 36px;
        overflow: hidden;
    }

    .sidebar-header {
        display: flex;
        width: 100%;
        background: white; 
        z-index: 2000;
        margin: 0; 
        margin-bottom: 20px;
    }
}
