/* pl-items + overlay alanı */
.pl-items {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.pl-items .video{
    border-radius: 6px;
    overflow: hidden;
}
.pl-items .pl-info-block {
    width: 94%;
    margin: auto;
    position: absolute;
    z-index: 2;
    bottom: 12px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.1);
    align-items: center;
    display: flex;
    cursor: pointer;
    background-color: #ffffffcc;
    border-radius: 7px;
    padding: 6px;
    gap: 15px;
    max-width: 100%;
    
}
.pl-items .pl-info-block img.sc-img {
    width: 60px;
    height: 72px;
    max-height: 72px;
    object-fit: cover;
    border-radius: 3px;
}

.pl-items .pl-info-block .name{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
    text-align: center;
}
.pl-items .pl-info-block .prodcut-name {

    margin: 0;
    font-weight: 600;
    font-size: 11px;
    color: #181818;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 13px;
}
.pl-items .pl-info-block .name a, .pl-items .pl-info-block .name .btns {
    display: block;
    font-size: 11px;
    line-height: 14px;
    font-weight: 600;
    margin: 0 4px 0 0 !important;
    color: #f35111;
}

.pl-items .pl-info-block .nl-price {
    margin: 10px 0;
    font-size: 12px;
    font-weight: 600;
    color: #181818;
    display: flex;
    gap: 8px;
    align-items: center;
    line-height: normal;
    justify-content: center;
}

.pl-items .pl-info-block .nl-price-old {
    opacity: 0.75;
    text-decoration: line-through;
    font-weight: 400;
}
.pl-items .pl-info-block .name .btns  img {
    width: 16px;
}
.pl-items video {
    width: 100%;
    display: block;
    border-radius: 6px;
}

.swiper-card .swiper-slide-content{
    border-radius: 6px;
    overflow: hidden;
}

/* cavalle-section: modül body padding sıfırla */
.cavalle-section .p-g-mod-body {
    padding: 0!important;
}

/* swiper-card temel stiller */
.swiper-card {
    user-select: none;
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
    height: 100%;
    padding: 0px 0px;
    position: relative;
}
.swiper-card .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    box-sizing: border-box;
}
.swiper-card .swiper-slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}
.swiper-card .swiper-slide video {
    pointer-events: none;
}

/* swiper navigation okları (genel) */
.swiper-button-next:after, .swiper-button-prev:after {
    color: #000;
    --swiper-navigation-size: 20px;
}

/* mobilde cavalle başlık fontu */
.cavalle-section .pattern-group-header .p-g-h-info .p-g-h-i-title {
    font-size: 22px;
}

/* mobilde swiper ok boyutu (genel) */
.swiper-button-next:after, .swiper-button-prev:after {
    --swiper-navigation-size: 25px;
}

/* swiper navigation renk */
:root {
    --swiper-navigation-color: rgba(0, 0, 0, 1);
}

/* Category filter side panel (desktop + mobile) */
body.hidden-scroll {
    overflow: hidden;
}

.category-filter-order .list-wrap .list .list-first,
.category-filter-order .list-wrap .list .list-last {
    display: flex;
    align-items: center;
}

.cat-filter-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    color: #212121;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    user-select: none;
    cursor: pointer;
    text-decoration-line: underline;
}

.cat-page-filter-block.active .pattern-group-body .p-g-b-c-wrapper{
    padding: 20px 24px;
}

.cat-page-filter-block .pattern-group-body {
    position: fixed;
    left: -105%;
    right: unset;
    top: 0;
    bottom: 0;
    z-index: 1002;
    background: #fff;
    border-left: 0;
    border-right: 1px solid #f4f4f4;
    overflow: unset;
    transition: 0.5s;
    max-width: 400px;
    width: 100vh;
}

.cat-page-filter-block.active .pattern-group-body {
    left: 0;
}

.filter-close-block .right .close-btn {
    cursor: pointer;
    user-select: none;
}

.pattern-group-body .p-g-mod-t-cat-filter .p-g-mod-header-p-0 .p-g-m-h-icon {
    width: fit-content;
    font-size: 13px;
}

.categories-body .p-g-mod-t-cat-filter .p-g-mod-header {
    display: flex;
    flex-direction: row-reverse;
}

.categories-body .p-g-mod-t-cat-filter .p-g-mod-body {
    display: none;
    margin-top: 15px;
    padding: 0px 5px !important;
}

.categories-body .p-g-mod-t-cat-filter .p-g-mod-header.active .p-g-m-h-info .p-g-m-h-i-title {
    font-weight: 500 !important;
    color: #000;
}

.categories-body .p-g-mod-t-cat-filter .p-g-mod-body .category-filter-list .list-wrap .list {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.categories-body .p-g-mod-t-cat-filter .p-g-mod-body .category-filter-list .list-wrap .list li {
    font-size: 13px;
    color: #575757;
}

.categories-body .p-g-mod-t-cat-filter .p-g-mod-body .category-filter-list .list-wrap .list li span {
    border: 1px solid #ccc;
    border-radius: 0px;
    height: 13px;
    width: 13px;
}

.categories-body .p-g-mod-t-cat-filter .p-g-mod-body .category-filter-list .list-wrap .list li span::before,
.categories-body .p-g-mod-t-cat-filter .p-g-mod-body .category-filter-list .list-wrap .list li span::after {
    display: none;
}

.categories-body .p-g-mod-t-cat-filter .p-g-mod-body .category-filter-list .list-wrap .list li .lag-checkbox {
    height: auto;
    line-height: normal;
    align-items: center;
}

.filter-close-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f4f4f4;
}

.filter-close-block .left .small-title {
    font-size: 16px;
    font-weight: 500;
    color: #000;
}

.filter-close-block .left .title {
    color: #0A0400;
    font-size: 16px;
    font-weight: 500;
}

.filter-close-block .right .close-btn svg {
    width: 22px;
    height: 100%;
}

.category-filter-order .list-wrap .list .list-first {
    align-items: center;
}

/* Mobile overrides (<= 991px) */
@media (max-width: 991px) {

    .cat-page-filter-block .pattern-group-body {
        position: fixed;
        z-index: 1002;
        background: #fff;
        border-left: 0;
        border-right: 1px solid #f4f4f4;
        overflow: auto;
        transition: 0.5s;
        width: 100%;
    }

    .cat-page-filter-block.active .pattern-group-body .p-g-b-c-wrapper {
        padding: 0;
    }
    .cat-page-filter-block .pattern-group-body .p-g-b-c-inner {
        max-height: 650px;
        overflow: auto;
    }

    .categories-body .p-g-mod-t-cat-filter .p-g-mod-header .p-g-m-h-icon {
        font-size: 15px;
        width: auto;
    }

    .categories-body .p-g-mod-t-cat-filter .p-g-mod-header {
        display: flex;
        flex-direction: row-reverse;
        padding: 10px 0 15px 0;
        height: auto;
        margin-bottom: 25px;
    }

    .cat-page-filter-block.active .pattern-group-body .p-g-b-c-inner .p-g-mod-t-26 {
        margin: 0px;
    }

    .filter-close-block .mobil-close {
        position: absolute;
        right: 0;
        left: 0;
        top: 0px;
        background: #000;
        width: 140px;
        height: 3px;
        border-radius: 200px;
        margin: 0 auto;
        z-index: 2;
        display: none;
    }

    .cat-page-filter-block.active .pattern-group-body .p-g-b-c-inner {
        overflow: auto;
    }

    .filter-close-block {
        padding: 0 0 12px 0;
        position: relative;
    }

    .filter-close-block .left {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        line-height: normal;
        width: 100%;
    }

    .filter-close-block .left .title {
        font-size: 14px;
        font-weight: 300;
        color: #575757;
    }

    .filter-close-block .left .small-title {
        color: #0A0400;
        font-size: 16px;
        font-weight: 500;
    }

    .filter-close-block .right {
        display: none;
    }

    .cat-page-filter-block .pattern-group-body {
        /* Mobilde de desktop gibi soldan açılsın (bottom-sheet iptal) */
        height: auto;
        top: 0;
        bottom: 0;
        left: -105%;
        right: unset;
        padding: 20px 16px;
    }

    .cat-page-filter-block.active .pattern-group-body {
        left: 0;
    }
}

/* Ürün Detay - Normal (altta) görsel alanı indirim oranı */
#product-profile-carousel.product-carousel-desktop.normal .carousel-outer{
    position: relative;
}

#product-profile-carousel.product-carousel-desktop.normal .carousel-outer .discount{
    position: absolute;
    right: 15px;
    top: 10px;
    background: #fff;
    color: red;
    z-index: 9;
    width: 45px;
    text-align: center;
    font-weight: 500;
}

/* Ürün Kartı - Ücretsiz kargo + Yeni rozetleri üst üste binmesin */
.card-product .card-product-inner .card-badges{
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.card-product .card-product-inner .card-badges .free-cargo-badge{
    position: static;
    left: auto;
    top: auto;
    right: auto;
}