html.aqc-is-open,
body.aqc-is-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.aqc-presenter {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: var(--aqc-ink);
}

.aqc-presenter::backdrop {
  background: rgba(27, 30, 25, .48);
  backdrop-filter: blur(3px);
}

.aqc-presenter__panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--aqc-canvas);
  box-shadow: 0 24px 80px rgba(31, 37, 29, .24);
}

.aqc-presenter__header {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 20px 13px;
  border-bottom: 1px solid var(--aqc-line);
}

.aqc-presenter__header h2 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.45;
}

.aqc-presenter__back,
.aqc-presenter__close {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--aqc-line);
  border-radius: 12px;
  place-items: center;
  background: #fff;
  color: var(--aqc-ink);
  cursor: pointer;
}

.aqc-presenter__back[hidden] { visibility: hidden; }
.aqc-presenter__back span { margin-top: -4px; font: 400 30px/1 sans-serif; }
.aqc-presenter__close span { margin-top: -2px; font: 300 27px/1 sans-serif; }
.aqc-presenter__back:focus-visible,
.aqc-presenter__close:focus-visible { outline: 3px solid rgba(87, 107, 80, .25); outline-offset: 2px; }
.aqc-presenter.is-locked .aqc-presenter__close { opacity: .42; cursor: not-allowed; }

.aqc-presenter__progress {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 8px 20px 0;
}

.aqc-presenter__progress i {
  height: 3px;
  border-radius: 999px;
  background: rgba(87, 107, 80, .13);
  transition: background-color .2s ease;
}

.aqc-presenter__progress i.is-active,
.aqc-presenter__progress i.is-current { background: #576b50; }

.aqc-presenter__status {
  flex: 0 0 auto;
  margin: 8px 20px 0;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(87, 107, 80, .1);
  color: #576b50;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
}

.aqc-presenter__status[hidden] { display: none !important; }
.aqc-presenter__status[data-kind="warning"] { background: rgba(170, 96, 69, .1); color: #8f4e38; }

.aqc-presenter__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 18px 20px calc(20px + var(--aqc-keyboard-inset, 0px));
  overflow: auto;
  overscroll-behavior: contain;
}

.aqc-step-slot > * { animation: aqc-step-enter .22s cubic-bezier(.2, .8, .2, 1) both; }

.aqc-presenter__footer {
  flex: 0 0 auto;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--aqc-line);
  background: #fff;
  box-shadow: 0 -8px 22px rgba(46, 49, 45, .06);
}

.aqc-presenter__footer[hidden] { display: none; }

.aqc-presenter--dialog {
  display: grid;
  place-items: center;
}

.aqc-presenter--dialog .aqc-presenter__panel {
  position: relative;
  width: min(1080px, calc(100vw - 52px));
  height: min(88dvh, 820px);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 22px;
  animation: aqc-dialog-in .22s cubic-bezier(.2, .75, .24, 1) both;
}

.aqc-presenter--dialog .aqc-presenter__body { padding: 22px 24px 26px; }
.aqc-presenter--dialog .aqc-presenter__footer { padding-inline: 24px; }
.aqc-presenter--dialog[data-step="auth"] .aqc-presenter__panel { width: min(432px, calc(100vw - 32px)); height: auto; max-height: min(88dvh, 680px); }

/* Final treatment layer. Every visual rule below is contained by the sheet. */
.aqc-presenter--sheet {
  font-family: 'iransans', Tahoma, sans-serif;
}

.aqc-presenter--sheet *,
.aqc-presenter--sheet *::before,
.aqc-presenter--sheet *::after { box-sizing: border-box; }

.aqc-presenter--sheet input,
.aqc-presenter--sheet select,
.aqc-presenter--sheet textarea,
.aqc-presenter--sheet button,
.aqc-presenter--sheet .woocommerce-Price-amount { font-family: 'iransans', Tahoma, sans-serif !important; }

/* Mobile Safari zooms the whole page when a focused control renders below 16px,
   and the sheet cannot scroll that zoom back. Every typable control therefore
   starts at 16px; anything smaller below has to be a control nothing focuses. */
.aqc-presenter input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="hidden"]),
.aqc-presenter select,
.aqc-presenter textarea { font-size: 16px; }

.aqc-presenter--sheet .aqc-presenter__panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  height: auto;
  max-height: min(92dvh, 860px);
  overflow: hidden;
  border: 0;
  border-radius: 28px 28px 0 0;
  background: #fff;
  transform: translateY(105%);
  transition: transform .3s cubic-bezier(.32, .72, 0, 1);
  will-change: transform;
}

.aqc-presenter--sheet.is-entered .aqc-presenter__panel { transform: translateY(0); }
/* A drag has to track the finger, not ease behind it. */
.aqc-presenter--sheet.is-dragging .aqc-presenter__panel { transition: none; }

.aqc-presenter--sheet .aqc-presenter__header {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  grid-template-rows: 5px 36px;
  row-gap: 14px;
  min-height: 0;
  padding: 14px 24px 18px;
  border: 0;
  background: #fff;
  touch-action: none;
}

.aqc-presenter--sheet.is-dragging .aqc-presenter__header { cursor: grabbing; user-select: none; }

.aqc-presenter--sheet .aqc-presenter__handle {
  grid-column: 1 / -1;
  grid-row: 1;
  width: 44px;
  height: 5px;
  margin: 0;
  border-radius: 5px;
  justify-self: center;
  background: #e4e4e7;
}

.aqc-presenter--sheet .aqc-presenter__back { grid-column: 1; grid-row: 2; }
.aqc-presenter--sheet .aqc-presenter__close { grid-column: 3; grid-row: 2; }
.aqc-presenter--sheet .aqc-presenter__back,
.aqc-presenter--sheet .aqc-presenter__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f4f4f5;
  color: #71717a;
}

.aqc-presenter--sheet .aqc-presenter__back:hover,
.aqc-presenter--sheet .aqc-presenter__close:hover { background: #e4e4e7; color: #2e312d; }

.aqc-presenter--sheet .aqc-presenter__header h2 {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  color: #2e312d;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.aqc-presenter--sheet .aqc-presenter__progress {
  gap: 8px;
  padding: 0 24px 13px;
  background: #fff;
}

.aqc-presenter--sheet .aqc-presenter__progress i { height: 4px; border-radius: 4px; background: #f4f4f5; }
.aqc-presenter--sheet .aqc-presenter__progress i.is-active,
.aqc-presenter--sheet .aqc-presenter__progress i.is-current { background: #576b50; }

.aqc-presenter--sheet .aqc-presenter__body {
  min-height: 0;
  padding: 24px 24px calc(24px + var(--aqc-keyboard-inset, 0px));
  overflow-x: hidden;
  overflow-y: auto;
  background: #fff;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.aqc-presenter--sheet .aqc-presenter__body::-webkit-scrollbar { width: 0; height: 0; }

.aqc-presenter--sheet .aqc-presenter__footer {
  width: 100%;
  margin: 0;
  padding: 16px 24px calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #f0f1ef;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 -8px 22px rgba(46, 49, 45, .06);
}

.aqc-presenter--sheet .aqc-footer-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 16px;
}

.aqc-presenter--sheet .aqc-footer-total > span {
  color: #62675f !important;
  font-family: 'iransans', Tahoma, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

.aqc-presenter--sheet .aqc-footer-total > strong,
.aqc-presenter--sheet .aqc-footer-total .woocommerce-Price-amount,
.aqc-presenter--sheet .aqc-footer-total .woocommerce-Price-amount bdi {
  color: #2e312d !important;
  font-family: 'iransans', Tahoma, sans-serif !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  line-height: 1.45 !important;
  white-space: nowrap;
}

.aqc-presenter--sheet .aqc-footer-total .woocommerce-Price-currencySymbol,
.aqc-presenter--dialog .aqc-footer-total .woocommerce-Price-currencySymbol {
  margin-right: 4px;
  color: inherit !important;
  font-family: 'iransans', Tahoma, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  opacity: .72;
}

.aqc-presenter--sheet .aqc-presenter__footer .aqc-primary-action {
  display: inline-flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 18px;
  border: 0;
  border-radius: 14px;
  direction: ltr;
  background: #aa6045;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.5;
  cursor: pointer;
  transition: background-color .16s ease, transform .16s ease;
}

.aqc-presenter--sheet .aqc-presenter__footer .aqc-primary-action:hover { background: #8f4e38; }
.aqc-presenter--sheet .aqc-presenter__footer .aqc-primary-action:active { transform: scale(.99); }
.aqc-presenter--sheet .aqc-presenter__footer .aqc-primary-action:disabled { background: #d4d4d8; cursor: wait; }
.aqc-presenter--sheet .aqc-primary-action__label { direction: rtl; }
.aqc-presenter--sheet .aqc-primary-action__icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.6; }

/* Selected course card. */
.aqc-presenter--sheet[data-step="summary"] .aqc-presenter__body { padding-top: 12px; }
.aqc-presenter--sheet .aqc-summary { display: grid; gap: 10px; }
.aqc-presenter--sheet .aqc-summary__heading { margin: 0 0 4px; }
.aqc-presenter--sheet .aqc-summary__heading .aqc-eyebrow { color: #2e312d; font-size: 12px; font-weight: 600; line-height: 1.5; }
.aqc-presenter--sheet .aqc-summary__total,
.aqc-presenter--sheet .aqc-summary__count { display: none !important; }
.aqc-presenter--sheet .aqc-summary__items { display: grid; gap: 10px; }

.aqc-presenter--sheet .aqc-summary-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 36px;
  grid-template-rows: auto auto;
  gap: 8px 12px;
  min-height: 96px;
  align-items: center;
  padding: 12px;
  border: 1px solid #edf0eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}

.aqc-presenter--sheet .aqc-summary-item > img {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}

.aqc-presenter--sheet .aqc-summary-item__body { grid-column: 2; grid-row: 1; min-width: 0; }
.aqc-presenter--sheet .aqc-summary-item__body strong { display: block; color: #2e312d; font-size: 13px; font-weight: 700; line-height: 1.65; white-space: normal; }
.aqc-presenter--sheet .aqc-summary-item__meta { display: contents; }

.aqc-presenter--sheet .aqc-summary-item__delete {
  grid-column: 3;
  grid-row: 1;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 11px;
  place-items: center;
  background: #fff0f2;
  color: #d91d46;
  cursor: pointer;
}

.aqc-presenter--sheet .aqc-summary-item__delete svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
.aqc-presenter--sheet .aqc-summary-item__delete:hover { background: #ffe2e8; }
.aqc-presenter--sheet .aqc-summary-item__delete:disabled { opacity: .5; cursor: wait; }

.aqc-presenter--sheet .aqc-summary-item__price {
  grid-column: 2 / 4;
  grid-row: 2;
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 8px;
  direction: rtl;
  text-align: right;
}

.aqc-presenter--sheet .aqc-summary-item__discount { display: none; }
.aqc-presenter--sheet .aqc-summary-item__price del { color: #a1a1aa; font-size: 11px; font-weight: 500; opacity: .85; }
.aqc-presenter--sheet .aqc-summary-item__price b,
.aqc-presenter--sheet .aqc-summary-item__price b .woocommerce-Price-amount { color: #2e312d !important; font-family: 'iransans', Tahoma, sans-serif !important; font-size: 13px; font-weight: 700; text-decoration: none; }
.aqc-presenter--sheet .aqc-summary__error { margin: 0; color: #b42318; font-size: 12px; }

/* AQC-owned authentication UI. No OTP template selector is shared here. */
.aqc-presenter[data-step="auth"] { font-family: 'iransans', Tahoma, sans-serif; }
.aqc-presenter[data-step="auth"] .aqc-auth,
.aqc-presenter[data-step="auth"] .aqc-auth * { box-sizing: border-box; }
.aqc-presenter[data-step="auth"] .aqc-auth-host,
.aqc-presenter[data-step="auth"] .aqc-auth { width: 100%; max-width: 100%; min-width: 0; margin: 0; }
.aqc-presenter[data-step="auth"] .aqc-auth__step[hidden],
.aqc-presenter[data-step="auth"] .aqc-auth__feedback[hidden],
.aqc-presenter[data-step="auth"] .aqc-auth__field[hidden],
.aqc-presenter[data-step="auth"] .aqc-auth__alternate[hidden] { display: none !important; }
.aqc-presenter[data-step="auth"] .aqc-auth__header { text-align: center; }
.aqc-presenter[data-step="auth"] .aqc-auth__header h2 { margin: 0; color: #2e312d; font-size: 18px; font-weight: 700; }
.aqc-presenter[data-step="auth"] .aqc-auth__header p { margin: 7px 0 0; color: #71717a; font-size: 12px; line-height: 1.8; }
.aqc-presenter[data-step="auth"] .aqc-auth__header b { color: #576b50; font-weight: 700; }
.aqc-presenter[data-step="auth"] .aqc-auth__form { display: grid; gap: 0; }
.aqc-presenter[data-step="auth"] .aqc-auth__field { position: relative; margin-top: 16px; }
.aqc-presenter[data-step="auth"] .aqc-auth__field input {
  width: 100%; height: 54px; min-height: 54px; padding: 0 14px; border: 1.5px solid #d4d4d8; border-radius: 14px;
  background: #fff; color: #2e312d; font: inherit; font-size: 16px; box-shadow: none;
}
.aqc-presenter[data-step="auth"] .aqc-auth__field input::placeholder { color: transparent; }
.aqc-presenter[data-step="auth"] .aqc-auth__field label {
  position: absolute; z-index: 2; top: 27px; right: 14px; margin: 0; padding: 0; background: transparent; color: #6f736d;
  font-size: 14px; font-weight: 500; line-height: 1; pointer-events: none; transform: translateY(-50%);
  transition: top .16s ease, padding .16s ease, font-size .16s ease, color .16s ease;
}
.aqc-presenter[data-step="auth"] .aqc-auth__field:focus-within label,
.aqc-presenter[data-step="auth"] .aqc-auth__field:has(input:not(:placeholder-shown)) label {
  top: 0; padding: 0 5px; background: #fff; color: #576b50; font-size: 12px; font-weight: 700;
}
.aqc-presenter[data-step="auth"] .aqc-auth__field input:focus { border-color: #576b50; outline: 0; box-shadow: 0 0 0 4px rgba(87, 107, 80, .1); }
.aqc-presenter[data-step="auth"] .aqc-auth__field input[aria-invalid="true"],
.aqc-presenter[data-step="auth"] .aqc-auth__otp input[aria-invalid="true"] { border-color: #b42318; background: #fff7f6; }
.aqc-presenter[data-step="auth"] .aqc-auth__password-toggle { position: absolute; z-index: 3; top: 50%; left: 9px; padding: 5px 7px; border: 0; background: transparent; color: #576b50; font: inherit; font-size: 11px; font-weight: 700; transform: translateY(-50%); cursor: pointer; }
.aqc-presenter[data-step="auth"] .aqc-auth__feedback { margin: 0 0 12px; padding: 9px 11px; border-radius: 10px; background: #f3f6f1; color: #576b50; font-size: 12px; font-weight: 600; line-height: 1.7; text-align: center; }
.aqc-presenter[data-step="auth"] .aqc-auth__feedback.is-error { background: #fff2f0; color: #b42318; }
.aqc-presenter[data-step="auth"] .aqc-auth__inline-error { min-height: 20px; margin: 7px 2px 0; color: #b42318; font-size: 12px; font-weight: 600; line-height: 1.65; }
.aqc-presenter[data-step="auth"] .aqc-auth__inline-error[hidden] { display: none; }
.aqc-presenter[data-step="auth"] .aqc-auth__alternate,
.aqc-presenter[data-step="auth"] .aqc-auth__change,
.aqc-presenter[data-step="auth"] .aqc-auth__resend button { min-height: 38px; padding: 7px 11px; border: 1px solid #d4d4d8; border-radius: 10px; background: #fff; color: #576b50; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.aqc-presenter[data-step="auth"] .aqc-auth__alternate { margin-top: 10px; }
.aqc-presenter[data-step="auth"] .aqc-auth__change { display: block; min-height: 30px; margin: 8px auto 0; padding: 3px 9px; border-color: transparent; background: transparent; }
.aqc-presenter[data-step="auth"] .aqc-auth__otp { direction: ltr; display: grid; grid-template-columns: repeat(var(--aqc-otp-length, 6), minmax(0, 1fr)); gap: 8px; width: min(100%, 360px); margin: 18px auto 0; }
.aqc-presenter[data-step="auth"] .aqc-auth__otp input { width: 100%; min-width: 0; aspect-ratio: 1; padding: 0; border: 1.5px solid #d4d4d8; border-radius: 12px; background: #fff; color: #2e312d; font: inherit; font-size: 19px; font-weight: 700; text-align: center; }
.aqc-presenter[data-step="auth"] .aqc-auth__otp input:focus { border-color: #576b50; outline: 0; box-shadow: 0 0 0 3px rgba(87, 107, 80, .1); }
.aqc-presenter[data-step="auth"] .aqc-auth.is-busy .aqc-auth__otp { opacity: .7; }
.aqc-presenter[data-step="auth"] .aqc-auth__resend { display: flex; min-height: 36px; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; color: #71717a; font-size: 12px; }
.aqc-presenter[data-step="auth"] .aqc-auth__resend span { direction: ltr; color: #576b50; font-variant-numeric: tabular-nums; }
.aqc-presenter[data-step="auth"] .aqc-auth__resend button:disabled { display: none; }
.aqc-presenter[data-step="auth"] .aqc-auth__success { display: grid; min-height: 210px; place-content: center; justify-items: center; gap: 8px; text-align: center; }
.aqc-presenter[data-step="auth"] .aqc-auth__success > span { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: rgba(87,107,80,.12); color: #576b50; font-size: 25px; font-weight: 800; }
.aqc-presenter[data-step="auth"] .aqc-auth__success h2 { margin: 6px 0 0; font-size: 18px; }
.aqc-presenter[data-step="auth"] .aqc-auth__success p { margin: 0; color: #71717a; font-size: 12px; }

/* First-party AQC Classic Checkout. */
.aqc-presenter[data-step="checkout"] .aqc-presenter__panel,
.aqc-presenter[data-step="submitting"] .aqc-presenter__panel { height: min(92dvh, 860px); }
.aqc-presenter[data-step="checkout"] { font-family: 'iransans', Tahoma, sans-serif; }
.aqc-presenter[data-step="checkout"] .aqc-payment-step-header { display: none !important; }
.aqc-presenter[data-step="checkout"] .aqc-checkout,
.aqc-presenter[data-step="checkout"] .aqc-checkout * { box-sizing: border-box; }
.aqc-presenter[data-step="checkout"] .aqc-checkout__section,
.aqc-presenter[data-step="checkout"] .aqc-checkout__summary { border-color: #edf0eb; box-shadow: none; }
.aqc-presenter[data-step="checkout"] .aqc-checkout__section-title { margin-bottom: 14px; color: #2e312d; font-size: 14px; font-weight: 700; }
.aqc-presenter[data-step="checkout"] .aqc-checkout__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 12px; }
.aqc-presenter[data-step="checkout"] .aqc-field { position: relative; min-width: 0; }
.aqc-presenter[data-step="checkout"] .aqc-field--textarea,
.aqc-presenter[data-step="checkout"] .aqc-field--order { grid-column: 1 / -1; }
.aqc-presenter[data-step="checkout"] .aqc-field__row,
.aqc-presenter[data-step="checkout"] .aqc-field__row .woocommerce-input-wrapper { display: block; width: 100%; margin: 0 !important; }
.aqc-presenter[data-step="checkout"] .aqc-field:not(.aqc-field--checkbox):not(.aqc-field--radio) .aqc-field__row > label { display: none !important; }
.aqc-presenter[data-step="checkout"] .aqc-field__label {
  position: absolute; z-index: 2; top: 27px; right: 14px; margin: 0; padding: 0; background: transparent; color: #62675f;
  font-size: 14px; font-weight: 500; line-height: 1; pointer-events: none; transform: translateY(-50%);
  transition: top .16s ease, padding .16s ease, font-size .16s ease, color .16s ease;
}
.aqc-presenter[data-step="checkout"] .aqc-field__label .required { margin-right: 2px; color: #b42318; text-decoration: none; }
.aqc-presenter[data-step="checkout"] .aqc-field.is-filled > .aqc-field__label,
.aqc-presenter[data-step="checkout"] .aqc-field.is-focused > .aqc-field__label,
.aqc-presenter[data-step="checkout"] .aqc-field:focus-within > .aqc-field__label,
.aqc-presenter[data-step="checkout"] .aqc-field:has(input:not(:placeholder-shown)) > .aqc-field__label,
.aqc-presenter[data-step="checkout"] .aqc-field:has(textarea:not(:placeholder-shown)) > .aqc-field__label,
.aqc-presenter[data-step="checkout"] .aqc-field--select > .aqc-field__label,
.aqc-presenter[data-step="checkout"] .aqc-coupon.is-filled > .aqc-field__label,
.aqc-presenter[data-step="checkout"] .aqc-coupon.is-focused > .aqc-field__label,
.aqc-presenter[data-step="checkout"] .aqc-coupon:focus-within > .aqc-field__label {
  top: 0; padding: 0 5px; background: #fff; color: #43543e; font-size: 12px; font-weight: 700;
}
.aqc-presenter[data-step="checkout"] .aqc-field input:not([type="checkbox"]):not([type="radio"]),
.aqc-presenter[data-step="checkout"] .aqc-field select,
.aqc-presenter[data-step="checkout"] .aqc-field textarea,
.aqc-presenter[data-step="checkout"] .aqc-coupon__input {
  display: block; width: 100% !important; min-height: 54px; margin: 0 !important; padding: 12px 14px 8px !important;
  border: 1.5px solid #d4d4d8 !important; border-radius: 14px !important; background: #fff !important; color: #2e312d !important;
  font-size: 16px !important; font-weight: 500 !important; line-height: 1.5; box-shadow: none !important;
}
.aqc-presenter[data-step="checkout"] .aqc-field textarea { min-height: 90px; padding-top: 17px !important; resize: vertical; }
.aqc-presenter[data-step="checkout"] .aqc-field input::placeholder,
.aqc-presenter[data-step="checkout"] .aqc-field textarea::placeholder,
.aqc-presenter[data-step="checkout"] .aqc-coupon__input::placeholder { color: transparent !important; opacity: 1; }
.aqc-presenter[data-step="checkout"] .aqc-field input:focus,
.aqc-presenter[data-step="checkout"] .aqc-field select:focus,
.aqc-presenter[data-step="checkout"] .aqc-field textarea:focus,
.aqc-presenter[data-step="checkout"] .aqc-coupon__input:focus { border-color: #576b50 !important; outline: 0 !important; box-shadow: 0 0 0 4px rgba(87, 107, 80, .1) !important; }
.aqc-presenter[data-step="checkout"] .aqc-field--checkbox .aqc-field__row > label,
.aqc-presenter[data-step="checkout"] .aqc-field--radio .aqc-field__row > label { display: flex; min-height: 38px; align-items: center; gap: 8px; color: #4f554c; font-size: 13px; line-height: 1.7; cursor: pointer; }
.aqc-presenter[data-step="checkout"] .aqc-field--checkbox input,
.aqc-presenter[data-step="checkout"] .aqc-field--radio input { width: 18px; height: 18px; accent-color: #576b50; }
.aqc-presenter[data-step="checkout"] .aqc-field--verified input[readonly] { background: #f7f8f6 !important; color: #4f554c !important; cursor: default; }
.aqc-presenter[data-step="checkout"] .aqc-field__verified { position: absolute; z-index: 2; top: 0; left: 12px; padding: 2px 7px; border-radius: 7px; background: #e8f0e4; color: #43543e; font-size: 10px; font-weight: 700; line-height: 1.4; pointer-events: none; transform: translateY(-50%); }
.aqc-presenter[data-step="checkout"] #billing_email,
.aqc-presenter[data-step="checkout"] #billing_phone { direction: ltr !important; text-align: left !important; }
.aqc-presenter[data-step="checkout"] .aqc-field.woocommerce-invalid input,
.aqc-presenter[data-step="checkout"] .aqc-field.woocommerce-invalid select,
.aqc-presenter[data-step="checkout"] .aqc-field.woocommerce-invalid textarea,
.aqc-presenter[data-step="checkout"] [aria-invalid="true"] { border-color: #b42318 !important; background-color: #fff7f6 !important; }
.aqc-presenter[data-step="checkout"] .aqc-field-error { margin: 6px 2px 0; color: #b42318; font-size: 12px; font-weight: 600; line-height: 1.65; }
.aqc-presenter[data-step="checkout"] .aqc-field-error[hidden] { display: none; }
.aqc-presenter[data-step="checkout"] input:-webkit-autofill { animation-name: aqc-sheet-autofill; animation-duration: .01s; }

.aqc-presenter[data-step="checkout"] .aqc-coupon { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.aqc-presenter[data-step="checkout"] .aqc-coupon > .aqc-field__label { top: 24px; }
.aqc-presenter[data-step="checkout"] .aqc-coupon__input { min-height: 48px; padding-block: 11px 7px !important; border-radius: 12px !important; background: #fafafa !important; font-size: 16px !important; }
.aqc-presenter[data-step="checkout"] .aqc-coupon.is-filled > .aqc-field__label,
.aqc-presenter[data-step="checkout"] .aqc-coupon.is-focused > .aqc-field__label,
.aqc-presenter[data-step="checkout"] .aqc-coupon:focus-within > .aqc-field__label { background: #fafafa; }
.aqc-presenter[data-step="checkout"] .aqc-coupon__apply { min-width: 68px; min-height: 48px; padding: 0 16px; border: 0; border-radius: 12px; background: #576b50; color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.aqc-presenter[data-step="checkout"] .aqc-coupon__apply:hover { background: #43543e; }
.aqc-presenter[data-step="checkout"] .aqc-coupon__apply:disabled { opacity: .62; cursor: wait; }
.aqc-presenter[data-step="checkout"] .aqc-coupon__feedback { grid-column: 1 / -1; margin: 8px 2px 0; color: #576b50; font-size: 12px; font-weight: 600; line-height: 1.65; }
.aqc-presenter[data-step="checkout"] .aqc-coupon__feedback.is-error { color: #b42318; }
.aqc-presenter[data-step="checkout"] .aqc-coupon__applied { display: flex; flex-wrap: wrap; gap: 8px; }
.aqc-presenter[data-step="checkout"] .aqc-coupon__chip { display: inline-flex; min-height: 42px; align-items: center; gap: 12px; padding: 7px 11px; border: 1px solid #cfd8cb; border-radius: 12px; background: #f4f8f1; color: #43543e; font-size: 12px; font-weight: 700; }
.aqc-presenter[data-step="checkout"] .aqc-coupon__chip button { padding: 4px 7px; border: 0; border-radius: 8px; background: #fff; color: #b42318; font: inherit; font-size: 11px; cursor: pointer; }

.aqc-presenter[data-step="checkout"] .aqc-checkout__order-review { margin: 0; }
.aqc-presenter[data-step="checkout"] #payment { margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
.aqc-presenter[data-step="checkout"] #payment ul.payment_methods { display: grid !important; gap: 10px; margin: 0 !important; padding: 0 !important; border: 0 !important; list-style: none !important; }
.aqc-presenter[data-step="checkout"] #payment ul.payment_methods > li {
  position: relative; margin: 0 !important; padding: 4px !important; border: 1.5px solid #d4d4d8 !important;
  border-radius: 16px !important; background: #fff !important; box-shadow: none !important; transition: border-color .2s ease, background-color .2s ease;
}
.aqc-presenter[data-step="checkout"] #payment ul.payment_methods > li.is-selected,
.aqc-presenter[data-step="checkout"] #payment ul.payment_methods > li:has(> input[name="payment_method"]:checked) { border-color: #576b50 !important; background: #f4f8f1 !important; }
.aqc-presenter[data-step="checkout"] #payment ul.payment_methods > li:focus-within { box-shadow: 0 0 0 4px rgba(87, 107, 80, .12) !important; }
.aqc-presenter[data-step="checkout"] #payment ul.payment_methods > li > input[name="payment_method"] { position: absolute; top: 15px; right: 10px; width: 22px; height: 22px; margin: 0; opacity: 0; }
.aqc-presenter[data-step="checkout"] #payment ul.payment_methods > li::before { position: absolute; top: 15px; right: 10px; width: 22px; height: 22px; border: 1.5px solid #d4d4d8; border-radius: 50%; content: ''; pointer-events: none; }
.aqc-presenter[data-step="checkout"] #payment ul.payment_methods > li.is-selected::before,
.aqc-presenter[data-step="checkout"] #payment ul.payment_methods > li:has(> input[name="payment_method"]:checked)::before { border-color: #576b50; box-shadow: inset 0 0 0 4px #fff; background: #576b50; }
.aqc-presenter[data-step="checkout"] #payment ul.payment_methods > li > label { display: flex !important; min-height: 44px; min-width: 0; align-items: center; gap: 10px; margin: 0 !important; padding: 0 34px 0 0 !important; color: #2e312d !important; font-size: 12px !important; font-weight: 700 !important; line-height: 1.55 !important; cursor: pointer; }
.aqc-presenter[data-step="checkout"] .aqc-payment-method__icon { display: inline-flex; flex: 0 0 44px; width: 44px; height: 44px; align-items: center; justify-content: center; margin-inline-start: auto; border-radius: 12px; background: #f4f4f5; overflow: hidden; }
.aqc-presenter[data-step="checkout"] .is-selected .aqc-payment-method__icon { background: #fff; box-shadow: 0 2px 8px rgba(87, 107, 80, .18); }
.aqc-presenter[data-step="checkout"] #payment ul.payment_methods > li > label .aqc-payment-method__icon img { width: auto !important; max-width: 38px !important; height: auto !important; max-height: 30px !important; margin: 0 !important; object-fit: contain; }
.aqc-presenter[data-step="checkout"] .aqc-payment-method__icon--fallback { color: #8a8f86; }
.aqc-presenter[data-step="checkout"] .is-selected .aqc-payment-method__icon--fallback { color: #576b50; }
.aqc-presenter[data-step="checkout"] .aqc-payment-method__icon--fallback svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.aqc-presenter[data-step="checkout"] #payment .payment_box { margin: 10px 4px 8px !important; padding: 14px !important; border: 1px solid #f0eeec !important; border-radius: 12px !important; background: #fafafa !important; color: #62675f !important; font-size: 12px !important; line-height: 1.8; }
.aqc-presenter[data-step="checkout"] #payment .payment_box::before { display: none !important; }
.aqc-presenter[data-step="checkout"] #payment .payment_box[hidden] { display: none !important; }
.aqc-presenter[data-step="checkout"] #payment .payment_box p:last-child { margin-bottom: 0; }
.aqc-presenter[data-step="checkout"] .aqc-payment-error { margin: -5px 1px 10px; }
.aqc-presenter[data-step="checkout"] .aqc-payment-withheld[hidden] { display: none !important; }
/* Present, legible, and plainly not choosable. The radio well stays empty. */
.aqc-presenter[data-step="checkout"] #payment ul.payment_methods > li.is-withheld { background: #fafafa !important; border-style: dashed !important; border-color: #dcdcd8 !important; cursor: not-allowed; }
.aqc-presenter[data-step="checkout"] #payment ul.payment_methods > li.is-withheld::before { border-color: #e2e2df; background: #f4f4f5; }
.aqc-presenter[data-step="checkout"] #payment ul.payment_methods > li.is-withheld .aqc-payment-method__label { display: flex; min-height: 30px; align-items: center; margin: 0; padding: 0 34px 0 0; color: #8b8f88; font-size: 12px; font-weight: 700; line-height: 1.55; }
.aqc-presenter[data-step="checkout"] #payment ul.payment_methods > li.is-withheld .aqc-payment-method__note { display: block; margin: 0; padding: 0 34px 0 0; color: #8f6b4e; font-size: 11px; line-height: 1.7; }
.aqc-presenter[data-step="checkout"] .aqc-payment-restriction { margin: 0 0 14px; padding: 12px 14px; border: 1px solid #d9c6a4; border-radius: 12px; background: #fdf6e8; color: #5b4a2a; font-size: 12px; line-height: 1.85; }
.aqc-presenter[data-step="checkout"] .aqc-payment-restriction[hidden] { display: none !important; }
.aqc-presenter[data-step="checkout"] .aqc-payment-restriction p { margin: 0; }
.aqc-presenter[data-step="checkout"] .aqc-payment-restriction p + p { margin-top: 4px; }
.aqc-presenter[data-step="checkout"] .aqc-payment-state { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 14px; border: 1px solid #cfd8cb; border-radius: 14px; background: #f4f8f1; color: #43543e; }
.aqc-presenter[data-step="checkout"] .aqc-payment-state[hidden] { display: none !important; }
.aqc-presenter[data-step="checkout"] .aqc-payment-state__icon { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #576b50; color: #fff; font-size: 19px; font-weight: 800; }
.aqc-presenter[data-step="checkout"] .aqc-payment-state__copy { display: grid; gap: 2px; min-width: 0; }
.aqc-presenter[data-step="checkout"] .aqc-payment-state__copy strong { color: #2e312d; font-size: 14px; }
.aqc-presenter[data-step="checkout"] .aqc-payment-state__copy small { color: #62675f; font-size: 11px; line-height: 1.75; }
.aqc-presenter[data-step="checkout"] .gcm-pay-box,
.aqc-presenter[data-step="checkout"] .gpm-pay-box { margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
.aqc-presenter[data-step="checkout"] .gcm-dropzone,
.aqc-presenter[data-step="checkout"] .gpm-dropzone { min-height: 132px; border-color: #d7c7c0; border-radius: 12px; background: #fff; }
.aqc-presenter[data-step="checkout"] .gcm-dropzone[aria-invalid="true"],
.aqc-presenter[data-step="checkout"] .gpm-dropzone[aria-invalid="true"],
.aqc-presenter[data-step="checkout"] .gcm-receipt-field.woocommerce-invalid .gcm-dropzone,
.aqc-presenter[data-step="checkout"] .gpm-receipt-field.woocommerce-invalid .gpm-dropzone { border-color: #b42318 !important; background: #fff7f6 !important; box-shadow: 0 0 0 3px rgba(180, 35, 24, .08); }
.aqc-presenter[data-step="checkout"] .gcm-dropzone.is-done,
.aqc-presenter[data-step="checkout"] .gpm-dropzone.is-done { border-color: #9eb69b; background: #f4f8f1; }
.aqc-presenter[data-step="checkout"] .aqc-native-checkout-actions { margin-top: 14px; color: #62675f; font-size: 12px; line-height: 1.8; }
.aqc-presenter[data-step="checkout"] .aqc-native-checkout-actions #place_order { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; border: 0 !important; white-space: nowrap !important; }
.aqc-presenter[data-step="checkout"] .aqc-native-checkout-actions .woocommerce-terms-and-conditions-wrapper { margin: 0; }
.aqc-presenter[data-step="checkout"] .aqc-native-checkout-actions label { cursor: pointer; }

.aqc-presenter--sheet[data-step="checkout"] .aqc-checkout__section { padding: 0; border: 0; border-radius: 0; }
.aqc-presenter--sheet[data-step="checkout"] .aqc-checkout__main { gap: 20px; }
.aqc-presenter--sheet[data-step="checkout"] .aqc-checkout__summary { display: none; }
.aqc-presenter--sheet[data-step="checkout"] .aqc-checkout__contact > .aqc-checkout__section-title,
.aqc-presenter--sheet[data-step="checkout"] .aqc-coupon-area > .aqc-checkout__section-title { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
.aqc-presenter--sheet[data-step="checkout"] .aqc-checkout__payment { padding-top: 16px; border-top: 1px solid #f4f4f5; }
.aqc-presenter--dialog[data-step="checkout"] .aqc-presenter__footer { padding-inline: 24px; }
.aqc-presenter--dialog[data-step="checkout"] .aqc-footer-total { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.aqc-presenter--dialog[data-step="checkout"] .aqc-footer-total > span { color: #62675f; font-size: 13px; }
.aqc-presenter--dialog[data-step="checkout"] .aqc-footer-total > strong { color: #2e312d; font-size: 16px; }

@keyframes aqc-dialog-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes aqc-step-enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes aqc-sheet-autofill { from { opacity: .99; } to { opacity: 1; } }

@media (max-width: 899px) {
  .aqc-presenter--dialog .aqc-presenter__panel { width: calc(100vw - 24px); height: calc(100dvh - 24px); border-radius: 18px; }
}

@media (max-width: 480px) {
  .aqc-presenter--sheet .aqc-presenter__header,
  .aqc-presenter--sheet .aqc-presenter__progress,
  .aqc-presenter--sheet .aqc-presenter__body,
  .aqc-presenter--sheet .aqc-presenter__footer { padding-inline: 16px; }
	.aqc-presenter[data-step="checkout"] .aqc-checkout__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aqc-presenter[data-step="checkout"] .aqc-checkout__section,
	.aqc-presenter[data-step="checkout"] .aqc-checkout__summary { padding: 14px; }
	.aqc-presenter--sheet[data-step="checkout"] .aqc-checkout__section { padding: 0; }
  .aqc-presenter[data-step="auth"] .aqc-auth__otp { gap: 6px; }
}

@media (max-height: 620px) {
  .aqc-presenter--sheet .aqc-presenter__panel { max-height: 100dvh; border-radius: 0; }
  .aqc-presenter--dialog .aqc-presenter__panel { height: calc(100dvh - 16px); }
}

@media (prefers-reduced-motion: reduce) {
  .aqc-presenter__panel,
  .aqc-step-slot > *,
  .aqc-presenter__progress i,
  .aqc-presenter--sheet .aqc-presenter__footer .aqc-primary-action { transition: none !important; animation: none !important; }
  .aqc-presenter--sheet .aqc-presenter__panel { transform: translateY(105%); }
  .aqc-presenter--sheet.is-entered .aqc-presenter__panel { transform: translateY(0); }
}

.aqc-checkout__sync { padding: 10px 12px; margin-bottom: 12px; color: #595b54; font-size: 13px; line-height: 1.8; }
.aqc-checkout__sync[hidden] { display: none; }
.aqc-checkout__sync button { margin-inline-start: 8px; padding: 4px 8px; font: inherit; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 6px; cursor: pointer; }

/* Escape route out of the payment step when the sheet cannot complete it. */
.aqc-presenter[data-step="checkout"] .aqc-checkout__handoff {
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
  margin: 0 0 16px; padding: 14px 16px; border: 1px solid #d9c6a4; border-radius: 12px;
  background: #fdf6e8; color: #5b4a2a; font-size: 13px; line-height: 1.7;
}
.aqc-presenter[data-step="checkout"] .aqc-checkout__handoff p { margin: 0; }
.aqc-presenter[data-step="checkout"] .aqc-checkout__handoff-action {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px;
  padding: 0 18px; border-radius: 10px; background: #43543e; color: #fff;
  font-size: 13px; font-weight: 700; text-decoration: none;
}
.aqc-presenter[data-step="checkout"] .aqc-checkout__handoff-action:hover,
.aqc-presenter[data-step="checkout"] .aqc-checkout__handoff-action:focus-visible { background: #35452f; color: #fff; }
