/**
 * Modern Light E-Commerce Theme
 * Güven veren, modern ve kullanıcı dostu tasarım
 * Trendyol, Hepsiburada, Amazon, eBay tarzı açık tema
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    /* Modern Light Theme - Güven Veren Açık Renkler */
    --bg-primary: #f2f2f2;
    --bg-secondary: #e2e2e2;
    --bg-tertiary: #f8f9fa;
    --bg-card: #ffffff;

    /* Accent Colors - Canlı ve Güven Veren Renkler */
    --accent-primary: #1f2937;
    --accent-secondary: #f2f2f2;
    --accent-gold: #ff6b35;
    --accent-cyan: #00a8cc;
    --accent-blue: #2563eb;
    --accent-green: #10b981;
    --accent-purple: #8b5cf6;
    --accent-orange: #f59e0b;

    /* Text Colors - Koyu ve Okunabilir */
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;

    /* Borders & Dividers - Açık ve Yumuşak */
    --border-color: #d1d5db;
    --border-light: #e5e7eb;

    /* Shadows - Hafif ve Doğal */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.15);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: var(--transition-base);
}
a:hover { color: var(--accent-orange); }

/* Navbar - Modern Sticky - Beyaz ve Temiz */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    letter-spacing: -0.02em;
    transition: var(--transition-base);
}

/* PC görünümünde navbar brand'ı biraz küçült */
@media (min-width: 992px) {
    .navbar-brand {
        font-size: 1.35rem;
    }
}

.navbar-brand:hover {
    color: var(--accent-blue) !important;
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary) !important;
    transition: var(--transition-base);
    margin: 0 0.5rem;
    position: relative;
    padding: 0.5rem 0 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width var(--transition-base);
}

.nav-link:hover { color: var(--accent-blue) !important; }
.nav-link:hover::after { width: 100%; }

/* Modern Buttons */
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--accent-blue);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background: var(--accent-orange);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}
.btn-outline-primary:hover {
    background: var(--accent-blue);
    color: #ffffff;
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}
.btn-outline-light:hover {
    background: var(--text-primary) !important;
    color: #ffffff !important;
    border-color: var(--text-primary) !important;
}

/* Nav-link içindeki btn-outline-light için özel stil */
.nav-link.btn.btn-outline-light {
    border-width: 2px !important;
    color: var(--text-primary) !important;
    min-width: 80px;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}
.nav-link.btn.btn-outline-light:hover {
    background: var(--bg-secondary) !important;
    color: #ffffff !important;
    border-color: var(--bg-secondary) !important;
}

/* Navbar giriş butonu hover - Gri arka plan ve beyaz yazı garantisi */
.navbar .nav-link.btn.btn-outline-light:hover,
.navbar .nav-link.btn.btn-outline-light:focus {
    background-color: var(--bg-secondary) !important;
    color: #ffffff !important;
    border-color: var(--bg-secondary) !important;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Hero Section - Modern Light */
.hero-section-modern {
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-primary) 100%);
    min-height: auto;
    max-height: 95vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.hero-section-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Eski slider sınıfları kalsın (kullanılmıyor ama zararsız) */
.hero-slider { position: relative; width: 100%; height: 80vh; }
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(255, 255, 255, 0.3);
    z-index: 0;
}

.min-vh-50 { min-height: 80vh; }

/* Hero content alignment */
.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
    text-align: center;
}

/* Mobil görünüm: Hero içerik ve Lottie arasındaki boşluğu azalt */
@media (max-width: 991.98px) {
    .hero-content {
        padding-top: 2rem; /* Üstte biraz boşluk */
        padding-bottom: 0.5rem; /* Altta az boşluk - Lottie'ye yaklaşsın */
    }
    
    /* order-2 ve order-3 kolonları arasındaki boşluğu azalt */
    .hero-section-modern .row.min-vh-50 {
        --bs-gutter-y: 0.5rem; /* Dikey gutter küçült */
        row-gap: 0.5rem;
    }
    
    .hero-section-modern .col-12.order-2,
    .hero-section-modern .col-12.order-3 {
        padding-top: 0.25rem !important;
        padding-bottom: 0.25rem !important;
    }
}

/* Desktop: metin navbar-brand sol hizasıyla aynı hizada */
@media (min-width: 992px) {
    .hero-content {
        text-align: left;
        max-width: 560px;
        margin-left: 0;
    }

    /* PC görünümü için h1 başlığını küçült - GÜVENLİ ALIŞVERİŞ DENEYİMİ tek satırda kalsın */
    .hero-content h1 {
        font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important;
        line-height: 1.3;
        word-spacing: 0.1em;
    }

    /* Sağ alana daha çok yer: gutter azalt */
    .hero-section-modern .row { --bs-gutter-x: 2rem; }

    .hero-section-modern .row > .col-lg-6:first-child { padding-left: 0; }
    .hero-section-modern .row > .col-lg-6:last-child { padding-right: 0; }
}

/* =========================================================
   HERO LOTTIE (HEDEF: ORTALI + ALANA TAŞMADAN EN BÜYÜK)
   - Animasyon asla kolon sınırlarını geçmez
   - Distortion yok (iframe 100% doluyor)
   - Kare sahne: üst-alt kırpma sorununu azaltır
   - “En büyük” görüntü: sahne boyutu kolon/viewport’a göre otomatik büyür
========================================================= */

.hero-image-wrapper{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

    /* kolon sınırları dışına taşma olmasın */
    overflow: hidden;

    /* sağ kolonun içinde yeterli dikey alan oluştur - YARI BOYUT */
    min-height: clamp(160px, 27.5vh, 380px); /* Önceki değerlerin yarısı */
}

/* Kare sahne: hem genişlik hem yükseklik viewport'a göre "en büyük" - YARI BOYUT */
.hero-lottie-stage{
    position: relative;

    /* sahne: viewport yüksekliğine göre büyüsün ama kolon dışına çıkmasın - YARI BOYUT */
    width: min(100%, 340px); /* 680px'in yarısı */
    height: min(35vh, 340px); /* 680px'in yarısı */

    /* kare garanti */
    aspect-ratio: 1 / 1;

    display: flex;
    align-items: center;
    justify-content: center;

    /* sahne sınırları dışına taşma olmasın */
    overflow: hidden;
}

/* iframe: sahneyi bozmadan doldurur (taşma yok) */
.hero-lottie{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    display: block;

    /* ÖNEMLİ: scale yok -> “taşmadan en büyük” */
    transform: none;
    transform-origin: center center;

    pointer-events: none;
}

/* PC görünümü - Lottie animasyonunu 2 kat büyüt */
@media (min-width: 992px) {
    .hero-image-wrapper {
        min-height: clamp(320px, 55vh, 760px); /* 2 kat büyük */
    }
    
    .hero-lottie-stage {
        width: min(100%, 680px); /* 340px'in 2 katı */
        height: min(70vh, 680px); /* 340px'in 2 katı */
    }
}

/* Mobil: sahne daha kompakt - kolonlar birbirine yakın */
@media (max-width: 991.98px){
    .hero-image-wrapper{
        min-height: auto; /* Otomatik yükseklik */
        margin-top: 0.5rem; /* Metin/Lottie arası boşluk azaltıldı */
    }

    .hero-lottie-stage{
        width: min(100%, 280px); /* Mobilde biraz büyütüldü */
        height: min(32vh, 280px); /* Mobilde biraz büyütüldü */
        margin: 0 auto; /* Ortala */
    }
}

/* Çok küçük telefonlar - YARI BOYUT */
@media (max-width: 480px){
    .hero-lottie-stage{
        width: min(100%, 250px); /* Mobilde biraz büyütüldü */
        height: min(28vh, 250px); /* Mobilde biraz büyütüldü */
    }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* (Eski slider buton/dot sınıfları - kalsın) */
.hero-nav-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}
.hero-nav-btn:hover {
    background: #ffffff;
    transform: scale(1.1);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-md);
}
.hero-nav-btn.prev { left: 2rem; top: 50%; transform: translateY(-50%); }
.hero-nav-btn.next { right: 2rem; top: 50%; transform: translateY(-50%); }

.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}
.dot.active {
    background: var(--accent-orange);
    width: 30px;
    border-radius: 6px;
    border-color: var(--accent-orange);
}

/* Product Cards - Modern */
.product-card-modern {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    position: relative;
}

.product-card-modern:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
}

.product-image-modern {
    aspect-ratio: 1 / 1;
    background: var(--bg-tertiary);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mobil: Sepete Ekle butonunu küçük ve yuvarlak yap (SADECE ÜRÜN KARTLARI İÇİN) */
@media (max-width: 991px) {
    /* Buton metnini gizle - SADECE ürün kartlarında */
    .product-card-modern .add-to-cart .btn-text,
    .product-card-modern .btn.add-to-cart .btn-text,
    .product-card-modern button.add-to-cart .btn-text,
    .product-card-modern .btn-primary.add-to-cart .btn-text,
    .product-card-modern .btn-warning.add-to-cart .btn-text {
        display: none !important;
    }
    
    /* Butonu yuvarlak ve küçük yap - SADECE ürün kartlarında */
    .product-card-modern .add-to-cart,
    .product-card-modern .btn.add-to-cart,
    .product-card-modern button.add-to-cart,
    .product-card-modern .btn-sm.add-to-cart,
    .product-card-modern .btn-primary.add-to-cart,
    .product-card-modern .btn-warning.add-to-cart,
    .product-card-modern .btn-primary.btn-sm.add-to-cart,
    .product-card-modern .btn-warning.btn-sm.add-to-cart {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        max-width: 34px !important;
        max-height: 34px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
    
    /* İkon boyutu - SADECE ürün kartlarında */
    .product-card-modern .add-to-cart i,
    .product-card-modern .btn.add-to-cart i,
    .product-card-modern button.add-to-cart i {
        margin: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        font-size: 1.1rem !important;
    }
    
    /* ÜRÜN DETAY SAYFASI - Mobilde de tam genişlik dikdörtgen buton */
    .add-to-cart-section .add-to-cart,
    .add-to-cart-section .btn.add-to-cart,
    .add-to-cart-section button.add-to-cart {
        width: 100% !important;
        max-width: 100% !important;
        min-width: auto !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        padding: 0.9rem 1.5rem !important;
        border-radius: 8px !important;
        display: flex !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
    }
    
    /* Ürün detay - Buton metni görünsün */
    .add-to-cart-section .add-to-cart .btn-text,
    .add-to-cart-section .btn.add-to-cart .btn-text,
    .add-to-cart-section button.add-to-cart .btn-text {
        display: inline !important;
    }
    
    /* Ürün detay - İkon düzgün görünsün */
    .add-to-cart-section .add-to-cart i {
        margin-right: 0.5rem !important;
        font-size: 1.1rem !important;
    }
    
    /* Product card optimizasyonu - Daha kompakt */
    .product-card-modern {
        border-radius: 10px !important;
    }
    
    .product-image-modern {
        aspect-ratio: 1 / 1 !important;
    }
    
    .product-img {
        padding: 0.4rem !important;
    }
    
    .product-info {
        padding: 0.4rem !important;
        min-height: auto !important;
    }
    
    .product-category {
        font-size: 0.75rem !important;
        margin-bottom: 0.2rem !important;
        line-height: 1.2 !important;
    }
    
    .product-title {
        font-size: 0.9rem !important;
        margin-bottom: 0.3rem !important;
        line-height: 1.25 !important;
        min-height: auto !important;
    }
    
    .product-price {
        line-height: 1.2 !important;
    }
    
    .product-price .fw-bold {
        font-size: 1rem !important;
        line-height: 1.2 !important;
    }
    
    .product-price .text-muted.small {
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
    }
    
    .product-footer {
        gap: 0.3rem !important;
        padding-top: 0 !important;
        margin-top: 0.3rem !important;
        border-top: none !important;
    }
    
    /* Badge boyutlarını küçült */
    .badge-sale,
    .badge-stock,
    .badge-wholesale,
    .badge-reward {
        font-size: 0.65rem !important;
        padding: 0.2rem 0.5rem !important;
        top: 8px !important;
        left: 8px !important;
    }
    
    .badge-stock {
        right: 8px !important;
        left: auto !important;
    }
    
    /* Mobilde ürün kartları arasındaki boşluğu optimize et */
    .products-section .col-6,
    .row .col-6 {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }
    
    /* Ürün kartlarını daha kare forma yaklaştır */
    .product-card-modern {
        height: 100% !important;
    }
    
    /* Kategori etiketini daha kompakt yap */
    .product-category i {
        font-size: 0.65rem !important;
    }
}

/* PC görünümünde ürün kartlarını daha küçük ve kibar yap - Tüm sayfalarda aynı */
@media (min-width: 992px) {
    .product-image-modern {
        aspect-ratio: 1 / 1;
        overflow: visible; /* PC görünümünde tüm sayfalarda görsellerin tam görünmesi için */
    }
    
    .product-card-modern {
        border-radius: 12px;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 0.95rem;
        min-height: 40px;
        margin-bottom: 0.4rem;
    }
    
    .price-new {
        font-size: 1rem;
    }
    
    .price-old {
        font-size: 0.75rem;
    }
    
    .product-footer {
        padding-top: 0.75rem;
    }
    
    .btn-action {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}

/* Ürün resmi - Tüm sayfalarda aynı görünüm */
.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem;
}

/* Index.php ve diğer sayfalardaki ürün kartları için tutarlılık */
.products-section .product-card-modern,
.product-card-modern {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.products-section .product-image-modern,
.product-image-modern {
    flex-shrink: 0;
}

.products-section .product-info,
.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-modern:hover .product-img { transform: scale(1.1); }

.product-overlay { display: none; }

.product-actions { display: flex; gap: 12px; }

.btn-action {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    pointer-events: auto;
    z-index: 11;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.btn-action:hover {
    background: var(--accent-orange);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-md);
}

.badge-sale {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-green);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-stock {
    position: absolute;
    top: 15px;
    right: 15px;
}

/* Ödül Ürün Badge */
.badge-reward {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ff6b35 0%, #f59e0b 100%) !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    animation: pulse-gold 2s ease-in-out infinite;
}

.badge-reward i {
    font-size: 0.9rem;
}

@keyframes pulse-gold {
    0%, 100% { transform: scale(1); box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 4px 16px rgba(255, 107, 53, 0.6); }
}

/* Kampanya Banner/Sticker */
.campaign-banner {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff6b35 100%);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideInDown 0.6s ease-out;
}

.campaign-banner i {
    font-size: 2rem;
    animation: bounce 2s ease-in-out infinite;
}

.campaign-banner-content {
    flex: 1;
}

.campaign-banner h5 {
    margin: 0;
    font-weight: 700;
    color: #ffffff;
    font-size: 1.1rem;
}

.campaign-banner p {
    margin: 0.25rem 0 0 0;
    color: #ffffff;
    opacity: 0.95;
    font-size: 0.9rem;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Kampanya Sticker - Mini */
.campaign-sticker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff6b35 100%);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    margin: 0.5rem 0;
}

.campaign-sticker i {
    font-size: 1rem;
}

/* Kargo Ücretsiz Mesajı */
.free-shipping-alert {
    background: linear-gradient(135deg, var(--accent-green) 0%, #10b981 100%);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.free-shipping-alert i {
    font-size: 1.5rem;
}

/* Kargo Ücretsiz için Eksik Tutar Mesajı */
.shipping-progress {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem 0;
}

.shipping-progress-bar {
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
    margin: 0.75rem 0;
}

.shipping-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-orange) 0%, #ff6b35 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.shipping-progress-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.shipping-progress-text strong {
    color: var(--accent-orange);
    font-weight: 700;
}

/* Ödül Ürün Teşvik Mesajı */
.reward-product-alert {
    background: linear-gradient(135deg, var(--accent-purple) 0%, #8b5cf6 100%);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.reward-product-alert i {
    font-size: 1.5rem;
}

/* İndirim Badge */
.discount-badge {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #f59e0b 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* Kampanya İkonları */
.campaign-icon {
    font-size: 1.5rem;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Compact Offers Section - Modern Ribbon Design */
.compact-offers-section {
    position: relative;
    padding: 1.5rem 0;
}

.offer-bg-decoration {
    pointer-events: none;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.03); }
}

.compact-offer-ribbon {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}

.compact-offer-ribbon:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.compact-offer-shipping {
    border-left: 4px solid var(--accent-green);
}

.compact-offer-shipping:hover {
    border-left-color: var(--accent-green);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}

.compact-offer-discount {
    border-left: 4px solid var(--accent-orange);
}

.compact-offer-discount:hover {
    border-left-color: var(--accent-orange);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}

.ribbon-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.75rem;
    position: relative;
    z-index: 2;
}

.ribbon-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.compact-offer-shipping .ribbon-icon {
    background: linear-gradient(135deg, var(--accent-green) 0%, #10b981 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.compact-offer-discount .ribbon-icon {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #f59e0b 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.compact-offer-ribbon:hover .ribbon-icon {
    transform: scale(1.1) rotate(5deg);
}

.ribbon-icon i {
    font-size: 1.75rem;
    color: white;
}

.ribbon-text {
    flex: 1;
    min-width: 0;
}

.ribbon-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ribbon-highlight {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.compact-offer-shipping .ribbon-highlight {
    background: linear-gradient(135deg, var(--accent-green) 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.compact-offer-discount .ribbon-highlight {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ribbon-arrow {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.compact-offer-ribbon:hover .ribbon-arrow {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    transform: translateX(4px);
}

.ribbon-arrow i {
    font-size: 1.25rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.compact-offer-ribbon:hover .ribbon-arrow i {
    color: #ffffff;
}

.ribbon-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.compact-offer-ribbon:hover .ribbon-shine {
    left: 100%;
}

/* BEDAVA ve İNDİRİM - Tıklanmaya teşvik eden renk efektleri */
.offer-keyword {
    display: inline-block;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0 2px;
    position: relative;
    animation: offer-pulse 2s ease-in-out infinite;
}

/* BEDAVA - Yeşil ton (#10b981, #059669) */
.offer-keyword-green {
    color: #059669 !important;
    -webkit-text-fill-color: #059669;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

/* İNDİRİM - Sarı tonlar (#eab308, #fbbf24) */
.offer-keyword-yellow {
    color: #d97706 !important;
    -webkit-text-fill-color: #eab308;
    text-shadow: 0 0 10px rgba(234, 179, 8, 0.5);
}

.compact-offer-ribbon:hover .offer-keyword-green {
    color: #10b981 !important;
    -webkit-text-fill-color: #10b981;
    text-shadow: 0 0 16px rgba(16, 185, 129, 0.6);
    animation: offer-glow-green 0.8s ease-in-out infinite alternate;
}

.compact-offer-ribbon:hover .offer-keyword-yellow {
    color: #fbbf24 !important;
    -webkit-text-fill-color: #fbbf24;
    text-shadow: 0 0 16px rgba(251, 191, 36, 0.6);
    animation: offer-glow-yellow 0.8s ease-in-out infinite alternate;
}

@keyframes offer-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.02); }
}

@keyframes offer-glow-green {
    0% { text-shadow: 0 0 12px rgba(16, 185, 129, 0.5); }
    100% { text-shadow: 0 0 24px rgba(16, 185, 129, 0.9); }
}

@keyframes offer-glow-yellow {
    0% { text-shadow: 0 0 12px rgba(245, 158, 11, 0.5); }
    100% { text-shadow: 0 0 24px rgba(245, 158, 11, 0.95); }
}

/* ============================================
   Fırsat Modalleri - Modern & Şık Tasarım
   ============================================ */

/* Modal Backdrop - Blur efekti (Fırsat modalleri açıkken) */
body.modal-open .modal-backdrop {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: rgba(15, 23, 42, 0.55) !important;
}

/* Modal Content - Site uyumlu modern tasarım */
.offer-modal .modal-content {
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--border-light) !important;
    overflow: hidden;
    background: var(--bg-card) !important;
    animation: modalSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Modal Header - Site renk uyumlu */
.offer-modal .modal-header {
    border: none !important;
    padding: 1.25rem 1.5rem !important;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light) !important;
}

.offer-modal-header-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.06) 100%) !important;
    color: var(--text-primary) !important;
}

.offer-modal-header-orange {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.06) 100%) !important;
    color: var(--text-primary) !important;
}

.offer-modal .modal-title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    color: var(--text-primary) !important;
}

.offer-modal .modal-title i {
    color: var(--accent-green);
}

.offer-modal-header-orange .modal-title i {
    color: var(--accent-orange);
}

/* Kapat butonu - SİYAH çarpı (modal dışına tıklayınca da kapanır) */
.offer-modal-close {
    filter: none !important;
    opacity: 0.75;
    color: var(--text-primary) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231f2937'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") !important;
}

.offer-modal-close:hover {
    opacity: 1;
    color: var(--text-primary) !important;
}

/* Modal Body */
.offer-modal .modal-body {
    padding: 1.5rem 1.5rem !important;
    background: var(--bg-card) !important;
    color: var(--text-primary);
}

.offer-modal .modal-body > p:first-child {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem !important;
    color: var(--text-secondary) !important;
}

/* Offer Card - Modern kart tasarımı */
.offer-modal .offer-card {
    border: none !important;
    border-radius: 16px !important;
    padding: 1.25rem 1.5rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.offer-modal .offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
}

.offer-modal .offer-card {
    border: 1px solid var(--border-light);
}

.offer-modal .offer-card.retail {
    background: rgba(16, 185, 129, 0.06) !important;
}

.offer-modal .offer-card.wholesale {
    background: rgba(245, 158, 11, 0.06) !important;
}

.offer-modal .offer-card:hover {
    transform: translateX(3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--border-color);
}

.offer-modal .offer-card.retail::before {
    background: linear-gradient(180deg, var(--accent-green), #059669);
}

.offer-modal .offer-card.wholesale::before {
    background: linear-gradient(180deg, var(--accent-orange), #d97706);
}

.offer-modal .offer-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.offer-modal .offer-card.retail .offer-card-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.08));
    color: var(--accent-green);
}

.offer-modal .offer-card.wholesale .offer-card-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1));
    color: var(--accent-gold);
}

/* İndirim modalı - perakende kartı turuncu/sarı tema */
.offer-modal#indirimModal .offer-card.retail {
    background: rgba(245, 158, 11, 0.06) !important;
}

.offer-modal#indirimModal .offer-card.retail .offer-card-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1));
    color: var(--accent-orange);
}

.offer-modal#indirimModal .offer-card.retail::before {
    background: linear-gradient(180deg, var(--accent-orange), #d97706);
}

.offer-modal .offer-card h6 {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    letter-spacing: -0.01em;
}

.offer-modal .offer-card .offer-amount {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
}

.offer-modal .offer-card small {
    font-size: 0.8rem;
    opacity: 0.85;
}

/* Modal Dialog - Mobilde ortada küçük, tam ekran DEĞİL */
.offer-modal .modal-dialog {
    max-width: 480px;
    margin: 1.5rem auto;
}

@media (max-width: 575.98px) {
    .offer-modal .modal-dialog {
        margin: 1rem;
        max-width: calc(100% - 2rem); /* Ekran ortasında küçük modal */
    }
    .offer-modal .modal-content {
        border-radius: 16px !important;
        max-height: 90vh;
        overflow-y: auto;
    }
    .offer-modal .modal-header {
        padding: 1rem 1.25rem !important;
    }
    .offer-modal .modal-title {
        font-size: 1.05rem !important;
    }
    .offer-modal .modal-body {
        padding: 1.25rem !important;
    }
    .offer-modal .offer-card {
        padding: 1rem 1.25rem !important;
    }
}

/* Responsive */
@media (max-width: 991.98px) {
    .compact-offers-section {
        padding: 1.25rem 0;
    }
    
    .ribbon-content {
        padding: 1rem 1.5rem;
        gap: 1rem;
    }
    
    .ribbon-icon {
        width: 50px;
        height: 50px;
    }
    
    .ribbon-icon i {
        font-size: 1.5rem;
    }
    
    .ribbon-title {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .compact-offers-section {
        padding: 1rem 0;
    }
    
    .ribbon-content {
        padding: 0.875rem 1.25rem;
        gap: 0.875rem;
    }
    
    .ribbon-icon {
        width: 44px;
        height: 44px;
    }
    
    .ribbon-icon i {
        font-size: 1.25rem;
    }
    
    .ribbon-title {
        font-size: 0.9rem;
    }
    
    .ribbon-arrow {
        width: 36px;
        height: 36px;
    }
    
    .ribbon-arrow i {
        font-size: 1rem;
    }
}

.product-info {
    background: var(--bg-card);
    padding: 1.5rem;
}

/* Product Card - Perakende Ürünlerimiz bölümüyle aynı font (Inter) */
.product-card-modern,
.product-card-modern .product-title,
.product-card-modern .product-category,
.product-card-modern .product-price,
.product-card-modern .product-price .fw-bold,
.product-card-modern .product-price .text-muted,
.product-card-modern .badge-sale,
.product-card-modern .badge-stock,
.product-card-modern .badge-wholesale,
.product-card-modern .badge-reward,
.product-card-modern .add-to-cart {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.product-title {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    min-height: 50px;
}

/* Product description removed - keeping class for compatibility */

.product-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-old {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-new {
    color: var(--accent-orange);
    font-weight: 700;
    font-size: 1.25rem;
}

.product-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Section Styles */
.products-section {
    background: var(--bg-primary);
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Mobil: Tümünü Gör butonu ile ürün kartları arasındaki boşluğu azalt */
@media (max-width: 991.98px) {
    .products-section .section-header {
        margin-bottom: 1rem !important;
    }
    .products-section .section-header .mb-4,
    .products-section .section-header .d-flex.mb-4 {
        margin-bottom: 1rem !important;
    }
}

.section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--accent-blue);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* Features Section - Açık arka plan */
.features-section {
    background: #f8f9fa !important;
}

/* Feature Cards */
.feature-card-modern {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    text-align: center;
    height: 100%;
}

.feature-card-modern:hover {
    transform: translateY(-5px);
    border-color: var(--border-light);
    box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #f0f0f0;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.feature-card-modern:hover .feature-icon-wrapper {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: scale(1.1) rotate(5deg);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent-blue);
    transition: var(--transition-base);
}

.feature-card-modern:hover .feature-icon { color: #ffffff; }

.feature-card-modern h5 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-card-modern p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Forms */
.form-control, .form-select {
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all var(--transition-base);
}

.form-control:focus, .form-select:focus {
    background: #ffffff;
    border-color: var(--accent-blue);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.form-control::placeholder { color: var(--text-muted); }

.form-label {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.card-header {
    background: #f8f9fa;
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
    background: #ffffff;
}

/* Tables */
.table {
    color: var(--text-primary);
    background: var(--bg-card) !important;
}

.table-responsive {
    background: var(--bg-card) !important;
    border-radius: 8px;
}

.table-responsive .table {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
}

.table thead {
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--border-color);
}

.table th {
    color: var(--text-primary) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 1rem;
    background: var(--bg-secondary) !important;
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary) !important;
    background: var(--bg-card) !important;
}

.table td input,
.table td input:focus {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

.gallery-thumb.active {
    border-color: var(--accent-blue) !important;
    border-width: 3px !important;
}

.table tbody tr:hover { background: var(--bg-secondary); }
.table tbody { background: var(--bg-card) !important; }
.table thead th {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
    border-bottom: 2px solid var(--border-color) !important;
}

/* Badges */
.badge {
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.bg-success {
    background: var(--accent-green) !important;
    color: #ffffff !important;
}

.badge.bg-danger { background: #dc3545 !important; }

.badge.bg-warning {
    background: var(--accent-orange) !important;
    color: #ffffff !important;
}

.badge.bg-primary { background: var(--accent-blue) !important; }

/* Footer */
footer {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1.5rem;
    margin-top: 5rem;
}

footer h5 { color: var(--text-primary); margin-bottom: 1rem; }
footer a { color: var(--text-secondary); transition: var(--transition-base); }
footer a:hover { color: var(--accent-blue); }

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 2rem;
    right: 2rem;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    border: 3px solid #ffffff;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

/* Alerts */
.alert {
    border-radius: 12px;
    border: 1px solid;
    padding: 1rem 1.25rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--accent-green);
    color: #059669;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border-color: #dc3545;
    color: #dc3545;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* Pagination */
.pagination { margin-top: 3rem; }

.page-link {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: all var(--transition-base);
}

.page-link:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #ffffff;
}

/* Scroll Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section-modern {
        min-height: auto;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .hero-section-modern .container {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .hero-section-modern .row {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .hero-section-modern .col-lg-6 {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
        max-height: 95vh !important;
        overflow: hidden !important;
    }

    .hero-content { text-align: center !important; }

    .hero-content h1 {
        font-size: 1.75rem;
        text-align: center !important;
    }

    .hero-content p { text-align: center !important; }
    .hero-content .d-flex { justify-content: center !important; }

    .hero-content .btn-lg {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }

    .hero-content .btn-lg i { font-size: 0.9em; }

    .navbar-brand iframe {
        width: 35px !important;
        height: 35px !important;
    }

    .navbar-brand { font-size: 1.1rem !important; }
    .navbar-brand span { font-size: 1.1rem !important; }

    .d-lg-none .nav-link[href="/sepet.php"] {
        font-size: 1.15rem !important;
        margin-right: 8px !important;
        margin-left: -4px !important;
    }

    /* Mobil menü - Giriş ve Üye Ol butonları ortalanmış, alt alta */
    .navbar-nav .nav-item:last-child,
    .navbar-nav .nav-item:nth-last-child(2) {
        width: 100%;
        margin: 0.5rem 0 !important;
        text-align: center;
    }
    
    .navbar-nav .nav-item:last-child .nav-link,
    .navbar-nav .nav-item:nth-last-child(2) .nav-link {
        display: block;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .navbar-nav .nav-item:last-child .btn,
    .navbar-nav .nav-item:nth-last-child(2) .btn {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    .hero-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .hero-nav-btn.prev { left: 1rem; }
    .hero-nav-btn.next { right: 1rem; }

    .product-image-modern { height: 250px; }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    /* Mobil navbar menü ikonunu %40 küçült */
    .navbar-toggler-icon {
        transform: scale(0.6);
        width: 1.2em;
        height: 1.2em;
    }
}

/* Sepet sayfasındaki number input'un yukarı/aşağı oklarını kaldır */
.qty-input[type="number"] { -moz-appearance: textfield !important; }
.qty-input[type="number"]::-webkit-outer-spin-button,
.qty-input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-blue); }

/* Loading States */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-blue);
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Text Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-muted { color: var(--text-muted) !important; }
.text-secondary { color: var(--text-secondary) !important; }

/* Background Utilities */
.bg-light { background: var(--bg-tertiary) !important; }
.bg-dark { background: var(--text-primary) !important; }

/* Image Thumbnail */
.img-thumbnail {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

/* Checkbox & Radio Dark Theme */
.form-check-input {
    background-color: #f8f9fa;
    border: 1px solid var(--border-color);
}
.form-check-input:checked {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}
.form-check-input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

/* Navbar Toggler Light */
.navbar-toggler { border-color: var(--border-color); }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2831, 41, 55, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Ripple Effect */
.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}
@keyframes ripple-animation {
    to { transform: scale(4); opacity: 0; }
}

/* ============================================
   Click Animation - Tıklanan yerde dalga efekti
   Tüm sayfalarda geçerli
============================================ */
.click-effect {
    position: fixed;
    box-sizing: border-box;
    border-style: solid;
    border-color: var(--accent-blue);
    border-radius: 50%;
    animation: clickEffect 0.4s ease-out forwards;
    z-index: 99999;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

@keyframes clickEffect {
    0% {
        opacity: 0.9;
        width: 0.5em;
        height: 0.5em;
        border-width: 0.5rem;
    }
    100% {
        opacity: 0;
        width: 15em;
        height: 15em;
        border-width: 0.03rem;
    }
}
