/* SCOTPLUS ANASAYFA — TEK KAYNAK, 2026-11-15
   Eski V2-V9 override stilleri bu sayfada artik yuklenmez. */
.site-index-page { --sp-home-width:var(--scotplus-site-max-width, 1380px); --sp-home-gutter:var(--scotplus-site-gutter, 20px); }
.site-index-page .scotplus-unified-hero,
.site-index-page .sp-category-feature,
.site-index-page .index-benefit-area,
.site-index-page .index-slider-section,
.site-index-page .campaign-slider-area {box-sizing:border-box;width:100%;max-width:none;margin-inline:0;}
.site-index-page .scotplus-unified-hero > .showcase-slider-container,
.site-index-page .index-benefit-area > .index-benefit-container,
.site-index-page .index-slider-section > .index-slider-container,
.site-index-page .campaign-slider-container,
.site-index-page .index-card-banner-container,
.site-index-page .index-home-category-container {box-sizing:border-box;width:calc(100% - (2 * var(--sp-home-gutter)));max-width:var(--sp-home-width);margin-inline:auto;padding-inline:0;min-width:0;}
/* Hero iç yerleşimi yalnızca hero-slider.css dosyasından yönetilir.
   Header ve diğer ana sayfa bileşenleri aynı ortak kapsayıcıyı kullanır. */
.site-index-page .scotplus-unified-hero {padding:12px 0 16px;background:#f5f7f9;}
.site-index-page .scotplus-unified-hero > .showcase-slider-container {
  box-sizing:border-box;
  width:100%;
  max-width:var(--scotplus-site-max-width, 1380px);
  margin-inline:auto;
  padding-inline:var(--scotplus-site-gutter, 20px);
}
.site-index-page .scotplus-unified-hero .scotplus-cat-banner {width:100%;max-width:none;margin:0;padding:0;border-radius:22px;background:transparent;overflow:hidden;}
.site-index-page .scotplus-unified-hero .scotplus-cat-banner__container {width:100%;max-width:100%;margin:0;padding:0;}
.site-index-page .scotplus-unified-hero .scotplus-cat-banner__desktop {display:block;width:100%;border-radius:22px;overflow:hidden;}
.site-index-page .scotplus-unified-hero .scotplus-cat-banner__desktop img {display:block;width:100%;height:auto;max-width:100%;object-fit:contain;}
/* Kategori 4 es sutun; header/hero/avantaj/yeni gelenler ayni sol-sag sinir. */
.site-index-page .sp-category-feature{padding:24px 0 20px;background:#f8fafb;}
.site-index-page .sp-category-feature > .sp-category-feature__shell{box-sizing:border-box;width:100%;max-width:var(--scotplus-site-max-width,1380px);margin-inline:auto;padding-inline:var(--scotplus-site-gutter,20px);min-width:0;}
.site-index-page .sp-category-feature__head{width:100%;margin:0 0 16px;}
.site-index-page .sp-category-feature__scroller{width:100%;max-width:100%;min-width:0;overflow-x:visible;}
.site-index-page .sp-category-feature__grid{width:100%;max-width:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.1vw,16px);}
.site-index-page .sp-category-feature__card{width:100%;min-width:0;aspect-ratio:1.4 / 1;}
.site-index-page .sp-category-feature__card img{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;display:block;}
.site-index-page .index-slider-section:has(#newProductSlider-wrap) .index-slider-container > .index-slider-head{display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;}
.site-index-page .index-slider-section:has(#newProductSlider-wrap) .index-slider-container > .index-slider-head .index-slider-title{margin:0;text-align:left;}
@media(max-width:990px){
 
 .site-index-page .sp-category-feature__scroller{overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;scroll-padding-inline:0;scrollbar-width:none;}
 .site-index-page .sp-category-feature__scroller::-webkit-scrollbar{display:none;}
 .site-index-page .sp-category-feature__grid{display:flex;width:100%;max-width:100%;gap:12px;}
 .site-index-page .sp-category-feature__card{flex:0 0 100%;width:100%;min-width:100%;aspect-ratio:1.4/1;scroll-snap-align:start;scroll-snap-stop:always;}
}
@media(max-width:600px){
 
 .site-index-page .sp-category-feature__card{flex:0 0 100%;width:100%;min-width:100%;aspect-ratio:1.35/1;}
 .site-index-page .sp-category-feature__head{flex-direction:column;align-items:flex-start;gap:8px;}
 .site-index-page .sp-category-feature__head p{text-align:left;}
}
html.dark-mode .site-index-page .scotplus-unified-hero,html.dark-mode .site-index-page .sp-category-feature,
body.site-index-page.dark-mode .scotplus-unified-hero,body.site-index-page.dark-mode .sp-category-feature{background:var(--sp-brand-deep);}
html.dark-mode .site-index-page .sp-category-feature__head h2,body.site-index-page.dark-mode .sp-category-feature__head h2{color:#e6f6e9!important;}

/* Urun favorileri (onceki calisan stil) */
.site-index-page .index-slider-item .hs-product-fav-form,
.site-index-page .campaign-slider-item .hs-product-fav-form {display:block!important;position:absolute!important;top:12px!important;right:12px!important;z-index:10!important;opacity:1!important;visibility:visible!important;}
.site-index-page .index-slider-item .hs-product-fav-btn,
.site-index-page .campaign-slider-item .hs-product-fav-btn {display:flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;border:1px solid #dfe9e1!important;border-radius:50%!important;width:36px!important;height:36px!important;padding:7px!important;cursor:pointer!important;}
.site-index-page .index-slider-item .hs-product-fav-btn svg,
.site-index-page .campaign-slider-item .hs-product-fav-btn svg {display:block!important;width:20px!important;height:20px!important;stroke:var(--sp-brand-deep)!important;fill:none!important;}
.site-index-page .index-slider-item .hs-product-fav-btn.is-active svg,
.site-index-page .campaign-slider-item .hs-product-fav-btn.is-active svg{stroke:#df3754!important;fill:#df3754!important;}
.site-index-page .index-slider-item .hs-product-media,
.site-index-page .campaign-slider-item .hs-product-media{position:relative!important;}
.site-index-page .index-slider-item .hs-product-card,
.site-index-page .campaign-slider-item .hs-product-card {height:100%;}
.site-index-page .index-slider-item .hs-product-body,
.site-index-page .campaign-slider-item .hs-product-body{min-width:0;}
.site-index-page .index-slider-item .hs-product-desc,
.site-index-page .campaign-slider-item .hs-product-desc{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}

/* Kategori karti görsel dili */
/* Scotplus homepage category art V6: independent of PHP, no JS required */
.site-index-page .sp-category-feature{padding:28px 0 16px;background:#f8fafb;color:var(--sp-brand-deep)}
.site-index-page .sp-category-feature__head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 18px}
.site-index-page .sp-category-feature__head h2{color:var(--sp-brand-deep)!important;font-size:clamp(21px,2vw,27px)!important;font-weight:750!important;letter-spacing:-.035em;margin:0 0 8px!important;line-height:1.2!important}
.site-index-page .sp-category-feature__accent{display:block;height:4px;width:52px;background:var(--sp-brand-primary);border-radius:12px}
.site-index-page .sp-category-feature__head p{margin:0;color:#64748b;font-size:13px;text-align:right}
.site-index-page .sp-category-feature__card{position:relative;display:block;overflow:hidden;border-radius:20px;aspect-ratio:1.40/1;isolation:isolate;text-decoration:none!important;scroll-snap-align:start;min-width:0;box-shadow:0 10px 24px rgba(17,35,22,.08);transform:translateZ(0);transition:transform .2s ease,box-shadow .2s ease}
.site-index-page .sp-category-feature__card:hover{transform:translateY(-3px);box-shadow:0 15px 25px rgba(17,35,22,.16)}
.site-index-page .sp-category-feature__card::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.56) 0%,rgba(0,0,0,.24) 52%,transparent 88%);z-index:1;pointer-events:none}
.site-index-page .sp-category-feature__content{position:absolute;z-index:2;inset:clamp(15px,1.3vw,20px) auto clamp(15px,1.3vw,20px) clamp(15px,1.3vw,20px);width:64%;display:flex;flex-direction:column;align-items:flex-start;color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.2)}
.site-index-page .sp-category-feature__symbol{display:flex;align-items:center;justify-content:center;border-radius:13px;background:rgba(255,255,255,.19);border:1px solid rgba(255,255,255,.35);width:30px;height:30px;font-size:18px;line-height:1;margin-bottom:7px}
.site-index-page .sp-category-feature__content strong{font-size:clamp(15px,1.3vw,19px);font-weight:800;line-height:1.13;color:white!important;letter-spacing:-.02em}
.site-index-page .sp-category-feature__desc{display:block;font-size:clamp(10px,.82vw,12px);line-height:1.4;color:#fff;margin-top:9px;max-width:175px}
.site-index-page .sp-category-feature__cta{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:24px;background:var(--sp-brand-primary);color:#fff!important;font-size:11px;font-weight:700;margin-top:auto;white-space:nowrap;box-shadow:0 5px 11px rgba(0,0,0,.14)}
.site-index-page .sp-category-feature__card:focus-visible{outline:3px solid var(--sp-brand-primary);outline-offset:4px}
/* The four new cards replace the former lower generic category carousel */
.site-index-page .index-home-category-area,.site-index-page .sp-home-cat-options{display:none!important}
/* No unwanted fixed layout on tablets and small screens */
@media(max-width:990px){
 .site-index-page .sp-category-feature__content strong{font-size:18px}
 .site-index-page .sp-category-feature__desc{font-size:12px}
 .site-index-page .sp-category-feature__content{width:64%;}
}
@media(max-width:600px){
 .site-index-page .sp-category-feature{padding:24px 0 12px}
 .site-index-page .sp-category-feature__head{align-items:flex-start;flex-direction:column;gap:7px}
 .site-index-page .sp-category-feature__head p{text-align:left;font-size:12px}
 .site-index-page .sp-category-feature__content{inset:16px auto 16px 16px;width:65%;}
 .site-index-page .sp-category-feature__content strong{font-size:clamp(19px,5vw,25px);line-height:1.12;}
 .site-index-page .sp-category-feature__desc{font-size:clamp(12px,3.2vw,14px);line-height:1.4;max-width:220px;}
 .site-index-page .sp-category-feature__cta{font-size:clamp(11px,3vw,13px);padding:10px 14px;min-height:38px;}
}
@media(prefers-reduced-motion:reduce){.site-index-page .sp-category-feature__card{transition:none}}
html.dark-mode .site-index-page .sp-category-feature,body.dark-mode.site-index-page .sp-category-feature,[data-theme=dark] .site-index-page .sp-category-feature{background:var(--sp-brand-deep);color:color-mix(in srgb, var(--sp-brand-primary) 10%, var(--sp-brand-card))}
html.dark-mode .site-index-page .sp-category-feature__head h2,body.dark-mode.site-index-page .sp-category-feature__head h2,[data-theme=dark] .site-index-page .sp-category-feature__head h2{color:color-mix(in srgb, var(--sp-brand-primary) 10%, var(--sp-brand-card))!important}
/* Yeni Gelenler baslik/oklar */
/* Scotplus ana sayfa V5: yeni gelenler başlığı header sol hattına hizalanır. */
.site-index-page .index-slider-section:has(#newProductSlider-wrap) .index-slider-container > .index-slider-head {
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:space-between !important;
  text-align:left !important;
  gap:16px;
  width:100%;
  margin:0 0 18px;
}
.site-index-page .index-slider-section:has(#newProductSlider-wrap) .index-slider-container > .index-slider-head .index-slider-title {
  margin:0 !important;
  text-align:left !important;
  flex:1 1 auto;
}
.site-index-page .index-slider-section:has(#newProductSlider-wrap) .index-slider-container > .index-slider-head .index-slider-nav {
  display:flex !important;
  flex:0 0 auto;
  gap:8px;
  justify-content:flex-end;
  position:static !important;
  margin:0 !important;
  transform:none !important;
}
/* Yalnızca Yeni Gelenler için hizalama; diğer vitrin başlıklarına dokunmaz. */
.site-index-page .index-slider-section:has(#newProductSlider-wrap) .index-slider-container {
  max-width:var(--scotplus-site-max-width, 1380px);
  width:calc(100% - (2 * var(--scotplus-site-gutter, 20px)));
  margin-left:auto;
  margin-right:auto;
}
@media (max-width:600px) {
  .site-index-page .index-slider-section:has(#newProductSlider-wrap) .index-slider-container {
    width:calc(100% - 28px);
  }
  .site-index-page .index-slider-section:has(#newProductSlider-wrap) .index-slider-container > .index-slider-head {
    gap:8px;
  }
}
