/* Genel Ayarlar */
.item-product-name { 
    flex-grow: initial; 
}

.item-product-price .item-product-disc { 
    font-weight: 600 !important; 
    font-size: 15px !important; 
	margin-top: inherit !important;
}

.item-product-price {
	margin-top: inherit !important;
}

.ny-box-1 > .storiesBox .owl-stage-outer { 
    padding-top: 40px !important; /* Küçük ikonlar üst boşluk */
} 

.ny-box-1 > .storiesBox .info-box p { 
    margin-top: 10px; /* Küçük ikonlar yazı üst boşluk */
} 

.ny-filter-item label { 
    margin-bottom: 10px !important; /* Sol filtre alanları arası boşluk */
} 

/* Fiyat Alanı Düzenlemesi (Hizalama bozulmaması için inline-flex yapıldı) */
.product-price-sale .price, 
.product-price-old .price2, /* Aradaki boşluk düzeltildi */
.product-price-old.price2 {
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center;
}


/* Ürün resimlerinin 1.sini büyük yapar ve çerçeveyi kaldırır */
.productPhotos, .image-wrapper, .product-video-image { 
    border: none !important; 
    box-shadow: none !important; 
    padding: 0 !important; 
}

#con > div:first-child {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

#con > div:first-child .product_IMG { 
    border: none !important;
    width: 100% !important;
    height: 500px !important; 
    object-fit: contain !important; 
    background-color: #fff; 
}

@media (max-width: 768px) {
    #con > div:first-child .product_IMG {
        height: 350px !important; 
    }
}

/* Mobilde tümünü gör yazısını alta alır */
@media (max-width: 768px) {
    .productTitle {
        display: flex !important;
        flex-direction: column !important; 
        align-items: center !important;    
        text-align: center !important;
    }

    .home-product-see-btn {
        float: none !important;            
        margin: 10px 0 0 0 !important;      
        position: static !important;       
        display: inline-block !important;
    }
}

/* Ürün Resim Alanı Optimizasyonu (CLS ve Hız Ayarı) */
.product-item img, 
.showcase-image img, 
.fl.col-12.imgHolder img, 
.product-image-wrapper img {
    aspect-ratio: 1 / 1 !important; 
    object-fit: cover !important; /* Resimler 1:1 kareye zorlanırken basıklaşmasın/yamulmasın diye eklendi */
    width: 100% !important;
    height: auto !important;
    display: block !important;
    background-color: #f7f7f7; 
    content-visibility: auto; 
    image-rendering: -webkit-optimize-contrast; 
}

/* Sayfa yüklenirken kutuların zıplamasını engellemek için kapsayıcıyı sabitle */
.product-image-wrapper, .showcase-image, .imgHolder {
    aspect-ratio: 1 / 1 !important;
    overflow: hidden;
    background: #f7f7f7;
}

/* Buton ve İkon Ayarları */
#scrollTopBtn { bottom: 10px !important; width: 50px !important; height: 50px !important; } 
.whatsappOrder { height: 50px !important; width: 50px !important; border-radius: 50% !important; }



/* BreadCrumb sağa doğru uzamasını sağlayan alan başlangıç*/

@media (max-width: 768px) {
  .customBreadcrumb {
    display: flex !important;
    flex-wrap: nowrap !important; /* Alt alta kırılmayı kesin olarak engeller */
    overflow-x: auto !important;  /* Sağa doğru kaydırmayı açar */
    overflow-y: hidden !important;
    padding-bottom: 8px !important;
    -webkit-overflow-scrolling: touch; 
  }

  .customBreadcrumb .breadcrumb-item {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;    /* Elemanların sıkışıp daralmasını engeller */
    white-space: nowrap !important; /* Kelimelerin alt satıra geçmesini önler */
  }

  .customBreadcrumb .breadcrumb-item a {
    white-space: nowrap !important; /* Link metninin tek satırda kalmasını zorlar */
    display: inline-block !important;
  }
  
  /* Mobil kaydırma çubuğunu gizler, tertemiz bir görüntü sunar */
  .customBreadcrumb::-webkit-scrollbar {
    display: none !important;
  }
}

/* BreadCrumb sağa doğru uzamasını sağlayan alan bitiş*/

/* 
.product-slider .swiper-button-next { border: none !important;}
.horizontal > .swiper-button-prev-new { display: none !important;}
.horizontal > .swiper-button-next-new { display: none !important;}
*/


/* ==========================================
   MADRENINO 4'LÜ BÜYÜK ÜRÜN VİTRİNİ
========================================== */

/* 1. SİTENİN ORİJİNAL FONTUNU ZORUNLU KILAR (İkonlar Hariç Tutuldu) */
#home_product_zone,
#home_product_zone *:not(i):not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not([class*="icon"]) {
    font-family: inherit !important;
    box-sizing: border-box !important;
}

#home_product_zone {
    padding: 25px 0 !important;
    background: #ffffff !important;
}

/* 2. BAŞLIK VE TÜMÜNÜ GÖR BUTONU */
#home_product_zone .productTitle {
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

#home_product_zone .home-product-title a {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    text-decoration: none !important;
    letter-spacing: -0.4px !important;
}

#home_product_zone .home-product-see-btn {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #111111 !important;
    background: #f5f5f7 !important;
    padding: 6px 16px !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    float: none !important;
}

#home_product_zone .home-product-see-btn:hover {
    background: #E31E24 !important;
    color: #ffffff !important;
}

/* 3. SLIDER'I 4'LÜ BÜYÜK KART DÜZENİNE ZORLAMA (MASAÜSTÜ) */
@media (min-width: 992px) {
    #home_product_zone .swiper-slide {
        width: calc(25% - 18px) !important; /* Ekranı 4 eşit parçaya böler */
        margin-right: 24px !important;
    }
}

/* 4. ÇERÇEVESİZ LÜKS KART YAPISI */
#home_product_zone .productBox {
    background: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
}

/* 5. GENİŞLETİLMİŞ SAF BEYAZ RESİM KAPSAYICISI */
#home_product_zone .item-product-image-box {
    position: relative !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    aspect-ratio: 1 / 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 10px !important;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

#home_product_zone .home-cmp-prd-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 0px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 6. MİKRO İNDİRİM ROZETİ */
#home_product_zone .item-product-disc.salePriceBox {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 99 !important;
    background: #E31E24 !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 2px 6px !important;
    height: auto !important;
    min-height: 0 !important;
    border-radius: 4px !important;
    line-height: 1.2 !important;
    box-shadow: 0 2px 6px rgba(227, 30, 36, 0.2) !important;
    margin: 0 !important;
}

/* 7. VİDEOLU VE KAMPANYALI ÜRÜN ROZETLERİ (İKON DÜZELTMELİ) */
#home_product_zone .label-sale {
    background: rgba(17, 17, 17, 0.85) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    padding: 3px 6px !important;
}

#home_product_zone .offer-info {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: #fff4f4 !important;
    color: #E31E24 !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
    margin-bottom: 4px !important;
    border: 1px solid rgba(227, 30, 36, 0.12) !important;
    width: max-content !important;
}

#home_product_zone .offer-info i {
    font-family: "Font Awesome 5 Free", "FontAwesome", sans-serif !important;
    font-weight: 900 !important;
    color: #E31E24 !important;
    display: inline-block !important;
}

/* 8. YILDIZLAR VE DEĞERLENDİRME (İKON DÜZELTMELİ) */
#home_product_zone .comments-box {
    margin-bottom: 3px !important;
    display: block !important;
}

#home_product_zone .ny-rating {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
}

#home_product_zone .comment-star, 
#home_product_zone .fa-star,
#home_product_zone .ny-rating i {
    font-family: "Font Awesome 5 Free", "FontAwesome", sans-serif !important;
    font-weight: 900 !important;
    font-size: 10px !important;
    color: #ffb800 !important;
    display: inline-block !important;
    line-height: 1 !important;
}

#home_product_zone .ny-rating span {
    font-size: 10px !important;
    font-weight: 600 !important;
    color: #888888 !important;
    margin-left: 2px !important;
    font-family: inherit !important;
}

/* 9. METİN VE FİYAT HİYERARŞİSİ */
#home_product_zone .item-product-info {
    padding: 0 !important;
    background: transparent !important;
}

#home_product_zone .item-product-name {
    margin: 0 0 3px 0 !important;
    height: 34px !important;
    overflow: hidden !important;
}

#home_product_zone .item-product-name a {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #222222 !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    transition: color 0.2s ease !important;
}

#home_product_zone .productBox:hover .item-product-name a {
    color: #E31E24 !important;
}

#home_product_zone .productpricebox {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1px !important;
    margin-top: 2px !important;
}

#home_product_zone .item-product-priceOld {
    font-size: 11px !important;
    color: #999999 !important;
    text-decoration: line-through !important;
}

#home_product_zone .disc-price, 
#home_product_zone .item-product-priceSale {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #E31E24 !important;
}

/* 10. SLİDER OKLARI (MASAÜSTÜ) */
#home_product_zone .swiper-button-next,
#home_product_zone .swiper-button-prev {
    width: 38px !important;
    height: 38px !important;
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 50% !important;
    color: #111111 !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.06) !important;
}

#home_product_zone .swiper-button-next:hover,
#home_product_zone .swiper-button-prev:hover {
    background: #E31E24 !important;
    border-color: #E31E24 !important;
    color: #ffffff !important;
}

/* MOBİL OPTİMİZASYONU & PAGINATION KALDIRMA */
@media (max-width: 768px) {
    #home_product_zone {
        padding: 15px 0 !important;
    }

    #home_product_zone .swiper-pagination,
    #home_product_zone .swiper-pagination-bullets {
        display: none !important;
    }

    #home_product_zone .home-product-title a {
        font-size: 17px !important;
    }

    #home_product_zone .item-product-name {
        height: 30px !important;
    }

    #home_product_zone .item-product-name a {
        font-size: 11.5px !important;
    }

    #home_product_zone .disc-price, 
    #home_product_zone .item-product-priceSale {
        font-size: 13.5px !important;
    }
}


/* ==========================================
   MADRENINO SOFT-KOYU MODERN FOOTER
========================================== */

/* 1. GENEL YAPISAL DÜZENLEMELER & FONT */
[data-cmp-type="main_footer"],
[data-cmp-type="main_footer"] *:not(i):not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not([class*="icon"]) {
    font-family: inherit !important;
    box-sizing: border-box !important;
}

[data-cmp-type="main_footer"] {
    background: #2b2e34 !important; /* Zifiri siyah yerine ferah antrasit/koyu gri */
    color: #e2e8f0 !important;
    padding-top: 50px !important;
    padding-bottom: 20px !important;
    margin-top: 40px !important;
}

/* 2. TÜM LİNKLERİN OKUNABİLİR HALE GETİRİLMESİ */
[data-cmp-type="main_footer"] a {
    color: #cbd5e1 !important; /* Açık ve net okunur gri */
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    opacity: 1 !important;
}

[data-cmp-type="main_footer"] a:hover {
    color: #ffffff !important;
    padding-left: 3px !important;
}

/* 3. SÜTUN BAŞLIKLARI (WIDGET TITLE) */
[data-cmp-type="main_footer"] .widget-title {
    display: block !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 20px !important;
    position: relative !important;
    padding-bottom: 8px !important;
    letter-spacing: -0.2px !important;
}

[data-cmp-type="main_footer"] .widget-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 30px !important;
    height: 2px !important;
    background: #E31E24 !important; /* Marka kırmızısı */
    border-radius: 2px !important;
}

/* 4. MENÜ VE LİSTE YAPILARI */
[data-cmp-type="main_footer"] .widget-body {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

[data-cmp-type="main_footer"] .widget-body li {
    margin-bottom: 10px !important;
}

[data-cmp-type="main_footer"] .widget-body li a {
    font-size: 13px !important;
    line-height: 1.4 !important;
    display: inline-block !important;
    color: #cbd5e1 !important;
}

/* 5. MOBİL UYGULAMA VE SOSYAL MEDYA */
[data-cmp-type="main_footer"] .mobileApp {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-bottom: 15px !important;
}

[data-cmp-type="main_footer"] .mobileApp img {
    border-radius: 6px !important;
    transition: opacity 0.3s ease !important;
}

[data-cmp-type="main_footer"] .mobileApp img:hover {
    opacity: 0.85 !important;
}

[data-cmp-type="main_footer"] .socialLinks {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    margin-top: 15px !important;
}

[data-cmp-type="main_footer"] .socialLinks .ny-soico {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    transition: transform 0.3s ease, filter 0.3s ease !important;
    object-fit: contain !important;
}

[data-cmp-type="main_footer"] .socialLinks a:hover .ny-soico {
    transform: translateY(-3px) !important;
    filter: brightness(1.15) !important;
}

/* 6. ABONE OL (E-BÜLTEN) FORMU VE KVKK METNİ */
[data-cmp-type="main_footer"] .ny-sub-box-desc {
    font-size: 12px !important;
    color: #94a3b8 !important;
    margin-bottom: 12px !important;
    line-height: 1.4 !important;
}

[data-cmp-type="main_footer"] .subsBoxForm .formSbs {
    background: #1e2025 !important; /* İnput içi bir tık daha koyu antrazit */
    border: 1px solid #3b3f46 !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-size: 12.5px !important;
    padding: 10px 14px !important;
    margin-bottom: 8px !important;
    width: 100% !important;
    outline: none !important;
    transition: border-color 0.3s ease !important;
}

[data-cmp-type="main_footer"] .subsBoxForm .formSbs:focus {
    border-color: #E31E24 !important;
}

[data-cmp-type="main_footer"] .subsBoxForm .formSbs::placeholder {
    color: #64748b !important;
}

[data-cmp-type="main_footer"] label[for="subsEtkConsent"],
[data-cmp-type="main_footer"] label[for="subsEtkConsent"] span {
    color: #94a3b8 !important;
}

[data-cmp-type="main_footer"] label[for="subsEtkConsent"] a {
    color: #ffffff !important;
    text-decoration: underline !important;
}

[data-cmp-type="main_footer"] #registerBtn {
    width: 100% !important;
    background: #E31E24 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px !important;
    cursor: pointer !important;
    transition: background 0.3s ease, transform 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 6px !important;
}

[data-cmp-type="main_footer"] #registerBtn:hover {
    background: #c8151b !important;
}

/* 7. ALT TELİF VE ÖDEME KARTLARI (FOOTER BOTTOM) */
[data-cmp-type="main_footer"] .footerBottom {
    border-top: 1px solid #3b3f46 !important;
    margin-top: 40px !important;
    padding-top: 20px !important;
}

[data-cmp-type="main_footer"] .copyrightText {
    font-size: 12px !important;
    color: #94a3b8 !important;
    margin: 0 !important;
    line-height: 24px !important;
}

[data-cmp-type="main_footer"] .footerBottom img {
    height: 24px !important;
    width: auto !important;
    opacity: 0.9 !important;
}

/* 8. MOBİL UYUMLULUK OPTİMİZASYONU */
@media (max-width: 991px) {
    [data-cmp-type="main_footer"] {
        padding-top: 35px !important;
    }

    [data-cmp-type="main_footer"] .widget {
        margin-bottom: 30px !important;
    }

    [data-cmp-type="main_footer"] .footerBottom {
        margin-top: 20px !important;
        text-align: center !important;
    }

    [data-cmp-type="main_footer"] .footerBottom img {
        float: none !important;
        margin-top: 10px !important;
    }
}

