.custom-dropdown {
    position: relative;
    width: 422px; /* Фиксированная ширина */
    margin-top: 50px;
    margin-bottom: 88px;
}

.dropdown-header {
    height: 75px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 25px;
    border: 1px solid black;
    padding: 0 30px;
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    z-index: 1000;
}

.dropdown-options li {
    cursor: pointer;
    height: 75px;
    padding: 0 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.selected-value, .dropdown-options li {
    font-family: Inter;
    font-weight: 200;
    font-size: 24px;
}

.dropdown-options li:hover {
    background-color: #f0f0f0;
}

.souvenir-filters-text {
    font-family: Inter;
    font-size: 24px;
}

.souvenirs-item-container {
    width: calc((100% - ((min(64px, 2%))*3)) / 4);
}

.souvenirs-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: min(64px, 2%);
    row-gap: 64px;
}

.souvenir-preview-img {
    width: 100%;
    aspect-ratio: 1;
    background-color: lightgrey;
}

.souvenir-preview-img-image {
    width: 100%;
}

.souvenir-title, .souvenir-preview-price {
    font-size: 24px;
    font-family: Inter;
}

.souvenir-title {
    margin-top: 20px;
    margin-bottom: 70px;
}

@media(max-width: 1400px){
    .custom-dropdown {
        width: 384px; /* Фиксированная ширина */
        margin-top: 45px;
        margin-bottom: 80px;
    }
    .dropdown-header {
        height: 68px;
        padding: 0 27px;
    }
    .dropdown-options li {
        height: 68px;
        padding: 0 27px;
    }
    .selected-value, .dropdown-options li {
        font-family: Inter;
        font-weight: 200;
        font-size: 22px;
    }

    .souvenir-title, .souvenir-preview-price {
        font-size: 22px;
    }

    .souvenir-title {
        margin-bottom: 40px;
    }
}

@media(max-width: 991px){
    .souvenir-title, .souvenir-preview-price {
        font-size: 20px;
        line-height: 24px;
    }

    .souvenir-title {
        margin-bottom: 40px;
    }

    .custom-dropdown {
        width: 350px; /* Фиксированная ширина */
        margin-top: 41px;
        margin-bottom: 73px;
    }
    .dropdown-header {
        height: 62px;
        padding: 0 24px;
    }
    .dropdown-options li {
        height: 56px;
        padding: 0 24px;
    }
    .selected-value, .dropdown-options li {
        font-family: Inter;
        font-weight: 200;
        font-size: 20px;
    }

    .selected-value, .dropdown-options li {
        font-family: Inter;
        font-weight: 200;
        font-size: 25px;
    }

    .souvenir-filters-text {
        font-size: 20px;
        line-height: 24px;
    }
}

@media(max-width: 767px){
    .souvenirs-item-container {
        width: calc((100% - ((min(64px, 2%))*2)) / 3);
    }

    .souvenir-title, .souvenir-preview-price {
        font-size: 18px;
        line-height: 22px;
    }

    .souvenir-title {
        margin-bottom: 25px;
    }

    .custom-dropdown {
        width: 316px; /* Фиксированная ширина */
        margin-top: 37px;
        margin-bottom: 66px;
    }
    .dropdown-header {
        height: 56px;
        padding: 0 27px;
    }
    .dropdown-options li {
        height: 56px;
        padding: 0 22px;
    }
    .selected-value, .dropdown-options li {
        font-family: Inter;
        font-weight: 200;
        font-size: 20px;
    }

    .souvenir-filters-text {
        font-size: 18px;
        line-height: 22px;
    }
}

.souvenir-pagination {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    width: 380px;
    margin: 0 auto;
    margin-top: 60px;
}

.souvenir-pagination span {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Inter;
    font-size: 30px;
    cursor: pointer;
}

.souvenir-pagination span:hover {
    background-color: #dbdbdb;
}

@media(max-width: 575px){
    .souvenirs-item-container {
        width: calc((100% - ((min(64px, 2%))*1)) / 2);
    }
}
