/* ═════════════════════════════════════════════════════════════ */
/* RESPONSIVE - PRODUCTS PAGE                                      */
/* ═════════════════════════════════════════════════════════════ */

@media (max-width: 1120px) {
    .products-layout {
        grid-template-columns: 260px 1fr;
        gap: var(--spacing-4xl);
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 960px) {
    .products-layout {
        grid-template-columns: 1fr;
    }

    .products-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--spacing-lg);
    }

    .sidebar-widget {
        margin-bottom: 0;
    }

    .products-toolbar {
        flex-direction: column;
        gap: var(--spacing-lg);
        align-items: stretch;
    }

    .toolbar-right {
        justify-content: space-between;
    }
}

@media (max-width: 640px) {
    .products-page-hero {
        padding: var(--spacing-5xl) 0 var(--spacing-4xl);
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .toolbar-right {
        flex-direction: column;
        align-items: stretch;
    }

    .sort-by {
        flex-direction: column;
        align-items: stretch;
    }

    .sort-select {
        width: 100%;
    }

    .view-options {
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}
