/* ===== AKCIA / OFFERS PAGE ===== */

.page-header {
    text-align: center;
    padding: 40px 20px 30px;
}
.page-header h1 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 8px;
}
.page-header h1 i {
    color: #e84393;
    margin-right: 10px;
}
.page-header .subtitle {
    color: var(--text-secondary, #888);
    font-size: 1rem;
}

.no-offers {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary, #888);
}
.no-offers i {
    font-size: 4rem;
    color: #ddd;
    display: block;
    margin-bottom: 20px;
}
.no-offers h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 0 0 50px;
}

.offer-card {
    background: var(--content-bg, #fff);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--border-color, #eee);
    display: flex;
    flex-direction: column;
}
.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.14);
}
.offer-card.offer-sold-out {
    opacity: 0.65;
    filter: grayscale(0.3);
}

.offer-image {
    position: relative;
    overflow: hidden;
}
.offer-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.offer-card:hover .offer-image img {
    transform: scale(1.04);
}
.offer-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #e84393, #ff6b35);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(232,67,147,0.4);
}

.offer-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.offer-body h2 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin: 0 0 10px;
}
.offer-message {
    color: var(--text-secondary, #666);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.offer-prices {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 1.1rem;
}
.price-new {
    color: #e84393;
    font-weight: bold;
    font-size: 1.7rem;
    line-height: 1;
}

.offer-slots {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 16px;
    background: #e8f5e9;
    color: #2e7d32;
    font-weight: 500;
}
.offer-slots.low-stock {
    background: #fff3e0;
    color: #e65100;
    animation: pulse-slot 1.5s infinite;
}
.offer-slots.sold-out {
    background: #fce4ec;
    color: #c62828;
}
@keyframes pulse-slot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.offer-cta {
    display: block;
    padding: 12px;
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    color: white;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    margin-top: auto;
}
.offer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.45);
}

@media (max-width: 600px) {
    .offers-grid { grid-template-columns: 1fr; }
    .page-header h1 { font-size: 1.5rem; }
}

/* Countdown timer */
.offer-countdown {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #e84393;
    padding: 6px 0 2px;
}
.offer-countdown i { font-size: 0.95rem; }
.offer-countdown.low-time {
    color: #e65100;
    animation: pulse-slot 1.2s ease infinite;
}
.offer-countdown.expired { color: #c62828; }
