/* Organik Pazar - Ana stil dosyası */

* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body { font-family: 'Inter', system-ui, sans-serif; overflow-x: hidden; }

.container { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Story yuvarlak gölge */
.story-circle {
    background: linear-gradient(135deg, #f59e0b, #059669);
    padding: 3px;
    border-radius: 9999px;
}
.story-circle img {
    border: 3px solid #fff;
}

/* Slider */
.hero-slider { position: relative; overflow: hidden; border-radius: 1rem; }
.hero-slide { transition: opacity 0.7s ease; }

/* Ürün kartı hover */
.product-card { transition: all 0.25s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px -8px rgba(0,0,0,0.12); }
.product-card:hover .product-image { transform: scale(1.05); }
.product-image { transition: transform 0.5s ease; }

/* Discount badge */
.badge-discount {
    background: linear-gradient(135deg, #f43f5e, #be123c);
    color: white;
    font-weight: 700;
}

/* Organic leaf badge */
.badge-organic {
    background: linear-gradient(135deg, #10b981, #047857);
    color: white;
}

/* Button */
.btn-primary { background: #059669; color: white; padding: 0.625rem 1.5rem; border-radius: 0.5rem; font-weight: 600; transition: all 0.2s; display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-primary:hover { background: #047857; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(5,150,105,0.3); }

.btn-outline { border: 2px solid #059669; color: #059669; padding: 0.5rem 1.5rem; border-radius: 0.5rem; font-weight: 600; transition: all 0.2s; }
.btn-outline:hover { background: #059669; color: white; }

/* Story viewer */
.story-viewer {
    position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.95);
    display: flex; align-items: center; justify-content: center;
}

/* Loading spinner */
.spinner { border: 3px solid #f3f3f3; border-top: 3px solid #059669; border-radius: 50%; width: 24px; height: 24px; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Fade in */
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn 0.4s ease forwards; }

/* Pulse */
@keyframes pulse-soft { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }
.animate-pulse-soft { animation: pulse-soft 2s ease infinite; }

/* Custom checkbox */
.fancy-checkbox:checked + label { background: #059669; border-color: #059669; color: white; }

/* Color swatch */
.color-swatch { width: 28px; height: 28px; border-radius: 9999px; border: 2px solid #e5e7eb; cursor: pointer; transition: all 0.2s; }
.color-swatch:hover, .color-swatch.active { border-color: #059669; transform: scale(1.1); }

/* Form input */
.form-input { width: 100%; padding: 0.625rem 0.875rem; border: 1px solid #e5e7eb; border-radius: 0.5rem; transition: all 0.2s; outline: none; }
.form-input:focus { border-color: #059669; box-shadow: 0 0 0 3px rgba(16,185,129,0.1); }

/* Tables */
.data-table th { background: #f9fafb; padding: 0.75rem 1rem; text-align: left; font-weight: 600; font-size: 0.875rem; color: #4b5563; }
.data-table td { padding: 0.75rem 1rem; border-top: 1px solid #f3f4f6; }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 50; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal-box { background: white; border-radius: 0.75rem; max-width: 500px; width: 100%; max-height: 90vh; overflow-y: auto; }

/* Hide scrollbar (story) */
.hide-scroll { -ms-overflow-style: none; scrollbar-width: none; }
.hide-scroll::-webkit-scrollbar { display: none; }

/* Story progress bar */
.story-progress { height: 3px; background: rgba(255,255,255,0.3); border-radius: 3px; overflow: hidden; }
.story-progress-fill { height: 100%; background: white; transition: width 0.1s linear; }

/* ========================================
   GELİŞMİŞ VİTRİN STİLLERİ
   ======================================== */

/* Yatay kaydırılabilir vitrin */
.showcase-scroll { scroll-behavior: smooth; scroll-snap-type: x mandatory; }
.showcase-scroll > * { scroll-snap-align: start; }

/* Ürün kartı hover quick actions - handled by Tailwind group-hover */

/* Info tab (ürün detay) */
.info-tab-content { animation: fadeIn 0.3s ease forwards; }

/* Line clamp yardımcıları */
.line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Group-open rotation (details summary) */
details[open] summary .group-open\:rotate-180 { transform: rotate(180deg); }

/* Sticky cart bar pulse */
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* Hover scale image için */
.product-card { will-change: transform; }
.product-card:hover .product-image { transform: scale(1.05); }

/* Flash sale urgency */
@keyframes urgentPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
.animate-urgent { animation: urgentPulse 1s ease infinite; }

/* Showcase scroll buttons hover */
.showcase-nav-btn { transition: all 0.2s; }
.showcase-nav-btn:hover { background: #059669; color: white; border-color: #059669; }

/* Trust badge hover */
.trust-badge:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.trust-badge { transition: all 0.2s; }

/* Tab indicator */
.tab-indicator { position: relative; }
.tab-indicator::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: #059669; transform: scaleX(0); transition: transform 0.3s; }
.tab-indicator.active::after { transform: scaleX(1); }

/* Filter chip */
.filter-chip { transition: all 0.2s; }
.filter-chip:hover { transform: translateY(-1px); }

/* Skeleton loading */
@keyframes shimmer { 0% { background-position: -1000px 0; } 100% { background-position: 1000px 0; } }
.skeleton { background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%); background-size: 1000px 100%; animation: shimmer 2s infinite; }

/* Mobile category showcase scroll snap */
@media (max-width: 768px) {
    .showcase-scroll > * { width: 170px; }
}

/* Mobile responsive fixes */
@media (max-width: 640px) {
    /* Chatbot & WhatsApp yukarı it when sticky bars present */
    #chatbot-widget { bottom: 5rem !important; }
    .floating-whatsapp-btn { bottom: 9rem !important; }
    /* Admin data tables */
    .data-table { font-size: 0.75rem; }
    .data-table th, .data-table td { padding: 0.375rem 0.5rem; }
    /* Hide scrollbar on horizontal scroll areas */
    .hide-scroll::-webkit-scrollbar { display: none; }
    .hide-scroll { -ms-overflow-style: none; scrollbar-width: none; }

    /* === URUN KARTI MOBIL DUZELTMELERI === */
    .product-card {
        transform: none !important;
        border-radius: 0.75rem !important;
        isolation: isolate;
    }
    .product-card:hover {
        transform: none !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
    }
    .product-card:hover .product-image {
        transform: none !important;
    }
    .product-image {
        transition: none !important;
    }
    /* Favori butonu mobilde daha kucuk ve ustte tut */
    .product-card button[title="Favorilere Ekle"] {
        width: 1.75rem !important;
        height: 1.75rem !important;
        top: 0.375rem !important;
        right: 0.375rem !important;
        z-index: 2 !important;
    }
    .product-card button[title="Sepete Ekle"] {
        width: 2rem !important;
        height: 2rem !important;
    }
    /* Badge'ler mobilde kucult */
    .product-card .badge-discount {
        font-size: 9px !important;
        padding: 2px 6px !important;
        top: 0.375rem !important;
        left: 0.375rem !important;
    }
    /* Urun kartı icerik padding mobilde daha kompakt */
    .product-card > .p-3,
    .product-card > div:last-child:not([class*="absolute"]) {
        padding: 0.5rem !important;
    }
    /* Urun kartı fiyat alani */
    .product-card .font-extrabold.text-base { font-size: 0.875rem !important; }
    .product-card .font-extrabold.text-lg { font-size: 1rem !important; }
    /* Urun adı min yukseklik mobilde kucult */
    .product-card .min-h-\[2\.5rem\] { min-height: 2rem !important; }
    /* Ucretsiz kargo / son urun yazisi mobilde kucult */
    .product-card .mt-2 { margin-top: 0.375rem !important; }
    .product-card .text-\[10px\] { font-size: 8px !important; }

    /* === VITRIN MOBIL DUZELTMELERI === */
    .showcase-scroll > * { width: 150px !important; }

    /* === KATEGORI SAYFASI MOBIL === */
    .min-w-\[180px\] { min-width: 0 !important; min-width: 140px !important; }

    /* === GENEL TASMA KORUMASI === */
    .container { padding-left: 0.75rem; padding-right: 0.75rem; }

    /* === MUSTERI PANELI MOBIL DUZELTMELERI === */
    /* Panel grid mobilde tek kolon */
    .panel-grid { grid-template-columns: 1fr !important; gap: 1rem !important; }
    .panel-sidebar { width: 100% !important; }
    .panel-user-card { padding: 0.75rem !important; }
    .panel-user-card .user-avatar { width: 2.25rem !important; height: 2.25rem !important; font-size: 0.75rem !important; }
    .panel-user-card .user-info { font-size: 0.75rem !important; }
    .panel-content { padding: 0 !important; }
    .panel-stat-card { padding: 0.625rem !important; }
    .panel-stat-card .stat-value { font-size: 1.125rem !important; }
    .panel-quick-card { padding: 0.625rem !important; }
    .panel-quick-card i { font-size: 1rem !important; }
    /* Panel form grid mobilde tek kolon */
    .panel-content .grid-cols-2,
    .panel-content form .grid-cols-2 {
        grid-template-columns: 1fr !important;
    }
    /* Panel modal mobil tam genislik */
    .modal-box { max-width: 100% !important; width: 100% !important; border-radius: 0.75rem 0.75rem 0 0 !important; max-height: 95vh !important; margin: auto 0 0 0; }
    .modal-overlay { align-items: flex-end !important; padding: 0 !important; }
    /* Siparis detay timeline mobilde scroll */
    .panel-content .flex.items-center.justify-between.relative {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.25rem;
    }
    /* Siparis aksiyon butonlari mobilde wrap */
    .panel-content .flex.gap-2.pt-3 { flex-wrap: wrap; }
    .panel-content .flex.gap-2.pt-3 a,
    .panel-content .flex.gap-2.pt-3 button {
        font-size: 0.75rem !important;
        padding: 0.375rem 0.625rem !important;
    }
    /* Panel adres grid mobilde tek kolon */
    .panel-content .grid.md\:grid-cols-2 { grid-template-columns: 1fr !important; }
    /* Cuzdan affiliate grid 4 col -> 2 col */
    .panel-content .grid.grid-cols-4 { grid-template-columns: repeat(2, 1fr) !important; }
    /* Panel grid-cols-3 mobilde 2 col */
    .panel-content .grid.grid-cols-3 { grid-template-columns: repeat(2, 1fr) !important; }
    /* Panel grid-cols-2 (stat kartlari) mobilde 2 col kalir ama gap kuculur */
    .panel-content .grid.grid-cols-2 { gap: 0.5rem !important; }

    /* === KATEGORI LIST VIEW MOBIL === */
    /* Liste gorunum urun kartlari mobilde */
    .product-card.flex.flex-col.sm\:flex-row {
        flex-direction: column !important;
    }
    .product-card.flex.flex-col.sm\:flex-row > a {
        width: 100% !important;
    }
    /* Liste gorunum aksiyon butonlari */
    .product-card.flex .flex.items-center.justify-between {
        flex-wrap: wrap;
        gap: 0.375rem;
    }
    .product-card.flex .flex.items-center.justify-between .flex.gap-2 {
        gap: 0.375rem !important;
    }
    .product-card.flex .flex.items-center.justify-between button,
    .product-card.flex .flex.items-center.justify-between a.btn-primary {
        font-size: 0.75rem !important;
        padding: 0.25rem 0.5rem !important;
    }

    /* === VITRIN KARTLARI MOBIL === */
    /* Vitrin icerisindeki urun kartlari */
    .showcase-scroll .product-card {
        overflow: hidden;
    }
    /* Vitrin kartinda hizli bak butonu mobilde kompakt */
    .showcase-scroll button[class*="text-\\[10px\\]"] {
        font-size: 9px !important;
        padding: 0.25rem 0.5rem !important;
    }
}

/* Tablet arasi breakpoint */
@media (min-width: 641px) and (max-width: 767px) {
    .showcase-scroll > * { width: 170px !important; }
}

/* Buyuk ekranlarda hover i geri getir (product card) */
@media (min-width: 768px) {
    .product-card { transition: all 0.25s ease !important; isolation: isolate; }
    .product-card:hover {
        transform: translateY(-4px) !important;
        box-shadow: 0 12px 30px -8px rgba(0,0,0,0.12) !important;
    }
    .product-card:hover .product-image { transform: scale(1.05) !important; }
    .product-image { transition: transform 0.5s ease !important; }
}

/* Quick view modal genişletilmiş */
.modal-box { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }

/* Image zoom cursor */
.cursor-zoom-in { cursor: zoom-in; }

/* Custom scrollbar for showcase */
.showcase-scroll::-webkit-scrollbar { height: 0; }

/* Toast notification */
.toast { animation: slideInRight 0.3s ease forwards; }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Pulse for live indicators */
.live-pulse { animation: livePulse 1.5s ease infinite; }
@keyframes livePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(244,63,94,0.4); } 50% { box-shadow: 0 0 0 6px rgba(244,63,94,0); } }

/* ========================================
   FILTRE SIDEBAR STİLLERİ
   ======================================== */

/* Çift kollu fiyat slider */
.filter-range-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}
.filter-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    border: 2px solid #059669;
    cursor: grab;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: transform 0.1s;
}
.filter-range-input::-webkit-slider-thumb:hover { transform: scale(1.15); }
.filter-range-input::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.1); }
.filter-range-input::-moz-range-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    border: 2px solid #059669;
    cursor: grab;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
/* Alt range'i ters çevir */
.filter-range-max { z-index: 2; }
.filter-range-min { z-index: 3; }

/* Filtre bölümü */
.filter-section { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.filter-section-content { animation: fadeIn 0.2s ease; }

/* Hızlı filtre kartları (öne çıkan, yeni, vb.) */
.filter-quick-card {
    transition: all 0.2s;
    cursor: pointer;
}
.filter-quick-card:has(input:checked) {
    border-color: #059669 !important;
    background: #ecfdf5 !important;
}

/* Custom checkbox */
input[type="checkbox"] { accent-color: #059669; }
input[type="radio"] { accent-color: #059669; }

/* Mega menü */
.mega-menu {
    animation: fadeIn 0.2s ease;
}
.mega-menu-column:hover {
    transform: translateY(-2px);
    transition: transform 0.2s;
}

/* Aktif filtre çipi hover */
.filter-chip { transition: all 0.15s; }

/* Mega menu gradient hover */
.mega-menu-category:hover .mega-menu-icon {
    transform: scale(1.1);
    transition: transform 0.2s;
}

/* Newsletter input focus */
.newsletter-input:focus { box-shadow: 0 0 0 3px rgba(255,255,255,0.3); }

/* Testimonial kart hover */
.testimonial-card:hover { transform: translateY(-2px); }

/* Stats counter animasyonu */
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.stat-counter { animation: countUp 0.6s ease forwards; }

/* Scrollbar for filter sidebar */
.filter-sidebar-scroll::-webkit-scrollbar { width: 4px; }
.filter-sidebar-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 2px; }

/* Mobil filtre FAB efekti */
@keyframes floatPulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(5,150,105,0.3); }
    50% { box-shadow: 0 6px 20px rgba(5,150,105,0.5); }
}
.filter-fab { animation: floatPulse 2s ease infinite; }

/* Search dropdown animation */
.search-dropdown {
    animation: slideDown 0.2s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Filter toggle icon rotation */
.filter-toggle-icon { transition: transform 0.2s; }
.filter-toggle-icon.open { transform: rotate(180deg); }

/* Mobile filter modal slide up */
@keyframes slideUpModal {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
#mobile-filter-modal:not(.hidden) .modal-box {
    animation: slideUpModal 0.3s ease;
}

/* Subcategory scroll snap */
.subcat-scroll > * { scroll-snap-align: start; }
.subcat-scroll { scroll-snap-type: x mandatory; }

/* ========================================
   MESAJLAŞMA SİSTEMİ STİLLERİ
   ======================================== */

/* Mesaj balonu animasyon */
@keyframes messageSlideIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: messageSlideIn 0.3s ease forwards; }

/* Konuşma listesi öğesi hover */
.conversation-item {
    transition: background 0.15s;
    border-left: 3px solid transparent;
}
.conversation-item:hover { border-left-color: #059669; }
.conversation-item[data-unread="0"] { background: transparent; }
.conversation-item[data-unread]:not([data-unread="0"]) { background: rgba(255, 251, 235, 0.5); border-left-color: #f59e0b; }

/* Typing indicator dots */
@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}
.typing-dot { animation: typingBounce 1s infinite; }

/* Mesaj balonu köşe tweak */
.message-bubble-me { border-bottom-right-radius: 4px !important; }
.message-bubble-other { border-bottom-left-radius: 4px !important; }

/* Mesaj yazma alanı auto-resize textarea */
#message-input {
    line-height: 1.5;
    transition: height 0.1s;
}

/* Hızlı yanıt şablonları */
.quick-reply-btn {
    transition: all 0.15s;
}
.quick-reply-btn:hover {
    transform: translateY(-1px);
}

/* ========================================
   MAĞAZA PROFİLİ STİLLERİ
   ======================================== */

/* Mağaza hero dekoratif */
.store-hero-pattern {
    background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 30%),
                      radial-gradient(circle at 80% 70%, rgba(255,255,255,0.08) 0%, transparent 30%);
}

/* Tab navigation sticky */
.tab-nav-sticky {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

/* Mağaza kartı hover */
.store-card {
    transition: all 0.25s;
}
.store-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0,0,0,0.12);
}

/* Online dot animasyonu */
@keyframes onlinePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}
.online-dot {
    animation: onlinePulse 2s infinite;
}

/* Floating mesaj butonu */
@keyframes floatPulse {
    0%, 100% { transform: translateY(0); box-shadow: 0 4px 12px rgba(5,150,105,0.3); }
    50% { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(5,150,105,0.4); }
}
.floating-msg-btn {
    animation: floatPulse 2.5s infinite;
}

/* Tab button active underline */
.tab-btn {
    position: relative;
    transition: all 0.2s;
}
.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background 0.2s;
}
.tab-btn.border-primary::after { background: #059669; }

/* Podium kartı (top 3 mağaza) */
.podium-card {
    transition: all 0.3s;
}
.podium-card:hover {
    transform: translateY(-6px) scale(1.02);
}

/* Mesaj panosu istatistik kartı */
.stats-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    backdrop-filter: blur(10px);
}

/* Konuşma menüsü dropdown */
.conv-menu {
    animation: slideDown 0.2s ease;
}

/* Conv info panel slide */
@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}
#conv-info-panel:not(.hidden) {
    animation: slideInRight 0.3s ease;
}

/* Mesaj balonu shadow */
.message-bubble-me { box-shadow: 0 1px 2px rgba(5,150,105,0.2); }
.message-bubble-other { box-shadow: 0 1px 2px rgba(0,0,0,0.05); }

/* Boş mesaj yazma placeholder */
#message-input::placeholder {
    color: #9ca3af;
    font-style: italic;
}

/* Date divider */
.date-divider {
    background: linear-gradient(to right, transparent, #e5e7eb, transparent);
    height: 1px;
}

/* Mesaj panosu sidebar mağaza kartı */
.sidebar-store-card {
    transition: all 0.2s;
}
.sidebar-store-card:hover {
    background: #ecfdf5;
    transform: translateX(2px);
}

/* Mağaza rozeti hover */
.badge-pop {
    transition: all 0.2s;
}
.badge-pop:hover {
    transform: scale(1.1);
}

/* ========================================
   WHATSAPP & HIZLI SİPARİŞ STİLLERİ
   ======================================== */

/* WhatsApp butonu gradient hover */
.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    transition: all 0.2s;
}
.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e, #075e54);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Hızlı sipariş butonu pulse */
@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
}
.btn-whatsapp-pulse {
    animation: whatsappPulse 2s infinite;
}

/* Quick order modal scrollbar */
#quick-order-modal .modal-box { max-width: 500px; }

/* Quick order form input focus */
#quick-order-form input:focus,
#quick-order-form textarea:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* Payment method radio card */
.has-\[:checked\]:border-primary { transition: all 0.15s; }
.has-\[:checked\]:bg-emerald-50 { background-color: #ecfdf5 !important; }

/* WhatsApp floating button (mağaza sayfası için) */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 6rem;
    right: 1.5rem;
    z-index: 40;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: all 0.25s;
    animation: whatsappPulse 2.5s infinite;
}
.floating-whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* WhatsApp güven rozeti */
.wa-trust-badge {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-left: 4px solid #10b981;
}

/* WhatsApp bildirim kartı (admin panel) */
.wa-notif-card {
    border-left: 3px solid #25d366;
    transition: background 0.15s;
}
.wa-notif-card:hover { background: #f0fdf4; }

/* Sipariş özeti kart (hızlı sipariş modal) */
.quick-order-summary {
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
}

/* ========================================
   GELİŞMİŞ HEADER & FOOTER STİLLERİ
   ======================================== */

/* Mega menu animasyon */
.mega-menu {
    animation: fadeIn 0.2s ease;
}

/* Nav underline animasyonu */
.group:hover .scale-x-0 {
    transform: scaleX(1);
}

/* Duyuru barı kapatma butonu */
#announcement-bar button:hover {
    background: rgba(255,255,255,0.3);
}

/* Top bar select styling */
select {
    cursor: pointer;
}

/* Footer link hover efekt */
footer a {
    transition: all 0.15s;
}
footer a:hover {
    transform: translateX(2px);
}

/* Trust badge icon hover */
footer .flex-col:hover i {
    transform: scale(1.1);
    transition: transform 0.2s;
}

/* Search input focus glow */
#search-input:focus {
    box-shadow: 0 0 0 4px rgba(5,150,105,0.1);
}

/* Header logo hover */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Kategori dropdown hover efekti */
.group/cat:hover .group-hover\/cat\:scale-110 {
    transform: scale(1.1);
}

/* Newsletter input focus */
footer input[type="email"]:focus {
    box-shadow: 0 0 0 2px rgba(5,150,105,0.3);
}

/* Mobile menu slide animation */
@keyframes slideInLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}
#mobile-menu:not(.hidden) > div:last-child {
    animation: slideInLeft 0.3s ease;
}
