/* ==========================================================================
   1. Ссылка "Рассчитать количество" (Предыдущий код)
   ========================================================================== */
.t-catalog__prod-popup__link.t-descr.t-descr_xxs,
.t-store__product-popup .t-catalog__prod-popup__link,
div[class*="prod-popup__link"] {
    margin-top: 12px !important;
}
.t-catalog__prod-popup__link.t-descr.t-descr_xxs a,
.t-store__product-popup .t-catalog__prod-popup__link a,
div[class*="prod-popup__link"] a {
    color: #403C3B !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    letter-spacing: -1px !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    border-bottom: 1px solid #403C3B !important;
    display: inline-block !important;
}

/* ==========================================================================
   2. Заголовок "Похожие товары" / Релевантные (Первый код)
   ========================================================================== */
.t-catalog__relevants__title,
.t-store__relevants__title {
    font-size: 28px !important;
    padding-top: 50px !important;
    padding-bottom: 16px !important;
}

/* ==========================================================================
   3. Заголовок товара и Цена (Второй код)
   ========================================================================== */
.t-catalog__prod-popup__name,
.t-store__product-popup__name,
.t-store__product-popup__title-wrapper {
    font-family: 'Inter', sans-serif !important;
    font-size: 25px !important;
    font-weight: 500 !important;
}
.t-catalog__prod-popup__price-value,
.t-catalog__prod-popup__price-currency,
.t-store__product-popup__price-value,
.t-store__product-popup__price-currency,
.t-store__product-popup__price-wrapper {
    font-family: 'Inter', sans-serif !important;
    font-size: 25px !important;
    font-weight: 500 !important;
}

/* ==========================================================================
   4. Стили для Табов-Аккордеонов (Третий код)
   ========================================================================== */
.t-catalog__tabs,
.t-store__tabs {
    margin-top: 32px !important;
    width: 100% !important;
}
.t-catalog__tabs__item,
.t-store__tabs__item {
    border-top: 1px solid #e0e0e0 !important;
}
.t-catalog__tabs__item-button,
.t-store__tabs__item-button {
    padding: 17px 0 !important;
}
.t-catalog__tabs__item-title,
.t-store__tabs__item-title {
    color: #403c3b !important;
}
.t-catalog__tabs__content,
.t-store__tabs__content {
    color: #403c3b !important;
    padding-bottom: 0 !important;
}
.t-catalog__tabs__content p:first-child,
.t-store__tabs__content p:first-child {
    margin-top: 5px !important;
}

/* ==========================================================================
   АДАПТИВНОСТЬ ДЛЯ ВСЕХ БЛОКОВ (Планшеты и Мобильные)
   ========================================================================== */

/* Планшет (640–1199px) */
@media screen and (min-width: 640px) and (max-width: 1199px) {
    .t-catalog__prod-popup__link.t-descr.t-descr_xxs a,
    div[class*="prod-popup__link"] a {
        font-size: 16px !important;
        letter-spacing: -1px !important;
    }
    .t-catalog__prod-popup__name,
    .t-store__product-popup__name {
        font-size: 22px !important;
    }
    .t-catalog__prod-popup__price-value,
    .t-catalog__prod-popup__price-currency,
    .t-store__product-popup__price-value,
    .t-store__product-popup__price-currency {
        font-size: 22px !important;
    }
}

/* Мобильная версия (<640px) */
@media screen and (max-width: 639px) {
    .t-catalog__prod-popup__link.t-descr.t-descr_xxs,
    div[class*="prod-popup__link"] {
        margin-top: 12px !important;
    }
    .t-catalog__prod-popup__link.t-descr.t-descr_xxs a,
    div[class*="prod-popup__link"] a {
        font-size: 14px !important;
        letter-spacing: -0.5px !important;
    }
    .t-catalog__relevants__title,
    .t-store__relevants__title {
    font-size: 20px !important;
    }
    .t-catalog__prod-popup__name,
    .t-store__product-popup__name {
        font-size: 20px !important;
    }
    .t-catalog__prod-popup__price-value,
    .t-catalog__prod-popup__price-currency,
    .t-store__product-popup__price-value,
    .t-store__product-popup__price-currency {
        font-size: 20px !important;
    }
}