/* Öncü Teknik Soket | Mağaza V2.1
 * Yalnızca müşteri vitrininin logo/header ve ana vitrin düzenini toparlar.
 * Sipariş, ürün, yönetim paneli veya genel checkout CSS'ini değiştirmez.
 */

/* Temiz ve dengeli üst bölüm. Logo ve sepet asla dar arama alanının içine taşmaz. */
.ot-header .ot-header-main {
  min-height: 76px;
  grid-template-columns: minmax(248px, 286px) minmax(240px, 1fr) minmax(112px, 140px);
  column-gap: clamp(14px, 2.2vw, 30px);
  align-items: center;
}
.ot-header .ot-brand {
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  overflow: visible;
  text-decoration: none;
}
.ot-header .ot-brand img {
  display: block;
  width: 62px;
  height: 62px;
  min-width: 62px;
  flex: 0 0 62px;
  object-fit: contain;
}
.ot-header .ot-brand-type {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.03;
  white-space: normal;
}
.ot-header .ot-brand-type strong {
  font-size: 27px;
  line-height: 1.0;
  font-weight: 900;
  letter-spacing: -1.3px;
}
.ot-header .ot-brand-type b {
  font-size: 15px;
  line-height: 1.14;
  font-weight: 850;
  letter-spacing: -.35px;
  white-space: nowrap;
}
.ot-header .ot-brand-type small {
  font-size: 8px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  color: #69829d;
  margin-top: 4px;
  white-space: nowrap;
}
.ot-header .ot-search {
  width: 100%;
  max-width: 750px;
  min-width: 0;
  justify-self: center;
  height: 43px;
}
.ot-header .ot-header-actions { min-width: 0; }
.ot-header .ot-cart-link { white-space: nowrap; }
.ot-header .ot-nav-row { min-height: 41px; gap: clamp(13px,1.65vw,24px); }
.ot-header .ot-nav-row > a, .ot-header .ot-category-dropdown > summary { font-size: 12px; }

/* Büyük görsel bir 'slider' değil, tek ana vitrin; yüksekliğini içerik değil biz belirliyoruz. */
@media (min-width: 781px) {
  .ot-hero-wrap { padding-top: 13px; }
  .ot-hero {
    height: 310px;
    min-height: 310px;
    grid-template-columns: minmax(0, 46%) minmax(0, 54%);
    align-items: stretch;
    border-radius: 15px;
  }
  .ot-hero-text {
    min-width: 0;
    padding: 24px 8px 21px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .ot-hero-eyebrow { font-size: 9px; letter-spacing: .14em; }
  .ot-hero h1 {
    font-size: clamp(29px, 2.75vw, 42px);
    line-height: 1.07;
    letter-spacing: -.045em;
    margin: 11px 0 11px;
    max-width: 520px;
  }
  .ot-hero p {
    max-width: 470px;
    font-size: 12px;
    line-height: 1.55;
    margin: 0 0 15px;
  }
  .ot-hero-buttons { gap: 9px; }
  .ot-hero-buttons .ot-btn-large {
    min-height: 40px;
    padding: 10px 15px;
    font-size: 12px;
    border-radius: 9px;
  }
  .ot-hero-features { margin-top: 15px; gap: 15px; font-size: 10px; }
  .ot-hero-features span { gap: 5px; }
  .ot-hero-features .ot-icon { width: 16px; height: 16px; }
  .ot-hero-photo {
    height: 100%;
    min-height: 0;
    background-position: 50% 50%;
    background-size: cover;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%);
    mask-image: linear-gradient(90deg, transparent, #000 12%);
  }
}

@media (min-width: 781px) and (max-width: 1120px) {
  .ot-header .ot-header-main {
    grid-template-columns: minmax(205px, 240px) minmax(160px, 1fr) 113px;
    column-gap: 12px;
  }
  .ot-header .ot-brand img { width: 54px; height: 54px; min-width: 54px; flex-basis: 54px; }
  .ot-header .ot-brand-type strong { font-size: 24px; }
  .ot-header .ot-brand-type b { font-size: 13px; }
  .ot-header .ot-brand-type small { font-size: 7px; }
  .ot-hero { height: 295px; min-height: 295px; grid-template-columns: 48% 52%; }
  .ot-hero-text { padding-left: 26px; padding-right: 8px; }
  .ot-hero h1 { font-size: clamp(28px, 3.5vw, 36px); }
  .ot-hero p { font-size: 11px; }
}

/* Telefon ve küçük tabletler: logo yatay; arama alt sırada; kısa, taşmayan vitrin. */
@media (max-width: 780px) {
  .ot-header .ot-header-main {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 10px;
    row-gap: 7px;
    padding-top: 8px;
    padding-bottom: 9px;
  }
  .ot-header .ot-brand { gap: 7px; }
  .ot-header .ot-brand img { height: 51px; width: 51px; min-width: 51px; flex: 0 0 51px; }
  .ot-header .ot-brand-type strong { font-size: 23px; }
  .ot-header .ot-brand-type b { font-size: 12.5px; }
  .ot-header .ot-brand-type small { font-size: 7px; margin-top: 2px; }
  .ot-header .ot-search {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 40px;
    max-width: none;
  }
  .ot-header .ot-header-actions { grid-column: 2; grid-row: 1; }
  .ot-hero-wrap { padding-top: 10px; }
  .ot-hero { min-height: 0; height: auto; grid-template-columns: minmax(0,1fr); border-radius: 13px; }
  .ot-hero-text { padding: 24px 22px 12px; }
  .ot-hero h1 { font-size: clamp(28px, 6vw, 37px); line-height: 1.1; margin: 9px 0 10px; }
  .ot-hero p { font-size: 12px; line-height: 1.5; margin-bottom: 13px; }
  .ot-hero-buttons .ot-btn-large { font-size: 11px; min-height: 39px; padding: 10px 13px; }
  .ot-hero-features { margin-top: 12px; gap: 12px; }
  .ot-hero-photo {
    height: 180px;
    min-height: 180px;
    background-size: cover;
    background-position: center 50%;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%);
    mask-image: linear-gradient(180deg, transparent, #000 18%);
  }
}
@media (max-width: 540px) {
  .ot-header .ot-brand img { height: 47px; width: 47px; min-width: 47px; flex-basis: 47px; }
  .ot-header .ot-brand-type strong { font-size: 22px; }
  .ot-header .ot-brand-type b { font-size: 12px; }
  .ot-header .ot-brand-type small { font-size: 6.8px; }
  .ot-hero-text { padding: 21px 17px 8px; }
  .ot-hero h1 { font-size: clamp(27px, 7vw, 33px); }
  .ot-hero-photo { height: 142px; min-height: 142px; }
  .ot-hero-features { font-size: 9px; }
}
@media (max-width: 355px) {
  .ot-header .ot-brand img { width: 40px; height: 40px; min-width: 40px; flex-basis: 40px; }
  .ot-header .ot-brand-type strong { font-size: 20px; }
  .ot-header .ot-brand-type b { font-size: 11px; }
  .ot-header .ot-brand-type small { font-size: 6px; }
  .ot-hero-text { padding: 19px 14px 9px; }
}
/* Yatay tablet: başlık içeriğinin sıkışıp görüntünün üstüne taşmasını engelle. */
@media (min-width: 781px) and (max-width: 950px) {
  .ot-hero { height: auto; min-height: 290px; }
  .ot-hero-text { padding-top: 22px; padding-bottom: 22px; }
  .ot-hero h1 { font-size: 29px; }
  .ot-hero-features { display: none; }
  .ot-hero-buttons .ot-btn-large { min-height: 36px; padding: 8px 10px; font-size: 10.5px; }
  .ot-hero-photo { min-height: 290px; }
}
