/* --- Базовый дизайн карточек каталога --- */
.t-store .t-store__product {
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
    border-radius: 20px !important;
    overflow: hidden;
    background-color: #ffffff;
}

/* Эффект легкого подъема при наведении мыши */
.t-store .t-store__product:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Затемнение картинки букета для читаемости текста */
.t-store .t-slds__bgimg {
    transition: filter 0.4s ease, transform 0.4s ease;
}
.t-store .t-store__product:hover .t-slds__bgimg {
    filter: brightness(0.75) contrast(1.05);
    transform: scale(1.08);
}

/* Скрытая кнопка "Состав" поверх фото */
.product-hover-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9) translateZ(0);
    opacity: 0;
    padding: 14px 30px;
    background: linear-gradient(135deg, #1A4D2E 0%, #2D6A4F 100%); /* Градиент изумрудный -> темно-зеленый */
    color: white !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 0.5px;
    border-radius: 99px;
    z-index: 10;
    pointer-events: none;
    user-select: none;
    will-change: transform, opacity;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: saturate(180%) blur(10px);
}

/* Плавное появление кнопки при наведении */
.t-store .t-store__product:hover .product-hover-btn {
    transform: translate(-50%, -50%) scale(1) translateZ(0);
    opacity: 1;
    pointer-events: auto;
}

/* Адаптивность для мобильных устройств (кнопка крупнее) */
@media screen and (max-width: 640px) {
    .product-hover-btn {
        padding: 16px 32px;
        font-size: 17px;
    }
}