/**

 * Страница каталога: шапка, сайдбар, сетка

 */



.shopCatalogPage {
    padding: 32px 0 80px;
    background: #fff;
}



.shopCatalogPage__container {

    box-sizing: border-box;

}



/* Крошки и заголовок — на всю ширину контейнера (не <header>: main.css красит все header в оранжевый fixed-блок) */
.shopCatalogPageHead {
    position: static;
    width: auto;
    margin: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    z-index: auto;
}

.shopCatalogPageHead .breadcrumbs {
    display: block;
    margin-bottom: 40px;
}

.shopCatalogPageTitle {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35em;
    margin: 0;
    padding: 0;
    font-family: Montserrat, sans-serif;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: 0;
    text-transform: none;
    color: inherit;
}

.shopCatalogPageTitleText {
    font-size: 32px;
    font-weight: 700;
    line-height: 35px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--black, #000);
}

.shopCatalogPageTitleCount {
    font-size: 32px;
    font-weight: 300;
    line-height: 35px;
    color: var(--base-light, #7694a4);
    text-transform: none;
    letter-spacing: 0;
    font-family: Montserrat, sans-serif;
}

.shopCatalogBody {
    margin-top: 32px;
    padding-top: 0;
    border-top: 0;
}



.shopCatalogLayout {

    display: grid;

    grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);

    gap: 32px 48px;

    align-items: start;

}



.shopCatalogSidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 96px;
}

.shopCatalogFilters--price {
    margin-top: 0;
}

.shopCatalogFilterPanel__title--uppercase {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.02em;
}

.shopCatalogFilterPanel--price .shopCatalogFilterPanel__body {
    padding-top: 16px;
}

.shopCatalogPriceFilter__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.shopCatalogPriceFilter__inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shopCatalogPriceFilter__field {
    flex: 1 1 0;
    min-width: 0;
}

.shopCatalogPriceFilter__input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: var(--neutral, #f2f5f7);
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--black, #000);
    text-align: center;
}

.shopCatalogPriceFilter__input:focus {
    outline: 2px solid rgba(243, 155, 0, 0.35);
    outline-offset: 1px;
}

.shopCatalogPriceFilter__dash {
    flex: 0 0 auto;
    color: var(--base-light, #7694a4);
    font-size: 14px;
    line-height: 1;
}

.shopCatalogPriceRange {
    position: relative;
    height: 24px;
}

.shopCatalogPriceRange__track,
.shopCatalogPriceRange__fill {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    border-radius: 999px;
}

.shopCatalogPriceRange__track {
    left: 0;
    right: 0;
    background: var(--neutral, #e2e8eb);
}

.shopCatalogPriceRange__fill {
    background: var(--orange, #f39b00);
}

.shopCatalogPriceRange__input {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 0;
    margin: 0;
    transform: translateY(-50%);
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.shopCatalogPriceRange__input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
    cursor: pointer;
}

.shopCatalogPriceRange__input::-moz-range-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
    cursor: pointer;
}

.shopCatalogPriceRange__input::-webkit-slider-runnable-track,
.shopCatalogPriceRange__input::-moz-range-track {
    height: 0;
    background: transparent;
    border: 0;
}

.shopCatalogPriceRange__input--max {
    z-index: 2;
}

.shopCatalogPriceRange__input--min {
    z-index: 3;
}



.shopCatalogFilters {

    background: #fff;

    border: 1px solid var(--neutral-darker, #e2e8eb);

    box-sizing: border-box;

}



.shopCatalogFilterPanel {
    border-bottom: 0;
}

.shopCatalogFilterPanel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 16px 18px;
    box-sizing: border-box;
    border-bottom: 0;
}

.shopCatalogFilterPanel--open .shopCatalogFilterPanel__head {
    padding-bottom: 8px;
}

.shopCatalogFilterPanel__title {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: Montserrat, sans-serif;

    font-size: 16px;
    font-weight: 700;
    line-height: 20px;

    letter-spacing: 0;

    text-transform: none;

    color: var(--black, #000);

}



.shopCatalogFilterPanel__toggle {

    display: flex;

    flex: 0 0 auto;

    align-items: center;

    justify-content: center;

    width: 32px;

    height: 32px;

    margin: 0;

    padding: 0;

    border: 0 !important;

    border-radius: 0;

    background: transparent !important;

    box-shadow: none !important;

    color: var(--base-light, #7694a4);

    cursor: pointer;

    appearance: none;

}



.shopCatalogPage button.shopCatalogFilterPanel__toggle:hover,

.shopCatalogPage button.shopCatalogFilterPanel__toggle:focus-visible {

    background: transparent !important;

    box-shadow: none !important;

    color: var(--orange, #f39b00);

}



.shopCatalogFilterPanel__chevron {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 12px;

    height: 8px;

    transition: transform 0.25s ease, color 0.2s ease;

}



.shopCatalogFilterPanel__chevronSvg {

    display: block;

    width: 12px;

    height: 8px;

}



.shopCatalogFilterPanel:not(.shopCatalogFilterPanel--open) .shopCatalogFilterPanel__chevron {

    transform: rotate(-90deg);

}



.shopCatalogFilterPanel__body {
    padding: 24px 18px 16px;
}



.shopCatalogFilterPanel:not(.shopCatalogFilterPanel--open) .shopCatalogFilterPanel__body {

    display: none;

}



.shopCatalogRubricList {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none !important;
}



.shopCatalogRubricItem {

    margin: 0;

    padding: 0;

    list-style: none !important;

}



.shopCatalogRubricItem::before {

    content: none !important;

    display: none !important;

}



.shopCatalogRubricLink {
    display: block;
    padding: 0;

    font-family: Montserrat, sans-serif;

    font-size: 16px;
    font-weight: 400;
    line-height: 100%;

    color: var(--black, #000);

    text-decoration: none;

}



.shopCatalogRubricLink:hover {

    color: var(--orange, #f39b00);

}



.shopCatalogRubricLink--active {
    color: var(--black, #000);
    font-weight: 400;
}



.shopCatalogMain .shopProductCards--catalog {

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 28px 24px;

}



.shopCatalogMain .shopProductCard {

    border: 0;

    box-shadow: none;

    background: transparent;

}



.shopCatalogMain .shopProductCardTitle {

    font-size: 14px;

    font-weight: 600;

    min-height: calc(2 * 1.35em);

    padding-top: 14px;

}



.shopCatalogMain .shopProductCardFooterRow {

    padding: 10px 12px 0;

    margin-bottom: 12px;

}



.shopCatalogMain .shopProductCardBtn {

    margin-top: auto;

}



.shopCatalogMain .shopProductCardBtn--inStock {

    background: var(--orange, #f39b00);

    color: #fff;

    border: 0;

    font-weight: 600;

}



.shopCatalogMain .shopProductCardBtn--outOfStock {

    background: #b8c4cb;

    color: #fff;

    border: 0;

    cursor: not-allowed;

}



.shopCatalogMain .shopProductsEmpty {

    text-align: left;

    padding: 16px 0 32px;

}



@media (max-width: 991px) {
    .shopCatalogPageHead .breadcrumbs {
        display: block !important;
    }

    .shopCatalogBody {
        margin-top: 32px;
        padding-top: 0;
        border-top: 0;
    }



    .shopCatalogLayout {

        grid-template-columns: 1fr;

        gap: 24px;

    }



    .shopCatalogSidebar {

        position: static;

    }



    .shopCatalogPageTitleText {
        font-size: 26px;
        line-height: 1.2;
    }

    .shopCatalogPageTitleCount {
        font-size: 26px;
        line-height: 1.2;
    }



    .shopCatalogMain .shopProductCards--catalog {

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 16px;

    }

}



@media (max-width: 560px) {

    .shopCatalogPage {

        padding-top: 16px;

    }



    .shopCatalogMain .shopProductCards--catalog {

        grid-template-columns: 1fr;

    }

}

