#login-form-popup .account-container,
.en-account-register-page {
  --en-account-text: #1f2933;
  --en-account-muted: #667085;
  --en-account-border: #e4e7ec;
  --en-account-red: #e5252a;
  --en-account-green: #1f7a63;
  --en-account-ink: #101828;
}

.mfp-bg {
  transition: opacity 120ms ease-out;
}

.mfp-ready .mfp-content {
  animation: enAccountModalIn 140ms cubic-bezier(0.2, 0, 0.1, 1) both;
}

.mfp-removing .mfp-content {
  animation: enAccountModalOut 100ms ease-in both;
}

body.en-account-fallback-modal-open {
  overflow: hidden;
}

.en-account-fallback-backdrop {
  animation: enAccountBackdropIn 100ms ease-out both;
  background: rgba(16, 24, 40, 0.58);
  inset: 0;
  position: fixed;
  z-index: 99998;
}

body.en-account-fallback-modal-open #login-form-popup {
  animation: enAccountFallbackModalIn 140ms cubic-bezier(0.2, 0, 0.1, 1) both;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.26);
  display: block !important;
  left: 50%;
  margin: 0;
  max-height: calc(100vh - 32px);
  max-width: calc(100vw - 32px);
  overflow: auto;
  padding: 0;
  position: fixed;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: min(900px, calc(100vw - 32px));
  z-index: 99999;
}

#login-form-popup:target {
  animation: enAccountFallbackModalIn 140ms cubic-bezier(0.2, 0, 0.1, 1) both;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.26), 0 0 0 9999px rgba(16, 24, 40, 0.58);
  display: block !important;
  left: 50%;
  margin: 0;
  max-height: calc(100vh - 32px);
  max-width: calc(100vw - 32px);
  overflow: auto;
  padding: 0;
  position: fixed;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: min(900px, calc(100vw - 32px));
  z-index: 99999;
}

.en-account-fallback-close {
  align-items: center;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.16);
  color: #101828;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  line-height: 1;
  opacity: 0.72;
  padding: 0;
  position: absolute;
  right: -14px;
  top: -14px;
  transition: opacity 100ms ease-out;
  width: 40px;
  z-index: 1;
}

.en-account-fallback-close:hover,
.en-account-fallback-close:focus {
  opacity: 1;
}

@keyframes enAccountModalIn {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes enAccountModalOut {
  to {
    opacity: 0;
    transform: translate3d(0, 6px, 0) scale(0.99);
  }
}

@keyframes enAccountFallbackModalIn {
  from {
    opacity: 0;
    transform: translate3d(-50%, calc(-50% + 8px), 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale(1);
  }
}

@keyframes enAccountBackdropIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#login-form-popup .account-container {
  border-radius: 8px;
  overflow: hidden;
}

#login-form-popup .account-login-inner,
#login-form-popup .account-register-inner {
  padding: clamp(20px, 2.4vw, 30px);
}

#login-form-popup .account-login-inner h2,
#login-form-popup .account-register-inner h2,
.en-account-register-card h2,
.en-account-register-panel h2 {
  color: var(--en-account-ink);
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.15;
  margin-bottom: 10px;
}

#login-form-popup input.input-text,
.en-account-register-page input.input-text {
  border: 1px solid var(--en-account-border);
  border-radius: 6px;
  box-shadow: none;
  margin: 0;
  min-height: 40px;
  width: 100%;
}

#login-form-popup input.input-text:focus,
.en-account-register-page input.input-text:focus {
  border-color: var(--en-account-green);
  box-shadow: 0 0 0 3px rgba(31, 122, 99, 0.14);
}

.en-account-benefits {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='190' viewBox='0 0 520 190'%3E%3Cpath d='M0 126C72 82 133 82 202 120C273 160 340 159 415 112C459 85 491 78 520 86V190H0Z' fill='%23ead5b7' fill-opacity='.42'/%3E%3Cpath d='M0 92C64 52 128 50 195 84C265 120 326 125 395 87C445 60 486 55 520 66V190H0Z' fill='%23f6eadb' fill-opacity='.7'/%3E%3C/svg%3E") right bottom / 100% auto no-repeat,
    linear-gradient(142deg, #fffaf3 0%, #fff8ef 45%, #f8eadb 100%);
  border-left: 1px solid var(--en-account-border);
  min-height: 100%;
  position: relative;
}

.account-register-inner.en-account-benefits {
  box-sizing: border-box;
  padding: clamp(20px, 2.4vw, 28px);
}

.en-account-benefits p {
  color: var(--en-account-muted);
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 12px;
}

.en-account-benefit-list {
  list-style: none;
  margin: 12px 0 16px;
  padding: 0;
}

.en-account-benefit-list li {
  color: var(--en-account-text);
  display: flex;
  gap: 8px;
  line-height: 1.35;
  margin: 8px 0;
}

.en-account-benefit-list li::before {
  background: var(--en-account-green);
  border-radius: 50%;
  content: "";
  flex: 0 0 7px;
  height: 7px;
  margin-top: 8px;
}

.en-account-register-link.button,
.en-account-register-page .button.primary,
#login-form-popup .woocommerce-form-login__submit {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  margin-bottom: 0;
  margin-right: 0;
  min-height: 40px;
}

.en-login-remember-row {
  margin-bottom: 12px;
}

#login-form-popup .en-login-remember-row .woocommerce-form-login__rememberme,
.en-account-register-page .en-login-remember-row .woocommerce-form-login__rememberme {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  line-height: 1.2;
  margin: 0;
}

#login-form-popup .en-login-remember-row input[type="checkbox"],
.en-account-register-page .en-login-remember-row input[type="checkbox"] {
  flex: 0 0 auto;
  margin: 0;
  vertical-align: middle;
}

.en-login-actions {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-bottom: 0;
}

.en-lost-password-link {
  color: var(--en-account-muted);
  font-size: 13px;
  font-weight: 600;
  margin-left: auto;
  white-space: nowrap;
}

.en-lost-password-link:hover,
.en-lost-password-link:focus {
  color: var(--en-account-green);
}

.en-account-register-page {
  background: #f8fafb;
  padding: clamp(24px, 3.5vw, 46px) 0;
}

.en-account-register-hero {
  max-width: 780px;
  padding-bottom: clamp(10px, 1.4vw, 16px);
}

.en-account-kicker {
  color: var(--en-account-green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.en-account-register-hero h1 {
  color: var(--en-account-ink);
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: 0;
  line-height: 1.06;
  margin-bottom: 10px;
}

.en-account-register-hero h1 span {
  color: var(--en-account-green);
  display: block;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.12;
  margin-top: 8px;
}

.en-account-register-hero p {
  color: var(--en-account-muted);
  font-size: 15px;
  line-height: 1.45;
  max-width: 680px;
}

.en-account-register-layout {
  align-items: stretch;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
}

.en-account-register-panel,
.en-account-register-card {
  background: #fff;
  border: 1px solid var(--en-account-border);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.07);
  padding: clamp(20px, 2.3vw, 28px);
}

.en-account-register-panel {
  background: linear-gradient(135deg, #0d211d 0%, #14392f 58%, #254133 100%);
  color: #fff;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.en-account-register-panel h2 {
  color: #fff;
}

.en-account-benefits-showcase {
  display: flex;
  isolation: isolate;
  min-height: 0;
}

.en-account-benefits-showcase::after {
  background:
    radial-gradient(circle at 78% 16%, rgba(245, 224, 195, 0.28), transparent 28%),
    linear-gradient(90deg, rgba(9, 28, 24, 0.98) 0%, rgba(9, 28, 24, 0.92) 54%, rgba(9, 28, 24, 0.68) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}

.en-favorite-preview {
  background: rgba(255, 250, 243, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  filter: blur(1.2px);
  inset: 22px;
  opacity: 0.62;
  overflow: hidden;
  padding: 18px;
  pointer-events: none;
  position: absolute;
  transform: rotate(-1.5deg) scale(1.04);
  z-index: -1;
}

.en-favorite-preview-header {
  align-items: center;
  border-bottom: 1px solid rgba(16, 24, 40, 0.12);
  color: #10231f;
  display: flex;
  font-size: 13px;
  justify-content: space-between;
  padding-bottom: 14px;
}

.en-favorite-preview-header strong {
  color: #1f7a63;
  font-size: 15px;
}

.en-favorite-preview-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.en-favorite-preview-item {
  background:
    linear-gradient(180deg, rgba(16, 24, 40, 0.02), rgba(16, 24, 40, 0.08)),
    #fff;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.12);
  color: #10231f;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 138px;
  overflow: hidden;
  padding: 62px 14px 14px;
  position: relative;
}

.en-favorite-preview-item::before {
  background:
    linear-gradient(135deg, rgba(31, 122, 99, 0.12), rgba(229, 37, 42, 0.08)),
    linear-gradient(90deg, #f3f4f6 0 38%, #d9dee4 38% 62%, #f6f7f8 62% 100%);
  border-radius: 6px;
  content: "";
  height: 44px;
  left: 14px;
  position: absolute;
  right: 14px;
  top: 16px;
}

.en-favorite-preview-item strong {
  font-size: 15px;
  line-height: 1.2;
}

.en-favorite-preview-item > span:last-child {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  margin-top: 5px;
  text-transform: uppercase;
}

.en-preview-discount {
  background: var(--en-account-red);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 7px 9px;
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 1;
}

.en-account-benefits-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: clamp(20px, 2.4vw, 28px);
  position: relative;
  z-index: 1;
}

.en-account-panel-kicker {
  color: rgba(255, 250, 243, 0.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.en-account-benefits-content > p:not(.en-account-panel-kicker) {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.42;
  margin-bottom: 0;
}

.en-account-benefit-list--page {
  margin: 18px 0 22px;
}

.en-account-benefit-list--page li {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
  display: block;
  line-height: 1.38;
  margin: 0;
  padding: 13px 0;
}

.en-account-benefit-list--page li::before {
  display: none;
}

.en-account-benefit-list--page strong {
  color: #fff;
  display: block;
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 3px;
}

.en-account-benefit-list--page span {
  color: rgba(255, 255, 255, 0.78);
  display: block;
  font-size: 13px;
  line-height: 1.38;
}

.en-account-register-page .button.secondary.en-account-contact-link {
  align-self: flex-start;
  background: #fffaf3;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 6px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
  color: #10231f;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  margin-top: auto;
  min-height: 40px;
  padding: 0 16px;
}

.en-account-register-page .button.secondary.en-account-contact-link:hover,
.en-account-register-page .button.secondary.en-account-contact-link:focus {
  background: #fff;
  color: var(--en-account-green);
}

.en-account-form-note,
.en-account-generated-password,
.en-account-login-link {
  color: var(--en-account-muted);
}

.en-account-route-loading {
  cursor: progress;
}

.en-account-main-exiting {
  opacity: 0.01;
  transform: translate3d(0, 6px, 0);
  transition:
    opacity 90ms ease-out,
    transform 90ms ease-out;
}

.en-account-main-entered {
  animation: enAccountPageIn 160ms cubic-bezier(0.2, 0, 0.1, 1) both;
}

@keyframes enAccountPageIn {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.en-account-register-card--flow {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.en-account-flow-head {
  display: grid;
  gap: 10px;
}

.en-account-stepper {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.en-account-step-indicator {
  align-items: center;
  background: #f6f8fb;
  border: 1px solid var(--en-account-border);
  border-radius: 8px;
  color: var(--en-account-muted);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  justify-content: flex-start;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
  min-height: 36px;
  padding: 7px 9px;
  text-transform: none;
}

.en-account-step-indicator span {
  align-items: center;
  background: #fff;
  border: 1px solid var(--en-account-border);
  border-radius: 50%;
  color: var(--en-account-muted);
  display: inline-flex;
  flex: 0 0 21px;
  font-size: 11px;
  height: 21px;
  justify-content: center;
  line-height: 1;
  width: 21px;
}

.en-account-step-indicator.is-active {
  background: #eff8f5;
  border-color: rgba(31, 122, 99, 0.34);
  color: var(--en-account-ink);
}

.en-account-step-indicator.is-active span,
.en-account-step-indicator.is-complete span {
  background: var(--en-account-green);
  border-color: var(--en-account-green);
  color: #fff;
}

.en-account-step-indicator.is-complete {
  color: var(--en-account-green);
}

.en-account-step-form {
  display: block;
}

.en-account-step-panel {
  animation: enAccountStepIn 150ms cubic-bezier(0.2, 0, 0.1, 1) both;
}

.en-account-step-panel[hidden],
.en-account-delivery-panel[hidden],
.en-account-thankyou[hidden],
.en-account-flow-message[hidden],
.en-account-prev[hidden] {
  display: none !important;
}

@keyframes enAccountStepIn {
  from {
    opacity: 0;
    transform: translate3d(8px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.en-account-step-panel h3 {
  color: var(--en-account-ink);
  font-size: 20px;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 6px;
}

.en-account-step-panel > p {
  color: var(--en-account-muted);
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 12px;
}

.en-account-field-grid {
  align-items: start;
  display: grid;
  gap: 10px;
}

.en-account-field-grid--two,
.en-account-field-grid--address {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.en-account-field-grid + .en-account-field,
.en-account-field + .en-account-field-grid,
.en-account-field + .en-account-field,
.en-account-toggle-row,
.en-account-delivery-panel,
.en-account-chip-group + .en-account-chip-group,
.en-account-chip-group + .en-account-option-stack {
  margin-top: 10px;
}

.en-account-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: flex-start;
  margin: 0;
  min-width: 0;
}

.en-account-field-grid > .en-account-field {
  margin-top: 0;
}

.en-account-field--wide {
  grid-column: 1 / -1;
}

.en-account-field label,
.en-account-toggle-row label {
  color: var(--en-account-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
}

.en-account-field label span {
  color: var(--en-account-red);
}

.en-account-field.has-error input.input-text {
  border-color: var(--en-account-red);
  box-shadow: 0 0 0 3px rgba(229, 37, 42, 0.12);
}

.en-field-error,
.en-field-hint {
  color: var(--en-account-muted);
  font-size: 12px;
  line-height: 1.35;
  min-height: 0;
}

.en-field-error {
  color: var(--en-account-red);
  font-weight: 700;
}

.en-field-error:empty {
  display: none;
}

.en-field-hint.is-success {
  color: var(--en-account-green);
  font-weight: 700;
}

.en-field-hint.is-loading {
  color: var(--en-account-ink);
}

.en-account-input-action {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  height: 40px;
  margin: 0;
  width: 100%;
}

.en-account-input-action input.input-text {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  height: 40px;
  min-height: 40px;
}

.en-account-icon-button {
  align-items: center;
  background: var(--en-account-ink);
  border: 1px solid var(--en-account-ink);
  border-bottom-right-radius: 6px;
  border-top-right-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  height: 40px;
  justify-content: center;
  line-height: 1;
  margin: 0;
  min-height: 40px;
  min-width: 36px;
  padding: 0;
  text-transform: none;
  width: 36px;
}

.en-account-icon-button[aria-busy="true"] {
  opacity: 0.62;
}

.en-account-toggle-row {
  margin-bottom: 0;
}

.en-account-toggle-row label,
.en-account-option-card {
  align-items: center;
  background: #f8fafb;
  border: 1px solid var(--en-account-border);
  border-radius: 8px;
  display: flex;
  gap: 8px;
  padding: 10px 12px;
}

.en-account-toggle-row input,
.en-account-option-card input {
  flex: 0 0 auto;
  margin: 0;
}

.en-account-delivery-panel {
  animation: enAccountStepIn 140ms ease-out both;
  background: #fbfcfd;
  border: 1px solid var(--en-account-border);
  border-radius: 8px;
  padding: 10px;
}

.en-account-chip-group {
  align-items: flex-start;
  background: #f8fafb;
  border: 1px solid var(--en-account-border);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px;
}

.en-account-chip-group > strong {
  color: var(--en-account-ink);
  flex: 0 0 100%;
  font-size: 13px;
  line-height: 1.25;
}

.en-account-chip-group label {
  cursor: pointer;
  display: inline-flex;
  margin: 0;
}

.en-account-chip-group input {
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  position: absolute;
}

.en-account-chip-group span {
  background: #fff;
  border: 1px solid var(--en-account-border);
  border-radius: 7px;
  color: var(--en-account-text);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  min-height: 30px;
  padding: 7px 10px;
}

.en-account-chip-group input:focus-visible + span,
.en-account-step-indicator:focus-visible,
.en-account-icon-button:focus-visible,
.en-account-option-card:focus-within {
  outline: 3px solid rgba(31, 122, 99, 0.2);
  outline-offset: 2px;
}

.en-account-chip-group label:has(input:checked) span {
  background: #eff8f5;
  border-color: var(--en-account-green);
  color: var(--en-account-green);
}

.en-account-option-stack {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.en-account-option-card {
  align-items: flex-start;
  cursor: pointer;
  min-height: 78px;
  padding: 9px 10px;
}

.en-account-option-card span {
  display: grid;
  gap: 3px;
}

.en-account-option-card strong {
  color: var(--en-account-ink);
  line-height: 1.25;
}

.en-account-option-card em {
  color: var(--en-account-muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.4;
}

.en-account-option-card:has(input:checked) {
  background: #eff8f5;
  border-color: rgba(31, 122, 99, 0.35);
}

.en-account-privacy-text {
  color: var(--en-account-muted);
  font-size: 12px;
  line-height: 1.45;
  margin-top: 12px;
}

.en-account-flow-message {
  border: 1px solid var(--en-account-border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  padding: 9px 11px;
}

.en-account-flow-message.is-error {
  background: #fff5f5;
  border-color: rgba(229, 37, 42, 0.24);
  color: #b42318;
}

.en-account-flow-message.is-success {
  background: #eff8f5;
  border-color: rgba(31, 122, 99, 0.24);
  color: var(--en-account-green);
}

.en-account-form-actions {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-top: 16px;
}

.en-account-form-actions .button {
  margin-bottom: 0;
  margin-right: 0;
  min-width: 132px;
}

.en-account-form-actions .en-account-next {
  margin-left: auto;
}

.en-account-register-page .button.secondary.en-account-prev {
  align-items: center;
  background: #fff;
  border: 1px solid var(--en-account-border);
  border-radius: 6px;
  color: var(--en-account-text);
  display: inline-flex;
  justify-content: center;
  margin-bottom: 0;
  margin-right: 0;
  min-height: 40px;
}

.en-account-register-card--flow.is-submitting {
  cursor: wait;
}

.en-account-register-card--flow.is-submitting input,
.en-account-register-card--flow.is-submitting button {
  pointer-events: none;
}

.en-account-hp {
  left: -9999px;
  opacity: 0;
  position: absolute;
}

.en-account-thankyou {
  animation: enAccountStepIn 180ms cubic-bezier(0.2, 0, 0.1, 1) both;
  background: #eff8f5;
  border: 1px solid rgba(31, 122, 99, 0.22);
  border-radius: 8px;
  color: var(--en-account-text);
  padding: clamp(20px, 3vw, 30px);
}

.en-account-thankyou-mark {
  align-items: center;
  background: var(--en-account-green);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 22px;
  font-weight: 900;
  height: 40px;
  justify-content: center;
  margin-bottom: 12px;
  width: 40px;
}

.en-account-thankyou h2 {
  margin-bottom: 10px;
}

.en-account-thankyou p {
  color: var(--en-account-muted);
  font-size: 15px;
  line-height: 1.5;
}

.en-account-form-loading {
  cursor: wait;
  opacity: 0.78;
}

.en-account-form-loading button {
  pointer-events: none;
}

@media (max-width: 849px) {
  #login-form-popup .account-login-inner,
  #login-form-popup .account-register-inner {
    padding: 20px;
  }

  #login-form-popup .row-divided > .col + .col {
    border-left: 0;
    border-top: 1px solid var(--en-account-border);
  }

  .en-account-benefits {
    border-left: 0;
  }

  .account-register-inner.en-account-benefits {
    padding: 20px;
  }

  .en-account-register-page {
    padding: 20px 0 28px;
  }

  .en-account-register-hero {
    padding-bottom: 12px;
  }

  .en-account-register-hero h1 {
    font-size: 28px;
    line-height: 1.08;
  }

  .en-account-register-hero p {
    font-size: 14px;
  }

  .en-login-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .en-lost-password-link {
    margin-left: 0;
  }

  .en-account-register-layout {
    gap: 12px;
    grid-template-columns: 1fr;
  }

  .en-account-register-panel,
  .en-account-register-card {
    padding: 18px;
  }

  .en-account-register-card {
    order: 1;
  }

  .en-account-register-card--flow {
    gap: 10px;
  }

  .en-account-benefits-showcase {
    min-height: 0;
    order: 2;
  }

  .en-favorite-preview {
    inset: 14px;
    opacity: 0.48;
  }

  .en-account-benefits-content {
    padding: 18px;
    min-height: 0;
  }

  .en-account-flow-head {
    gap: 9px;
  }

  .en-account-stepper {
    gap: 5px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .en-account-step-indicator {
    font-size: 11px;
    gap: 5px;
    min-height: 34px;
    padding: 6px 7px;
  }

  .en-account-step-indicator span {
    flex-basis: 19px;
    font-size: 10px;
    height: 19px;
    width: 19px;
  }

  .en-account-field-grid {
    gap: 8px;
  }

  .en-account-field-grid--two,
  .en-account-field-grid--address {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .en-account-field-grid + .en-account-field,
  .en-account-field + .en-account-field-grid,
  .en-account-field + .en-account-field,
  .en-account-toggle-row,
  .en-account-delivery-panel,
  .en-account-chip-group + .en-account-chip-group,
  .en-account-chip-group + .en-account-option-stack {
    margin-top: 8px;
  }

  .en-account-form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
    margin-top: 12px;
  }

  .en-account-option-stack {
    grid-template-columns: 1fr;
  }

  .en-account-form-actions .button,
  .en-account-form-actions .en-account-next {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 549px) {
  body.en-account-fallback-modal-open #login-form-popup,
  #login-form-popup:target {
    max-height: calc(100vh - 20px);
    max-width: calc(100vw - 20px);
    width: calc(100vw - 20px);
  }

  #login-form-popup .account-login-inner,
  #login-form-popup .account-register-inner,
  .account-register-inner.en-account-benefits {
    padding: 18px;
  }

  .en-account-register-page {
    padding: 16px 0 24px;
  }

  .en-account-register-page > .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .en-account-register-hero h1 {
    font-size: 25px;
  }

  .en-account-register-layout {
    gap: 10px;
  }

  .en-account-register-panel,
  .en-account-register-card {
    padding: 16px;
  }

  .en-account-benefits-content {
    padding: 16px;
  }

  .en-account-step-panel h3 {
    font-size: 18px;
  }

  .en-account-step-panel > p {
    margin-bottom: 10px;
  }

  .en-account-step-indicator {
    justify-content: center;
  }
}

@media (max-width: 359px) {
  .en-account-field-grid--two,
  .en-account-field-grid--address {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mfp-ready .mfp-content,
  .mfp-removing .mfp-content,
  body.en-account-fallback-modal-open #login-form-popup,
  #login-form-popup:target,
  .en-account-fallback-backdrop,
  .en-account-main-entered,
  .en-account-step-panel,
  .en-account-delivery-panel,
  .en-account-thankyou {
    animation: none;
  }

  .en-account-main-exiting {
    transition: none;
  }
}
