.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%);
}

/* Ana sayfa hero — banner oranı (1920×700); laptop’ta kenar yazıları kesilmesin */
.hero-slider-section {
    height: clamp(280px, 72vw, 420px);
    isolation: isolate;
}
@media (min-width: 768px) {
    .hero-slider-section {
        /* Sabit 640px laptop’ta cover ile sol/sağ metinleri kesiyordu */
        height: auto;
        aspect-ratio: 1920 / 700;
        width: 100%;
        max-height: min(640px, 52vw);
        min-height: 360px;
    }
    .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%);
    }
}
/* Tablet / laptop: görselin tamamı görünsün (içine gömülü yazı kesilmesin) */
@media (min-width: 768px) and (max-width: 1399px) {
    .hero-slider-section {
        max-height: min(520px, 48vw);
    }
    .hero-slider-section .hero-media {
        background: #0b2152;
    }
    .hero-media-img {
        object-fit: contain !important;
        object-position: center center;
        transform: none;
        filter: none;
    }
}
@media (min-width: 1400px) {
    .hero-media-img {
        object-fit: cover;
        object-position: center center;
        transform: none;
        filter: none;
    }
}
@media (max-width: 767px) {
    .hero-gradient {
        background:
            linear-gradient(180deg, rgba(11,33,82,0.25) 0%, rgba(11,33,82,0.55) 38%, rgba(11,33,82,0.94) 100%),
            radial-gradient(120% 80% at 50% 0%, rgba(214,76,48,0.18), transparent 55%);
    }
    .hero-slider-section .hero-media {
        background: #071633;
    }
    .hero-media-img {
        object-fit: cover;
        object-position: center center;
        transform: scale(1.04);
        filter: saturate(1.05) contrast(1.02);
    }
    .hero-slider-section .slide > .relative.z-10 {
        padding-bottom: 4.25rem;
    }
    .hero-slider-section h1 {
        text-shadow: 0 2px 16px rgba(0,0,0,0.35);
        font-size: clamp(1.45rem, 6.2vw, 1.85rem);
        line-height: 1.2;
    }
    .hero-slider-dots {
        position: absolute;
        left: 50%;
        bottom: 0.85rem;
        transform: translateX(-50%);
        z-index: 50;
        display: flex;
        gap: 0.4rem;
    }
    .hero-slider-dots button {
        width: 0.45rem;
        height: 0.45rem;
        border-radius: 999px;
        background: rgba(255,255,255,0.4);
        border: 0;
        transition: width .2s ease, background .2s ease;
    }
    .hero-slider-dots button.is-active {
        width: 1.35rem;
        background: #d64c30;
    }
}

.hero-media-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.product-badge {
    word-break: break-word;
}

.page-hero-banner {
    min-height: 140px;
}

.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; margin-bottom: 1rem; }
.prose-content ol { list-style: decimal; padding-left: 1.25rem; color: #45464f; margin-bottom: 1rem; }
.prose-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.25rem auto;
    border-radius: 0.5rem;
}
.prose-content a { color: #d64c30; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose-content table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.95rem; }
.prose-content th, .prose-content td { border: 1px solid #EBECED; padding: 0.65rem 0.75rem; text-align: left; }
.prose-content th { background: #f4f6fa; color: #0b2152; }

.blog-detail-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    align-items: start;
}
.blog-detail-main {
    background: #fff;
    border: 1px solid #EBECED;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(11, 33, 82, 0.05);
}
.blog-detail-cover {
    margin: 0;
    background: #f4f6fa;
    border-bottom: 1px solid #EBECED;
}
.blog-detail-cover img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    object-position: center;
    background: #f4f6fa;
}
.blog-detail-meta {
    padding: 1.5rem 1.5rem 0;
}
.blog-detail-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    margin-bottom: 1rem;
}
.blog-detail-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: #f4f6fa;
    color: #0b2152;
    font-size: 0.8rem;
    font-weight: 700;
}
.blog-detail-chip-link {
    text-decoration: none;
    background: rgba(214, 76, 48, 0.08);
    color: #d64c30;
}
.blog-detail-chip-link:hover { background: rgba(214, 76, 48, 0.14); }
.blog-detail-lead {
    margin: 0;
    color: #5b6170;
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 70ch;
}
.blog-detail-body {
    padding: 1.5rem;
    font-size: 1.02rem;
}
.blog-detail-gallery { padding: 0 1.5rem 1.75rem; }
.blog-detail-aside { position: relative; }
.blog-aside-card {
    background: #fff;
    border: 1px solid #EBECED;
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(11, 33, 82, 0.05);
}
.blog-aside-title {
    margin: 0 0 1rem;
    color: #0b2152;
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
}
.blog-aside-list { display: grid; gap: 0.85rem; }
.blog-aside-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    padding: 0.35rem;
    border-radius: 0.5rem;
    transition: background-color .15s ease;
}
.blog-aside-item:hover { background: #f4f6fa; }
.blog-aside-thumb {
    width: 72px;
    height: 72px;
    border-radius: 0.45rem;
    overflow: hidden;
    background: #f4f6fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(11, 33, 82, 0.28);
}
.blog-aside-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-aside-copy {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}
.blog-aside-copy time {
    font-size: 0.72rem;
    font-weight: 700;
    color: #8a8d96;
}
.blog-aside-copy strong {
    color: #0b2152;
    font-size: 0.92rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-aside-empty {
    margin: 0;
    color: #8a8d96;
    font-size: 0.9rem;
}
.blog-aside-cta {
    margin-top: 1.15rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #d64c30;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
}
.blog-aside-cta:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 768px) {
    .blog-detail-meta,
    .blog-detail-body { padding-left: 2rem; padding-right: 2rem; }
    .blog-detail-gallery { padding-left: 2rem; padding-right: 2rem; padding-bottom: 2rem; }
    .blog-detail-body { font-size: 1.05rem; }
}
@media (min-width: 1024px) {
    .blog-detail-shell {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 1.75rem;
    }
    .blog-aside-card {
        position: sticky;
        top: 6.5rem;
    }
}

.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 {
        width: 2.75rem;
        height: 2.75rem;
    }
    .site-floating-actions a.fab-primary {
        width: 3.15rem;
        height: 3.15rem;
    }
}
body.dealer-modal-open .site-floating-actions,
body.mobile-menu-open .site-floating-actions {
    visibility: hidden;
    pointer-events: none;
}

/* Ana kategoriler — mobil kompakt */
.home-category-media {
    aspect-ratio: 4 / 3;
    height: auto;
}
@media (min-width: 768px) {
    .home-category-media {
        aspect-ratio: auto;
        height: 12rem;
    }
}
.product-share-actions > * {
    width: 100%;
}
@media (min-width: 1024px) {
    .product-share-actions > * {
        width: auto;
    }
}

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