/* Bi’DTF header link. Deliberately scoped to avoid changing pre-existing menu links. */
.hybrid-site-header .hybrid-nav-links>a.bt-dtf-header-link-v2{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  text-decoration:none;white-space:nowrap;padding:8px 12px;
  border:1px solid #ffddcb;border-radius:9px;background:#fff5ed;
  color:#bc4811;font-weight:850;letter-spacing:-.015em;
  transition:background .2s,border-color .2s,transform .2s;
}
.hybrid-site-header .hybrid-nav-links>a.bt-dtf-header-link-v2:hover,
.hybrid-site-header .hybrid-nav-links>a.bt-dtf-header-link-v2:focus-visible{background:#ffebde;border-color:#ffae82;color:#a93708;transform:translateY(-1px)}
.hybrid-site-header .bt-dtf-header-mark-v2{font-size:11px;color:#ff681d}
@media (max-width:1300px){
 .hybrid-site-header .hybrid-nav-links>a.bt-dtf-header-link-v2{padding:7px 9px;font-size:11px;gap:5px}
}
@media (max-width:980px){
 .hybrid-site-header .hybrid-nav-links>a.bt-dtf-header-link-v2{justify-content:flex-start;width:auto;min-height:40px;padding:11px 14px;font-size:13px}
}


/* ================================================================
   Bi'Tişört | Global Header Compact Alignment v1.0 (2026-10-12)
   - No HTML/PHP changes. Existing VIP, DTF, mega and cart links remain.
   - Only desktop/tablet >= 981px; original mobile hamburger untouched.
   ================================================================ */
@media (min-width: 981px) {
  .hybrid-site-header .hybrid-nav {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: calc(100% - 48px) !important;
    max-width: var(--bt-header-max, 1560px) !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    gap: clamp(9px, 1.05vw, 19px) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .hybrid-site-header .hybrid-nav > .bt-store-brand {
    flex: 0 0 clamp(94px, 7vw, 116px) !important;
    width: clamp(94px, 7vw, 116px) !important;
    max-width: 116px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left;
    box-sizing: border-box !important;
    overflow: visible;
  }
  .hybrid-site-header .bt-store-brand > img,
  .hybrid-site-header .bt-store-brand .bt-shell-logo {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 42px !important;
    object-fit: contain !important;
    object-position: left center !important;
  }
  .hybrid-site-header .hybrid-nav > .hybrid-nav-links {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: clamp(5px, .53vw, 10px) !important;
    min-width: 0 !important;
    max-width: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }
  .hybrid-site-header .hybrid-nav-links > a,
  .hybrid-site-header .hybrid-nav-links > details {
    flex: 0 0 auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }
  .hybrid-site-header .hybrid-nav-links > a,
  .hybrid-site-header .hybrid-nav-links > details > summary {
    font-size: clamp(11px, .81vw, 13px) !important;
    letter-spacing: -.025em !important;
    padding-inline: clamp(2px, .22vw, 5px) !important;
  }
  .hybrid-site-header .hybrid-nav-links > .bt-dtf-header-link-v2 {
    padding: 7px clamp(5px, .44vw, 9px) !important;
    gap: 4px !important;
  }
  .hybrid-site-header .bt-header-bimagaza-v6104 {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 3px !important;
  }
  .hybrid-site-header .bt-header-bimagaza-logo-v6104 {
    width: clamp(24px, 2.4vw, 32px) !important;
    max-width: 32px !important;
    height: auto !important;
    flex-shrink: 0 !important;
  }
  .hybrid-site-header .hybrid-nav > .hybrid-nav-actions {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: clamp(4px, .49vw, 9px) !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }
  .hybrid-site-header .hybrid-nav-actions > * {
    flex: 0 0 auto !important;
    margin: 0 !important;
    min-width: 0 !important;
  }
  .hybrid-site-header .bt-header-vip-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    padding: 0 2px !important;
    height: 44px !important;
    width: auto !important;
    min-width: 0 !important;
    white-space: nowrap;
  }
  .hybrid-site-header .bt-header-vip-link img {
    width: clamp(30px, 2.6vw, 39px) !important;
    height: auto !important;
    max-height: 40px !important;
    object-fit: contain;
  }
  .hybrid-site-header .bt-account-chip,
  .hybrid-site-header .store-cart-button {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 5px 4px !important;
    min-width: 0 !important;
    white-space: nowrap !important;
  }
  .hybrid-site-header .nav-cta.hybrid-nav-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 11px !important;
    height: 46px !important;
    min-height: 0 !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 11px clamp(11px, .9vw, 17px) !important;
    font-size: clamp(11px, .81vw, 13px) !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }
}

/* Nav stays readable in laptop view without losing links. */
@media (min-width: 981px) and (max-width: 1570px) {
  /* Gerçek VIP Avantajları metnini koru; ikinci VIP yazısı oluşturma. */
  .hybrid-site-header .bt-header-vip-link .bt-header-vip-copy {display:flex !important;}
  .hybrid-site-header .bt-header-vip-link::after {content:none !important;display:none !important;}
  .hybrid-site-header .bt-account-chip > span {display:inline !important;}
  .hybrid-site-header .bt-account-chip::after {content:none !important;display:none !important;}
  .hybrid-site-header .store-cart-button .bt-cart-label {display:none !important;}
}

@media (min-width: 981px) and (max-width: 1240px) {
  .hybrid-site-header .hybrid-nav {
    width: calc(100% - 30px) !important;
    gap: 9px !important;
  }
  .hybrid-site-header .hybrid-nav > .bt-store-brand {
    flex-basis: 92px !important;
    width: 92px !important;
  }
  .hybrid-site-header .hybrid-nav-links {gap: 4px !important;}
  .hybrid-site-header .hybrid-nav-links > a,
  .hybrid-site-header .hybrid-nav-links > details > summary {
    font-size: 11px !important;
    padding-inline: 1px !important;
  }
  .hybrid-site-header .bt-header-vip-link::after {content:none !important;display:none !important;}
  .hybrid-site-header .bt-account-chip::after {content:none !important;display:none !important;}
  .hybrid-site-header .bt-header-bimagaza-logo-v6104 {width: 24px !important;}
  .hybrid-site-header .hybrid-nav-actions {gap: 4px !important;}
  .hybrid-site-header .nav-cta.hybrid-nav-cta {
    gap: 5px !important;
    padding: 10px 10px !important;
    height: 42px !important;
  }
}

/* Desktop text shortcuts only on narrow laptops. Original full link text remains
   in the DOM and available to accessibility tools. No URLs change. */
@media (min-width: 981px) and (max-width: 1090px) {
  .hybrid-site-header .hybrid-nav-links > a[data-nav-key="navStudio"] {font-size:0 !important;}
  .hybrid-site-header .hybrid-nav-links > a[data-nav-key="navStudio"]::after {
    content:'Stüdyo';
    font-size:11px !important;
  }
  .hybrid-site-header .nav-cta.hybrid-nav-cta {font-size:0 !important;}
  .hybrid-site-header .nav-cta.hybrid-nav-cta::before {
    content:'Tasarla';
    font-size:11px !important;
  }
  .hybrid-site-header .nav-cta.hybrid-nav-cta > span {font-size:13px !important;}
}



/* =============================================================
   Bi'Tişört Header v2 – Tasarım & Baskı dropdown
   Scoped to shared header; no editor/checkout changes.
   ============================================================= */
.hybrid-site-header .bt-header-vip-link::after{
  content:none !important;display:none !important;
}
.hybrid-site-header .hybrid-nav-links > details.bt-header-design-v2 {
  position:relative !important;
  flex:0 0 auto;
  margin:0;
  min-width:0;
  isolation:auto;
}
.hybrid-site-header .bt-header-design-v2 > summary {
  list-style:none;
  appearance:none;
  -webkit-appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#171b26;
  font-size:inherit;
  font-weight:750;
  border:0;
  border-radius:10px;
  background:transparent;
  padding:11px 8px;
  white-space:nowrap;
  cursor:pointer;
  user-select:none;
  transition:background .16s,color .16s;
}
.hybrid-site-header .bt-header-design-v2 > summary::-webkit-details-marker {display:none}
.hybrid-site-header .bt-header-design-v2 > summary::marker {content:''}
.hybrid-site-header .bt-header-design-v2 > summary:hover,
.hybrid-site-header .bt-header-design-v2[open] > summary{
  color:#ec5517;background:#fff4ee;
}
.hybrid-site-header .bt-header-design-v2 > summary:focus-visible{
  outline:2px solid #ff6522;outline-offset:3px;
}
.hybrid-site-header .bt-header-design-chevron-v2 {
  display:inline-block;
  width:8px;height:8px;
  border-right:1.8px solid #ff651c;
  border-bottom:1.8px solid #ff651c;
  transform:rotate(45deg) translateY(-2px);
  transition:transform .15s ease;
  margin:0 4px 4px 1px;
  flex-shrink:0;
}
.hybrid-site-header .bt-header-design-v2[open] .bt-header-design-chevron-v2{
  transform:rotate(225deg) translateY(-1px);
}
.hybrid-site-header .bt-header-design-panel-v2{
  display:flex;
  flex-direction:column;
  gap:3px;
  position:absolute;
  left:-12px;
  top:calc(100% + 12px);
  width:345px;
  max-width:min(345px,calc(100vw - 32px));
  box-sizing:border-box;
  z-index:99999;
  padding:15px;
  background:#fff;
  border:1px solid #e9e5e2;
  border-radius:16px;
  box-shadow:0 20px 50px rgba(15,26,45,.15),0 3px 9px rgba(15,26,45,.04);
  white-space:normal;
}
.hybrid-site-header .bt-header-design-panel-v2::before{
  content:'';
  width:12px;height:12px;
  position:absolute;top:-7px;left:44px;
  background:#fff;
  border-top:1px solid #e9e5e2;
  border-left:1px solid #e9e5e2;
  transform:rotate(45deg);
}
.hybrid-site-header .bt-header-design-kicker-v2{
  color:#f05a1c;
  font:800 10px/1.2 Inter,Arial,sans-serif;
  letter-spacing:.09em;
  padding:5px 8px 8px;
}
.hybrid-site-header .bt-header-design-link-v2{
  display:flex !important;
  align-items:center;
  gap:11px;
  padding:12px 10px !important;
  border-radius:11px;
  text-decoration:none !important;
  color:#152139 !important;
  line-height:1.28;
  min-width:0;
}
.hybrid-site-header .bt-header-design-link-v2:hover,
.hybrid-site-header .bt-header-design-link-v2:focus-visible{
  background:#fff3ec !important;
  outline:none;
}
.hybrid-site-header .bt-header-design-link-v2:focus-visible{
  box-shadow:inset 0 0 0 2px #ff681c;
}
.hybrid-site-header .bt-header-design-icon-v2{
  display:flex;align-items:center;justify-content:center;
  border-radius:10px;
  width:42px;height:42px;
  flex:0 0 42px;
  background:#fff1e8;
  color:#ef5a1c;
  font:800 20px/1 Inter,Arial,sans-serif;
}
.hybrid-site-header .bt-header-design-link-v2 > span:nth-child(2){
  display:flex;flex-direction:column;gap:4px;
  min-width:0;
  flex:1 1 auto;
}
.hybrid-site-header .bt-header-design-link-v2 strong{
  font:750 13.5px/1.2 Manrope,Inter,Arial,sans-serif;
  color:#18233a;
  white-space:normal;
}
.hybrid-site-header .bt-header-design-link-v2 small{
  color:#738094;
  font:500 11px/1.3 Inter,Arial,sans-serif;
  white-space:normal;
}
.hybrid-site-header .bt-header-design-link-v2 > b{
  color:#f46627;font-size:17px;
  font-weight:500;
}
@media (min-width:981px) {
  .hybrid-site-header .hybrid-nav-links{overflow:visible !important;}
  .hybrid-site-header .hybrid-nav > .hybrid-nav-links {gap:clamp(9px,.9vw,18px) !important;}
  .hybrid-site-header .bt-header-design-v2 > summary{
    padding:9px 5px;
  }
}
/* Kompakt dizilim özellikle 980–1120 px arasındaki laptoplarda önemli. */
@media (min-width:981px) and (max-width:1120px){
  .hybrid-site-header .bt-header-vip-copy{display:none !important;}
  .hybrid-site-header .bt-header-vip-link::after{content:none !important;display:none !important;}
  .hybrid-site-header .hybrid-nav > .hybrid-nav-links{gap:5px !important;}
}
@media (max-width:980px){
  .hybrid-site-header .hybrid-nav-links > details.bt-header-design-v2 {
    display:block !important;width:100%;
    position:static !important;
  }
  .hybrid-site-header .bt-header-design-v2 > summary{
    width:100%;justify-content:space-between;
    font-size:14px;
    padding:14px 16px !important;
    box-sizing:border-box;
  }
  .hybrid-site-header .bt-header-design-panel-v2{
    position:static;
    box-shadow:none;
    border:0;
    border-left:2px solid #ffdbcb;
    padding:6px 5px 8px 10px;
    margin:3px 13px 10px;
    border-radius:0;
    width:auto;max-width:none;
  }
  .hybrid-site-header .bt-header-design-panel-v2::before{display:none}
  .hybrid-site-header .bt-header-design-link-v2{
    padding:12px 10px !important;min-height:54px;
  }
  .hybrid-site-header .bt-header-design-icon-v2{
    width:36px;height:36px;flex-basis:36px;font-size:18px;
  }
}
