/* Global Styles */
body { 
    font-family: 'Inter', sans-serif; 
    background-color: #f4f6f9; 
}

/* Trust Bar */
.trust-bar { 
    background-color: #f8fafc; 
    border-bottom: 1px solid #e2e8f0; 
}

/* Main Header */
.main-header { 
    background: #ffffff; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
}

/* Search Box */
.search-box { 
    background: #f1f5f9; 
    border: 2px solid transparent; 
    transition: all 0.3s; 
}

.search-box:focus-within { 
    border-color: #ff6b35; 
    background: #fff; 
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1); 
}

/* Category Navigation */
.category-nav { 
    border-bottom: 1px solid #e2e8f0; 
    background: #fff; 
}

/* Product Card */
.product-card { 
    background: #fff; 
    border: 1px solid #e2e8f0; 
    border-radius: 12px; 
    transition: all 0.3s; 
}

.product-card:hover { 
    border-color: #ff6b35; 
    transform: translateY(-4px); 
    box-shadow: 0 12px 24px rgba(0,0,0,0.08); 
}

/* Badges */
.badge-b2b { 
    background: #eff6ff; 
    color: #1d4ed8; 
    font-size: 10px; 
    font-weight: 700; 
    padding: 2px 8px; 
    border-radius: 4px; 
}

.badge-discount { 
    background: #fef2f2; 
    color: #dc2626; 
    font-size: 12px; 
    font-weight: 700; 
    padding: 2px 8px; 
    border-radius: 4px; 
}

/* Buttons */
.btn-primary { 
    background-color: #ff6b35; 
    transition: all 0.3s; 
}

.btn-primary:hover { 
    background-color: #e85a24; 
    transform: scale(1.02); 
}

/* Mega Menu */
.mega-menu { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    width: 100%; 
    background: white; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
    border-top: 1px solid #eee; 
    padding: 30px; 
    z-index: 999; 
}

.has-mega:hover .mega-menu { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
}

/* Slider */
.slider-item { 
    transition: opacity 0.7s ease-in-out; 
}

.slider-dot.active { 
    background: white !important; 
    width: 24px; 
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 900px; /* Genişliği biraz artırdık */
    background: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-radius: 1rem;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    display: grid; /* Grid yapısını zorunlu kıldık */
    transform: translateY(10px); /* Hafif aşağıdan başlasın */
}

.has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Hoverda yerine otursun */
}

/* Linklerin altındaki çizgileri veya buton efektlerini temizle */
.mega-menu a {
    text-decoration: none !important;
    background: none !important;
    border: none !important;
}

#search-results {
    max-height: 450px;
    overflow-y: auto;
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Prose benzeri stiller (sayfa içerikleri) ---------- */
.prose-content h1, .prose-content h2, .prose-content h3, .prose-content h4 {
    color: #0f172a; /* slate-900 */
    line-height: 1.2;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}
.prose-content p { margin-bottom: 1rem; color: #334155; } /* slate-700 */
.prose-content img { max-width: 100%; height: auto; border-radius: 0.5rem; margin: 1rem 0; display:block; }
.prose-content table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.prose-content th, .prose-content td { border: 1px solid #e6eef6; padding: 0.6rem 1rem; text-align: left; }
.prose-content th { background: #f8fafc; font-weight: 700; color:#334155; font-size:0.95rem; }
.prose-content ul, .prose-content ol { margin: 0.5rem 0 1rem 1.25rem; color:#334155; }
.prose-content a { color: #0ea5a6; text-decoration: underline; }
.prose-content blockquote { border-left: 4px solid #f1f5f9; padding-left: 1rem; color:#475569; background: #fbfbfd; border-radius:0.5rem; padding: 0.75rem 1rem; }

/* RTL için içerik */
.prose-rtl { direction: rtl; text-align: right; }
.prose-rtl ul, .prose-rtl ol { padding-right: 1.25rem; padding-left: 0; }

/* Lightbox basit stil */
#lightboxModal { backdrop-filter: blur(2px); }
#lightboxModal img { max-height: 80vh; object-fit: contain; }

/* Yazdırma için basit stil (gerektiğinde özelleştir) */
@media print {
    header, footer, .category-nav, .trust-bar, .main-header, .mega-menu, .dropdown-menu, #lightboxModal, .inline-only { display: none !important; }
    .prose-content { font-size: 12pt; color: #000; }
}