
div#filtersModal {
    z-index: 10000;
}


:root {
    --primary-color: #6F8571;
    --secondary-color: #B9A085;
    --text-color: #6F8571;
    --light-text: rgba(111, 133, 113, 0.6);
    --gray-bg: #f5f5f5;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}


.catalog-main {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
}

.catalog-hero-banner {
    width: 100%;
    height: 30.83vw;
    max-height: 592px;
    min-height: 200px;
    /*background: #f5f5f5 url('img/category-top.png') no-repeat center center;*/
    background-size: cover;
}

.catalog-description {
    width: 89.32%;
    margin: 30px auto 30px auto;
    font-size: 22px;
    color: rgba(0, 0, 0, 0.55);
    overflow: hidden;
}
.catalog-description img {
    width: 100%;
    height: auto;
}


.catalog-filters-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    width: 89.32%;
    max-width: 1715px;
    margin: 0 auto;
    padding: 15px 0 10px;
    gap: 20px;
}

@media (min-width: 1920px) {
    .catalog-filters-container {
        gap: 69px;
    }
}

.catalog-left-text-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: auto;
    flex-wrap: wrap;
}

.catalog-filters {
    font-weight: 400;
    color: #6F8571;
    white-space: nowrap;
    cursor: pointer;
    font-size: 26px;
}

.catalog-product-count {
    font-weight: 300;
    color: #6F8571;
    white-space: nowrap;
    font-size: 26px;
}

.catalog-material-filters-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.catalog-material-label {
    font-weight: 300;
    color: rgba(0, 0, 0, 0.55);
    white-space: nowrap;
    font-size: 14px;
}

.catalog-material-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.catalog-filter-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    flex-shrink: 0;
}

.catalog-filter-circle:hover {
    transform: scale(1.05);
}

.catalog-filter-circle.active {
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--primary-color);
}

.catalog-filter-circle.palladium {
    /*background: linear-gradient(328deg, rgba(202, 202, 202, 0.2) 16%, #CACACA 50%, #CACACA 65%, rgba(202, 202, 202, 0.094) 93%);*/
    background: linear-gradient(
            135deg,
            rgba(180, 180, 180, 0.3) 10%,
            #e0e0e0 40%,
            #cacaca 60%,
            rgba(180, 180, 180, 0.1) 90%
    );
}

.catalog-filter-circle.platinum {
    background: linear-gradient(
            135deg,
            rgba(140, 140, 140, 0.3) 10%,
            #d1d1d1 40%,
            #b4b4b4 70%,
            rgba(140, 140, 140, 0.1) 90%
    );
}


.catalog-filter-circle.silver {
    background: linear-gradient(
            135deg,
            rgba(200, 200, 200, 0.3) 10%,
            #f0f0f0 50%,
            #d9d9d9 70%,
            rgba(200, 200, 200, 0.1) 90%
    );
}


.catalog-filter-circle.gold {
    background: linear-gradient(328deg, rgba(227, 202, 136, 0.1) 0%, #E3CA88 54%, rgba(227, 202, 136, 0.62) 73%, rgba(227, 202, 136, 0.13) 88%);
}

.catalog-filter-circle.rose-gold {
    background: linear-gradient(150deg, rgba(226, 185, 139, 0.063) 60%, #EEEEEE 100%), linear-gradient(341deg, #E2B98B 65%, #EEEEEE 99%);
}

.catalog-filter-circle.white {
    background: #E1E0E0;
}

.catalog-brand-price-filters {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    flex-wrap: wrap;
}

.catalog-brand-filter, .catalog-price-filter {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.catalog-right-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.catalog-brand-label, .catalog-price-label {
    font-weight: 300;
    color: rgba(0, 0, 0, 0.55);
    white-space: nowrap;
    font-size: 14px;
}

.catalog-brand-select, .catalog-price-from, .catalog-price-to {
    height: 40px;
    border: 1px solid var(--primary-color);
    padding: 0 10px;
    font-size: 14px;
    color: var(--text-color);
    background: transparent;
    border-radius: 4px;
    transition: var(--transition);
    min-width: 120px;
}

.catalog-brand-select {
    width: 180px;
}

.catalog-price-from, .catalog-price-to {
    width: 100px;
    color: #333;
}

.catalog-price-range {
    display: flex;
    align-items: center;
    gap: 5px;
}

.catalog-sorting {
    font-weight: 300;
    color: #6F8571;
    cursor: pointer;
    white-space: nowrap;
    font-size: 26px;
}

.catalog-popular-container {
    position: relative;
}

.catalog-popular {
    font-weight: 400;
    display: flex;
    align-items: center;
    color: #6F8571;
    cursor: pointer;
    white-space: nowrap;
    font-size: 26px;
    position: relative;
}

.catalog-popular-arrow {
    margin-left: 8px;
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #6F8571;
    transition: transform 0.3s ease;
}

.catalog-popular-container.active .catalog-popular-arrow {
    transform: rotate(180deg);
}

.catalog-sorting-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 260px;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px 0;
    z-index: 100;
    margin-top: -1px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    font-family: 'HelveticaNeue', sans-serif;
}

.catalog-sorting-dropdown::before {
    content: '';
    position: absolute;
    bottom: 100%;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--white);
}

.catalog-popular-container:hover .catalog-sorting-dropdown,
.catalog-popular-container.active .catalog-sorting-dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.catalog-sorting-option {
    padding: 10px 20px;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.catalog-sorting-option:hover {
    background-color: rgba(111, 133, 113, 0.1);
}

.catalog-sorting-option.active {
    font-weight: 500;
    color: var(--primary-color);
}

.catalog-products-container {
    width: 89.32%;
    max-width: 1757px;
    margin: 0 auto;
}

.catalog-products-grid:nth-child(1) {
    display: grid;
    grid-template-columns: repeat(5, minmax(280px, 1fr));
    grid-template-rows: repeat(2, auto);
    gap: 19px;
    margin: 0;
    margin-top: 30px;
    align-items: stretch;
}

/*
.catalog-products-grid:nth-child(3) {
    display: grid;
    grid-template-columns: repeat(5, minmax(280px, 1fr));
    grid-template-rows: auto;
    gap: 19px;
    margin: 0;
    margin-top: 30px;
    align-items: stretch;
}
*/
.catalog-featured-container {
    display: flex;
    flex-direction: row;
    gap: 19px;
    margin-top: 10px;
    margin-bottom: -6px;
}

.catalog-featured-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 19px;
    flex: 1;
}

.catalog-featured-section {
    width: 1020px;
    height: 1040px;
    background-size: cover !important;
    position: relative;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    padding: 40px 30px 30px 40px;
    border-radius: 8px;
    overflow: hidden;
}

.catalog-product-card {
    background: var(--white);
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: var(--transition);
    margin-bottom: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.catalog-product-card:hover {
    transform: translateY(-5px);
}

.catalog-product-image {
    flex: 1;
    position: relative;
    transition: opacity 0.3s ease;
    aspect-ratio: 1/1;
}

.catalog-product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 1;
}

.catalog-product-image .catalog-image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.catalog-product-image .catalog-image-slide.active {
    opacity: 1;
}

.catalog-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
    border: none;
    outline: none;
}

.catalog-wishlist-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.catalog-wishlist-btn.active {
    background: var(--secondary-color);
}

.catalog-wishlist-icon {
    width: 18px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-wishlist-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.catalog-product-info {
    height: 129px;
    padding: 15px 5px 15px 5px;
    width: 100%;
    text-align: center;
    transition: var(--transition);
}

.catalog-product-card:hover .catalog-product-info {
    background-color: var(--primary-color);
}

.catalog-product-card:hover .catalog-product-category,
.catalog-product-card:hover .catalog-product-name,
.catalog-product-card:hover .catalog-product-price {
    color: var(--white);
}

.catalog-product-card:hover .catalog-product-category a{
    color: var(--white);
}

.catalog-product-name{
    line-height: 15px;
}
.catalog-product-name a {
    font-size: 12px;
    font-weight: 100;
    color: #b8b8b8;
}

.catalog-product-card:hover .catalog-product-name a {
    color: white;
    font-weight: 100;
}

.catalog-product-category {
    font-weight: 400;
    letter-spacing: 1.65px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 8px;
    transition: var(--transition);
    font-size: 12px;
    height: 34px;
    overflow: hidden;
}

.catalog-product-name {
    font-weight: 500;
    color: var(--light-text);
    margin-bottom: 0;
    min-height: 31px;
    justify-content: center;
    transition: var(--transition);
    font-size: 14px;
    white-space: normal;
    padding: 0 5px;
}

.catalog-product-price {
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-color);
    transition: var(--transition);
    font-size: 16px;
}


.catalog-product-card:hover .catalog-product-price-container {
    border-bottom: 2px solid #B9A085;
}

.catalog-product-price-container {
    position: relative;
    height: 35px;
    overflow: hidden;

}

.catalog-product-price-default,
.catalog-product-price-hover {
    transition: var(--transition);
    position: absolute;
    width: 100%;
    text-align: center;
}

.catalog-product-price-hover {
    color: var(--white);
    font-weight: 500;
    text-transform: uppercase;
    padding: 3px 0;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    font-size: 14px;
}

.catalog-product-card:hover .catalog-product-price-default {
    opacity: 0;
    transform: translateY(-10px);
    height: 35px;
}

.catalog-product-card:hover .catalog-product-price-hover {
    opacity: 1;
    transform: translateY(0);
    background: #7d917f;
    border-bottom: 2px solid #B9A085;
    height: 35px;
    padding-top: 7px;
}

.catalog-featured-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.catalog-featured-title {
    font-weight: 400;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    font-size: 36px;
}

.catalog-featured-subtitle {
    font-weight: 400;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    font-size: 24px;
}

.catalog-featured-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 50px;
    background: rgba(217, 217, 217, 0.1);
    border-bottom: 2px solid var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    position: relative;
    z-index: 2;
    transition: var(--transition);
    box-sizing: border-box;
    padding: 0 15px;
    font-size: 18px;
}

.catalog-featured-link:hover {
    background: rgba(217, 217, 217, 0.2);
    color: var(--secondary-color);
}

.catalog-footer {
    height: auto;
    position: relative;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0 40px;
}

.catalog-footer-container {
    width: 88.54vw;
    max-width: 1700px;
    height: auto;
    position: relative;
}

.catalog-footer-list {
    display: flex;
    justify-content: space-between;
    position: relative;
    width: 100%;
    flex-wrap: wrap;
    gap: 20px;
}

.catalog-footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(25% - 20px);
    min-width: 150px;
    margin-bottom: 30px;
}

.catalog-footer-icon {
    width: 25px;
    height: 25px;
    margin-bottom: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-footer-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.catalog-footer-item:hover .catalog-footer-icon img {
    filter: brightness(0.8);
}

.catalog-footer-text {
    font-family: 'Helvetica Neue';
    font-style: normal;
    font-weight: 400;
    letter-spacing: 1.65px;
    text-transform: uppercase;
    color: #6F8571;
    text-align: center;
    font-size: 12px;
    line-height: 14px;
}

.catalog-footer-button {
    box-sizing: border-box;
    width: 140px;
    height: 50px;
    border: 1px solid #6F8571;
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    z-index: 10;
}

.catalog-footer-button:hover {
    background: rgba(111, 133, 113, 0.1);
}

.catalog-footer-button-text {
    font-family: 'Helvetica Neue';
    font-style: normal;
    font-weight: 400;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #6F8571;
    font-size: 12px;
    line-height: 14px;
}

.catalog-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.catalog-overlay.active {
    opacity: 1;
}

.catalog-filters-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    min-width: 50%;
    height: 100vh;
    background: #FFFFFF;
    z-index: 1001;
    overflow-y: auto;
    padding: 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.catalog-filters-modal.active {
    transform: translateX(0);
}

.catalog-option-item, .catalog-size-item {
    transition: all 0.2s ease;
}


@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.catalog-overlay.active {
    display: block;
}

.catalog-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 20px;
}


.modal-ffilter-fseparator {
    border-bottom: 1px solid #6F8571;
    margin-bottom: 20px;
    margin-top: 50px;
}
img.svg-filter {
    margin-left: 8px;
    position: relative;
    top: -2px;
}


.choices {
    height: 40px;
    border: 1px solid var(--primary-color);
    padding: 0 10px;
    font-size: 14px;
    color: var(--text-color);
    background: transparent;
    border-radius: 4px;
    transition: var(--transition);
    min-width: 120px;
}

.catalog-brand-price-filters .choices__inner {
    background-color: #ffffff;
    padding: 5px 0 0 0;
    border: none;
}


.catalog-brand-price-filters .choices[data-type*=select-one].is-open::after {
    border-color: transparent transparent #6f8571;
    margin-top: -7.5px;

}


.catalog-brand-price-filters .choices[data-type*=select-one]::after
{
    border-color: #6f8571 transparent transparent;
}
.catalog-brand-price-filters .choices__list.choices__list--dropdown.is-active {
    left: 0px;
}

select.catalog-brand-select {
    appearance: none; /* Убирает стрелку */
    -webkit-appearance: none; /* Для Safari и Chrome */
    -moz-appearance: none; /* Для Firefox */
}



.catalog-filters-title {
    font-family: 'HelveticaNeue_thin';
    font-style: normal;
    font-weight: 300;
    text-transform: uppercase;
    color: #28668F;
    font-size: 20px;
    margin-left: 87px;
    margin-top: 50px;
}

.catalog-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6F8571;
    margin-right: 50px;
}

.catalog-filter-section {
    margin-bottom: 25px;
    margin-left: 87px;
}

.catalog-filter-title {
    font-family: "Montserrat-Light";
    font-style: normal;
    font-weight: 400;
    color: #333333;
    margin-bottom: 15px;
    font-size: 20px;
}

.catalog-color-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.catalog-filter-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.choices__list.choices__list--dropdown.is-active {
    z-index: 3;
}

.catalog-option-item {
    font-family: "HelveticaNeue_thin";
    font-style: normal;
    font-weight: 200;
    color: #333333;
    cursor: pointer;
    padding: 0;
    border: 1px solid transparent;
    font-size: 14.6px;
    transition: 0.5s ease;
}

.catalog-option-item:hover {
    color: #b1770b;
}

.catalog-option-item.active {
    font-weight: 800;
    color: #b1770b;
}

.catalog-size-options {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 8px;
}

.catalog-size-item {
    font-family: "HelveticaNeue_thin";
    font-style: normal;
    font-weight: 300;
    color: #333333;
    text-align: center;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid transparent;
    font-size: 14.6px;
}

.catalog-size-item:hover{
    color: #b1770b;

}


.catalog-size-item.active {
    font-weight: 800;
    color: #b1770b;
}

.catalog-material-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.catalog-brand-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.catalog-modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.catalog-apply-btn, .catalog-reset-btn {
    padding: 10px 20px;
    font-family: 'Helvetica Neue';
    font-style: normal;
    font-weight: 400;
    cursor: pointer;
    border: 1px solid #6F8571;
    border-radius: 4px;
    font-size: 16px;
    flex: 1;
}

.catalog-apply-btn {
    background: #6F8571;
    color: #FFFFFF;
}

.catalog-reset-btn {
    background: #FFFFFF;
    color: #6F8571;
}


.catalog-products-container {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 колонок */
    grid-auto-rows: auto; /* Авторазмер строк */
    gap: 16px; /* Расстояние между элементами */
    position: relative;
}


.catalog-featured-container {
    grid-column: 3 / span 3; /* Начинается с 4-й колонки и занимает 2 */
    grid-row: 3 / span 2; /* Занимает 2 строки */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* прячем к сравнению */
button.b-product-compare.b-compare.btn.btn-quaternary-theme-link.p-0.gap-2.text-nowrap.js-add-compare-button {
    display: none;
}

.catalog-brand-filter {
    width: 181px;
}


.ms-options input[type="checkbox"] {
    display: none; /* Скрываем стандартный чекбокс */
}

.ms-options-wrap > .ms-options > ul label {
    font-family: "Rubik", sans-serif;
    font-size: 14px;
    color: #797979;
}


div#ms-list-1 button {
    border: 1px solid var(--primary-color);
    height: 40px;
    border-radius: 4px;
}

.products-loading-block {
    display: flex;
    width: 100%;
    height: 100%;
    position: absolute;
    background: #0000004d;
    justify-content: space-evenly;
    z-index: 5;
}

.products-loading-block dotlottie-player {
    width: 50%;
    height: 50vw;
}















@media (min-width: 1199px) {
    .catalog-main {
        position: relative;
        top: -40px;
    }
}


@media (max-width: 1600px) {


    .catalog-products-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr); /* 5 колонок */
    }

    .catalog-featured-container {
        grid-column: 2 / span 3; /* Начинается с 4-й колонки и занимает 2 */
        grid-row: 3 / span 2; /* Занимает 2 строки */
    }


    .catalog-products-grid:nth-child(1),
    .catalog-products-grid:nth-child(3),
    .catalog-featured-products {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

    .catalog-featured-section {
        /*width: 100%;*/
        height: 100%;
    }
}

@media (max-width: 1200px) {


    .catalog-products-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 5 колонок */
    }

    .catalog-featured-container {
        grid-column: 1 / span 3; /* Начинается с 4-й колонки и занимает 2 */
        grid-row: 3 / span 2; /* Занимает 2 строки */
    }


    .catalog-filters-container {
        gap: 15px;
        align-items: center;
    }

    .catalog-left-text-container {
        order: 1;
        width: 100%;
        justify-content: space-between;
    }

    .catalog-material-filters-container {
        order: 2;
        width: 100%;
    }

    .catalog-brand-price-filters {
        order: 3;
        width: 100%;
        justify-content: space-between;
        margin-left: 0;
    }

    .catalog-right-container {
        order: 4;
        width: 100%;
        justify-content: flex-end;
        margin-top: 10px;
    }

    .catalog-products-grid:nth-child(1),
    .catalog-products-grid:nth-child(3),
    .catalog-featured-products {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .catalog-sorting-dropdown {
        right: auto;
        left: 0;
    }
}

@media (max-width: 992px) {
    .catalog-featured-section {
        min-height: 400px;
    }

    .catalog-footer-item {
        width: calc(50% - 20px);
    }

    .catalog-products-grid:nth-child(1),
    .catalog-products-grid:nth-child(3),
    .catalog-featured-products {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {

    .catalog-filter-section
    {
        margin-left: 10px;
    }

    .catalog-size-options {
        grid-template-columns: repeat(6, 1fr);
    }


    .catalog-filters-modal {
        min-width: 100%;
    }


    .catalog-products-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 5 колонок */
    }

    .catalog-featured-container {
        grid-column: 1 / span 2; /* Начинается с 4-й колонки и занимает 2 */
        grid-row: 3 / span 2; /* Занимает 2 строки */
    }


    .catalog-hero-banner {
        margin-top: 0px;
    }

    .catalog-filters-container {
        padding: 10px 5%;
        gap: 15px;
    }

    .catalog-left-text-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .catalog-brand-price-filters {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .catalog-price-range {
        justify-content: flex-start;
    }

    .catalog-right-container {
        justify-content: space-between;
        width: 100%;
    }

    .catalog-featured-link {
        width: 180px;
        height: 45px;
        font-size: 16px;
    }

    .catalog-footer-button {
        top: -15%;
    }

    .catalog-filters-modal {
        max-width: none;
    }

    .catalog-featured-section {
        min-height: 350px;
    }

    .catalog-sorting-dropdown {
        right: 0;
        left: auto;
        width: 200px;
    }

    .catalog-sorting-dropdown::before {
        right: 20px;
        left: auto;
    }
}

@media (max-width: 576px) {
    .catalog-filters-container {
        padding: 15px 5%;
    }

    .catalog-filter-circle {
        width: 35px;
        height: 35px;
    }

    .catalog-brand-select, .catalog-price-from, .catalog-price-to {
        width: 100%;
        max-width: 160px;
    }

    .catalog-featured-section {
        min-height: 350px;
        padding: 30px 20px;
        min-width: 100%;
    }

    .catalog-featured-title {
        font-size: 28px;
    }

    .catalog-featured-subtitle {
        font-size: 22px;
    }

    .catalog-footer-item {
        width: 40%;
    }


    .catalog-filters-modal {
        max-width: none;
    }


    .catalog-modal-buttons {
        flex-direction: column;
    }

    .catalog-apply-btn, .catalog-reset-btn {
        width: 100%;
    }

    .catalog-product-name {
        min-height: auto;
        font-size: 13px;
    }

    .catalog-featured-products {
        grid-template-columns: 1fr;
    }

    .catalog-sorting-dropdown {
        width: 200px;
    }

    .catalog-popular-container {
        margin-top: 10px;
    }

    .catalog-sorting-dropdown {
        left: auto;
        right: 0;
    }

    .catalog-sorting-dropdown::before {
        right: 20px;
        left: auto;
    }
}

@media (max-width: 480px) {
    .catalog-hero-banner {
        min-height: 200px;
    }

    .catalog-featured-title {
        font-size: 24px;
    }

    .catalog-featured-subtitle {
        font-size: 20px;
    }

    .catalog-filters-modal {
        width: 100%;
        max-width: none;
    }

    .catalog-filters,
    .catalog-product-count,
    .catalog-sorting,
    .catalog-popular {
        font-size: 22px;
    }

    .catalog-sorting-option {
        font-size: 16px;
        padding: 8px 15px;
    }

    .catalog-sorting-dropdown {
        width: 180px;
    }
}

@media (max-width: 360px) {
    .catalog-left-text-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-price-range {
        flex-wrap: wrap;
    }

    .catalog-price-from,
    .catalog-price-to {
        width: 80px;
    }

    .catalog-sorting-dropdown {
        width: 160px;
    }

    .catalog-sorting-option {
        padding: 8px 12px;
        font-size: 15px;
    }
}

.catalog-product-image .catalog-image-slide:first-child {
    opacity: 1;
}

@media (min-width: 1920px) {
    .catalog-products-grid:nth-child(1) {
        grid-template-columns: repeat(5, 336px);
        grid-template-rows: repeat(2, 470px);
        justify-content: flex-start;
        gap: 19px;
    }

    .catalog-products-grid:nth-child(3) {
        grid-template-columns: repeat(5, 336px);
        grid-template-rows: 470px;
        justify-content: flex-start;
        gap: 19px;
    }

    .catalog-product-card {
        width: 336px;
        height: 470px;
    }

    .catalog-product-image {
        height: 336px;
        aspect-ratio: unset;
    }


    .catalog-featured-products {
        grid-template-columns: repeat(2, 336px);
        grid-template-rows: repeat(2, 470px);
        width: 691px;
        height: 959px;
        gap: 19px;
    }

    .catalog-featured-section {
        width: 1020px;
        height: 1040px;
    }
}



