/* Bi'Tişört — Header V3 v1: ikon kapsülü + tam genişlik arama paneli (+ mobil tam ekran arama).
   VIP grafiği (.bt-header-vip-link) bu dosyada hedeflenmez; yalnız mobilde sıralama için "order" yok, arama butonu öne alınır.
   Geri alma: ?header_actions_legacy=1 veya includes/HeaderSearch.php silinir. */
:root{--bthx-acc:#ff5a0a;--bthx-ink:#1b1b1f;--bthx-mute:#8a8178;--bthx-line:#ece6e0;--bthx-soft:#fff3ea}
html body #top .hybrid-nav-actions.bthx-actions{display:flex;align-items:center;gap:12px;flex-wrap:nowrap}
.bthx-ic{width:20px;height:20px;flex:none;display:block}
.bthx-sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* kapsül */
html body #top .bthx-caps{position:relative;display:inline-flex;align-items:center;gap:2px;padding:4px;border:1px solid var(--bthx-line);border-radius:14px;background:#fff;box-shadow:0 1px 0 rgba(0,0,0,.02);flex:none}
html body #top .bthx-caps .bthx-btn,html body #top .bthx-caps .bt-member-bell-trigger{position:relative;display:inline-flex!important;align-items:center;justify-content:center;width:42px!important;height:40px!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;color:var(--bthx-ink)!important;cursor:pointer;text-decoration:none!important;font:700 13px/1 Inter,system-ui,sans-serif!important;letter-spacing:0!important;transition:background-color .15s ease,color .15s ease}
html body #top .bthx-caps .bthx-btn:hover,html body #top .bthx-caps .bthx-btn[aria-expanded=true],html body #top .bthx-caps .bt-member-bell-trigger:hover,html body #top .bthx-caps .bt-member-bell-trigger[aria-expanded=true]{background:var(--bthx-soft)!important;color:var(--bthx-acc)!important}
html body #top .bthx-caps .bthx-btn:focus-visible,html body #top .bthx-caps .bt-member-bell-trigger:focus-visible{outline:2px solid var(--bthx-acc)!important;outline-offset:1px}
html body #top .bthx-caps .bt-member-bell{display:inline-flex;position:relative}
html body #top .bthx-caps .bt-member-bell-trigger svg{width:20px;height:20px}
html body #top .bthx-caps .bt-member-bell-count{top:2px;right:3px;box-shadow:0 0 0 2px #fff}
html body #top .bthx-gsep{width:1px;height:22px;background:#eee7e1;margin:0 3px;flex:none}
html body #top .bthx-caps .bthx-cart{width:auto!important;padding:0 12px 0 10px!important;gap:8px}
html body #top .bthx-cart-label{font:700 13px/1 Inter,system-ui,sans-serif;color:inherit}
html body #top .bthx-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--bthx-acc);color:#fff;font:800 11px/20px Inter,system-ui,sans-serif;font-style:normal;text-align:center;margin:0;position:static;box-shadow:none;transform:none}
html body #top .bthx-badge.is-empty{display:none!important}
html body #top .bthx-badge.is-bump{animation:bthxBump .35s ease}
@keyframes bthxBump{50%{transform:scale(1.25)}}
html body #top .bthx-acc{position:relative;display:inline-flex}
html body #top .bthx-acc-dot{position:absolute;right:9px;bottom:9px;width:7px;height:7px;border-radius:50%;background:#2fb167;box-shadow:0 0 0 2px #fff}

/* tooltip (yalnız fare / klavye odağı) */
@media (hover:hover){
 html body #top .bthx-caps [data-tip]:not([aria-expanded=true]):hover::after,html body #top .bthx-caps .bthx-bell[data-tip]:hover:not(:has([aria-expanded=true]))::after{content:attr(data-tip);position:absolute;top:calc(100% + 9px);left:50%;transform:translateX(-50%);padding:5px 8px;border-radius:7px;background:#17171b;color:#fff;font:600 11px/1.2 Inter,system-ui,sans-serif;white-space:nowrap;z-index:60;pointer-events:none}
}
html body #top .bthx-caps [data-tip]:focus-visible::after{content:attr(data-tip);position:absolute;top:calc(100% + 9px);left:50%;transform:translateX(-50%);padding:5px 8px;border-radius:7px;background:#17171b;color:#fff;font:600 11px/1.2 Inter,system-ui,sans-serif;white-space:nowrap;z-index:60;pointer-events:none}

/* hesap menüsü */
html body #top .bthx-menu{position:absolute;top:calc(100% + 12px);right:-6px;z-index:1300;width:256px;padding:8px;background:#fff;border:1px solid var(--bthx-line);border-radius:16px;box-shadow:0 24px 60px rgba(28,20,14,.16);font-family:Inter,system-ui,sans-serif;color:var(--bthx-ink);text-align:left}
html body #top .bthx-menu[hidden]{display:none!important}
html body #top .bthx-menu__hd{display:flex;gap:10px;align-items:center;padding:10px;border-radius:12px;background:#faf7f4;margin-bottom:6px}
html body #top .bthx-menu__hd i{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:50%;background:var(--bthx-acc);color:#fff;font:800 14px Inter,sans-serif;font-style:normal}
html body #top .bthx-menu__hd b{display:block;font:800 13px/1.3 Inter,sans-serif}
html body #top .bthx-menu__hd.is-guest small{white-space:normal;max-width:none}
html body #top .bthx-menu__hd small{display:block;font:500 11.5px/1.35 Inter,sans-serif;color:var(--bthx-mute);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:170px}
html body #top .bthx-menu a,html body #top .bthx-menu button[type=submit]{display:flex!important;align-items:center;gap:10px;width:100%;min-height:0!important;height:auto!important;padding:9px 10px!important;margin:0!important;border:0!important;border-radius:10px!important;background:none!important;box-shadow:none!important;color:#2a2a2f!important;text-decoration:none!important;font:600 13px/1.2 Inter,system-ui,sans-serif!important;text-align:left;cursor:pointer;letter-spacing:0!important;text-transform:none!important}
html body #top .bthx-menu a:hover,html body #top .bthx-menu a:focus-visible,html body #top .bthx-menu button[type=submit]:hover,html body #top .bthx-menu button[type=submit]:focus-visible{background:#fff4ec!important;color:var(--bthx-acc)!important;outline:0}
html body #top .bthx-menu a.is-primary{background:var(--bthx-ink)!important;color:#fff!important;justify-content:center;margin:2px 0 4px!important}
html body #top .bthx-menu a.is-primary:hover{background:var(--bthx-acc)!important;color:#fff!important}
html body #top .bthx-menu svg{width:17px;height:17px;flex:none}
html body #top .bthx-menu hr{border:0;border-top:1px solid #f0eae4;margin:6px 4px}
html body #top .bthx-menu form{margin:0}

/* CTA: tam / kısa metin */
html body #top .bthx-cta .bthx-cta-full,html body #top .bthx-cta .bthx-cta-short{font:inherit;color:inherit;display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
html body #top .bthx-cta .bthx-cta-short{display:none}
html body #top .bthx-cta .bthx-pen{width:17px;height:17px;stroke-width:2}
@media (max-width:1365.98px){
 html body #top .hybrid-nav-links{column-gap:13px!important}
 html body #top .hybrid-nav-actions.bthx-actions{gap:10px}
 html body #top .bthx-cta .bthx-cta-full{display:none}
 html body #top .bthx-cta .bthx-cta-short{display:inline-flex}
 html body #top .hybrid-nav-actions.bthx-actions .hybrid-nav-cta.bthx-cta{min-width:0!important;width:auto!important;padding:0 16px!important;gap:8px!important}
}
@media (max-width:1279.98px) and (min-width:1101px){
 html body #top .bthx-caps .bthx-cart-label{display:none}
 html body #top .bthx-caps .bthx-cart{padding:0 10px!important}
 html body #top .hybrid-nav-actions.bthx-actions{gap:8px}
}

/* arama paneli */
.bthx-panel{position:fixed;left:0;right:0;top:var(--bthx-top,80px);z-index:100001;max-height:calc(100vh - var(--bthx-top,80px) - 12px);overflow:auto;overscroll-behavior:contain;background:#fff;border-bottom:1px solid var(--bthx-line);border-radius:0 0 22px 22px;box-shadow:0 24px 60px rgba(28,20,14,.16);font-family:Inter,system-ui,sans-serif;color:var(--bthx-ink);opacity:0;transform:translateY(-8px);transition:opacity .18s ease,transform .18s ease}
.bthx-panel.is-open{opacity:1;transform:none}
.bthx-panel[hidden],.bthx-dim[hidden]{display:none!important}
.bthx-panel__in{max-width:1320px;margin:0 auto;padding:22px 48px 26px}
.bthx-dim{position:fixed;inset:0;z-index:100000;background:rgba(20,16,12,.32);opacity:0;transition:opacity .18s ease}
.bthx-dim.is-open{opacity:1}
.bthx-form{display:flex;align-items:center;gap:10px;margin:0}
.bthx-field{flex:1;min-width:0;display:flex;align-items:center;gap:10px;height:56px;margin:0;padding:0 14px;border:1.5px solid var(--bthx-acc);border-radius:14px;box-shadow:0 0 0 4px rgba(255,90,10,.1);background:#fff;cursor:text}
.bthx-field>svg{color:var(--bthx-ink)}
html body .bthx-panel .bthx-field input[data-bthx-input],html body.bt-site-shell-v641 .bthx-panel .bthx-field input[data-bthx-input]{border-style:none!important;border-width:0!important;flex:1;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;height:auto!important;min-height:0!important;padding:0!important;margin:0!important;border-radius:0!important;font:600 17px/1.3 Inter,system-ui,sans-serif!important;color:var(--bthx-ink)!important;-webkit-appearance:none;appearance:none}
.bthx-field input::-webkit-search-cancel-button{display:none}
.bthx-field input::placeholder{color:#9a9198;font-weight:500}
.bthx-field kbd{padding:3px 7px;border:1px solid #e3dcd5;border-radius:6px;font:600 11px Inter,sans-serif;color:#8a8a90;background:#faf8f6}
html body .bthx-clear,html body .bthx-back,html body .bthx-cancel,html body .bthx-panel h6 button{border:0!important;background:none!important;box-shadow:none!important;padding:0!important;margin:0!important;min-height:0!important;height:auto!important;width:auto!important;cursor:pointer;color:var(--bthx-mute)!important;display:inline-flex;align-items:center}
.bthx-clear[hidden]{display:none!important}
html body .bthx-back,html body .bthx-cancel{display:none}
html body .bthx-cancel{font:700 14px Inter,sans-serif!important;color:var(--bthx-acc)!important}
.bthx-panel h6{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px;font:800 11px/1.2 Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--bthx-mute)}
html body .bthx-panel h6 button{font:700 11px Inter,sans-serif!important;letter-spacing:0;text-transform:none;color:var(--bthx-acc)!important}
.bthx-cols{display:grid;grid-template-columns:1.05fr 1.35fr 1.2fr;gap:28px;margin-top:20px}
.bthx-cols [data-bthx-recent-wrap]{margin-top:20px}
.bthx-cols [data-bthx-recent-wrap][hidden]{display:none}
.bthx-chips{display:flex;flex-wrap:wrap;gap:8px}
.bthx-chips a{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border:1px solid var(--bthx-line);border-radius:999px;font:600 12.5px/1.2 Inter,sans-serif;color:#2a2a2f;text-decoration:none;background:#fff;transition:border-color .15s,color .15s}
.bthx-chips a:hover,.bthx-chips a:focus-visible{border-color:var(--bthx-acc);color:var(--bthx-acc);outline:0}
.bthx-chips a svg{width:13px;height:13px;color:var(--bthx-acc)}
.bthx-cats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.bthx-cats a{display:flex;align-items:center;gap:10px;min-width:0;padding:8px;border-radius:12px;background:#faf7f4;color:var(--bthx-ink);text-decoration:none;font:700 12.5px/1.25 Inter,sans-serif;transition:background-color .15s}
.bthx-cats a span{min-width:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.bthx-cats a:hover,.bthx-cats a:focus-visible{background:#fff1e6;outline:0}
.bthx-cats img{width:38px;height:38px;flex:none;object-fit:contain;border-radius:8px;background:#fff}
.bthx-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.bthx-cards a{display:block;min-width:0;color:var(--bthx-ink);text-decoration:none;font:700 12px/1.3 Inter,sans-serif}
.bthx-cards img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px;background:#f4efea;margin-bottom:6px;transition:transform .2s ease}
.bthx-cards a:hover img{transform:scale(1.02)}
.bthx-cards small{display:block;font:800 12px Inter,sans-serif;color:var(--bthx-acc);margin-top:2px}
/* canlı sonuçlar */
.bthx-results{display:grid;grid-template-columns:1.6fr 1fr;gap:28px;margin-top:18px}
.bthx-results[hidden]{display:none}
.bthx-res{display:grid;gap:4px}
.bthx-res a{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:12px;padding:6px 8px;border-radius:12px;color:var(--bthx-ink);text-decoration:none}
.bthx-res a.is-active,.bthx-res a:hover{background:#fff4ec}
.bthx-res img,.bthx-res .bthx-noimg{width:48px;height:48px;object-fit:contain;border-radius:10px;background:#f4efea}
.bthx-res b{display:block;font:700 13.5px/1.3 Inter,sans-serif}
.bthx-res small{display:block;margin-top:2px;font:500 11.5px/1.3 Inter,sans-serif;color:var(--bthx-mute)}
.bthx-res em{font:800 12.5px Inter,sans-serif;font-style:normal;white-space:nowrap;text-align:right}
.bthx-res em s{display:block;font-weight:500;color:var(--bthx-mute);font-size:11px}
.bthx-res mark,.bthx-catres mark{background:none;color:var(--bthx-acc)}
.bthx-catres{display:grid;gap:6px;align-content:start}
.bthx-catres a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid var(--bthx-line);border-radius:12px;color:var(--bthx-ink);text-decoration:none;font:700 13px Inter,sans-serif}
.bthx-catres a small{font:500 11.5px Inter,sans-serif;color:var(--bthx-mute)}
.bthx-catres a.is-active,.bthx-catres a:hover{border-color:var(--bthx-acc);background:#fff8f3}
.bthx-foot{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:12px;border-top:1px solid #f0eae4;font:600 12px Inter,sans-serif;color:var(--bthx-mute)}
.bthx-foot a{color:var(--bthx-acc);font-weight:800;text-decoration:none}
.bthx-foot a.is-active{text-decoration:underline}
.bthx-empty{grid-column:1/-1;padding:18px;border-radius:14px;background:#faf7f4;font:600 14px/1.5 Inter,sans-serif;color:#3a3a40}
.bthx-empty b{color:var(--bthx-ink)}
.bthx-loading{grid-column:1/-1;font:600 13px Inter,sans-serif;color:var(--bthx-mute);padding:8px}
html.bthx-lock,html.bthx-lock body{overflow:hidden!important}

/* 1101–1280 arası panel sütunları */
@media (max-width:1180px){.bthx-panel__in{padding:20px 28px 24px}.bthx-cols{grid-template-columns:1fr 1.3fr;}.bthx-cols>.bthx-col:nth-child(3){grid-column:1/-1}.bthx-cards{grid-template-columns:repeat(6,1fr)}}

/* ≤1100: mobil header düzeni — logo · ara · VIP · (bildirim) · sepet · menü */
@media (max-width:1100px){
 html body #top .hybrid-nav-actions.bthx-actions{gap:6px}
 html body #top .bthx-caps{display:contents}
 html body #top .bthx-caps .bthx-search-btn{order:-1}
 html body #top .bthx-caps .bthx-acc,html body #top .bthx-gsep{display:none!important}
 html body #top .bthx-caps .bthx-btn,html body #top .bthx-caps .bt-member-bell-trigger{width:40px!important;height:40px!important;border:1px solid #ebe4dd!important;border-radius:12px!important;background:#fff!important}
 html body #top .bthx-caps .bthx-cart{width:40px!important;padding:0!important}
 html body #top .bthx-cart-label{display:none}
 html body #top .bthx-cart .bthx-badge{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 5px;font-size:10.5px;line-height:18px;box-shadow:0 0 0 2px #fff}
 html body #top .bthx-caps [data-tip]::after{display:none!important}
 body.bt-mobile-hide-cart-v6904 #top .bthx-cart{display:none!important}
 .bthx-cols{grid-template-columns:1fr 1fr}
}
/* ≤760: tam ekran arama sayfası */
@media (max-width:760px){
 html body #top .bthx-caps .bt-member-bell-trigger{width:36px!important}
 .bthx-panel{top:0!important;bottom:0;max-height:none;height:100%;height:100dvh;border-radius:0;border:0;box-shadow:none;z-index:2147483000;transform:translateY(12px)}
 .bthx-panel__in{padding:12px 16px calc(24px + env(safe-area-inset-bottom))}
 .bthx-dim{display:none!important}
 .bthx-form{position:sticky;top:-12px;margin:-12px -16px 0;padding:12px 16px 10px;background:#fff;z-index:2}
 .bthx-field{height:48px;box-shadow:none}
 html body .bthx-panel .bthx-field input[data-bthx-input],html body.bt-site-shell-v641 .bthx-panel .bthx-field input[data-bthx-input]{font-size:16px!important}
 .bthx-foot>span{display:none}
 .bthx-foot{justify-content:flex-end}
 html body .bthx-cancel{flex:none;white-space:nowrap;padding:0 2px!important}
 .bthx-field kbd{display:none}
 html body .bthx-cancel{display:inline-flex}
 .bthx-cols,.bthx-results{grid-template-columns:1fr;gap:22px;margin-top:16px}
 .bthx-cols>.bthx-col:nth-child(3){grid-column:auto}
 .bthx-cats{grid-template-columns:repeat(2,1fr)}
 .bthx-cards{grid-template-columns:repeat(3,1fr)}
 .bthx-foot{position:sticky;bottom:-24px;background:#fff;padding-bottom:12px}
}
@media (prefers-reduced-motion:reduce){
 .bthx-panel,.bthx-dim,.bthx-cards img,.bthx-chips a,html body #top .bthx-caps .bthx-btn{transition:none!important}
 .bthx-panel{transform:none!important}
 html body #top .bthx-badge.is-bump{animation:none}
}
