* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* 100% высоты окна */
}

body.no-scroll {
    touch-action: none;
    padding-right: 15.1px;
    /* Для мобильных */
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 69.2px;
    flex: 1;
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    max-width: 1300px;
    width: 100%;
    padding: 0px 100px;
    margin-bottom: 100px;

    h2 {
        margin-bottom: 40px;
        text-align: center;
    }
}

.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #111;
    opacity: 0.4;
    z-index: 20;
    cursor: pointer;
}

.overlay.active {
    display: block;
}

:root {
    --orbitron-h1: 50px;
    --orbitron-card-title: 14px;
    --noto-sans-h2: 25px;
    --noto-sans-header: 14px;
    --noto-sans-dd: 14px;
    --noto-sans-dd-title: 17px;
    --noto-sans-body: 17px;
    --noto-sans-soon: 12px;
    --outfit-item-details-title: 17px;
    --noto-sans-item-details-content: 14px;
    --outfit-card-price: 15px;
    --outfit-card-sizes: 13px;
    --outfit-card-title: 16px;
    --outfit-item-title: 25px;
    --outfit-item-price: 20px;
    --outfit-item-size: 17px;
    --clash-grotesk-item-title: 30px;
    --light-grey: #8f8f8f;
}

.animated {
    transition: 0.2s ease-in-out;
}

.noto-sans-header,
.noto-sans-dd,
.noto-sans-dd-title,
.noto-sans-body,
.noto-sans-h2,
.noto-sans-soon,
.noto-sans-item-details-title,
.noto-sans-item-details-content {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.outfit-card-title,
.outfit-card-sizes,
.outfit-card-price,
.outfit-item-title,
.outfit-item-price,
.outfit-item-size {
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.noto-sans-h2 {
    font-weight: 500;
    font-size: var(--noto-sans-h2);
}

.noto-sans-header {
    font-weight: 500;
    font-size: var(--noto-sans-header);
}

.noto-sans-dd {
    font-weight: 400;
    font-size: var(--noto-sans-dd);
    color: black;
}

.noto-sans-dd-title {
    font-weight: 600;
    font-size: var(--noto-sans-dd-title);
}

.noto-sans-body {
    font-weight: 600;
    font-size: var(--noto-sans-body);
}

.noto-sans-soon {
    margin-top: 20px;
    font-weight: 400;
    font-size: var(--noto-sans-soob);
    color: var(--light-grey);
}

.orbitron-h1 {
    font-family: "Orbitron", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 600;
    font-size: var(--orbitron-h1);
}

.outfit-card-title {
    font-weight: 400;
    font-size: var(--outfit-card-title);
}

.outfit-card-price {
    font-weight: 600;
    font-size: var(--outfit-card-price);
}

.outfit-card-sizes {
    font-weight: 500;
    font-size: var(--outfit-card-sizes);
    color: var(--light-grey);
}

.outfit-item-title {
    font-weight: 600;
    font-size: var(--outfit-item-title);
}

.outfit-item-price {
    font-weight: 450;
    font-size: var(--outfit-item-price);
}

.outfit-item-size {
    font-weight: 400;
    font-size: var(--outfit-item-size);
    color: var(--light-grey);
}

.noto-sans-item-details-title {
    font-weight: 600;
    font-size: var(--noto-sans-item-details-title);
}

.noto-sans-item-details-content {
    font-weight: 400;
    font-size: var(--noto-sans-item-details-content);
}

.clash-grotesk-item-title {
    font-family: 'Clash Grotesk', sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.clash-grotesk-item-title {
    font-weight: 530;
    font-size: var(--clash-grotesk-item-title);
}

.underline-animated,
.underline-animated-black {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: black;
    transition: color 0.3s ease;
}

.underline-animated-black {
    color: white;
}

.underline-animated::after,
.underline-animated-black::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0px;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.underline-animated.dd::after {
    bottom: 0px;
}

.underline-animated:hover::after,
.underline-animated-black:hover::after {
    transform: scaleX(1);
}


header {
    position: fixed;
    display: flex;
    width: 100%;
    box-shadow: 0 0.5px 0 0 var(--light-grey);
    justify-content: center;
    align-items: center;
    height: 70px;
    z-index: 50;
    background-color: white;
    transition: transform 0.3s, padding-right 0s;

    .content {
        position: relative;
        width: 100%;
        height: 100%;
        max-width: 1360px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 2;
        background-color: white;
        visibility: visible;
        opacity: 1;
        padding: 0px 30px;

        nav {
            left: 50px;
            display: flex;
            flex-direction: row;
            gap: 23px;
            align-items: center;
            transition: 0.3s ease-in-out;
        }

        a {
            color: black;
            text-decoration: none;

            img {
                height: 70px;
            }
        }

        a.logo {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }

        .dropdown {
            position: relative;
            display: inline-block;
            cursor: pointer;
        }

        .dropdown-title {
            line-height: 30px;
            padding-bottom: 15px;
        }

        .dropdown-menu {
            position: absolute;
            padding: 10px;
            top: 110%;
            left: -10px;
            display: none;
            flex-direction: column;
            background-color: rgba(255, 255, 255, 1);
            z-index: 51;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            flex-wrap: wrap;
            max-height: 250px;
            max-width: unset;
            width: auto;
            min-width: max-content;

            a {
                text-decoration: none;
                color: black;

                &:hover {
                    text-decoration: none;
                }
            }
        }

        .dropdown-menu.lang {
            a {
                margin-right: 0;
            }
        }

        .dropdown-menu a {
            position: relative;
            text-decoration: none;
            color: black;
            transition: color 0.3s ease;
            margin-bottom: 10px;
            margin-right: 40px;

            &::after {
                width: 100%;
            }

            &:hover {
                text-decoration: underline;
            }
        }

        .dropdown:hover .dropdown-menu {
            display: flex;
        }

        .hamburger {
            width: 30px;
            height: 20px;
            display: none;
            flex-direction: column;
            justify-content: space-between;
            cursor: pointer;
            background: transparent;
            border: none;
        }

        .hamburger span {
            display: block;
            width: 100%;
            height: 3px;
            background-color: black;
            border-radius: 1.5px;
        }

    }

    .header-buttons {
        display: flex;
        gap: 20px;
        align-items: center;
        transition: 0.3s ease-in-out;

        .labelforsearch {
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            background: transparent;
            border: 0;
            width: 30px;

            svg {
                path {
                    fill: black;
                }
            }

        }

        .searchIcon {
            width: 16px;
        }

        .border {
            height: 40%;
            width: 1.3px;
            background-color: rgb(223, 223, 223);
        }

        .micIcon {
            width: 12px;
        }

        .micButton {
            padding: 0px 15px 0px 12px;
            border: none;
            background-color: transparent;
            height: 40px;
            cursor: pointer;
            transition-duration: 0.3s;
        }

        .searchIcon {
            path {
                fill: rgb(114, 114, 114);
            }
        }

        .micIcon path {
            fill: rgb(255, 81, 0);
        }

        .micButton:hover {
            background-color: rgb(255, 230, 230);
            transition-duration: 0.3s;
        }

        .saved-icon {
            width: 25px;
            height: 25px;

            svg {
                width: 25px;
                height: 25px;
            }
        }
    }

    .search-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        width: 100%;
        background-color: white;
        bottom: 0px;
        border: 1px solid var(--light-grey);
        transform: translateY(0%);
        transition: 0.5s ease-in-out;
        z-index: 1;
        opacity: 0;

        #global-search-form {
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            input {
                padding: 20px 0;
                width: 100%;
                height: 35px;
                border: none;
                text-align: center;
                border-bottom: 1px solid var(--light-grey);
                font-size: 16px;

                &:focus {
                    outline: none;
                    border: none;
                    border-bottom: 1px solid var(--light-grey);
                    box-shadow: none;
                }
            }

            button {
                margin: 10px 0px;
                width: 90px;
                height: 35px;
                font-size: 12px;
            }
        }
    }
}

header.search {
    .search-wrapper {
        transform: translateY(100%);
        opacity: 1;
        z-index: 99;
    }
}

header.filters-opened {

    nav {
        opacity: 0;
        pointer-events: none;
    }

    .header-buttons {
        opacity: 0;
        pointer-events: none;
    }
}

header.hide {
    transform: translateY(-100%);
}

.main-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 50px;
    background-color: #111;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    font-size: 13px;
    cursor: pointer;

    &:hover {
        background-color: #313030;
    }
}

.main-bg {
    width: 100%;
    max-width: unset;
    position: relative;
    height: 90vh;
    background-image: url('/img/main-bg.webp');
    background-position: center;
    background-position-y: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;

    &::before {
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        background-color: #111;
        opacity: 0.3;
        z-index: -1;
    }

    .content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;

        p {
            color: white;
            margin-bottom: 5px;
            text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
        }

        h1 {
            color: white;
            opacity: .8;
            margin-bottom: 15px;
            text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
        }
    }
}

.popular-brands {
    .popular-brands-wrap {
        flex-wrap: wrap;
        width: 100%;
        padding: 30px 0px 20px 0px;
        display: flex;
        gap: 50px;
        justify-content: center;

        a img {
            width: 200px;
        }
    }
}

.desired-categories {
    max-width: none;
    background-color: #e2e2e2;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-top: -30px;
    margin-bottom: 70px;

    .desired-categories-wrap {
        display: flex;
        gap: 60px;
        flex-wrap: wrap;
        justify-content: center;

        a {
            display: flex;
            flex-direction: column;
            position: relative;
            justify-content: space-between;
            align-items: center;
            width: 250px;
            text-decoration: none;
            color: black;

            .desired-categories-img {
                position: relative;
                width: 100%;
                aspect-ratio: 1 / 1;
                margin-bottom: 20px;

                img {
                    position: absolute;
                    width: 170%;
                    left: 50%;
                    top: 50%;
                    transform: translate(-50%, -50%);
                    transition: 0.3s;
                }
            }

            &:hover {
                .desired-categories-img {
                    img {
                        width: 185%;
                        ;
                    }
                }

                p.underline-animated::after {
                    transform: scaleX(1);
                }
            }

        }
    }
}

.cards-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    overflow: hidden;
}

.card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    width: 250px;
    position: relative;
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.product-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(1.5);
    opacity: 0;
    z-index: 1;
}

.product-img img:first-of-type {
    opacity: 1;
    z-index: 1;
}

.product-img img:last-of-type {
    z-index: 2;
}

.product-img:hover img:first-of-type {
    opacity: 0;
}

.product-img:hover img:last-of-type {
    opacity: 1;
    transform: scale(1.6);
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 3px solid #ccc;
    border-top: 3px solid #000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
    z-index: 3;
}

.card.loading .product-img img {
    opacity: 0 !important;
}

.card:not(.loading) .product-img .loader {
    display: none;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-self: flex-start;
}

.product-title {
    color: black;
    text-decoration: none;
}

.item {
    display: flex;
    position: relative;
    flex-direction: row;
    overflow-y: clip;
    align-items: flex-start;
    overflow-x: unset;
    margin-top: -50px;
    margin-bottom: 0px;

    .item-img-wrap {
        position: relative;
        width: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        aspect-ratio: 1 / 2;

        img {
            width: 120%;
            aspect-ratio: 1 / 1;
        }
    }

    .swiper {
        width: 100%;
        max-width: 100%;
        height: auto;
        position: relative;
    }

    .swiper-wrapper {
        display: flex;
    }

    .swiper-slide {
        width: 100%;
        flex-shrink: 0;
        overflow: hidden;
    }

    .swiper-slide img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
        transform: scale(1.4);
        overflow: hidden;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 30px;
        height: 30px;
        background-size: contain;
        background-repeat: no-repeat;
        color: black;
        /* или свой цвет */
    }

    .swiper-button-prev {
        left: 0;
    }

    .swiper-button-next {
        right: 0;
    }

    /* Опционально — уменьшить иконки внутри */
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 20px;
        /* стандартный размер — 44px */
    }

    .swiper-pagination-bullet {
        background: #000;
        width: 5px;
        height: 5px;
    }

    .swiper-pagination {
        bottom: 10px !important;
    }


    .item-info-wrap {
        position: sticky;
        top: -50px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 150px 50px 150px 100px;
        width: 50%;
        z-index: 10;
        max-height: 10000px;

        .ready-deliver {
            display: none;
            color: rgb(72, 137, 6);
        }

        .ready-deliver.active {
            display: block;
        }

        .item-details-wrap {
            margin-top: 50px;
            width: 100%;
            height: 400px;
            max-height: fit-content;

            .item-details {
                position: relative;
                width: 100%;
                max-height: 50px;
                overflow-y: hidden;
                transition: 0s;
                border-top: 1px solid black;

                .item-details-title {
                    display: flex;
                    width: 100%;
                    height: 50px;
                    justify-content: space-between;
                    padding: 0px 10px;
                    align-items: center;
                    cursor: pointer;

                    img {
                        transition: 0.3s;
                        width: 15px;
                        height: 15px;
                        transform: rotate(0deg);
                    }
                }

                .item-details-content {
                    max-height: 10000px;
                    padding: 10px;

                    table {
                        border-collapse: collapse;
                        width: 100%;
                        text-align: center;

                        td,
                        th {
                            padding: 5px;
                            border: 1px solid black;
                        }
                    }

                    ul {
                        padding-left: 20px;
                        list-style: circle;
                    }

                    p {
                        font-size: 16px;
                    }
                }
            }

            .item-details:last-child {
                border-bottom: 1px solid black;
            }

            .item-details.opened {
                max-height: 400px;
                transition: 0.5s;

                .item-details-title {
                    img {
                        transform: rotate(180deg);
                    }
                }
            }
        }
    }
}


/* Модальное окно — центрируем и ограничиваем размеры */
.img-modal {
    display: none;
    /* по умолчанию скрыта */
    opacity: 1;
    transition: opacity 0.3s ease;
    position: fixed;
    inset: 0;
    background: white;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    box-sizing: border-box;
}

.img-modal.hidden {
    opacity: 0;
    pointer-events: none;
    /* чтобы клики не проходили, когда скрыто */
}

/* Контейнер зум-слайдера — ограничиваем размеры */
.zoom-swiper {
    width: 100%;
    /* не больше 600px шириной */
    height: 100%;
    /* максимум 80% высоты окна */
    background: rgb(255, 255, 255);
    /* фон для контраста */
    overflow: hidden;
    position: relative;
}

/* Сам Swiper-wrapper (обертка слайдов) */
.zoom-swiper .swiper-wrapper {
    width: 100%;
    height: 100%;
}

/* Изображения внутри слайдов масштабируем по размеру контейнера */
.zoom-swiper .swiper-zoom-container img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    user-select: none;
    pointer-events: none;
}

/* Кнопка закрытия — чуть выше и правее */
.img-modal .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 60px;
    color: rgb(0, 0, 0);
    cursor: pointer;
    z-index: 1100;
    user-select: none;
}

/* Стрелки навигации — адаптируем по размеру */
/* Сделать стрелки меньше */
.zoom-swiper .swiper-button-prev,
.zoom-swiper .swiper-button-next {
    width: 36px;
    /* уменьшил с 36px */
    height: 45px;
    /* уменьшил с 36px */
    color: rgb(0, 0, 0);
    /* белый цвет стрелок */
    font-size: 10px;
    border-radius: 10px;

    &::after {
        font-size: 25px;
    }
}

/* Пагинация — черные буллеты */
.zoom-swiper .swiper-pagination-bullet {
    background: black;
    opacity: 0.5;
    /* чуть прозрачности для эстетики */
    transition: background-color 0.3s ease;
    bottom: 100px;
}

/* Активный буллет — полностью черный */
.zoom-swiper .swiper-pagination-bullet-active {
    background: black;
    opacity: 1;
}


.same-products-container {
    display: none;
}

.same-products-container.active {
    display: flex;
}

.catalog {
    margin-top: 50px;
}

.double-range-slider {
    position: relative;
    width: 85%;
    height: 30px;
    margin: 20px 0;
    margin: 0 auto;
}

/* Фон всего диапазона */
.double-range-slider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: #ddd;
    /* светлый фон */
    border-radius: 3px;
    transform: translateY(-50%);
    z-index: 1;
}

/* Выделенный диапазон между ползунками */
.slider-range {
    position: absolute;
    top: 50%;
    height: 3px;
    background: #000000;
    /* цвет выделенного диапазона */
    border-radius: 3px;
    transform: translateY(-50%);
    z-index: 2;
}

/* Ползунки */
.slider-thumb {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #000000;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    user-select: none;
    z-index: 3;
}

.mobile-menu {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 99;
    background-color: white;
    width: 80%;
    max-width: 400px;
    height: 100%;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}


.menu-wrap-title {
    display: flex;
    justify-content: space-between;
    background-color: #e1e1e1;
    padding: 12px 20px;

    div {
        display: flex;
        gap: 40px;
        align-items: center;

        p {
            font-size: 18px;
        }
    }

    button {
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        background: transparent;
        text-decoration: underline;
        height: min-content;
        cursor: pointer;
        padding: 10px;
    }
}

.menu-wrap {
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    .menu-wrap-button {
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: space-between;
        border: none;
        border-bottom: 1px solid var(--light-grey);
        background: transparent;
        cursor: pointer;
        padding: 20px 0px 10px 0px;
        text-decoration: none;

        div {
            display: flex;
            flex-direction: column;
            align-items: start;
            gap: 5px;

            p {
                font-size: 16px;
                color: black;
            }

            span {
                font-size: 13px;
                margin-bottom: 5px;
                text-align: left;
            }
        }

        img {
            width: 20px;
            transform: rotate(-90deg);
        }
    }

    .filters-btns {
        display: flex;
        flex-direction: column;
        margin-top: 50px;
        align-items: center;
        gap: 5px;

        #reset-filters {
            background: transparent;
            padding: 5px;
            border: none;
            text-decoration: underline;
            cursor: pointer;
        }

        #apply-all-btn {
            background-color: black;
            width: 100%;
            color: white;
            padding: 15px;
            border-radius: 5px;
            border: none;
            text-decoration: underline;
            cursor: pointer;
            text-decoration: none;

            &:hover,
            &:active {
                background-color: rgb(72, 72, 72);
            }
        }
    }
}

.filter-group {
    top: 0px;
    left: 0px;
    transform: translateX(-100%);
    background-color: white;
    position: fixed;
    width: 80%;
    max-width: 400px;
    height: 100%;
    overflow-y: auto;
    z-index: 100;
    transition: 0.4s ease-in-out;
    overflow-x: hidden;
    padding-bottom: 20px;
}

.filter-group.active {
    transform: translateX(0%);
}

.filter-group-choice-wrap {
    padding: 20px;
}

.apply-filter-btn {
    display: flex;
    width: calc(100% - 40px);
    padding: 14px;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background-color: #111;
    color: white;
    cursor: pointer;
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;

    &:hover,
    &:active {
        background-color: rgb(72, 72, 72);
    }
}

.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
}

.custom-checkbox input[type="checkbox"] {
    display: none;
}

.custom-checkbox .checkmark {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    margin-right: 10px;
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
    background-color: white;
    border: 1px solid var(--light-grey);
    /* черный бордер по умолчанию */
}

.custom-checkbox input[type="checkbox"]:checked+.checkmark {
    background-color: #111;
    border-color: #111;
}

.custom-checkbox input[type="checkbox"]:checked+.checkmark::after {
    content: "";
    position: absolute;
    left: 5.5px;
    top: 2.1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox .color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #ccc;
    margin-right: 8px;
    flex-shrink: 0;
}

.mobile-menu.active {
    transform: translateX(0%);
}

.filters-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
    padding: 15px 0;

    .filters-button {
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        height: 27px;
        background: transparent;
        border: none;

        img {
            height: 100%;
        }

        div {
            display: none;
            justify-content: center;
            align-items: center;
            background-color: #111;
            color: white;
            width: 20px;
            height: 20px;
            border-radius: 100%;

            span {
                font-size: 11px;
            }
        }

        div.active {
            display: flex;
        }
    }

    .custom-select {
        position: relative;
        cursor: pointer;
        user-select: none;
    }

    .selected-option {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        background-color: white;
        gap: 8px;

        img {
            width: 20px;
        }
    }

    .options-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        border-top: none;
        background-color: white;
        z-index: 10;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .option {
        padding: 10px;
        width: 100%;

        &:hover {
            text-decoration: underline;
        }
    }


    #sort-price.hovering .options-list {
        display: block;
    }

}

.filters-header.hidden {
    display: none;
}

.price-filter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 25px;

    .outfit-item-title {
        font-size: 20px;
        font-weight: 550;
    }

    .price-filter-wrap {
        display: flex;
        justify-content: center;
        gap: 40px;
        width: 85%;

        div {
            display: flex;
            align-items: center;
            padding-bottom: 10px;
            justify-content: space-between;
            flex: 0 0 calc(50% - 20px);
            border-bottom: 1px solid black;

            span {
                font-weight: 500;
            }
        }
    }
}

footer {
    position: relative;
    background-color: #1C1C1B;
    display: flex;
    align-items: center;
    justify-content: center;

    .footer-wrapper {
        display: flex;
        justify-content: space-between;
        max-width: 1300px;
        width: 100%;
        padding: 50px 100px;
        gap: 100px;

        .icons {
            display: flex;
            flex-direction: column;

            .kirito-logo {
                filter: brightness(0) invert(1);
                width: 70px;
            }

            .social-media {
                margin: 30px 0px 0px 0px;

                a {
                    border: 1px solid white;

                    img {
                        filter: brightness(0) invert(1);
                    }

                    &:hover {
                        opacity: 1;
                    }
                }

            }

        }

        .footer-info-wrap {
            width: 100%;
            display: flex;
            gap: 30px;
            justify-content: space-between;

            .info {
                display: flex;
                flex-direction: column;
                gap: 10px;

                h4 {
                    color: white;
                    font-size: 18px;
                    text-transform: uppercase;
                }

                a {
                    color: white;
                    text-decoration: none;
                    font-weight: 300;

                    &:hover {
                        text-decoration: underline;
                    }
                }
            }
        }
    }

}

.social-media {
    margin: 20px auto 20px auto;
    display: flex;
    gap: 10px;

    a {
        position: relative;
        display: flex;
        width: 45px;
        height: 45px;
        border: 1px solid rgb(0, 0, 0);
        border-radius: 100%;
        padding: 9px;
        opacity: 0.6;

        img {
            filter: none;
            width: 100%;
        }

        &:hover {
            opacity: 1;
        }
    }

}

.favorite-checkbox {
    position: absolute;
    top: 8px;
    right: 8px;
    cursor: pointer;
    user-select: none;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.favorite-checkbox input {
    display: none;
    /* прячем чекбокс */
}

/* по умолчанию — иконка пустая (заливка none, обводка черная) */
.favorite-checkbox .favorite-icon {
    fill: none;
    stroke: #000;
    transition: fill 0.3s ease, stroke 0.3s ease;
}

/* если чекбокс активен — заливка черная и обводка убирается */
.favorite-checkbox input:checked+.favorite-icon {
    fill: #000000;
    stroke: none;
}

#no-products-msg {
    display: none;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;

    a {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 35px;
        width: 140px;
        border-radius: 5px;
        border: 1px solid var(--light-grey);
        text-decoration: none;
        &:hover {
            text-decoration: underline;
        }
    }
}

.about-us {
    padding: 0px 200px;

    ol {
        list-style: none;
    }

    h1 {
        font-size: 30px;
        margin-top: 30px;
        margin-bottom: 10px;
    }

    h2 {
        font-size: 20px;
        margin-bottom: 8px;
        margin-top: 20px;
        text-align: left;
    }

    p {
        font-size: 15px;
        margin-bottom: 12px;
    }
}

a[data-lang] {
    cursor: pointer;
}

@media (hover: none) {
    .product-img:hover img:first-of-type {
        opacity: 1;
    }

    .product-img:hover img:last-of-type {
        opacity: 0;
        transform: scale(1.5);
    }
}

@media (max-width: 1100px) {
    header {
        .content {
            .hamburger {
                display: flex;
            }

            nav {
                display: none;
            }

            .header-buttons {
                .dropdown {
                    display: none;
                }
            }
        }
    }

    section {
        padding: 0px 50px;
    }

    .about-us {
        padding: 0px 100px;
    }
}

@media (max-width: 1000px) {
    .item {
        margin-top: 0px;
        flex-direction: column;
        align-items: center;

        .item-img-wrap {
            width: 100%;
            aspect-ratio: 1 / 1;
        }

        .item-info-wrap {
            width: 100%;
            padding: 30px 10px;
        }
    }
}

@media (max-width: 870px) {
    footer {
        .footer-wrapper {
            flex-wrap: wrap;
            gap: 50px;

            .icons {
                width: 100%;
            }

            .icons,
            .info {
                align-items: center;
            }

            .footer-info-wrap {
                text-align: center;
            }
        }
    }

    .desired-categories {
        .desired-categories-wrap {
            gap: 30px;

            a {
                flex: 0 0 100%;
                max-width: 60%;
            }
        }
    }
}

@media (max-width: 635px) {
    .cards-container {
        gap: 20px;

        .card {
            flex: 0 0 calc(50% - 10px);
        }
    }

    .about-us {
        padding: 0px 50px;
    }
}

@media (max-width: 600px) {
    header {
        height: 60px;

        .content {
            a.logo {
                img {
                    height: 60px;
                }
            }
        }
    }

    main {
        padding-top: 60px;
    }

    :root {
        --outfit-card-title: 15px;
        --outfit-card-sizes: 11px;
        --outfit-card-price: 13px;
    }

    footer {
        .footer-wrapper {
            padding: 70px 40px;

            .footer-info-wrap {
                flex-wrap: wrap;

                .info {
                    flex: 0 0 calc(50% - 30px);
                    box-sizing: border-box;
                }
            }
        }
    }


    .popular-brands {
        .popular-brands-wrap {
            gap: 25px;

            a {
                flex: 0 0 calc(50% - 25px);
                margin-bottom: 10px;

                img {
                    width: 100%;
                }
            }
        }
    }

    .main-bg {
        height: 60vh;
    }
}

@media (max-width: 509px) {
    :root {
        --orbitron-h1: 40px;
        --noto-sans-header: 15px;
        --noto-sans-h2: 25px;
        --noto-sans-dd: 13px;
        --clash-grotesk-item-title: 23px;
    }

    footer {
        .footer-wrapper {
            padding: 50px 10px;

            .footer-info-wrap {
                gap: 0px;
                overflow: hidden;

                .info {
                    width: 100%;
                    flex: 0 0 100%;
                    position: relative;
                    max-height: 60px;
                    border-top: 1px solid var(--light-grey);
                    gap: 0px;
                    align-items: start;
                }

                .info:last-child {
                    border-bottom: 1px solid var(--light-grey);
                }

                .info .noto-sans-dd-title {
                    cursor: pointer;
                    position: relative;
                    margin: 19px 6px;
                    font-size: 15px;
                    font-weight: 500;
                }

                .info::after {
                    content: '';
                    position: absolute;
                    top: 16px;
                    right: 0;
                    width: 16px;
                    height: 16px;
                    background-image: url('/img/arrow.svg');
                    background-repeat: no-repeat;
                    background-size: contain;
                    transition: transform 0.3s ease;
                    top: 16px;
                    transform: rotate(-90deg);
                    filter: invert(1);
                }

                .info.open::after {
                    transform: rotate(0deg);
                }

                .noto-sans-dd-title {
                    cursor: pointer;
                }

                .info a {
                    overflow: hidden;
                    display: block;
                    margin-bottom: 10px;
                    margin-left: 6px;
                }

                .info a:nth-child(1) {
                    margin-bottom: 10px;
                }

                .info.open {
                    max-height: 3000px;
                    padding-bottom: 10px;
                }
            }

        }
    }

    section {
        padding: 0 20px;
        margin-bottom: 70px;

        h2 {
            margin-bottom: 30px;
        }
    }

    .popular-brands {
        .popular-brands-wrap {
            padding: 10px 0px 20px 0px;
        }
    }

    .cards-container {
        justify-content: space-between;

        .card {
            padding-top: 20px;

            .product-img {
                margin-bottom: 20px;
                transform: scale(1);
            }
        }
    }

    .filters-header {
        border: 0;
        gap: 14px;
        justify-content: center;
        height: 50px;
        padding: 0;

        .filters-button {
            border-radius: 10px;
            height: 100%;
            background-color: black;
            flex: 0 0 calc(50% - 7px);
            padding: 15px 15px;

            img {
                filter: invert(1);
            }

            p {
                color: white;
            }

            #filters-button-amount {
                background-color: white;
                color: black;
            }
        }

        .custom-select {
            flex: 0 0 calc(50% - 7px);
            height: 100%;

            .selected-option {
                height: 100%;
                border-radius: 10px;
                border: 1px solid black;
                align-items: center;
                padding: 10px 15px;

                img {
                    width: 15px;
                    height: 15px;
                }
            }
        }
    }

    .catalog {
        margin-top: 30px;
    }

    .menu-wrap {
        .filters-btns {
            gap: 10px;

            #reset-filters {
                padding: 0px;
                width: 100%;
                border: 1px solid black;
                text-decoration: none;
                padding: 10px;
                border-radius: 5px;
            }
        }

    }

    .about-us {
        padding: 0px 30px;
    }

    .item {
        .item-info-wrap {
            gap: 13px;
        }
    }
}