
/* ALTAY STORE PAKET 25 - PERFORMANCE CLEANUP */
/* Tek harici CSS. Ağır inline CSS ve MutationObserver kaldırıldı. */

:root{--altay-font:Arial,Helvetica,sans-serif}
html body,
html body *:not(svg):not(path):not(circle):not(rect):not(line):not(polyline):not(polygon):not(use),
html body input,html body select,html body textarea,html body button{
  font-family:var(--altay-font)!important;
}

/* Ürün grid görselleri */
html body li.product .altay-loop-media,
html body .woocommerce ul.products li.product .altay-loop-media{
  aspect-ratio:4/5!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  background:#05080f!important;
}
html body li.product .altay-loop-media-link,
html body li.product .altay-loop-media .main,
html body li.product .altay-loop-media .hover{
  width:100%!important;
  height:100%!important;
  display:block!important;
  overflow:hidden!important;
}
html body li.product .altay-loop-media img,
html body .woocommerce ul.products li.product .altay-loop-media img{
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center top!important;
  padding:0!important;
  margin:0!important;
}
html body li.product .altay-loop-title,
html body .woocommerce ul.products li.product .altay-loop-title,
html body li.product .woocommerce-loop-product__title,
html body .woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-family:var(--altay-font)!important;
  font-weight:900!important;
  letter-spacing:-.02em!important;
}

/* Kayıt / giriş alanı */
html body.woocommerce-account:not(.logged-in) .woocommerce-form-register.register,
html body.woocommerce-account:not(.logged-in) .altay-auth-panel[data-auth-panel="register"] form.woocommerce-form-register{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px 24px!important;
}
html body.woocommerce-account:not(.logged-in) .woocommerce-form-register p:has(#reg_email),
html body.woocommerce-account:not(.logged-in) .woocommerce-form-register .altay-p24-register-email-row{
  grid-column:1/-1!important;
  width:100%!important;
  max-width:100%!important;
  float:none!important;
  clear:both!important;
  margin:0!important;
}
html body.woocommerce-account .woocommerce-form-register p:has(#reg_billing_first_name),
html body.woocommerce-account .woocommerce-form-register p:has(#reg_billing_last_name),
html body.woocommerce-account .woocommerce-form-register .altay-register-name-row{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  float:none!important;
  clear:none!important;
  margin:0!important;
  display:block!important;
}
html body.woocommerce-account .woocommerce-form-register input.input-text,
html body.woocommerce-account .woocommerce-form-register input[type="text"],
html body.woocommerce-account .woocommerce-form-register input[type="email"],
html body.woocommerce-account .woocommerce-form-register input[type="password"],
html body.woocommerce-account .woocommerce-form-register input[type="date"],
html body.woocommerce-account .woocommerce-form-register input[type="tel"],
html body.woocommerce-account .woocommerce-form-login input.input-text{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:60px!important;
  min-height:60px!important;
  border-radius:16px!important;
  box-sizing:border-box!important;
}
html body.woocommerce-account .woocommerce-form-register #reg_email,
html body.woocommerce-account .woocommerce-form-login #username,
html body.woocommerce-account .woocommerce-form-login input[name="username"]{
  font-size:14px!important;
  letter-spacing:-.035em!important;
  padding-left:16px!important;
  padding-right:16px!important;
  font-weight:850!important;
}
html body.woocommerce-account .password-input{position:relative!important;display:block!important;width:100%!important}
html body.woocommerce-account .password-input input,
html body.woocommerce-account input[type="password"]{padding-right:62px!important}
html body.woocommerce-account .show-password-input{
  position:absolute!important;
  right:10px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  min-height:40px!important;
  border-radius:999px!important;
  background:#050505!important;
  color:#fff!important;
  border:0!important;
  opacity:1!important;
  visibility:visible!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  z-index:30!important;
  font-size:0!important;
  padding:0!important;
}
html body.woocommerce-account .show-password-input::before{
  content:"👁"!important;
  font-size:16px!important;
  color:#fff!important;
  line-height:1!important;
}

/* Hesabım doğrulama */
html body .altay-v138-verify-panel{
  width:100%!important;
  max-width:780px!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
html body .altay-v138-verify-content{min-width:0!important;width:100%!important;overflow:visible!important}
html body .altay-v138-verify-top{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 142px!important;
  gap:14px!important;
  align-items:start!important;
  margin-bottom:10px!important;
}
html body .altay-v138-status{
  width:142px!important;
  min-width:142px!important;
  max-width:142px!important;
  height:40px!important;
  padding:0 10px!important;
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  justify-self:end!important;
  background:#fff1f2!important;
  color:#be123c!important;
  border:1px solid #fecdd3!important;
  border-radius:999px!important;
  font-size:10px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  opacity:1!important;
  visibility:visible!important;
}
html body .altay-v138-code-form{
  display:grid!important;
  grid-template-columns:minmax(220px,1fr) minmax(190px,230px)!important;
  gap:14px!important;
  align-items:center!important;
  width:100%!important;
  margin:16px 0 0!important;
}
html body .altay-v138-code-input,
html body .altay-v138-code-btn{
  width:100%!important;
  height:58px!important;
  min-height:58px!important;
  border-radius:16px!important;
  box-sizing:border-box!important;
}
html body .altay-v138-code-btn{
  background:#050505!important;
  color:#fff!important;
  white-space:nowrap!important;
  font-weight:900!important;
}
html body .altay-v138-resend-form{
  display:block!important;
  width:100%!important;
  margin:18px 0 0!important;
  clear:both!important;
  overflow:visible!important;
}
html body .altay-v138-resend-form button{
  width:auto!important;
  min-width:154px!important;
  height:42px!important;
  padding:0 18px!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#071020!important;
  border:1px solid #d8e1ec!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:900!important;
  white-space:nowrap!important;
  text-decoration:none!important;
  opacity:1!important;
  visibility:visible!important;
}

/* Bildirim iconu yazının üstüne binmesin */
html body .woocommerce-message,
html body .woocommerce-info,
html body .woocommerce-error{
  position:relative!important;
  padding:22px 24px 22px 88px!important;
  min-height:72px!important;
  display:flex!important;
  align-items:center!important;
  overflow:visible!important;
  text-indent:0!important;
  white-space:normal!important;
  line-height:1.32!important;
}
html body .woocommerce-message::before,
html body .woocommerce-info::before,
html body .woocommerce-error::before{
  position:absolute!important;
  left:26px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  margin:0!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
}

/* Sağdan açılan sepet */
html body .altay-cart-drawer__item{
  grid-template-columns:minmax(0,1fr) 132px!important;
  gap:16px!important;
  align-items:start!important;
  padding:20px!important;
}
html body .altay-cart-drawer__item img{
  width:132px!important;
  height:168px!important;
  object-fit:cover!important;
  border-radius:18px!important;
}
html body .altay-cart-drawer__controls{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  flex-wrap:nowrap!important;
  width:100%!important;
  margin:14px 0 12px!important;
}
html body .altay-cart-drawer__controls [data-altay-cart-remove]{
  flex:0 0 58px!important;
  width:58px!important;
  min-width:58px!important;
  height:36px!important;
  border-radius:999px!important;
  background:#fff1f2!important;
  color:#dc2626!important;
  border:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  font-size:13px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}

@media(max-width:760px){
  html body.woocommerce-account:not(.logged-in) .woocommerce-form-register.register,
  html body.woocommerce-account:not(.logged-in) .altay-auth-panel[data-auth-panel="register"] form.woocommerce-form-register{
    grid-template-columns:1fr!important;
  }
  html body .altay-v138-verify-top,
  html body .altay-v138-code-form{
    grid-template-columns:1fr!important;
  }
  html body .altay-v138-status{justify-self:start!important}
}
