/* Карточки продуктов */
.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
    position: relative;
    border: 1px solid #f1f5f9;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background-color: #e2e8f0;
    /* Плейсхолдер если нет картинки */
}

/* Бейджи */
.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
}

.badge-hot {
    background: #f43f5e;
    color: white;
    right: 10px;
    left: auto;
    animation: pulse 2s infinite;
}

.badge-start {
    background: #fbbf24;
    color: #78350f;
}

.badge-open {
    background: #dbeafe;
    color: #1d4ed8;
}

.badge-weekly {
    background: #ede9fe;
    color: #6d28d9;
}

.badge-offline {
    background: #dcfce7;
    color: #166534;
}

.badge-digital {
    background: #fef3c7;
    color: #92400e;
}

.badge-disabled {
    background: #e5e7eb;
    color: #6b7280;
}

/* Горящая карточка */
.hot-card {
    border: 2px solid #f43f5e;
}

/* Затемненный продукт (Адвент) */
.disabled-card {
    filter: grayscale(100%);
    opacity: 0.6;
    pointer-events: none;
    /* Запрещает клики */
}

.disabled-img {
    background-color: #cbd5e1;
}

/* Табы */
.tab-btn {
    padding: 10px 24px;
    border-radius: 30px;
    border: 2px solid #e2e8f0;
    font-weight: 600;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn.active {
    background: #9333ea;
    color: white;
    border-color: #9333ea;
}

.tab-btn:hover:not(.active) {
    border-color: #9333ea;
    color: #9333ea;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}