
/* =========================
   ULLEX PREMIUM CTA LINKS
   ========================= */

.js-catalog-prod-text a,
.t-catalog__prod-popup__text a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    min-height: 44px;
    padding: 10px 16px;
    margin: 8px 10px 8px 0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    text-align: center;
    text-decoration: none !important;
    box-shadow: none !important;
    border: 1px solid rgba(135, 69, 15, 0.22) !important;
    background: linear-gradient(180deg, #fffdfb 0%, #ffffff 100%) !important;
    color: #87450f !important;
    box-sizing: border-box;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.18s ease;
}

.js-catalog-prod-text a:hover,
.t-catalog__prod-popup__text a:hover,
.js-catalog-prod-text a:focus-visible,
.t-catalog__prod-popup__text a:focus-visible {
    color: #009f98 !important;
    border-color: rgba(0, 159, 152, 0.45) !important;
    background: linear-gradient(180deg, #ffffff 0%, #f7fffe 100%) !important;
    box-shadow: 0 8px 22px rgba(0, 159, 152, 0.10) !important;
    transform: translateY(-1px);
    outline: none;
}

.js-catalog-prod-text a:active,
.t-catalog__prod-popup__text a:active {
    transform: translateY(0);
}

/* Маркетплейсы */
.js-catalog-prod-text a[href*="ozon.ru"],
.js-catalog-prod-text a[href*="wildberries.ru"],
.js-catalog-prod-text a[href*="b-apteka.ru"],
.js-catalog-prod-text a[href*="market.yandex.ru"],
.t-catalog__prod-popup__text a[href*="ozon.ru"],
.t-catalog__prod-popup__text a[href*="wildberries.ru"],
.t-catalog__prod-popup__text a[href*="b-apteka.ru"],
.t-catalog__prod-popup__text a[href*="market.yandex.ru"] {
    background: linear-gradient(180deg, #ffffff 0%, #fcfaf8 100%) !important;
    color: #87450f !important;
    border: 1px solid rgba(135, 69, 15, 0.26) !important;
    box-shadow: 0 4px 14px rgba(135, 69, 15, 0.05) !important;
}

.js-catalog-prod-text a[href*="ozon.ru"]:hover,
.js-catalog-prod-text a[href*="wildberries.ru"]:hover,
.js-catalog-prod-text a[href*="b-apteka.ru"]:hover,
.js-catalog-prod-text a[href*="market.yandex.ru"]:hover,
.t-catalog__prod-popup__text a[href*="ozon.ru"]:hover,
.t-catalog__prod-popup__text a[href*="wildberries.ru"]:hover,
.t-catalog__prod-popup__text a[href*="b-apteka.ru"]:hover,
.t-catalog__prod-popup__text a[href*="market.yandex.ru"]:hover,
.js-catalog-prod-text a[href*="ozon.ru"]:focus-visible,
.js-catalog-prod-text a[href*="wildberries.ru"]:focus-visible,
.js-catalog-prod-text a[href*="b-apteka.ru"]:focus-visible,
.js-catalog-prod-text a[href*="market.yandex.ru"]:focus-visible,
.t-catalog__prod-popup__text a[href*="ozon.ru"]:focus-visible,
.t-catalog__prod-popup__text a[href*="wildberries.ru"]:focus-visible,
.t-catalog__prod-popup__text a[href*="b-apteka.ru"]:focus-visible,
.t-catalog__prod-popup__text a[href*="market.yandex.ru"]:focus-visible {
    background: linear-gradient(180deg, #ffffff 0%, #f7fffe 100%) !important;
    color: #009f98 !important;
    border-color: rgba(0, 159, 152, 0.42) !important;
    box-shadow: 0 8px 22px rgba(0, 159, 152, 0.12) !important;
}

/* =========================
   PREMIUM КНОПКА ОТЗЫВОВ
   ========================= */

.js-catalog-prod-text a[href="#popup:otziviullex"],
.t-catalog__prod-popup__text a[href="#popup:otziviullex"] {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 240px;
    min-height: 72px;
    padding: 14px 16px;
    gap: 6px;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f3fffd 100%) !important;
    color: #009f98 !important;
    border: 1px solid rgba(0, 159, 152, 0.30) !important;
    box-shadow:
        0 10px 28px rgba(0, 159, 152, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
    text-align: left;
    line-height: 1.2;
}

.js-catalog-prod-text a[href="#popup:otziviullex"]:hover,
.t-catalog__prod-popup__text a[href="#popup:otziviullex"]:hover,
.js-catalog-prod-text a[href="#popup:otziviullex"]:focus-visible,
.t-catalog__prod-popup__text a[href="#popup:otziviullex"]:focus-visible {
    color: #ffffff !important;
    border-color: #009f98 !important;
    background: linear-gradient(180deg, #10b8af 0%, #009f98 100%) !important;
    box-shadow: 0 14px 32px rgba(0, 159, 152, 0.22) !important;
}

.ullex-reviews-cta-premium {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
}

.ullex-reviews-cta-premium__top {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.ullex-reviews-cta-premium__label {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: inherit;
}

.ullex-reviews-cta-premium__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(0, 159, 152, 0.10);
    color: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ullex-reviews-cta-premium__bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.ullex-reviews-cta-premium__stars {
    display: inline-flex;
    gap: 2px;
    line-height: 1;
}

.ullex-reviews-cta-premium__star {
    font-size: 15px;
    color: rgba(0, 159, 152, 0.22);
}

.ullex-reviews-cta-premium__star.active {
    color: #ffb400;
}

.ullex-reviews-cta-premium__avg {
    font-size: 15px;
    font-weight: 700;
    color: inherit;
}

.ullex-reviews-cta-premium__count {
    font-size: 13px;
    color: inherit;
    opacity: 0.82;
}

/* hover inheritance */
.js-catalog-prod-text a[href="#popup:otziviullex"]:hover .ullex-reviews-cta-premium__badge,
.t-catalog__prod-popup__text a[href="#popup:otziviullex"]:hover .ullex-reviews-cta-premium__badge,
.js-catalog-prod-text a[href="#popup:otziviullex"]:focus-visible .ullex-reviews-cta-premium__badge,
.t-catalog__prod-popup__text a[href="#popup:otziviullex"]:focus-visible .ullex-reviews-cta-premium__badge {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.js-catalog-prod-text a[href="#popup:otziviullex"]:hover .ullex-reviews-cta-premium__star:not(.active),
.t-catalog__prod-popup__text a[href="#popup:otziviullex"]:hover .ullex-reviews-cta-premium__star:not(.active),
.js-catalog-prod-text a[href="#popup:otziviullex"]:focus-visible .ullex-reviews-cta-premium__star:not(.active),
.t-catalog__prod-popup__text a[href="#popup:otziviullex"]:focus-visible .ullex-reviews-cta-premium__star:not(.active) {
    color: rgba(255, 255, 255, 0.35);
}

.js-catalog-prod-text a[href="#popup:otziviullex"]:hover .ullex-reviews-cta-premium__count,
.t-catalog__prod-popup__text a[href="#popup:otziviullex"]:hover .ullex-reviews-cta-premium__count,
.js-catalog-prod-text a[href="#popup:otziviullex"]:focus-visible .ullex-reviews-cta-premium__count,
.t-catalog__prod-popup__text a[href="#popup:otziviullex"]:focus-visible .ullex-reviews-cta-premium__count {
    color: #ffffff !important;
    opacity: 0.9;
}

/* Мобильная версия */
@media (max-width: 640px) {
    .js-catalog-prod-text a,
    .t-catalog__prod-popup__text a {
        min-width: 150px;
        min-height: 42px;
        padding: 10px 12px;
        margin: 6px 6px 6px 0;
        font-size: 14px;
        border-radius: 10px;
    }

    .js-catalog-prod-text a[href="#popup:otziviullex"],
    .t-catalog__prod-popup__text a[href="#popup:otziviullex"] {
        min-width: 100%;
        min-height: 68px;
        padding: 14px 14px;
        border-radius: 14px;
    }

    .ullex-reviews-cta-premium__label {
        font-size: 15px;
    }

    .ullex-reviews-cta-premium__star {
        font-size: 14px;
    }

    .ullex-reviews-cta-premium__avg {
        font-size: 14px;
    }

    .ullex-reviews-cta-premium__count {
        font-size: 12px;
    }
}
</style>

