.esnaf-store :is(#account-login,#account-register) .esnaf-auth-card {
  width: min(100%, 490px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #dce4da;
  border-radius: 20px;
  background: white;
  box-shadow: 0 7px 24px rgb(22 58 35 / 6%);
}
.esnaf-store .esnaf-auth-photo {
  display: block;
  width: 100%;
  height: clamp(104px, 24vw, 150px);
  object-fit: cover;
  object-position: center 47%;
}
.esnaf-store .esnaf-auth-inner { padding: clamp(18px, 4vw, 28px); }
.esnaf-store :is(#account-login,#account-register) .esnaf-auth-inner h1 {
  margin: 0;
  color: #183b28;
  font-size: clamp(29px, 5vw, 38px);
  letter-spacing: -.055em;
}
.esnaf-store .esnaf-auth-inner > p { margin: 5px 0 18px; color: #505e52; }
.esnaf-store .esnaf-auth-inner a { color: #14612b; font-weight: 650; }
.esnaf-store .esnaf-auth-inner :is(#form-login,#form-register) {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.esnaf-store .esnaf-auth-inner #form-login label {
  display: inline-block;
  margin: 0 0 6px;
  color: #203d2b;
  font-size: 14px;
  font-weight: 650;
}
.esnaf-store .esnaf-auth-inner #form-login .form-control { min-height: 47px; border-radius: 11px; font-size: 16px; }
.esnaf-auth-field-label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 15px; }
.esnaf-auth-field-label a { font-size: 13px; }
.esnaf-auth-password { position: relative; }
.esnaf-auth-password input { padding-right: 47px; }
.esnaf-auth-password button {
  position: absolute; top: 2px; right: 2px; bottom: 2px;
  width: 44px; border: 0; border-radius: 10px; background: transparent; color: #45634a;
}
.esnaf-store .esnaf-auth-inner .esnaf-auth-submit { display: flex; justify-content: space-between; width: 100%; min-height: 48px; margin-top: 20px; padding-inline: 15px; border-radius: 11px; }
.esnaf-store #account-register .esnaf-auth-register { width: min(100%, 680px); }
.esnaf-store #account-register .esnaf-auth-photo { height: clamp(70px, 12vw, 100px); }
.esnaf-store #account-register .esnaf-auth-inner legend { color: #244331; font: 650 17px/1.3 var(--esnaf-font,system-ui); }
.esnaf-hub-actions { display: grid; gap: 8px; margin: 0 0 15px; }
.esnaf-store #account-account .esnaf-hub-actions a {
  display: flex; align-items: center; gap: 10px; min-height: 45px; padding: 9px 14px; border: 1px solid #c8dfce; border-radius: 12px;
  color: #174e2c; background: #f0f8ee; text-decoration: none; font-weight: 620;
}
.esnaf-store #account-account .esnaf-hub-actions .esnaf-hub-repeat { background: white; justify-content: center; }
.esnaf-hub-actions a > i:last-child:not(:first-child) { margin-inline-start: auto; font-size: 12px; }
.esnaf-store .esnaf-account-summary { padding: 14px; border-radius: 16px; }
.esnaf-store .esnaf-account-summary ul a {
  display: flex; align-items: center; gap: 10px; min-height: 43px; padding: 5px 0;
  color: #223e2b; font-weight: 570; text-decoration: none;
}
.esnaf-store .esnaf-account-summary ul a:hover { color: #10682c; text-decoration: none; }
.esnaf-hub-icon { display: grid; flex: none; place-items: center; width: 31px; height: 31px; border-radius: 9px; background: #e9f5e9; color: #186836; font-size: 13px; }
.esnaf-hub-chevron { margin-inline-start: auto; color: #708275; font-size: 10px; }
.esnaf-hub-count { margin-inline-start: auto; padding: 1px 7px; border-radius: 20px; color: #fff; background: #10692f; font-size: 12px; }
.esnaf-hub-count + .esnaf-hub-chevron { margin-inline-start: 0; }
.esnaf-store #account-order .esnaf-order-summary { padding: 15px; border: 1px solid #d8e3d8; border-radius: 16px; }
.esnaf-store #account-order .esnaf-order-summary header { position: static; padding: 0; }
.esnaf-store #account-order .esnaf-order-summary header span { padding: 4px 10px; border-radius: 99px; }
.esnaf-order-update { margin: 8px 0 0; color: #11672d; font-size: 13px; font-weight: 620; }
@media (min-width: 768px) {
  .esnaf-hub-actions { grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); }
  .esnaf-store #account-register .esnaf-auth-inner .col-form-label { width: 27%; }
  .esnaf-store #account-register .esnaf-auth-inner .col-sm-10 { width: 73%; }
}
.esnaf-store .esnaf-recipient-fields {
  flex-basis: 100%; width: 100%; display: grid; gap: 15px; margin: 2px 0 18px; padding: 0 10px;
}
.esnaf-store #form-address .esnaf-recipient-fields { padding-inline: 0; }
.esnaf-store .esnaf-recipient-fields label { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 610; color: #293f2c; }
.esnaf-store .esnaf-recipient-fields small { font-weight: 450; color: #566456; }
.esnaf-recipient-phone { display: flex; align-items: stretch; }
.esnaf-recipient-phone > span { display: grid; place-items: center; padding: 0 10px; border: 1px solid #becdbe; border-right: 0; border-radius: 9px 0 0 9px; background: #f1f6ef; color: #265735; font-weight: 620; }
.esnaf-store .esnaf-recipient-phone .form-control { min-width: 0; border-radius: 0 9px 9px 0; }
.esnaf-store :is(#form-address,#checkout-checkout) .esnaf-recipient-invoice { min-width: 0; padding: 12px; border: 1px solid #dce5da; border-radius: 12px; }
.esnaf-store .esnaf-recipient-invoice legend { float: none; width: auto; margin: 0; padding-inline: 4px; color: #245533; font-size: 15px; font-weight: 650; }
.esnaf-invoice-types { display: flex; gap: 7px; margin-bottom: 12px; }
.esnaf-store .esnaf-invoice-types label { display: flex; align-items: center; justify-content: center; flex: 1; gap: 6px; padding: 7px; min-height: 39px; margin: 0; border: 1px solid #cddacf; border-radius: 9px; cursor: pointer; }
.esnaf-invoice-types label:has(:checked) { background: #e7f5e8; color: #145329; }
.esnaf-invoice-business label:not(:first-child) { margin-top: 10px; }
.esnaf-recipient-invoice:has([value="bireysel"]:checked) .esnaf-invoice-business,
.esnaf-recipient-invoice:has([value="kurumsal"]:checked) .esnaf-invoice-person { display: none; }

.esnaf-recipient-names { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.esnaf-store .esnaf-recipient-names .form-control { min-width: 0; }
.esnaf-store .esnaf-recipient-phone:has(.is-invalid) + .invalid-feedback { display: block; }
