.nt-product-list-control {
    width: 100%;
    --nt-satir-urun-sayisi: 6;
    --nt-card-image-height: 270px
}

.nt-product-list-head {
    display: block;
    margin-bottom: 14px
}

    .nt-product-list-head .nt-urun-related-head {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        width: 100%
    }

    .nt-product-list-head h2 {
        font: 700 29px Georgia,serif;
        margin: 0
    }

.nt-product-list-all {
    display: inline-block;
    font-weight: 700;
    font-size: 12px;
    color: #111;
    text-decoration: none;
    white-space: nowrap
}

    .nt-product-list-all:hover {
        text-decoration: underline
    }

.nt-product-slider {
    position: relative;
    width: 100%
}

.nt-product-slider-window {
    position: relative;
    width: 100%;
    overflow: hidden
}

.nt-products {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: transform .38s ease;
    will-change: transform
}

    .nt-products .nt-card {
        flex: 0 0 calc((100% - ((var(--nt-satir-urun-sayisi) - 1) * 14px)) / var(--nt-satir-urun-sayisi));
        max-width: calc((100% - ((var(--nt-satir-urun-sayisi) - 1) * 14px)) / var(--nt-satir-urun-sayisi))
    }

.nt-slider-arrow {
    position: absolute;
    top: calc(var(--nt-card-image-height) / 2);
    z-index: 20;
    width: 48px;
    height: 48px;
    border: 1px solid #e2e2e2;
    border-radius: 50%;
    background: rgba(255,255,255,.98);
    color: #222;
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
    padding: 0 0 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 18px rgba(0,0,0,.14);
    transition: all .2s ease
}

.nt-slider-prev {
    left: 8px
}

.nt-slider-next {
    right: 8px
}

.nt-slider-arrow:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 7px 22px rgba(0,0,0,.18)
}

.nt-slider-arrow:disabled {
    opacity: 0;
    pointer-events: none
}

.nt-card {
    position: relative;
    min-width: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    height: calc(var(--nt-card-image-height) + 148px);
    min-height: calc(var(--nt-card-image-height) + 148px);
    max-height: calc(var(--nt-card-image-height) + 148px);
    overflow: hidden
}

.nt-card-image-wrap {
    position: relative;
    width: 100%;
    height: var(--nt-card-image-height);
    min-height: var(--nt-card-image-height);
    max-height: var(--nt-card-image-height);
    flex: 0 0 var(--nt-card-image-height);
    overflow: hidden;
    background: #f5f2ee
}

.nt-card-img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    background: #f5f2ee;
    border-radius: 5px;
    overflow: hidden
}

    .nt-card-img img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
        object-position: center top;
        transition: transform .3s ease;
        background: #f5f2ee
    }

.nt-card:hover .nt-card-img img {
    transform: scale(1.025)
}

.nt-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 5;
    flex-wrap: wrap;
    max-width: calc(100% - 60px)
}

.nt-badge {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 8px;
    border-radius: 3px;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    color: #fff
}

    .nt-badge.orange {
        background: #ff6b12
    }

    .nt-badge.green {
        background: #378650
    }

    .nt-badge.red {
        background: #e83a35
    }

.nt-badge-discount {
    background: #111 !important;
    color: #fff !important
}

.nt-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    font-size: 19px;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    cursor: pointer
}

.nt-card-body {
    height: 148px;
    min-height: 148px;
    max-height: 148px;
    flex: 0 0 148px;
    padding: 9px 1px 0;
    display: grid;
    grid-template-rows: 29px 36px 38px 25px;
    row-gap: 4px
}

.nt-variants {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
    height: 29px;
    min-height: 29px;
    max-height: 29px;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    flex: 0 0 29px
}

.nt-variant-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    padding: 2px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    overflow: hidden
}

    .nt-variant-dot:first-child {
        border-color: #777
    }

    .nt-variant-dot img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
        object-position: center top
    }

.nt-variant-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    border: 1px solid #d8d8d8;
    border-radius: 50%;
    background: #f7f7f7;
    color: #333;
    font-size: 10px;
    font-weight: 700;
    line-height: 1
}

.nt-title {
    display: block;
    color: #222;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    overflow: hidden;
    flex: 0 0 36px
}

    .nt-title:hover {
        text-decoration: underline
    }

.nt-card-social {
    height: 38px;
    min-height: 38px;
    max-height: 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    overflow: hidden;
    font-size: 11px;
    line-height: 16px
}

.nt-card-favorite-info {
    height: 16px;
    line-height: 16px;
    color: #f27a1a;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.nt-card-rating {
    height: 16px;
    line-height: 16px;
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    overflow: hidden
}

    .nt-card-rating strong {
        font-size: 11px;
        color: #333;
        font-weight: 600
    }

.nt-card-stars {
    color: #f5a623;
    font-size: 11px;
    letter-spacing: 0;
    white-space: nowrap
}

.nt-card-review-count {
    color: #777;
    font-size: 10px;
    font-weight: 400
}

.nt-price {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 25px;
    min-height: 25px;
    max-height: 25px;
    margin-top: 0;
    font-size: 14px;
    font-weight: 700;
    flex: 0 0 25px
}

.nt-normal-price {
    color: #171717
}

.nt-old {
    color: #999;
    text-decoration: line-through;
    font-size: 12px;
    font-weight: 400
}

.nt-sale {
    color: #e32828;
    font-size: 14px;
    font-weight: 700
}

@media(max-width:1400px) {
    .nt-product-list-control {
        --nt-card-image-height: 280px
    }

    .nt-products .nt-card {
        flex-basis: calc((100% - 56px)/5);
        max-width: calc((100% - 56px)/5)
    }
}

@media(max-width:1200px) {
    .nt-product-list-control {
        --nt-card-image-height: 300px
    }

    .nt-products .nt-card {
        flex-basis: calc((100% - 42px)/4);
        max-width: calc((100% - 42px)/4)
    }
}

@media(max-width:980px) {
    .nt-product-list-control {
        --nt-card-image-height: 310px
    }

    .nt-products .nt-card {
        flex-basis: calc((100% - 28px)/3);
        max-width: calc((100% - 28px)/3)
    }
}

@media(max-width:760px) {
    .nt-product-list-control {
        --nt-card-image-height: 260px
    }

    .nt-products {
        gap: 12px
    }

        .nt-products .nt-card {
            flex-basis: calc((100% - 12px)/2);
            max-width: calc((100% - 12px)/2)
        }

    .nt-card {
        height: calc(var(--nt-card-image-height) + 138px);
        min-height: calc(var(--nt-card-image-height) + 138px);
        max-height: calc(var(--nt-card-image-height) + 138px)
    }

    .nt-card-body {
        height: 138px;
        min-height: 138px;
        max-height: 138px;
        flex-basis: 138px;
        padding-top: 7px;
        grid-template-rows: 26px 34px 36px 25px;
        row-gap: 3px
    }

    .nt-title {
        font-size: 12px;
        line-height: 17px;
        height: 34px;
        min-height: 34px;
        max-height: 34px;
        flex-basis: 34px
    }

    .nt-variant-dot, .nt-variant-more {
        width: 22px;
        height: 22px;
        flex-basis: 22px
    }

    .nt-variants {
        gap: 3px;
        height: 26px;
        min-height: 26px;
        max-height: 26px;
        flex-basis: 26px
    }

    .nt-variant-more {
        font-size: 9px
    }

    .nt-card-social {
        height: 36px;
        min-height: 36px;
        max-height: 36px;
        font-size: 10px;
        line-height: 15px;
        gap: 1px
    }

    .nt-card-favorite-info {
        height: 15px;
        line-height: 15px;
        font-size: 10px
    }

    .nt-card-rating {
        height: 15px;
        line-height: 15px;
        gap: 2px
    }

        .nt-card-rating strong, .nt-card-stars {
            font-size: 10px
        }

    .nt-card-review-count {
        font-size: 9px
    }

    .nt-slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 29px
    }

    .nt-slider-prev {
        left: 4px
    }

    .nt-slider-next {
        right: 4px
    }

    .nt-product-list-head h2 {
        font-size: 24px
    }

    .nt-product-list-all {
        font-size: 11px
    }
}
.nt-product-list-grid-mode .nt-product-slider-window {
    overflow: visible
}

.nt-product-list-grid-mode .nt-products {
    display: grid;
    grid-template-columns: repeat(var(--nt-satir-urun-sayisi),minmax(0,1fr));
    gap: 28px 14px;
    transform: none !important;
    transition: none
}

    .nt-product-list-grid-mode .nt-products .nt-card {
        width: 100%;
        max-width: none;
        min-width: 0;
        flex: none
    }

.nt-product-list-grid-mode .nt-slider-arrow {
    display: none !important
}

.nt-product-list-slider-mode .nt-product-slider-window {
    overflow: hidden
}

.nt-product-list-slider-mode .nt-products {
    display: flex;
    flex-wrap: nowrap
}

@media(max-width:1400px) {
    .nt-product-list-grid-mode .nt-products {
        grid-template-columns: repeat(5,minmax(0,1fr))
    }
}

@media(max-width:1200px) {
    .nt-product-list-grid-mode .nt-products {
        grid-template-columns: repeat(4,minmax(0,1fr))
    }
}

@media(max-width:980px) {
    .nt-product-list-grid-mode .nt-products {
        grid-template-columns: repeat(3,minmax(0,1fr))
    }
}

@media(max-width:760px) {
    .nt-product-list-grid-mode .nt-products {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 22px 12px
    }
}
/* Ürün kartı: puan ve favori tek satır, gereksiz boşluk yok */

.nt-card-body {
    display: grid !important;
    grid-template-rows: 29px 36px 18px 25px !important;
    row-gap: 4px !important;
    align-content: start !important;
}

    .nt-card-body .nt-title {
        margin: 0 !important;
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        line-height: 18px !important;
    }

    .nt-card-body .nt-card-social {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        height: 18px !important;
        min-height: 18px !important;
        max-height: 18px !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 6px !important;
        overflow: hidden;
    }

    .nt-card-body .nt-card-rating {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex: 0 0 auto;
        width: auto !important;
        height: 16px !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 3px !important;
    }

    .nt-card-body .nt-card-favorite-info {
        display: inline-block !important;
        flex: 0 0 auto;
        height: 16px !important;
        line-height: 16px !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: nowrap;
    }

    .nt-card-body .nt-price {
        height: 25px !important;
        min-height: 25px !important;
        max-height: 25px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

@media (max-width: 760px) {
    .nt-card-body {
        grid-template-rows: 26px 34px 18px 25px !important;
        row-gap: 3px !important;
    }

        .nt-card-body .nt-title {
            height: 34px !important;
            min-height: 34px !important;
            max-height: 34px !important;
            line-height: 17px !important;
        }
}

/* Ürün kartında görselin tamamı tıklanabilir olsun */
.nt-card-image-wrap {
    position: relative;
}

    /* Görsel bağlantısı bütün görsel alanını kaplasın */
    .nt-card-image-wrap .nt-card-img {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    /* Etiketler görsel tıklamasını engellemesin */
    .nt-card-image-wrap .nt-badges,
    .nt-card-image-wrap .nt-badges * {
        pointer-events: none !important;
    }

    /* Favori butonu tıklanabilir kalmalı */
    .nt-card-image-wrap .nt-heart {
        position: absolute;
        z-index: 5;
        pointer-events: auto !important;
    }
/* MOBİL - ÜRÜN SLIDER PARMAKLA KAYDIRMA */
@media (max-width: 768px) {

    .nt-product-slider-window {
        overflow: hidden;
    }

    .nt-products-slider-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        scroll-behavior: smooth;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

        .nt-products-slider-track::-webkit-scrollbar {
            display: none;
        }

        .nt-products-slider-track > .nt-card {
            flex: 0 0 auto !important;
            scroll-snap-align: start;
        }
}