/* ============================================================================
   MOBİL KATMAN — yalnızca ≤991px'de uygulanır.
   Masaüstü görünümü bu dosyadan HİÇ etkilenmez: dosyadaki tüm kurallar
   media query içindedir. redesign.css'ten SONRA yüklenir.

   İçindekiler
     1. Üst bar (topbar) + header tek satır
     2. Menü çekmecesi (soldan açılır) + katman
     3. Arama paneli
     4. Kategori sayfası (PLP): filtre çekmecesi + ürün ızgarası
     5. Genel düzen düzeltmeleri (hero, bantlar, tablo taşmaları)
   ========================================================================== */

/* JS ile DOM'a eklenen mobil parçalar (çekmece başlığı/altı, filtre çubuğu, katman)
   MASAÜSTÜNDE GÖRÜNMEZ. Bu blok bilerek media query dışındadır: elemanlar her
   ekran boyutunda DOM'a eklenir, yalnızca ≤991px'de görünür kılınır. */
.co-drawer-bas,
.co-drawer-ara,
.co-drawer-alt,
.co-plp-mobilbar,
.co-plp-side-alt,
.co-mobil-katman,
.co-ust-aks .co-ust-hesap { display: none !important; }   /* hesap ikonu: yalnız mobil */

@media (max-width: 991.98px) {

    /* Mobilde yukarıdaki gizleme geri alınır */
    .co-drawer-bas { display: flex !important; }
    .co-drawer-ara { display: flex !important; }
    .co-drawer-alt { display: grid !important; }
    .co-plp-mobilbar { display: flex !important; }
    .co-plp-side-alt { display: flex !important; }
    .co-mobil-katman { display: block !important; }

    /* --- Yatay taşmayı kes: mobilde hiçbir bölüm ekranı aşmasın --- */
    html, body { max-width: 100%; overflow-x: hidden; }

    /* ====================== 1. ÜST BAR + HEADER ====================== */

    /* Üst şerit: solda dil seçenekleri, ortada kampanya metni
       (telefon/mağaza bağlantıları çekmecede) */
    .u-header .co-ust-strip {
        display: flex !important;
        align-items: center;
        gap: 10px;
        padding: 6px 12px !important;
        min-height: 0;
    }
    .u-header .co-ust-strip .co-ust-dil {
        display: flex !important;
        align-items: center;
        gap: 5px;
        flex: 0 0 auto;
        font-size: 11px;
    }
    .u-header .co-ust-strip .co-ust-dil a { padding: 2px 1px; }
    .u-header .co-ust-strip .co-ust-orta {
        flex: 1;
        text-align: center;
        font-size: 11px;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .u-header .co-ust-strip .co-ust-linkler { display: none !important; }

    /* Ana bar: [☰] [logo] [arama][sepet] — tek satır, 60px */
    .u-header #logoAndNav {
        max-width: none;
        width: 100%;
        padding: 0 12px !important;
    }
    .u-header #logoAndNav .navbar {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center;
        min-height: 60px;
        padding: 0 !important;
    }
    /* Hamburger en solda */
    .u-header .navbar-toggler.u-hamburger {
        order: -1 !important;
        margin: 0 10px 0 0 !important;
        padding: 6px !important;
        border: 0;
        background: transparent;
    }
    /* Logo hamburger'in yanında (SOLDA) — sağ taraf ikonlara ferah alan bırakır:
       [☰][logo] ……… [arama][hesap][sepet] */
    .u-header .navbar-brand,
    .u-header .u-header__navbar-brand-collapsed {
        position: static !important;
        transform: none !important;
        flex: 0 1 auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        max-width: calc(100vw - 190px);   /* çok uzun logoda taşma güvenliği */
        margin-left: 6px !important;
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        overflow: hidden;
    }
    .u-header .navbar-brand img {
        max-height: 36px;
        max-width: 100%;
        width: auto;
        object-fit: contain;
    }
    /* İkon bloğu logonun üstünde kalsın (dokunma hedefleri korunur) */
    .u-header .co-ust-aks { z-index: 3; }
    /* Aynı anda tek logo varyantı görünsün */
    .u-header .u-header__navbar-brand-on-scroll,
    .u-header .u-header__navbar-brand-default { display: none !important; }
    .u-header .u-header__navbar-brand-collapsed { display: block !important; }

    /* Sağ ikonlar: arama + hesap + sepet — sağa yaslı, aralarında nefes payı */
    .u-header .co-ust-aks {
        margin-left: auto !important;
        flex: 0 0 auto;
        gap: 6px;
        position: relative;
        z-index: 3;
    }
    .u-header .navbar-toggler.u-hamburger { flex: 0 0 auto; }
    .u-header .co-ust-aks .co-ust-ikon,
    .u-header .co-ust-aks .co-ust-sepet > a,
    .u-header .co-ust-aks .cart-trigger {
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
    }
    /* Hesap ikonu mobilde görünür (media dışı gizleme burada geri alınır) */
    .u-header .co-ust-aks .co-ust-hesap {
        display: grid !important;
        color: inherit;
    }
    .u-header .co-ust-aks .co-ust-hesap svg { width: 21px; height: 21px; }
    .u-header .co-ust-aks .co-ust-ikon svg,
    .u-header .co-ust-aks .co-ust-sepet svg { width: 21px; height: 21px; }
    .u-header .co-ust-sepet { display: block !important; }
    /* Sepet rozeti ikonun köşesinde kalsın */
    .u-header .co-ust-sepet .co-cart-badge {
        top: 4px;
        right: 2px;
    }
    /* Dil seçici (bootstrap-select) ve üye giriş bloğu mobilde barda görünmez —
       ikisi de menü çekmecesinden erişilir; bar tek satırda kalır. */
    .u-header .co-ust-aks .bootstrap-select,
    .u-header .co-ust-aks select.selectpicker,
    .u-header .co-ust-aks .u-header__login-form,
    .u-header .co-ust-aks .dropdown-connector-xl { display: none !important; }

    /* ====================== 2. MENÜ ÇEKMECESİ ====================== */

    /* Bootstrap collapse görünümü iptal; panel soldan kayan çekmece olur */
    .u-header #navBar {
        position: fixed !important;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 10001;
        width: min(86vw, 360px);
        height: 100% !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff;
        box-shadow: 0 0 40px rgba(20, 17, 14, .18);
        transform: translateX(-100%);
        transition: transform .28s cubic-bezier(.22, .72, .24, 1);
        overflow-y: auto;
        overscroll-behavior: contain;
        display: block !important;      /* collapse'ın display:none'ını ez */
        visibility: hidden;
    }
    .u-header #navBar.co-acik {
        transform: translateX(0);
        visibility: visible;
    }
    /* Header'ın kendi yığın bağlamı (theme.css: z-index 1001) çekmeceyi katmanın
       altında bırakıyordu; mobilde header bağlamı katmanın üstüne alınır. */
    .u-header { z-index: 10000 !important; }

    /* Sticky header (sınıfı js/mobil.js ekler) — aşağı kaydırınca yalnız ana bar
       ([☰ logo ikonlar]) yukarıda sabit kalır; üst şerit yer kazanmak için gizlenir.
       Masaüstündeki .co-sabit-alt ile aynı dil (redesign.css); co-header-in
       animasyonu da oradan gelir. */
    .u-header.co-sabit-mobil {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        animation: co-header-in .3s ease;
    }
    .u-header.co-sabit-mobil .u-header__section {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        border-top: 0 !important;
        background-color: #fff !important;   /* yarı saydam olursa altındaki içerik hayalet gibi görünüyor */
        box-shadow: 0 6px 18px rgba(18, 24, 23, .1) !important;
    }
    .u-header.co-sabit-mobil .co-ust-strip { display: none !important; }

    /* Karartma katmanı — çekmecelerin ALTINDA, sayfanın üstünde */
    .co-mobil-katman {
        position: fixed;
        inset: 0;
        z-index: 9990;
        background: rgba(22, 19, 16, .48);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, visibility .25s ease;
    }
    .co-mobil-katman.co-acik { opacity: 1; visibility: visible; }
    body.co-mobil-kilit { overflow: hidden; }

    /* Çekmece başlığı (JS ekler) */
    .co-drawer-bas {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 16px 18px;
        border-bottom: 1px solid #eceae6;
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 2;
    }
    .co-drawer-bas strong {
        font-family: var(--coust-font, inherit);
        font-size: 13px;
        font-weight: 600;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: #2f2c28;
    }
    .co-drawer-bas .co-drawer-logo { max-height: 30px; width: auto; }

    /* Menü içi arama kısayolu */
    .co-drawer-ara {
        display: flex;
        align-items: center;
        gap: 10px;
        width: calc(100% - 32px);
        margin: 14px 16px 6px;
        padding: 11px 14px;
        border: 1px solid #e8e5e0;
        border-radius: 10px;
        background: #f7f6f3;
        color: #8b857c;
        font-size: 13.5px;
        text-align: left;
        cursor: pointer;
    }
    .co-drawer-ara svg { width: 17px; height: 17px; flex: 0 0 auto; }
    .co-drawer-kapat {
        width: 34px;
        height: 34px;
        border: 0;
        border-radius: 50%;
        background: #f4f2ef;
        color: #2f2c28;
        font-size: 20px;
        line-height: 1;
        cursor: pointer;
    }

    /* Menü listesi */
    .u-header #navBar .u-header__navbar-nav {
        display: block !important;
        margin: 0 !important;
        padding: 6px 0 24px !important;
        gap: 0 !important;
    }
    .u-header #navBar .u-header__nav-item {
        display: block !important;
        border-bottom: 1px solid #f2f0ec;
        padding: 0 !important;
        margin: 0 !important;
    }
    .u-header #navBar .u-header__nav-link {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 15px 18px !important;
        line-height: 1.3 !important;
        font-size: 15.5px !important;
        font-weight: 500 !important;
        color: #24211d !important;
    }
    /* Alt menüsü olanlarda dönen ok (mega menü mobilde katlanır) */
    .u-header #navBar .hs-has-mega-menu > .u-header__nav-link::after {
        content: "";
        display: block !important;
        flex: 0 0 auto;
        width: 8px;
        height: 8px;
        margin: -3px 3px 0 12px;
        border-right: 1.6px solid #a8a199;
        border-bottom: 1.6px solid #a8a199;
        transform: rotate(45deg);
        transition: transform .25s ease, border-color .25s ease;
    }
    .u-header #navBar .hs-has-mega-menu.co-alt-acik > .u-header__nav-link::after {
        margin-top: 3px;
        border-color: #2f2c28;
        transform: rotate(-135deg);
    }
    /* Açık grubun başlığı vurgulanır */
    .u-header #navBar .hs-has-mega-menu.co-alt-acik > .u-header__nav-link {
        font-weight: 600 !important;
        background: #faf9f7;
    }
    /* Mega menü panelleri: mobilde akış içinde katlanır liste */
    .u-header #navBar .hs-mega-menu {
        position: static !important;
        display: none !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 0 10px !important;
        border: 0 !important;
        box-shadow: none !important;
        background: #fafaf8 !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    .u-header #navBar .hs-has-mega-menu.co-alt-acik > .hs-mega-menu { display: block !important; }
    /* Mega menü iç düzeni tek kolona iner */
    .u-header #navBar .co-mega__ic,
    .u-header #navBar .hs-mega-menu .row {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .u-header #navBar .co-mega__kolon,
    .u-header #navBar .hs-mega-menu [class*="col-"] {
        width: 100% !important;
        max-width: none !important;
        flex: none !important;
        padding: 0 !important;
    }
    /* Kolon başlıkları çekmecede gereksiz (grup adı zaten üstteki satırda) —
       ikinci kolondan sonrakiler zaten &nbsp; olduğu için boşluk bırakıyordu. */
    .u-header #navBar .co-mega__kolon .co-mega__baslik { display: none !important; }
    .u-header #navBar .u-header__sub-menu-title {
        display: block;
        padding: 10px 18px 4px !important;
        font-size: 11px !important;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: #a19a90 !important;
    }
    /* Alt kategori satırları: eşit girinti, sol kılavuz çizgi, geniş dokunma alanı */
    .u-header #navBar .co-mega__kolon a,
    .u-header #navBar .u-header__sub-menu-nav-link {
        display: flex !important;
        align-items: center;
        min-height: 44px;
        padding: 8px 18px 8px 30px !important;
        font-size: 14.5px !important;
        line-height: 1.35;
        color: #4a463f !important;
        border: 0 !important;
        position: relative;
    }
    .u-header #navBar .co-mega__kolon a::before {
        content: "";
        position: absolute;
        left: 18px;
        top: 12px;
        bottom: 12px;
        width: 2px;
        border-radius: 2px;
        background: #e4e0d9;
    }
    .u-header #navBar .co-mega__kolon a:active::before { background: #b9b2a7; }

    /* "Keşfedin" bloğu ayrı bir alt bölüm gibi durur */
    .u-header #navBar .co-mega__kesfet {
        margin: 6px 18px 0;
        padding: 10px 0 4px;
        border-top: 1px solid #ecE9e3;
    }
    .u-header #navBar .co-mega__kesfet .co-mega__baslik {
        display: block !important;
        padding: 0 0 4px !important;
        font-size: 10.5px !important;
        letter-spacing: .16em;
        text-transform: uppercase;
        color: #a8a199 !important;
    }
    .u-header #navBar .co-mega__kesfet a {
        display: flex !important;
        align-items: center;
        min-height: 42px;
        padding: 6px 0 !important;
        font-size: 14px !important;
        color: #4a463f !important;
    }
    /* "Tüm Ürünleri Görüntüle" belirgin bir düğme satırı olur */
    .u-header #navBar .co-mega__kesfet a.co-mega__tumu,
    .u-header #navBar .co-mega__kesfet a.co-mega__tumu span { color: #fff !important; }
    .u-header #navBar .co-mega__tumu {
        justify-content: center;
        margin: 8px 0 12px !important;
        padding: 12px 14px !important;
        border-radius: 10px;
        background: #2f2c28;
        color: #fff !important;
        font-size: 13.5px !important;
        font-weight: 600;
        gap: 8px;
    }
    .u-header #navBar .u-header__sub-menu-nav-group { margin: 0 !important; }

    /* Çekmece altı: dil + hesap kısayolları (JS ekler) */
    .co-drawer-alt {
        border-top: 1px solid #f2f0ec;
        padding: 14px 18px 26px;
        display: grid;
        gap: 10px;
    }
    .co-drawer-alt a {
        display: flex;
        align-items: center;
        gap: 11px;
        min-height: 40px;
        font-size: 14.5px;
        color: #4a463f;
    }
    .co-drawer-alt a svg {
        width: 19px;
        height: 19px;
        flex: 0 0 auto;
        color: #8b857c;
    }
    .co-drawer-alt .co-drawer-diller { display: flex; gap: 8px; margin-top: 4px; }
    .co-drawer-alt .co-drawer-diller a {
        min-width: 42px;
        justify-content: center;
        padding: 7px 0;
        border: 1px solid #e6e3de;
        border-radius: 6px;
        font-size: 12.5px;
        letter-spacing: .06em;
    }
    .co-drawer-alt .co-drawer-diller a.aktif {
        border-color: #2f2c28;
        background: #2f2c28;
        color: #fff;
    }

    /* ====================== 3. ARAMA PANELİ ====================== */
    .co-ust-ara .co-arama {
        position: fixed !important;
        left: 10px !important;
        right: 10px !important;
        top: 10px !important;
        width: auto !important;
        max-height: 88vh;
        overflow-y: auto;
        z-index: 10002;
    }

    /* ====================== 4. KATEGORİ SAYFASI (PLP) ====================== */

    /* Üst şerit: başlık + sıralama alt alta */
    .co-plp-head {
        display: block;
        margin-bottom: 14px;
    }
    .co-plp-title { font-size: clamp(26px, 7vw, 34px); }
    .co-plp-sort { width: 100%; margin-top: 12px; }

    /* Filtre + sırala çubuğu (JS ekler) */
    .co-plp-mobilbar {
        display: flex;
        gap: 10px;
        margin: 0 0 16px;
    }
    .co-plp-mobilbar button {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 46px;
        padding: 0 14px;
        border: 1px solid #d9d5cf;
        border-radius: 8px;
        background: #fff;
        font-family: var(--plp-font, inherit);
        font-size: 14px;
        font-weight: 600;
        color: #2f2c28;
        cursor: pointer;
    }
    .co-plp-mobilbar button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
    .co-plp-mobilbar .co-plp-filtresayi {
        min-width: 20px;
        height: 20px;
        padding: 0 6px;
        border-radius: 20px;
        background: #2f2c28;
        color: #fff;
        font-size: 11px;
        line-height: 20px;
    }

    /* Grid: tek kolon (sidebar çekmeceye taşındı) */
    .co-plp-wrap { display: block !important; }

    /* Sol filtre kolonu → soldan açılan çekmece */
    .co-plp-side {
        position: fixed !important;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 10001;
        width: min(88vw, 380px);
        max-width: none !important;
        height: 100%;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff;
        box-shadow: 0 0 40px rgba(20, 17, 14, .18);
        transform: translateX(-100%);
        transition: transform .28s cubic-bezier(.22, .72, .24, 1);
        overflow-y: auto;
        overscroll-behavior: contain;
        visibility: hidden;
    }
    .co-plp-side.co-acik { transform: translateX(0); visibility: visible; }
    /* Sayfanın kendi "Filtreleri temizle" linki çekmecede gizlenir —
       karşılığı alt bardaki Temizle düğmesidir. */
    .co-plp-side > .co-plp-temizle { display: none !important; }
    .co-plp-side .co-plp-filtre { padding: 18px; margin: 0; border-top: 1px solid #f0eeea; }
    .co-plp-side .co-plp-filtre:first-of-type { border-top: 0; }
    /* Çekmece içinde dokunma hedefleri büyür */
    .co-plp-side .co-plp-filtre__item { margin-bottom: 16px; }
    .co-plp-side .custom-control-label { font-size: 15px; }
    .co-plp-filtre--gorsel .co-plp-gkartlar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    /* Çekmece altında sabit "Sonuçları Gör" düğmesi (JS ekler).
       position:fixed KULLANILMAZ: çekmecenin transform'u yeni bir containing block
       açtığı için düğme sayfayla birlikte kayıyordu. sticky, çekmecenin kendi
       kaydırma alanının altına yapışır — içerik kaydırılırken hep görünür kalır. */
    .co-plp-side-alt {
        position: sticky;
        bottom: 0;
        margin-top: auto;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        background: #fff;
        border-top: 1px solid #eceae6;
        box-shadow: 0 -8px 18px rgba(20, 17, 14, .07);
        display: flex;
        gap: 10px;
        z-index: 2;
    }
    .co-plp-side-alt button,
    .co-plp-side-alt a {
        flex: 1;
        min-height: 46px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        font-family: var(--plp-font, inherit);
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
    }
    .co-plp-side-alt .co-plp-temizle {
        flex: 0 0 40%;
        border: 1px solid #d9d5cf;
        background: #fff;
        color: #4a463f;
        text-decoration: none;
    }
    .co-plp-side-alt .co-plp-uygula {
        border: 0;
        background: #2f2c28;
        color: #fff;
    }

    /* Ürün ızgarası: 2 kolon */
    .co-plp-main { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; }
    .co-plp-card__ad { font-size: 12.5px; }
    .co-plp-card__fiyat { font-size: 14px; }
    .co-plp-card__meta { font-size: 11px; }
    .co-plp-card__sepet { font-size: 11.5px; padding: 9px 10px; }

    /* Seçilmiş filtre çipleri satırı kaydırılabilir olsun */
    .co-plp-secili { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
    .co-plp-secili::-webkit-scrollbar { display: none; }

    /* ====================== 5. ÜRÜN DETAY (PDP) ====================== */

    /* PDP hero: görsel üstte (3:2), metin ortalı ve ölçekler küçültülmüş.
       Masaüstündeki iki kolonlu düzen (sol görsel / sağ koyu panel) korunur. */
    .co-pdp-hero { grid-template-columns: 1fr !important; min-height: 0 !important; }
    .co-pdp-hero__media {
        min-height: 0 !important;
        aspect-ratio: 3 / 2;
    }
    .co-pdp-hero__copy {
        padding: 24px 20px 28px !important;
        text-align: center;
        align-items: center;
    }
    .co-pdp-hero__eyebrow {
        font-size: 10px;
        letter-spacing: .2em;
        margin: 0 0 12px !important;
    }
    .co-pdp-hero__title {
        font-size: clamp(24px, 6.8vw, 32px) !important;
        line-height: 1.16;
        max-width: none !important;
        margin: 0 0 12px !important;
    }
    .co-pdp-hero__desc {
        font-size: 13.2px;
        line-height: 1.58;
        max-width: 42ch;
        margin: 0 auto 16px !important;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .co-pdp-hero__fiyat { font-size: 20px !important; margin: 0 0 16px !important; }
    .co-pdp-hero__fiyat span { font-size: 11.5px; }
    .co-pdp-hero__fiyat del { font-size: 13px; }
    .co-pdp-hero__etiketler { justify-content: center; gap: 7px; margin-bottom: 0; }
    .co-pdp-hero__etiketler li { font-size: 11px; padding: 6px 10px; }
    .co-pdp-hero__btnler {
        justify-content: center;
        gap: 8px;
        margin-top: 18px;
        width: 100%;
    }
    .co-pdp-hero__btn {
        flex: 1 1 0;
        min-width: 0;
        text-align: center;
        font-size: 12px;
        padding: 12px 10px;
        white-space: nowrap;
    }

    /* PDP gövde: bölüm başlıkları ve teknik tablo dar ekrana göre ölçeklenir */
    .co-pdpf__head h2,
    .co-pdpt__head h2,
    .co-pdpd__shell h2,
    .co-pdpk h2,
    .co-pdpz__head h2,
    .co-pdpy__head h2,
    .co-pdps h2 { font-size: clamp(22px, 6.4vw, 28px) !important; line-height: 1.2; }
    .co-pdpf__head p,
    .co-pdpt__head p,
    .co-pdpy__head p { font-size: 13.2px; line-height: 1.55; }

    /* Teknik detaylar: tek sütun sayfayı gereksiz uzatıyordu → 2 sütun */
    .co-pdpt__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; overflow: visible; }
    .co-pdpt__cell { padding: 14px 12px !important; min-height: 0 !important; }
    .co-pdpt__cell span { font-size: 9.5px; margin-bottom: 6px; }
    .co-pdpt__cell strong { font-size: 15px; }

    /* ============ ÜYELİK EKRANLARI (giriş / kayıt / şifre) ============
       Mobilde ÖNCE form gelir, koyu tanıtım paneli (hero) forma DESTEK olarak
       altta durur: kullanıcı sayfaya giriş yapmak için geliyor, ilk ekranda
       kaydırmadan formu görmeli. Masaüstündeki iki kolonlu düzen aynen kalır. */
    .co-auth__panel { order: -1; }
    .co-auth__aside { order: 2; }
    /* Breadcrumb hero'nun içinde; hero alta inince sayfa sonunda kalıyor */
    .co-auth__crumbs { display: none !important; }
    .co-auth__aside { padding: 34px 20px 38px !important; }
    .co-auth__eyebrow { font-size: 10px; letter-spacing: .2em; }
    .co-auth__title { font-size: clamp(25px, 6.8vw, 34px) !important; margin-bottom: 12px; }
    .co-auth__lead { font-size: 13.5px; line-height: 1.6; margin-bottom: 20px !important; }
    .co-auth__list li { font-size: 13.2px !important; }
    .co-auth__destek { margin-top: 22px !important; font-size: 13px; }
    .co-auth__panel { padding: 30px 20px 34px !important; }
    .co-auth__head { margin-bottom: 22px; }
    .co-auth__head h2 { font-size: clamp(23px, 6.2vw, 30px); }
    .co-auth__head p { font-size: 13.4px; line-height: 1.55; }

    /* ====================== 6. GENEL DÜZEN ====================== */

    /* Kategori hero: tek kolon, görsel üstte (4:3), metin ortalı.
       Masaüstündeki iki kolonlu düzen (sol koyu panel / sağ görsel) korunur. */
    .co-cat-hero { grid-template-columns: 1fr !important; min-height: 0 !important; }
    .co-cat-hero__media {
        order: -1;
        min-height: 0 !important;
        aspect-ratio: 3 / 2;
    }
    .co-cat-hero__media img { object-position: center bottom; }
    /* Görselden panele yumuşak geçiş */
    .co-cat-hero__media::before {
        background: linear-gradient(0deg, var(--cath-bg1, #3a342d) 0%, rgba(0,0,0,0) 26%) !important;
    }
    .co-cat-hero__copy {
        padding: 26px 20px 30px !important;
        text-align: center;
        align-items: center;
    }
    .co-cat-hero__eyebrow {
        font-size: 10.5px;
        letter-spacing: .2em;
        margin: 0 0 14px !important;
    }
    .co-cat-hero__title {
        font-size: clamp(26px, 7.4vw, 35px) !important;
        line-height: 1.14;
        max-width: none !important;
        margin: 0 0 14px !important;
    }
    .co-cat-hero__desc {
        font-size: 13.8px;
        line-height: 1.6;
        max-width: 42ch;
        margin: 0 auto 22px !important;
    }
    .co-cat-hero__features { justify-content: center; gap: 10px 18px; }
    .co-cat-hero__features li { font-size: 13px; gap: 8px; }

    /* Vitrin bandı (mesh-chair-strip): masaüstündeki 60px yan boşluk mobilde
       kartları ortada dar bir şerite sıkıştırıyordu. Mobilde kartlar ekrana
       yayılır (12px kenar boşluğu), alt alta dizilir ve CTA hep görünür kalır. */
    .mesh-chair-strip {
        width: auto !important;
        max-width: 100% !important;
        padding: 0 12px !important;
        margin: 30px auto 32px !important;
    }
    /* Kolon sayısı redesign.css'te (≤860px → tek kolon); burada yalnız aralık */
    .mesh-chair-strip-grid,
    .mesh-chair-strip-grid[data-kart] { gap: 12px !important; }
    /* Görsellerin başlık/metni içine gömülü: oran kırpılırsa yazılar kesiliyor.
       Bu yüzden mobilde de görselin kendi oranı (1509/2048) korunur. */
    .mesh-chair-strip-card { border-radius: 14px; }
    /* Dokunmatikte hover yok: karartma ve CTA baştan görünür */
    .mesh-chair-strip-card::after {
        opacity: 1;
        background: linear-gradient(180deg, rgba(19,24,16,0) 46%, rgba(19,24,16,.14) 100%);
    }
    .mesh-chair-strip-cta {
        left: 14px;
        bottom: 14px;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        max-width: calc(100% - 28px);
        gap: 10px;
        padding: 10px 10px 10px 16px;
        font-size: 12.5px;
    }
    .mesh-chair-strip-cta-label { white-space: normal; }
    .mesh-chair-strip-cta-icon { width: 30px; height: 30px; flex: 0 0 30px; font-size: 13px; }

    /* Google yorumları karuseli (.co-gy): mobilde tek kart göründüğü için sayfa
       sayısı yorum sayısı kadar oluyor (15 bar). 18px'lik barlar + oklar panele
       sığmayıp sağa taşıyor, oklar görünmez oluyordu. Mobilde barlar noktaya
       dönüşür, sığmazsa alt satıra sarar; oklar biraz küçülür. */
    .co-gy__nav { gap: 10px; margin-top: 20px; flex-wrap: wrap; }
    .co-gy__ok { width: 34px; height: 34px; flex: 0 0 34px; font-size: 16px; }
    .co-gy__bars {
        flex: 1 1 auto;
        min-width: 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    .co-gy__bar {
        width: 6px;
        height: 6px;
        flex: 0 0 auto;
        border-radius: 50%;
    }
    .co-gy__bar.aktif { width: 18px; border-radius: 3px; }

    /* Tam genişlik bantlar ekranı aşmasın */
    .co-ara, .co-yeni, .transform-section, .export-solutions-v291 { max-width: 100vw; overflow-x: hidden; }

    /* Tablolar / geniş içerikler yatay kaydırılsın (taşma yerine) */
    .table-responsive { overflow-x: auto; }

    /* WhatsApp/yukarı butonları filtre çekmecesinin altında kalsın */
    .co-plp-side.co-acik ~ .whatsapp-btn,
    body.co-mobil-kilit .whatsapp-btn { z-index: 9998; }
}

/* Küçük telefonlar */
@media (max-width: 575.98px) {
    .co-plp-main { gap: 10px !important; }
    .co-plp-filtre--gorsel .co-plp-gkartlar { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    /* Kategori hero: dar ekranda özellikler alt alta ortalı durur
       (yan yana sarınca satırlar dengesiz görünüyordu) */
    .co-cat-hero__features {
        flex-direction: column;
        align-items: center;
        gap: 9px;
    }
    .co-cat-hero__desc { font-size: 13.4px; margin-bottom: 20px !important; }
    .u-header .navbar-brand img { max-height: 32px; }
    .u-header .co-ust-strip .co-ust-orta { font-size: 10.5px; }
    /* İkonlar biraz daralır, logoya daha çok yer kalır */
    .u-header .co-ust-aks .co-ust-ikon,
    .u-header .co-ust-aks .co-ust-sepet > a,
    .u-header .co-ust-aks .cart-trigger { width: 36px; height: 36px; }
    .u-header .co-ust-aks .co-ust-ikon svg,
    .u-header .co-ust-aks .co-ust-sepet svg,
    .u-header .co-ust-aks .co-ust-hesap svg { width: 19px; height: 19px; }
    .u-header .navbar-brand,
    .u-header .u-header__navbar-brand-collapsed { max-width: calc(100vw - 168px); }
    .u-header .navbar-toggler.u-hamburger { margin-right: 8px !important; }
}

/* Çok dar ekranlar (≤360px): üst şeritte yalnız diller kalır */
@media (max-width: 360px) {
    .u-header .co-ust-strip .co-ust-orta { display: none; }
    .u-header .navbar-brand,
    .u-header .u-header__navbar-brand-collapsed { max-width: calc(100vw - 156px); }
}
