/**
 * S Çelik Halat — mobil düzen (≤767.98px, Bootstrap md altı)
 */

@media (max-width: 767.98px) {

    /* —— Hero —— */
    .site-hero {
        background-image: var(--hero-bg-mobil, var(--hero-bg, none));
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }

    .site-hero-title {
        font-size: 1.5rem;
    }

    .site-hero-lead {
        font-size: 0.9375rem;
        margin-left: auto;
        margin-right: auto;
    }

    .site-hero .site-hero-inner .row > [class*="col-"] {
        text-align: center;
    }

    .site-hero .d-flex {
        justify-content: center;
    }

    /* —— Hero özellik kartları (2 sütun: col-6) —— */
    .site-features--hero {
        margin-top: 2rem;
    }

    .site-features--hero > .row {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }

    .feature-card.feature-card--hero {
        padding: 1rem !important;
    }

    .feature-card.feature-card--hero .feature-title {
        font-size: 0.9375rem;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 0.625rem;
    }

    /* Açıklama: Bootstrap .small standart boyutu (0.875em) */
    .feature-card.feature-card--hero .text-muted.small {
        font-size: 0.875em;
        line-height: 1.45;
    }

    .feature-card.feature-card--hero .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 0.5rem !important;
    }

    /* —— Butonlar —— */
    .btn-sch--lg {
        padding: 0.7rem 1.15rem;
        font-size: 0.9375rem;
    }

    /* —— Bölüm boşlukları —— */
    .mt-7 {
        margin-top: 4rem !important;
    }

    .site-about.py-5,
    .site-categories.py-5,
    .site-cta.py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .section-title {
        font-size: 1.35rem;
    }

    /* —— Firma profili —— */
    .site-about .row > .col-lg-6:first-child {
        text-align: center;
    }

    .site-about .about-mask-wrap {
        margin-top: 3rem;
    }

    /* —— Ürün grupları (kategori kartları) —— */
    .category-card {
        flex-direction: column;
        min-height: 0;
    }

    .category-card-img-wrap {
        flex: 0 0 auto;
        width: 100%;
        padding: 1rem 1rem 0;
    }

    .category-card-img {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .category-card-body {
        width: 100%;
        padding: 1rem;
    }

    /* Kategori + benzer ürünler — ürün kartı başlığı 2 satır (≤ md) */
    .kategori-urunler .product-card-title,
    .urun-benzer .product-card-title {
        white-space: normal;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: break-word;
        min-height: calc(1.35em * 2);
        max-height: calc(1.35em * 2);
    }

    .urun-benzer__baslik {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }

    /* —— Breadcrumb — dokunmatik yatay kaydırma (container içinde) —— */
    .page-header .container {
        overflow-x: hidden;
    }

    .site-breadcrumb {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        touch-action: pan-x;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-left: 0;
        margin-right: 0;
        padding-right: 0.25rem;
    }

    .site-breadcrumb::-webkit-scrollbar {
        display: none;
    }

    .site-breadcrumb__list {
        flex-wrap: nowrap;
        width: max-content;
        max-width: none;
        padding-right: 0.75rem;
    }

    .site-breadcrumb__item {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .site-breadcrumb__item.is-active span {
        padding-right: 0.125rem;
    }
}
