/* === Карточка товара === */
.t-store__card {
    display: flex;
    flex-direction: column;
    height: auto;              
    box-sizing: border-box;

    background: rgba(255,255,255,0.85);        
    border: 1px solid rgba(255,255,255,0.5);   
    border-radius: 10px;
    padding: 12px 14px;                        
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);    
    transition: 0.3s;
}

/* Эффект при наведении */
.t-store__card:hover {
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

/* === Полка над картинкой === */
.t-store__card__imgwrapper {
    position: relative;
    margin-bottom: 4px;
}

.t-store__card__imgwrapper::before {
    content: '';
    position: absolute;
    top: 0;             /* полка у самого верха обёртки картинки */
    left: 0;
    width: 100%;
    height: 4px;        /* очень узкая полка */
    background: rgba(255,255,255,0.3); /* полупрозрачная */
    border-radius: 2px;
}

/* === Убираем лишние отступы между картинкой и текстом === */
.t-store__card__title,
.t-store__card__descr {
    margin: 0;
}

/* === Кнопка "В корзину" === */
.t-store__card__btn-text {
    background: #ff4081;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    display: inline-block;
    text-align: center;
    margin-top: 6px;
}

.t-store__card__btn-text:hover {
    background: #e73370;
}

/* === Сетка карточек === */
.t-store__cards-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* === Планшет === */
@media (max-width: 991px) {
    .t-store__cards-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .t-store__card {
        padding: 10px 12px;
    }
}

/* === Мобильный === */
@media (max-width: 575px) {
    .t-store__cards-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 10px; /* вертикальный/горизонтальный */
    }
    .t-store__card {
        padding: 8px 6px;
    }
}