/* ========== СТРАНИЦА АКЦИЙ ========== */
.promotions-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

.promotions-header {
    text-align: center;
    margin-bottom: 40px;
}

.promotions-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #1A1A1A;
}

.promotions-header p {
    font-size: 15px;
    color: #888;
    margin: 0;
}

/* ========== СЕТКА ========== */
.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

/* ========== КАРТОЧКА ========== */
.promo-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.promo-expiry.soon {
    color: #E53935;
    font-weight: 600;
}

/* ========== ИЗОБРАЖЕНИЕ ========== */
.promo-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.promo-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF6B35 0%, #E55A2B 100%);
}

.promo-icon {
    font-size: 56px;
}

/* ========== БЕЙДЖ СКИДКИ ========== */
.discount-badge-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #E53935;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    z-index: 2;
}

/* ========== КОНТЕНТ КАРТОЧКИ ========== */
.promo-content {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.promo-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #1A1A1A;
    line-height: 1.3;
}

.promo-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

/* ========== ПОДВАЛ КАРТОЧКИ ========== */
.promo-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.promo-expiry {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}

/* ========== КНОПКА ========== */
.btn-orange {
    display: inline-block;
    padding: 9px 20px;
    background: #FF6B35;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-orange:hover {
    background: #E55A2B;
}

/* ========== ПУСТОЕ СОСТОЯНИЕ ========== */
.empty-promotions {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.empty-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 16px;
}

.empty-promotions h2 {
    margin: 0 0 8px 0;
    color: #1A1A1A;
    font-size: 22px;
}

.empty-promotions p {
    color: #888;
    margin: 0 0 24px 0;
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 768px) {
    .promotions-header h1 {
        font-size: 26px;
    }

    .promotions-grid {
        grid-template-columns: 1fr;
    }

    .promo-title {
        font-size: 18px;
    }

    .promo-image {
        height: 180px;
    }
}
