/* ============================================================
   Nova Natural – Özel Geçersiz Kılma (Override) CSS
   Amaç: Ana slider küçültme + Ürün kartı boyutu ve stabilitesi
   ============================================================ */

/* ─── SOLDA KATEGORİ MENÜSÜ STİLLERİ ─────────────────────────
   Yan menü kategorileri için modern tasarım                 */

.home-section-3 .col-2 ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: linear-gradient(135deg, #b2a49b 0%, #8a7c73 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(178, 164, 155, 0.3);
}

.home-section-3 .col-2 ul li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.home-section-3 .col-2 ul li:last-child {
    border-bottom: none;
}

.home-section-3 .col-2 ul li a {
    display: block;
    padding: 10px 18px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.home-section-3 .col-2 ul li a:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
}

.home-section-3 .col-2 ul li a:hover:before {
    left: 0;
}

.home-section-3 .col-2 ul li a:hover {
    padding-left: 25px;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.home-section-3 .col-2 ul li a:after {
    content: '→';
    position: absolute;
    right: 18px;
    opacity: 0;
    transition: all 0.3s ease;
}

.home-section-3 .col-2 ul li a:hover:after {
    opacity: 1;
    right: 15px;
}

/* Alternatif Stil - Minimalist */
.home-section-3.minimal .col-2 ul {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.home-section-3.minimal .col-2 ul li {
    border-bottom: 1px solid #f0f0f0;
}

.home-section-3.minimal .col-2 ul li a {
    color: #333;
    padding: 8px 16px;
}

.home-section-3.minimal .col-2 ul li a:hover {
    background: #f8f8f8;
    color: #667eea;
    padding-left: 20px;
}

/* Responsive - Kategoriler mobilde gizli */
@media (max-width: 1199px) {
    .home-section-3 .col-2 {
        display: none !important;
    }
}

/* ─── 1. ANA HERO SLIDER KÜÇÜLTME ────────────────────────────
   .home-section / .special-offer-slide-2-1 yüksekliği azaltma  */

/* Ana hero bölümü – önceden viewport'u dolduruyordu */
.home-section {
    max-height: 480px !important;
    overflow: hidden;
}

/* Hero sol resim alanı yüksekliği */
.home-section .home-left-img,
.home-section .home-left-img img {
    max-height: 480px !important;
    object-fit: cover;
    object-position: top;
}

/* Hero sağ içerik alanı */
.home-section .home-right-img {
    max-height: 480px !important;
}

/* home-section-2 (alternatif layout) */
.home-section-2 img {
    max-height: 460px !important;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/* Swiper ana banner slider */
.special-offer-slide-2-1 {
    max-height: 460px !important;
    overflow: hidden;
}

.special-offer-slide-2-1 .swiper-slide {
    max-height: 460px !important;
}

.special-offer-slide-2-1 .swiper-slide img {
    max-height: 460px !important;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/* ratio sınıflarını geçersiz kıl – banner için */
.ratio_13 .bg-size:before { padding-top: 28% !important; }
.ratio_18 .bg-size:before { padding-top: 30% !important; }
.ratio_30 .bg-size:before { padding-top: 28% !important; }
.ratio_35 .bg-size:before { padding-top: 32% !important; }
.ratio_38 .bg-size:before { padding-top: 32% !important; }
.ratio_40 .bg-size:before { padding-top: 34% !important; }
.ratio_45 .bg-size:before { padding-top: 36% !important; }

/* ─── 2. ÜRÜN KARTLARI – BOYUT VE STABİLİTE ─────────────────
   Daha küçük, düzgün yerleşim, titreme yok               */

/* Genel ürün kartı konteyneri */
.product-box-3 {
    transition: none !important;
    margin-bottom: 20px;
}

/* Ürün resim sarmalayıcı – overflow ve yükseklik */
.product-box-3 .img-wrapper {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    background-color: #f8f8f8;
}

/* Ürün görseli – sabit oran ve responsive */
.product-box-3 .img-wrapper .product-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-height: 280px;
}

.product-box-3 .img-wrapper .product-image img,
.product-box-3 .img-wrapper .product-image .pro-first img,
.product-box-3 .img-wrapper .product-image .pro-sec img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    background-color: #fff;
    transition: opacity 0.3s ease;
}

/* İkinci resim hover efekti */
.product-box-3 .img-wrapper .product-image .pro-first,
.product-box-3 .img-wrapper .product-image .pro-sec {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.product-box-3 .img-wrapper .product-image .pro-sec {
    opacity: 0;
}

.product-box-3:hover .img-wrapper .product-image .pro-sec {
    opacity: 1;
}

.product-box-3:hover .img-wrapper .product-image .pro-first {
    opacity: 0;
}

/* Hover'da ölçek büyümesi kaldırıldı – layout'u bozuyordu */
.product-box-3:hover .img-wrapper .product-image {
    transform: none !important;
}

/* Ürün detay alanı padding küçültme */
.product-box-3 .product-detail {
    padding-top: 12px;
}

.product-box-3 .product-detail h6 {
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Fiyat Satırı - BÜYÜK KIRMIZI BOLD */
.product-box-3 .product-detail .product-price-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 5px;
    margin-bottom: 6px;
    overflow: hidden;
}

.product-box-3 .product-detail .product-price-row .current-price {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #dc3545 !important;
    white-space: nowrap;
    flex-shrink: 0;
}

.product-box-3 .product-detail .product-price-row .old-price {
    font-size: 12px !important;
    color: #999 !important;
    font-weight: 400 !important;
    text-decoration: line-through;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Buton Grubu - Yan Yana */
.product-box-3 .product-detail .product-buttons {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

/* İncele Butonu - mor-pembe gradyan (ayın ürünü ile uyumlu) */
.product-box-3 .btn-product-view {
    flex: 1;
    padding: 10px 12px;
    background-image: linear-gradient(90deg, rgb(101,78,163) 0%, rgb(160,100,150) 51%, rgb(101,78,163) 100%) !important;
    background-size: 200% auto !important;
    background-color: transparent !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .5s ease !important;
    display: block;
    text-align: center;
    text-decoration: none !important;
}

.product-box-3 .btn-product-view:hover {
    background-position: 100% !important;
    background-image: linear-gradient(90deg, rgb(101,78,163) 0%, rgb(160,100,150) 51%, rgb(101,78,163) 100%) !important;
    color: #ffffff !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Sepete Ekle Butonu - #39a78e */
.product-box-3 .btn-add-cart {
    flex: 1;
    padding: 10px 12px;
    background: linear-gradient(135deg, #39a78e 0%, #2b8a74 100%) !important;
    color: #ffffff !important;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    text-decoration: none !important;
}

.product-box-3 .btn-add-cart:hover {
    background: linear-gradient(135deg, #2b8a74 0%, #1e6e5c 100%) !important;
    transform: scale(1.03);
    box-shadow: 0 3px 12px rgba(57, 167, 142, 0.4);
    color: #ffffff !important;
}

/* Favoriler ve sepet ikonları (üstteki) */
.product-box-3 .label-block,
.product-box-3 .cart-info-icon {
    z-index: 10;
}

.product-box-3 .label-block .label-2 {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    padding: 8px;
}

.product-box-3 .cart-info-icon a {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 50%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ─── 3. FASHIKART SLIDE (Ürün Listesi Slider) ───────────────
   Kaydırma esnasında yükseklik tutarlılığı                */

.swiper.fashikart-slide {
    min-height: unset !important;
}

.swiper.fashikart-slide .swiper-slide {
    height: auto !important;
    align-self: stretch;
}

.swiper.fashikart-slide .product-box-3 .img-wrapper .product-image {
    aspect-ratio: 1 / 1;
}

/* ─── 4. TOP-CATEGORIES SLIDE ────────────────────────────────
   Kategori slider üst boşluk düzenlemesi                  */

.swiper.top-categories-slide {
    padding-bottom: 48px;
}

/* ─── 5. ÖZEL TEKLİF SLIDER ─────────────────────────────────
   special-offer-slide-2 – Ürün kutusu yüksekliği           */

.special-offer-slide-2 .swiper-slide {
    height: auto !important;
}

/* ─── 6. GENEL STABİLİTE DÜZELTMELERİ ───────────────────────
   Layout shift ve titreme önleme                          */

/* Tüm slider container'larda min-height sıfırlama */
.swiper-wrapper {
    align-items: stretch !important;
}

.swiper-slide {
    height: auto;
    box-sizing: border-box;
}

/* Ürün kartı – hover efektinde boyut değişimi kaldırıldı */
.product-box-3,
.product-box-4,
.product-box-5 {
    will-change: auto !important;
    transform: none !important;
}

.product-box-3:hover,
.product-box-4:hover,
.product-box-5:hover {
    transform: none !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* ─── 7. MOBİL DÜZENLEMELER ──────────────────────────────────
   Küçük ekranlarda slider yüksekliği                      */

@media (max-width: 768px) {
    .home-section {
        max-height: 320px !important;
    }

    .home-section .home-left-img,
    .home-section .home-left-img img {
        max-height: 320px !important;
    }

    .special-offer-slide-2-1,
    .special-offer-slide-2-1 .swiper-slide {
        max-height: 320px !important;
    }

    .home-section-2 img {
        max-height: 300px !important;
    }

    .ratio_13 .bg-size:before,
    .ratio_18 .bg-size:before,
    .ratio_30 .bg-size:before { padding-top: 40% !important; }

    /* Ürün kartları tablet */
    .product-box-3 .img-wrapper .product-image {
        max-height: 240px;
    }

    .product-box-3 .product-detail h6 {
        font-size: 13px !important;
        min-height: 36px;
    }

    .product-box-3 .product-detail p {
        font-size: 13px !important;
    }
}

@media (max-width: 576px) {
    /* Ürün kartları mobil */
    .product-box-3 .img-wrapper .product-image {
        max-height: 200px;
    }

    .product-box-3 .product-detail h6 {
        font-size: 12px !important;
        min-height: 32px;
    }

    .product-box-3 .product-detail p {
        font-size: 12px !important;
    }

    .product-box-3 .product-detail .rating li i {
        font-size: 11px;
    }

    .product-box-3 .label-block .label-2,
    .product-box-3 .cart-info-icon a {
        padding: 6px;
    }
}

@media (max-width: 480px) {
    .home-section {
        max-height: 260px !important;
    }

    .special-offer-slide-2-1,
    .special-offer-slide-2-1 .swiper-slide {
        max-height: 260px !important;
    }

    /* Ürün kartları küçük mobil */
    .product-box-3 .img-wrapper .product-image {
        max-height: 180px;
    }

    .product-box-3 .product-detail {
        padding-top: 8px;
    }

    .product-box-3 .product-detail h6 {
        font-size: 11px !important;
        min-height: 30px;
    }

    .product-box-3 .product-detail p {
        font-size: 11px !important;
    }
}

@media (max-width: 375px) {
    /* Ürün kartları çok küçük mobil (iPhone SE, vb.) */
    .product-box-3 .img-wrapper .product-image {
        max-height: 160px;
    }

    .product-box-3 .product-detail h6 {
        font-size: 10.5px !important;
    }
}

/* ===== SEPETE EKLE BUTON - urun.php btn_black override ===== */
#sepet-ekle.btn.btn_black,
a#sepet-ekle.btn_black {
    background-image: linear-gradient(90deg, #39a78e 0%, #2b8a74 51%, #39a78e 100%) !important;
    background-size: 200% auto;
}
#sepet-ekle.btn.btn_black:hover,
a#sepet-ekle.btn_black:hover {
    background-position: 100%;
    box-shadow: 0 4px 15px rgba(57, 167, 142, 0.4);
}

/* ===== BTN-ADD-CART global override (kategori, urun-ara, urun "Sizin İçin" bölümü) ===== */
.btn-add-cart,
.product-box-3 .btn-add-cart,
a.btn-add-cart {
    background-image: linear-gradient(90deg, #39a78e 0%, #2b8a74 51%, #39a78e 100%) !important;
    background-size: 200% auto !important;
    background-color: transparent !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    transition: all .5s ease !important;
    box-shadow: none !important;
}
.btn-add-cart:hover,
.product-box-3 .btn-add-cart:hover,
a.btn-add-cart:hover {
    background-position: 100% !important;
    color: #ffffff !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ===== VİTRİN BAŞLIK ETİKETİ - şerit gradient yayılmış ===== */
.vitrin-baslik-etiket {
    display: block !important;
    width: 100%;
    background: linear-gradient(to right, rgb(101, 78, 163), rgb(234, 175, 200)) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 12px 40px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
    white-space: nowrap;
    box-shadow: 0 4px 18px rgba(101, 78, 163, 0.22);
    text-align: center;
}

/* ── İndirim Badge - Satırda Kalır ── */
.product-box-3 .discount-badge {
    background: #dc2626 !important;
    color: #fff !important;
    padding: 1px 5px !important;
    border-radius: 4px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    margin-left: 0 !important;
}

/* ── Mobil h6 min-height override ── */
@media (max-width: 768px) {
    .product-box-3 .product-detail h6 {
        font-size: 12px !important;
        min-height: 0 !important;
    }
    .product-box-3 .product-detail .product-price-row .current-price {
        font-size: 13px !important;
    }
    .product-box-3 .product-detail .product-price-row .old-price {
        font-size: 11px !important;
    }
}


/* ═══════════════════════════════════════════════════════════
   HEADER ARAMA KUTUSU — nn-search
   ═══════════════════════════════════════════════════════════ */

.nn-search-li {
    flex: 1 1 0;
    min-width: 180px;
    max-width: 360px;
    padding: 0 6px;
}

.nn-search-form {
    width: 100%;
}

.nn-search-inner {
    display: flex;
    align-items: center;
    background: #f4f4f6;
    border: 1.5px solid #e0e0e5;
    border-radius: 24px;
    height: 38px;
    padding: 0 6px 0 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.nn-search-inner:focus-within {
    border-color: rgba(var(--theme-default), 0.7);
    box-shadow: 0 0 0 3px rgba(var(--theme-default), 0.08);
    background: #fff;
}

.nn-search-icon {
    font-size: 16px;
    color: #999;
    flex-shrink: 0;
    margin-right: 6px;
    pointer-events: none;
}

.nn-search-inner input[type="search"] {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    color: #333;
    padding: 0;
    min-width: 0;
    -webkit-appearance: none;
}

.nn-search-inner input[type="search"]::placeholder {
    color: #aaa;
    font-size: 12.5px;
}

.nn-search-inner input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.nn-search-btn {
    flex-shrink: 0;
    background: #3a3a3a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 18px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 4px;
    transition: background 0.2s;
    white-space: nowrap;
    opacity: 1 !important;
}

.nn-search-btn:hover {
    background: rgba(var(--theme-default), 1) !important;
}

@media (max-width: 1199px) {
    .nn-search-li { display: none; }
}

/* ── Mobil Arama Çubuğu ── */
.nn-mobile-search-wrap {
    display: none;
}
@media (max-width: 1199px) {
    .nn-mobile-search-wrap {
        display: block !important;
        background: #fff;
        padding: 8px 16px 10px !important;
        border-bottom: 1px solid #eee;
    }
    .nn-mobile-search-inner {
        display: flex;
        align-items: center;
        background: #f5f5f5;
        border: 1px solid #e0e0e0;
        border-radius: 22px;
        padding: 6px 8px 6px 14px;
        gap: 6px;
    }
    .nn-mobile-search-inner .nn-search-icon {
        color: #999;
        font-size: 17px;
        flex-shrink: 0;
    }
    .nn-mobile-search-inner input[type="search"] {
        flex: 1;
        border: none;
        background: transparent;
        outline: none;
        font-size: 13px;
        color: #333;
        min-width: 0;
    }
    .nn-mobile-search-inner input[type="search"]::placeholder {
        color: #aaa;
    }
    .nn-mobile-search-inner button {
        flex-shrink: 0;
        background: #3a3a3a;
        color: #fff;
        border: none;
        border-radius: 16px;
        padding: 5px 14px;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.2s;
        white-space: nowrap;
    }
    .nn-mobile-search-inner button:hover,
    .nn-mobile-search-inner button:active {
        background: rgba(var(--theme-default), 1);
    }
}


/* ═══════════════════════════════════════════════════════════
   FOOTER BANNER (ETBİS + ABONE OL) — YENİ TASARIM
   ═══════════════════════════════════════════════════════════ */

.nn-footer-banner {
    background: #f8f8f8;
    border-top: 1px solid #ececec;
    padding: 16px 0;
}

.nn-footer-banner-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* ETBİS */
.nn-etbis-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.nn-etbis-link:hover { opacity: 1; }

.nn-etbis-link img {
    width: 46px;
    height: auto;
    display: block;
}

.nn-etbis-link span {
    font-size: 10px;
    color: #666;
    line-height: 1.3;
    text-align: left;
}

/* Dikey ayraç */
.nn-footer-banner-inner::after {
    content: "";
    width: 1px;
    height: 40px;
    background: #ddd;
    flex-shrink: 0;
    order: 1;
}

/* Abone ol bloğu */
.nn-subscribe-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 260px;
    order: 2;
}

.nn-subscribe-title {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.nn-subscribe-title i {
    color: rgba(var(--theme-default), 1);
    margin-right: 5px;
}

.nn-subscribe-row {
    display: flex;
    gap: 0;
    max-width: 420px;
}

.nn-subscribe-row input[type="email"] {
    flex: 1;
    border: 1.5px solid #ddd;
    border-right: none;
    border-radius: 6px 0 0 6px;
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
    min-width: 0;
    background: #fff;
}

.nn-subscribe-row input[type="email"]:focus {
    border-color: rgba(var(--theme-default), 0.6);
}

.nn-subscribe-row input[type="email"]::placeholder {
    color: #bbb;
    font-size: 12.5px;
}

#abone-ol {
    background: rgba(var(--theme-default), 1);
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}

#abone-ol i { margin-right: 5px; }

#abone-ol:hover {
    background: rgba(var(--theme-default), 0.85);
}

/* Mobil */
@media (max-width: 768px) {
    .nn-footer-banner { padding: 12px 0; }
    .nn-footer-banner-inner { gap: 12px; }
    .nn-footer-banner-inner::after { display: none; }
    .nn-etbis-link img { width: 36px; }
    .nn-subscribe-block { min-width: 100%; }
    .nn-subscribe-row { max-width: 100%; }
}


/* ═══════════════════════════════════════════════════════════
   OVERFLOW FIX — yatay kaydırma engelle
   ═══════════════════════════════════════════════════════════ */

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

.top_header,
.top_header .swiper {
    overflow: hidden;
    max-width: 100%;
}


/* ===================================================
   ÜRÜN ETİKET BADGE SİSTEMİ — urun-col.php
   =================================================== */

.urun-et-badge {
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px 4px 10px;
    border-radius: 0 50px 50px 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    pointer-events: none;
    user-select: none;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: transform .2s;
}

.product-box-3:hover .urun-et-badge {
    transform: translateX(2px);
}

.urun-et-badge .et-ikon {
    font-size: 12px;
    flex-shrink: 0;
    line-height: 1;
}

.urun-et-badge .et-yazi {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 🔥 En Çok Satan */
.et-badge-fire {
    background: linear-gradient(135deg, #ff6b35, #f7c59f);
    color: #7a1800;
}

/* ⚡ Flaş Ürün */
.et-badge-flash {
    background: linear-gradient(135deg, #f59e0b, #fde68a);
    color: #78350f;
}

/* 🏷 İndirim / Avantajlı */
.et-badge-sale {
    background: linear-gradient(135deg, #10b981, #6ee7b7);
    color: #064e3b;
}

/* ✨ Yeni */
.et-badge-new {
    background: linear-gradient(135deg, #6366f1, #c4b5fd);
    color: #1e1b4b;
}

/* ⭐ Özel / Seçili */
.et-badge-special {
    background: linear-gradient(135deg, #ec4899, #fbcfe8);
    color: #831843;
}

/* ⏳ Stok Tükeniyor */
.et-badge-stock {
    background: linear-gradient(135deg, #ef4444, #fca5a5);
    color: #7f1d1d;
}

/* ⭐ Yıldızlı */
.et-badge-star {
    background: linear-gradient(135deg, #eab308, #fef08a);
    color: #713f12;
}

/* Default */
.et-badge-default {
    background: linear-gradient(135deg, #6b7280, #d1d5db);
    color: #1f2937;
}

/* Mobil küçült */
@media (max-width: 576px) {
    .urun-et-badge {
        font-size: 9.5px;
        padding: 3px 9px 3px 8px;
        top: 7px;
    }
    .urun-et-badge .et-ikon {
        font-size: 10px;
    }
}

/* ===================================================
   ÜRÜN DETAY SAYFASI — Yatay Badge (başlık üstü)
   =================================================== */
.urun-det-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .4px;
    margin-bottom: 10px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.urun-det-badge .et-ikon { font-size: 14px; line-height: 1; }

/* Renk sınıflarını miras alır — et-badge-fire, et-badge-sale vb. */

/* ===================================================
   TAKSİT TABLOSU
   =================================================== */
.taksit-wrap { padding: 24px 0 10px; }
.taksit-aciklama { font-size: 13px; color: #666; margin-bottom: 16px; }
.taksit-tablo-wrap { overflow-x: auto; }
.taksit-tablo {
    width: 100%; border-collapse: collapse; font-size: 13.5px;
}
.taksit-tablo thead th {
    background: linear-gradient(135deg,#4361ee,#6481f4);
    color: #fff; padding: 11px 18px; text-align: left;
    font-weight: 600; font-size: 12.5px; letter-spacing: .3px;
}
.taksit-tablo thead th:first-child { border-radius: 10px 0 0 0; }
.taksit-tablo thead th:last-child  { border-radius: 0 10px 0 0; }
.taksit-tablo tbody tr { border-bottom: 1px solid #f0f2ff; transition: background .15s; }
.taksit-tablo tbody tr:hover { background: #f8f9ff; }
.taksit-row-pesin { background: #f0fff4 !important; }
.taksit-tablo td { padding: 10px 18px; vertical-align: middle; }
.taksit-no-badge {
    display: inline-block; padding: 3px 12px; border-radius: 50px;
    background: #eef2ff; color: #4361ee; font-weight: 700; font-size: 12px;
}
.taksit-no-badge.pesin {
    background: linear-gradient(135deg,#22c55e,#86efac); color: #14532d;
}
.taksit-faizsiz { color: #166534; font-weight: 600; }
.taksit-faizli  { color: #92400e; }
.taksit-faizsiz-badge {
    display: inline-block; margin-left: 6px; padding: 1px 8px;
    background: #dcfce7; color: #166534; border-radius: 50px;
    font-size: 11px; font-weight: 700;
}
.taksit-bilgi-notu {
    margin-top: 14px; font-size: 11.5px; color: #aaa; font-style: italic;
}

/* ===================================================
   KARGO & TESLİMAT KARTLARI
   =================================================== */
.kargo-wrap { padding: 24px 0 10px; }
.kargo-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px;
}
.kargo-kart {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 18px 16px; border-radius: 14px;
    background: #f8f9ff; border: 1px solid #e8edff;
    transition: box-shadow .2s;
}
.kargo-kart:hover { box-shadow: 0 4px 18px rgba(67,97,238,.1); }
.kargo-ikon { font-size: 26px; line-height: 1; flex-shrink: 0; margin-top: 2px; }
.kargo-icerik h6 { font-size: 14px; font-weight: 700; color: #2d3748; margin-bottom: 4px; }
.kargo-icerik p  { font-size: 12.5px; color: #666; margin: 0; line-height: 1.5; }

/* ===================================================
   STOK YOK — WHATSAPP BUTONU
   =================================================== */
.btn-stok-yok {
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff !important; border: none; border-radius: 10px;
    padding: 12px 20px; font-size: 14px; font-weight: 700;
    letter-spacing: .3px; text-decoration: none;
    box-shadow: 0 4px 15px rgba(37,211,102,.35);
    transition: all .2s;
}
.btn-stok-yok:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,.5);
    color: #fff !important;
}

/* ===================================================
   ÜRÜN DETAY — ADET + BUTON YENİ LAYOUT
   =================================================== */
.quantity-box-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

/* Sepete Ekle + Favori aynı satırda */
.urun-aksiyon-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-sepete-ekle-detay {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 48px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    letter-spacing: .3px;
}

/* Favori butonu — kare, başlangıçta beyaz */
.btn-favori-detay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #aaa;
    font-size: 18px;
    flex-shrink: 0;
    transition: all .2s ease;
    cursor: pointer;
    text-decoration: none;
}
.btn-favori-detay:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fff5f5;
}
.btn-favori-detay.aktif {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
}
.btn-favori-detay.aktif i {
    font-family: "Font Awesome 6 Free";
    font-weight: 900; /* solid kalp */
}

@media (max-width: 480px) {
    .btn-sepete-ekle-detay { font-size: 13px; height: 44px; }
    .btn-favori-detay { width: 44px; height: 44px; font-size: 16px; }
}

/* ============================================
   SAYFA ÜST BOŞLUK DÜZELTMESİ
   section genel seçicisinden gelen padding-top'u sıfırla
   ============================================ */
section.pt-0 {
    padding-top: 0 !important;
}
.heading-banner + section,
section.section-b-space.pt-0 + section.section-b-space.pt-0 {
    padding-top: 0 !important;
}
/* heading-banner bölümünün alt boşluğunu da kaldır */
section.section-b-space.pt-0:has(.heading-banner) {
    padding-bottom: 0 !important;
}
/* heading-banner kendi padding-top'unu sıfırla (style.css'de padding:20px 0 geliyor) */
.heading-banner {
    padding-top: 20px !important;
	margin-bottom:15px !important;
}

/* ── Footer alt boşluk sıfırla ── */
footer.footer-2 {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
body {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
