/* Wholesale price under retail on product page */
.price-two__wholesale {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    margin-top: 6px;
    font-size: 0.8em;
    line-height: 1.4em;
    color: hsl(var(--th), var(--ts), calc(var(--tl) + 40%));
}

.price-two__wholesale-price {
    font-weight: 600;
}

/* === Installment bank buttons on product page === */
.product__installment {
    margin-top: 16px;
}

.product__installment-title {
    font-size: 0.92em;
    font-weight: 600;
    margin-bottom: 8px;
}

.product__installment-banks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product__installment-bank {
    flex: 1 1 0;
    min-width: 92px;
    max-width: 140px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: #fff;
    border: 2px solid #e3e3e3;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.product__installment-bank:hover:not([disabled]) {
    transform: translateY(-1px);
}

.product__installment-bank[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

.product__installment-logo {
    max-width: 100%;
    max-height: 28px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product__installment-bank--privat {
    border-color: #7cb518;
}
.product__installment-bank--privat:hover:not([disabled]) {
    box-shadow: 0 4px 12px rgba(124, 181, 24, 0.25);
}

.product__installment-bank--mono {
    border-color: #1a1a1a;
}
.product__installment-bank--mono:hover:not([disabled]) {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.product__installment-bank--pumb {
    border-color: #e30613;
}
.product__installment-bank--pumb:hover:not([disabled]) {
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.25);
}

.product__installment-note {
    margin-top: 8px;
    font-size: 0.8em;
    line-height: 1.4em;
    color: hsl(var(--th), var(--ts), calc(var(--tl) + 35%));
}


/* Сравнение с конкурентами — агрессивный блок под «Преимуществом» */
.product__rival {
    border-color: rgba(221, 35, 14, 0.5);
}
.product__rival-name {
    display: block;
    margin-top: auto;
    font-weight: 600;
    font-size: var(--name-font-size);
    line-height: 1.45em;
    color: #DD230E;
}
.product__rival-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75em;
    margin-top: 8px;
}
.product__rival-logo {
    height: 2.2em;
    width: auto;
    filter: grayscale(1);
}
.product__rival-text {
    display: block;
    margin-top: 8px;
    color: hsl(var(--th), var(--ts), calc(var(--tl) + 20%));
    line-height: 1.45em;
    font-size: 0.95em;
}

/* === Add-to-cart & wholesale/drop buttons — ~20% larger (text + form) === */
.product__buttons {
    max-width: none;
}
.product__submit,
.product__one-click {
    min-height: 50px;
    font-size: 1.08em;
}
/* Quantity stepper sits in the same row as add-to-cart — match its height */
.product__quantity-button {
    width: 50px;
    height: 50px;
    font-size: 1.74em;
}
.product__quantity-value {
    width: 60px;
}
/* Desktop: add-to-cart & wholesale/drop in one 50/50 row, full parent width */
@media (min-width: 768px) {
    .product__buttons {
        display: flex;
        flex-direction: row;
        gap: var(--gap-small);
    }
    .product__buttons > :not(:last-child) {
        margin-bottom: 0;
    }
    .product__purchase,
    .product__one-click {
        flex: 1 1 0;
        min-width: 0;
    }
}

/* === Messengers (Telegram / Whatsapp / contact) on mobile — one 33/33/33 row, no wrap === */
@media (max-width: 767px) {
    .messengers__list {
        flex-wrap: nowrap;
        gap: var(--gap-small);
        margin: 0;
    }
    .messengers__item {
        flex: 1 1 0;
        min-width: 0;
        padding: 0;
        margin-top: 0;
    }
    .messengers__link {
        justify-content: center;
        width: 100%;
        max-width: none;
        height: 40px;
        padding: 0.4rem 0.35rem;
        margin: 0;
        font-size: 0.75em;
    }
    .messengers__link svg {
        margin-right: 4px;
    }
}

