/* ===== Promotions Page ===== */
body.page-promotions {
    background: #f3f4f6;
}

.promo-page {
    --promo-gutter: 12px;
    padding: 10px var(--promo-gutter) calc(var(--nav-height) + 16px);
    box-sizing: border-box;
}

.header-promo-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--header-height);
    padding: 0 12px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-promo-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #222;
    line-height: 1.2;
    text-align: center;
}

.promo-cat-nav {
    margin-bottom: 10px;
    padding: 10px;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.promo-cat-nav::-webkit-scrollbar {
    display: none;
}

.promo-cat-track {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 100%;
}

.promo-cat-chip.category-tab {
    flex-shrink: 0;
    padding: 8px 14px;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    background: #f0f2f5;
    cursor: pointer;
    border: none;
    font-family: inherit;
    line-height: 1.2;
    position: relative;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.promo-cat-chip.category-tab::after {
    display: none;
}

.promo-cat-chip.category-tab.active {
    color: var(--primary-red);
    background: #fff5f5;
    box-shadow: 0 2px 8px rgba(230, 57, 53, 0.12);
}

.promo-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
}

.promo-card {
    display: block;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    animation: promo-card-in 0.35s ease both;
}

.promo-card:active {
    transform: scale(0.985);
}

.promo-card-cover {
    position: relative;
    width: 100%;
    background: #f5f5f5;
    overflow: hidden;
}

.promo-card-cover--fallback {
    aspect-ratio: 2 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 55%, #ffcc80 100%);
}

.promo-card-cover-img {
    width: 100%;
    height: auto;
    display: block;
}

.promo-card-cover-deco {
    color: rgba(230, 81, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-card-cover-deco svg {
    width: 72px;
    height: 72px;
}

.promo-card-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    background: var(--primary-red);
    color: #fff;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    line-height: 1.3;
    box-shadow: 0 2px 8px rgba(230, 57, 53, 0.28);
}

.promo-card-body {
    padding: 12px 14px 14px;
}

.promo-card-title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.promo-card-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.promo-cat-badge {
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #e65100;
    background: #fff3e0;
}

.promo-status {
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #2e7d32;
    background: #e8f5e9;
}

.promo-card-more {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: #999;
}

.promo-empty {
    padding: 48px 20px;
    text-align: center;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.promo-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 18px;
    background: linear-gradient(145deg, #fff3e0, #ffe0b2);
    color: #f57c00;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-empty-icon svg {
    width: 32px;
    height: 32px;
}

.promo-empty-title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.promo-empty-desc {
    margin: 0;
    font-size: 13px;
    color: #999;
    line-height: 1.5;
}

@keyframes promo-card-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
