/* --- İNDİRİMLER SAYFASI CSS --- */

/* 1. Başlık Alanı */
.sale-header-section {
    background: linear-gradient(to bottom, #FFF1F2, #fff); /* Açık kırmızıdan beyaza geçiş */
    padding: 40px 0 20px;
    border-bottom: 1px solid #f3f4f6;
}

.sale-badge {
    display: inline-block;
    background: #E11D48;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
    animation: bounce 2s infinite;
}

.sale-title {
    font-family: var(--font-heading);
    font-weight: 800;
    color: #9F1239; /* Koyu kırmızı tonu */
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.sale-desc {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 2. Top Section (Özellikler - Kategori.css ile benzer) */
.features-wrapper {
    display: flex;
    justify-content: space-between;
    padding-left: 15px;
}
.feature-item { text-align: center; }
.feature-icon { 
    font-size: 1.2rem; color: var(--primary); margin-bottom: 5px; 
    background: #ecfdf5; width: 35px; height: 35px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 5px;
}
.feature-title { font-size: 0.7rem; font-weight: 600; line-height: 1.2; }

/* 3. Boş Durum */
.empty-state-icon {
    font-size: 4rem;
    color: #e5e7eb;
    margin-bottom: 15px;
}

/* 4. Fırsat Widget (Home & Kategori ile Ortak) */
.firsat-widget {
    position: fixed; bottom: 20px; right: 20px;
    background: #fff; width: 340px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 9990;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(0,0,0,0.05);
}
.firsat-widget.active { transform: translateY(0); }

.fp-inner { display: flex; padding: 12px; gap: 15px; }
.fp-img-holder {
    width: 90px; height: 90px; border-radius: 8px;
    overflow: hidden; position: relative; flex-shrink: 0;
}
.fp-img-holder img { width: 100%; height: 100%; object-fit: cover; }
.fp-tag {
    position: absolute; top: 0; left: 0; width: 100%;
    background: var(--accent); color: #fff;
    font-size: 0.55rem; font-weight: 800; text-align: center; padding: 2px 0;
}
.fp-content { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
.fp-title {
    font-size: 0.9rem; font-weight: 600; color: var(--text-dark);
    margin: 0 0 5px 0; line-height: 1.2;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fp-timer-box {
    font-size: 0.7rem; color: #dc3545; background: #FFF1F2;
    padding: 2px 6px; border-radius: 4px; display: inline-block; font-weight: 600; width: fit-content;
}
.fp-price { font-size: 1.1rem; color: var(--primary); font-weight: 700; }
.fp-btn-go {
    background: var(--text-dark); color: #fff;
    font-size: 0.75rem; padding: 5px 12px; border-radius: 20px;
    text-decoration: none; font-weight: 600; transition: 0.2s;
}
.fp-btn-go:hover { background: var(--primary); color: #fff; }
.fp-close {
    position: absolute; top: -10px; right: -10px;
    width: 24px; height: 24px; background: #fff;
    border: 1px solid #ddd; border-radius: 50%;
    color: #888; cursor: pointer; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Animasyon */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-5px);}
    60% {transform: translateY(-3px);}
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .features-wrapper { display: none; }
    .sale-title { font-size: 1.8rem; }
    .firsat-widget { width: 94%; left: 3%; right: 3%; bottom: 80px; }
}