/* UI UX Pro Max: Automotive E-commerce header — trust navy, prominent search, active nav underline */
:root{
  --sm-hdr-gece:#0A1322;
  --sm-hdr-gece2:#0F1B31;
  --sm-hdr-mavi:#1E5BD6;
  --sm-hdr-mavi2:#5B8CFF;
  --sm-hdr-kar:#F6F8FC;
  --sm-hdr-metin:#1C2940;
  --sm-hdr-gri:#66748E;
  --sm-hdr-hat:#E1E7F0;
  --sm-hdr-yesil:#12B76A;
  --sm-hdr-touch:44px;
}

.sm-zt-header{
  position:sticky;
  top:0;
  z-index:90;
  background:#fff;
  box-shadow:0 1px 0 var(--sm-hdr-hat);
  font-family:"Poppins",sans-serif;
  -webkit-font-smoothing:antialiased;
  margin-bottom:0;
  border-bottom:none;
}

.sm-zt-header__wrap{
  max-width:1240px;
  margin:0 auto;
  padding:0 20px;
}

/* ── Top trust bar ── */
.sm-zt-header__top{
  background:var(--sm-hdr-gece);
  color:#8FA3C4;
  font-size:12px;
}

.sm-zt-header__top-in{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:8px 0;
  min-height:36px;
}

.sm-zt-header__top-in > :first-child{
  margin-right:auto;
}

.sm-zt-header__top-end{
  display:flex;
  align-items:center;
  gap:12px;
  margin-left:auto;
}

.sm-zt-header__social{
  display:flex;
  align-items:center;
  gap:6px;
}

.sm-zt-header__social-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  border-radius:8px;
  color:#C5D4EA;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.1);
  text-decoration:none;
  transition:color .2s,background .2s,border-color .2s,transform .15s;
}

.sm-zt-header__social-link:hover{
  color:#fff;
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.22);
  transform:translateY(-1px);
}

.sm-zt-header__top-link--wa{
  color:#6EE7A0!important;
  font-weight:600;
}

.sm-zt-header__top-link--wa:hover{
  color:#fff!important;
}

.sm-zt-header__top-link--wa svg{
  color:#25D366;
}

.sm-zt-header__pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#C5D4EA;
  font-weight:500;
}

.sm-zt-header__pill svg{
  opacity:.85;
  flex-shrink:0;
}

.sm-zt-header__top-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#8FA3C4;
  font-weight:500;
  text-decoration:none;
  transition:color .2s;
}

.sm-zt-header__top-link:hover{
  color:#fff;
}

.sm-zt-header__top-link--accent{
  color:var(--sm-hdr-mavi2);
  font-weight:600;
}

.sm-zt-header__top-link--accent:hover{
  color:#fff;
}

/* ── Toolbar: logo | search | actions (e-commerce pattern) ── */
.sm-zt-header__main{
  background:#fff;
}

.sm-zt-header__toolbar{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:20px 28px;
  padding:14px 0;
  min-height:76px;
}

.sm-zt-header__logo{
  display:flex;
  align-items:center;
  flex-shrink:0;
  text-decoration:none;
}

.sm-zt-header__logo-img{
  height:42px!important;
  width:auto!important;
  max-width:210px!important;
  max-height:42px!important;
  display:block;
  object-fit:contain;
}

.sm-zt-header__toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  min-width:48px;
  max-width:48px;
  min-height:48px;
  padding:0!important;
  border-radius:12px;
  background:var(--sm-hdr-kar)!important;
  border:1.5px solid var(--sm-hdr-hat)!important;
  color:var(--sm-hdr-metin)!important;
  cursor:pointer;
  transition:border-color .2s,background .2s;
  flex-shrink:0;
  appearance:none;
  -webkit-appearance:none;
  box-shadow:none!important;
  overflow:hidden;
  line-height:0;
}

.sm-zt-header__toggle::before,
.sm-zt-header__toggle::after,
.sm-zt-header__drawer-close::before,
.sm-zt-header__drawer-close::after{
  display:none!important;
  content:none!important;
}

.sm-zt-header__toggle:hover{
  border-color:var(--sm-hdr-mavi);
  background:#fff!important;
}

.sm-zt-header__toggle.is-active{
  border-color:var(--sm-hdr-mavi);
  background:#fff!important;
}

/* CSS burger / close icon */
.sm-zt-burger{
  position:relative;
  display:block;
  width:18px;
  height:14px;
  flex-shrink:0;
}

.sm-zt-burger__bar{
  position:absolute;
  left:0;
  right:0;
  height:2px;
  border-radius:2px;
  background:currentColor;
  transition:transform .22s ease,opacity .18s ease,top .22s ease;
}

.sm-zt-burger__bar:nth-child(1){
  top:0;
}

.sm-zt-burger__bar:nth-child(2){
  top:6px;
}

.sm-zt-burger__bar:nth-child(3){
  top:12px;
}

.sm-zt-header__toggle.is-active .sm-zt-burger__bar:nth-child(1),
.sm-zt-burger--close .sm-zt-burger__bar:nth-child(1){
  top:6px;
  transform:rotate(45deg);
}

.sm-zt-header__toggle.is-active .sm-zt-burger__bar:nth-child(2),
.sm-zt-burger--close .sm-zt-burger__bar:nth-child(2){
  opacity:0;
  transform:scaleX(0);
}

.sm-zt-header__toggle.is-active .sm-zt-burger__bar:nth-child(3),
.sm-zt-burger--close .sm-zt-burger__bar:nth-child(3){
  top:6px;
  transform:rotate(-45deg);
}

/* ── Search: prominent, 44px touch target ── */
.sm-zt-header__search{
  width:100%;
  max-width:520px;
  justify-self:center;
}

.sm-zt-header__search-form{
  position:relative;
  display:flex;
  align-items:center;
  gap:0;
  margin:0;
  min-height:var(--sm-hdr-touch);
  padding:0 6px 0 16px;
  background:var(--sm-hdr-kar);
  border:1.5px solid var(--sm-hdr-hat);
  border-radius:12px;
  transition:border-color .2s,background .2s,box-shadow .2s;
}

.sm-zt-header__search-form:focus-within{
  background:#fff;
  border-color:var(--sm-hdr-mavi);
  box-shadow:0 0 0 4px rgba(30,91,214,.1);
}

.sm-zt-header__search-input{
  flex:1;
  min-width:0;
  border:none!important;
  background:transparent!important;
  padding:10px 12px 10px 0!important;
  margin:0!important;
  font:inherit;
  font-size:14px!important;
  font-weight:500;
  color:var(--sm-hdr-metin)!important;
  outline:none!important;
  box-shadow:none!important;
  height:auto!important;
  line-height:1.4;
}

.sm-zt-header__search-input::placeholder{
  color:#9AA5B8;
  font-weight:400;
}

.sm-zt-header__search-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  width:36px;
  height:36px;
  border:none!important;
  border-radius:9px!important;
  background:var(--sm-hdr-mavi)!important;
  color:#fff!important;
  padding:0!important;
  margin:0!important;
  cursor:pointer;
  transition:background .2s,transform .15s;
  box-shadow:none!important;
}

.sm-zt-header__search-btn:hover{
  background:#1A4FBC!important;
}

.sm-zt-header__search-btn:active{
  transform:scale(.96);
}

.sm-zt-header__search-btn svg{
  display:block;
}

.sm-zt-header__search-form button[type="submit"]::before,
.sm-zt-header__search-form button[type="submit"]::after{
  display:none!important;
  content:none!important;
}

/* ── Actions ── */
.sm-zt-header__actions{
  display:flex;
  align-items:center;
  gap:6px;
  flex-shrink:0;
}

.sm-zt-header__account,
.sm-zt-header__dealer{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:var(--sm-hdr-touch);
  padding:0 16px;
  font-size:13px;
  font-weight:600;
  color:var(--sm-hdr-mavi);
  background:#EAF1FF;
  border:1.5px solid #D4E4FF;
  border-radius:12px;
  text-decoration:none;
  cursor:pointer;
  transition:background .2s,border-color .2s,color .2s;
}

.sm-zt-header__account-wrap{
  position:relative;
  overflow:visible;
}

.sm-zt-header__account{
  color:var(--sm-hdr-metin);
  background:#fff;
  border-color:var(--sm-hdr-hat);
}

.sm-zt-header__account:hover,
.sm-zt-header__account-wrap.is-open .sm-zt-header__account{
  color:var(--sm-hdr-mavi);
  background:var(--sm-hdr-kar);
  border-color:#B8D0FF;
}

/* Account / login popover */
.sm-zt-header__account-drop{
  position:absolute;
  top:calc(100% + 12px);
  right:-8px;
  z-index:10001;
  width:320px;
  max-width:calc(100vw - 24px);
  padding:16px;
  background:#fff;
  border:1px solid #E8EDF5;
  border-radius:16px;
  box-shadow:0 24px 48px rgba(10,19,34,.16),0 4px 12px rgba(10,19,34,.06);
  box-sizing:border-box;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-6px) scale(.98);
  transition:opacity .2s ease,transform .2s ease,visibility .2s;
}

.sm-zt-header__account-drop::before{
  content:"";
  position:absolute;
  top:-7px;
  right:22px;
  width:14px;
  height:14px;
  background:#fff;
  border:1px solid #E8EDF5;
  border-bottom:0;
  border-right:0;
  border-radius:3px 0 0 0;
  transform:rotate(45deg);
  box-shadow:none;
}

.sm-zt-header__account-wrap.is-open .sm-zt-header__account-drop{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0) scale(1);
}

.sm-zt-header__account-drop:has(.sm-zt-header__account-menu){
  padding:8px;
}

.sm-nad-form{
  margin:0;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}

.sm-nad-field{
  position:relative;
  margin:0 0 12px;
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
}

.sm-nad-label{
  display:block;
  position:static;
  margin:0 0 6px;
  padding:0;
  transform:none;
  background:transparent;
  pointer-events:auto;
  font-size:13px;
  font-weight:600;
  line-height:1.3;
  color:#334155;
}

.sm-nad-field input,
.sm-nad-pw-wrap input,
.sm-zt-header__account-drop .sm-nad-field input{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  min-height:44px;
  padding:11px 14px!important;
  margin:0!important;
  border:1px solid #CBD5E1!important;
  border-radius:10px!important;
  font:inherit;
  font-size:14px!important;
  font-weight:500;
  color:#0F172A!important;
  background:#fff!important;
  outline:none;
  transition:border-color .15s,box-shadow .15s;
}

.sm-nad-field--pw .sm-nad-pw-wrap{
  position:relative;
}

.sm-nad-field--pw input{
  padding-right:44px!important;
}

/* Tarayıcı varsayılan şifre gözünü zorla gizle */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear,
input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-strong-password-auto-fill-button,
.sm-nad-field input[type="password"]::-ms-reveal,
.sm-nad-field input[type="password"]::-ms-clear,
.sm-nad-field input[type="password"]::-webkit-credentials-auto-fill-button,
.sm-nad-field input[type="password"]::-webkit-strong-password-auto-fill-button,
.sm-nad-pw-wrap input[type="password"]::-ms-reveal,
.sm-nad-pw-wrap input[type="password"]::-ms-clear,
.sm-nad-pw-wrap input[type="password"]::-webkit-credentials-auto-fill-button{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
  width:0!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}

.sm-nad-field input:focus,
.sm-nad-pw-wrap input:focus{
  border-color:#1E5BD6!important;
  box-shadow:0 0 0 3px rgba(30,91,214,.18)!important;
}

.sm-nad-eye,
.sm-zt-header__account-drop button.sm-nad-eye,
button.sm-nad-eye[type="button"]{
  position:absolute!important;
  right:12px!important;
  top:50%!important;
  left:auto!important;
  bottom:auto!important;
  transform:translateY(-50%)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  max-width:36px!important;
  min-height:36px!important;
  max-height:36px!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  border-radius:8px!important;
  box-shadow:none!important;
  color:#94A3B8!important;
  cursor:pointer!important;
  line-height:0!important;
  font-size:0!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  z-index:2;
}

.sm-nad-eye:hover,
.sm-zt-header__account-drop button.sm-nad-eye:hover{
  background:rgba(30,91,214,.08)!important;
  color:#1E5BD6!important;
  box-shadow:none!important;
}

.sm-nad-eye:focus-visible{
  outline:2px solid rgba(30,91,214,.4)!important;
  outline-offset:1px;
}

.sm-nad-eye svg{
  display:block;
  width:16px;
  height:16px;
  pointer-events:none;
}

.sm-nad-forgot{
  display:block;
  text-align:right;
  margin:0 0 14px;
  font-size:12px;
  font-weight:500;
  color:#1E5BD6;
  text-decoration:none;
}

.sm-nad-forgot:hover{
  text-decoration:underline;
}

.sm-nad-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%!important;
  max-width:100%;
  box-sizing:border-box;
  min-height:46px;
  padding:12px 16px!important;
  margin:0;
  border:0!important;
  border-radius:11px!important;
  background:#1E5BD6!important;
  color:#fff!important;
  font:inherit;
  font-size:14px!important;
  font-weight:700!important;
  letter-spacing:.01em;
  cursor:pointer;
  transition:background .15s,transform .12s,box-shadow .15s;
  box-shadow:0 1px 2px rgba(30,91,214,.2);
}

.sm-nad-btn:hover{
  background:#1749B0!important;
  color:#fff!important;
  box-shadow:0 4px 12px rgba(30,91,214,.28);
}

.sm-nad-btn:active{
  transform:scale(.98);
}

.sm-nad-btn:disabled{
  opacity:.65;
  cursor:wait;
  transform:none;
}

.sm-nad-switch{
  margin:14px 0 0;
  font-size:12.5px;
  color:#64748B;
  text-align:center;
}

.sm-nad-switch-link{
  background:none;
  border:0;
  padding:0;
  color:#1E5BD6;
  font-weight:600;
  font-size:12.5px;
  text-decoration:none;
  cursor:pointer;
}

.sm-nad-switch-link:hover{
  text-decoration:underline;
}

.sm-nad-msg{
  margin:0 0 12px;
  padding:8px 10px;
  border-radius:8px;
  font-size:12.5px;
  font-weight:500;
  line-height:1.4;
  background:#FEF2F2;
  color:#B42318;
  border:1px solid #FECDCA;
}

.sm-nad-msg.is-ok{
  background:#ECFDF3;
  color:#027A48;
  border-color:#A6F4C5;
}

/* Logged-in account menu */
.sm-zt-header__account-menu{
  list-style:none;
  margin:0;
  padding:4px;
}

.sm-zt-header__account-menu li{
  margin:0;
}

.sm-acc-item{
  display:flex!important;
  align-items:center;
  gap:12px;
  width:100%;
  box-sizing:border-box;
  padding:10px 12px!important;
  border-radius:10px;
  font-size:13.5px;
  font-weight:600;
  color:#1E293B!important;
  text-decoration:none!important;
  transition:background .15s,color .15s;
}

.sm-acc-item__ico{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  width:20px;
  height:20px;
  color:#94A3B8;
  transition:color .15s;
}

.sm-acc-item__ico svg{
  display:block;
}

.sm-acc-item__txt{
  flex:1;
  min-width:0;
  line-height:1.3;
}

.sm-acc-item:hover{
  background:#F8FAFC!important;
  color:#0F172A!important;
}

.sm-acc-item:hover .sm-acc-item__ico{
  color:#64748B;
}

.sm-acc-item--logout{
  margin-top:4px;
  padding-top:4px;
  border-top:1px solid #F1F5F9;
}

.sm-acc-item--danger{
  color:#DC2626!important;
}

.sm-acc-item--danger .sm-acc-item__ico{
  color:#F87171;
}

.sm-acc-item--danger:hover{
  background:#FEF2F2!important;
  color:#B91C1C!important;
}

.sm-acc-item--danger:hover .sm-acc-item__ico{
  color:#DC2626;
}

.sm-zt-header__account-logout{
  color:#B42318!important;
}

/* ── Bayi dropdown ── */
.sm-zt-header__dealer-wrap{
  position:relative;
  overflow:visible;
}

/* Parent tema button stillerini ez — Giriş Yap ile uyumlu açık mavi chip */
.sm-zt-header button.sm-zt-header__dealer,
button.sm-zt-header__dealer[type="button"],
.sm-zt-header__dealer{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  height:auto!important;
  min-height:44px!important;
  padding:0 16px!important;
  margin:0!important;
  font-family:inherit!important;
  font-size:13px!important;
  font-weight:600!important;
  line-height:1!important;
  letter-spacing:normal!important;
  text-transform:none!important;
  text-decoration:none!important;
  color:#1E5BD6!important;
  background:#EFF6FF!important;
  background-image:none!important;
  border:1.5px solid #BFDBFE!important;
  border-radius:12px!important;
  box-shadow:none!important;
  cursor:pointer!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  transition:background .15s,border-color .15s,color .15s!important;
}

.sm-zt-header button.sm-zt-header__dealer:hover,
.sm-zt-header button.sm-zt-header__dealer:focus,
.sm-zt-header__dealer-wrap.is-open .sm-zt-header__dealer,
button.sm-zt-header__dealer[type="button"]:hover{
  background:#DBEAFE!important;
  background-image:none!important;
  border-color:#93C5FD!important;
  color:#1D4ED8!important;
  box-shadow:none!important;
}

.sm-zt-header__dealer svg{
  flex-shrink:0;
  width:17px;
  height:17px;
  color:inherit!important;
  stroke:currentColor!important;
}

.sm-zt-header__dealer-drop{
  position:absolute;
  top:calc(100% + 12px);
  right:-8px;
  z-index:10001;
  width:280px;
  max-width:calc(100vw - 24px);
  padding:8px;
  background:#fff!important;
  border:1px solid #E8EDF5;
  border-radius:16px;
  box-shadow:0 20px 40px rgba(10,19,34,.14),0 4px 12px rgba(10,19,34,.06);
  box-sizing:border-box;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-6px) scale(.98);
  transition:opacity .2s ease,transform .2s ease,visibility .2s;
}

.sm-zt-header__dealer-drop::before{
  content:"";
  position:absolute;
  top:-7px;
  right:22px;
  width:14px;
  height:14px;
  background:#fff;
  border:1px solid #E8EDF5;
  border-bottom:0;
  border-right:0;
  border-radius:3px 0 0 0;
  transform:rotate(45deg);
  box-shadow:none;
}

.sm-zt-header__dealer-wrap.is-open .sm-zt-header__dealer-drop{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0) scale(1);
}

/* Parent tema a:link / purple underline'ı öldür */
.sm-zt-header__dealer-drop a,
.sm-zt-header__dealer-drop a:link,
.sm-zt-header__dealer-drop a:visited,
.sm-zt-header__dealer-drop a:hover,
.sm-zt-header__dealer-drop a:active,
.sm-zt-header__dealer-drop a:focus{
  color:inherit!important;
  text-decoration:none!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  outline:none;
}

.sm-dealer-panel--form{
  padding:8px;
}

.sm-dealer-menu{
  list-style:none;
  margin:0!important;
  padding:0!important;
}

.sm-dealer-menu li{
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}

.sm-zt-header__dealer-drop .sm-acc-item,
.sm-zt-header__dealer-drop button.sm-acc-item,
.sm-dealer-menu__btn.sm-acc-item{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  width:100%!important;
  box-sizing:border-box!important;
  padding:11px 12px!important;
  margin:0!important;
  border:0!important;
  border-radius:10px!important;
  background:transparent!important;
  box-shadow:none!important;
  font:inherit!important;
  font-size:13.5px!important;
  font-weight:600!important;
  line-height:1.3!important;
  color:#334155!important;
  text-align:left!important;
  text-decoration:none!important;
  cursor:pointer!important;
  transition:background .15s,color .15s!important;
}

.sm-zt-header__dealer-drop .sm-acc-item:hover,
.sm-zt-header__dealer-drop button.sm-acc-item:hover,
.sm-dealer-menu__btn.sm-acc-item:hover{
  background:#F8FAFC!important;
  color:#1E5BD6!important;
  text-decoration:none!important;
}

.sm-zt-header__dealer-drop .sm-acc-item:hover .sm-acc-item__ico{
  color:#1E5BD6!important;
}

.sm-dealer-back{
  display:inline-flex;
  align-items:center;
  margin:0 0 10px;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font:inherit;
  font-size:12.5px!important;
  font-weight:600!important;
  color:#1E5BD6!important;
  cursor:pointer;
  text-decoration:none!important;
}

.sm-dealer-form-title{
  margin:0 0 12px;
  font-size:15px;
  font-weight:700;
  color:#0F172A;
}

.sm-nad-field--area textarea,
.sm-zt-header__dealer-drop textarea{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  min-height:84px;
  padding:11px 14px!important;
  margin:0!important;
  border:1px solid #CBD5E1!important;
  border-radius:10px!important;
  font:inherit;
  font-size:14px!important;
  font-weight:500;
  color:#0F172A!important;
  background:#fff!important;
  outline:none;
  resize:vertical;
  transition:border-color .15s,box-shadow .15s;
}

.sm-nad-field--area textarea:focus{
  border-color:#1E5BD6!important;
  box-shadow:0 0 0 3px rgba(30,91,214,.18)!important;
}

.sm-dealer-hp{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}

.sm-zt-header__account svg{
  flex-shrink:0;
}

.sm-zt-header__cart{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:var(--sm-hdr-touch);
  padding:0 18px;
  background:var(--sm-hdr-gece);
  color:#fff;
  border-radius:12px;
  font-size:13px;
  font-weight:600;
  text-decoration:none;
  cursor:pointer;
  transition:background .2s,transform .15s;
}

.sm-zt-header__cart:hover{
  background:var(--sm-hdr-gece2);
  color:#fff;
}

.sm-zt-header__cart:active{
  transform:scale(.98);
}

.sm-zt-header__cart-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:20px;
  height:20px;
  padding:0 6px;
  background:var(--sm-hdr-mavi);
  border-radius:100px;
  font-size:11px;
  font-weight:700;
}

/* ── Nav row: underline active state (UX guideline) ── */
.sm-zt-header__navrow{
  border-top:1px solid var(--sm-hdr-hat);
  background:#fff;
}

.sm-zt-header__nav{
  width:100%;
}

.sm-zt-header__nav .sm-zt-header__menu{
  display:flex;
  align-items:stretch;
  flex-wrap:wrap;
  gap:0;
  list-style:none;
  margin:0;
  padding:0;
}

.sm-zt-header__nav .menu-item{
  position:relative;
}

.sm-zt-header__nav .menu-item > a{
  display:flex;
  align-items:center;
  padding:13px 18px;
  font-size:14px;
  font-weight:600;
  color:var(--sm-hdr-gri);
  text-decoration:none;
  white-space:nowrap;
  transition:color .2s;
  position:relative;
}

.sm-zt-header__nav .menu-item > a::after{
  content:"";
  position:absolute;
  left:18px;
  right:18px;
  bottom:0;
  height:2px;
  background:var(--sm-hdr-mavi);
  border-radius:2px 2px 0 0;
  transform:scaleX(0);
  transition:transform .2s;
}

.sm-zt-header__nav .menu-item:hover > a{
  color:var(--sm-hdr-gece);
}

.sm-zt-header__nav .menu-item.current-menu-item > a,
.sm-zt-header__nav .menu-item.current-menu-ancestor > a{
  color:var(--sm-hdr-gece);
}

.sm-zt-header__nav .menu-item.current-menu-item > a::after,
.sm-zt-header__nav .menu-item.current-menu-ancestor > a::after,
.sm-zt-header__nav .menu-item:hover > a::after{
  transform:scaleX(1);
}

.sm-zt-header__nav .sub-menu{
  position:absolute;
  top:100%;
  left:0;
  min-width:220px;
  margin:0;
  padding:8px;
  list-style:none;
  background:#fff;
  border:1px solid var(--sm-hdr-hat);
  border-radius:12px;
  box-shadow:0 16px 40px rgba(10,19,34,.12);
  opacity:0;
  visibility:hidden;
  transform:translateY(4px);
  transition:opacity .2s,transform .2s,visibility .2s;
  z-index:10;
}

.sm-zt-header__nav .menu-item:hover > .sub-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.sm-zt-header__nav .sub-menu a{
  display:block;
  padding:10px 12px;
  font-size:13.5px;
  font-weight:500;
  color:var(--sm-hdr-gri);
  border-radius:8px;
  text-decoration:none;
  transition:background .15s,color .15s;
}

.sm-zt-header__nav .sub-menu a:hover{
  color:var(--sm-hdr-gece);
  background:var(--sm-hdr-kar);
}

/* ── Mobile drawer ── */
.sm-zt-header__overlay{
  position:fixed;
  inset:0;
  background:rgba(4,8,15,.5);
  backdrop-filter:blur(3px);
  z-index:91;
  opacity:0;
  pointer-events:none;
  transition:opacity .25s;
}

.sm-zt-header__overlay.is-open{
  opacity:1;
  pointer-events:auto;
}

.sm-zt-header__drawer{
  position:fixed;
  top:0;
  left:0;
  bottom:0;
  width:min(320px,88vw);
  background:#fff;
  z-index:92;
  transform:translateX(-105%);
  visibility:hidden;
  transition:transform .28s cubic-bezier(.2,.8,.2,1),visibility 0s linear .28s;
  display:flex;
  flex-direction:column;
  box-shadow:20px 0 60px rgba(0,0,0,.18);
}

.sm-zt-header__drawer.is-open{
  transform:none;
  visibility:visible;
  transition:transform .28s cubic-bezier(.2,.8,.2,1),visibility 0s;
}

.sm-zt-header__drawer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 18px;
  border-bottom:1px solid var(--sm-hdr-hat);
}

.sm-zt-header__drawer-title{
  font-size:17px;
  font-weight:700;
  color:var(--sm-hdr-gece);
}

.sm-zt-header__drawer-close{
  display:flex;
  align-items:center;
  justify-content:center;
  width:var(--sm-hdr-touch);
  height:var(--sm-hdr-touch);
  border-radius:10px;
  background:var(--sm-hdr-kar)!important;
  border:1.5px solid var(--sm-hdr-hat)!important;
  color:var(--sm-hdr-metin)!important;
  cursor:pointer;
  padding:0;
  appearance:none;
  -webkit-appearance:none;
  box-shadow:none!important;
  flex-shrink:0;
  transition:border-color .2s,background .2s;
}

.sm-zt-header__drawer-close:hover{
  border-color:var(--sm-hdr-mavi);
  background:#fff!important;
}

.sm-zt-header__drawer-body{
  flex:1;
  overflow-y:auto;
  padding:12px 10px 24px;
}

.sm-zt-header__drawer-nav .sm-zt-header__menu{
  list-style:none;
  margin:0;
  padding:0;
}

.sm-zt-header__drawer-nav .menu-item > a{
  display:block;
  padding:12px 14px;
  font-size:15px;
  font-weight:600;
  color:var(--sm-hdr-metin);
  border-radius:10px;
  text-decoration:none;
}

.sm-zt-header__drawer-nav .menu-item > a:hover,
.sm-zt-header__drawer-nav .menu-item.current-menu-item > a{
  background:var(--sm-hdr-kar);
  color:var(--sm-hdr-mavi);
}

.sm-zt-header__drawer-nav .sub-menu{
  list-style:none;
  margin:0;
  padding:0 0 0 12px;
}

.sm-zt-header__drawer-nav .sub-menu a{
  display:block;
  padding:10px 14px;
  font-size:14px;
  font-weight:500;
  color:var(--sm-hdr-gri);
  text-decoration:none;
}

.sm-zt-header__drawer-links{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:16px;
  padding:0 8px;
}

.sm-zt-header__drawer-links a,
.sm-zt-header__drawer-links .sm-zt-header__drawer-dealer-apply{
  display:block;
  width:100%;
  padding:12px 14px;
  background:var(--sm-hdr-kar);
  border:0;
  border-radius:10px;
  font:inherit;
  font-size:14px;
  font-weight:600;
  color:var(--sm-hdr-metin);
  text-decoration:none;
  text-align:left;
  cursor:pointer;
  box-sizing:border-box;
}

.sm-zt-header__drawer-body .sm-zt-header__social{
  margin-top:14px;
  padding:0 8px;
  gap:8px;
}

.sm-zt-header__drawer-body .sm-zt-header__social-link{
  width:40px;
  height:40px;
  border-radius:10px;
  color:var(--sm-hdr-gri);
  background:var(--sm-hdr-kar);
  border:1px solid var(--sm-hdr-hat);
}

.sm-zt-header__drawer-body .sm-zt-header__social-link:hover{
  color:var(--sm-hdr-mavi);
  background:#fff;
  border-color:#B8D0FF;
  transform:none;
}

body.sm-zt-menu-open{
  overflow:hidden;
}

body.sm-zt-custom-header #masthead,
body.sm-zt-custom-header .force-stretched-header,
body.sm-zt-custom-header .rbpazt-mobile-nav,
body.sm-zt-custom-header .rbpazt-overlay,
body.sm-zt-custom-header .menu-mobile-nav-button,
body.sm-zt-custom-header .site-header:not(.sm-zt-header),
body.sm-zt-custom-header .mobile-header,
body.sm-zt-custom-header .wd-toolbar{
  display:none!important;
}

/* rbpazt tema .site-header boşluğunu sıfırla */
body.sm-zt-custom-header .site-header.sm-zt-header{
  margin-bottom:0!important;
  border-bottom:none!important;
}

body.sm-zt-custom-header .container.site-main,
body.sm-zt-custom-header .site-main{
  margin-top:0!important;
}

body.sm-zt-custom-header .breadcrumb-wrap{
  display:none!important;
}

@media (prefers-reduced-motion:reduce){
  .sm-zt-header__search-btn,
  .sm-zt-header__cart,
  .sm-zt-header__nav .menu-item > a::after,
  .sm-zt-header__drawer,
  .sm-zt-header__overlay,
  .sm-zt-burger__bar{
    transition:none;
  }
}

/* ── Tablet / mobile ── */
@media (max-width:1024px){
  .sm-zt-header__navrow{
    display:none;
  }

  .sm-zt-header__toggle{
    display:inline-flex;
  }

  .sm-zt-header__toolbar{
    gap:10px 12px;
    padding:10px 0;
    min-height:auto;
  }
}

@media (max-width:768px){
  .sm-zt-header__wrap{
    padding:0 14px;
  }

  .sm-zt-header__top{
    font-size:11px;
  }

  .sm-zt-header__top-in{
    justify-content:center;
    padding:7px 0;
    min-height:34px;
    gap:0;
    overflow:hidden;
  }

  .sm-zt-header__pill{
    display:inline-flex;
    max-width:100%;
    margin:0 auto;
    color:#D9E6FA;
    font-size:11.5px;
    font-weight:600;
    line-height:1.3;
    white-space:nowrap;
  }

  .sm-zt-header__top > .sm-zt-header__wrap > .sm-zt-header__top-link,
  .sm-zt-header__top-end{
    display:none;
  }

  .sm-zt-header__main .sm-zt-header__toolbar{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto auto auto auto;
    grid-template-rows:auto auto;
    gap:10px 8px;
    padding:10px 0;
    min-height:auto;
    align-items:center;
  }

  .sm-zt-header__logo{
    grid-column:1;
    grid-row:1;
    min-width:0;
    order:unset;
  }

  .sm-zt-header__logo-img{
    height:34px!important;
    max-width:168px!important;
  }

  .sm-zt-header__account-wrap{
    grid-column:2;
    grid-row:1;
    order:unset;
  }

  .sm-zt-header__account{
    width:40px;
    height:40px;
    min-height:40px;
    padding:0;
    justify-content:center;
    border-radius:10px;
  }

  .sm-zt-header__account span{
    display:none;
  }

  /* Mobilde panel sağa hizalı */
  .sm-zt-header__account-drop{
    right:0;
  }

  .sm-zt-header__dealer-wrap{
    grid-column:3;
    grid-row:1;
    order:unset;
  }

  .sm-zt-header button.sm-zt-header__dealer,
  button.sm-zt-header__dealer[type="button"],
  .sm-zt-header__dealer{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    max-width:40px!important;
    padding:0!important;
    justify-content:center!important;
    border-radius:10px!important;
  }

  .sm-zt-header__dealer span{
    display:none;
  }

  .sm-zt-header__cart{
    grid-column:4;
    grid-row:1;
    width:40px;
    height:40px;
    min-height:40px;
    padding:0;
    gap:0;
    justify-content:center;
    border-radius:10px;
    position:relative;
    order:unset;
  }

  .sm-zt-header__cart-label{
    display:none;
  }

  .sm-zt-header__cart-badge{
    position:absolute;
    top:-5px;
    right:-5px;
    min-width:18px;
    height:18px;
    padding:0 5px;
    font-size:10px;
    font-weight:600;
  }

  .sm-zt-header__toggle{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    grid-column:5;
    grid-row:1;
    width:48px!important;
    min-width:48px!important;
    max-width:48px!important;
    height:48px!important;
    min-height:48px!important;
    margin-left:0;
    padding:0!important;
    order:unset;
    border-radius:12px;
  }

  .sm-zt-burger{
    margin:0 auto;
  }

  .sm-zt-header__actions{
    display:contents;
    order:unset;
  }

  .sm-zt-header__search{
    grid-column:1 / -1;
    grid-row:2;
    max-width:none;
    order:unset;
    flex:unset;
  }

  .sm-zt-header__search-form{
    min-height:42px;
    padding:0 5px 0 14px;
  }

  .sm-zt-header__search-input{
    font-size:14px!important;
    font-weight:400!important;
  }
}

@media (max-width:640px){
  .sm-zt-header__top-in{
    justify-content:center;
  }

  .sm-zt-header__logo-img{
    max-width:140px!important;
  }
}

@media (max-width:768px){
  .sm-zt-header__account-drop,
  .sm-zt-header__dealer-drop{
    position:fixed;
    top:auto;
    left:12px;
    right:12px;
    width:auto;
    max-width:none;
    margin:0;
    z-index:10001;
  }
  .sm-zt-header__account-drop::before,
  .sm-zt-header__dealer-drop::before{
    display:none;
  }
}

@media (max-width:390px){
  .sm-zt-header__main .sm-zt-header__toolbar{
    gap:8px 5px;
  }

  .sm-zt-header__logo-img{
    max-width:112px!important;
  }
}

/* ── Canlı arama açılır kutusu ── */
.sm-zt-search-results{
  position:absolute;
  top:calc(100% + 8px);
  left:0;
  right:0;
  background:#fff;
  border:1px solid var(--sm-hdr-hat);
  border-radius:14px;
  box-shadow:0 18px 44px rgba(10,19,34,.16);
  z-index:130;
  max-height:min(70vh,440px);
  overflow-y:auto;
  overflow-x:hidden;
  padding:6px;
}
.sm-zt-search-results[hidden]{
  display:none;
}
.sm-zt-search-item{
  display:flex;
  align-items:center;
  gap:12px;
  padding:8px 10px;
  border-radius:10px;
  text-decoration:none;
  color:var(--sm-hdr-gece);
}
.sm-zt-search-item:hover,
.sm-zt-search-item:focus{
  background:var(--sm-hdr-kar);
}
.sm-zt-search-item__img{
  width:44px;
  height:44px;
  flex:0 0 44px;
  border-radius:8px;
  overflow:hidden;
  background:var(--sm-hdr-kar);
  border:1px solid #EEF0F8;
  display:block;
}
.sm-zt-search-item__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.sm-zt-search-item__body{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.sm-zt-search-item__title{
  font-size:13.5px;
  font-weight:600;
  line-height:1.3;
  color:var(--sm-hdr-gece);
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.sm-zt-search-item__price{
  font-size:13px;
  font-weight:800;
  color:var(--sm-hdr-mavi);
}
.sm-zt-search-empty{
  padding:16px;
  text-align:center;
  color:var(--sm-hdr-gri);
  font-size:13px;
}
.sm-zt-search-all{
  display:block;
  text-align:center;
  padding:11px;
  margin-top:4px;
  font-size:13px;
  font-weight:700;
  color:var(--sm-hdr-mavi);
  text-decoration:none;
  border-top:1px solid #EEF0F8;
}
.sm-zt-search-all:hover{
  background:var(--sm-hdr-kar);
  border-radius:10px;
}
