.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    vertical-align: middle;
}

/* Sayfa geçişlerinde menü iskeleti — Tailwind öncesi */
.nav-shell {
    min-height: 5rem;
}

.hero-gradient {
    background: linear-gradient(90deg, rgba(11,33,82,1) 0%, rgba(11,33,82,0.8) 40%, rgba(11,33,82,0) 100%);
}

/* Mobilde bannerın tamamı görünsün; masaüstünde tam kaplama */
.hero-slider-section {
    height: clamp(220px, 58vw, 340px);
}
@media (min-width: 768px) {
    .hero-slider-section {
        height: 640px;
    }
    .hero-gradient {
        background: linear-gradient(90deg, rgba(11,33,82,1) 0%, rgba(11,33,82,0.8) 40%, rgba(11,33,82,0) 100%);
    }
}
@media (max-width: 767px) {
    .hero-gradient {
        background: linear-gradient(180deg, rgba(11,33,82,0.15) 0%, rgba(11,33,82,0.55) 45%, rgba(11,33,82,0.92) 100%);
    }
}

.hero-media-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}
@media (min-width: 768px) {
    .hero-media-img {
        object-fit: cover;
    }
}

.custom-scrollbar::-webkit-scrollbar { width: 4px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #a53721 !important; }

.mega-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.group:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 0;
    right: 0;
    height: 24px;
    background: transparent;
}

#hero-slider .slide { flex: 0 0 100%; }

#mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.is-rtl #mobile-menu { transform: translateX(-100%); }
#mobile-menu.open { transform: translateX(0); }

.tab-active {
    border-bottom: 3px solid #d64c30;
    color: #0b2152;
}

.product-slider-container { position: relative; overflow: hidden; }
.product-track {
    display: flex;
    transition: transform 0.5s ease-out;
    gap: 24px;
}
.product-slide { flex: 0 0 calc(25% - 18px); }

@media (max-width: 1024px) {
    .product-slide { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 640px) {
    .product-slide { flex: 0 0 100%; }
}

.dot.active {
    background-color: #d64c30;
    width: 24px;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #a53721; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #8e2f1c; }

.stock-zero { color: #D71C0C; font-weight: 700; }
.stock-ok { color: #1f7a4d; font-weight: 700; }

.pagination { display: flex; gap: 0.35rem; list-style: none; padding: 0; flex-wrap: wrap; }
.pagination .page-link {
    display: inline-flex;
    padding: 0.55rem 0.85rem;
    border: 1px solid #EBECED;
    border-radius: 0.25rem;
    background: #fff;
    color: #0b2152;
    font-size: 0.875rem;
    font-weight: 600;
}
.pagination .active .page-link {
    background: #0b2152;
    color: #fff;
    border-color: #0b2152;
}
.pagination .disabled .page-link { opacity: 0.45; }

.prose-content h2, .prose-content h3 { color: #0b2152; font-family: "Hanken Grotesk", sans-serif; }
.prose-content p { color: #45464f; line-height: 1.7; margin-bottom: 1rem; }
.prose-content ul { list-style: disc; padding-left: 1.25rem; color: #45464f; }

.form-control-strong {
    width: 100%;
    border: 2px solid rgba(11, 33, 82, 0.22);
    border-radius: 0.125rem;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #191c1e;
    background: #fff;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-control-strong:focus {
    border-color: #d64c30;
    box-shadow: 0 0 0 3px rgba(214, 76, 48, 0.18);
}
.form-control-strong::placeholder { color: #8a8d96; font-weight: 400; }

.smart-search-results { min-width: 100%; }
.smart-search-item { text-decoration: none; color: inherit; display: flex; }

.province-btn.has-dealer { position: relative; }
.province-btn.has-dealer::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #d64c30;
}

/* Floating action buttons — mobil */
.site-floating-actions {
    position: fixed;
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    align-items: center;
}
@media (max-width: 640px) {
    .site-floating-actions a:first-child {
        width: 3rem;
        height: 3rem;
    }
    .site-floating-actions a:not(:first-child) {
        width: 2.5rem;
        height: 2.5rem;
    }
}
body.dealer-modal-open .site-floating-actions,
body.mobile-menu-open .site-floating-actions {
    visibility: hidden;
    pointer-events: none;
}

/* Genel mobil taşma önleme */
img, video, iframe {
    max-width: 100%;
}
@media (max-width: 767px) {
    .overflow-x-guard {
        overflow-x: hidden;
    }
}
