/* ================================================================
   FIRSATLAR (Editörün Seçtikleri - Tümünü Gör) — Premium Styles
   ================================================================ */

/* ===== Hero Section ===== */
.firsatlar-hero {
    background: linear-gradient(135deg, #6C3FA0, #4a2b84);
    color: #fff;
    padding: 2.5rem 1.5rem 2rem;
    border-radius: 0 0 28px 28px;
    margin: 0 -12px 1.5rem -12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.firsatlar-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.firsatlar-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -8%;
    width: 180px;
    height: 180px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}
.firsatlar-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}
.firsatlar-hero-icon {
    font-size: 2.5rem;
    margin-bottom: 0.6rem;
    display: inline-block;
    background: rgba(255,255,255,0.12);
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    backdrop-filter: blur(4px);
}
.firsatlar-hero-icon i {
    color: #fbbf24;
}
.firsatlar-hero-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}
.firsatlar-hero-sub {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 1rem;
    line-height: 1.5;
}
.firsatlar-hero-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    opacity: 0.7;
}
.firsatlar-hero-breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}
.firsatlar-hero-breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}
.firsatlar-hero-breadcrumb i {
    font-size: 0.6rem;
}

/* ===== Toolbar ===== */
.firsatlar-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}
.firsatlar-count {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: #64748b;
}
.firsatlar-count strong {
    color: #1e293b;
}
.firsatlar-count i {
    color: #6C3FA0;
}
.firsatlar-pagination-info {
    font-size: 0.82rem;
    color: #94a3b8;
    font-weight: 500;
}

/* ===== Grid ===== */
.firsatlar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 2rem;
}
@media (min-width: 576px) {
    .firsatlar-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (min-width: 768px) {
    .firsatlar-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
@media (min-width: 992px) {
    .firsatlar-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}
@media (min-width: 1200px) {
    .firsatlar-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===== Card ===== */
.firsatlar-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.firsatlar-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
    transition: all 0.28s cubic-bezier(.4,0,.2,1);
    position: relative;
}
.firsatlar-card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(108,63,160,0.14);
    border-color: #e6d1f9;
    color: inherit;
    text-decoration: none;
}

/* Top Row */
.fc-top-row {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
    pointer-events: none;
}
.fc-platform {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    background: rgba(255,255,255,0.95);
    border-radius: 6px;
    backdrop-filter: blur(4px);
    pointer-events: auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.fc-time {
    font-size: 0.62rem;
    font-weight: 500;
    padding: 2px 6px;
    background: rgba(255,255,255,0.9);
    border-radius: 5px;
    color: #64748b;
    pointer-events: auto;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.fc-time i { font-size: 0.55rem; }

/* Image */
.fc-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0.8rem 0.5rem;
    min-height: 150px;
    position: relative;
    background: linear-gradient(to bottom, #fafbfc, #fff);
}
.fc-img {
    max-height: 130px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}
.firsatlar-card-link:hover .fc-img {
    transform: scale(1.06);
}
.fc-img-placeholder {
    width: 100%;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 2.5rem;
}
.fc-discount {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 2px 10px rgba(239,68,68,0.3);
}

/* Body */
.fc-body {
    padding: 0.6rem 0.8rem 0.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.fc-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1e293b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
    margin: 0 0 0.3rem 0;
}
.fc-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.3rem;
}
.fc-stars {
    color: #f59e0b;
    font-size: 0.72rem;
    font-weight: 700;
}
.fc-rating-count {
    color: #94a3b8;
    font-size: 0.68rem;
}
.fc-detail {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.4;
    margin: 0 0 0.4rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fc-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-top: auto;
}
.fc-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: #16a34a;
    line-height: 1;
}
.fc-price small {
    font-size: 0.7rem;
    font-weight: 600;
}
.fc-old-price {
    font-size: 0.72rem;
    color: #94a3b8;
    text-decoration: line-through;
}

/* CTA */
.fc-cta {
    padding: 0.55rem 0.8rem;
    text-align: center;
    font-size: 0.76rem;
    font-weight: 700;
    color: #6C3FA0;
    border-top: 1px solid #f1f5f9;
    transition: all 0.2s;
}
.firsatlar-card-link:hover .fc-cta {
    background: #6C3FA0;
    color: #fff;
}

/* ===== Empty State ===== */
.firsatlar-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: #94a3b8;
}
.firsatlar-empty-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
}
.firsatlar-empty h3 {
    color: #475569;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.firsatlar-empty p {
    font-size: 0.9rem;
    max-width: 400px;
    margin: 0 auto;
}

/* ===== Pagination ===== */
.firsatlar-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 1.5rem 0 3rem;
    flex-wrap: wrap;
}
.fp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.55rem 1.2rem;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #6C3FA0;
    text-decoration: none;
    transition: all 0.2s;
}
.fp-btn:hover {
    border-color: #6C3FA0;
    background: #f7ebff;
    color: #6C3FA0;
    text-decoration: none;
}
.fp-pages {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.fp-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid transparent;
}
.fp-page:hover {
    background: #f7ebff;
    color: #6C3FA0;
    text-decoration: none;
}
.fp-page.active {
    background: #6C3FA0;
    color: #fff;
    border-color: #6C3FA0;
    box-shadow: 0 4px 12px rgba(108,63,160,0.25);
}
.fp-dots {
    color: #94a3b8;
    padding: 0 0.3rem;
    font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .firsatlar-hero {
        padding: 1.8rem 1rem 1.5rem;
        border-radius: 0 0 18px 18px;
    }
    .firsatlar-hero-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
        border-radius: 14px;
        margin-bottom: 0.5rem;
    }
    .firsatlar-hero-title {
        font-size: 1.3rem;
    }
    .firsatlar-hero-sub {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }
    .firsatlar-hero-breadcrumb {
        font-size: 0.7rem;
    }
    .firsatlar-toolbar {
        padding: 0.5rem 0;
        margin-bottom: 0.8rem;
    }
    .firsatlar-count {
        font-size: 0.8rem;
    }
    .firsatlar-grid {
        gap: 10px;
    }
    .fc-img-wrap {
        min-height: 110px;
        padding: 1.5rem 0.5rem 0.3rem;
    }
    .fc-img {
        max-height: 100px;
    }
    .fc-body {
        padding: 0.4rem 0.6rem 0.3rem;
    }
    .fc-title {
        font-size: 0.73rem;
        line-height: 1.25;
        margin-bottom: 0.2rem;
    }
    .fc-detail {
        display: none;
    }
    .fc-price {
        font-size: 0.95rem;
    }
    .fc-old-price {
        font-size: 0.65rem;
    }
    .fc-cta {
        padding: 0.4rem 0.5rem;
        font-size: 0.68rem;
    }
    .fp-btn {
        padding: 0.45rem 0.8rem;
        font-size: 0.75rem;
    }
    .fp-page {
        width: 34px;
        height: 34px;
        font-size: 0.78rem;
    }
}
