.wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    padding: 0 10px 30px;
    margin: 0 auto;
}

.wrapper + .box .page-title {
    font-size: 0;
    margin: 0 0 30px;
    width: 0;
    height: 0;
}

.anchor {
    text-decoration: none;
}

main {
    background: linear-gradient(206.57deg, rgba(27, 0, 0, 1) 53.644%,rgba(129, 0, 0, 1) 104.096%);
    padding: 30px 0;
}

main + .footer {
    padding: 0;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}


.breadcrumbs+.page-title,.breadcrumbs+.box .page-title {
    margin-top: -16px
}

.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
    padding: 30px 0 10px !important;
}

.breadcrumbs-list__item {
    margin-bottom: 5px;
    padding-bottom: 4px;
    font-size: 16px;
    color: #CC576E !important;
    border-bottom: 1px solid transparent
}

.breadcrumbs-list__item.link {
    color: #ffffff!important;
    border-color: #CC576E !important;
}

.breadcrumbs-list__item.link:hover {
    border-color: transparent
}

.breadcrumbs-list__separator {
    margin: 0 5px;
    padding-bottom: 4px;
    font-size: 16px;
    color: #CC576E !important;
    border-bottom: 1px solid transparent
}


.pagination-list__item.link.is-active {
color: #ffffff !important;
}

/* ? Banner ? */
.main-block {
    border-radius: 30px;
    background-image: url(../img/selection-banner.jpg);
    background-position: right;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    background-color: #4c050d;
    height: 180px;
}

.main-block-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    max-width: 580px;
    padding: 0 40px;
    height: 100%;
}

.main-block-info__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    color: #ffffff;
    margin: 0;
}

.main-info-block__subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.4px;
    color: #ffffff;
    margin: 0;
}

/* ? Nav ? */
.setup-navigation-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.setup-navigation-list__item {
    display: flex;
    position: relative;
    width: 100%;
    height: 80px;
}

.setup-navigation-list__link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80px;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    color: #ffffff !important;
    border-radius: 15px;
    box-shadow: none;
    transition: box-shadow 0.3s ease-in-out;
    border-radius: 15px;
    background: rgba(76, 2, 12, 1);
}

.setup-navigation-list__link.is-active {
    border-radius: 15px;
    box-shadow: 0px 4px 15px 3px rgba(177, 66, 85, 0.75);
    background: rgba(192, 78, 96, 1);
}

.setup-navigation-list__link.is-active:hover {
    box-shadow: none;
}

.setup-navigation-list__link:hover {
    box-shadow: 0px 4px 15px 3px rgba(177, 66, 85, 0.75);
}

.setup-navigation-list__link.is-active  span {
    min-height: 74px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #222222;
    background: #fff;
    width: 100%;
    text-align: center;
    padding: 13px 0;
    border-radius: 6px;
}

/* Controls */
.custom-filter-controls {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.custom-controls {
    display: flex;
    gap: 16px;
}

.custom-controls__btn {
    font: 700 20px/1 var(--font-harmonia);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 220px;
    height: 60px;
    text-transform: uppercase;
    color: #ffffff !important;
    border-radius: 15px;
    box-shadow: none;
    transition: box-shadow 0.3s ease-in-out;
    border: none;
    border-radius: 15px;
    background: #4c020c;
    padding: 0;
    cursor: pointer;
}

.custom-controls__btn.is-active {
    box-shadow: 0px 4px 15px 3px rgba(177, 66, 85, 0.75);
    background: rgba(192, 78, 96, 1);
}

.custom-controls__btn.is-active:hover {
    box-shadow: none;
    cursor: default;
}

.custom-controls__btn:hover {
    box-shadow: 0px 4px 15px 3px rgba(177, 66, 85, 0.75);
}

/* SubControls */
.custom-subcontrols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.custom-subcontrols__btn {
    font: 600 16px / 1 var(--font-harmonia);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 48px;
    color: #ffffff !important;
    border-radius: 15px;
    box-shadow: none;
    transition: box-shadow 0.3s ease-in-out;
    border: 1px solid #ffffff;
    border-radius: 8px;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.custom-subcontrols__btn.is-active {
    border-color: #c04e60;
    cursor: default;
}

.custom-subcontrols__btn:hover {
    border-color: #c04e60;
}

.custom-selection-description {
    font: 400 20px/24px var(--font-harmonia);
    color: #ffffff;
    margin: 0;
}

/* ? Setuos ? */

.page-catalog .filters-wr .filters {
    border-radius: 15px !important;
}

.catalog-list__item {
    border-radius: 15px !important;
}

.page-catalog-sorting .sorting .mobile-hidden {
    color: #ffffff !important;
}

/* Promo Custom Card */
.promo-custom-content-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.promo-custom-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 380px;
    gap: 6px;
    border-radius: 8px;
    background: var(--base-bg-transparent-white);
}

.promo-custom-card.is-active {
    display: flex;
}

.promo-custom-card.not-active {
    display: none;
}

.promo-custom-card-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    padding: 16px;
}

.promo-custom-card__img {
    flex-shrink: 0;
    position: relative;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.promo-custom-card__img img {
    display: block;
    max-height: 220px;
    margin: 0 auto;
}

.promo-custom-card-heading {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.promo-custom-card__title {
    /* min-height: 42px; */
    font-size: 18px;
    font-weight: 600;
    line-height: 21px;
    color: #ffffff;
    margin: 0;
}

.promo-custom-card__price {
    text-align: right;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    color: #ffffff;
    margin: 0;
}

.promo-custom-card__buy {
    font-family: var(--font-harmonia);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid rgba(192, 78, 96, 1);
    background: rgba(192, 78, 96, 1);
    color: #ffffff;
    cursor: pointer;
    padding: 18px 0 20px;
    margin: auto 0 0 0;
}

.promo-custom-card__link {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    border: 1px solid rgba(192, 78, 96, 1);
    text-decoration: none;
    border-radius: 10px;
    color: #ffffff;
    padding: 18px 0 20px;
}

.promo-custom-card__buy:hover {
    background-color: transparent;
    border-color: var(--base-border-white);
}

.promo-custom-card__link:hover {
    background-color: var(--base-bg-blue);
    border-color: var(--base-border-blue);
}

@media(max-width: 1024px) {
    /* ? Banner ? */
    .main-block-info {
        background-position: center;
    }

    .setup-navigation-list {
        gap: 10px;
    }

    .custom-subcontrols {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 20px;
    }
}

@media(max-width: 767px) {
    .wrapper {
        padding: 0 10px 0;
    }

    main {
        padding: 0 0 30px;
    }

    .breadcrumbs-list {
        display: none !important;
    }

    /* ? Banner ? */
    .main-block {
        background-image: url(../img/banner-mob.png);
        background-size: cover;
        background-position: center;
        border-radius: 15px;
        padding: 260px 0 0 0;
    }

    .main-block-info {
        gap: 10px;
        max-width:100%;
        background: transparent;
        backdrop-filter: blur(0);
        -webkit-backdrop-filter: blur(0);
        padding: 15px 10px;
    }

    .main-block-info__title {
        font-size: 24px;
        line-height: 28px;
        text-align: center;
    }

    .main-info-block__subtitle {
        font-size: 16px;
        line-height: 24px;
        text-align: center;
        letter-spacing: 0;
    }

    .main-block-info__link {
        width: 100%;
        padding: 2px;
        margin: 5px auto 0;
    }

    .main-block-info__link span {
        padding: 11px 0 15px;
    }

    .main-block {
        background: url(../img/banner-m.png) center center / 320px 407px no-repeat;
        padding: 37px 0 370px;
    }

    .main-block-info__title {
        font: 600 24px / 110% var(--font-harmonia);
        text-align: center;
    }

    .setup-navigation-list {
        display: flex;
        overflow-y: scroll;
        max-width: 550px;
        margin: -55px auto 0;
    }

    .setup-navigation-list__item {
        display: flex;
        position: relative;
        width: max-content;
        height: 60px;
    }
    
    .setup-navigation-list__link {
        width: 125px;
        height: 50px;
        font-size: 14px;
        line-height: 18px;
        padding: 0 10px;
    }

    .setup-navigation-list__link:hover {
        box-shadow: none;
    }

    .setup-navigation-list__link.is-active span {
        padding: 18px 0;
    }

    .setup-content {
        gap: 30px;
        padding: 30px 0 0;
    }

    .setups-heading {
        border-radius: 60px;
    }

    .setups-heading__title {
        font-size: 24px;
        line-height: 28px;
    }

    .setup-title {
        font-size: 16px;
        line-height: 20px
    }

    .setup-content .product {
        width: 220px !important;
    }

    .setup-content .product-carousel-wr {
        background-color: transparent !important;
        width: 100% !important;
    }

    .setup-content .product-carousel .product {
        padding: 15px !important;
        border-radius: 8px !important;
    }

    .setup-content .product-carousel .product-cart>.button {
        right: 10px !important;
        bottom: 10px !important;
    }

    .product-carousel .product-color {
        right: 0;
        bottom: 100px;
        left: 50% !important;
        transform: translateX(-50%);
        position: absolute;
        margin: 0;
    }

    .custom-subcontrols {
        display: flex;
        flex-wrap: nowrap;
        overflow-y: scroll;
        gap: 20px;
    }

    .custom-controls__btn {
        font: 600 14px / 1 var(--font-harmonia);
        height: 50px;
        border-radius: 10px;
    }

    .custom-subcontrols__btn {
        flex-shrink: 0;
        max-width: 220px;
    }

    .custom-selection-description {
        font: 400 14px/120% var(--font-harmonia);
    }

    .promo-custom-content-list {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 20px 10px;
    }

    .promo-custom-card-heading {
        flex-direction: column;
        height: 100%;
    }

    .promo-custom-card-info {
        padding: 0;
    }
    

    .promo-custom-card__title {
        font-size: 16px;
    }

    .promo-custom-card__price {
        text-align: left;
    }

    .promo-custom-card__buy,
    .promo-custom-card__link {
        font-size: 16px;
        padding: 10px 0;
    }
}