/* Kategori listesi — yalnızca .kategori_cerceve / .kat-page */

.kat-page {
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 28px;
}

.kat-page .kat-head {
    background: transparent;
    margin-top: 0;
    padding: 4px 0 14px;
    text-align: left;
    height: auto;
    border-bottom: 1px solid #eceae6;
}

.kat-page .kat-head-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.kat-page .kat_navigate_1 {
    margin: 0;
    padding: 0;
    width: auto;
    text-align: left;
    font-size: 22px;
    font-weight: 600;
    color: #111;
    letter-spacing: 0.16em;
    line-height: 1.2;
}

.kat-page .kat-count {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #011893;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 4px 10px;
    border: 1px solid #dbe0f0;
    border-radius: 999px;
    background: #f4f6fb;
}

.kat-page .kat-desc {
    width: 100%;
    margin: 8px 0 0;
    padding: 0;
    position: static;
    text-align: left;
    font-size: 13px;
    line-height: 1.5;
    color: #7a7a7a;
    max-height: 3em;
    overflow: hidden;
}

.kat-page .kat-desc:empty {
    display: none;
}

.kat-page .kat-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
    margin: 0 0 16px;
    padding: 12px 0 0;
    position: static;
    box-sizing: border-box;
}

.kat-page .kat-filtre-btn {
    display: none;
}

.kat-page .kat-sort,
.kat-page .kat_menu_sag {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: auto;
    position: static;
    text-align: right;
    padding: 0;
    float: none;
}

.kat-page .kat_menu_secenek {
    height: auto;
    width: auto;
    margin: 0;
    padding: 7px 14px;
    border: 1px solid #e4e2de;
    border-radius: 999px;
    background: #fff;
    color: #4a4a4a;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
    cursor: pointer;
    outline: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.kat-page .kat_menu_secenek:hover {
    border-color: #011893;
    color: #011893;
    background: #fff;
}

.kat-page .kat_menu_secenek.is-active {
    background: #011893;
    border-color: #011893;
    color: #fff;
    box-shadow: 0 4px 12px rgba(1, 24, 147, 0.18);
}

.kat-page .kat-layout {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.kat-page .kat-filtre-overlay {
    display: none;
}

.kat-page .kat-filtre-head {
    display: none;
}

.kat-page .kategoriler_list {
    float: none;
    width: 232px;
    flex: 0 0 232px;
    margin: 0;
    padding: 8px 0 14px;
    border: 1px solid #eceae6;
    border-radius: 10px;
    box-sizing: border-box;
    background: #fff;
}

.kat-page .kategori_urunler {
    float: none;
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}

.kat-page .menu_kategori_baslik {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: auto;
    height: auto;
    margin: 0;
    padding: 12px 14px;
    background: transparent;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: left;
    cursor: pointer;
    border-bottom: 1px solid #f0eeea;
    color: #222;
}

.kat-page .menu_kategori_baslik:hover,
.kat-page .menu_kategori_baslik.is-open {
    color: #011893;
}

.kat-page .menu_kategori_baslik span {
    float: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    color: #9a9a9a;
    border: 1px solid #eceae6;
    border-radius: 50%;
}

.kat-page .kategoriler_secenekler_divs {
    display: none;
}

.kat-page .kategoriler_secenekler_divs.is-open {
    display: block;
}

.kat-page .alt_kategoriler {
    padding: 8px 0 10px;
}

.kat-page .kat-filtre-liste {
    height: auto !important;
    max-height: 220px;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.kat-page .alt_kategoriler ul {
    margin: 0;
    padding: 0 12px;
}

.kat-page .alt_kategoriler a {
    display: block;
    padding: 6px 2px;
    font-size: 13px;
    color: #5c5c5c;
    transition: color 0.15s, padding-left 0.15s;
}

.kat-page .alt_kategoriler a:hover {
    color: #011893;
    padding-left: 4px;
}

.kat-page .menu-kapsul ul ul {
    padding-left: 10px;
}

.kat-page .kategor_filtreleri_Chk {
    width: 100%;
    margin: 0;
}

.kat-page .kategor_filtreleri_Chk td {
    display: block;
    line-height: 1.3;
    margin: 0;
    padding: 8px 14px;
    border-bottom: 0;
    text-transform: none;
    font-size: 13px;
    color: #444;
}

.kat-page .kategor_filtreleri_Chk label {
    cursor: pointer;
}

.kat-page .kategor_filtreleri_Chk input {
    margin-right: 8px;
    accent-color: #011893;
}

.kat-page .kat-filtre-apply {
    width: calc(100% - 24px);
    margin: 12px 12px 4px;
    height: 40px;
    border-radius: 8px;
    background: #011893;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(1, 24, 147, 0.16);
}

.kat-page .kat-filtre-apply:hover {
    background: #00146e;
    color: #fff;
}

.kat-page .kat_back {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
}

.kat-page .anasayfa_urun_kutu {
    position: relative;
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eceae6;
    border-radius: 10px;
    box-sizing: border-box;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.kat-page .anasayfa_urun_kutu:hover {
    border-color: #d7d3cc;
    box-shadow: 0 10px 28px rgba(17, 17, 17, 0.08);
    transform: translateY(-2px);
}

.kat-page .anasayfa_urun_kutu a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.kat-page .kategori_anasayfa_urun_resmi {
    display: block !important;
    position: relative;
    width: 100%;
    height: auto !important;
    aspect-ratio: 3 / 4;
    margin: 0 !important;
    overflow: hidden;
    background: #fff;
    line-height: 0;
    font-size: 0;
}

.kat-page .kategori_anasayfa_urun_resmi img,
.kat-page .kategor_srsss {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: top;
}

.kat-page .kat-galeri {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.kat-page .kat-galeri-viewport {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.kat-page .kat-galeri-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.35s ease;
    will-change: transform;
}

.kat-page .kat-galeri-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.kat-page .kat-galeri-prev,
.kat-page .kat-galeri-next {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 28px;
    height: 28px;
    margin-top: -14px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #111;
    font-size: 18px;
    line-height: 28px;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transition: opacity 0.2s;
}

.kat-page .kat-galeri-prev { left: 8px; }
.kat-page .kat-galeri-next { right: 8px; }

.kat-page .anasayfa_urun_kutu:hover .kat-galeri-prev,
.kat-page .anasayfa_urun_kutu:hover .kat-galeri-next,
.kat-page .kat-galeri.has-many:hover .kat-galeri-prev,
.kat-page .kat-galeri.has-many:hover .kat-galeri-next {
    opacity: 1;
}

.kat-page .kat-galeri-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: 5px;
    pointer-events: none;
}

.kat-page .kat-galeri-dot {
    pointer-events: auto;
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.kat-page .kat-galeri-dot.is-active {
    background: #011893;
    box-shadow: none;
}

.kat-page .hizli_kargo_budget {
    position: absolute;
    top: 8px;
    left: 8px;
    width: auto;
    max-width: calc(100% - 16px);
    padding: 0 8px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 20px;
    height: auto;
    border-radius: 999px;
    background: #011893;
    box-shadow: 0 2px 8px rgba(1, 24, 147, 0.2);
}

.kat-page .anasayfa_urun_iskonto_orani {
    position: absolute;
    top: 8px;
    right: 8px;
    left: auto;
    margin: 0;
    width: auto;
    min-width: 36px;
    height: 22px;
    padding: 0 7px;
    line-height: 22px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #e11d48;
    border: 0;
    border-radius: 999px;
}

.kat-page .anasayfa_urun_alt_kutu_bilgi {
    position: static;
    width: auto;
    margin: 0 !important;
    padding: 10px 10px 12px;
    background: #fff;
}

.kat-page .anasayfa_urun_marka {
    height: auto;
    padding: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #011893;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kat-page .anasayfa_urun_adi {
    height: auto;
    width: auto;
    margin: 4px 0 8px;
    padding: 0;
    font-size: 13px;
    line-height: 1.35;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kat-page .kat-fiyat-satir {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.kat-page .anasayfa_urun_fiyat {
    float: none;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #111;
}

.kat-page .anasayfa_urun_indirim_fiyat {
    float: none;
    margin: 0;
    font-size: 12px;
    color: #b0b0b0;
}

@media (max-width: 960px) {
    body.kat-filtre-lock {
        overflow: hidden;
        touch-action: none;
    }

    .kat-page {
        padding-bottom: 16px;
    }

    .kat-page .kat-head {
        margin-top: 10px;
        padding: 0 2px 10px;
    }

    .kat-page .kat_navigate_1 {
        font-size: 16px;
        letter-spacing: 0.1em;
    }

    .kat-page .kat-count {
        font-size: 10px;
        padding: 3px 8px;
    }

    .kat-page .kat-desc {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        max-height: none;
    }

    .kat-page .kat-toolbar {
        position: sticky;
        top: 0;
        z-index: 30;
        justify-content: space-between;
        margin: 0 0 10px;
        padding: 8px 0;
        background: #fff;
        border-bottom: 1px solid #f0eeea;
    }

    .kat-page .kat-filtre-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        height: 36px;
        padding: 0 14px;
        border: 1px solid #011893;
        border-radius: 999px;
        background: #011893;
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.04em;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(1, 24, 147, 0.18);
    }

    .kat-page .kat-filtre-btn i {
        font-size: 12px;
    }

    .kat-page .kat-sort {
        flex: 1 1 auto;
        justify-content: flex-end;
        min-width: 0;
    }

    .kat-page .kat_menu_secenek {
        padding: 7px 10px;
        font-size: 11px;
        flex: 0 1 auto;
        max-width: 48%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .kat-page .kat-layout {
        display: block;
    }

    .kat-page .kat-filtre-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        z-index: 100048;
    }

    .kat-page .kat-filtre-overlay.is-open {
        display: block;
    }

    .kat-page .kategoriler_list {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: min(86vw, 340px);
        flex: none;
        margin: 0;
        padding: 0 0 70px;
        background: #fff;
        z-index: 100050;
        transform: translateX(-105%);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: transform 0.25s ease;
        border: 0;
        border-radius: 0 12px 12px 0;
        box-shadow: 8px 0 28px rgba(0, 0, 0, 0.16);
    }

    .kat-page .kategoriler_list.is-open {
        transform: translateX(0);
    }

    .kat-page .kat-filtre-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: sticky;
        top: 0;
        z-index: 2;
        padding: 14px 16px;
        background: #011893;
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .kat-page .kat-filtre-kapat {
        width: 36px;
        height: 36px;
        border: 0;
        background: transparent;
        color: #fff;
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
    }

    .kat-page .kat-filtre-apply {
        position: sticky;
        bottom: 8px;
        width: calc(100% - 24px);
    }

    .kat-page .kat_back {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .kat-page .anasayfa_urun_kutu:hover {
        transform: none;
        box-shadow: none;
    }

    .kat-page .kat-galeri-prev,
    .kat-page .kat-galeri-next {
        opacity: 0.92;
        width: 26px;
        height: 26px;
        margin-top: -13px;
        line-height: 26px;
        font-size: 16px;
    }

    .kat-page .kategori_anasayfa_urun_resmi {
        display: block !important;
        height: auto !important;
        width: 100%;
        margin: 0 !important;
        aspect-ratio: 3 / 4;
        background: #fff;
    }

    .kat-page .kategori_anasayfa_urun_resmi img,
    .kat-page .kategor_srsss {
        position: absolute;
        inset: 0;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }

    .kat-page .anasayfa_urun_alt_kutu_bilgi {
        padding: 8px 8px 10px;
    }

    .kat-page .anasayfa_urun_adi {
        font-size: 12px;
    }

    .kat-page .anasayfa_urun_fiyat {
        font-size: 14px;
    }
}
