/* Lazy Loading Animation */
.lazyload {
    position: relative;
    background: #f5f5f5;
    min-height: 200px;
    display: inline-block;
    width: 100%;
}

/* Shimmer efekti - arka plan */
.lazyload {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Spinner - merkezi yükleme göstergesi */
.lazyload::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lazyloaded::after {
    display: none;
}

.lazyloaded {
    background: transparent;
    animation: none;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Ürün resimleri için özel ayarlar */
.product-img .lazyload,
.product-img img.lazyload {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.product-img .lazyloaded,
.product-img img.lazyloaded {
    background: transparent;
    animation: none;
}

/* Banner ve kategori için */
.banner-img img.lazyload,
.category-wrapper img.featured_cat,
.category-thumb img.featured_cat {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    min-height: 100px;
}

.banner-img img.lazyloaded,
.category-wrapper img.featured_cat,
.category-thumb img.featured_cat {
    background: transparent;
    animation: none;
}

/* Resim yüklenene kadar placeholder gösterilmeli */
img.lazyload {
    opacity: 0.3; /* Placeholder SVG'yi biraz görünür yap */
}

/* Resim yüklendiğinde fade-in efekti */
img.lazyloaded {
    opacity: 1;
    animation: fadeIn 0.4s ease-in forwards;
}
.top-footer-banner {
    display: grid;
    grid-auto-flow: column;
    gap: 20px;
}
@keyframes fadeIn {
    from {
        opacity: 0.3;
    }
    to {
        opacity: 1;
    }
}


.banner-img img,
.category-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
}

.home-slider-link {
    display: block;
    width: 100%;
    height: 100%;
}

.sub-categories .card-2 {
    visibility: visible !important;
}

.product-cart-wrap {
    visibility: visible !important;

}

.carausel-10-columns-cover .carausel-10-columns .card-2 {
    width: 100% !important;
}

.category-strip-wrap {
    position: relative;
}

.slider-control {
    position: absolute;
    top: 40px;
    z-index: 5;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 14px 35px rgba(31, 97, 212, 0.08);
    color: #1f61d4;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-control.left {
    left: -8px;
}

.slider-control.right {
    right: -8px;
}

.category-slider {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-slider::-webkit-scrollbar {
    display: none;
}

.category-slider .category-item {
    flex: 0 0 auto;
    width: 118px;
    text-align: center;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-thumb {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1.5px solid #ff95c8;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.category-thumb img.featured_cat {
    width: 98px;
    height: 98px;
    border-radius: 50%;
    object-fit: contain;
}

.category-title {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
    color: #27384a;
    text-align: center;
    word-break: normal;
    overflow-wrap: normal;
}


.discount-container .banner-img.style-2 img.w-100 {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media only screen and (max-width: 780px) {

    .slider-control {
        display: none;
    }

    .category-slider {
        gap: 8px;
        padding: 0;
    }

    .category-slider .category-item {
        width: calc((100% - 15px) / 4);
        min-width: calc((100% - 15px) / 4);
    }

    .category-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        margin-bottom: 8px;
    }

    .category-thumb img.featured_cat {
        width: 78%;
        height: 78%;
    }

    .category-title {
        font-size: 12px;
        line-height: 1.15;
    }
}

.carausel-4-columns-cover .carausel-4-columns {
    margin-left: 1px;
    margin-right: 1px;
}

@media only screen and (max-width: 480px) {

    .carausel-4-columns-cover .carausel-4-columns .product-cart-wrap {
        min-height: 350px;
    }


    .carausel-4-columns-cover .carausel-4-columns-arrow {
        margin-top: -34px;
    }
}

@media (max-width: 767.98px) {
    .mobile-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-tabs .nav-link {
        white-space: nowrap;
        padding: 10px !important;
        margin: 0;
    }
}

@media (min-width: 768px) {
    .mobile-scroll {
        overflow-x: visible !important;
        flex-wrap: wrap !important;;
    }
}

.tab-content {
    display: block;
}


.product-item {
    display: block;
}

.tab-pane.show {
    display: block;
}

/* Kritik CSS - Sayfa yüklenirken görünen elementler için */
.main {
    display: block;
}

.container {
    padding-right: 10px;
    padding-left: 10px;
    margin-right: auto;
    margin-left: auto;
}


.product-cart-wrap {
    margin-bottom: 30px;
}


/* product-img-action-wrap içindeki padding'i kaldır veya azalt */
.product-img-action-wrap {
    padding: 0 !important;
}

.product-img-action-wrap .product-img {
    overflow: hidden;
}

/* En Çok Satanlar ve Yeni Eklenenler bölümleri için */
.product-list-small figure {
    position: relative;
    overflow: hidden;
    aspect-ratio: 286 / 215; /* Ürün resimlerinin aspect ratio'su */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.product-list-small figure a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-list-small figure img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: auto !important;
    height: auto !important;
    max-width: 100%;
}

.product-content-wrap {
    padding: 15px 0;
}

.add-cart {
    text-align: center;
}

.add-cart a {
    display: inline-block;
    padding: 8px 15px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
}

/* Mobil scroll için kritik CSS */
@media (max-width: 767.98px) {
    .mobile-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-tabs .nav-link {
        white-space: nowrap;
        padding: 10px !important;
        margin: 0;
    }

    .LocationSelect button {
        font-size: 14px;
        width: 100%;
        font-weight: 900;
    }

    .ts-control input {
        font-size: 16px !important;
    }
}


.ts-control, .ts-wrapper.single.input-active .ts-control {
    flex-direction: column;
    justify-content: center;
}


.ts-wrapper.single .ts-control input {
    height: 35px !important;
}

.ts-control .item {
    display: flex !important;
    align-items: center !important;
    padding: 0.375rem 0.15rem !important;
    line-height: 1.5 !important;
}

.ts-dropdown {
    border: 1px solid #ced4da !important;
    border-radius: 0.375rem !important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.ts-dropdown-content .option {
    padding: 0.5rem 0.75rem !important;
    font-size: 1rem !important;
}

.ts-dropdown-content .option:hover,
.ts-dropdown-content .option[data-selectable]:hover {
    background-color: #3e3e3e !important;
    cursor: pointer !important;
}

.ts-dropdown-content .option.active {
    background-color: #3e3e3e !important;
    color: white !important;
}

.LocationSelect .ts-wrapper {
    width: 100% !important;
    max-width: 100%;
}

.LocationSelect .ts-control {
    height: 29px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 14px;
}


.ts-control {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.ts-wrapper.disabled {
    opacity: 0.5;
    background-color: #fafafa;
}

.carausel-4-columns-cover {
    display: flex;
    justify-content: center;
}

.category-title {
    font-size: 13px;
}

@media (max-width: 420px) {
    .banner-img img.lazyload, .category-thumb img.featured_cat {
        min-height: auto;
    }

    .category-title {
        font-size: 10px;
        font-weight: 500 !important;
    }

}


.dynamic-home-product-grid {
    display: grid;
    grid-template-columns: repeat(var(--home-mobile-cols, 2), minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 992px) {
    .dynamic-home-product-grid {
        grid-template-columns: repeat(var(--home-desktop-cols, 6), minmax(0, 1fr));
    }
}

.dynamic-home-product-grid .home-product-grid-item {
    width: 100%;
    margin-bottom: 0!important;
}

/*
 * Anasayfa özel listeleri: masaüstü / mobil ürün limiti ayrı olduğunda iki grid kullanılır.
 * storefront main.css içinde Bootstrap display utility'leri olmadığı için d-none / d-md-none çalışmıyordu.
 * Masaüstü sütun şablonu bu dosyada 992px'de değiştiği için görünürlük eşiği de 992px ile hizalanır.
 */
@media (max-width: 991.98px) {
    .home-hp-list-grid--desktop {
        display: none !important;
    }
    .dynamic-home-product-grid {
        gap: 4px;
    }
}

@media (min-width: 992px) {

    .home-hp-list-grid--mobile {
        display: none !important;
    }
}

.home-settings-banner-list {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
    margin: 40px 0;
}

.home-settings-banner-list .home-settings-banner-item {
    width: 100%;
}

.home-settings-banner-item .banner-img img {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 768px) {
    .home-settings-banner-list {
        grid-template-columns: repeat(var(--home-banner-mobile-cols, 2), minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .home-settings-banner-list {
        grid-template-columns: repeat(var(--home-banner-desktop-cols, 4), minmax(0, 1fr));
    }
}

html.page-home-index .home-banner-group-slider-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 0;
    margin: 40px 0;
    width: 100%;
}

html.page-home-index .home-banner-group-slider-shell--has-arrows {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 10px;
}

html.page-home-index .home-banner-group-slider-nav {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

html.page-home-index .home-banner-group-slider-shell--has-arrows .home-banner-group-slider-nav {
    display: flex;
}

html.page-home-index .home-banner-group-slider-nav .home-banner-group-slider-arrow {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    line-height: 1;
    font-size: 22px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

html.page-home-index .home-banner-group-slider-nav .home-banner-group-slider-arrow i {
    display: block;
    line-height: 1;
    margin: 0;
}

html.page-home-index .home-banner-group-slider-nav .home-banner-group-slider-arrow.slider-prev i {
    margin-right: 0;
}

html.page-home-index .home-banner-group-slider-nav .home-banner-group-slider-arrow.slider-next i {
    margin-left: 0;
}

html.page-home-index .home-banner-group-slider-nav .home-banner-group-slider-arrow:hover {
    background: var(--theme-default-color, #77003e);
    border-color: var(--theme-default-color, #77003e);
    color: #fff;
}

html.page-home-index .home-banner-group-slider-nav .home-banner-group-slider-arrow:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

html.page-home-index .home-banner-group-slider-main {
    min-width: 0;
    overflow: hidden;
}

html.page-home-index .home-settings-banner-slider.carausel-4-columns {
    width: 100%;
    overflow: hidden !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

html.page-home-index .home-settings-banner-slider:not(.slick-initialized) {
    overflow: hidden;
}

html.page-home-index .home-settings-banner-slider .slick-list {
    overflow: hidden !important;
    margin: 0;
    padding: 0 2px 8px;
}

html.page-home-index .home-settings-banner-slider .slick-track {
    display: flex !important;
    align-items: stretch;
}

html.page-home-index .home-settings-banner-slider .slick-slide {
    float: none;
    display: flex !important;
    height: auto;
    align-items: stretch;
    padding-left: 4px;
    padding-right: 4px;
    box-sizing: border-box;
}

html.page-home-index .home-settings-banner-slider .slick-slide > .home-settings-banner-item {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

html.page-home-index .home-settings-banner-slider .home-settings-banner-item .banner-img {
    width: 100%;
}

html.page-home-index .home-settings-banner-slider .home-settings-banner-item .banner-img img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 767.98px) {
    html.page-home-index .home-banner-group-slider-shell--has-arrows {
        grid-template-columns: 36px minmax(0, 1fr) 36px;
        gap: 6px;
    }

    html.page-home-index .home-banner-group-slider-nav .home-banner-group-slider-arrow {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }
}

@media (min-width: 1200px) {
    .home-slider-no-side-banner .home-slide-cover,
    .home-slider-no-side-banner .hero-slider-1,
    .home-slider-no-side-banner .single-hero-slider {
        height: clamp(360px, 36vw, 560px);
    }

    .home-slider-no-side-banner .slider-img {
        height: 100% !important;
        object-fit: cover !important;
    }
}

/* Bootstrap-free layout for homepage slider + discount section */
.home-slider-section {
    position: relative;
    padding: 0;
    margin: 0.75rem 0 1.25rem;
}

.home-slider-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.home-slider-main,
.home-slider-side {
    min-width: 0;
}

.home-slider-side {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
}

.home-side-banner-wrap {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.home-side-banner-card {
    width: 100%;
    max-width: 521px;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #f0dbe6;
}

.home-side-banner-img {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 1200px) {
    .home-slider-no-side-content .home-slider-layout {
        grid-template-columns: 1fr;
    }
}

.home-delivery-widget {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.home-slider-img {
    width: 100%;
    height: 100%;
    display: block;
}

.discount-title-row {
    margin-bottom: 0.75rem;
}

.section-link-inline {
    display: inline-flex;
    align-items: center;
}

.section-link-icon {
    margin-left: 0.25rem;
}

.discount-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.discount-layout.has-side-banner {
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 3fr);
}

.discount-banner-col {
    display: none;
}

.discount-products-col {
    min-width: 0;
}

.discount-banner-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
}

/* ≥992px: banner + ürünler yan yana (1024 tablet dahil) */
@media (min-width: 992px) {
    .discount-layout.has-side-banner .discount-banner-col {
        display: flex;
    }

    .discount-layout.has-side-banner:not(.discount-layout--sized-banner) {
        --discount-banner-col-fr: 3fr;
        --discount-product-col-fr: 9fr;
        grid-template-columns: minmax(200px, var(--discount-banner-col-fr)) minmax(0, var(--discount-product-col-fr));
    }

    .discount-layout.has-side-banner.discount-layout--sized-banner {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .discount-layout.has-side-banner.discount-layout--sized-banner .discount-banner-col {
        width: max-content;
        max-width: 100%;
        align-self: start;
    }

    .discount-layout.has-side-banner.discount-layout--sized-banner .discount-products-col {
        min-width: 0;
        width: 100%;
    }
}

/* <992px: banner üstte, ürün slider altta */
@media (max-width: 991.98px) {
    .discount-layout.has-side-banner,
    .discount-layout.has-side-banner.discount-layout--sized-banner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: auto auto;
        gap: 0.75rem;
    }

    .discount-layout.has-side-banner:not(.discount-layout--has-mobile-banner) {
        grid-template-rows: auto;
    }

    .discount-layout.has-side-banner:not(.discount-layout--has-mobile-banner) .discount-banner-col {
        display: none !important;
    }

    .discount-layout.has-side-banner.discount-layout--has-mobile-banner .discount-banner-col,
    .discount-layout.has-side-banner.discount-layout--has-mobile-banner.discount-layout--sized-banner .discount-banner-col {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        align-self: stretch;
        justify-content: center;
    }

    .discount-layout.has-side-banner .discount-products-col {
        width: 100%;
        min-width: 0;
    }

    .discount-layout.has-side-banner .discount-banner-frame--desktop {
        display: none !important;
    }

    .discount-layout.has-side-banner.discount-layout--has-mobile-banner .discount-banner-frame--mobile {
        display: block;
        width: 100%;
    }

    .discount-layout.has-side-banner:not(.discount-layout--has-mobile-banner) .discount-banner-frame--mobile {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .discount-banner-frame--mobile {
        display: none !important;
    }

    .discount-banner-frame--desktop {
        display: block;
    }
}

@media (max-width: 1199.98px) {
    .home-slider-layout {
        grid-template-columns: 1fr;
    }

    .home-slider-side {
        justify-content: center;
    }

    .home-delivery-widget {
        justify-content: center;
    }
}

/* Anasayfa liste kartları */
.md-product-section {
    padding: 45px 0;
}

.md-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.md-section-title h3 {
    font-size: 28px;
    font-weight: 600;
    color: #2f2f2f;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
}

.md-product-card {
    background: #fff;
    border-radius: 18px;
    padding: 0px;
    height: 100%;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
    font-family: "Poppins", sans-serif;
    border: 1px solid #c72d7d24;
}

.md-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07), 0 8px 20px rgba(0, 0, 0, 0.08);
}

.md-product-img-box {
    position: relative;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: transparent;
}

.md-product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: none;
    display: block;
    transition: transform .4s ease;
}
.discount-md-slide .md-product-img-box img{
    object-fit: none!important;
}



.md-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #59683e;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 9px;
    z-index: 3;
    letter-spacing: .3px;
}

.md-product-content {
    text-align: center;
    padding: 0px;
}

.md-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0px;
}

.md-divider::before,
.md-divider::after {
    content: "";
    height: 1px;
    background: #e7e0d5;
    flex: 1;
}

.md-divider span {
    color: #d9b56d;
    font-size: 17px;
    line-height: 1;
}

.md-product-title {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 12px;
}

.md-product-title a {
    color: #333;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-content-wrap h3,
.product-content-wrap .ptitleh {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
}

.product-content-wrap h3 a,
.product-content-wrap .ptitleh a {
    color: inherit;
    text-decoration: none;
}

.md-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 62px;
    margin-bottom: 2px;
}

.md-price .old-price {
    display: block;
    color: #8a0048;
    font-size: 17px;
    text-decoration-line: line-through;
    margin-bottom: 4px;
    min-height: 26px;
}

.md-price .old-price .price-main,
.md-price .old-price .price-fraction {
    text-decoration-line: line-through;
}

.md-price .old-price.is-empty {
    visibility: hidden;
}

.md-price .current-price {
    display: block;
    color: #d41476;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: .4px;
}

.md-price .price-main {
    display: inline-block;
}

.md-price .price-fraction {
    display: inline-block;
    font-size: .62em;
    position: relative;
    top: -4px;
    margin-left: 1px;
}

.md-buy-btn {
    width: 100%;
    height: 44px;
    border-radius: 9px;
    background: #fff;
    border: 1px solid #efd4e2;
    color: #77003e;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: all .25s ease;
}

.md-buy-btn:hover {
    background: #c72d7d;
    border-color: #c72d7d;
    color: #fff;
}

.md-buy-btn > span:first-child {
    display: none;
}

.md-buy-btn::before {
    content: "";
    width: 18px;
    height: 18px;
    display: inline-block;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 7h-2.17A3 3 0 0 0 18 6a3 3 0 0 0-5.5-1.66A3 3 0 0 0 7 6c0 .35.06.69.17 1H5a2 2 0 0 0-2 2v3h1v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8h1V9a2 2 0 0 0-2-2ZM15 5a1 1 0 0 1 0 2h-1V6a1 1 0 0 1 1-1Zm-6 1a1 1 0 0 1 2 0v1h-1a1 1 0 0 1-1-1Zm-4 3h6v2H5V9Zm1 11v-7h5v7H6Zm7 0v-7h5v7h-5Zm6-9h-6V9h6v2Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 7h-2.17A3 3 0 0 0 18 6a3 3 0 0 0-5.5-1.66A3 3 0 0 0 7 6c0 .35.06.69.17 1H5a2 2 0 0 0-2 2v3h1v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8h1V9a2 2 0 0 0-2-2ZM15 5a1 1 0 0 1 0 2h-1V6a1 1 0 0 1 1-1Zm-6 1a1 1 0 0 1 2 0v1h-1a1 1 0 0 1-1-1Zm-4 3h6v2H5V9Zm1 11v-7h5v7H6Zm7 0v-7h5v7h-5Zm6-9h-6V9h6v2Z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.discount-md-slide .md-product-card {
    max-width: 100%;
}

/* İndirimdekiler slider — slick sığdırma (overflow:hidden) + kenarlık için minimal iç boşluk */
html.page-home-index .discount-container .carausel-4-columns-cover {
    padding: 0 0 22px;
    overflow: hidden;
}

html.page-home-index .discount-container .discount-section-carousel.carausel-4-columns {
    overflow: hidden !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

html.page-home-index .discount-container .discount-section-carousel .slick-list {
    overflow: hidden !important;
    padding: 2px 1px 16px;
    margin: 0;
}

html.page-home-index .discount-container .discount-section-carousel .slick-slide {
    padding-left: 2px;
    padding-right: 2px;
    box-sizing: border-box;
}

html.page-home-index .discount-container .discount-section-carousel .slick-slide > div {
    width: 100%;
    height: 100%;
}

/* Kategori slider */
html.page-home-index .home-category-cards-section .home-pc4-carousel .slick-slide {
    padding-left: 2px;
    padding-right: 2px;
    box-sizing: border-box;
}

html.page-home-index .home-pc4-carousel.carausel-4-columns .slick-list {
    margin-left: 0;
    margin-right: 0;
}

html.page-home-index .home-pc4-carousel.carausel-4-columns .slick-slide > div {
    width: 100%;
}

.discount-container .discount-md-slide {
    padding-left: 0;
    padding-right: 0;
}

/* Anasayfa kategori ürün slider kartları: arka plan beyaz */
.home-category-cards-section {
    background-color: #fff;
}

.home-category-cards-section .product-cart-wrap {
    background-color: #fff !important;
}

.home-category-cards-section .product-img-action-wrap,
.home-category-cards-section .product-content-wrap {
    background-color: #fff;
}

.product-price .old-price {
    color: #8a0048;
}

.product-price > span:not(.old-price) {
    color: #77003e;
}

.product-cart-wrap .product-card-bottom .add-cart .add {
    background: #fff;
    border: 1px solid #77003e;
    color: #77003e;
    font-size: 20px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-cart-wrap .product-card-bottom .add-cart .add::before {
    content: "";
    width: 18px;
    height: 18px;
    display: inline-block;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 7h-2.17A3 3 0 0 0 18 6a3 3 0 0 0-5.5-1.66A3 3 0 0 0 7 6c0 .35.06.69.17 1H5a2 2 0 0 0-2 2v3h1v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8h1V9a2 2 0 0 0-2-2ZM15 5a1 1 0 0 1 0 2h-1V6a1 1 0 0 1 1-1Zm-6 1a1 1 0 0 1 2 0v1h-1a1 1 0 0 1-1-1Zm-4 3h6v2H5V9Zm1 11v-7h5v7H6Zm7 0v-7h5v7h-5Zm6-9h-6V9h6v2Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 7h-2.17A3 3 0 0 0 18 6a3 3 0 0 0-5.5-1.66A3 3 0 0 0 7 6c0 .35.06.69.17 1H5a2 2 0 0 0-2 2v3h1v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8h1V9a2 2 0 0 0-2-2ZM15 5a1 1 0 0 1 0 2h-1V6a1 1 0 0 1 1-1Zm-6 1a1 1 0 0 1 2 0v1h-1a1 1 0 0 1-1-1Zm-4 3h6v2H5V9Zm1 11v-7h5v7H6Zm7 0v-7h5v7h-5Zm6-9h-6V9h6v2Z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.product-cart-wrap .product-card-bottom .add-cart .add:hover {
    background: #c72d7d;
    border-color: #c72d7d;
    color: #fff;
}

@media (max-width: 991px) {
 
    .discount-md-slide .md-product-img-box img{
        object-fit: contain
        !important;
    }
    .md-product-title a {
        font-size: 16px;
    }

    .md-price .current-price {
        font-size: 20px;
    }

    .md-buy-btn {
        height: 48px;
        font-size: 15px;
    }
}

@media (max-width: 575px) {
  
    .md-product-img-box img {
        object-fit: cover;
    }
    .md-section-title h3 {
        font-size: 20px;
    }

    .md-product-section {
        padding: 30px 0;
    }


    .md-product-title {
        min-height: 48px;
    }

    .md-product-title a {
        font-size: 14px;
    }

    .product-content-wrap h3,
    .product-content-wrap .ptitleh {
        font-size: 14px;
    }

    .md-price .old-price {
        font-size: 14px;
    }

    .md-price .current-price {
        font-size: 17px;
    }

    .md-buy-btn {
        height: 44px;
        font-size: 12px;
    }
    .top-footer-banner {
        grid-auto-flow: row;
        gap: 10px;
    }
}

/* Slider yanı teslimat / il seçimi (meyveliduslerbanner referansı) */
.home-delivery-widget {
    font-family: 'Poppins', sans-serif;
    width: 100%;
    max-width: 425px;
}

.home-delivery-widget .delivery-side-card {
    width: 100%;
    max-width: 425px;
    min-height: 261px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #f0dbe6;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.home-delivery-widget .delivery-side-top {
    padding: 18px;
    display: grid;
    grid-template-columns: 50px 1fr;
    column-gap: 13px;
    row-gap: 12px;
    align-items: start;
}

.home-delivery-widget .delivery-side-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: #fff7fb;
    border: 1px solid #f0dbe6;
    color: #d41476;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: .25s ease;
}

.home-delivery-widget .delivery-side-card:hover .delivery-side-icon {
    background: #d41476;
    color: #fff;
}

.home-delivery-widget .delivery-side-content h3 {
    margin: 0 0 4px;
    font-size: 19px;
    line-height: 1.25;
    color: #1d2d3c;
    font-weight: 400;
}

.home-delivery-widget .delivery-side-content h3 strong {
    font-weight: 700;
}

.home-delivery-widget .delivery-side-content p {
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
    color: #667085;
}

.home-delivery-widget .delivery-search {
    position: relative;
    width: 100%;
    grid-column: 1 / -1;
}

.home-delivery-widget .delivery-search-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
}

.home-delivery-widget .delivery-search-btn {
    height: 43px;
    border: 1px solid #ead5e0;
    background: #fff;
    border-radius: 12px;
    padding: 0 14px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    color: #1d2d3c;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-delivery-widget .delivery-search-btn-select {
    flex: 1;
    min-width: 0;
}

.home-delivery-widget .delivery-search-btn-select #homeSelectedCityText {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.home-delivery-widget .delivery-search-btn-clear {
    flex: 0 0 auto;
    justify-content: center;
    padding: 0 16px;
    white-space: nowrap;
}

.home-delivery-widget .delivery-search-btn:hover {
    border-color: #d41476;
}

.home-delivery-widget .delivery-search-btn i {
    color: #d41476;
    transition: .25s ease;
}

.home-delivery-widget .delivery-search.active .delivery-search-btn-select i {
    transform: rotate(180deg);
}

.home-delivery-widget .city-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ead5e0;
    border-radius: 14px;
    z-index: 50;
    padding: 10px;
    box-shadow: 0 8px 24px rgba(29, 45, 60, 0.08);
}

.home-delivery-widget .delivery-search.active .city-dropdown {
    display: block;
}

.home-delivery-widget .city-dropdown input {
    width: -webkit-fill-available;
    height: 38px;
    border: 1px solid #ead5e0;
    border-radius: 10px;
    padding: 0 12px;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    margin-bottom: 8px;
}

.home-delivery-widget .city-dropdown input:focus {
    border-color: #d41476;
}

.home-delivery-widget .city-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 145px;
    overflow-y: auto;
}

.home-delivery-widget .city-dropdown li {
    padding: 8px 10px;
    border-radius: 9px;
    font-size: 13px;
    cursor: pointer;
}

.home-delivery-widget .city-dropdown li:hover {
    background: #fff0f7;
    color: #d41476;
}

.home-delivery-widget .side-benefits {
    margin: 0 12px 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
}

.home-delivery-widget .side-benefit-item {
    min-height: 68px;
    padding: 24px 4px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #f0dbe6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
    transition: .25s ease;
}

.home-delivery-widget .side-benefit-item:hover {
    background: #fff7fb;
    border-color: #d41476;
}

.home-delivery-widget .side-benefit-item i {
    font-size: 20px;
    color: #d41476;
}

.home-delivery-widget .side-benefit-item span {
    font-size: 9.5px;
    line-height: 1.2;
    color: #1d2d3c;
    font-weight: 700;
}

@media (max-width: 575px) {
    .home-delivery-widget .delivery-side-card {
        border-radius: 15px;
        min-height: 0;
        margin-top: 20px;
    }

    .home-delivery-widget .delivery-side-top {
        grid-template-columns: 46px 1fr;
        padding: 16px;
    }

    .home-delivery-widget .delivery-side-icon {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        font-size: 25px;
    }

    .home-delivery-widget .delivery-side-content h3 {
        font-size: 17px;
    }

    .home-delivery-widget .side-benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-delivery-widget .side-benefit-item {
        min-height: 70px;
        padding: 4px 4px;
    }

}
