/* Reserve the scrollbar space so expanding a form does not change page width. */
html { scrollbar-gutter: stable; }
@supports not (scrollbar-gutter: stable) { html { overflow-y: scroll; } }
/* Account actions and language share a utility row above the main navigation. */
.header.has-account-actions { height: auto; min-height: 126px; flex-wrap: wrap; gap: 8px 18px; padding-block: 14px 12px; }
.header.has-account-actions .header-nav { width: 100%; order: 3; justify-content: space-between; margin-left: 0; }
.header-actions, .header-account-links { display: flex; align-items: center; gap: 14px; }
.header-actions { margin-left: auto; flex-shrink: 0; }
.header-account-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 6px 8px; color: #0f3d2e; font-size: 12px; font-weight: 750; line-height: 1.5; text-decoration: none; }
.header-account-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-account-links .account-register-link { padding: 7px 15px; border: 1px solid #0f3d2e45; border-radius: 9px; background: #fffefd; }
.header-actions .language-switcher { margin-left: 0; }
.page-account [hidden] { display: none !important; }
.account-layout { display: grid; width: 100%; min-width: 0; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 6vw, 88px); align-items: start; padding: 64px 0 76px; }
.account-intro { position: sticky; top: 175px; padding-top: 18px; }
.account-intro .eyebrow { margin-bottom: 20px; }
.account-intro h1 { font-size: clamp(38px, 4.3vw, 62px); line-height: 1.15; }
.account-intro h1 span { display: block; }
.account-intro .intro-copy { font-size: 16px; margin-top: 24px; max-width: 400px; }
.account-brand-art { display: block; width: 74px; height: 74px; margin-top: 38px; border-radius: 19px; }
.account-panel { width: 100%; min-width: 0; padding: clamp(24px, 3vw, 38px); border: 1px solid var(--line); border-radius: 26px; background: #fffefd; box-shadow: 0 14px 40px #0f3d2e06; }
.account-tabs { display: flex; gap: 5px; margin: 0 0 30px; padding: 5px; border: 1px solid #0f3d2e20; border-radius: 12px; background: #edf1eb; }
.account-tabs button { flex: 1; min-width: 0; min-height: 42px; padding: 9px 14px; border: 0; border-radius: 8px; background: transparent; color: #526056; font-size: 14px; font-weight: 750; }
.account-tabs button[aria-selected="true"] { background: #fffefd; color: #0f3d2e; box-shadow: 0 2px 8px #0f3d2e0b; }
.account-form h2, .account-profile h2 { margin: 0 0 9px; font-size: 26px; letter-spacing: -.035em; line-height: 1.35; }
.account-form > p, .account-profile > p { margin: 0 0 24px; color: var(--v2-muted); font-size: 13px; line-height: 1.75; }
.account-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.account-field { min-width: 0; margin: 0 0 20px; }
.account-field label { display: block; margin-bottom: 8px; color: #0f3d2e; font-size: 13px; font-weight: 750; line-height: 1.6; }
.account-field input { display: block; width: 100%; min-width: 0; min-height: 49px; padding: 12px 14px; border: 1px solid #0f3d2e3b; border-radius: 10px; background: #fff; color: #141815; font: inherit; font-size: 14px; line-height: 1.6; }
.account-field input:focus { outline: 2px solid #469671; outline-offset: 2px; border-color: #0f3d2e; }
.account-field input[readonly] { color: #364b3d; background: #edf1eb; cursor: default; }
.account-field input[aria-invalid="true"] { border-color: #a1342b; }
.account-password-control { position: relative; min-width: 0; }
.account-password-control input { padding-right: 52px; }
.account-password-control input[type="password"] { padding-block: 10px; font-family: Arial, sans-serif; font-size: 26px; font-weight: 900; line-height: 1; letter-spacing: -.5px; -webkit-text-stroke: .35px currentColor; }
.account-password-control input::-ms-reveal { display: none; }
.account-password-toggle { position: absolute; top: 50%; right: 3px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #526056; transform: translateY(-50%); }
.account-password-toggle:hover { background: #0f3d2e09; color: #0f3d2e; }
.account-password-toggle svg { width: 21px; height: 21px; stroke-width: 1.7; }
.account-password-toggle .password-eye-slash { display: none; }
.account-password-toggle[aria-pressed="true"] .password-eye-slash { display: block; }
.account-password-toggle:disabled { cursor: default; opacity: .5; }
.account-field small, .account-help { display: block; margin: 8px 0 0; color: #657167; font-size: 11px; line-height: 1.7; }
.account-email-row { display: flex; align-items: stretch; gap: 8px; min-width: 0; }
.account-email-row input { flex: 1 1 0; width: 0; }
.account-email-row button { flex: 0 0 auto; max-width: 45%; }
.account-email-verification { margin-top: 16px; }
.account-email-verification input { letter-spacing: .15em; }
.account-email-row button:disabled { cursor: default; opacity: .65; }
.account-help.is-error, .account-city-error { color: #b3342a; }
.account-city-error { margin: -10px 0 20px; font-size: 12px; line-height: 1.6; }
.account-help.is-success { color: #0f3d2e; font-weight: 700; }
.account-type { margin: 5px 0 24px; padding: 0; border: 0; min-width: 0; }
.account-type legend { margin-bottom: 10px; color: #0f3d2e; font-size: 13px; font-weight: 750; }
.account-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.account-type-choice { display: flex; align-items: center; gap: 9px; min-height: 52px; padding: 12px; border: 1px solid #0f3d2e35; border-radius: 10px; color: #364b3d; font-size: 12px; line-height: 1.55; cursor: pointer; }
.account-type-choice:has(input:checked) { background: #edf2e9; border-color: #469671; }
.account-type-choice input { flex-shrink: 0; width: 17px; height: 17px; margin: 0; accent-color: #0f3d2e; }
.account-business { min-width: 0; max-width: 100%; padding: 20px 18px 1px; margin: 0 0 24px; border: 1px solid #0f3d2e30; border-radius: 13px; background: #f5f6f2; overflow-wrap: anywhere; }
.account-code-row { display: flex; min-width: 0; gap: 8px; align-items: stretch; }
.account-code-row input { flex: 1 1 0; width: 0; }
.account-lookup { padding: 10px 14px; border: 1px solid #0f3d2e45; border-radius: 10px; background: #fff; color: #0f3d2e; font-size: 12px; font-weight: 750; }
.account-lookup:hover { background: #edf1eb; }
.account-submit { display: flex; justify-content: center; width: 100%; min-height: 49px; padding: 12px 18px; border: 1px solid #0f3d2e; border-radius: 11px; background: #0f3d2e; color: #fffefd; font-size: 14px; font-weight: 800; line-height: 1.55; }
.account-submit:hover { background: #0b3024; }
.account-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: #657167; font-size: 12px; }
.account-divider::before, .account-divider::after { content: ""; flex: 1; height: 1px; background: #0f3d2e25; }
.account-google { display: flex; justify-content: center; min-height: 44px; }
.account-google-fallback { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #747775; border-radius: 5px; background: #fff; color: #1f1f1f; font: 500 14px/20px Arial, sans-serif; }
.account-google-fallback img { width: 20px; height: 20px; flex-shrink: 0; object-fit: contain; }
.account-status { margin: 20px 0 0; color: #0f3d2e; font-size: 12px; line-height: 1.75; overflow-wrap: anywhere; }
.account-status:empty { display: none; }
.account-status.is-error { color: #a1342b; }
.account-switch { margin: 24px 0 0; text-align: center; color: #657167; font-size: 12px; line-height: 1.7; }
.account-switch button, .account-signout { padding: 0; border: 0; background: transparent; color: #0f3d2e; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
.account-profile-mark { display: grid; place-items: center; width: 55px; height: 55px; margin-bottom: 20px; border-radius: 17px; background: #edf1eb; color: #0f3d2e; }
.account-profile-mark svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.account-profile dl { margin: 24px 0 28px; font-size: 13px; }
.account-profile dl div { padding: 14px 0; border-top: 1px solid #0f3d2e25; }
.account-profile dt { color: #657167; font-size: 11px; margin-bottom: 5px; }
.account-profile dd { margin: 0; color: #141815; overflow-wrap: anywhere; line-height: 1.7; }
.account-profile .primary-link { width: 100%; justify-content: center; }
.account-signout { display: block; margin: 24px auto 0; font-size: 13px; min-height: 36px; }
.page-account :is(button, a):focus-visible { outline: 2px solid #469671; outline-offset: 4px; }
html[lang="ka"] .account-intro h1 { font-size: clamp(31px, 3.3vw, 48px); line-height: 1.3; }
@media (min-width: 801px) {
  html:has(.header.has-account-actions) { scroll-padding-top: 170px; }
  .page-order .order-summary { top: 160px; }
}
@media (max-width: 1000px) {
  .account-layout { grid-template-columns: 1fr; gap: 28px; }
  .account-intro { position: static; padding-top: 0; }
  .account-panel { width: 100%; max-width: 590px; margin-inline: auto; }
  .account-brand-art { display: none; }
  .account-intro h1 { font-size: 38px; }
}
@media (max-width: 800px) {
  .account-layout { padding: 38px 0 50px; }
  .account-intro h1 { font-size: 41px; }
  .account-intro .intro-copy { max-width: 550px; margin-top: 18px; }
  .account-field input:not([type="password"]) { font-size: 16px; }
}
@media (max-width: 450px) {
  .account-panel { padding: 24px 20px; border-radius: 21px; }
  .account-fields { grid-template-columns: 1fr; gap: 0; }
  .account-type-choice { padding: 10px; gap: 7px; font-size: 11px; }
  .account-business { padding-inline: 13px; }
  .account-form h2, .account-profile h2 { font-size: 23px; }
}

.account-profile-edit { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; margin: 0 0 12px; padding: 11px 18px; border: 1px solid #0f3d2e40; border-radius: 11px; background: #edf1eb; color: #0f3d2e; font: inherit; font-size: 14px; font-weight: 750; }
.account-profile-edit:hover { background: #e1e9df; border-color: #0f3d2e; }
.account-edit-cancel { display: block; width: 100%; min-height: 44px; margin-top: 10px; border: 0; background: transparent; color: #526056; font: inherit; font-size: 13px; font-weight: 700; }
.account-edit-cancel:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Password recovery shares the account layout at all screen sizes. */
.account-switch a { color: #0f3d2e; text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 10px 0; overflow-wrap: anywhere; }
#account-forgot-password { text-decoration: none; }
.recovery-show { display: flex; align-items: center; gap: 10px; margin: 12px 0 18px; min-height: 44px; font-size: 14px; }
.recovery-show input { width: 18px; height: 18px; flex: 0 0 18px; }
#recovery-status { overflow-wrap: anywhere; }
