/* KahveTicaret Tema 2 — Shop39 tarzı index / header */
body.theme-shop39 .header-desktop-main-div-in-w {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
body.theme-shop39 .hed-left-flex1 {
  order: 2;
  flex: none !important;
  justify-content: center !important;
  justify-self: center;
  z-index: 3;
}
body.theme-shop39 .header-desktop-logo-div {
  text-align: center;
}
body.theme-shop39 .header-desktop-logo-div img {
  max-width: 220px;
  max-height: 72px;
  width: auto;
  margin: 0 auto;
  display: block;
}
body.theme-shop39 .header-desktop-main-div-in-w > div:not(.hed-left-flex1):not(.header-desktop-right-area) {
  order: 1;
  justify-self: start;
  max-width: 100%;
  overflow: hidden;
}
body.theme-shop39 .header-desktop-right-area {
  order: 3;
  flex: none !important;
  justify-self: end;
}

/* Video hero (üst slider yerine) */
body.theme-shop39 .kt39-video-hero {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #111;
  margin: 0;
}
body.theme-shop39 .kt39-video-hero video {
  width: 100%;
  height: min(72vh, 720px);
  object-fit: cover;
  display: block;
}
body.theme-shop39 .kt39-video-hero .kt39-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 48px 20px;
  background: linear-gradient(0deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.05) 55%, transparent 100%);
  pointer-events: none;
}
body.theme-shop39 .kt39-video-hero .kt39-video-cta {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #fff;
  color: #111 !important;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .04em;
  text-decoration: none !important;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
body.theme-shop39 .kt39-video-hero .kt39-video-cta:hover {
  background: #f3f3f3;
  color: #000 !important;
}

/* Eski üst görsel slider gizle — video hero kullanılıyor */
body.theme-shop39 .slider-main-div {
  display: none !important;
}

/* Banner kartlarında İncele butonu */
body.theme-shop39 .kayan-banner-main .swiper-slide {
  position: relative;
}
body.theme-shop39 .kayan-banner-main .swiper-slide .kt39-incele {
  position: absolute;
  left: 50%;
  bottom: 56px;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  color: #111 !important;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  pointer-events: none; /* parent <a> handles click */
}
body.theme-shop39 .kayan-banner-main .swiper-slide:hover .kt39-incele {
  background: #111;
  color: #fff !important;
}
body.theme-shop39 .kayan-banner-main .swiper-slide .txt {
  padding-top: 14px;
}

/* Vitrin / büyük banner kutuları */
body.theme-shop39 .vitrin2-box,
body.theme-shop39 .product-categories-box {
  position: relative;
  overflow: hidden;
}
body.theme-shop39 .vitrin2-box-img,
body.theme-shop39 .product-categories-box-img {
  position: relative;
}
body.theme-shop39 .kt39-banner-incele {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  border-radius: 999px;
  background: #fff;
  color: #111 !important;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.2);
  pointer-events: none;
}
body.theme-shop39 a.vitrin2-box:hover .kt39-banner-incele,
body.theme-shop39 a.product-categories-box:hover .kt39-banner-incele {
  background: #1a1a1a;
  color: #fff !important;
}

/* Orta video bloğu (eski konum) gizle — hero'da var */
body.theme-shop39 .video-block:not(.kt39-video-hero) {
  display: none !important;
}

@media (max-width: 991px) {
  body.theme-shop39 .header-desktop-main-div-in-w {
    display: flex;
  }
  body.theme-shop39 .kt39-video-hero video {
    height: 48vh;
    min-height: 260px;
  }
  body.theme-shop39 .kayan-banner-main .swiper-slide .kt39-incele {
    bottom: 48px;
    padding: 8px 16px;
    font-size: 14px;
  }
}
