/* overflow: clip обрезает как hidden, но не создаёт scroll-контейнер → не ломает position: sticky у дочерних блоков (фильтр покрытий). Старые браузеры игнорируют clip и оставляют hidden. */
.wrapper {
    overflow: clip;
}

.notification {
    display: flex;
    align-items: center;
    gap: 12px;
}

#notification-container {
    position: fixed;
    top: 32px;
    right: 32px;
    z-index: 9999;
    width: 364px;
}

.notification-status {
    width: 18px;
    height: 18px;
    min-height: 18px;
    min-width: 18px;
}

.notification-close {
    width: 12px;
    height: 12px;
    min-height: 12px;
    min-width: 12px;
}

.notification button {
    padding: 0;
    background: none;
}

.notification span {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 18px;
}

.cartBox {
    padding-top: 40px;
}

.cartBox__row {
    display: flex;
}

.cartBox__col {
    display: flex;
    padding-bottom: 15px;
    flex: 0 0 33%;
    align-items: center;
    justify-content: center;
}

.cartBox__left.cartBox__col {
    justify-content: left;
}

.cartBox__right.cartBox__col {
    justify-content: right;
}

.cartBox__col p {
    box-sizing: border-box;
    display: inline-flex;
    margin: 0;
}

.cartBox__col .cartBox__titleCode {
    margin-bottom: 10px;
    color: #afafaf;
}

.cartBox__title .cartBox__titleText {
    box-sizing: border-box;
    margin-top: 10px;
    font-size: 120%;
}

.cartBox__price {
    font-size: 150%;
    font-weight: bold;
}

.cartBox__col .btn {
    padding: 15px 30px;
}

.cartModalContent .cartBoxDescription {
    border-top: 1px solid #f1f1f1;
    padding: 40px 0;
}

.cartModalContent .cartBoxDescription p {
    margin: 5px 0;
}

.prodCard__colorBox--v2 {
    display: block;
}

.prodCard__colorBox--v2 .prodCard__colorHead {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.prodCard__selectedColor {
    font-size: 14px;
    color: #384860;
}

.prodCard__selectedColor .js-selected-color-name {
    font-weight: 600;
    color: #121a26;
}

.prodCard__colorBox--v2 .colorsSlider .swiper-wrapper {
    height: auto;
    align-items: flex-start;
}

.prodCard__colorBox--v2 .colorsSlider__slide {
    width: auto;
    height: auto;
}

.prodCard__colorBox--v2 .prodCard__colorWrp {
    width: 104px;
    height: auto;
    margin: 0;
    padding: 0 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.prodCard__colorBox--v2 .prodCard__color {
    position: relative;
    flex: none;
    width: 84px;
    height: 40px;
    min-height: 0;
    padding: 0;
    transform: skewX(-30deg);
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, .2);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    overflow: hidden;
    transition: box-shadow .15s ease, border-color .15s ease;
}

.prodCard__colorBox--v2 .prodCard__color:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}

.prodCard__colorBox--v2 .prodCard__color span {
    display: none;
}

.prodCard__color.selected::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .17);
    z-index: 1;
}

.prodCard__colorCheck {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 22px;
    color: #fff;
    z-index: 2;
    opacity: 0;
    transform: translate(-50%, -50%) skewX(30deg) scale(.4);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45));
    transition: opacity .15s ease, transform .15s ease;
    pointer-events: none;
}

.prodCard__color.selected .prodCard__colorCheck {
    opacity: 1;
    transform: translate(-50%, -50%) skewX(30deg) scale(1);
}

.prodCard__color--unknown {
    background-color: #f2f2f2;
    background-image: repeating-linear-gradient(45deg, #e2e2e2 0, #e2e2e2 6px, #f4f4f4 6px, #f4f4f4 12px);
}

.prodCard__colorName {
    display: block;
    margin-top: 6px;
    max-width: 100px;
    font-size: 11px;
    line-height: 1.25;
    text-align: center;
    color: #384860;
    word-break: break-word;
}

.alert.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
}

.card__icon--like.active svg,
.infoPanel__btn.active svg.infoPanel__svg--heart {
    stroke: transparent;
    fill: #E8E8E8;
}

.card__mini-icon.active svg {
    fill: #006bde;
}

.infoPanel__btn.active svg {
    fill: #E8E8E8;
}

.prodCard__icon--share.active svg {
    fill: #006bde;
}

.prodCard__icon--like.active svg {
    fill: #006bde;
}

.prodCard__icon--stat.active svg {
    fill: #006bde;
}

.cooperation--cta {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
}

.cooperation--cta_item {
    height: 293px;
    position: relative;
    margin-bottom: 20px;
    max-width: 210px;
    width: 100%;
    z-index: 1;
    left: -54px;
}

.cooperation--cta_item:nth-child(1) {
    max-width: 801px;
    width: 100%;
    overflow: hidden;
    left: 0;
}

.cooperation--cta_item:nth-child(1):before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: -155px;
    width: 232px;
    height: 100%;
    background-color: white;
    background-size: 100% 100%;
    z-index: 1;
    transform: translate(10%, 0) skewX(-20deg);
}

.cooperation--cta_item > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cooperation--cta_item-bg:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(
        0deg,
        rgba(154, 243, 239, 0.84),
        rgba(154, 243, 239, 0.84)
    );
    z-index: 11;
    transform: translate(0, 0) skewX(-20deg);
}

.container__div_one {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.container__div_one > div {
    max-width: 30%;
}

@media (max-width: 600px) {
    .cooperation--cta_item:nth-child(1) {
        width: 100% !important;
    }
}

@media screen and (max-width: 600px) {
    .container__div_one {
        flex-direction: column;
    }

    .second {
        order: 3;
    }

    .third {
        order: 2;
    }

    #notification-container {
        width: auto;
        top: 16px;
        right: 16px;
    }
}

@media (max-width: 900px) {
    .container__div_one > div {
        max-width: 100%;
    }
}

/* Карточка товара — характеристики: расширенные адаптивные колонки.
   Раньше: название фикс 180px (длинные переносились), значение не растягивалось
   (flex:0 1 auto) → справа оставалось много пустого места. Теперь колонка значения
   растёт на весь свободный остаток, а название шире и адаптивно (до 40%, не больше 340px).
   Только ≥480px — на мелких телефонах остаётся стек (правила темы при ≤479.98px). */
@media (min-width: 480px) {
    .prodCard__charsRow {
        align-items: baseline;
    }
    .prodCard__charsRowName {
        flex: 0 0 40%;
        max-width: 340px;
        padding-right: 24px;
    }
    .prodCard__charsRowData {
        flex: 1 1 auto;
        margin-left: 0;
    }
}
