:root{
  --ih-ink:#171009;
  --ih-walnut:#3b2412;
  --ih-gold:#b98124;
  --ih-gold-soft:#e7c783;
  --ih-ivory:#fffaf1;
  --ih-line:rgba(111,74,25,.16);
  --ih-shadow:0 14px 34px rgba(40,24,9,.09);
}

/* Header: tek yükseklik, güçlü logo, tüm cihazlarda dengeli yerleşim */
.header-main{
  display:grid!important;
  grid-template-columns:190px minmax(260px,1fr) auto!important;
  grid-template-areas:
    "logo search actions"
    "nav nav nav"!important;
  align-items:center!important;
  gap:14px 16px!important;
  padding-top:14px!important;
  padding-bottom:10px!important;
}
.header-main>.logo{
  grid-area:logo!important;
  width:190px!important;
  min-width:190px!important;
  height:86px!important;
  min-height:86px!important;
  padding:4px 8px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(250,242,226,.88))!important;
  border:1px solid var(--ih-line)!important;
  box-shadow:0 10px 24px rgba(49,30,10,.07)!important;
}
.header-main>.logo.has-image .logo-img,
.header-main>.logo .logo-img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:178px!important;
  max-height:78px!important;
  object-fit:contain!important;
  object-position:center!important;
  filter:drop-shadow(0 5px 10px rgba(55,33,9,.10))!important;
}
.id-market-search{
  grid-area:search!important;
  height:50px!important;
  min-height:50px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 48px!important;
  align-items:center!important;
  border:1px solid rgba(118,78,24,.19)!important;
  border-radius:15px!important;
  background:#fff!important;
  box-shadow:var(--ih-shadow)!important;
  overflow:hidden!important;
}
.id-market-search input{
  height:48px!important;
  min-height:48px!important;
  width:100%!important;
  padding:0 16px!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  color:var(--ih-ink)!important;
  font-size:14px!important;
  font-weight:650!important;
}
.id-market-search button{
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  min-height:48px!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,#23160b,#6d4317)!important;
  color:#fff!important;
  box-shadow:none!important;
}
.id-market-search button svg{width:21px!important;height:21px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important}
.header-actions{
  grid-area:actions!important;
  display:flex!important;
  align-items:stretch!important;
  justify-content:flex-end!important;
  gap:8px!important;
  flex-wrap:nowrap!important;
  min-width:0!important;
}
.id-global-switcher{
  height:50px!important;
  min-height:50px!important;
  padding:4px!important;
  gap:4px!important;
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  border-radius:15px!important;
  border:1px solid rgba(118,78,24,.16)!important;
  background:linear-gradient(145deg,#fff,#fbf5e9)!important;
  box-shadow:var(--ih-shadow)!important;
}
.id-global-field{
  height:40px!important;
  min-height:40px!important;
  padding:0 8px!important;
  border-radius:11px!important;
  border:1px solid rgba(118,78,24,.10)!important;
  background:rgba(255,255,255,.88)!important;
}
.id-global-switcher select{
  height:38px!important;
  min-height:38px!important;
  min-width:78px!important;
  max-width:102px!important;
  color:#2d1c0e!important;
  font-size:11.5px!important;
}
.id-global-switcher button{
  height:40px!important;
  min-height:40px!important;
  padding:0 13px!important;
  border-radius:11px!important;
  background:linear-gradient(135deg,#9a681d,#d5a548)!important;
  color:#fff!important;
  font-size:11.5px!important;
  box-shadow:none!important;
}
.id-market-header-link{
  height:50px!important;
  min-height:50px!important;
  min-width:78px!important;
  padding:0 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  border-radius:14px!important;
  border:1px solid rgba(118,78,24,.15)!important;
  background:linear-gradient(145deg,#fff,#fbf5e9)!important;
  color:#2b1b0e!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1!important;
  box-shadow:var(--ih-shadow)!important;
  white-space:nowrap!important;
}
.id-market-header-link:hover{transform:translateY(-1px)!important;border-color:rgba(185,129,36,.42)!important;background:#fffaf0!important}
.id-market-header-link svg{width:18px!important;height:18px!important;min-width:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.main-nav{grid-area:nav!important;margin-top:0!important}

/* İndirim alanı: kartın tamamı tıklanabilir */
.idc-special-discount-carousel .idc-modern-product-card,
.idc-special-discount-carousel .idc-product-link{
  position:relative!important;
  pointer-events:auto!important;
  cursor:pointer!important;
}
.idc-special-discount-carousel .idc-product-link{z-index:8!important}
.idc-special-discount-carousel .idc-product-media,
.idc-special-discount-carousel .idc-product-body,
.idc-special-discount-carousel .idc-product-media *,
.idc-special-discount-carousel .idc-product-body *{pointer-events:none!important}
.idc-special-discount-carousel .idc-carousel-row{touch-action:pan-x pinch-zoom!important}
.idc-section-title-link{color:inherit!important;text-decoration:none!important}

@media(max-width:1180px){
  .header-main{grid-template-columns:170px minmax(220px,1fr)!important;grid-template-areas:"logo search" "actions actions" "nav nav"!important}
  .header-main>.logo{width:170px!important;min-width:170px!important;height:78px!important;min-height:78px!important}
  .header-main>.logo .logo-img{max-width:160px!important;max-height:70px!important}
  .header-actions{justify-content:stretch!important;display:grid!important;grid-template-columns:minmax(300px,1fr) repeat(3,minmax(92px,auto))!important}
  .id-global-switcher{width:100%!important;justify-content:center!important}
}
@media(max-width:760px){
  .header-main{
    grid-template-columns:1fr!important;
    grid-template-areas:"logo" "search" "actions" "nav"!important;
    gap:10px!important;
    padding:12px 12px 8px!important;
  }
  .header-main>.logo{
    width:min(290px,82vw)!important;
    min-width:0!important;
    height:96px!important;
    min-height:96px!important;
    margin:0 auto!important;
    padding:4px 12px!important;
  }
  .header-main>.logo .logo-img{max-width:270px!important;max-height:88px!important}
  .id-market-search{width:100%!important;height:50px!important}
  .header-actions{
    width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:7px!important;
  }
  .id-global-switcher{
    grid-column:1/-1!important;
    width:100%!important;
    max-width:none!important;
    height:50px!important;
    border-radius:14px!important;
  }
  .id-global-field{flex:1 1 0!important;min-width:0!important}
  .id-global-switcher select{width:100%!important;min-width:0!important;max-width:none!important}
  .id-market-header-link{
    width:100%!important;
    min-width:0!important;
    height:48px!important;
    min-height:48px!important;
    padding:0 7px!important;
    font-size:11px!important;
    border-radius:13px!important;
  }
  .id-market-header-link svg{width:17px!important;height:17px!important;min-width:17px!important}
}
@media(max-width:430px){
  .header-main>.logo{width:min(260px,88vw)!important;height:88px!important;min-height:88px!important}
  .header-main>.logo .logo-img{max-width:244px!important;max-height:80px!important}
  .header-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .id-market-header-link{font-size:10.5px!important;gap:5px!important}
  .id-global-icon{display:none!important}
  .id-global-switcher button{padding:0 10px!important}
}
