:root {
    --brand-dark: #2d6a4f;     /* Koyu Yeşil - Top Bar */
    --brand-primary: #198754;  /* Ana Yeşil - Butonlar */
    --brand-light: #d8f3dc;    /* Açık Yeşil - Arka planlar */
    --brand-magenta: #d63384;  /* Depodan Al rengi */
    --text-primary: #1e1e1e;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f9f9f9;
    color: var(--text-primary);
}

/* --- HEADER ÖZEL STİLLERİ --- */

/* 1. Yeşil Bant */
.top-bar-green {
    background-color: #2e6f40; /* Görseldeki koyu yeşil */
    font-size: 0.85rem;
}

/* 2. İkincil Linkler */
.small-nav .nav-link {
    color: #666;
    font-size: 0.75rem; /* 12px */
    padding: 0.2rem 1rem;
}
.small-nav .nav-link:hover {
    color: #2e6f40;
}

/* 3. Ana Header */
.text-dark-green {
    color: #2e6f40;
}

/* Arama Grubu */
.search-group input {
    border-color: #ced4da;
    font-size: 0.9rem;
    padding: 10px 15px;
}
.search-group input:focus {
    box-shadow: none;
    border-color: #2e6f40;
}
.search-group .btn-search {
    background-color: #2e6f40;
    border-color: #2e6f40;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.search-group .btn-search:hover {
    background-color: #1b4332;
}

/* Sağ Taraf Aksiyonlar */
.action-item {
    cursor: pointer;
    min-width: 50px; /* Hizalama için */
}
.x-small {
    font-size: 0.7rem;
}

/* Hesabım Alanı */
.account-box {
    cursor: pointer;
}
.avatar-circle {
    background-color: #2e6f40 !important;
}

/* 4. Menü Linkleri */
.main-nav .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
    transition: color 0.2s;
}
.main-nav .nav-link:hover {
    color: #2e6f40 !important;
}

/* Sepet Rozeti (Turuncu) */
.badge.bg-warning {
    background-color: #fd7e14 !important; /* Turuncu tonu */
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: 5px;
    background-color: #ff6b6b;
    color: white;
    font-size: 0.65rem;
    padding: 2px 5px;
    border-radius: 50%;
    border: 1px solid white;
}

/* Plus Butonu */
.btn-plus {
    background-color: #ebf5ee;
    border-radius: 8px;
    padding: 4px 12px;
}
.plus-badge {
    background-color: var(--brand-dark);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    margin-bottom: 2px;
}
.plus-text {
    color: var(--brand-dark);
    font-size: 0.75rem;
    font-weight: 700;
}

/* Navigasyon */
.main-nav li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 5px;
    transition: 0.2s;
}
.main-nav li a:hover { background-color: #f1f3f5; color: var(--brand-dark); }
.text-magenta { color: var(--brand-magenta) !important; }

/* 2. HERO SLIDER */
.hero-wrapper {
    height: 480px;
    background-color: #333;
}
.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 60%;
    background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-dots .dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
}
.hero-dots .dot.active { background-color: white; width: 25px; border-radius: 5px; }

/* 3. INFO CARDS */
.info-card {
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    transition: 0.3s;
}
.info-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.icon-circle {
    width: 64px;
    height: 64px;
    background-color: var(--brand-dark);
    color: white;
    font-size: 1.7rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* 4. KATEGORİ KARTLARI */
.cat-card {
    height: 220px;
    cursor: pointer;
}
.cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.cat-card:hover img { transform: scale(1.1); }
.cat-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding-top: 50px !important;
}
.cat-icon {
    width: 32px;
    height: 32px;
    background-color: var(--brand-primary);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* 5. ÜRÜN KARTLARI (YENİ) */
.product-card {
    transition: all 0.3s ease;
    border: 1px solid #eee;
}
.product-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: transparent;
}
.product-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}
.product-card:hover .product-img img {
    transform: scale(1.05);
}
.product-title {
    font-size: 0.95rem;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px; /* 2 satır yüksekliği */
}
.btn-outline-success {
    color: var(--brand-dark);
    border-color: var(--brand-dark);
    background-color: white; /* Görseldeki gibi beyaz zemin */
}
.btn-outline-success:hover {
    background-color: var(--brand-dark);
    color: white;
}
/* Görseldeki Sepete Ekle butonu dolu yeşil ise alttaki satırı aktif et: */
.product-card .btn-outline-success {
     background-color: var(--brand-dark); color: white; border: none;
}
.product-card .btn-outline-success:hover {
    background-color: #1e4d38;
}

@media (max-width: 768px) {
    .hero-wrapper { height: 350px; }
    .hero-content { width: 100%; background: rgba(0,0,0,0.4); }
    .display-4 { font-size: 2rem; }
}

/* --- 7. KAMPANYA BANNERLARI --- */
.mini-campaign-card {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}
.mini-campaign-card:hover {
    transform: translateY(-5px);
}

/* Her kart için farklı arka plan ve renkler */
.card-red {
    background-image: linear-gradient(rgba(180, 40, 40, 0.8), rgba(100, 20, 20, 0.9)), url('https://images.unsplash.com/photo-1542332205-4da5d5c1710b?q=80&w=400');
}
.card-blue {
    background-image: linear-gradient(rgba(30, 60, 120, 0.8), rgba(10, 30, 70, 0.9)), url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?q=80&w=400');
}
.card-purple {
    background-image: linear-gradient(rgba(100, 30, 100, 0.7), rgba(50, 10, 50, 0.9)), url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=400');
}

.text-purple { color: #6f42c1; }

/* --- 8. BÜYÜK KAMPANYA KARTI --- */
.big-campaign-box {
    background: linear-gradient(135deg, #1e4d38 0%, #2d6a4f 100%);
    /* Görseldeki gibi hafif pütürlü doku efekti için */
    box-shadow: 0 20px 40px rgba(30, 77, 56, 0.2);
}

.text-light-green {
    color: #a3e6c0; /* %20 yazısının açık yeşili */
}

.text-dark-green {
    color: #1e4d38;
}

.campaign-feature {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 100px;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}
.campaign-feature:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

/* Yüzen Rozetler */
.image-wrapper {
    max-width: 400px;
    width: 100%;
}

.campaign-img {
    transform: rotate(-5deg);
    border: 5px solid rgba(255,255,255,0.1);
}

.floating-badge {
    position: absolute;
    z-index: 5;
    animation: float 3s ease-in-out infinite;
}

.badge-top-right {
    top: -20px;
    right: -20px;
}

.badge-bottom-left {
    bottom: -20px;
    left: -20px;
    background-color: #27ae60 !important; /* Canlı yeşil */
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Dekoratif */
.bg-shape-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    top: -50px;
    left: -50px;
    border-radius: 50%;
}

/* Mobil uyumluluk */
@media (max-width: 991px) {
    .image-wrapper { margin-top: 40px; }
    .badge-top-right { right: 0; }
    .badge-bottom-left { left: 0; }
}

/* --- YENİ BÖLÜM STİLLERİ --- */

/* Sarfmax Özel Butonu (İçi Dolu Yeşil) */
.btn-sarfmax {
    background-color: #2e6f40; /* Görseldeki koyu yeşil */
    color: white;
    border: none;
    font-weight: 500;
    padding: 10px 0;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-sarfmax:hover {
    background-color: #1b4332;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(46, 111, 64, 0.3);
}

/* Özel Rozet Renkleri */
.badge-same-day {
    background-color: #2e6f40; /* Aynı Gün Kargo Yeşili */
    color: white;
    font-weight: 600;
    font-size: 0.7rem;
    border-radius: 12px;
    padding: 5px 10px;
}

.badge-bestseller {
    background-color: #1b4332; /* Çok Satan - Daha Koyu Yeşil */
    color: white;
    font-weight: 600;
    font-size: 0.7rem;
    border-radius: 12px;
    padding: 5px 10px;
}

.badge-discount {
    background-color: #2e6f40; /* İndirimli */
    color: white;
    font-weight: 600;
    font-size: 0.7rem;
    border-radius: 12px;
    padding: 5px 10px;
}

/* Ürün kartlarını eşit yükseklikte tutmak için flexbox ince ayarı */
.product-card {
    height: 100%;
}
.product-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* --- 11. OFİS LÜKS SERİSİ BANNER STİLLERİ --- */

.luxury-banner {
    /* Görseldeki koyu yeşil degrade */
    background: linear-gradient(105deg, #1A4031 0%, #0F261E 100%);
    box-shadow: 0 20px 40px rgba(15, 38, 30, 0.2);
}

.badge-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 30px;
    letter-spacing: 0.5px;
}

.luxury-feature {
    background: rgba(255, 255, 255, 0.08); /* Şeffaf beyaz zemin */
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 110px;
    backdrop-filter: blur(4px);
    transition: transform 0.3s;
}

.luxury-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.text-success-light {
    color: #69dcb0; /* İkonlar için açık nane yeşili */
}

/* Banner içindeki buton */
.btn-success-light {
    background-color: #3d8c66;
    color: white;
    border: none;
    transition: all 0.2s;
}

.btn-success-light:hover {
    background-color: #4ca87a;
    color: white;
}

/* Sağ taraftaki görselin duruşu */
.luxury-img {
    transform: perspective(1000px) rotateY(-5deg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s;
}

.luxury-banner:hover .luxury-img {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* Arka plandaki dekoratif şekil */
.luxury-bg-shape {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(105, 220, 176, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

/* --- 13. KURUMSAL ÇÖZÜMLER BANNER STİLLERİ --- */

.corporate-banner {
    /* Görseldeki koyu lacivert/antrasit tonu */
    background-color: #1c2331;
    box-shadow: 0 20px 40px rgba(28, 35, 49, 0.2);
}

/* Liste elemanları arasındaki hizalama ve boşluklar */
.corporate-banner ul li {
    opacity: 0.9;
}

.corporate-banner ul li i {
    flex-shrink: 0; /* İkonun daralmasını önle */
}

/* Outline butonun hover efekti */
.btn-outline-light:hover {
    color: #1c2331; /* Hover olunca metin rengi arka plan rengini alsın */
}

/* --- 14. FOOTER STİLLERİ --- */

/* Link Listeleri */
.footer-link-list li {
    margin-bottom: 8px;
}
.footer-link-list a {
    text-decoration: none;
    color: #6c757d;
    transition: color 0.2s;
}
.footer-link-list a:hover {
    color: var(--brand-dark); /* Yeşil hover */
    text-decoration: underline;
}

/* Store Rozetleri (Mobil Uygulama) */
.store-badge {
    width: 160px;
    border: 1px solid #ddd;
    transition: transform 0.2s;
}
.store-badge:hover {
    transform: translateY(-2px);
    background-color: #333 !important;
}

/* Alt Koyu Şeritler */
.footer-dark {
    background-color: #1e2430; /* Görseldeki koyu lacivert */
}
.footer-darker {
    background-color: #151a24; /* En alttaki çok koyu ton */
}

/* Ödeme İkonları */
.payment-icon {
    width: 45px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Sosyal Medya İkonları */
.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s;
}
.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
}

/* --- HERO SLIDER AYARLARI --- */

/* Wrapper yüksekliği sabit tutulmalı */
.hero-wrapper {
    height: 500px; /* Görseldeki yükseklik */
    position: relative;
}

/* Overlay her slayt için aynı */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Tüm alanı kaplasın */
    height: 100%;
    /* Soldan koyu, sağa doğru şeffaflaşan gradient */
    background: linear-gradient(90deg, rgba(20, 50, 35, 0.85) 0%, rgba(20, 50, 35, 0.4) 60%, transparent 100%);
}

/* Nokta Göstergeleri (Dots) Özelleştirme */
.custom-dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5) !important;
    border: none !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
}

.custom-dot.active {
    background-color: #fff !important;
    width: 30px !important; /* Aktif olan uzar */
    border-radius: 10px;
}

/* Slider üzerine gelince okları göster (Opsiyonel) */
.hero-wrapper:hover .carousel-control-prev,
.hero-wrapper:hover .carousel-control-next {
    opacity: 0.8 !important;
}

/* --- SLAYT İÇİ ANİMASYONLAR --- */
/* Yazıların alttan yukarı kayarak gelmesi için */
.animate-up {
    animation: slideUpFade 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .hero-wrapper { height: 400px; }
    .hero-overlay {
        background: rgba(20, 50, 35, 0.6); /* Mobilde tam karartma daha okunaklı olur */
    }
    .display-4 { font-size: 2.5rem; }
}

/* --- MOBİL HEADER STİLLERİ --- */

/* Mobilde logo font ayarı */
@media (max-width: 991px) {
    .logo-font {
        font-size: 1.5rem;
    }
    .shadow-sm-mobile {
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
    /* Mobilde arama çubuğu üstten boşluk */
    .search-group {
        margin-top: 10px;
    }
    /* Sepet rozetini ikonun tam köşesine koy */
    .mobile-badge {
        padding: 3px 5px !important;
        font-size: 0.6rem !important;
    }
    #navbar {
        display: none;
    }
    #top-bar-1{
        display: none;
    }
    #top-bar-2{
        display: none;
    }
}

/* Offcanvas Menü Linkleri */
.list-group-item {
    padding: 15px 20px;
    font-size: 0.95rem;
    border-color: #f1f1f1;
}

.list-group-item:active {
    background-color: #f8f9fa;
    color: var(--brand-dark);
}

/* Offcanvas Header */
.offcanvas-header {
    background: linear-gradient(135deg, #2e6f40 0%, #1b4332 100%);
}

/* --- LOGIN SAYFASI STİLLERİ --- */

/* Giriş Kartı */
.login-card {
    border-color: #f0f0f0 !important;
}

/* Form Elemanları */
.form-control:focus {
    border-color: #2e6f40;
    box-shadow: 0 0 0 0.25rem rgba(46, 111, 64, 0.15);
}

.form-label {
    font-size: 0.85rem;
}

/* Sosyal Butonlar */
.btn-outline-secondary {
    border-color: #e9ecef !important;
    color: #444 !important;
    font-weight: 500;
}
.btn-outline-secondary:hover {
    background-color: #f8f9fa !important;
    border-color: #dee2e6 !important;
}

/* Sağ Taraf - Avantajlar Listesi */
.benefit-icon {
    width: 48px;
    height: 48px;
    background-color: #2e6f40 !important; /* Marka Yeşili */
}

/* Mobilde sağ tarafın boşluğunu ayarla */
@media (max-width: 991px) {
    .benefit-list {
        margin-top: 20px;
    }
}

/*KAYIT OL*/
/* --- KAYIT OL SAYFASI STİLLERİ --- */

body {
    font-family: 'Inter', sans-serif;
}

/* Sol Taraf: Form Kartı */
.register-card {
    border-color: #dee2e6 !important; /* Görseldeki ince gri çizgi */
    background-color: #ffffff;
}

.x-small {
    font-size: 0.8rem;
}

/* Input Alanları */
.form-control {
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    border-color: #ced4da;
    border-radius: 6px;
}
.form-control:focus {
    border-color: #2e6f40;
    box-shadow: 0 0 0 0.2rem rgba(46, 111, 64, 0.15);
}

.form-label {
    margin-bottom: 0.3rem;
}

/* Butonlar */
.btn-sarfmax {
    background-color: #2e6f40; /* Sarfmax Yeşili */
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
}
.btn-sarfmax:hover {
    background-color: #1b4332;
    color: white;
}

/* Sosyal Butonlar */
.btn-outline-secondary {
    border-color: #dee2e6 !important;
    color: #212529 !important;
    border-radius: 6px;
}
.btn-outline-secondary:hover {
    background-color: #f8f9fa !important;
}

/* Sağ Taraf: Avantaj Kutucukları */
.benefit-box {
    width: 45px;
    height: 45px;
    background-color: #2e6f40;
    color: white;
    border-radius: 8px; /* Görseldeki hafif yuvarlak köşeler */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Mobilde sağ tarafın mesafesi */
@media (max-width: 991px) {
    .register-card {
        padding: 1.5rem !important;
    }
}

/* --- SEPET SAYFASI STİLLERİ --- */

/* Ürün Kartı */
.cart-item {
    border-color: #f0f0f0 !important;
    transition: transform 0.2s;
}

/* Ürün Görsel Alanı */
.cart-img-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Adet Seçici (Quantity Control) */
.quantity-control {
    background-color: #e9ecef; /* Görseldeki gri ton */
}
.quantity-control button {
    border: none;
    background: transparent;
    font-size: 1.1rem;
    line-height: 1;
    padding-top: 5px;
    padding-bottom: 5px;
}
.quantity-control button:hover {
    color: var(--brand-dark) !important;
}

/* Sağ Taraf: Sipariş Özeti */
.order-summary {
    background-color: #f8f9fa !important; /* Görseldeki hafif gri zemin */
}

.text-success-dark {
    color: #2e6f40; /* Toplam Tutar Rengi */
}

/* Silme Butonu */
.bi-trash {
    color: #dc3545; /* Kırmızı */
    opacity: 0.8;
    transition: opacity 0.2s;
}
.bi-trash:hover {
    opacity: 1;
}

/* Mobil Düzenleme */
@media (max-width: 576px) {
    .cart-item {
        text-align: center;
    }
    .cart-img-wrapper {
        width: 120px;
        height: 120px;
    }
    .quantity-control {
        margin-right: 15px; /* Mobilde sil butonu ile arayı aç */
    }
}

/* --- ÖDEME SAYFASI STİLLERİ --- */

/* Adım Numarası Yuvarlağı */
.step-circle {
    width: 32px;
    height: 32px;
    background-color: #2e6f40 !important; /* Marka Yeşili */
    font-size: 0.9rem;
}

/* Form Elemanları */
.form-control {
    padding: 0.7rem 0.85rem;
    font-size: 0.9rem;
    border-color: #dee2e6;
    border-radius: 6px;
}
.form-control:focus {
    border-color: #2e6f40;
    box-shadow: 0 0 0 0.2rem rgba(46, 111, 64, 0.15);
}

/* Readonly inputlar için gri zemin (İl/İlçe) */
.form-control[readonly] {
    background-color: #f1f3f5 !important; 
    color: #212529;
}

/* Kart Stilleri */
.card {
    border-color: #e9ecef !important;
}

/* Checkbox (Mavi) */
.form-check-input:checked {
    background-color: #0d6efd; /* Görseldeki Mavi */
    border-color: #0d6efd;
}

/* Toplam Tutar Rengi */
.text-success-dark {
    color: #2e6f40;
}

/* Sipariş Özeti Arka Planı */
.bg-light.bg-opacity-50 {
    background-color: #fcfcfc !important; /* Çok açık gri */
}

/* --- ÖDEME YÖNTEMLERİ STİLLERİ --- */

/* Aktif ödeme seçeneği için arka plan rengi */
.bg-light-green {
    background-color: #f7fcf9 !important; /* Görseldeki çok açık yeşil ton */
}

/* Ödeme seçenekleri genel geçiş efekti */
.payment-option {
    transition: all 0.2s ease;
    cursor: pointer;
}

/* Hover efekti (aktif olmayanlar için) */
.payment-option:not(.active):hover {
    border-color: #ccc !important;
    background-color: #fcfcfc;
}

/* Ödeme yöntemi ikonu kutusu */
.payment-icon-box {
    width: 48px;
    height: 48px;
}

/* Radio Button Seçili Rengi (Mavi/Standart Bootstrap) */
.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Radio button boyutunu görseldeki gibi biraz büyütmek istersen */
.form-check-input {
    width: 1.2em;
    height: 1.2em;
}

/* Sipariş notu textarea placeholder rengi */
textarea::placeholder {
    color: #adb5bd;
    font-size: 0.9rem;
}

.sticky-summary {
    position: -webkit-sticky; /* Safari desteği için */
    position: sticky;
    top: 100px; /* Üstten ne kadar boşluk kalacağını belirler (Header payı) */
    z-index: 2; /* Diğer elementlerin altında kalmaması için */
    height: fit-content; /* Yüksekliği içeriği kadar olsun */
}

/* --- KATEGORİ SAYFASI STİLLERİ --- */

/* Filtre Checkbox Özelleştirme */
.form-check-input:checked {
    background-color: #2e6f40;
    border-color: #2e6f40;
}

.form-check-input:focus {
    border-color: #2e6f40;
    box-shadow: 0 0 0 0.2rem rgba(46, 111, 64, 0.15);
}

/* Filtreleri Temizle Butonu (Outline Yeşil) */
.btn-outline-success {
    color: #2e6f40;
    border-color: #2e6f40;
}
.btn-outline-success:hover {
    background-color: #2e6f40;
    color: white;
}

/* Ürün Kartı Badge Renkleri */
.bg-custom-green {
    background-color: #3f8c67; /* Yeni */
    color: white;
    font-size: 0.7rem;
    border-radius: 4px;
    padding: 5px 10px;
}

.bg-custom-dark-green {
    background-color: #2e6f40; /* Çok Satan, İndirimli */
    color: white;
    font-size: 0.7rem;
    border-radius: 4px;
    padding: 5px 10px;
}

/* Ürün Görsel Alanı */
.product-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.2s;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

/* Kartın Genel Yapısı */
.product-card {
    transition: box-shadow 0.2s;
}

.product-card:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}

/* Butonun Tam Genişlik Ayarı */
.btn-sarfmax {
    border-radius: 6px;
    padding: 10px 0;
}

/* --- MOBİL FİLTRELEME & KATEGORİ STİLLERİ --- */

/* Mobil Filtre Butonu */
.btn-sarfmax {
    background-color: #2e6f40; /* Koyu yeşil */
    color: white;
    border: none;
    transition: background 0.2s;
}
.btn-sarfmax:hover {
    background-color: #1b4332;
    color: white;
}

/* Sıralama Kutusu (Select) */
.sort-select {
    background-color: #f1f3f5 !important; /* Görseldeki açık gri */
    cursor: pointer;
    font-size: 0.85rem;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

/* Offcanvas (Mobil Filtre Paneli) Ayarları */
@media (max-width: 991px) {
    /* Masaüstü sidebar stilini mobilde sıfırla, offcanvas stiline geç */
    .filter-sidebar {
        border: none !important;
        padding: 0 !important;
    }
    
#sirala{
        width: 100% !important;
    }

    /* Mobil kart gölgeleri */
    .shadow-sm-mobile {
        box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
        border-color: #f0f0f0 !important;
    }

    /* Mobilde ürün kartlarındaki buton ve yazı boyutları */
    .product-title {
        font-size: 0.8rem;
    }
    .price {
        font-size: 1rem;
    }
}

/* Masaüstü Offcanvas Sıfırlama (offcanvas-lg kullanımı için) */
@media (min-width: 992px) {
    .offcanvas-lg {
        position: static;
        z-index: auto;
        flex-grow: 1;
        width: auto !important;
        height: auto !important;
        visibility: visible !important;
        background-color: transparent !important;
        border: 0 !important;
        transform: none !important;
        transition: none;
    }
    .offcanvas-lg .offcanvas-header {
        display: none;
    }
    .offcanvas-lg .offcanvas-body {
        display: block;
        overflow: visible;
    }
    
}

/* Ürün Kartı İnce Ayarlar */
.product-card {
    transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
    transform: translateY(-5px);
}
.bg-custom-green { background-color: #3f8c67; }
.bg-custom-dark-green { background-color: #2e6f40; }

/* --- ÜRÜN DETAY SAYFASI STİLLERİ --- */

/* Görsel Alanı */
.product-main-img {
    height: 500px;
    background-color: #fcfcfc;
}
.product-main-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Küçük Resimler (Thumbnails) */
.thumb-img {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fcfcfc;
    transition: all 0.2s;
}
.thumb-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.thumb-img:hover {
    border-color: #ccc !important;
}
.thumb-img.active {
    border-color: #2e6f40 !important; /* Marka Yeşili */
    border-width: 2px !important;
}
.cursor-pointer { cursor: pointer; }

/* Fiyat Kutusu */
.bg-light-gray {
    background-color: #f3f4f6;
}

/* Tab Navigasyon */
.nav-tabs .nav-link.active {
    border-bottom-width: 3px !important;
    color: #2e6f40;
}
.nav-tabs .nav-link:hover {
    color: #2e6f40;
}

/* İkincil Butonlar (Outline) */
.btn-outline-secondary {
    border-color: #dee2e6;
    background-color: white;
}
.btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: #ced4da;
    color: #000;
}

/* Adet Seçici (Input group) */
.quantity-selector button:focus,
.quantity-selector input:focus {
    box-shadow: none;
    outline: none;
}

/* --- TAB SEKME STİLLERİ (GÜNCELLENMİŞ) --- */

/* Tüm linklerin varsayılan hali (Pasif) */
.nav-tabs .nav-link {
    color: #6c757d; /* Gri renk */
    font-weight: 500;
    border-bottom: 3px solid transparent; /* Çizgi yer kaplasın ama görünmesin */
    border-radius: 0;
    transition: all 0.2s;
}

.nav-tabs .nav-link:hover {
    color: #2e6f40; /* Hover olunca yeşilimsi */
    border-color: transparent;
}

/* Sadece AKTİF olan linkin hali */
.nav-tabs .nav-link.active {
    color: #2e6f40 !important;       /* Koyu yeşil yazı */
    font-weight: 700 !important;     /* Kalın yazı */
    background-color: transparent !important;
    border-color: transparent !important;
    border-bottom: 3px solid #2e6f40 !important; /* Yeşil alt çizgi */
}

/* --- ÜRÜN DETAY MOBİL AKSİYONLAR --- */

/* Favori Butonu (Yeşil Outline) */
.btn-outline-custom-green {
    border: 2px solid #2e6f40; /* Kalın yeşil kenarlık */
    color: #2e6f40;
    transition: all 0.2s;
}
.btn-outline-custom-green:hover {
    background-color: #2e6f40;
    color: white;
}

/* Paylaş Butonu */
.btn-outline-secondary {
    border: 2px solid #e9ecef !important; /* Kalın gri kenarlık */
}
.btn-outline-secondary:hover {
    border-color: #ced4da !important;
    background-color: #f8f9fa !important;
}

/* Adet Seçici */
.quantity-selector button:hover {
    background-color: #f8f9fa;
}
.quantity-selector input:focus {
    box-shadow: none;
}

/* Buton Gölgeleri ve Kenarları */
.btn {
    border-radius: 8px !important; /* Görseldeki gibi hafif yuvarlak */
}

/* Hizmet İkonları */
.border-end {
    border-color: #f0f0f0 !important;
}

.search-group > button.btn-search {
    border-radius: 0 16px 16px 0 !important;
}