/* ========== КАРТОЧКИ ТОВАРОВ В КАТАЛОГЕ ========== */
.t-store__card {
    border-radius: 18px !important;
    background: #fff !important;
    border: 1px solid #f0f0f0 !important;
    overflow: hidden !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08) !important;
    transition: 
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease !important;
}

.t-store__card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14) !important;
    border-color: #ff3c3c !important;
}

.t-store__card__imgwrapper {
    border-radius: 18px 18px 0 0 !important;
    overflow: hidden !important;
    background: #fafafa !important;
}

.t-store__card__img {
    transition: transform 0.6s ease !important;
}

.t-store__card:hover .t-store__card__img {
    transform: scale(1.05) !important;
}

.t-store__card__textwrapper {
    padding: 16px 18px 18px !important;
}

/* ===== НАЗВАНИЕ ===== */
.t-store__card__title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #111 !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
    letter-spacing: -0.2px !important;
    transition: color 0.25s ease !important;
    /* Ограничиваем в 2 строки */
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 44px !important; /* Фиксируем высоту для выравнивания */
}

.t-store__card:hover .t-store__card__title {
    color: #ff3c3c !important;
}

/* ===== ЦЕНА ===== */
.t-store__card__price-wrapper {
    display: flex !important;
    justify-content: center !important; /* ← Центрирование по горизонтали */
    align-items: center !important;
    gap: 8px !important;
    margin-top: 12px !important;
    padding-top: 12px !important;
    border-top: 1px solid #f0f0f0 !important;
    width: 100% !important; /* ← Занимает всю ширину */
    text-align: center !important; /* ← Для текста внутри */
}

.t-store__card__price {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #111 !important;
    padding: 6px 12px !important;
    background: linear-gradient(135deg, rgba(255, 60, 60, 0.08), rgba(255, 60, 60, 0.03)) !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important; /* ← Центрирование содержимого внутри */
    gap: 4px !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
}

.t-store__card__price .t-store__card__price-value {
    background: linear-gradient(90deg, #ff3c3c, #ff6b6b) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-align: center !important;
}

.t-store__card__price .t-store__card__price-currency {
    color: #ff3c3c !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}

.t-store__card:hover .t-store__card__price {
    background: linear-gradient(135deg, rgba(255, 60, 60, 0.15), rgba(255, 60, 60, 0.08)) !important;
    transform: translateY(-2px) !important;
}

/* ===== СТАРАЯ ЦЕНА ===== */
.t-store__card__price_old {
    font-size: 14px !important;
    color: #999 !important;
    text-decoration: line-through !important;
    padding: 4px 8px !important;
    background: #f8f8f8 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important; /* ← Центрирование содержимого */
}

.t-store__card__price_old .t-store__card__price-value {
    text-decoration: line-through !important;
}

.t-store__card:hover .t-store__card__price_old {
    background: #f0f0f0 !important;
    color: #777 !important;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 640px) {
    .t-store__card__title {
        font-size: 15px !important;
        min-height: 42px !important;
        text-align: center !important; /* ← Центрируем название на мобильных */
    }
    
    .t-store__card__price-wrapper {
        flex-direction: column !important; /* ← Старая цена под новой */
        gap: 6px !important;
    }
    
    .t-store__card__price {
        font-size: 18px !important;
        padding: 5px 10px !important;
        width: auto !important;
    }
    
    .t-store__card__price_old {
        font-size: 13px !important;
        width: auto !important;
    }
}

/* ===== НАЗВАНИЕ ===== */
.t-store__prod-popup__name {
    font-size: 30px !important;
    font-weight: 900 !important;
    letter-spacing: -0.6px;
    color: #111 !important;
    margin-bottom: 18px !important;
    padding-top: 40px !important;
}

/* ===== ЦЕНА ===== */
.t-store__prod-popup__price-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    margin: 24px 20px 28px 20px !important;
    padding: 18px 22px !important;
    background: linear-gradient(135deg, #fff5f5, #ffffff) !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 30px rgba(255,60,60,0.15) !important;
}

.t-store__prod-popup__price {
    font-size: 36px !important;
    font-weight: 900 !important;
    background: linear-gradient(90deg, #ff3c3c, #ff7a3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.t-store__prod-popup__price_old {
    font-size: 15px !important;
    color: #999 !important;
    position: relative;
}

.t-store__prod-popup__price_old::after {
    content: "";
    position: absolute;
    left: -6px;
    right: -6px;
    top: 50%;
    height: 2px;
    background: #ff3c3c;
    transform: rotate(-10deg);
}

/* ===== СВЯЗАТЬСЯ С НАМИ ===== */
.js-store-prod-all-text {
    background: #f6f6f6 !important;
    border-radius: 18px !important;
    padding: 18px 20px !important;
    margin: 0 20px 24px 20px !important;
    color: #222 !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06) !important;
    font-size: 14px !important;
}

.js-store-prod-all-text::before {
    content: "Связаться с нами";
    display: block;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #111;
}

.js-store-prod-all-text a {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 14px !important;
    border-radius: 30px !important;
    background: #ffffff !important;
    color: #111 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    margin: 6px 6px 0 0 !important;
    border: 1px solid #eaeaea !important;
    font-size: 13px !important;
    transition: all .25s ease;
}

.js-store-prod-all-text a:hover {
    background: #ff3c3c !important;
    color: #fff !important;
    border-color: #ff3c3c !important;
    transform: translateY(-2px);
}

/* ИКОНКИ */
.js-store-prod-all-text a[href*="t.me"]::before,
.js-store-prod-all-text a[href*="vk.com"]::before,
.js-store-prod-all-text a[href*="max.ru"]::before {
    content: "" !important;
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    margin-right: 8px !important;
    vertical-align: middle !important;
}

.js-store-prod-all-text a[href*="t.me"]::before {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/8/82/Telegram_logo.svg') !important;
}

.js-store-prod-all-text a[href*="vk.com"]::before {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/2/21/VK.com-logo.svg') !important;
}

.js-store-prod-all-text a[href*="max.ru"]::before {
    background-image: url('https://logo-teka.com/wp-content/uploads/2025/07/max-messenger-sign-logo.svg') !important;
}

/* ОПИСАНИЕ */
.js-store-prod-all-text ul {
    background: #ffffff !important;
    border-radius: 18px !important;
    padding: 20px 24px !important;
    margin-top: 18px !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04) !important;
}

.js-store-prod-all-text ul li {
    list-style: none !important;
    padding-left: 24px !important;
    margin-bottom: 8px !important;
    position: relative;
    font-size: 13px !important;
}

.js-store-prod-all-text ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #ff3c3c;
}

/* ХАРАКТЕРИСТИКИ */
.js-store-prod-all-charcs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 20px !important;
}

.t-typography__characteristics {
    padding: 8px 14px !important;
    background: #f5f5f5 !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    transition: .2s;
}

.t-typography__characteristics:hover {
    background: #111 !important;
    color: #fff !important;
}

/* ===== МОБИЛКА ===== */
@media (max-width: 1024px) {
    .t-store__prod-popup__container {
        flex-direction: column !important;
    }
    
    .t-store__prod-popup__col-left,
    .t-store__prod-popup__col-right {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .t-store__prod-popup__col-right .t-store__prod-popup__info > * {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .t-store__prod-popup__name {
        font-size: 24px !important;
        padding-top: 20px !important;
    }
    
    .t-store__prod-popup__price {
        font-size: 28px !important;
    }
}


