﻿/* =====================================================================
   PRATİK MOBİLYA B2B - Bootstrap 5 mobil / tablet uyum katmanı
   ---------------------------------------------------------------------
   - ana.master içinde style.css ve sayfa stillerinden SONRA yüklenir.
   - Masaüstü (>= 992px) görünümüne dokunmaz; kuralların neredeyse
     tamamı max-width medya sorguları içindedir.
   - Not: html font-size 10px olduğu için 1rem = 10px.
   ===================================================================== */


/* ---------------------------------------------------------------------
   GENEL
   --------------------------------------------------------------------- */
/* style.css'te html ve body'de overflow-x:hidden var; bu body'yi ayrı bir kaydırma kutusu
   yapıyor ve position:sticky (mobil başlık, ödeme şeridi) hiç çalışmıyordu.
   clip görsel olarak aynı kırpmayı yapar ama kaydırma kutusu oluşturmaz.
   Desteklemeyen eski tarayıcılar bu satırı yok sayar ve eski davranış sürer. */
html,
body {
    overflow-x: clip;
}

/* 3D ödeme sırasında iframe üstünde gösterilen "işlem devam ediyor" şeridi (base.js > odemeIframeTakibi) */
.odeme-durum {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 1.4rem;
    margin: 0 0 1.2rem;
    padding: 1.2rem 1.6rem;
    background: #fef6d8;
    border: 1px solid #fbc710;
    border-radius: 1rem;
    color: #4d3f12;
    font-size: 1.4rem;
    line-height: 1.5;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

    .odeme-durum strong {
        font-size: 1.5rem;
        color: #8c6d00;
    }

.odeme-durum-spinner {
    flex: 0 0 2.6rem;
    width: 2.6rem;
    height: 2.6rem;
    border: 3px solid rgba(251, 199, 16, .25);
    border-top-color: #fbc710;
    border-radius: 50%;
    animation: odemeDurumDon .9s linear infinite;
}

@keyframes odemeDurumDon {
    to {
        transform: rotate(360deg);
    }
}

/* ---------------------------------------------------------------------
   ÜST LOGO - ana.master
   img/logo-hd.png: yüksek çözünürlüklü, kenarları yumuşatılmış, sloganısız logo.
   Slogan masaüstünde logonun yanında metin olarak gösterilir.
   --------------------------------------------------------------------- */
.ust-logo {
    display: inline-flex;
    align-items: center;
    gap: 1.4rem;
    text-decoration: none;
}

    .ust-logo img {
        display: block;
        height: 4.8rem;
        width: auto;
    }

.ust-logo-slogan {
    padding-left: 1.4rem;
    border-left: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
}

.ust-logo:hover .ust-logo-slogan {
    color: #8c6d00;
}

/* Kategori menüsü geniş olduğunda slogana yer kalmayan küçük masaüstlerinde gizle */
@media (max-width: 1299.98px) {
    .ust-logo-slogan {
        display: none;
    }
}

.mobile-menu-header .mobile-header-logo img {
    display: block;
    height: 30px;
    width: auto;
}

/* ---------------------------------------------------------------------
   SAYFA YÜKLENİRKEN FOOTER ZIPLAMASI
   İçerik Vue ile sonradan yüklendiğinden footer önce ekranın ortasında
   görünüp sonra aşağı kayıyordu. İçerik alanı en az ekran yüksekliği kadar
   tutulur; footer her zaman ekranın altından başlar.
   --------------------------------------------------------------------- */
#form1 {
    min-height: calc(100vh - 7.6rem); /* mobil/tablet üst başlık */
}

@media (min-width: 1200px) {
    #form1 {
        min-height: calc(100vh - 14.8rem); /* masaüstü üst başlık + kategori menüsü */
    }
}

/* ---------------------------------------------------------------------
   ALT BİLGİ (FOOTER) - ana.master
   Tam genişlik koyu turkuaz zemin; logo zeminde beyaz (tek renk) gösterilir.
   --------------------------------------------------------------------- */
.site-footer {
    margin-top: 6rem;
    background: linear-gradient(135deg, #8c6d00 0%, #6b5300 100%);
    color: rgba(255, 255, 255, .78);
    font-size: 1.45rem;
}

/* Temanın .container iç boşluğu 7.5px; satır negatif kenar boşluğu taşmasın diye artırılır */
.site-footer .container {
    padding-left: 2rem;
    padding-right: 2rem;
}

.site-footer-ust {
    padding: 6rem 0 4.5rem;
}

.site-footer-logo {
    display: inline-block;
    margin-bottom: 1.8rem;
}

    .site-footer-logo img {
        display: block;
        height: 4.6rem;
        width: auto;
        filter: brightness(0) invert(1);
    }

.site-footer-tanitim {
    max-width: 38rem;
    margin: 0 0 2rem;
    color: rgba(255, 255, 255, .78);
    font-size: 1.45rem;
    line-height: 1.7;
}

.site-footer-rozetler {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

    .site-footer-rozetler span {
        display: inline-flex;
        align-items: center;
        gap: .6rem;
        padding: .6rem 1.2rem;
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 2rem;
        background: rgba(255, 255, 255, .08);
        color: #fff;
        font-size: 1.2rem;
        font-weight: 600;
    }

.site-footer-baslik {
    position: relative;
    margin: .6rem 0 2.2rem;
    padding-bottom: 1.2rem;
    color: #fff;
    font-size: 1.7rem;
    font-weight: 700;
}

    .site-footer-baslik::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 3.2rem;
        height: 3px;
        border-radius: 3px;
        background: #fdd94f;
    }

.site-footer-liste,
.site-footer-iletisim {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .site-footer-liste li + li {
        margin-top: 1.1rem;
    }

    .site-footer-liste a,
    .site-footer-iletisim a {
        color: rgba(255, 255, 255, .78);
        text-decoration: none;
        transition: color .15s, padding-left .15s;
    }

    .site-footer-liste a:hover {
        color: #fff;
        padding-left: .4rem;
    }

    .site-footer-iletisim a:hover {
        color: #fff;
    }

    .site-footer-iletisim li {
        display: flex;
        align-items: flex-start;
        gap: 1.4rem;
        line-height: 1.6;
    }

        .site-footer-iletisim li + li {
            margin-top: 1.8rem;
        }

        .site-footer-iletisim small {
            display: block;
            color: #fff;
            font-size: 1.25rem;
            font-weight: 700;
            letter-spacing: .3px;
        }

.site-footer-ikon {
    flex: 0 0 4.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.site-footer-alt {
    border-top: 1px solid rgba(255, 255, 255, .14);
    background: rgba(0, 0, 0, .12);
    font-size: 1.3rem;
}

    .site-footer-alt .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: .6rem 2rem;
        padding-top: 1.8rem;
        padding-bottom: 1.8rem;
    }

.site-footer-alt-not {
    color: rgba(255, 255, 255, .6);
}

@media (max-width: 767.98px) {
    .site-footer {
        margin-top: 4rem;
    }

    .site-footer-ust {
        padding: 4rem 0 3rem;
    }

    .site-footer-logo img {
        height: 3.8rem;
    }

    .site-footer-alt .container {
        flex-direction: column;
        text-align: center;
    }
}


/* ---------------------------------------------------------------------
   KÜÇÜK MASAÜSTÜ / BÜYÜK TABLET YATAY (1200px - 1399px)
   Kategori menüsü 4rem aralıkla sığmıyor, son kategori ekran dışına taşıyordu.
   --------------------------------------------------------------------- */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .header-nav .header-nav-menu .menu-list {
        gap: 1rem;
    }
}


/* ---------------------------------------------------------------------
   TABLET (YATAY DAHİL) VE ALTI (< 1200px)
   Masaüstü başlığı (hover menüler, tek satır kategori menüsü) 1200px altına
   sığmıyor ve dokunmatikte çalışmıyor; bu aralıkta mobil başlık kullanılır
   (ana.master: d-xl-none / d-xl-block).
   --------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    /* ödeme şeridi yapışkan mobil başlığın altında dursun */
    .odeme-durum {
        top: 7.6rem;
    }

    /* sticky, ebeveyni içinde yapışır; mobilde <header> sadece mobil menüden ibaret
       olduğundan yapışkanlık header'ın kendisine verilir */
    header#header {
        position: sticky;
        top: 0;
        z-index: 1030;
    }

    .mobile-menu {
        /* şablondaki rgba(251, 199, 16,.08) renginin opak karşılığı: kaydırırken içerik arkadan görünmesin */
        background-color: #fff9e7;
    }

    .mobile-menu-header {
        min-height: 5.6rem;
    }

        .mobile-menu-header .btn {
            padding: 1.2rem;
        }

        /* logo, sağda iki ikon olsa da tam ortada kalsın */
        .mobile-menu-header .mobile-header-logo {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }

        .mobile-menu-header .mobil-arama-btn {
            line-height: 0;
            padding: 1rem 1.2rem;
        }

    /* mobil arama alanı */
    .mobil-arama {
        display: flex;
        gap: .8rem;
        padding: .4rem .4rem 1rem;
    }

        .mobil-arama .form-control {
            height: 4.4rem;
            border-radius: 3rem;
            padding: 0 1.8rem;
            font-size: 16px; /* iOS odaklanınca yakınlaştırmasın */
            border: 1px solid #e3d3e0;
        }

        .mobil-arama .shop-btn {
            margin: 0;
            padding: 0 2.2rem;
            height: 4.4rem;
            flex-shrink: 0;
        }

            .mobil-arama .shop-btn::after {
                display: none;
            }
}


/* ---------------------------------------------------------------------
   TABLET VE ALTI (< 992px)
   --------------------------------------------------------------------- */
@media (max-width: 991.98px) {

    /* Hero / banner: sabit yükseklik yerine görsel oranı (2:1) */
    .hero {
        height: auto;
        aspect-ratio: 2 / 1;
    }

        .hero .swiper-slide {
            padding: 0;
        }

        .hero .swiper-pagination-bullets {
            bottom: 1rem;
        }

    /* Ürün listesi: sıralama alanı */
    .product-sidebar-section .product-sorting-section {
        flex-wrap: wrap;
        gap: 1rem;
    }

    /* Ürün listesi: filtre aç/kapa butonu */
    .filtre-toggle {
        margin: 0 0 1.5rem 0;
        width: 100%;
    }

        .filtre-toggle::after {
            display: none;
        }

    /* Profil: sekme içerikleri tam genişlik */
    .user-dashboard .nav-content {
        width: 100%;
    }

    /* Sipariş detay modalı (profil) */
    .support-ticket .modal-wrapper .modal-main {
        width: 95% !important;
        height: 80% !important;
    }
}


/* ---------------------------------------------------------------------
   SADECE TABLET (768px - 1199px)
   --------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1199.98px) {
    /* g-5 satırların negatif kenar boşluğu ekran dışına taşmasın */
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}


/* ---------------------------------------------------------------------
   MOBİL (< 768px)
   --------------------------------------------------------------------- */
@media (max-width: 767.98px) {

    /* ---- Ürün kartları (anasayfa, ürün listesi) ---- */
    .product-wrapper {
        height: 100%;
        display: flex;
        flex-direction: column;
        padding: 0 0 1rem 0;
    }

        .product-wrapper .product-img,
        .best-product .product-wrapper .product-img {
            height: 15rem;
            padding: 1rem;
            flex-shrink: 0;
        }

        .product-wrapper .product-info {
            margin: 0 1rem;
            align-items: stretch;
            text-align: center;
            gap: .6rem;
            flex: 1 1 auto;
        }

            .product-wrapper .product-info .ratings {
                display: none;
            }

        .product-wrapper .product-details {
            font-size: 1.4rem;
            line-height: 1.35;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            word-break: break-word;
        }

        .product-wrapper .price span {
            font-size: 1.5rem;
        }

        .product-wrapper .form-select {
            font-size: 1.3rem;
            padding: .5rem 2.4rem .5rem .8rem;
            background-position: right .6rem center;
        }

        .product-wrapper .product-cart-btn {
            position: static;
            margin: 1rem 1rem 0;
        }

            .product-wrapper .product-cart-btn .product-btn {
                display: block;
                width: 100%;
                text-align: center;
                border-radius: 3rem;
                padding: 1rem;
                font-size: 1.4rem;
            }

                .product-wrapper .product-cart-btn .product-btn span {
                    display: none;
                }

        /* Mobilde hover yok; büyüteç ikonlarını gizle */
        .product-wrapper .product-img .product-cart-items {
            display: none;
        }

    /* "En Çok Satanlar" şablonda mobilde gizliydi; diğer kartlarla aynı düzende göster */
    .top-selling {
        display: block;
    }

    .top-selling-section .product-wrapper {
        height: 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 0 0 1rem 0;
    }

        .top-selling-section .product-wrapper .product-img {
            width: auto;
            height: 15rem;
            background: transparent;
        }

            .top-selling-section .product-wrapper .product-img img {
                object-fit: contain;
            }

        .top-selling-section .product-wrapper .product-info {
            margin: 0 1rem;
            flex: 1 1 auto;
            align-items: stretch;
        }

        .top-selling-section .product-wrapper .price {
            justify-content: center;
        }

    /* "Kampanyalı Ürünler" kartları */
    .best-product {
        padding-bottom: 4rem;
    }

        .best-product .product-wrapper {
            height: 100%;
        }

        .best-product .best-product-section .product-info {
            margin: 0 1rem;
        }

            .best-product .best-product-section .product-info .product-details {
                font-size: 1.4rem;
            }

    .section-title h5 {
        font-size: 2.2rem;
    }

    /* ---- Breadcrumb ---- */
    .blog-bradcrum {
        flex-wrap: wrap;
        row-gap: .4rem;
    }

    /* ---- Ürün listesi sıralama ---- */
    .product-sidebar-section .product-sorting-section .product-sorting {
        width: 100%;
        justify-content: space-between;
    }

        .product-sidebar-section .product-sorting-section .product-sorting .form-select {
            width: auto;
            flex: 1 1 auto;
        }

    /* ---- Ürün detay ---- */
    .product-info-content h5 {
        font-size: 2.2rem;
    }

    .product-info-content .product-quantity {
        flex-wrap: wrap;
        gap: 1rem;
    }

        .product-info-content .product-quantity .shop-btn {
            margin: 0;
        }

    /* ana görsel: sabit 60rem yerine kare alan */
    .product-info-img .product-top {
        height: auto;
        aspect-ratio: 1 / 1;
    }

        .product-info-img .product-top .product-image-zoom img {
            height: 100%;
            object-fit: contain;
        }

    .product-bottom {
        margin-top: 1rem;
    }

    /* ---- Giriş / Kayıt ---- */
    .login-section .review-form {
        width: 100%;
        max-width: 51.2rem;
        height: auto;
        padding: 2.5rem 2rem;
    }

        .login-section .review-form .comment-title {
            margin-top: 1rem;
            margin-bottom: 2rem;
        }

    /* ---- Sepet: tablo -> kart görünümü ---- */
    .sepet-tablo,
    .sepet-tablo tbody,
    .sepet-tablo tr,
    .sepet-tablo td {
        display: block;
        width: 100% !important;
    }

        .sepet-tablo .table-top-row {
            display: none;
        }

        .sepet-tablo .table-row.ticket-row {
            position: relative;
            background: #fff;
            border: 1px solid #eee;
            border-radius: 1rem;
            margin-bottom: 1.2rem;
            padding: 1rem 1.2rem;
        }

        .sepet-tablo td.table-wrapper {
            min-width: 0;
            padding: .6rem 0 !important;
            text-align: right !important;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            border: 0;
        }

            .sepet-tablo td.table-wrapper[data-label]::before {
                content: attr(data-label);
                font-size: 1.3rem;
                font-weight: 600;
                color: #797979;
                text-align: left;
                flex-shrink: 0;
            }

            .sepet-tablo td.table-wrapper .heading {
                font-size: 1.4rem;
            }

            .sepet-tablo td.table-wrapper.wrapper-product {
                padding-right: 3rem !important;
            }

                .sepet-tablo td.table-wrapper.wrapper-product .wrapper {
                    display: flex;
                    align-items: center;
                    gap: 1rem;
                    text-align: left;
                }

                .sepet-tablo td.table-wrapper.wrapper-product .wrapper-img {
                    width: 6rem;
                    height: 6rem;
                    flex-shrink: 0;
                }

            /* sil butonu sağ üst köşe */
            .sepet-tablo td.table-wrapper.sil-hucre {
                position: absolute;
                top: .6rem;
                right: .6rem;
                width: auto !important;
                padding: .6rem !important;
            }

    .product-cart .cart-section {
        overflow: visible;
        border: 0;
    }

    .wishlist-btn.cart-btn {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 1.5rem;
    }

        .wishlist-btn.cart-btn .shop-btn {
            width: 100%;
        }

        .wishlist-btn.cart-btn .clean-btn {
            text-align: center;
        }

    /* Sepet / ödeme adım sekmeleri */
    .product-detail-section .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
    }

        .product-detail-section .nav-tabs .nav-link {
            white-space: nowrap;
            font-size: 1.4rem;
            padding: 1rem 1.2rem;
        }

    /* ---- Formlar ---- */
    .account-inner-form {
        flex-direction: column;
        gap: 0;
    }

    .review-form .shop-btn,
    .login-btn .shop-btn {
        max-width: 100%;
    }

    /* iOS'ta odaklanınca yakınlaştırmayı engelle */
    input.form-control,
    select.form-select,
    textarea.form-control {
        font-size: 16px;
    }

    /* ---- Profil ---- */
    .user-profile-section .review-form .shop-btn {
        width: 100%;
        text-align: center;
    }

    /* Sayfa başlık bandı (Anasayfa / Profilim): telefonda ince ve tek blok */
    .about-blog {
        padding: 1rem 0 1.2rem;
    }

        .about-blog .blog-bradcrum {
            margin-bottom: .2rem;
            font-size: 1.2rem;
        }

    .blog-heading .heading {
        margin: 0;
        font-size: 2.4rem;
        line-height: 1.2;
    }

    /* Profil: başlık bandı ile içerik arasındaki boşluklar */
    .user-profile.footer-padding {
        padding-top: 1rem;
    }

    .user-profile .dashboard-heading:empty {
        display: none;
    }

    .user-profile .user-profile-section {
        padding: 1.4rem 1.2rem;
        border-radius: 1.4rem;
    }
}


/* ---------------------------------------------------------------------
   KÜÇÜK TELEFONLAR (< 400px)
   --------------------------------------------------------------------- */
@media (max-width: 399.98px) {
    .product-wrapper .product-img,
    .best-product .product-wrapper .product-img {
        height: 12rem;
    }

    .product-wrapper .product-details {
        font-size: 1.3rem;
    }
}

/* ---------------------------------------------------------------------
   FORMLAR: açılır listeler (select ve select2 cari seçimi) metin kutularıyla
   aynı yükseklikte ve aynı görünümde (metin kutusu: 50px, 14px yazı)
   --------------------------------------------------------------------- */
.review-form .form-select {
    height: 5rem;
    font-size: 1.4rem;
}

.review-form .select2-container--default .select2-selection--single {
    height: 5rem;
    display: flex;
    align-items: center;
    border: 1px solid rgba(251, 199, 16, 0.08);
    border-radius: .375rem;
    background-color: #fff;
}

    .review-form .select2-container--default .select2-selection--single .select2-selection__rendered {
        flex: 1;
        padding-left: 2rem;
        line-height: normal;
        font-size: 1.4rem;
        color: #212529;
    }

    .review-form .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 100%;
        right: 1rem;
    }

.review-form .select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: #e9ecef;
}

/* Kart bilgisi formları (Ödeme Yap, Sepet, Odeme.aspx): Ay / Yıl / CVV tek satır */
.kart-form .form-label {
    margin-bottom: .6rem;
}

.kart-form + .login-btn {
    margin-top: 2.4rem;
}

/* ---------------------------------------------------------------------
   ÖDEME SONUCU: "Ödeme Dekontunu Görüntüle" (sonuç ekranının hemen üstünde, base.js ekler)
   --------------------------------------------------------------------- */
.dekont-buton-kutu {
    display: flex;
    justify-content: center;
    margin: 1.6rem 0;
}

.dekont-buton {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    padding: 1.3rem 2.6rem;
    border: 0;
    border-radius: 3rem;
    background: #16a34a;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(22, 163, 74, .3);
    animation: dekontBelir .35s ease-out;
}

    .dekont-buton:hover {
        background: #15803d;
    }

@keyframes dekontBelir {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

#modalOdemeDekontu .modal-body {
    font-size: 1.4rem;
}

    /* Mobildeki genel "tablo kaydırılabilir" kuralı dekontta değerleri sola yığmasın */
    #modalOdemeDekontu .modal-body table {
        display: table;
        width: 100%;
    }

/* ---------------------------------------------------------------------
   PEMBE TONLAR: temanın koyu pembe zeminleri yerine açık ton #fff9e7
   (temadaki rgba(251, 199, 16,.08) beyaz üzerinde zaten #fff9e7'dir)
   --------------------------------------------------------------------- */
/* Sepet: paket/koli satırlarında "1 PAKET = 400 Adet" ve adet fiyatı notu */
.sepet-birim-not {
    display: block;
    margin-top: .2rem;
    color: #6b7280;
    font-size: 1.2rem;
    font-weight: 500;
}

/* "Sepete Ekle" / "Bayi Girişi" butonu (tema: %19 koyu pembe). Üzerine gelince turkuaz (tema) kalır */
.product-btn {
    background: #fff9e7;
}

/* Anasayfa "Fırsat Ürünleri" zemini (tema: pembe > şeftali geçiş) */
.flash-sale {
    background: #fff9e7;
}

/* ---------------------------------------------------------------------
   ÜST BAŞLIK (ana.master): Sepetim, Ödeme Yap, Cari Ekstre, Giriş, hesap menüsü
   --------------------------------------------------------------------- */
.header-center .header-cart-items {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.header-center .header-user {
    margin: 0;
}

.ust-buton {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    height: 4.4rem;
    padding: 0 1.8rem;
    border-radius: 1.2rem;
    font-size: 1.4rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}

.ust-buton-dolu {
    border: 1px solid #fbc710;
    background: #fbc710;
    color: #1f2328;
    box-shadow: 0 4px 12px rgba(251, 199, 16, .25);
}

    .ust-buton-dolu:hover {
        background: #c99a00;
        border-color: #c99a00;
        color: #fff;
    }

.ust-buton-cizgi {
    border: 1px solid #fde9a6;
    background: #fff;
    color: #8c6d00;
}

    .ust-buton-cizgi:hover {
        border-color: #fbc710;
        background: #fffbeb;
        color: #8c6d00;
    }

/* Arama butonu: diğer üst butonlarla aynı ölçü (tema: 52px sarı daire) */
.header-center .header-cart-items .header-search {
    width: 4.4rem;
    height: 4.4rem;
    border: 1px solid #eef0f3;
    border-radius: 1.2rem;
    background: #fff;
    transition: border-color .15s;
}

    .header-center .header-cart-items .header-search:hover {
        border-color: #fbc710;
    }

    .header-center .header-cart-items .header-search .header-search-btn svg {
        width: 18px;
        height: 18px;
    }

/* ARAMA PENCERESİ (masaüstü): ortada kart, karartılmış ve bulanık arka plan */
.header-center .header-cart-items .header-search .modal-wrapper.arama-pencere.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 12vh;
    z-index: 1060;
}

.arama-pencere .anywhere-away {
    background: rgba(17, 24, 39, .45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.header-center .header-cart-items .header-search .modal-main.arama-kutu {
    display: block;
    width: min(68rem, 92vw);
    height: auto;
    padding: 2rem 2.2rem 1.6rem;
    border-radius: 2rem;
    box-shadow: 0 24px 60px rgba(17, 24, 39, .25);
    animation: aramaAc .2s ease-out;
}

@keyframes aramaAc {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: none; }
}

.arama-ust {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.4rem;
}

    .arama-ust strong {
        color: #1f2937;
        font-size: 1.8rem;
    }

.arama-kapat {
    width: 3.6rem;
    height: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 1rem;
    background: #f4f5f7;
    color: #374151;
}

    .arama-kapat:hover {
        background: #fef6d8;
        color: #fbc710;
    }

.header-center .header-cart-items .header-search .modal-main .search-section.arama-alan {
    height: 5.6rem;
    gap: 1rem;
    padding: 0 .6rem 0 1.4rem;
    border: 2px solid #e5e7eb;
    border-radius: 1.4rem;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}

    .header-center .header-cart-items .header-search .modal-main .search-section.arama-alan:focus-within {
        border-color: #fbc710;
        box-shadow: 0 0 0 4px rgba(251, 199, 16, .12);
    }

    .header-center .header-cart-items .header-search .modal-main .search-section.arama-alan .arama-ikon {
        flex-shrink: 0;
        color: #9ca3af;
        fill: none;
    }

    .header-center .header-cart-items .header-search .modal-main .search-section.arama-alan input {
        flex: 1;
        min-width: 0;
        padding: 0;
        color: #1f2937;
        font-size: 1.6rem;
    }

        .header-center .header-cart-items .header-search .modal-main .search-section.arama-alan input::placeholder {
            color: #9ca3af;
        }

    .header-center .header-cart-items .header-search .modal-main .search-section.arama-alan .shop-btn {
        flex: 0 0 auto;
        height: 4.2rem;
        margin: 0;
        padding: 0 2.6rem;
        display: flex;
        align-items: center;
        border-radius: 1rem;
        font-size: 1.5rem;
    }

.arama-ipucu {
    margin: 1rem .2rem 0;
    color: #9ca3af;
    font-size: 1.25rem;
}

/* Sepetim (tema .header-cart .cart-item'a flex-end, 16px ve gri renk veriyor; daha baskın seçici) */
.header-center .header-cart-items .header-cart a.ust-sepet {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    height: 4.4rem;
    padding: 0 1.4rem 0 .5rem;
    border: 1px solid #eef0f3;
    border-radius: 1.2rem;
    background: #fff;
    text-decoration: none;
    transition: border-color .15s;
}

    .header-center .header-cart-items .header-cart a.ust-sepet:hover {
        border-color: #fbc710;
    }

    .header-center .header-cart-items .header-cart a.ust-sepet .cart-text {
        margin: 0;
        color: #1f2937;
        font-size: 1.4rem;
        font-weight: 600;
        line-height: 1;
    }

.ust-sepet-ikon {
    position: relative;
    width: 3.4rem;
    height: 3.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: #fef6d8;
    color: #fbc710;
}

.ust-sepet-adet {
    position: absolute;
    top: -.7rem;
    right: -.7rem;
    min-width: 2rem;
    height: 2rem;
    padding: 0 .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    border-radius: 1rem;
    background: #dc2626;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Hesap menüsü */
.hesap-buton {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 4.4rem;
    padding: 0 1.2rem 0 .5rem;
    border: 1px solid #eef0f3;
    border-radius: 1.2rem;
    background: #fff;
    transition: border-color .15s;
}

    .hesap-buton:hover,
    .hesap-buton[aria-expanded="true"] {
        border-color: #fbc710;
    }

.hesap-avatar {
    width: 3.4rem;
    height: 3.4rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbc710 0%, #8c6d00 100%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.hesap-metin {
    min-width: 0;
    text-align: left;
    line-height: 1.2;
}

    .hesap-metin strong,
    .hesap-panel-ust strong {
        display: block;
        max-width: 14rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: #1f2937;
        font-size: 1.4rem;
    }

    .hesap-metin small,
    .hesap-panel-ust small {
        color: #6b7280;
        font-size: 1.1rem;
        font-weight: 600;
        letter-spacing: .4px;
        text-transform: uppercase;
    }

.hesap-ok {
    color: #6b7280;
    transition: transform .2s;
}

.hesap-buton[aria-expanded="true"] .hesap-ok {
    transform: rotate(180deg);
    color: #fbc710;
}

.hesap-panel {
    min-width: 25rem;
    padding: .8rem;
    border: 0;
    border-radius: 1.4rem;
    box-shadow: 0 18px 40px rgba(17, 24, 39, .16);
}

.hesap-panel-ust {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: .4rem;
    padding: 1rem;
    border-radius: 1rem;
    background: #fffbeb;
}

.hesap-oge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .7rem 1rem;
    border-radius: 1rem;
    color: #1f2937;
    font-size: 1.4rem;
    font-weight: 500;
    text-decoration: none;
}

    .hesap-oge:hover {
        background: #f6f7f9;
        color: #111827;
    }

.hesap-oge-ikon {
    width: 3.2rem;
    height: 3.2rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .9rem;
    background: #f4f5f7;
    color: #4b5563;
}

.hesap-oge:hover .hesap-oge-ikon {
    background: #fef6d8;
    color: #fbc710;
}

.hesap-cikis {
    margin-top: .4rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f2f4;
    border-radius: 0 0 1rem 1rem;
    color: #dc2626;
}

    .hesap-cikis .hesap-oge-ikon,
    .hesap-cikis:hover .hesap-oge-ikon {
        background: #fdecec;
        color: #dc2626;
    }

    .hesap-cikis:hover {
        background: #fdf2f2;
        color: #dc2626;
    }

/* Tema üst başlıktaki svg'lere dolgu rengi veriyor; bu simgeler çizgi (stroke) tabanlı */
.ust-buton svg, .ust-buton svg *,
.ust-sepet-ikon svg, .ust-sepet-ikon svg *,
.hesap-buton svg, .hesap-buton svg *,
.hesap-panel svg, .hesap-panel svg *,
.mobil-hesap svg, .mobil-hesap svg * {
    fill: none !important;
    stroke: currentColor;
}

/* Mobil başlık: giriş / profil kısayolu */
.mobil-hesap {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    height: 3.6rem;
    margin-right: .6rem;
    padding: 0 1rem;
    border-radius: 1rem;
    background: #fef6d8;
    color: #8c6d00;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
}

.mobil-hesap-avatar {
    width: 3.6rem;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbc710 0%, #8c6d00 100%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Dar telefonlar: ortadaki logo sağdaki simgelerin altına girmesin; logo hamburgerin yanına alınır */
@media (max-width: 429.98px) {
    .mobile-menu-header .mobile-header-logo {
        position: static;
        transform: none;
        margin-right: auto;
        margin-left: .4rem;
    }

        .mobile-menu-header .mobile-header-logo img {
            height: 26px;
        }

    .mobil-hesap {
        margin-right: .2rem;
    }

        .mobil-hesap span {
            display: none;
        }

    .mobil-hesap:not(.mobil-hesap-avatar) {
        width: 3.6rem;
        padding: 0;
        justify-content: center;
    }
}

/* ---------------------------------------------------------------------
   HAMBURGER MENÜ (ana.master > .hamburger-menu): üst bar, hesap kartı,
   hızlı geçişler, kategoriler, çıkış
   --------------------------------------------------------------------- */
.hamburger-menu.offcanvas {
    width: min(32rem, 86vw);
    border-right: 0;
    border-radius: 0 2rem 2rem 0;
    background: #fff;
    box-shadow: 8px 0 30px rgba(17, 24, 39, .18);
}

.hamburger-menu .hm-ust {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 1.6rem 1.2rem 2rem;
    border-bottom: 1px solid #f1f2f4;
}

    .hamburger-menu .hm-logo img {
        height: 3rem;
        width: auto;
    }

.hamburger-menu .hm-kapat {
    width: 3.8rem;
    height: 3.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 1rem;
    background: #f4f5f7;
    color: #374151;
}

    .hamburger-menu .hm-kapat:hover {
        background: #fef6d8;
        color: #fbc710;
    }

.hamburger-menu .offcanvas-body {
    padding: 1.6rem 1.6rem 2.4rem;
}

/* Hesap kartı */
.hamburger-menu .hm-kullanici {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.4rem;
    border-radius: 1.6rem;
    background: linear-gradient(135deg, #fbc710 0%, #8c6d00 100%);
    color: #fff;
}

.hamburger-menu .hm-avatar {
    width: 4.4rem;
    height: 4.4rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    font-size: 1.9rem;
    font-weight: 700;
}

.hamburger-menu .hm-kullanici-metin {
    min-width: 0;
    line-height: 1.3;
}

    .hamburger-menu .hm-kullanici-metin strong {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 1.6rem;
    }

    .hamburger-menu .hm-kullanici-metin small {
        font-size: 1.15rem;
        font-weight: 600;
        letter-spacing: .5px;
        text-transform: uppercase;
        opacity: .85;
    }

/* Hızlı geçişler (2x2) */
.hamburger-menu .hm-hizli {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
    margin-top: 1.2rem;
}

.hamburger-menu .hm-hizli-oge {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .8rem;
    padding: 1.2rem;
    border: 1px solid #eef0f3;
    border-radius: 1.4rem;
    background: #fff;
    color: #1f2937;
    font-size: 1.35rem;
    font-weight: 600;
    text-decoration: none;
}

    .hamburger-menu .hm-hizli-oge:hover {
        border-color: #fbc710;
        background: #fffbeb;
        color: #8c6d00;
    }

.hamburger-menu .hm-ikon {
    width: 3.6rem;
    height: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: #fef6d8;
    color: #fbc710;
}

/* Giriş yapılmamışken */
.hamburger-menu .hm-giris {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    padding: 1.6rem;
    border-radius: 1.6rem;
    background: #fffbeb;
}

    .hamburger-menu .hm-giris strong {
        color: #8c6d00;
        font-size: 1.7rem;
    }

    .hamburger-menu .hm-giris span {
        color: #4b5563;
        font-size: 1.35rem;
    }

    .hamburger-menu .hm-giris .shop-btn {
        margin-top: .6rem !important;
        text-align: center;
    }

/* Kategoriler */
.hamburger-menu .hm-baslik {
    margin: 2rem 0 .6rem .4rem;
    color: #9ca3af;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.hamburger-menu .category-list {
    display: flex;
    flex-direction: column;
    gap: 0 !important;
    margin: 0;
    padding: 0;
}

.hamburger-menu .category-list-item a {
    display: block;
    text-decoration: none;
}

.hamburger-menu .category-list-item .dropdown-item {
    padding: 1.1rem .8rem;
    border-radius: 1rem;
    background: transparent;
}

    .hamburger-menu .category-list-item .dropdown-item:hover {
        background: #f6f7f9;
    }

.hamburger-menu .category-list-item .dropdown-text {
    color: #1f2937;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: .2px;
}

.hamburger-menu .category-list-item .drop-down-list-icon svg {
    fill: #9ca3af;
}

.hamburger-menu .category-list-item + .category-list-item {
    border-top: 1px solid #f4f5f7;
}

/* Çıkış */
.hamburger-menu .hm-cikis {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: 1.6rem;
    padding: 1rem .8rem;
    border-top: 1px solid #f1f2f4;
    color: #dc2626;
    font-size: 1.45rem;
    font-weight: 600;
    text-decoration: none;
}

    .hamburger-menu .hm-cikis .hm-ikon {
        background: #fdecec;
        color: #dc2626;
    }

/* ---------------------------------------------------------------------
   ÜRÜN KARTI (ortak) - VueJS/UrunKart.js "urun-kart" bileşeni
   Ana sayfa (default.aspx) ve ürün listesi (Stoklar.aspx) aynı kartı kullanır.
   --------------------------------------------------------------------- */
@keyframes anaIskelet { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.ana-urun-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr)); gap: 2rem; }
/* ---- Ürün kartı (urun-kart bileşeni) ---- */
.ana-urun-kart { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #eef0f2; border-radius: 1.8rem; background: #fff; transition: box-shadow .2s, transform .2s, border-color .2s; }
.ana-urun-kart:hover { border-color: transparent; box-shadow: 0 1.4rem 3.2rem rgba(15, 23, 42, .1); transform: translateY(-3px); }
.ana-urun-rozet { position: absolute; top: 1.2rem; left: 1.2rem; z-index: 2; padding: .4rem 1rem; border-radius: 2rem; background: #fbc710; color: #1f2328; font-size: 1.1rem; font-weight: 700; letter-spacing: .3px; }
.ana-urun-rozet.firsat { background: #b91c1c; color: #fff; }
.ana-urun-rozet.kampanya { background: #1e40af; color: #fff; }
.ana-urun-resim { display: block; aspect-ratio: 1 / 1; padding: 1.8rem; background: #fff; }
.ana-urun-resim img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.ana-urun-kart:hover .ana-urun-resim img { transform: scale(1.05); }
.ana-urun-govde { flex: 1; display: flex; flex-direction: column; gap: .8rem; padding: 1.4rem 1.6rem 1.6rem; border-top: 1px solid #f3f4f6; }
.ana-urun-kod { color: #9ca3af; font-size: 1.15rem; font-weight: 600; letter-spacing: .3px; }
.ana-urun-ad { display: -webkit-box; min-height: 4rem; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: #1f2937; font-size: 1.45rem; font-weight: 600; line-height: 1.4; text-decoration: none; }
.ana-urun-ad:hover { color: #fbc710; }
.ana-urun-fiyat { color: #111827; font-family: "Jost", sans-serif; font-size: 2rem; font-weight: 700; line-height: 1.2; }
.ana-urun-fiyat small { color: #6b7280; font-family: inherit; font-size: 1.2rem; font-weight: 500; }
.ana-urun-birim { width: 100%; height: 3.8rem; padding: 0 1rem; border: 1px solid #e5e7eb; border-radius: 1rem; background-color: #f9fafb; color: #374151; font-size: 1.3rem; }
.ana-urun-birim:focus { border-color: #fbc710; outline: 0; box-shadow: 0 0 0 3px rgba(251, 199, 16, .15); }
.ana-urun-birim-tutar { color: #8c6d00; font-size: 1.25rem; font-weight: 600; }
.ana-urun-alt { margin-top: auto; padding-top: .4rem; }
.ana-urun-buton { display: flex; align-items: center; justify-content: center; gap: .8rem; width: 100%; height: 4.4rem; border: 0; border-radius: 1.2rem; background: #fbc710; color: #1f2328; font-size: 1.4rem; font-weight: 700; text-decoration: none; transition: background .15s; }
.ana-urun-buton:hover { background: #8c6d00; color: #fff; }
.ana-urun-buton:disabled { opacity: .7; }
.ana-urun-buton.cizgi { border: 1px solid #fbc710; background: #fff; color: #fbc710; }
.ana-urun-buton.cizgi:hover { background: #fbc710; color: #1f2328; }
.ana-urun-gizli { display: flex; align-items: center; gap: .6rem; color: #6b7280; font-size: 1.25rem; }
/* ---- Yüklenirken iskelet kart ---- */
.ana-urun-kart.iskelet { min-height: 38rem; border-color: #eef0f2; }
.ana-urun-kart.iskelet:hover { box-shadow: none; transform: none; }
.ana-urun-kart.iskelet::before { content: ""; display: block; aspect-ratio: 1 / 1; margin: 1.8rem; border-radius: 1.2rem; background: linear-gradient(90deg, #f1f3f5 0%, #f8f9fa 50%, #f1f3f5 100%); background-size: 200% 100%; animation: anaIskelet 1.4s ease-in-out infinite; }
.ana-urun-kart.iskelet::after { content: ""; display: block; height: 1.4rem; margin: 0 1.8rem; width: 60%; border-radius: .7rem; background: #f1f3f5; box-shadow: 0 2.6rem 0 #f1f3f5; }

@media (max-width: 767.98px) {
    .ana-urun-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
    .ana-urun-kart { border-radius: 1.4rem; }
    .ana-urun-resim { padding: 1rem; }
    .ana-urun-govde { gap: .6rem; padding: 1.1rem 1.1rem 1.2rem; }
    .ana-urun-ad { min-height: 3.6rem; font-size: 1.3rem; }
    .ana-urun-fiyat { font-size: 1.7rem; }
    .ana-urun-fiyat small { font-size: 1.1rem; }
    .ana-urun-birim { height: 3.4rem; font-size: 1.2rem; }
    .ana-urun-buton { height: 4rem; font-size: 1.3rem; }
    .ana-urun-gizli { font-size: 1.15rem; }
    .ana-urun-kart.iskelet { min-height: 28rem; }
}

/* ---------------------------------------------------------------------
   GİRİŞ / ÜYE OL (login.aspx, register.aspx)
   Solda marka paneli, sağda form. 991px altında marka paneli üstte kısa şerit olur.
   --------------------------------------------------------------------- */
.giris-sayfa { padding: 4rem 0 6rem; }
.giris-kart { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); max-width: 108rem; margin: 0 auto; overflow: hidden; border: 1px solid #eef0f2; border-radius: 2.8rem; background: #fff; box-shadow: 0 2rem 5rem rgba(15, 23, 42, .08); }
.giris-kart.genis { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.giris-tanitim { position: relative; display: flex; flex-direction: column; padding: 4.8rem 4.4rem; overflow: hidden; background: linear-gradient(150deg, #fbc710 0%, #8c6d00 100%); color: rgba(255, 255, 255, .85); }
.giris-tanitim::after { content: ""; position: absolute; right: -9rem; bottom: -9rem; width: 28rem; height: 28rem; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.giris-tanitim::before { content: ""; position: absolute; right: 6rem; bottom: 10rem; width: 9rem; height: 9rem; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.giris-logo { display: block; align-self: flex-start; width: auto; max-width: 100%; height: 4.4rem; margin-bottom: 4rem; object-fit: contain; filter: brightness(0) invert(1); } /* flex sütununda genişliğe yayılmasın */
.giris-tanitim h2 { margin: 0 0 1.2rem; color: #fff; font-size: 2.8rem; font-weight: 700; line-height: 1.25; }
.giris-sayfa .giris-tanitim > p { margin: 0 0 3rem; color: rgba(255, 255, 255, .88); font-size: 1.5rem; line-height: 1.65; } /* tema p rengini eziyor */
.giris-ozellik { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1.4rem; margin: 0 0 auto; padding: 0; list-style: none; }
.giris-ozellik li { display: flex; align-items: flex-start; gap: 1.2rem; font-size: 1.45rem; line-height: 1.45; }
.giris-ozellik li span { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; }
.giris-sayfa .giris-destek { position: relative; z-index: 1; margin: 4rem 0 0; color: rgba(255, 255, 255, .8); font-size: 1.3rem; }
.giris-destek a { color: #fff; font-size: inherit; font-weight: 700; text-decoration: none; }

.giris-form { padding: 4.8rem 5.2rem; }
.giris-form h1 { margin: 0 0 .8rem; color: #111827; font-size: 3rem; font-weight: 700; }
.giris-sayfa .giris-alt { margin: 0 0 3.2rem; color: #6b7280; font-size: 1.5rem; }
.giris-izgara { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.6rem; }
.giris-alan { margin-bottom: 2rem; }
.giris-alan > label { display: block; margin-bottom: .8rem; color: #374151; font-size: 1.35rem; font-weight: 600; }
.giris-alan > label i { color: #e11d48; font-style: normal; }
.giris-girdi { position: relative; }
.giris-girdi > svg { position: absolute; left: 1.6rem; top: 2.6rem; transform: translateY(-50%); color: #9ca3af; pointer-events: none; }
.giris-girdi input { width: 100%; height: 5.2rem; padding: 0 1.6rem 0 4.8rem; border: 1px solid #e5e7eb; border-radius: 1.4rem; background: #f9fafb; color: #111827; font-size: 1.5rem; transition: border-color .15s, background .15s, box-shadow .15s; }
.giris-girdi input:focus { border-color: #fbc710; outline: 0; background: #fff; box-shadow: 0 0 0 4px rgba(251, 199, 16, .14); }
.giris-girdi input.is-invalid { border-color: #dc3545; background: #fff; }
.giris-girdi input.is-invalid:focus { box-shadow: 0 0 0 4px rgba(220, 53, 69, .12); }
.giris-girdi .on-ek { position: absolute; left: 4.6rem; top: 2.6rem; transform: translateY(-50%); color: #6b7280; font-size: 1.5rem; pointer-events: none; }
.giris-girdi.on-ekli input { padding-left: 8.4rem; }
.giris-girdi .invalid-feedback { font-size: 1.25rem; margin-top: .6rem; }
.sifre-goster { position: absolute; right: .8rem; top: 2.6rem; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 3.8rem; height: 3.8rem; border: 0; border-radius: 1rem; background: transparent; color: #9ca3af; }
.sifre-goster:hover { background: #eef0f2; color: #374151; }
.giris-girdi.sifreli input { padding-right: 5.2rem; }
.giris-ipucu { display: block; margin-top: .8rem; color: #6b7280; font-size: 1.25rem; line-height: 1.5; }

.giris-buton { display: flex; align-items: center; justify-content: center; gap: .8rem; width: 100%; height: 5.4rem; border: 0; border-radius: 1.4rem; background: #fbc710; color: #1f2328 !important; font-size: 1.6rem; font-weight: 700; text-decoration: none; transition: background .15s, box-shadow .15s; }
.giris-buton:hover { background: #e0b000; box-shadow: 0 .8rem 2rem rgba(251, 199, 16, .25); }
.giris-buton.cizgi { border: 1px solid #fbc710; background: #fff; color: #fbc710 !important; }
.giris-buton.cizgi:hover { background: #fffbeb; box-shadow: none; }
.giris-ayrac { display: flex; align-items: center; gap: 1.2rem; margin: 2.4rem 0; color: #9ca3af; font-size: 1.3rem; }
.giris-ayrac::before, .giris-ayrac::after { content: ""; flex: 1; height: 1px; background: #eef0f2; }

.giris-onay { display: flex; align-items: flex-start; gap: 1.2rem; margin: .4rem 0 2.4rem; padding: 1.4rem 1.6rem; border: 1px solid #eef0f2; border-radius: 1.4rem; background: #fafbfc; color: #374151; font-size: 1.4rem; line-height: 1.5; }
.giris-onay input { flex-shrink: 0; width: 2rem; height: 2rem; margin: .1rem 0 0; accent-color: #fbc710; cursor: pointer; }
.giris-onay label { margin: 0; cursor: pointer; }
.giris-onay a { color: #fbc710; font-size: inherit; font-weight: 700; text-decoration: underline; }
.giris-bilgi { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 2.4rem; padding: 1.4rem 1.6rem; border-radius: 1.4rem; background: #fffbeb; color: #8c6d00; font-size: 1.35rem; line-height: 1.5; }
.giris-bilgi svg { flex-shrink: 0; margin-top: .2rem; }
.giris-alt-link { margin: 2.4rem 0 0; color: #6b7280; font-size: 1.4rem; text-align: center; }
.giris-alt-link a { color: #fbc710; font-size: inherit; font-weight: 700; text-decoration: none; }

@media (max-width: 991.98px) {
    .giris-kart, .giris-kart.genis { grid-template-columns: minmax(0, 1fr); max-width: 60rem; }
    .giris-tanitim { padding: 2.8rem 3.2rem; }
    .giris-logo { height: 3.6rem; margin-bottom: 1.6rem; }
    .giris-tanitim h2 { font-size: 2.2rem; margin-bottom: .6rem; }
    .giris-sayfa .giris-tanitim > p { margin-bottom: 0; font-size: 1.4rem; }
    .giris-ozellik, .giris-destek { display: none; }
    .giris-form { padding: 3.2rem; }
}

@media (max-width: 575.98px) {
    .giris-sayfa { padding: 1.6rem 0 4rem; }
    .giris-kart { border-radius: 2rem; }
    .giris-tanitim { padding: 2.2rem 2rem; }
    .giris-tanitim h2 { font-size: 1.9rem; }
    .giris-sayfa .giris-tanitim > p { font-size: 1.3rem; }
    .giris-form { padding: 2.4rem 2rem; }
    .giris-form h1 { font-size: 2.4rem; }
    .giris-sayfa .giris-alt { margin-bottom: 2.4rem; font-size: 1.35rem; }
    .giris-izgara { grid-template-columns: minmax(0, 1fr); }
    .giris-girdi input { height: 5rem; font-size: 1.6rem; } /* 16px: iOS'ta odaklanınca sayfa yakınlaşmasın */
}

/* ---------------------------------------------------------------------
   TARİH SEÇİCİ - assets/js/tarih.js (flatpickr)
   Tüm tarih kutuları: ikonlu kutu + Türkçe, büyük ve dokunması kolay takvim + hızlı seçimler.
   Telefonda takvim ekranın ortasında açılır (arkası kararır).
   --------------------------------------------------------------------- */
.form-control.tarih-kutu {
    padding-left: 4.4rem;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2300B5AD' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") no-repeat 1.4rem center / 1.9rem;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}

    .form-control.tarih-kutu:hover { border-color: #fcdc6b; }

    .form-control.tarih-kutu:focus, .form-control.tarih-kutu.active {
        border-color: #fbc710;
        outline: 0;
        box-shadow: 0 0 0 .3rem rgba(251, 199, 16, .15);
    }

.flatpickr-calendar {
    width: min(34rem, 94vw);
    border: 1px solid #eef0f2;
    border-radius: 1.6rem;
    box-shadow: 0 1.8rem 4.8rem rgba(15, 23, 42, .18);
    font-family: inherit;
}

    .flatpickr-calendar:before, .flatpickr-calendar:after { display: none; }

    .flatpickr-calendar .flatpickr-innerContainer,
    .flatpickr-calendar .flatpickr-rContainer,
    .flatpickr-calendar .flatpickr-days,
    .flatpickr-calendar .dayContainer {
        width: min(34rem, 94vw);
        min-width: min(34rem, 94vw);
        max-width: min(34rem, 94vw);
    }

    .flatpickr-calendar .flatpickr-months { padding: 1rem 1rem 0; }

    .flatpickr-calendar .flatpickr-current-month { font-size: 1.6rem; font-weight: 700; }

    .flatpickr-calendar .flatpickr-current-month .flatpickr-monthDropdown-months,
    .flatpickr-calendar .flatpickr-current-month input.cur-year { font-weight: 700; }

    .flatpickr-calendar .flatpickr-prev-month:hover svg,
    .flatpickr-calendar .flatpickr-next-month:hover svg { fill: #fbc710; }

    .flatpickr-calendar span.flatpickr-weekday {
        color: #9ca3af;
        font-size: 1.15rem;
        font-weight: 700;
        text-transform: uppercase;
    }

    .flatpickr-calendar .flatpickr-day {
        max-width: 4.8rem;
        height: 4.6rem;
        line-height: 4.6rem;
        border-radius: 1.2rem;
        font-size: 1.5rem;
        font-weight: 500;
    }

        .flatpickr-calendar .flatpickr-day:hover { border-color: #fef6d8; background: #fef6d8; }

        .flatpickr-calendar .flatpickr-day.today { border-color: #fbc710; }

        .flatpickr-calendar .flatpickr-day.selected,
        .flatpickr-calendar .flatpickr-day.selected:hover {
            border-color: #fbc710;
            background: #fbc710;
            color: #1f2328;
            font-weight: 700;
        }

        .flatpickr-calendar .flatpickr-day.flatpickr-disabled,
        .flatpickr-calendar .flatpickr-day.flatpickr-disabled:hover { color: #d1d5db; background: transparent; border-color: transparent; }

.tarih-hizli {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    padding: 1rem 1.2rem 1.2rem;
    border-top: 1px solid #f1f2f4;
}

    .tarih-hizli button {
        padding: .7rem 1.3rem;
        border: 1px solid #e5e7eb;
        border-radius: 2rem;
        background: #fff;
        color: #374151;
        font-size: 1.25rem;
        font-weight: 600;
        transition: border-color .15s, color .15s, background .15s;
    }

        .tarih-hizli button:hover { border-color: #fbc710; background: #fffbeb; color: #fbc710; }

        .tarih-hizli button.tarih-temizle { margin-left: auto; border-color: #fecdd3; color: #e11d48; }

        .tarih-hizli button.tarih-temizle:hover { background: #fff1f2; }

.tarih-perde {
    position: fixed;
    inset: 0;
    z-index: 99990;
    background: rgba(15, 23, 42, .45);
}

@media (max-width: 575.98px) {
    .flatpickr-calendar.open {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, -50%);
        animation: none !important;
    }
}

/* ---------------------------------------------------------------------
   KATEGORİ MENÜSÜ (masaüstü, turkuaz çubuk) - ana.master .header-bottom
   Çubuğun rengi temadan (#fbc710) aynen kalır; öğeler, hover çizgisi ve açılır alt menü yenilendi.
   --------------------------------------------------------------------- */
.header-bottom { padding: 0; }

.header-bottom .header-nav-menu { flex: 1 1 100%; width: 100%; }

/* Öğeler doğal genişlikte, sola hizalı ve sabit aralıklı (kategori sayısı az olunca çubuğa yayılmasın) */
.header-bottom .header-nav .header-nav-menu .menu-list {
    gap: .6rem;
    justify-content: flex-start;
}

.header-bottom .header-nav-menu .menu-list > li { flex: 0 0 auto; }
.header-bottom .header-nav-menu .menu-list > li:first-child > a { margin-left: -1.05rem; } /* ilk kategori logoyla aynı hizada başlasın */

.header-bottom .header-nav-menu .menu-list > li > a {
    position: relative;
    display: flex;
    align-items: center;
    height: 5.2rem;
    padding: 0 1.05rem;
    transition: background-color .2s;
}

    .header-bottom .header-nav-menu .menu-list > li > a .list-text {
        color: #1f2328; /* sarı çubukta beyaz yazı okunmuyordu */
        font-size: 1.25rem;
        font-weight: 700;
        letter-spacing: .3px;
        text-transform: uppercase;
        white-space: nowrap;
    }

    /* Alt menüsü olan kategoride küçük ok */
    .header-bottom .header-nav-menu .menu-list > li:has(.header-sub-menu) > a .list-text::after {
        content: "";
        display: inline-block;
        width: .55rem;
        height: .55rem;
        margin: 0 0 .25rem .6rem;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        opacity: .8;
        transform: rotate(45deg);
        transition: transform .2s;
    }

.header-bottom .header-nav-menu .menu-list > li:hover > a .list-text::after { transform: rotate(225deg) translate(-1px, -1px); }

/* Hover / açık sayfa: hafif aydınlık zemin + alttan beyaz çizgi */
.header-bottom .header-nav-menu .menu-list > li > a::after {
    content: "";
    position: absolute;
    left: 1.05rem;
    right: 1.05rem;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: #1f2328;
    transform: scaleX(0);
    transition: transform .22s ease;
}

.header-bottom .header-nav-menu .menu-list > li:hover > a,
.header-bottom .header-nav-menu .menu-list > li > a:focus-visible,
.header-bottom .header-nav-menu .menu-list > li > a.aktif { background: rgba(31, 35, 40, .08); }

    .header-bottom .header-nav-menu .menu-list > li:hover > a::after,
    .header-bottom .header-nav-menu .menu-list > li > a:focus-visible::after,
    .header-bottom .header-nav-menu .menu-list > li > a.aktif::after { transform: scaleX(1); }

.header-bottom .header-nav-menu .menu-list > li > a:focus-visible { outline: 0; }

/* Açılır alt menü */
.header-bottom .header-nav .header-nav-menu .menu-list .header-sub-menu {
    top: 100%;
    gap: .2rem;
    min-width: 28rem;
    padding: 1rem;
    border: 1px solid #eef0f2;
    border-radius: 0 0 1.4rem 1.4rem;
    box-shadow: 0 1.8rem 4rem rgba(15, 23, 42, .18);
    transform: translateY(.8rem);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.header-bottom .header-nav .header-nav-menu .menu-list li:hover > .header-sub-menu { transform: none; }

.header-bottom .header-nav .header-nav-menu .menu-list .header-sub-menu li { width: 100%; text-align: left; } /* üst öğeden gelen ortalamayı iptal et */

.header-bottom .header-nav .header-nav-menu .menu-list .header-sub-menu a {
    display: block;
    padding: .9rem 1.4rem;
    border-radius: .9rem;
    color: #374151;
    font-size: 1.35rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color .15s, color .15s;
}

    .header-bottom .header-nav .header-nav-menu .menu-list .header-sub-menu a:hover {
        background: #fef6d8;
        color: #8c6d00;
    }

/* Sağdaki kategorilerin alt menüsü sağa hizalı açılsın (ekrandan taşmasın) */
.header-bottom .header-nav .header-nav-menu .menu-list > li:nth-last-child(-n+3) > .header-sub-menu {
    left: auto;
    right: 0;
}

/* Dar masaüstü (1200 - 1399px): hepsi tek satıra sığsın */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .header-bottom .header-nav-menu .menu-list > li > a { padding: 0 .9rem; }
    .header-bottom .header-nav-menu .menu-list > li > a::after { left: .9rem; right: .9rem; }
    .header-bottom .header-nav-menu .menu-list > li > a .list-text { font-size: 1.15rem; letter-spacing: .2px; }
    .header-bottom .header-nav-menu .menu-list > li:has(.header-sub-menu) > a .list-text::after { margin-left: .5rem; }
}

/* En dar masaüstü (1200 - 1299px): çubuk tam genişlikte, öğeler daha sıkı */
@media (min-width: 1200px) and (max-width: 1299.98px) {
    .header-bottom .header-nav .header-nav-menu .menu-list { gap: 0; }
    .header-bottom .header-nav-menu .menu-list > li > a { padding: 0 .55rem; }
    .header-bottom .header-nav-menu .menu-list > li > a::after { left: .55rem; right: .55rem; }
    .header-bottom .header-nav-menu .menu-list > li > a .list-text { font-size: 1.08rem; letter-spacing: 0; }
    .header-bottom .header-nav-menu .menu-list > li:has(.header-sub-menu) > a .list-text::after { margin-left: .4rem; }
}

/* ---------------------------------------------------------------------
   ÜRÜN KARTI: BİRİM SEÇİMİ (Paket / Koli) - özel açılır liste
   Tarayıcının sıradan listesi yerine geniş, yuvarlak, işaretli seçenekli liste. UrunKart.js
   --------------------------------------------------------------------- */
.ana-urun-birim-sec { position: relative; }

.ana-urun-birim-tetik {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    width: 100%;
    min-height: 4.6rem;
    padding: .6rem 1.2rem;
    border: 2px solid #e5e7eb;
    border-radius: 1.2rem;
    background: #f9fafb;
    color: #1f2937;
    text-align: left;
    transition: border-color .15s, background .15s, box-shadow .15s;
}

    .ana-urun-birim-tetik:hover:not(:disabled) { border-color: #fcdc6b; background: #fff; }

    .ana-urun-birim-tetik:disabled { opacity: 1; cursor: default; }

    .ana-urun-birim-tetik:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(251, 199, 16, .25); }

.ana-urun-birim-sec.acik .ana-urun-birim-tetik { border-color: #fbc710; background: #fff; box-shadow: 0 0 0 3px rgba(251, 199, 16, .15); }

.ana-urun-birim-metin { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }

    .ana-urun-birim-metin b { overflow: hidden; color: #1f2937; font-size: 1.35rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }

    .ana-urun-birim-metin small { color: #6b7280; font-size: 1.15rem; font-weight: 600; white-space: nowrap; }

.ana-urun-birim-ok { flex-shrink: 0; color: #fbc710; transition: transform .2s; }

.ana-urun-birim-sec.acik .ana-urun-birim-ok { transform: rotate(180deg); }

.ana-urun-birim-liste {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + .5rem);
    z-index: 30;
    margin: 0;
    padding: .5rem;
    list-style: none;
    border: 1px solid #e5e7eb;
    border-radius: 1.4rem;
    background: #fff;
    box-shadow: 0 1.2rem 3rem rgba(15, 23, 42, .22);
    animation: urunBirimAc .14s ease-out;
}

    .ana-urun-birim-liste li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .8rem;
        padding: .9rem 1.1rem;
        border-radius: 1rem;
        color: #374151;
        cursor: pointer;
        transition: background .12s;
    }

        .ana-urun-birim-liste li + li { margin-top: .2rem; }

        .ana-urun-birim-liste li:hover { background: #fffbeb; }

        .ana-urun-birim-liste li.secili { background: #fef6d8; color: #8c6d00; }

            .ana-urun-birim-liste li.secili .ana-urun-birim-metin b { color: #8c6d00; }

@keyframes urunBirimAc { from { opacity: 0; transform: translateY(-.4rem); } to { opacity: 1; transform: none; } }

/* Fiyat satırı: "5,25 TL / Adet" yan yana kalır, sığmazsa tamamı alta geçer (yazı kaymaz) */
.ana-urun-fiyat { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .5rem; }

    .ana-urun-fiyat small { display: inline; white-space: nowrap; }

/* Liste açıkken kart kırpılmaz (liste kartın dışına taşabilir), üstteki kartlarla çakışmaz */
.ana-urun-kart.birim-acik { z-index: 40; overflow: visible; }

    .ana-urun-kart.birim-acik .ana-urun-resim { border-radius: 1.8rem 1.8rem 0 0; }

/* Ortak seçim kutusu (sıralama): birim seçimiyle aynı görünüm, araç çubuğunda biraz daha yüksek */
.ana-secim .ana-urun-birim-tetik { min-height: 4.4rem; }

    .ana-secim .ana-urun-birim-liste { right: 0; left: auto; width: max-content; min-width: 100%; max-width: 32rem; }

    .ana-secim .ana-urun-birim-metin b { font-size: 1.35rem; }

/* ---------------------------------------------------------------------
   KART BİLGİSİ FORMU (Odeme.aspx, sepet, Ödeme Yap): belirgin alanlar, net etiketler
   --------------------------------------------------------------------- */
.kart-form .form-label { color: #1f2937; font-size: 1.35rem; font-weight: 700; }

.kart-form .form-control,
.kart-form .form-select {
    width: 100%;
    height: 5rem;
    padding: 0 1.4rem;
    border: 2px solid #cbd5e1;
    border-radius: 1.2rem;
    background-color: #fff;
    color: #111827;
    font-size: 1.5rem;
    font-weight: 500;
    box-shadow: none;
    transition: border-color .15s, box-shadow .15s;
}

.kart-form .form-select { padding-right: 3.6rem; }

.kart-form .form-control::placeholder { color: #9ca3af; font-weight: 400; letter-spacing: 1px; }

.kart-form .form-control:hover,
.kart-form .form-select:hover { border-color: #94a3b8; }

.kart-form .form-control:focus,
.kart-form .form-select:focus { border-color: #fbc710; outline: 0; box-shadow: 0 0 0 4px rgba(251, 199, 16, .2); }

.kart-form .form-control:disabled,
.kart-form .form-control[readonly] { border-color: #e5e7eb; background-color: #f3f4f6; color: #374151; }

/* Odeme.aspx: ortalanmış ödeme kutusu */
.odeme-kutu { max-width: 64rem; margin: 0 auto; padding: 3.2rem; border: 2px solid #e5e7eb; border-radius: 2.4rem; background: #fff; box-shadow: 0 1.2rem 3.6rem rgba(15, 23, 42, .08); }

.odeme-baslik { display: flex; align-items: center; gap: 1.6rem; margin-bottom: 2.8rem; padding-bottom: 2.4rem; border-bottom: 2px solid #f1f5f9; }

.odeme-baslik-ikon { flex: 0 0 5.6rem; display: flex; align-items: center; justify-content: center; width: 5.6rem; height: 5.6rem; border-radius: 1.6rem; background: #fef6d8; color: #fbc710; }

.odeme-baslik h1 { margin: 0; color: #111827; font-size: 2.4rem; font-weight: 700; line-height: 1.25; }

.odeme-baslik p { margin: .4rem 0 0; color: #6b7280; font-size: 1.4rem; }

.odeme-bolum { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.4rem; color: #8c6d00; font-size: 1.3rem; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }

    .odeme-bolum::after { content: ""; flex: 1; height: 2px; background: #fef6d8; }

.odeme-kutu .kart-form + .odeme-bolum { margin-top: 3rem; }

.odeme-kutu .odeme-tutar { color: #8c6d00; font-size: 1.8rem; font-weight: 700; }

.odeme-alt { margin-top: 3rem; }

    .odeme-alt .shop-btn { display: block; width: 100%; height: 5.6rem; padding: 0 2rem; border: 0; border-radius: 1.4rem; background: #fbc710; color: #1f2328; font-size: 1.7rem; font-weight: 700; cursor: pointer; transition: background .15s; }

        .odeme-alt .shop-btn:hover { background: #e0b000; }

@media (max-width: 575.98px) {
    .odeme-kutu { padding: 2rem 1.6rem; border-radius: 2rem; }
    .odeme-baslik { gap: 1.2rem; margin-bottom: 2rem; padding-bottom: 1.8rem; }
    .odeme-baslik-ikon { flex-basis: 4.6rem; width: 4.6rem; height: 4.6rem; border-radius: 1.4rem; }
    .odeme-baslik h1 { font-size: 1.9rem; }
    .odeme-baslik p { font-size: 1.25rem; }
}

/* ---------------------------------------------------------------------
   BİLDİRİM MESAJLARI (toastla -> Notiflix): beyaz kart, renkli sol şerit, ikon, kalan süre çubuğu
   Notiflix renkleri satır içi (inline) verdiği için !important gerekir. Ayarlar: assets/js/base.js
   --------------------------------------------------------------------- */
#NotiflixNotifyWrap { pointer-events: none; }

.notiflix-notify {
    --bil: #16a34a;
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 1.2rem;
    min-height: 0 !important;
    margin: 0 0 1rem !important;
    padding: 1.4rem 1.6rem 1.4rem 1.4rem !important;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-left: .6rem solid var(--bil);
    border-radius: 1.4rem !important;
    background: #fff !important;
    color: #1f2937 !important;
    font-family: inherit !important;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    box-shadow: 0 1.4rem 3.6rem rgba(15, 23, 42, .18), 0 .2rem .6rem rgba(15, 23, 42, .06);
    cursor: pointer;
}

.notiflix-notify-success { --bil: #16a34a; }
.notiflix-notify-warning { --bil: #d97706; }
.notiflix-notify-failure { --bil: #dc2626; }
.notiflix-notify-info { --bil: #2563eb; }

.notiflix-notify .nx-message-icon {
    position: static !important;
    flex: 0 0 3.2rem;
    width: 3.2rem !important;
    height: 3.2rem !important;
    margin: 0 !important;
}

    .notiflix-notify .nx-message-icon path { fill: var(--bil) !important; }

.notiflix-notify .nx-message {
    flex: 1;
    width: auto !important;
    min-width: 0;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #1f2937 !important;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    word-break: break-word;
}

/* Süre çubuğu: base.js'teki timeout (5 sn) ile aynı */
.notiflix-notify::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: .3rem;
    background: var(--bil);
    opacity: .55;
    transform-origin: left;
    animation: bildirimSure 5s linear forwards;
}

@keyframes bildirimSure { from { transform: scaleX(1); } to { transform: scaleX(0); } }

@media (max-width: 575.98px) {
    #NotiflixNotifyWrap { right: 1.2rem !important; left: 1.2rem !important; top: 1.2rem !important; width: auto !important; }
    .notiflix-notify { padding: 1.2rem 1.3rem 1.2rem 1.2rem !important; }
}

/* ---------------------------------------------------------------------
   FİYATI OLMAYAN (0 TL) ÜRÜN: fiyat yerine uyarı, sepete ekle pasif görünür (tıklayınca bildirim çıkar)
   --------------------------------------------------------------------- */
.ana-urun-fiyat-yok,
.detay-fiyat-yok {
    display: flex;
    align-items: center;
    padding: 1rem 1.2rem;
    border: 2px dashed #fcd9a8;
    border-radius: 1.2rem;
    background: #fff8ed;
    color: #b45309;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
}

.ana-urun-fiyat-yok { min-height: 5.6rem; }

.detay-fiyat-yok { margin-bottom: 1.6rem; padding: 1.4rem 1.6rem; font-size: 1.5rem; }

.ana-urun-buton.pasif,
.detay-sepet-buton.pasif { background: #cbd5e1; color: #475569; cursor: not-allowed; box-shadow: none; }

    .ana-urun-buton.pasif:hover,
    .detay-sepet-buton.pasif:hover { background: #cbd5e1; color: #475569; box-shadow: none; }

/* ---------------------------------------------------------------------
   ONAY PENCERESİ (vuejs-dialog $dialog.confirm): ortalanmış kart, ikon, eşit genişlikte iki düğme
   Silme gibi geri alınamaz işlemlerde SilmeOnayi() kullanılır (body'ye dg-silme-acik sınıfı eklenir: kırmızı ikon + kırmızı onay düğmesi)
   --------------------------------------------------------------------- */
.dg-container { background: rgba(15, 23, 42, .55) !important; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); font-family: inherit !important; }

.dg-container .dg-content-cont--floating {
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    width: calc(100% - 3.2rem);
    max-width: 42rem;
    margin: 0 !important;
    transform: translate(-50%, -50%);
}

.dg-container .dg-main-content {
    padding: 3.2rem 2.8rem 2.6rem !important;
    border: 0 !important;
    border-radius: 2.4rem !important;
    background: #fff !important;
    box-shadow: 0 2.4rem 6rem rgba(15, 23, 42, .35) !important;
    text-align: center;
}

.dg-container .dg-content-body { padding: 0 !important; border: 0 !important; }

.dg-container .dg-content-body::before {
    content: "";
    display: block;
    width: 7.2rem;
    height: 7.2rem;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: #fef6d8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%2300B5AD' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3M12 17h.01'/%3E%3C/svg%3E") center / 3.4rem no-repeat;
}

.dg-container .dg-content {
    margin: 0 !important;
    color: #1f2937 !important;
    font-family: inherit !important;
    font-size: 1.7rem !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    text-align: center !important;
}

.dg-container .dg-content-footer { display: flex; gap: 1.2rem; margin-top: 2.8rem !important; padding: 0 !important; border: 0 !important; }

    .dg-container .dg-content-footer .dg-clear { display: none; }

.dg-container .dg-btn {
    flex: 1;
    float: none !important;
    min-width: 0;
    height: 5rem;
    margin: 0 !important;
    padding: 0 1.6rem !important;
    border: 2px solid #fbc710 !important;
    border-radius: 1.4rem !important;
    font-family: inherit !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    letter-spacing: 0;
    text-transform: none !important;
    transition: background .15s, border-color .15s, color .15s;
}

.dg-container .dg-btn--cancel { order: 1; border-color: #d1d5db !important; background: #fff !important; color: #374151 !important; }

    .dg-container .dg-btn--cancel:hover { border-color: #9ca3af !important; background: #f3f4f6 !important; }

.dg-container .dg-btn--ok { order: 2; background: #fbc710 !important; color: #1f2328 !important; }

    .dg-container .dg-btn--ok:hover { border-color: #8c6d00 !important; background: #e0b000 !important; }

.dg-container .dg-btn:focus-visible { outline: 0; box-shadow: 0 0 0 4px rgba(251, 199, 16, .25); }

/* Silme onayı */
body.dg-silme-acik .dg-container .dg-content-body::before { background: #fef2f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M8 6V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2m3 0-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6m5 5v6m4-6v6'/%3E%3C/svg%3E") center / 3.4rem no-repeat; }

body.dg-silme-acik .dg-container .dg-btn--ok { border-color: #dc2626 !important; background: #dc2626 !important; }

    body.dg-silme-acik .dg-container .dg-btn--ok:hover { border-color: #b91c1c !important; background: #b91c1c !important; }

body.dg-silme-acik .dg-container .dg-btn:focus-visible { box-shadow: 0 0 0 4px rgba(220, 38, 38, .22); }

@media (max-width: 575.98px) {
    .dg-container .dg-main-content { padding: 2.6rem 2rem 2.2rem !important; border-radius: 2rem !important; }
    .dg-container .dg-content { font-size: 1.55rem !important; }
    .dg-container .dg-content-body::before { width: 6.4rem; height: 6.4rem; margin-bottom: 1.6rem; }
}

/* ---------------------------------------------------------------------
   KATEGORİ MENÜSÜ: DİĞER ▾ - sığmayan kategoriler açılır listede (ana.master içindeki betik ekler)
   --------------------------------------------------------------------- */
.header-bottom .menu-list > li.menu-gizli { display: none !important; }

/* Liste: kategoriler sütunlu bloklar halinde, başlık + alt kategoriler */
/* Gazete sütunu düzeni: her kategori kendi yüksekliği kadar yer kaplar (ızgarada alt kategorili satır diğerlerinin altını boş bırakıyordu) */
.header-bottom .header-nav .header-nav-menu .menu-list .header-sub-menu.menu-diger-liste {
    display: block;
    column-count: var(--diger-kolon, 2);
    column-gap: 2.4rem;
    width: calc(var(--diger-kolon, 2) * 26rem);
    max-width: min(96rem, calc(100vw - 4rem));
    max-height: calc(100vh - 18rem);
    padding: 1.6rem 1.8rem;
    overflow-y: auto;
    left: auto;
    right: 0;
}

.header-bottom .header-nav .header-nav-menu .menu-list .menu-diger-liste .diger-grup { display: block; width: 100%; min-width: 0; margin: 0 0 .4rem; break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid; }

.menu-diger-liste .diger-alt { margin: .2rem 0 0; padding: 0; list-style: none; }

.header-bottom .header-nav .header-nav-menu .menu-list .menu-diger-liste a.diger-baslik {
    padding: .8rem 1.2rem;
    color: #8c6d00;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: .3px;
    white-space: normal;
}

.header-bottom .header-nav .header-nav-menu .menu-list .menu-diger-liste .diger-alt a {
    padding: .6rem 1.2rem .6rem 1.8rem;
    font-size: 1.3rem;
    white-space: normal;
}

/* ---------------------------------------------------------------------
   TUTAR GİRİŞİ (input[data-tutar] + .tutar-ipucu): yazılan tutarın nasıl anlaşıldığını gösterir. base.js "Tutar girişi"
   --------------------------------------------------------------------- */
input[data-tutar] { font-variant-numeric: tabular-nums; font-weight: 600; }

.tutar-ipucu { min-height: 1.8rem; margin-top: .5rem; color: #8c6d00; font-size: 1.3rem; font-weight: 700; }

    .tutar-ipucu.hata { color: #dc2626; font-weight: 600; }

/* Profil > Üye Onay: Sil + Onayla düğmeleri */
.uye-islemler { display: flex; flex-shrink: 0; gap: .8rem; }

.dash-btn.uye-sil { border: 1px solid #fecaca; background: #fff; color: #dc2626; }

    .dash-btn.uye-sil:hover:not(:disabled) { border-color: #dc2626; background: #fef2f2; }

    .dash-btn.uye-sil:disabled { opacity: .6; }

@media (max-width: 575.98px) {
    .uye-satir { flex-direction: column; align-items: stretch; }
    .uye-islemler > .dash-btn { flex: 1; }
}

/* Giriş: "Beni hatırla" (login.aspx) */
.giris-hatirla { position: relative; display: flex; align-items: flex-start; gap: 1.2rem; margin: -.4rem 0 2.2rem; padding: 1.2rem 1.4rem; border: 2px solid #e5e7eb; border-radius: 1.2rem; background: #f9fafb; cursor: pointer; transition: border-color .15s, background .15s; }

    .giris-hatirla:hover { border-color: #fcdc6b; }

    .giris-hatirla input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

.giris-hatirla-kutu { flex: 0 0 2.2rem; display: flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; margin-top: .1rem; border: 2px solid #cbd5e1; border-radius: .6rem; background: #fff; color: transparent; transition: background .15s, border-color .15s, color .15s; }

.giris-hatirla input:checked + .giris-hatirla-kutu { border-color: #fbc710; background: #fbc710; color: #1f2328; }

.giris-hatirla input:focus-visible + .giris-hatirla-kutu { box-shadow: 0 0 0 3px rgba(251, 199, 16, .3); }

.giris-hatirla:has(input:checked) { border-color: #fbc710; background: #fffbeb; }

.giris-hatirla-metin { display: flex; flex-direction: column; gap: .2rem; line-height: 1.4; }

    .giris-hatirla-metin b { color: #1f2937; font-size: 1.4rem; }

    .giris-hatirla-metin small { color: #6b7280; font-size: 1.2rem; }

/* Profil > Ödemeler: kartın alt satırı (Mikro durumu + dekont durumu solda, Dekont düğmesi sağda) */
.odeme-kart .odeme-kart-alt { flex-wrap: wrap; justify-content: flex-start; gap: .6rem .8rem; }

    .odeme-kart .odeme-kart-alt .odeme-makbuz-btn { margin-left: auto; }

.odeme-dekont-durum { cursor: help; }
