/* Product card CTA refinement & mobile widget clearance */

.product-messengers {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 12px;
    font-family: 'helveticaneuecyrroman', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.3;
    color: #111;
}

.product-messengers__label {
    font-family: 'helveticaneuecyrmedium', Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
    white-space: nowrap;
}

.product-messengers__links {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex-wrap: nowrap;
}

.product-messengers__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #111 !important;
    text-decoration: none !important;
    font-family: 'helveticaneuecyrmedium', Arial, sans-serif;
    font-size: 13px;
    white-space: nowrap;
    transition: color 0.18s ease;
}

.product-messengers__link:hover,
.product-messengers__link:focus {
    color: #BA3330 !important;
}

.product-messengers__link img {
    width: 17px;
    height: 17px;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

.product-messengers__sep {
    color: #c5ccd6;
    user-select: none;
}

/* Visual separation between primary buy/messenger actions and credit/installments */
.product-credit {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e2e5e9;
}

.product-credit__notice {
    font-size: 13px;
    line-height: 1.35;
    color: #4b5563;
}

/* Zero-price / in-store-only products */
.product-price-request {
    margin-top: 4px;
}

.product-price-request .small {
    margin-bottom: 10px;
    color: #4b5563;
}

.product-price-request .product-one-click {
    margin-top: 0;
}

/* Separate bottom-center orange "Получить скидку" button from bottom-right avatar widget on mobile */
@media (max-width: 767px) {
    .widget-btn {
        left: 12px;
        margin-left: 0;
        bottom: 12px;
        margin-bottom: 0;
        width: calc(100% - 135px);
        max-width: 220px;
        min-width: 172px;
        height: 40px;
        line-height: 38px;
        padding: 0 12px;
        box-sizing: border-box;
    }

    .widget-btn-text {
        font-size: 13px !important;
    }
}

/* Compact bottom-left cookie bar (never overlaps orange discount CTA or avatar widget) */
.cookie-info {
    position: fixed;
    z-index: 100001;
    left: 16px;
    right: auto;
    bottom: 10px;
    transform: none;
    width: auto;
    max-width: 430px;
    padding: 8px 12px 8px 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #dde2e8;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(17, 17, 17, 0.12);
    font-family: 'helveticaneuecyrroman', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.35;
    color: #111;
}

.cookie-info__row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-info__text {
    margin: 0 !important;
    font-size: 13px;
    line-height: 1.3;
    color: #374151;
    white-space: nowrap;
}

.cookie-info__text a {
    color: #111;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(17, 17, 17, 0.35);
}

.cookie-info__text a:hover {
    color: #BA3330;
    border-bottom-color: #BA3330;
}

.cookie-info__btns {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 0;
    flex-shrink: 0;
}

.cookie-info .btn.cookie-info__btn-agree {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 28px;
    padding: 6px 12px !important;
    margin-right: 0;
    border-radius: 0;
    background: #111 !important;
    border: 1px solid #111 !important;
    color: #fff !important;
    font-family: 'helveticaneuecyrmedium', Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}

.cookie-info .btn.cookie-info__btn-agree:hover,
.cookie-info .btn.cookie-info__btn-agree:focus {
    background: #BA3330 !important;
    border-color: #BA3330 !important;
    color: #fff !important;
}

.cookie-info__btn-options {
    background: none !important;
    border: none !important;
    border-bottom: 1px dashed rgba(17, 17, 17, 0.4) !important;
    border-radius: 0 !important;
    padding: 2px 0 !important;
    margin: 0;
    color: #6b7280 !important;
    font-family: 'helveticaneuecyrroman', Arial, sans-serif;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.cookie-info__btn-options:hover,
.cookie-info__btn-options:focus {
    color: #111 !important;
    border-bottom-color: #111 !important;
}

.cookie-info__close {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: 2px;
    font-size: 19px;
    line-height: 1;
    color: #8c95a2 !important;
    flex-shrink: 0;
    text-decoration: none !important;
}

.cookie-info__close:hover {
    color: #111 !important;
}

.cookie-info__options {
    display: none;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.cookie-info__checks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin-bottom: 10px;
}

.cookie-info__options label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    font-family: 'helveticaneuecyrroman', Arial, sans-serif;
    font-size: 12px;
    color: #111;
    white-space: nowrap;
    cursor: pointer;
}

.cookie-info__options input[type="checkbox"] {
    margin: 0 !important;
    accent-color: #111;
}

.cookie-info__options-actions {
    display: flex;
    align-items: center;
}

@media (max-width: 1080px) and (min-width: 768px) {
    .cookie-info {
        bottom: 56px;
    }
}

@media (max-width: 767px) {
    .cookie-info {
        left: 12px;
        right: 118px;
        bottom: 62px;
        width: auto;
        max-width: none;
        padding: 9px 11px;
        font-size: 12px;
    }

    .cookie-info__row {
        position: relative;
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }

    .cookie-info__text {
        font-size: 12px;
        white-space: normal;
        padding-right: 20px;
    }

    .cookie-info__close {
        position: absolute;
        top: -2px;
        right: -2px;
        margin-left: 0;
    }

    .cookie-info .btn.cookie-info__btn-agree {
        min-height: 26px;
        padding: 5px 11px !important;
        font-size: 11px;
    }
}

