/* shop-base.css - ОПТИМИЗИРОВАННАЯ ВЕРСИЯ */
.shop-page {
    min-height: 100vh;
    background: #f8f9fa;
}

.shop-page .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.shop-page .row {
    margin: 0 -15px;
}

.shop-page .col-lg-3,
.shop-page .col-lg-9,
.shop-page .col-12 {
    padding: 0 15px;
}

.main-content-wrapper {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin: 1rem 0;
}

.sticky-top {
    position: sticky;
    top: 15px;
    z-index: 10;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

/* Медиа-запросы */
@media (max-width: 992px) {
    .sticky-top {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        height: 100vh;
        max-height: 100vh;
        background: white;
        z-index: 1060;
        transition: left 0.3s ease;
        padding: 1rem;
    }

    .sticky-top.active {
        left: 0;
    }

    .mobile-filters-toggle {
        position: sticky;
        top: 70px;
        z-index: 1040;
        margin: 0.5rem 0 1rem 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .shop-page .container-fluid {
        padding: 0 10px;
        padding-top: 80px;
    }

    .main-content-wrapper {
        padding: 1.5rem;
        margin-top: 20px;
    }

    .shop-page .row {
        margin: 0 -5px;
        width: calc(100% + 10px);
    }

    .shop-page .col-lg-3,
    .shop-page .col-lg-9,
    .shop-page .col-12 {
        padding: 0 5px;
    }
}

@media (max-width: 768px) {
    .shop-page .container-fluid {
        padding: 0 8px;
        padding-top: 70px;
    }

    .shop-page .row {
        margin: 0 -4px;
        width: calc(100% + 8px);
    }

    .shop-page .col-lg-3,
    .shop-page .col-lg-9,
    .shop-page .col-12 {
        padding: 0 4px;
    }

    .main-content-wrapper {
        padding: 0.75rem;
        margin: 0.25rem 0;
    }
}