﻿.filter-bar-modern {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 6px 16px rgba(0,0,0,.05);
}

    .filter-bar-modern .form-control,
    .filter-bar-modern .form-select {
        border-radius: 10px;
        border: 1px solid #dee2e6;
    }

    .filter-bar-modern .btn-primary {
        border-radius: 10px;
        font-weight: 600;
    }
/* --- SAYFA GENEL --- */
.list-shell {
    max-width: 1280px;
    margin: auto
}

.section-top {
    margin-top: 18px
}

/* --- FİLTRE BAR --- */
.filter-bar {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 18px;
    padding: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
    box-shadow: 0 10px 25px rgba(20,25,38,.05)
}

.filter-item {
    flex: 1;
    min-width: 180px;
    position: relative
}

    .filter-item .label {
        font-size: .75rem;
        color: #8b95a7;
        margin-bottom: 4px
    }

    .filter-item .ctrl {
        background: #f7f9fc;
        border: 1px solid #e7ecf3;
        border-radius: 12px;
        height: 44px;
        padding: 0 14px;
        font-size: .95rem;
        width: 100%
    }

.filter-search {
    width: 52px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #246df8;
    color: #fff;
    border: 0;
    flex: 0 0 52px
}

/* --- KATEGORİ NAV (ikonlu) --- */
.cat-nav {
    display: flex;
    gap: 24px;
    overflow: auto;
    padding: 16px 4px
}

.cat-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #778096;
    text-decoration: none;
    min-width: 68px
}

    .cat-pill .ico {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: #f2f5ff;
        display: flex;
        align-items: center;
        justify-content: center
    }

    .cat-pill.active .ico {
        background: #246df8;
        color: #fff
    }

    .cat-pill.active {
        color: #111827;
        font-weight: 600
    }

/* --- ETKİN FİLTRE ÇİP --- */
.chips {
    display: flex;
    gap: 8px;
    margin: 10px 0 0 0
}

.chip {
    background: #1f2937;
    color: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: .85rem;
    display: inline-flex;
    gap: 8px;
    align-items: center
}

    .chip .x {
        background: #111827;
        border: 0;
        color: #fff;
        width: 18px;
        height: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%
    }

/* --- KART GRID --- */
.product-grid {
    row-gap: 22px
}

.card-mini {
    border: 1px solid #eef1f5;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease
}

    .card-mini:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(18,22,28,.08)
    }

.thumb-ratio {
    position: relative;
    padding-top: 62.5%;
    overflow: hidden
}

    .thumb-ratio > img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .35s
    }

.card-mini:hover .thumb-ratio > img {
    transform: scale(1.04)
}

.badge-top {
    position: absolute;
    left: 12px;
    top: 12px;
    background: #fff;
    border-radius: 10px;
    padding: 6px 10px;
    font-weight: 600;
    font-size: .85rem;
    box-shadow: 0 4px 14px rgba(0,0,0,.06)
}

.card-bodyx {
    padding: 12px 14px
}

.titlex {
    font-weight: 700;
    color: #0b1320;
    font-size: 1.02rem;
    margin: 6px 0 4px 0;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.meta {
    display: flex;
    gap: 14px;
    color: #6b7280;
    font-size: .85rem
}

    .meta i {
        font-style: normal
    }

.price-tagx {
    position: absolute;
    right: 12px;
    top: 12px;
    background: #246df8;
    color: #fff;
    border-radius: 10px;
    padding: 6px 10px;
    font-weight: 700
}

/* --- SAYFALAMA --- */
.pagination .page-link {
    border: none;
    border-radius: 10px;
    margin: 0 .15rem
}

.pagination .page-item.active .page-link {
    background: #246df8
}
/* ——— Chips ——— */
.scroller-x {
    display: flex;
    gap: .5rem;
    overflow: auto;
    padding: .25rem .5rem
}

    .scroller-x::-webkit-scrollbar {
        height: 6px
    }

.tk-chip {
    border: none;
    background: #f4f6f8;
    color: #3b3f5c;
    padding: .45rem .85rem;
    border-radius: 999px;
    font-weight: 600;
    white-space: nowrap
}

    .tk-chip:hover {
        background: #e9eef5
    }

    .tk-chip.is-active {
        background: #e8f0ff;
        color: #246df8
    }

/* ——— Search bar ——— */
.shadow-soft {
    box-shadow: 0 6px 24px rgba(21,28,38,.06)
}

.tk-searchbar {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: #fff;
    border-radius: 14px;
    padding: .75rem;
    flex-wrap: wrap
}

.tk-field {
    display: flex;
    flex-direction: column;
    min-width: 180px
}

.tk-label {
    font-size: .8rem;
    font-weight: 600;
    color: #6b7280;
    margin-left: .35rem;
    margin-bottom: .25rem
}

.tk-input {
    height: 48px;
    border-radius: 12px;
    border: 1px solid #e7eaf0;
    background: #fff;
    padding: 0 .9rem
}

    .tk-input:focus {
        border-color: #246df8;
        box-shadow: 0 0 0 .2rem rgba(36,109,248,.12);
        outline: 0
    }

/* Ayırıcı */
.tk-divider {
    width: 1px;
    height: 36px;
    background: #eef2f7
}

@media (max-width: 992px) {
    .tk-divider {
        display: none
    }
}

/* Sağdaki buton */
.tk-action {
    margin-left: auto
}

.tk-btn {
    height: 48px;
    padding: 0 24px;
    border-radius: 12px;
    font-weight: 700
}

/* Kart ve açıklama */
.tk-card {
    border: 1px solid #eef2f7;
    border-radius: 14px;
    background: #fff
}

    .tk-card:hover {
        box-shadow: 0 8px 28px rgba(21,28,38,.08)
    }

.tk-desc {
    max-height: 72px;
    overflow: hidden
}

/* Thumbnail sabit oran (mevcut mantıkla uyumlu) */
.thumb {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    padding-top: 56.25%
}

    .thumb > img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover
    }

    .thumb .overlay {
        position: absolute;
        inset: 24px;
        background: rgba(255,255,255,.8);
        opacity: 0;
        transition: .25s
    }

    .thumb:hover .overlay {
        opacity: 1;
        inset: 0
    }

    .thumb .overlay a {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        background: #246df8;
        color: #fff;
        border-radius: 8px;
        padding: .5rem 1rem;
        text-decoration: none
    }
