/* Extracted from production V3 funnel pages for V4 parity */

/* --- start --- */

  #abie-path-app,
  #abie-path-app * {
    box-sizing: border-box;
  }

  #abie-path-app {
    width: 100%;
    min-height: auto;
    padding: 0;
    margin: 0;
    background: transparent !important;
    color: #111;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  .abie-path-card {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 0;
    background: transparent !important;
    border: none;
    box-shadow: none;
    overflow: visible;
  }

  .abie-path-hero {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #050505;
    overflow: hidden;
    line-height: 0;
  }

  .abie-path-hero img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    vertical-align: top;
    object-fit: unset;
    object-position: top center;
  }

  .abie-path-body {
    background: #fff;
    padding: clamp(24px, 4vw, 38px) clamp(18px, 4vw, 36px) clamp(24px, 4vw, 34px);
    border: 1px solid rgba(17,17,17,.12);
    border-top: none;
  }

  .abie-path-header {
    max-width: 700px;
    margin: 0 auto clamp(24px, 4vw, 34px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .abie-logo {
    color: #b4935a;
    font-size: 10px;
    letter-spacing: 5px;
    line-height: 1.2;
    margin-bottom: 14px;
    display: inline-block;
    text-align: center;
    padding-left: 5px;
    width: auto;
    max-width: 100%;
  }

  .abie-kicker {
    margin: 0 0 10px;
    color: #111;
    font-size: 10px;
    letter-spacing: 3px;
    line-height: 1.3;
    display: inline-block;
    text-align: center;
    padding-left: 3px;
    width: auto;
    max-width: 100%;
  }

  .abie-path-header h1 {
    margin: 0;
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: clamp(32px, 6vw, 50px);
    line-height: 1.03;
    color: #111;
    width: 100%;
    text-align: center;
  }

  .abie-path-header p {
    margin: 14px auto 0;
    max-width: 520px;
    color: #555;
    font-size: clamp(13px, 2.2vw, 15px);
    line-height: 1.55;
  }

  .abie-path-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .abie-path-more-label {
    display: block;
    margin: 4px 0 0;
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #b4935a;
  }

  @media (min-width: 761px) {
    .abie-path-grids {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .abie-path-grid--primary {
      display: grid;
      grid-template-columns: 1fr;
    }

    .abie-path-grid--secondary {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .abie-path-grid {
      grid-template-columns: 1fr;
    }

    .path-option--primary {
      min-height: 120px;
    }
  }

  .path-option {
    width: 100%;
    min-height: 132px;
    padding: 17px 18px;
    text-align: left;
    border: 1px solid rgba(17,17,17,.16);
    background: #fbfaf7;
    color: #111;
    cursor: pointer;
    border-radius: 0;
    appearance: none;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
  }

  .path-option:hover {
    transform: translateY(-1px);
    border-color: #111;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
  }

  .path-option:focus {
    outline: 2px solid #b4935a;
    outline-offset: 3px;
  }

  .path-label {
    display: block;
    margin-bottom: 10px;
    color: #b4935a;
    font-size: 9px;
    letter-spacing: 1.8px;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .path-title {
    display: block;
    font-family: Georgia, serif;
    font-size: clamp(21px, 3.2vw, 27px);
    line-height: 1.08;
    color: #111;
  }

  .path-copy {
    display: block;
    margin-top: 9px;
    color: #666;
    font-size: 12px;
    line-height: 1.45;
  }

  .abie-path-note {
    max-width: 680px;
    margin: clamp(20px, 4vw, 28px) auto 0;
    padding-top: 17px;
    text-align: center;
    color: #555;
    font-size: 12px;
    line-height: 1.45;
    border-top: 1px solid rgba(17,17,17,.10);
  }

  /* Desktop Start — one-screen luxury entry (~1440×900) */
  @media (min-width: 761px) {
    html:not(.abie-embed-mode) body:has(#abie-path-app) {
      padding: 6px 12px 12px;
    }

    #abie-path-app .abie-path-card {
      width: 100%;
      max-width: 820px;
      margin-left: auto;
      margin-right: auto;
      border: 1px solid rgba(17, 17, 17, 0.12);
      overflow: hidden;
    }

    #abie-path-app .abie-path-hero {
      display: block;
      width: 100%;
      margin: 0;
      padding: 0;
      overflow: hidden;
      line-height: 0;
      background: #050505;
      max-height: 330px;
    }

    #abie-path-app .abie-path-hero img {
      display: block;
      width: 100%;
      max-width: 100%;
      height: auto;
      margin: 0;
      object-fit: unset;
      object-position: top center;
    }

    #abie-path-app .abie-path-body {
      width: 100%;
      margin: 0;
      padding: 16px 28px 14px;
      border: none;
      border-top: none;
    }

    #abie-path-app .abie-path-header {
      margin-bottom: 12px;
      align-items: center;
    }

    #abie-path-app .abie-logo {
      margin-bottom: 7px;
      font-size: 9px;
      letter-spacing: 4px;
      padding-left: 4px;
    }

    #abie-path-app .abie-kicker {
      margin: 0 0 5px;
      font-size: 9px;
      letter-spacing: 2.5px;
      padding-left: 2.5px;
    }

    #abie-path-app .abie-path-header h1 {
      font-size: clamp(26px, 2.6vw, 36px);
      line-height: 1.05;
    }

    #abie-path-app .abie-path-grids {
      gap: 10px;
    }

    #abie-path-app .path-option {
      min-height: 0;
      padding: 11px 14px 10px;
    }

    #abie-path-app .path-label {
      margin-bottom: 5px;
      font-size: 9px;
      letter-spacing: 1.6px;
    }

    #abie-path-app .path-title {
      font-size: clamp(18px, 1.75vw, 23px);
      line-height: 1.12;
    }

    #abie-path-app .path-copy {
      margin-top: 5px;
      font-size: 12px;
      line-height: 1.38;
    }

    #abie-path-app .abie-path-note {
      margin-top: 12px;
      padding-top: 10px;
      font-size: 11px;
      line-height: 1.4;
    }
  }

  @media (min-width: 761px) and (max-height: 920px) {
    #abie-path-app .abie-path-hero {
      max-height: 300px;
    }

    #abie-path-app .abie-path-body {
      padding: 14px 26px 12px;
    }

    #abie-path-app .abie-path-header {
      margin-bottom: 10px;
    }

    #abie-path-app .abie-path-header h1 {
      font-size: clamp(24px, 2.4vw, 32px);
    }

    #abie-path-app .path-option {
      padding: 10px 12px 9px;
    }

    #abie-path-app .abie-path-note {
      margin-top: 10px;
      padding-top: 8px;
    }
  }

  /* Mobile Start — natural hero + compact path cards; black outer canvas */
  @media (max-width: 760px) {
    html:not(.abie-embed-mode):has(#abie-path-app) {
      background: #050505 !important;
    }

    html:not(.abie-embed-mode) body:has(#abie-path-app) {
      height: auto !important;
      max-height: none !important;
      min-height: 100svh !important;
      min-height: 100dvh !important;
      overflow-x: hidden !important;
      overflow-y: auto !important;
      padding: 0 !important;
      padding-bottom: 0 !important;
      background: transparent !important;
      width: 100%;
      max-width: 100vw;
    }

    #abie-path-app {
      background: transparent;
      width: 100%;
      max-width: 100%;
      min-height: 100svh;
      min-height: 100dvh;
      height: auto;
      max-height: none;
      overflow: visible;
      display: flex;
      flex-direction: column;
    }

    #abie-path-app .abie-path-card {
      flex: 1 1 auto;
      min-height: 100svh;
      min-height: 100dvh;
      display: flex;
      flex-direction: column;
      width: 100%;
      max-width: 100%;
      margin: 0;
      overflow: visible;
      background: #fff;
    }

    #abie-path-app .abie-path-hero {
      display: block;
      flex: 0 0 auto;
      width: 100%;
      max-width: 100%;
      max-height: none;
      overflow: hidden;
      line-height: 0;
      background: #050505;
    }

    #abie-path-app .abie-path-hero img {
      display: block !important;
      width: 100% !important;
      max-width: 100% !important;
      height: auto !important;
      max-height: none !important;
      object-fit: unset !important;
      object-position: top center;
    }

    #abie-path-app .abie-path-body {
      flex: 1 1 auto;
      min-height: 0;
      display: flex;
      flex-direction: column;
      padding: 14px 14px calc(16px + env(safe-area-inset-bottom, 0px));
      border-left: none;
      border-right: none;
      border-top: 2px solid rgba(180, 147, 90, 0.35);
      overflow: visible;
    }

    #abie-path-app .abie-path-header {
      flex: 0 0 auto;
      margin: 0 auto 14px;
      align-items: center;
    }

    #abie-path-app .abie-logo {
      margin-bottom: 4px;
      font-size: 9px;
      letter-spacing: 0.2em;
      color: #b4935a;
      font-weight: 700;
    }

    #abie-path-app .abie-kicker {
      margin: 0 0 4px;
      font-size: 9px;
      letter-spacing: 0.14em;
      line-height: 1.2;
    }

    #abie-path-app .abie-path-header h1 {
      font-size: clamp(22px, 6vw, 28px);
      line-height: 1.08;
      max-width: 100%;
      overflow-wrap: break-word;
      word-wrap: break-word;
    }

    #abie-path-app .abie-path-header p {
      margin-top: 8px;
      font-size: 13px;
      line-height: 1.45;
      color: #555;
      max-width: 100%;
      overflow-wrap: break-word;
      word-wrap: break-word;
    }

    #abie-path-app #amb-resume-shell[hidden] {
      display: none !important;
      height: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
    }

    #abie-path-app .abie-path-grids {
      flex: 0 0 auto;
      min-height: 0;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      gap: 10px;
      width: 100%;
      overflow: visible;
    }

    #abie-path-app .abie-path-more-label {
      display: block;
      flex: 0 0 auto;
      margin: 4px 0;
      text-align: center;
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #b4935a;
    }

    #abie-path-app .abie-path-grid--primary,
    #abie-path-app .abie-path-grid--secondary {
      display: flex;
      flex-direction: column;
      gap: 8px;
      width: 100%;
      min-height: 0;
      flex: 0 0 auto;
    }

    #abie-path-app .abie-path-grid--secondary {
      gap: 8px;
    }

    #abie-path-app .path-option {
      flex: 0 0 auto;
      min-height: 44px !important;
      height: auto;
      width: 100%;
      padding: 12px 14px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      -webkit-appearance: none;
      appearance: none;
      border-radius: 0;
    }

    #abie-path-app .path-option--primary {
      padding: 16px 14px;
      min-height: 96px !important;
      border-width: 1.5px;
      border-color: rgba(180, 147, 90, 0.45);
      background: #fffefa;
    }

    #abie-path-app .path-option--secondary {
      padding: 12px 14px;
      background: #fbfaf7;
      border-color: rgba(17, 17, 17, 0.14);
    }

    #abie-path-app .path-label {
      display: block;
      margin-bottom: 4px;
      font-size: 9px;
      letter-spacing: 0.1em;
      line-height: 1.15;
    }

    #abie-path-app .path-title {
      display: block;
      font-size: clamp(17px, 4.6vw, 22px);
      line-height: 1.1;
      margin: 0;
    }

    #abie-path-app .path-option--primary .path-copy {
      display: block;
      margin-top: 6px;
      font-size: 12px;
      line-height: 1.35;
      white-space: normal;
    }

    #abie-path-app .path-option--secondary .path-copy {
      display: none;
    }

    #abie-path-app .path-option:hover {
      transform: none;
      box-shadow: none;
    }

    #abie-path-app .path-option:active {
      border-color: #b4935a;
      background: #f8f3e7;
    }
  }


/* --- contact-details --- */

  #abie-contact-app,
  #abie-contact-app * { box-sizing: border-box; }

  #abie-contact-app {
    --amb-gold: #c6a45d;
    --amb-gold-dark: #9f7d3f;
    --amb-gold-hover: #b89450;
    --amb-gold-soft: rgba(198, 164, 93, 0.35);
    --amb-ivory: #fcfbf8;
    --amb-ivory-card: #fbfaf7;
    --amb-text: #141414;
    --amb-text-muted: #4a4540;
    --amb-charcoal: #1f1c18;
    --amb-money: #f7f3ea;
    --body-pad-x: clamp(18px, 4vw, 42px);
    --body-pad-top: clamp(22px, 3.5vw, 36px);
    --footer-pad-y: 18px;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    background: transparent !important;
    color: var(--amb-text);
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  #abie-contact-app .abie-card {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 0;
    background: var(--amb-ivory, #fcfbf8) !important;
    border: none;
    box-shadow: none;
    overflow: hidden;
  }

  #abie-contact-app .abie-hero-frame {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #050505;
    overflow: hidden;
    line-height: 0;
  }

  #abie-contact-app .abie-service-header {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    vertical-align: top;
  }

  .abie-body {
    background: var(--amb-ivory);
    padding: var(--body-pad-top) var(--body-pad-x) 0;
    border: none;
    box-shadow: none;
  }

  .abie-header {
    text-align: center;
    margin-bottom: 20px;
  }

  .eyebrow {
    letter-spacing: 5px;
    font-size: 10px;
    color: var(--amb-gold);
    margin-bottom: 10px;
  }

  .abie-header h1 {
    max-width: 760px;
    margin: 0 auto;
    font-size: clamp(32px, 5vw, 46px);
    line-height: 1.05;
    font-family: Georgia, serif;
    font-weight: 400;
    color: var(--amb-text);
  }

  .abie-header p {
    max-width: 680px;
    margin: 10px auto 0;
    color: var(--amb-text-muted);
    font-size: clamp(13px, 2.1vw, 15px);
    line-height: 1.45;
  }

  #abie-contact-app .abie-header #startOverBtn.amb-text-link {
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 6px auto 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-align: center;
    color: var(--amb-gold-dark) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    appearance: none;
  }

  #abie-contact-app .abie-header #startOverBtn.amb-text-link:hover {
    color: var(--amb-gold) !important;
    background: none !important;
  }

  .contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px 16px;
  }

  .contact-field { min-width: 0; }

  .contact-field label {
    display: block;
    margin-bottom: 5px;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--amb-gold-dark);
  }

  .contact-field input,
  .contact-field select {
    width: 100%;
    height: 46px;
    padding: 0 12px;
    border: 1px solid rgba(159, 125, 63, 0.5);
    background: var(--amb-ivory-card);
    color: var(--amb-text);
    font-size: 14px;
    line-height: 1;
    border-radius: 0;
    appearance: none;
    outline: none;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
  }

  .contact-field input:focus,
  .contact-field select:focus {
    border-color: var(--amb-gold);
    outline: 2px solid rgba(198, 164, 93, 0.28);
    outline-offset: 0;
    box-shadow: 0 0 0 1px rgba(198, 164, 93, 0.15);
  }

  .phone-row {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 10px;
  }

  .phone-field-error {
    font-size: 11px;
    color: #b00020;
    margin: 6px 0 0;
    display: none;
  }

  .phone-field-error.is-visible {
    display: block;
  }

  .form-note {
    max-width: 720px;
    margin: 14px auto 0;
    font-size: 11px;
    line-height: 1.4;
    color: var(--amb-text-muted);
    text-align: center;
  }

  #abie-contact-app a.amb-step-back.amb-link-quiet {
    display: inline-block;
    width: auto;
    min-height: 0;
    margin: 10px 0 0;
    padding: 0;
    border: none !important;
    background: none !important;
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
    color: var(--amb-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  #abie-contact-app a.amb-step-back.amb-link-quiet:hover {
    color: var(--amb-gold-dark);
    background: none !important;
  }

  #abie-contact-app #continueBtn {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    cursor: pointer;
    appearance: none;
    border-radius: 0;
  }

  #abie-contact-app #continueBtn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }

  .booking-footer {
    margin-left: calc(var(--body-pad-x) * -1);
    margin-right: calc(var(--body-pad-x) * -1);
    margin-bottom: 0;
    padding: var(--footer-pad-y) var(--body-pad-x) 20px;
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
    border: none;
    border-top: 1px solid rgba(198, 164, 93, 0.42);
    box-shadow: inset 0 1px 0 rgba(198, 164, 93, 0.12), 0 -10px 28px rgba(0, 0, 0, 0.28);
    outline: none;
  }

  .summary-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    text-align: center;
  }

  #abie-contact-app .summary-bar > div > span {
    display: block;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0.14em;
    color: var(--amb-gold);
    text-transform: uppercase;
    margin-bottom: 6px;
    white-space: nowrap;
  }

  #abie-contact-app .summary-bar strong,
  #abie-contact-app .summary-bar strong span {
    display: inline;
    margin: 0;
    font-size: 17px;
    line-height: 1;
    color: var(--amb-money) !important;
    font-weight: 700;
  }

  .abie-warning-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
  }

  .abie-warning-modal.is-open { display: block; }

  .abie-warning-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.68);
  }

  .abie-warning-box {
    position: relative;
    width: calc(100% - 32px);
    max-width: 430px;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
    background: #111;
    color: #fff;
    border: 1px solid var(--amb-gold-soft);
    box-shadow: 0 20px 50px rgba(0,0,0,.5);
    padding: 28px 24px 22px;
    text-align: center;
  }

  .abie-warning-eyebrow {
    color: var(--amb-gold);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
  }

  .abie-warning-box h3 {
    margin: 0;
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: clamp(24px, 5vw, 30px);
    line-height: 1.15;
    color: #fff;
  }

  .abie-warning-box p {
    margin: 12px 0 0;
    color: rgba(255,255,255,.78);
    font-size: 14px;
    line-height: 1.5;
  }

  .modal-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  #abieWarningClose,
  #abieWarningStartOver,
  #confirmStartOverBtn,
  #cancelStartOverBtn {
    width: 100%;
    min-height: 46px;
    padding: 14px 18px;
    background: #fff;
    color: #111;
    border: none;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
    appearance: none;
    border-radius: 0;
  }

  .modal-secondary {
    background: transparent !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.34) !important;
  }

  .modal-secondary:hover { background: rgba(255,255,255,.08) !important; }

  #abieWarningClose:focus,
  #abieWarningStartOver:focus,
  #confirmStartOverBtn:focus,
  #cancelStartOverBtn:focus,
  #continueBtn:focus,
  #startOverBtn:focus {
    outline: 2px solid var(--amb-gold);
    outline-offset: 2px;
  }

  /* Desktop — match Select Services shell */
  @media (min-width: 761px) {
    html:not(.abie-embed-mode) body:has(#abie-contact-app) {
      padding: 6px 12px 12px;
    }

    #abie-contact-app {
      --body-pad-x: 24px;
      --body-pad-top: 14px;
      --footer-pad-y: 10px;
    }

    #abie-contact-app .abie-card {
      width: 100%;
      max-width: 820px;
      margin-left: auto;
      margin-right: auto;
      border: 1px solid rgba(17, 17, 17, 0.12);
      overflow: hidden;
    }

    #abie-contact-app .abie-hero-frame {
      display: block !important;
      width: 100%;
      min-height: 0 !important;
      max-height: none !important;
      line-height: 0;
      background: #050505;
      overflow: hidden;
    }

    #abie-contact-app .abie-service-header {
      width: 100% !important;
      max-width: 100% !important;
      height: auto !important;
      max-height: none !important;
      object-fit: unset !important;
      object-position: center top;
      display: block;
    }

    #abie-contact-app .abie-body {
      width: 100%;
      padding-bottom: 4px;
      margin-top: 0;
    }

    #abie-contact-app .abie-header {
      margin-bottom: 14px;
    }

    #abie-contact-app .abie-header h1 {
      font-size: clamp(24px, 2.4vw, 32px);
    }

    #abie-contact-app .abie-header p {
      font-size: 13px;
      margin-top: 8px;
    }

    #abie-contact-app .contact-grid {
      gap: 10px 14px;
    }

    #abie-contact-app .contact-field label {
      margin-bottom: 4px;
      font-size: 10px;
      font-weight: 600;
      color: var(--amb-gold-dark);
    }

    #abie-contact-app .contact-field input,
    #abie-contact-app .contact-field select {
      height: 44px;
      font-size: 14px;
      border-color: rgba(159, 125, 63, 0.5);
    }

    #abie-contact-app .abie-header #startOverBtn.amb-text-link {
      display: inline-block !important;
      width: auto !important;
      max-width: none !important;
      margin: 6px auto 0 !important;
      padding: 0 !important;
      border: none !important;
      color: var(--amb-gold-dark) !important;
      letter-spacing: 0 !important;
    }

    #abie-contact-app a.amb-step-back.amb-link-quiet {
      display: inline-block !important;
      width: auto !important;
      margin: 10px 0 0 !important;
      padding: 0 0 28px !important;
      border: none !important;
    }

    #abie-contact-app .form-note {
      margin-top: 12px;
      font-size: 10px;
    }

    #abie-contact-app .booking-action-dock {
      background: transparent;
      border-top: none;
      box-shadow: none;
    }

    #abie-contact-app .booking-action-dock .booking-footer {
      margin-left: calc(var(--body-pad-x) * -1) !important;
      margin-right: calc(var(--body-pad-x) * -1) !important;
      padding: var(--footer-pad-y) var(--body-pad-x) 6px !important;
      background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%) !important;
      border-top: 1px solid rgba(198, 164, 93, 0.42) !important;
      box-shadow: inset 0 1px 0 rgba(198, 164, 93, 0.14), 0 -10px 28px rgba(0, 0, 0, 0.28) !important;
    }

    #abie-contact-app .booking-action-dock .summary-bar > div > span {
      color: var(--amb-gold) !important;
      font-size: 9px !important;
      letter-spacing: 0.12em !important;
      margin-bottom: 4px !important;
    }

    #abie-contact-app .booking-action-dock .summary-bar strong,
    #abie-contact-app .booking-action-dock .summary-bar strong span {
      font-size: 16px !important;
      color: var(--amb-money) !important;
    }

    #abie-contact-app .booking-action-dock #continueBtn {
      display: block;
      width: 100%;
      margin: 8px 0 10px !important;
      padding: 13px 14px !important;
      background: var(--amb-gold) !important;
      color: var(--amb-charcoal) !important;
      border: none;
      font-size: 12px !important;
      font-weight: 700;
      letter-spacing: 0.12em !important;
      text-transform: uppercase;
      box-shadow: 0 4px 14px rgba(159, 125, 63, 0.28);
    }

    #abie-contact-app .booking-action-dock #continueBtn:hover {
      background: var(--amb-gold-hover) !important;
      color: var(--amb-charcoal) !important;
    }
  }

  @media (min-width: 761px) and (max-height: 920px) {
    #abie-contact-app .abie-service-header {
      max-height: none !important;
    }
  }

  /* Mobile */
  @media (max-width: 760px) {
    html:not(.abie-embed-mode) body:has(#abie-contact-app) {
      padding-bottom: 0 !important;
    }

    #abie-contact-app {
      --body-pad-x: 12px !important;
      --body-pad-top: 6px !important;
      --footer-pad-y: 8px;
      --amb-contact-dock-h: 58px;
      background: var(--amb-ivory);
    }

    #abie-contact-app .abie-card {
      max-width: 100%;
      min-height: 100dvh;
      min-height: 100svh;
      display: flex;
      flex-direction: column;
    }

    #abie-contact-app .abie-body {
      flex: 1 1 auto;
      width: 100%;
      max-width: 100%;
      padding-left: var(--body-pad-x) !important;
      padding-right: var(--body-pad-x) !important;
      padding-bottom: calc(var(--amb-contact-dock-h) + 8px) !important;
      padding-top: 6px !important;
    }

    /* Natural hero — never crop/compress */
    #abie-contact-app .abie-hero-frame {
      min-height: 0 !important;
      max-height: none !important;
      height: auto !important;
      background: #050505;
      display: block !important;
      overflow: hidden;
      line-height: 0;
    }

    #abie-contact-app .abie-service-header {
      width: 100% !important;
      height: auto !important;
      max-height: none !important;
      object-fit: unset !important;
      object-position: center top !important;
      display: block !important;
    }

    #abie-contact-app .abie-header {
      margin-bottom: 2px !important;
    }

    #abie-contact-app .eyebrow {
      margin-bottom: 4px !important;
      letter-spacing: 0.18em;
      font-size: 9px;
    }

    #abie-contact-app .abie-header h1 {
      font-size: 1.35rem;
      line-height: 1.1;
    }

    #abie-contact-app .abie-header p {
      margin-top: 4px !important;
      margin-bottom: 0 !important;
      font-size: 0.75rem;
      line-height: 1.3;
    }

    #abie-contact-app .abie-header #startOverBtn.amb-text-link {
      margin: 4px auto 0 !important;
      font-size: 11px !important;
      padding: 0 !important;
      border: none !important;
      width: auto !important;
      max-width: none !important;
    }

    #abie-contact-app .contact-grid {
      grid-template-columns: 1fr;
      gap: 5px !important;
      width: 100%;
      margin-top: 2px;
    }

    #abie-contact-app .contact-field {
      width: 100%;
    }

    #abie-contact-app .contact-field label {
      margin-bottom: 1px !important;
      font-size: 9px;
      font-weight: 600;
      letter-spacing: 0.1em;
      color: var(--amb-gold-dark);
    }

    #abie-contact-app .contact-field input,
    #abie-contact-app .contact-field select {
      width: 100% !important;
      border-color: rgba(159, 125, 63, 0.52);
      height: 42px !important;
      min-height: 42px !important;
      font-size: 16px !important;
      padding-top: 8px !important;
      padding-bottom: 8px !important;
    }

    #abie-contact-app .phone-row {
      grid-template-columns: 92px minmax(0, 1fr);
      gap: 6px;
      width: 100%;
    }

    #abie-contact-app .phone-field-error {
      margin-top: 2px;
      font-size: 9px;
    }

    #abie-contact-app .form-note {
      font-size: 9px;
      margin-top: 8px;
      line-height: 1.32;
    }

    #abie-contact-app a.amb-step-back.amb-link-quiet {
      display: inline-block !important;
      width: auto !important;
      margin: 6px 0 0 !important;
      padding: 0 0 8px !important;
      border: none !important;
      font-size: 10px;
    }

    #abie-contact-app .booking-action-dock,
    #abie-contact-app .booking-action-dock--contact-only {
      position: fixed !important;
      left: 0 !important;
      right: 0 !important;
      bottom: 0 !important;
      width: 100% !important;
      max-width: none !important;
      border-top: 1px solid rgba(198, 164, 93, 0.42) !important;
      padding: 0 !important;
      padding-bottom: max(0px, env(safe-area-inset-bottom, 0px)) !important;
      box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12) !important;
      background: #050505 !important;
    }

    #abie-contact-app .booking-action-dock .booking-footer {
      display: none;
    }

    #abie-contact-app .booking-action-dock #continueBtn,
    #abie-contact-app .booking-action-dock--contact-only #continueBtn {
      display: block !important;
      width: 100% !important;
      max-width: none !important;
      margin: 0 !important;
      padding: 16px 12px !important;
      min-height: 52px !important;
      max-height: none;
      background: var(--amb-gold) !important;
      color: var(--amb-charcoal) !important;
      border: none !important;
      font-size: 0.8125rem !important;
      font-weight: 700 !important;
      letter-spacing: 0.12em !important;
      text-transform: uppercase !important;
      box-shadow: none !important;
      border-radius: 0 !important;
    }

    #abie-contact-app .booking-action-dock #continueBtn:hover,
    #abie-contact-app .booking-action-dock--contact-only #continueBtn:hover {
      background: var(--amb-gold-hover) !important;
      color: var(--amb-charcoal) !important;
    }
  }


/* --- select-services --- */

/* =========================================================
   BASE WRAPPER
========================================================= */

#abie-booking-app,
#abie-booking-app * {
  box-sizing: border-box;
}

#abie-booking-app {
  --amb-gold: #c6a45d;
  --amb-gold-dark: #9f7d3f;
  --amb-gold-hover: #b89450;
  --amb-gold-soft: rgba(198, 164, 93, 0.35);
  --amb-ivory: #fcfbf8;
  --amb-ivory-card: #fbfaf7;
  --amb-text: #141414;
  --amb-text-muted: #4a4540;
  --amb-charcoal: #1f1c18;
  --amb-money: #f7f3ea;
  --amb-select-dock-h: 96px;
  --body-pad-x: clamp(18px, 4vw, 42px);
  --body-pad-top: clamp(22px, 3.5vw, 36px);
  --footer-pad-y: 18px;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  background: transparent !important;
  color: #111;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.abie-card {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
  background: transparent !important;
  border: none;
  box-shadow: none;
  overflow: visible;
}

/* =========================================================
   HERO
========================================================= */

.abie-hero-frame {
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  overflow: hidden;
  line-height: 0;
}

.abie-service-header {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* =========================================================
   PAGE BODY + HEADER
========================================================= */

.abie-body {
  background: var(--amb-ivory);
  padding: var(--body-pad-top) var(--body-pad-x) 0;
  border: none;
  box-shadow: none;
}

.abie-header {
  text-align: center;
  margin-bottom: 28px;
}

.eyebrow {
  letter-spacing: 5px;
  font-size: 10px;
  color: var(--amb-gold);
  margin-bottom: 12px;
}

.abie-header h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.05;
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--amb-text);
}

.abie-header p {
  margin: 12px 0 0;
  color: var(--amb-text-muted);
  font-size: clamp(13px, 2.1vw, 15px);
  line-height: 1.5;
}

/* =========================================================
   SERVICES
========================================================= */

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 761px) {
  .service-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.service-col {
  min-width: 0;
}

.service-col h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 34px);
  line-height: 1.08;
  margin: 0 0 10px;
  color: var(--amb-text);
}

.service-level-diff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin: 0 0 14px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 236, 200, 0.45);
  background: linear-gradient(145deg, #e8d4a8 0%, #c6a45d 38%, #9f7d3f 100%);
  color: #141414;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  cursor: pointer;
  appearance: none;
  border-radius: 0;
  box-shadow:
    0 1px 0 rgba(255, 252, 240, 0.75) inset,
    0 8px 22px rgba(159, 125, 63, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.service-level-diff-btn:hover {
  filter: brightness(1.04);
  box-shadow:
    0 1px 0 rgba(255, 252, 240, 0.85) inset,
    0 10px 26px rgba(159, 125, 63, 0.34);
}

.service-level-diff-btn:active {
  transform: translateY(1px);
}

.service-level-diff-btn:focus {
  outline: 2px solid var(--amb-gold);
  outline-offset: 2px;
}

.service-card,
.addon-card {
  width: 100%;
  border: 1px solid var(--amb-gold-soft);
  padding: 13px 14px;
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  background: var(--amb-ivory-card);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 6px 18px rgba(31, 28, 24, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.service-card:hover,
.addon-card:hover {
  border-color: rgba(198, 164, 93, 0.52);
  box-shadow: 0 0 0 1px rgba(198, 164, 93, 0.1), 0 10px 22px rgba(31, 28, 24, 0.06);
}

.service-card.is-selected,
.addon-card.is-selected {
  border-color: rgba(198, 164, 93, 0.72);
  background: linear-gradient(180deg, #fdf9f1 0%, #f9f3e6 100%);
  box-shadow: 0 0 0 1px rgba(198, 164, 93, 0.16), 0 10px 24px rgba(159, 125, 63, 0.08);
}

.addon-card {
  background: var(--amb-ivory-card);
}

.addon-card[hidden] {
  display: none !important;
}

.service-copy,
.addon-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 54px;
}

.service-name,
.addon-name {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.22;
  color: var(--amb-text);
  letter-spacing: 0.01em;
}

.service-price,
.addon-price {
  color: var(--amb-text-muted);
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.25;
}

.addon-helper {
  color: #555;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.35;
}

.lash-help-link {
  margin-top: 8px;
  align-self: flex-start;
  border: 1px solid var(--amb-gold-soft);
  background: var(--amb-ivory);
  color: var(--amb-gold-dark);
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: .2px;
  padding: 6px 8px;
  cursor: pointer;
}

.lash-help-link:hover {
  background: #f8f3e7;
}

.group-note {
  display: block;
  margin-top: 4px;
  min-height: 12px;
  font-size: 10px;
  line-height: 1.15;
  color: var(--amb-gold);
  visibility: hidden;
  opacity: 0;
}

.group-note.is-visible {
  visibility: visible;
  opacity: 1;
}

/* =========================================================
   QUANTITY CONTROLS
========================================================= */

.qty-control {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.qty-btn {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(42, 38, 34, 0.26);
  background: #fffefc;
  color: var(--amb-charcoal);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  border-radius: 0;
  padding: 0;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.qty-btn[data-action="plus"]:not(:disabled) {
  background: var(--amb-charcoal);
  border-color: var(--amb-charcoal);
  color: var(--amb-money);
}

.qty-btn:hover:not(:disabled) {
  border-color: rgba(198, 164, 93, 0.65);
}

.qty-btn[data-action="plus"]:hover:not(:disabled) {
  background: #2d2924;
  border-color: #2d2924;
}

.qty-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  background: #f3efe8;
  border-color: rgba(42, 38, 34, 0.12);
  color: rgba(42, 38, 34, 0.45);
}

.qty-value {
  min-width: 16px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--amb-text);
}

/* =========================================================
   ADD-ONS
========================================================= */

.addons-section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--amb-gold-soft);
}

.addons-section[hidden] {
  display: none !important;
}

.addons-header {
  text-align: center;
  margin-bottom: 14px;
}

.addons-eyebrow {
  color: var(--amb-gold);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.addons-header h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(22px, 3.5vw, 30px);
  line-height: 1.1;
  color: var(--amb-text);
}

.addons-header p {
  margin: 8px auto 0;
  max-width: 560px;
  color: #666;
  font-size: 12px;
  line-height: 1.45;
}

.addons-grid {
  max-width: 760px;
  margin: 0 auto;
}

/* =========================================================
   FAQ
========================================================= */

.service-faq {
  max-width: 760px;
  margin: 20px auto 0;
  border: 1px solid var(--amb-gold-soft);
  background: var(--amb-ivory-card);
  box-shadow: 0 6px 16px rgba(31, 28, 24, 0.03);
}

.service-faq summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--amb-text);
  list-style-position: outside;
}

.faq-content {
  padding: 0 16px 16px;
  border-top: 1px solid rgba(17,17,17,.08);
}

.faq-heading {
  margin: 12px 0 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amb-gold);
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
}

.faq-item {
  border-top: 1px solid rgba(17, 17, 17, 0.06);
}

.faq-item:first-of-type {
  border-top: none;
}

.faq-item[open] {
  border: 1px solid var(--amb-gold-soft);
  margin-top: 8px;
  padding: 0 10px 6px;
}

.faq-item[open]:first-of-type {
  margin-top: 4px;
}

.faq-item summary {
  cursor: pointer;
  padding: 10px 0 8px;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  padding: 10px 0 0;
}

.faq-item strong {
  display: block;
  font-size: 13px;
  color: #111;
  line-height: 1.35;
  font-weight: 600;
}

.faq-item p {
  margin: 0 0 8px;
  padding: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #666;
  font-weight: 400;
}

.faq-item[open] p {
  margin-top: 12px;
  margin-bottom: 4px;
}

/* =========================================================
   DISCLAIMER + CONTINUE
========================================================= */

.group-disclaimer {
  max-width: 720px;
  margin: 18px auto 0;
  font-size: 11px;
  line-height: 1.45;
  color: #666;
  text-align: center;
}

#continueBtn {
  display: block;
  width: 100%;
  margin-top: 22px;
  margin-bottom: 16px;
  padding: 16px 14px;
  background: #050505;
  color: #fff;
  border: none;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  appearance: none;
  border-radius: 0;
}

#continueBtn:hover {
  background: #111;
}

/* =========================================================
   FOOTER SUMMARY
========================================================= */

.booking-footer {
  margin-left: calc(var(--body-pad-x) * -1);
  margin-right: calc(var(--body-pad-x) * -1);
  margin-bottom: 0;
  padding: var(--footer-pad-y) var(--body-pad-x) 20px;
  background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
  border: none;
  border-top: 1px solid rgba(198, 164, 93, 0.42);
  box-shadow: inset 0 1px 0 rgba(198, 164, 93, 0.12), 0 -10px 28px rgba(0, 0, 0, 0.28);
  outline: none;
}

.summary-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  text-align: center;
}

#abie-booking-app .summary-bar > div > span {
  display: block;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  color: var(--amb-gold);
  text-transform: uppercase;
  margin-bottom: 6px;
  white-space: nowrap;
}

#abie-booking-app .summary-bar strong,
#abie-booking-app .summary-bar strong span {
  display: inline;
  margin: 0;
  font-size: 17px;
  line-height: 1;
  color: var(--amb-money) !important;
  font-weight: 700;
}

/* =========================================================
   MODAL
========================================================= */

.abie-warning-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.abie-warning-modal.is-open {
  display: block;
}

.abie-warning-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.68);
}

.abie-warning-box {
  position: relative;
  width: calc(100% - 32px);
  max-width: 430px;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  background: #111;
  color: #fff;
  border: 1px solid var(--amb-gold-soft);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  padding: 28px 24px 22px;
  text-align: center;
}

.abie-warning-eyebrow {
  color: var(--amb-gold);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.abie-warning-box h3 {
  margin: 0;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(24px, 5vw, 30px);
  line-height: 1.15;
  color: #fff;
}

.abie-warning-box p {
  margin: 12px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.5;
}

#abieWarningClose {
  margin-top: 18px;
  min-width: 120px;
  padding: 14px 18px;
  background: #fff;
  color: #111;
  border: none;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  appearance: none;
  border-radius: 0;
}

#abieWarningClose:hover {
  background: #f3f3f3;
}

.abie-lash-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}

.abie-lash-modal.is-open {
  display: block;
}

.abie-lash-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
}

.abie-lash-box {
  position: relative;
  width: calc(100% - 28px);
  max-width: 760px;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid rgba(17,17,17,.15);
  box-shadow: 0 18px 45px rgba(0,0,0,.45);
  padding: 16px;
}

.abie-lash-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(17,17,17,.35);
  background: #fff;
  color: #111;
  cursor: pointer;
}

.abie-lash-box h3 {
  margin: 0 34px 10px 0;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(24px, 4vw, 30px);
  line-height: 1.2;
}

.abie-lash-image-wrap img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* =========================================================
   SERVICE LEVEL GUIDE MODALS
========================================================= */

.abie-level-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  align-items: stretch;
  justify-content: center;
  padding:
    calc(14px + env(safe-area-inset-top, 0px))
    12px
    calc(14px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  /* Never contribute to document flow / scrollHeight when closed or open. */
  pointer-events: none;
}

.abie-level-modal.is-open {
  display: flex;
  pointer-events: auto;
}

.abie-level-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(4px);
}

.abie-level-box {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: linear-gradient(165deg, #161616 0%, #0c0c0c 55%, #111111 100%);
  color: #f7f3ea;
  border: 1px solid rgba(198, 164, 93, 0.42);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
}

.abie-level-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(198, 164, 93, 0.45);
  background: rgba(17, 17, 17, 0.88);
  color: #f7f3ea;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  appearance: none;
  border-radius: 0;
}

.abie-level-close:hover {
  background: rgba(30, 30, 30, 0.95);
  border-color: var(--amb-gold);
}

.abie-level-scroll {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 22px 18px 26px;
}

@media (max-width: 760px) {
  .abie-level-modal {
    padding:
      calc(16px + env(safe-area-inset-top, 0px))
      12px
      calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .abie-level-box {
    max-height: 100%;
    height: auto;
  }

  .abie-level-scroll {
    padding: 18px 14px 22px;
  }
}

.abie-level-eyebrow {
  color: var(--amb-gold);
  font-size: 10px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.abie-level-box h3 {
  margin: 0;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(26px, 5vw, 34px);
  line-height: 1.12;
  color: #fff;
}

.abie-level-intro {
  margin: 10px 0 16px;
  color: rgba(247, 243, 234, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.abie-level-image-wrap {
  margin-bottom: 18px;
  border: 1px solid rgba(198, 164, 93, 0.28);
  background: #050505;
  line-height: 0;
}

.abie-level-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.abie-level-body {
  display: grid;
  gap: 14px;
}

.level-tier {
  padding: 14px 14px 12px;
  border: 1px solid rgba(198, 164, 93, 0.22);
  background: rgba(255, 255, 255, 0.03);
}

.level-tier--accent {
  border-color: rgba(198, 164, 93, 0.38);
  background: rgba(198, 164, 93, 0.08);
}

.level-tier-name {
  margin: 0 0 8px;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  color: var(--amb-gold);
}

.level-tier p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(247, 243, 234, 0.86);
}

.level-tier p strong {
  color: #fff;
  font-weight: 600;
}

.level-callout {
  padding: 14px 14px 12px;
  border: 1px solid rgba(198, 164, 93, 0.5);
  background: linear-gradient(135deg, rgba(198, 164, 93, 0.16) 0%, rgba(17, 17, 17, 0.2) 100%);
}

.level-callout h4 {
  margin: 0 0 8px;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 20px;
  color: #fff;
}

.level-callout p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(247, 243, 234, 0.9);
}

.abie-level-placeholder {
  padding: 16px 14px;
  border: 1px solid rgba(198, 164, 93, 0.28);
  background: rgba(255, 255, 255, 0.03);
}

.abie-level-placeholder p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(247, 243, 234, 0.86);
}

.abie-level-placeholder ul {
  margin: 0 0 12px;
  padding-left: 18px;
  color: rgba(247, 243, 234, 0.86);
  font-size: 14px;
  line-height: 1.55;
}

.abie-level-placeholder li {
  margin-bottom: 6px;
}

.abie-level-placeholder li strong {
  color: var(--amb-gold);
  font-weight: 600;
}

.abie-level-placeholder-note {
  margin: 0;
  color: rgba(247, 243, 234, 0.72);
  font-size: 13px;
}

@media (min-width: 761px) {
  .service-level-diff-btn {
    width: auto;
    min-width: 220px;
  }

  .abie-level-scroll {
    padding: 26px 28px 30px;
  }
}

/* =========================================================
   FOCUS STATES
========================================================= */

.qty-btn:focus,
#continueBtn:focus,
.service-faq summary:focus,
#abieWarningClose:focus,
.service-level-diff-btn:focus,
.abie-level-close:focus {
  outline: 2px solid var(--amb-gold);
  outline-offset: 2px;
}

/* =========================================================
   DESKTOP SELECT SERVICES — Start-aligned luxury compact (~1440×900)
========================================================= */

@media (min-width: 761px) {
  html:not(.abie-embed-mode) body:has(#abie-booking-app) {
    padding: 6px 12px 12px;
  }

  #abie-booking-app {
    --body-pad-x: 24px;
    --body-pad-top: 14px;
    --footer-pad-y: 10px;
  }

  #abie-booking-app .abie-card {
    width: 100%;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(17, 17, 17, 0.12);
    overflow: hidden;
  }

  #abie-booking-app .abie-hero-frame {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    background: #050505;
    overflow: hidden;
  }

  #abie-booking-app .abie-service-header {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 340px;
    margin: 0;
    object-fit: contain;
    object-position: center center;
  }

  #abie-booking-app .abie-body {
    width: 100%;
    margin: 0;
    padding: var(--body-pad-top) var(--body-pad-x) 0;
    border: none;
  }

  #abie-booking-app .abie-header {
    margin-bottom: 10px;
  }

  #abie-booking-app .eyebrow {
    margin-bottom: 6px;
    font-size: 9px;
    letter-spacing: 4px;
  }

  #abie-booking-app .abie-header h1 {
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.06;
  }

  #abie-booking-app .abie-header p {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
  }

  #abie-booking-app .service-grid {
    gap: 10px 14px;
  }

  #abie-booking-app .service-col h2 {
    font-size: 1.2rem;
    margin: 0 0 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--amb-gold-soft);
  }

  #abie-booking-app .service-card,
  #abie-booking-app .addon-card {
    min-height: 0;
    max-height: 66px;
    padding: 7px 10px;
    margin-bottom: 5px;
    gap: 8px;
    align-items: center;
  }

  #abie-booking-app .service-copy,
  #abie-booking-app .addon-copy {
    min-height: 0;
    justify-content: center;
  }

  #abie-booking-app .service-name,
  #abie-booking-app .addon-name {
    font-size: 14px;
    line-height: 1.18;
    color: var(--amb-text);
  }

  #abie-booking-app .service-price,
  #abie-booking-app .addon-price {
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.22;
    color: var(--amb-text-muted);
  }

  #abie-booking-app .addon-helper {
    display: none;
  }

  #abie-booking-app .lash-help-link {
    margin-top: 3px;
    padding: 3px 6px;
    font-size: 10px;
  }

  #abie-booking-app .group-note {
    margin-top: 2px;
    min-height: 0;
    font-size: 9px;
  }

  #abie-booking-app .qty-control {
    gap: 5px;
  }

  #abie-booking-app .qty-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    font-size: 15px;
  }

  #abie-booking-app .qty-value {
    font-size: 14px;
    min-width: 14px;
    color: var(--amb-text);
  }

  #abie-booking-app .addons-section {
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--amb-gold-soft);
  }

  #abie-booking-app .addons-header {
    margin-bottom: 6px;
  }

  #abie-booking-app .addons-eyebrow {
    letter-spacing: 0.22em;
    margin-bottom: 4px;
  }

  #abie-booking-app .addons-header h2 {
    font-size: 1.25rem;
  }

  #abie-booking-app .service-faq {
    margin-top: 12px;
  }

  #abie-booking-app .service-faq summary {
    padding: 10px 14px;
    font-size: 12px;
    min-height: 0;
  }

  #abie-booking-app .group-disclaimer {
    margin-top: 10px;
    font-size: 10px;
  }

  #abie-booking-app a.amb-step-back.amb-link-quiet {
    margin: 4px 0 8px;
    font-size: 12px;
    color: var(--amb-gold);
  }

  #abie-booking-app .booking-action-dock {
    background: transparent;
    border-top: none;
    box-shadow: none;
  }

  #abie-booking-app .booking-action-dock .booking-footer {
    margin-left: calc(var(--body-pad-x) * -1) !important;
    margin-right: calc(var(--body-pad-x) * -1) !important;
    padding: var(--footer-pad-y) var(--body-pad-x) 6px !important;
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%) !important;
    border-top: 1px solid rgba(198, 164, 93, 0.42) !important;
    box-shadow: inset 0 1px 0 rgba(198, 164, 93, 0.14), 0 -10px 28px rgba(0, 0, 0, 0.28) !important;
  }

  #abie-booking-app .booking-action-dock .summary-bar > div > span {
    color: var(--amb-gold) !important;
    font-size: 9px !important;
    letter-spacing: 0.12em !important;
    margin-bottom: 4px !important;
  }

  #abie-booking-app .booking-action-dock .summary-bar strong,
  #abie-booking-app .booking-action-dock .summary-bar strong span {
    font-size: 16px !important;
    color: var(--amb-money) !important;
  }

  #abie-booking-app .booking-action-dock #continueBtn {
    display: block;
    width: 100%;
    margin: 8px 0 10px !important;
    padding: 13px 14px !important;
    min-height: 0;
    background: var(--amb-gold) !important;
    color: var(--amb-charcoal) !important;
    border: none;
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: 0.12em !important;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(159, 125, 63, 0.28);
  }

  #abie-booking-app .booking-action-dock #continueBtn:hover {
    background: var(--amb-gold-hover) !important;
    color: var(--amb-charcoal) !important;
  }
}

@media (min-width: 761px) and (max-height: 920px) {
  #abie-booking-app .abie-service-header {
    max-height: 300px;
  }

  #abie-booking-app .abie-header h1 {
    font-size: clamp(22px, 2.2vw, 28px);
  }

  #abie-booking-app .service-card,
  #abie-booking-app .addon-card {
    max-height: 62px;
    padding: 6px 9px;
  }
}

/* =========================================================
   MOBILE SELECT SERVICES (390px target)
========================================================= */

@media (max-width: 760px) {
  /* Keep black outer canvas; ivory lives on the funnel card only. */
  html:not(.abie-embed-mode):has(#abie-booking-app) {
    background: #050505 !important;
  }

  html:not(.abie-embed-mode) body:has(#abie-booking-app) {
    padding-bottom: 0 !important;
    background: transparent !important;
    min-height: 100svh !important;
    min-height: 100dvh !important;
    height: auto !important;
  }

  #abie-booking-app {
    --body-pad-x: 12px !important;
    --body-pad-top: 10px !important;
    --amb-dock-h: 112px !important;
    --amb-select-dock-h: 112px;
    background: transparent !important;
    min-height: 0 !important;
    height: auto !important;
  }

  #abie-booking-app .abie-card {
    max-width: 100%;
    min-height: 0 !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
    background: var(--amb-ivory, #fcfbf8);
  }

  #abie-booking-app .abie-body {
    flex: 0 0 auto !important;
    min-height: 0 !important;
    padding-top: 10px !important;
    /* Extra reserve so last cards clear sticky dock + iOS chrome. */
    padding-bottom: calc(var(--amb-select-dock-h) + env(safe-area-inset-bottom, 0px) + 28px) !important;
  }

  /* Natural hero — never crop/compress */
  #abie-booking-app .abie-hero-frame {
    display: block !important;
    align-items: unset;
    justify-content: unset;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    overflow: hidden;
    line-height: 0;
    background: #050505;
  }

  #abie-booking-app .abie-service-header {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: unset !important;
    object-position: center top !important;
    display: block !important;
  }

  #abie-booking-app .abie-header {
    margin-bottom: 6px;
  }

  #abie-booking-app .eyebrow {
    margin-bottom: 2px;
    letter-spacing: 0.18em;
    font-size: 8px;
    color: var(--amb-gold);
  }

  #abie-booking-app .abie-header h1 {
    font-size: 1.2rem;
    line-height: 1.1;
  }

  #abie-booking-app .abie-header p {
    margin-top: 3px;
    font-size: 0.7rem;
    line-height: 1.3;
  }

  #abie-booking-app .service-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #abie-booking-app .service-col h2 {
    font-family: Georgia, serif;
    font-size: 1.15rem;
    font-weight: 400;
    margin: 0 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--amb-gold-soft);
  }

  #abie-booking-app .service-card {
    min-height: 0;
    max-height: none;
    padding: 12px 12px;
    margin-bottom: 8px;
    gap: 10px;
    align-items: center;
  }

  #abie-booking-app .service-copy {
    min-height: 0;
    justify-content: center;
    padding: 0;
  }

  #abie-booking-app .service-name {
    font-size: 0.95rem;
    line-height: 1.2;
    color: var(--amb-text);
  }

  #abie-booking-app .service-price {
    margin-top: 2px;
    font-size: 0.8125rem;
    line-height: 1.2;
    color: var(--amb-text-muted);
  }

  #abie-booking-app .group-note {
    margin-top: 2px;
    min-height: 0;
    font-size: 10px;
    line-height: 1.15;
  }

  #abie-booking-app .qty-control {
    gap: 8px;
  }

  #abie-booking-app .qty-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
    font-size: 1.125rem;
    line-height: 1;
  }

  #abie-booking-app .qty-btn[data-action="plus"] {
    font-size: 1.25rem;
    font-weight: 700;
  }

  #abie-booking-app .qty-btn[data-action="minus"] {
    font-size: 1.125rem;
    font-weight: 400;
  }

  #abie-booking-app .qty-value {
    min-width: 18px;
    font-size: 1rem;
    color: var(--amb-text);
  }

  #abie-booking-app .addon-card {
    min-height: 0;
    max-height: none;
    padding: 12px 12px;
    margin-bottom: 8px;
    gap: 10px;
    align-items: center;
  }

  #abie-booking-app .addon-copy {
    min-height: 0;
  }

  #abie-booking-app .addon-name {
    font-size: 0.8125rem;
  }

  #abie-booking-app .addon-price {
    font-size: 0.7rem;
    margin-top: 0;
  }

  #abie-booking-app .addon-helper {
    display: none;
  }

  #abie-booking-app .lash-help-link {
    margin-top: 2px;
    padding: 3px 5px;
    font-size: 9px;
  }

  #abie-booking-app .addons-section {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--amb-gold-soft);
  }

  #abie-booking-app .addons-header {
    margin-bottom: 4px;
  }

  #abie-booking-app .addons-eyebrow {
    letter-spacing: 0.18em;
    margin-bottom: 2px;
  }

  #abie-booking-app .addons-header h2 {
    font-size: 1rem;
  }

  #abie-booking-app .addons-header p {
    font-size: 0.65rem;
    margin-top: 2px;
  }

  #abie-booking-app .service-faq {
    margin: 6px 0 0;
    max-width: none;
  }

  #abie-booking-app .service-faq summary {
    min-height: 0;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    list-style: none;
  }

  #abie-booking-app .service-faq summary::-webkit-details-marker {
    display: none;
  }

  #abie-booking-app .service-faq[open] summary {
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  }

  #abie-booking-app .faq-content {
    padding: 0 10px 8px;
  }

  #abie-booking-app .faq-heading {
    margin: 8px 0 3px;
    font-size: 0.6rem;
  }

  #abie-booking-app .faq-item summary {
    padding: 6px 0 4px;
  }

  #abie-booking-app .faq-item[open] {
    padding: 0 6px 3px;
    margin-top: 4px;
  }

  #abie-booking-app .faq-item[open] summary {
    padding: 6px 0 0;
  }

  #abie-booking-app .faq-item strong {
    font-size: 0.7rem;
  }

  #abie-booking-app .faq-item p {
    font-size: 0.65rem;
    margin-bottom: 4px;
    color: #666;
  }

  #abie-booking-app .faq-item[open] p {
    margin-top: 6px;
    margin-bottom: 2px;
  }

  #abie-booking-app .group-disclaimer {
    margin-top: 6px;
    font-size: 0.65rem;
    line-height: 1.3;
  }

  #abie-booking-app a.amb-step-back.amb-link-quiet {
    display: inline-block;
    width: auto;
    min-height: 0;
    margin: 2px 0 4px;
    padding: 0;
    border: none;
    background: none;
    font-size: 11px;
    color: var(--amb-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  #abie-booking-app .booking-action-dock {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    border-top: none !important;
    padding: 0 !important;
    padding-bottom: max(0px, env(safe-area-inset-bottom, 0px)) !important;
    box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.34) !important;
    background: #050505 !important;
    z-index: 40;
  }

  #abie-booking-app .booking-action-dock .booking-footer {
    padding: 8px 12px 4px !important;
    margin: 0 !important;
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%) !important;
    border-top: 1px solid rgba(198, 164, 93, 0.42) !important;
    box-shadow: inset 0 1px 0 rgba(198, 164, 93, 0.14) !important;
  }

  #abie-booking-app .booking-action-dock .summary-bar > div > span {
    color: var(--amb-gold) !important;
    font-size: 0.5rem !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 2px !important;
  }

  #abie-booking-app .booking-action-dock .summary-bar strong,
  #abie-booking-app .booking-action-dock .summary-bar strong span {
    font-size: 0.875rem !important;
    color: var(--amb-money) !important;
  }

  #abie-booking-app .booking-action-dock #continueBtn {
    width: 100% !important;
    margin: 0 !important;
    padding: 14px 12px !important;
    min-height: 48px !important;
    max-height: none;
    background: var(--amb-gold) !important;
    color: var(--amb-charcoal) !important;
    border: none !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  #abie-booking-app .booking-action-dock #continueBtn:hover {
    background: var(--amb-gold-hover) !important;
    color: var(--amb-charcoal) !important;
  }

  #abie-booking-app .booking-action-dock #continueBtn:disabled {
    opacity: 0.55;
  }
}



/* --- event-details --- */

/* =========================================================
   BASE
========================================================= */

#abie-event-app,
#abie-event-app * {
  box-sizing: border-box;
}

#abie-event-app {
  --amb-gold: #c6a45d;
  --amb-gold-dark: #9f7d3f;
  --amb-gold-hover: #b89450;
  --amb-gold-soft: rgba(198, 164, 93, 0.35);
  --amb-ivory: #fcfbf8;
  --amb-ivory-card: #fbfaf7;
  --amb-text: #141414;
  --amb-text-muted: #4a4540;
  --amb-charcoal: #1f1c18;
  --amb-money: #f7f3ea;
  --body-pad-x: clamp(18px, 4vw, 42px);
  --body-pad-top: clamp(22px, 3.5vw, 36px);
  --footer-pad-y: 18px;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  background: transparent !important;
  color: var(--amb-text);
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.amb-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.amb-step-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amb-gold-dark);
  font-weight: 700;
}

.amb-step-name {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amb-text-muted);
}

#abie-event-app .abie-card {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
  background: var(--amb-ivory, #fcfbf8) !important;
  border: none;
  box-shadow: none;
  overflow: hidden;
}

/* =========================================================
   HERO
========================================================= */

.abie-hero-frame {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #050505;
  overflow: hidden;
  line-height: 0;
}

.abie-service-header {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* =========================================================
   BODY + HEADER
========================================================= */

.abie-body {
  background: var(--amb-ivory);
  padding: var(--body-pad-top) var(--body-pad-x) 0;
  border: none;
  box-shadow: none;
}

.abie-header {
  text-align: center;
  margin-bottom: 22px;
}

.eyebrow {
  letter-spacing: 5px;
  font-size: 10px;
  color: var(--amb-gold);
  margin-bottom: 10px;
}

.abie-header h1 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.05;
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--amb-text);
}

.abie-header p {
  max-width: 680px;
  margin: 10px auto 0;
  color: var(--amb-text-muted);
  font-size: clamp(13px, 2.1vw, 15px);
  line-height: 1.45;
}

#abie-event-app .abie-header #startOverBtn.amb-text-link,
#abie-event-app .event-start-over-link {
  display: inline-block !important;
  width: auto !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-align: right;
  color: var(--amb-gold-dark) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  appearance: none;
}

#abie-event-app .abie-header #startOverBtn.amb-text-link:hover,
#abie-event-app .event-start-over-link:hover {
  color: var(--amb-gold) !important;
  background: none !important;
}

.event-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 10px 0 0;
  padding: 0 0 4px;
}

#abie-event-app .event-bottom-nav .amb-step-back.amb-link-quiet {
  display: inline-block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  text-align: left;
  color: var(--amb-gold) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.event-section {
  margin-bottom: 18px;
}

.event-section-title {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3.2vw, 28px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--amb-text);
}

.event-section-card {
  border: 1px solid rgba(159, 125, 63, 0.28);
  background: var(--amb-ivory-card);
  padding: 16px 16px 6px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

/* =========================================================
   FORM
========================================================= */

.event-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px 18px;
}

.event-field {
  min-width: 0;
}

.event-field.full-width {
  grid-column: 1 / -1;
}

.event-field label {
  display: block;
  margin-bottom: 5px;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--amb-gold-dark);
}

.field-helper {
  display: block;
  margin-top: 5px;
  color: var(--amb-text-muted);
  font-size: 10px;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 400;
}

.event-field input,
.event-field select,
.event-field textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 12px;
  border: 1px solid rgba(159, 125, 63, 0.5);
  background: #fff;
  color: var(--amb-text);
  font-size: 14px;
  line-height: 1;
  border-radius: 0;
  outline: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.event-field input,
.event-field select {
  height: 48px;
  min-height: 44px;
}

.event-field input[type="date"],
.event-field input[type="time"] {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.event-field input[type="time"] {
  appearance: none;
  -webkit-appearance: none;
}

.event-field textarea {
  min-height: 118px;
  padding-top: 13px;
  padding-bottom: 13px;
  line-height: 1.4;
  resize: vertical;
}

.event-field input:focus,
.event-field select:focus,
.event-field textarea:focus {
  border-color: var(--amb-gold);
  outline: 2px solid rgba(198, 164, 93, 0.28);
  outline-offset: 0;
  box-shadow: 0 0 0 1px rgba(198, 164, 93, 0.15);
}

.fee-notice {
  max-width: 760px;
  margin: 18px auto 0;
  padding: 16px 18px;
  border: 1px solid rgba(198, 164, 93, 0.42);
  background: linear-gradient(180deg, #fffdf8 0%, #fbf6ea 100%);
  color: var(--amb-text);
  text-align: left;
}

.fee-notice-title {
  color: var(--amb-text);
  font-family: Georgia, serif;
  font-size: clamp(18px, 3vw, 22px);
  line-height: 1.15;
  margin-bottom: 8px;
}

.fee-notice-text {
  color: var(--amb-text-muted);
  font-size: 12px;
  line-height: 1.55;
}

.fee-notice-text ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.fee-notice-text li {
  margin: 4px 0;
}

.form-note {
  max-width: 720px;
  margin: 14px auto 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--amb-text-muted);
  text-align: center;
}

#abie-event-app a.amb-step-back.amb-link-quiet {
  display: inline-block;
  width: auto;
  min-height: 0;
  margin: 10px 0 0;
  padding: 0;
  border: none !important;
  background: none !important;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--amb-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#abie-event-app a.amb-step-back.amb-link-quiet:hover {
  color: var(--amb-gold-dark);
  background: none !important;
}

#abie-event-app #continueBtn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  cursor: pointer;
  appearance: none;
  border-radius: 0;
}

#abie-event-app #continueBtn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* =========================================================
   FOOTER SUMMARY
========================================================= */

.booking-footer {
  margin-left: calc(var(--body-pad-x) * -1);
  margin-right: calc(var(--body-pad-x) * -1);
  margin-bottom: 0;
  padding: var(--footer-pad-y) var(--body-pad-x) 20px;
  background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
  border: none;
  border-top: 1px solid rgba(198, 164, 93, 0.42);
  box-shadow: inset 0 1px 0 rgba(198, 164, 93, 0.12), 0 -10px 28px rgba(0, 0, 0, 0.28);
  outline: none;
}

.footer-fee-breakdown {
  border-bottom: 1px solid rgba(255,255,255,.14);
  margin-bottom: 15px;
  padding-bottom: 13px;
  color: #fff;
  font-size: 12px;
  line-height: 1.45;
}

.footer-fee-breakdown .fee-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 4px 0;
}

.footer-fee-breakdown .fee-label {
  color: var(--amb-gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  line-height: 1.3;
}

.footer-fee-breakdown .fee-amount {
  color: var(--amb-money);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.summary-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  text-align: center;
}

.summary-bar span {
  display: block;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  color: var(--amb-gold);
  text-transform: uppercase;
  margin-bottom: 6px;
  white-space: nowrap;
}

.summary-bar strong,
.summary-bar strong span {
  display: inline;
  margin: 0;
  font-size: 17px;
  line-height: 1;
  color: var(--amb-money) !important;
  font-weight: 700;
}

/* =========================================================
   MODALS
========================================================= */

.abie-warning-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.abie-warning-modal.is-open {
  display: block;
}

.abie-warning-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.68);
}

.abie-warning-box {
  position: relative;
  width: calc(100% - 32px);
  max-width: 430px;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  background: #111;
  color: #fff;
  border: 1px solid rgba(201,178,124,.45);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  padding: 28px 24px 22px;
  text-align: center;
}

.abie-warning-eyebrow {
  color: #c9b27c;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.abie-warning-box h3 {
  margin: 0;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(24px, 5vw, 30px);
  line-height: 1.15;
  color: #fff;
}

.abie-warning-box p {
  margin: 12px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.5;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}

#abieWarningClose,
#confirmStartOverBtn,
#cancelStartOverBtn,
#abieWarningStartOver {
  width: 100%;
  min-height: 46px;
  padding: 14px 18px;
  background: #fff;
  color: #111;
  border: none;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  appearance: none;
  border-radius: 0;
}

#abieWarningClose:hover,
#confirmStartOverBtn:hover,
#cancelStartOverBtn:hover,
#abieWarningStartOver:hover {
  background: #f3f3f3;
}

.modal-secondary {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.34) !important;
}

.modal-secondary:hover {
  background: rgba(255,255,255,.08) !important;
}

#abieWarningClose:focus,
#confirmStartOverBtn:focus,
#cancelStartOverBtn:focus,
#abieWarningStartOver:focus,
#continueBtn:focus,
#startOverBtn:focus {
  outline: 2px solid var(--amb-gold);
  outline-offset: 2px;
}

@media (min-width: 761px) {
  html:not(.abie-embed-mode) body:has(#abie-event-app) {
    padding: 6px 12px 12px;
  }

  #abie-event-app {
    --body-pad-x: 24px;
    --body-pad-top: 14px;
    --footer-pad-y: 10px;
  }

  #abie-event-app .abie-card {
    width: 100%;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(17, 17, 17, 0.12);
    overflow: hidden;
  }

  #abie-event-app .abie-body {
    width: 100%;
    padding-bottom: 0;
  }

  #abie-event-app .abie-header {
    margin-bottom: 14px;
  }

  #abie-event-app .abie-header h1 {
    font-size: clamp(24px, 2.4vw, 32px);
  }

  #abie-event-app .booking-action-dock .booking-footer {
    margin-left: calc(var(--body-pad-x) * -1) !important;
    margin-right: calc(var(--body-pad-x) * -1) !important;
    padding: var(--footer-pad-y) var(--body-pad-x) 6px !important;
  }

  #abie-event-app .booking-action-dock #continueBtn {
    display: block;
    width: 100%;
    margin: 8px 0 10px !important;
    padding: 13px 14px !important;
    background: var(--amb-gold) !important;
    color: var(--amb-charcoal) !important;
    border: none;
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: 0.12em !important;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(159, 125, 63, 0.28);
  }

  #abie-event-app .booking-action-dock #continueBtn:hover {
    background: var(--amb-gold-hover) !important;
  }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 760px) {
  /* Black outer canvas; ivory remains on the event card. */
  html:not(.abie-embed-mode):has(#abie-event-app) {
    background: #050505 !important;
  }

  html:not(.abie-embed-mode) body:has(#abie-event-app) {
    padding-bottom: 0 !important;
    background: transparent !important;
    min-height: 100svh !important;
    min-height: 100dvh !important;
    height: auto !important;
  }

  #abie-event-app {
    --body-pad-x: 12px !important;
    --body-pad-top: 4px !important;
    --footer-pad-y: 8px !important;
    /* Dock + safe area + small buffer for bottom nav row visibility */
    --amb-event-dock-h: 118px;
    background: transparent !important;
    min-height: 0 !important;
    height: auto !important;
    overflow-x: hidden;
  }

  /* Natural hero — never crop/compress */
  #abie-event-app .abie-hero-frame {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: hidden;
    line-height: 0;
    background: #050505;
  }

  #abie-event-app .abie-service-header {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: unset !important;
    object-position: center top !important;
    display: block !important;
  }

  #abie-event-app .abie-card {
    max-width: 100%;
    min-height: 0 !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
    background: var(--amb-ivory, #fcfbf8) !important;
  }

  #abie-event-app .abie-body {
    flex: 0 0 auto !important;
    min-height: 0 !important;
    padding-top: 4px !important;
    padding-bottom: calc(var(--amb-event-dock-h) + env(safe-area-inset-bottom, 0px) + 28px) !important;
    scroll-padding-bottom: calc(var(--amb-event-dock-h) + env(safe-area-inset-bottom, 0px) + 28px);
  }

  #abie-event-app .abie-header {
    margin-bottom: 6px !important;
    padding-bottom: 0;
  }

  #abie-event-app .amb-step-indicator {
    margin-bottom: 2px !important;
    gap: 0;
  }

  #abie-event-app .amb-step-label {
    font-size: 8px;
  }

  #abie-event-app .amb-step-name {
    font-size: 9px;
  }

  #abie-event-app .eyebrow {
    letter-spacing: 0.18em;
    font-size: 8px;
    margin-bottom: 2px !important;
  }

  #abie-event-app .abie-header h1 {
    font-size: 1.35rem !important;
    line-height: 1.08 !important;
    margin-bottom: 0 !important;
  }

  #abie-event-app .abie-header p {
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
    margin: 3px auto 0 !important;
  }

  .event-section {
    margin-bottom: 8px;
  }

  .event-section-title {
    font-size: 1.05rem;
    margin-bottom: 4px;
  }

  .event-section-card {
    padding: 10px 10px 2px;
  }

  .event-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .event-field.full-width {
    grid-column: auto;
  }

  .event-field label {
    margin-bottom: 2px;
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .field-helper {
    margin-top: 2px;
    font-size: 9px;
    line-height: 1.3;
  }

  .event-field input,
  .event-field select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 44px;
    min-height: 44px;
    max-height: 48px;
    font-size: 16px;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .event-field input[type="date"],
  .event-field input[type="time"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .event-field textarea {
    min-height: 88px;
    max-height: 140px;
    font-size: 16px;
    line-height: 1.35;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .form-note,
  .fee-notice-text {
    font-size: 10px;
    line-height: 1.35;
  }

  .fee-notice {
    margin-top: 8px;
    padding: 10px 10px;
  }

  .fee-notice-title {
    font-size: 15px;
    margin-bottom: 3px;
  }

  .event-bottom-nav {
    margin-top: 8px;
    padding-bottom: 2px;
  }

  #abie-event-app .event-bottom-nav .amb-step-back.amb-link-quiet,
  #abie-event-app .event-start-over-link {
    font-size: 11px !important;
    padding: 8px 0 !important;
    min-height: 44px;
    display: inline-flex !important;
    align-items: center;
  }

  #abie-event-app .booking-action-dock {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 40;
    width: 100% !important;
    background: #050505 !important;
    padding-bottom: max(0px, env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Continue dock must stay visible while typing — never hide on focus-within. */

  #abie-event-app .booking-action-dock .booking-footer {
    padding: 8px 12px 4px !important;
    margin: 0 !important;
  }

  #abie-event-app .booking-action-dock #continueBtn {
    min-height: 48px !important;
    max-height: none;
    padding: 12px 12px !important;
    margin: 0 !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.1em !important;
  }
}

@media (max-width: 420px) {
  #abie-event-app {
    --body-pad-x: 12px !important;
    --body-pad-top: 4px !important;
    --amb-event-dock-h: 112px;
  }

  #abie-event-app .abie-header h1 {
    font-size: 1.28rem !important;
  }

  .event-section-card {
    padding: 10px 10px 2px;
  }

  .footer-fee-breakdown .fee-row {
    grid-template-columns: 1fr auto;
    gap: 6px;
    text-align: left;
    padding: 2px 0;
  }

  .summary-bar strong,
  .summary-bar strong span {
    font-size: 13px;
  }
}

@media (max-width: 340px) {
  .summary-bar {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .summary-bar span {
    font-size: 9px;
  }

  .summary-bar strong,
  .summary-bar strong span {
    font-size: 16px;
  }
}


/* --- payment-processing --- */

  :root {
    --amb-black: #050505;
    --amb-white: #ffffff;
    --amb-cream: #fbfaf7;
    --amb-border: #ded8cc;
    --amb-gold: #c7a15a;
    --amb-muted: #666666;
    --amb-soft: #fffefa;
  }

  * {
    box-sizing: border-box;
  }

  body {
    margin: 0 !important;
    background: transparent !important;
  }

  #amb-payment-root {
    width: 100%;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--amb-black);
    background: transparent;
  }

  .amb-page {
    width: min(920px, 100%);
    margin: 0 auto;
    background: transparent;
  }

  .amb-test-mode-banner {
    background: #0f2d4a;
    color: #ffffff;
    text-align: center;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.6px;
    line-height: 1.4;
    width: 100%;
    box-sizing: border-box;
  }

  .amb-header-img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
  }

  .amb-main {
    background: var(--amb-white);
    padding: 42px 44px 44px;
    text-align: center;
  }

  .amb-kicker {
    letter-spacing: 8px;
    color: var(--amb-gold);
    font-size: 11px;
    margin-bottom: 14px;
    text-transform: uppercase;
  }

  .amb-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1;
    font-weight: 400;
    margin: 0 0 14px;
  }

  .amb-subtitle {
    max-width: 680px;
    margin: 0 auto 26px;
    color: #4c4c4c;
    font-size: 15px;
    line-height: 1.55;
  }

  .amb-card,
  .amb-checkout-wrap,
  .amb-status,
  .amb-actions,
  .amb-payment-disclaimer {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }

  .amb-card {
    margin-bottom: 22px;
    border: 1px solid var(--amb-border);
    background: var(--amb-soft);
    padding: 22px 24px;
    text-align: left;
  }

  .amb-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 11px 0;
    border-bottom: 1px solid #ece7dd;
    font-size: 14px;
  }

  .amb-row:last-child {
    border-bottom: 0;
  }

  .amb-label {
    color: #8a7148;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 11px;
  }

  .amb-value {
    font-weight: 900;
    text-align: right;
    word-break: break-word;
  }

  .amb-checkout-wrap {
    margin-top: 22px;
    padding: 0;
    border: 1px solid var(--amb-border);
    background: #fff;
    text-align: left;
    overflow: hidden;
  }

  #amb-stripe-checkout {
    min-height: 420px;
    padding: 0;
  }

  .amb-actions {
    margin-top: 18px;
    display: grid;
    gap: 12px;
  }

  .amb-review-actions {
    margin-top: 18px;
  }

  .amb-switch-actions {
    margin-top: 14px;
  }

  .amb-btn {
    width: 100%;
    border: 1px solid var(--amb-black);
    padding: 16px 18px;
    font-size: 14px;
    letter-spacing: 0.7px;
    cursor: pointer;
    transition: 0.2s ease;
    font-weight: 900;
    border-radius: 0;
    text-decoration: none;
    display: inline-block;
    text-align: center;
  }

  .amb-btn-primary {
    background: var(--amb-black);
    color: var(--amb-white);
  }

  .amb-btn-secondary {
    background: var(--amb-white);
    color: var(--amb-black);
  }

  .amb-btn-primary:hover {
    background: #1a1a1a;
  }

  .amb-btn-secondary:hover {
    background: #f4f0e8;
  }

  .amb-btn-gold {
    background: var(--amb-gold);
    color: var(--amb-black);
    border-color: #a88745;
  }

  .amb-btn-gold:hover {
    background: #b8914f;
  }

  .amb-btn-gold:disabled {
    opacity: 0.78;
    cursor: not-allowed;
  }

  .amb-checkout-recovery-actions {
    margin-top: 0;
    margin-bottom: 12px;
  }

  .amb-status {
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid #d5b875;
    background: #fffaf0;
    color: #3f3f3f;
    font-size: 13px;
    line-height: 1.5;
  }

  .amb-status strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 400;
    color: #111;
  }

  .amb-status-hidden {
    display: none !important;
  }

  .amb-error {
    border-color: #d3a0a0;
    background: #fff6f6;
  }

  .amb-loader {
    width: 34px;
    height: 34px;
    margin: 0 auto 18px;
    border: 3px solid #e7ddca;
    border-top-color: var(--amb-gold);
    border-radius: 50%;
    animation: ambSpin 0.8s linear infinite;
  }

  .amb-loader-hidden {
    display: none !important;
  }

  .amb-terms-block {
    max-width: 680px;
    margin: 0 auto 18px;
    text-align: left;
  }

  .amb-terms {
    border: 1px solid var(--amb-border);
    background: var(--amb-soft);
    margin-bottom: 14px;
  }

  .amb-terms summary {
    cursor: pointer;
    padding: 14px 16px;
    font-weight: 800;
    letter-spacing: 0.4px;
    list-style: none;
  }

  .amb-terms summary::-webkit-details-marker {
    display: none;
  }

  .amb-terms-content {
    padding: 0 16px 16px;
    font-size: 13px;
    line-height: 1.55;
    color: #333;
  }

  .amb-terms-content h4 {
    margin: 12px 0 6px;
    font-size: 13px;
    font-weight: 800;
  }

  .amb-terms-content ul {
    margin: 0 0 10px 18px;
    padding: 0;
  }

  .amb-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
  }

  .amb-check input {
    margin-top: 3px;
    flex-shrink: 0;
  }

  @keyframes ambSpin {
    to {
      transform: rotate(360deg);
    }
  }

  .amb-payment-disclaimer {
    margin-top: 20px;
    padding: 14px 18px 0;
    border-top: 1px solid var(--amb-border);
    color: #666;
    font-size: 11.5px;
    line-height: 1.55;
    text-align: center;
  }

  .amb-payment-disclaimer strong {
    display: block;
    color: #111;
    font-size: 12px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 6px;
  }

  .amb-payment-debug-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    max-height: 42vh;
    overflow: auto;
    background: #0b1220;
    color: #dbeafe;
    border-top: 2px solid #c7a15a;
    padding: 12px 14px 16px;
    font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    text-align: left;
  }

  .amb-payment-debug-panel strong {
    color: #fbbf24;
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .amb-payment-debug-panel dl {
    margin: 0;
    display: grid;
    grid-template-columns: minmax(140px, 38%) 1fr;
    gap: 4px 10px;
  }

  .amb-payment-debug-panel dt {
    margin: 0;
    color: #93c5fd;
  }

  .amb-payment-debug-panel dd {
    margin: 0;
    word-break: break-all;
  }

  @media (max-width: 760px) {
    .amb-main {
      padding: 32px 16px 34px;
    }

    .amb-kicker {
      letter-spacing: 5px;
      font-size: 10px;
    }

    .amb-title {
      font-size: 37px;
    }

    .amb-subtitle {
      font-size: 14px;
      margin-bottom: 22px;
    }

    .amb-card {
      padding: 18px 16px 20px;
      margin-bottom: 18px;
    }

    .amb-row {
      display: block;
      font-size: 13px;
    }

    .amb-value {
      text-align: left;
      margin-top: 5px;
    }

    .amb-checkout-wrap {
      margin-top: 18px;
    }

    #amb-stripe-checkout {
      min-height: 430px;
    }

    .amb-payment-disclaimer {
      margin-top: 18px;
      padding: 13px 6px 0;
      font-size: 11px;
      line-height: 1.5;
    }
  }

  @media (max-width: 420px) {
    .amb-main {
      padding: 28px 12px 30px;
    }

    .amb-title {
      font-size: 32px;
    }

    .amb-btn {
      font-size: 13px;
      padding: 14px;
    }

    .amb-card,
    .amb-checkout-wrap,
    .amb-status,
    .amb-actions,
    .amb-payment-disclaimer {
      max-width: 100%;
    }
  }


/* --- payment-success --- */

html.abie-payment-success-active,
html.abie-payment-success-active body {
  margin: 0;
  min-height: 100%;
  background: #050505 !important;
  color: #111 !important;
}

#abie-payment-success-app {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: clamp(18px, 4vw, 28px) clamp(12px, 3vw, 18px) 36px;
  box-sizing: border-box;
  background: #050505;
  font-family: Arial, Helvetica, sans-serif;
}

.abie-shell {
  width: 100%;
  max-width: 520px;
  background: #fffefa;
  border: 1px solid rgba(214, 176, 106, 0.42);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.abie-thank-you-hero {
  width: 100%;
  max-width: 100%;
  display: block;
  height: auto;
  margin: 0;
  padding: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center top;
}

.abie-shell-body {
  padding: clamp(22px, 5vw, 30px) clamp(18px, 4vw, 26px) 22px;
  box-sizing: border-box;
}

.abie-hero { text-align: center; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(214, 176, 106, 0.22); }
.abie-hero h1 { margin: 0; font-size: clamp(26px, 5.5vw, 34px); line-height: 1.12; font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.abie-lead { margin: 10px 0 0; color: #555; font-size: 15px; line-height: 1.55; }
.abie-polling-note { margin: 10px 0 0; font-size: 12px; color: #888; font-style: italic; }
.abie-panel { margin-bottom: 12px; padding: 14px; border: 1px solid rgba(214, 176, 106, 0.22); background: #fff; }
.abie-panel-soft { background: #fffdf9; }
.abie-panel h2 { margin: 0 0 8px; font-size: clamp(18px, 4vw, 22px); font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: #2f2922; }
.abie-summary { margin: 0; }
.abie-summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(214, 176, 106, 0.12); font-size: 14px; }
.abie-summary-row:last-child { border-bottom: 0; }
.abie-summary-row dt { margin: 0; color: #6d675d; font-weight: 600; }
.abie-summary-row dd { margin: 0; color: #111; font-weight: 700; text-align: right; }
.abie-steps { margin: 8px 0 0; padding-left: 20px; }
.abie-steps li { margin: 0 0 6px; font-size: 13px; line-height: 1.45; color: #4f4a43; }
.abie-auth-note { margin: 0; font-size: 12px; line-height: 1.55; color: #4f4a43; }
.abie-card-note { margin: 10px 0 0; font-size: 13px; color: #2f2922; font-weight: 600; }
.abie-contact { text-align: center; margin-top: 8px; }
.abie-contact p { margin: 0; font-size: 13px; color: #555; }
.abie-contact a { color: #111; font-weight: 700; text-decoration: none; }


/* --- review-booking --- */

  #amb-review-root,
  #amb-review-root * {
    box-sizing: border-box;
  }

  #amb-review-root {
    --amb-gold: #c6a45d;
    --amb-gold-dark: #9f7d3f;
    --amb-gold-hover: #b89450;
    --amb-gold-soft: rgba(198, 164, 93, 0.35);
    --amb-ivory: #fcfbf8;
    --amb-ivory-card: #fbfaf7;
    --amb-text: #141414;
    --amb-text-muted: #4a4540;
    --amb-charcoal: #1f1c18;
    --amb-money: #f7f3ea;
    --amb-black: #050505;
    --amb-white: #ffffff;
    --amb-cream: var(--amb-ivory);
    --amb-border: rgba(159, 125, 63, 0.28);
    --amb-muted: var(--amb-text-muted);
    --amb-danger: #8b1e1e;
    --body-pad-x: clamp(16px, 3vw, 28px);
    --body-pad-top: 16px;
    --hero-h: 220px;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--amb-text);
    background: transparent;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  #amb-review-root .abie-card {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0;
    background: transparent !important;
    border: none;
    box-shadow: none;
    overflow: hidden;
  }

  #amb-review-root .abie-hero-frame {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #050505;
    overflow: hidden;
    line-height: 0;
    height: var(--hero-h);
    max-height: var(--hero-h);
    position: relative;
  }

  #amb-review-root .abie-service-header {
    width: 100%;
    height: 100%;
    min-height: var(--hero-h);
    display: block;
    object-fit: cover;
    object-position: center center;
  }

  #amb-review-root .abie-body {
    background: var(--amb-ivory);
    padding: var(--body-pad-top) var(--body-pad-x) 24px;
  }

  .amb-review-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 20px;
    align-items: start;
  }

  .amb-review-main {
    min-width: 0;
  }

  .amb-review-checkout {
    min-width: 0;
  }

  @media (min-width: 761px) {
    .amb-review-checkout {
      position: sticky;
      top: 10px;
    }
  }

  .amb-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-bottom: 8px;
  }

  .amb-step-label {
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--amb-gold-dark);
    font-weight: 700;
  }

  .amb-step-name {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--amb-text-muted);
  }

  .amb-kicker,
  #amb-review-root .eyebrow {
    display: none;
  }

  .amb-title,
  #amb-review-root .abie-header h1 {
    font-family: Georgia, "Times New Roman", serif;
    text-align: center;
    font-size: clamp(26px, 3.6vw, 34px);
    line-height: 1.08;
    font-weight: 400;
    margin: 0 0 6px;
    color: var(--amb-text);
  }

  .amb-subtitle,
  #amb-review-root .abie-header p {
    text-align: center;
    max-width: 520px;
    margin: 0 auto 16px;
    color: var(--amb-text-muted);
    font-size: 13px;
    line-height: 1.4;
  }

  #amb-review-root .abie-header,
  #amb-review-root .amb-review-header {
    margin-bottom: 4px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  #amb-review-root .abie-header .amb-title,
  #amb-review-root .abie-header .amb-subtitle,
  #amb-review-root .amb-review-header .amb-title,
  #amb-review-root .amb-review-header .amb-subtitle {
    width: 100%;
    max-width: 520px;
  }

  .amb-error {
    border: 1px solid rgba(139, 30, 30, 0.35);
    background: #fff4f4;
    color: var(--amb-danger);
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.45;
    border-radius: 0;
  }

  .amb-section {
    border-top: 1px solid var(--amb-border);
    padding: 18px 0 0;
    margin-top: 18px;
  }

  .amb-review-main > .amb-section:first-child,
  .amb-review-checkout > .amb-section:first-child {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
  }

  .amb-section-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(18px, 2.4vw, 22px);
    margin: 0 0 8px;
    font-weight: 400;
    color: var(--amb-text);
  }

  .amb-section-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
  }

  .amb-section-title-row .amb-section-title {
    margin: 0;
  }

  .amb-section-edit {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--amb-gold-dark);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .amb-section-edit:hover,
  .amb-section-edit:focus {
    color: var(--amb-gold);
  }

  .amb-booking-qa {
    margin-top: 8px;
  }

  .amb-booking-qa summary {
    cursor: pointer;
    color: var(--amb-gold-dark);
    font-weight: 600;
  }

  .amb-event-edit-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(5, 5, 5, 0.55);
    align-items: center;
    justify-content: center;
    padding: 16px;
  }

  .amb-event-edit-modal {
    width: min(520px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: var(--amb-ivory-card);
    border: 1px solid var(--amb-border);
    border-radius: 12px;
    padding: 20px;
  }

  .amb-event-edit-grid {
    display: grid;
    gap: 12px;
  }

  .amb-event-edit-grid label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
  }

  .amb-event-edit-grid input,
  .amb-event-edit-grid select,
  .amb-event-edit-grid textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--amb-border);
    border-radius: 8px;
    font: inherit;
  }

  .amb-upgrade-comparison-wrap {
    margin: 12px 0 16px;
  }

  .amb-upgrade-comparison-wrap img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
  }

  .amb-checkout-title {
    font-size: clamp(19px, 2.5vw, 23px);
    margin-bottom: 10px;
  }

  .amb-card {
    border: 1px solid var(--amb-border);
    background: var(--amb-ivory-card);
    padding: 12px 14px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
  }

  .amb-line {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #ebe4d8;
    align-items: center;
  }

  .amb-line-compact {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 8px 0;
  }

  .amb-line-compact .amb-line-sub {
    display: none;
  }

  .amb-line-compact .amb-money:nth-child(2) {
    display: none;
  }

  .amb-line-compact .amb-line-total {
    font-size: 15px;
    align-self: center;
  }

  .amb-line-compact .amb-edit-controls {
    margin-top: 4px;
  }

  .amb-line:last-child {
    border-bottom: 0;
  }

  .amb-line-name {
    font-weight: 800;
    color: var(--amb-text);
  }

  .amb-line-sub {
    color: var(--amb-text-muted);
    font-size: 12px;
    margin-top: 3px;
  }

  .amb-edit-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
  }

  .amb-qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(159, 125, 63, 0.45);
    background: #fff;
    color: var(--amb-text);
    font-weight: 900;
    cursor: pointer;
  }

  .amb-qty-pill {
    min-width: 22px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
  }

  .amb-remove-btn {
    border: 0;
    background: transparent;
    color: #8b1e1e;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
  }

  .amb-sync-note {
    margin-top: 8px;
    font-size: 11px;
    color: #6b655b;
  }

  .amb-sync-note.is-error {
    color: var(--amb-danger);
  }

  .amb-add-cta-wrap {
    margin: 8px 0 0;
  }

  .amb-add-cta-btn {
    width: 100%;
    border: 1px dashed rgba(159, 125, 63, 0.55);
    background: #fffdf8;
    color: var(--amb-charcoal);
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    cursor: pointer;
  }

  .amb-add-cta-btn:hover {
    background: #f8f2e8;
    border-color: var(--amb-gold);
  }

  .amb-add-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999998;
    background: rgba(0, 0, 0, 0.62);
    align-items: center;
    justify-content: center;
    padding: 18px;
  }

  .amb-add-modal {
    width: min(760px, 100%);
    max-height: min(86vh, 860px);
    overflow: auto;
    border: 1px solid var(--amb-border);
    background: #fffefa;
    padding: 22px 20px 18px;
  }

  .amb-add-modal-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
  }

  .amb-add-modal-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 29px;
    font-weight: 400;
    line-height: 1.05;
  }

  .amb-add-modal-close {
    border: 1px solid #d8d2c7;
    background: #fff;
    color: #111;
    width: 32px;
    height: 32px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
  }

  .amb-add-modal-subtitle {
    margin: 0 0 14px;
    color: #5a5347;
    font-size: 13px;
    line-height: 1.45;
  }

  .amb-add-grid {
    display: grid;
    gap: 10px;
  }

  .amb-add-section-label {
    margin: 14px 0 4px;
    font-size: 11px;
    color: #8a7148;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    font-weight: 800;
  }

  .amb-add-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    border: 1px solid #ece2d3;
    background: #fff;
    padding: 10px 11px;
  }

  .amb-add-row-title {
    font-weight: 800;
    color: #1a1a1a;
    font-size: 14px;
  }

  .amb-add-row-sub {
    margin-top: 2px;
    color: #6d6558;
    font-size: 12px;
  }

  .amb-add-row-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .amb-add-btn {
    border: 1px solid #111;
    background: #111;
    color: #fff;
    min-width: 86px;
    height: 32px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
  }

  .amb-add-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
  }

  .amb-upgrade-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.62);
    align-items: center;
    justify-content: center;
    padding: 18px;
  }

  .amb-upgrade-modal {
    width: min(460px, 100%);
    border: 1px solid var(--amb-border);
    background: #fffefa;
    padding: 22px 20px 18px;
    text-align: center;
  }

  .amb-upgrade-modal .amb-kicker {
    margin-bottom: 8px;
  }

  .amb-upgrade-modal h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 400;
    margin: 0 0 12px;
    line-height: 1.05;
    color: #111;
  }

  .amb-upgrade-modal p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.55;
    color: #3f3f3f;
    text-align: left;
  }

  .amb-upgrade-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .amb-upgrade-actions .amb-btn {
    padding: 14px 16px;
  }

  .amb-money {
    font-weight: 900;
    white-space: nowrap;
  }

  .amb-detail-card {
    padding: 10px 12px 4px;
  }

  .amb-detail-card .amb-grid {
    gap: 0 16px;
  }

  .amb-detail-card .amb-value {
    text-align: left;
    font-weight: 700;
    font-size: 13px;
  }

  .amb-detail-card .amb-label {
    font-size: 9px;
  }

  .amb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
  }

  .amb-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #ece7dd;
    font-size: 13px;
  }

  .amb-row-full {
    grid-column: 1 / -1;
  }

  .amb-label {
    color: var(--amb-gold-dark);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 600;
  }

  .amb-value {
    font-weight: 800;
    text-align: right;
    color: var(--amb-text);
  }

  .amb-payment-card {
    background: linear-gradient(180deg, #fffdf8 0%, #fbf6ea 100%);
    border-color: rgba(198, 164, 93, 0.42);
    padding: 10px 12px 6px;
  }

  .amb-payment-card .amb-row {
    padding: 10px 0;
  }

  .amb-payment-card .amb-row:last-child {
    border-bottom: 0;
  }

  .amb-row-highlight {
    margin-top: 4px;
    padding-top: 10px !important;
    border-top: 1px solid rgba(198, 164, 93, 0.35) !important;
    background: rgba(198, 164, 93, 0.08);
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-bottom: 10px !important;
  }

  .amb-row-highlight .amb-label {
    color: var(--amb-charcoal);
    font-size: 10px;
    letter-spacing: 0.1em;
    font-weight: 700;
  }

  .amb-row-highlight .amb-value {
    color: var(--amb-gold-dark);
    font-size: 17px;
    font-weight: 900;
  }

  .amb-notice {
    border: 1px solid rgba(198, 164, 93, 0.45);
    background: linear-gradient(180deg, #fffdf8 0%, #fbf6ea 100%);
    padding: 12px 14px;
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.45;
  }

  .amb-notice strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    margin-bottom: 4px;
    font-weight: 400;
  }

  .amb-terms-block {
    margin-top: 12px;
  }

  .amb-checkout-action-box {
    margin-top: 12px;
  }

  @media (min-width: 761px) {
    .amb-review-layout {
      align-items: stretch;
    }

    .amb-review-checkout {
      display: flex;
      flex-direction: column;
      align-self: stretch;
    }

    .amb-terms-block {
      display: flex;
      flex-direction: column;
      flex: 1 1 auto;
      min-height: 0;
    }

    .amb-checkout-action-box {
      flex: 1 1 auto;
      display: flex;
      flex-direction: column;
      margin-top: 14px;
      padding: 16px 14px 14px;
      border: 1px solid rgba(198, 164, 93, 0.28);
      background: linear-gradient(180deg, #fffdf9 0%, #f9f4ea 100%);
      min-height: 240px;
    }

    .amb-checkout-action-box .amb-actions {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 0;
      grid-template-columns: unset;
    }

    .amb-checkout-action-box .amb-link-btn {
      grid-column: auto;
    }

    .amb-checkout-action-box .amb-terms,
    .amb-checkout-action-box .amb-booking-qa {
      margin-top: 12px;
    }

    .amb-checkout-action-box .amb-check {
      margin-top: 8px;
      padding-top: 0;
      border-top: none;
    }

    .amb-checkout-action-box .amb-btn-primary-final {
      width: 100%;
      margin-top: 12px;
      padding: 15px 16px;
      font-size: 13px;
      letter-spacing: 0.06em;
      box-shadow: 0 2px 10px rgba(159, 125, 63, 0.2);
    }

    .amb-checkout-action-box .amb-back-btn {
      margin-top: 10px;
    }
  }

  @media (max-width: 760px) {
    .amb-checkout-action-box {
      margin-top: 10px;
      padding: 0;
      border: 0;
      background: transparent;
      min-height: 0;
    }
  }

  .amb-terms {
    margin-top: 0;
    border: 1px solid var(--amb-border);
    background: #fffefa;
  }

  .amb-terms summary {
    cursor: pointer;
    padding: 10px 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 11px;
    list-style: none;
  }

  .amb-terms summary::-webkit-details-marker {
    display: none;
  }

  .amb-terms-content {
    padding: 0 12px 12px;
    font-size: 12px;
    color: #3f3f3f;
    line-height: 1.5;
  }

  .amb-terms-content h4 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    margin: 18px 0 6px;
    font-weight: 400;
  }

  .amb-terms-content ul {
    margin: 8px 0 0 18px;
    padding: 0;
  }

  .amb-check {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.4;
  }

  .amb-check input {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: var(--amb-black);
    flex: 0 0 auto;
  }

  .amb-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
  }

  .amb-actions-secondary {
    margin-top: 10px;
  }

  .amb-actions-secondary .amb-link-btn {
    grid-column: auto;
  }

  .amb-btn {
    width: 100%;
    border: 1px solid var(--amb-black);
    padding: 13px 14px;
    font-size: 12px;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: 0.2s ease;
    font-weight: 900;
    border-radius: 0;
    text-transform: uppercase;
  }

  .amb-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }

  .amb-btn-primary {
    background: var(--amb-gold);
    color: var(--amb-charcoal);
    border-color: var(--amb-gold);
    box-shadow: 0 4px 14px rgba(159, 125, 63, 0.28);
  }

  .amb-btn-primary:hover {
    background: var(--amb-gold-hover);
    color: var(--amb-charcoal);
  }

  .amb-btn-secondary {
    background: var(--amb-white);
    color: var(--amb-charcoal);
    border-color: rgba(159, 125, 63, 0.45);
  }

  .amb-btn-secondary:hover {
    background: #f8f2e8;
  }

  .amb-link-btn {
    grid-column: 1 / -1;
    width: 100%;
    background: #fff;
    color: var(--amb-text);
    border: 1px solid rgba(159, 125, 63, 0.35);
    padding: 11px 14px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 0;
    font-weight: 800;
    letter-spacing: 0.04em;
  }

  .amb-back-btn {
    margin-top: 10px;
    width: 100%;
    background: transparent;
    color: var(--amb-gold-dark);
    border: none;
    padding: 8px 0;
    cursor: pointer;
    font-size: 12px;
    border-radius: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .amb-empty {
    color: #777;
    font-size: 14px;
    padding: 14px 0;
  }

  .amb-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.72);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 22px;
  }

  .amb-modal {
    width: min(420px, 100%);
    background: #090909;
    color: #fff;
    border: 1px solid rgba(199,161,90,0.6);
    padding: 32px 26px;
    text-align: center;
    box-shadow: 0 24px 70px rgba(0,0,0,0.55);
  }

  .amb-modal .amb-kicker {
    margin-bottom: 10px;
  }

  .amb-modal h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    line-height: 1;
    margin: 0 0 12px;
    font-weight: 400;
  }

  .amb-modal p {
    color: #dedede;
    line-height: 1.5;
    font-size: 14px;
    margin: 0 0 20px;
  }

  .amb-modal button {
    background: #fff;
    color: #111;
    border: 1px solid var(--amb-gold);
    padding: 12px 28px;
    cursor: pointer;
    font-weight: 900;
    border-radius: 0;
  }

  @media (min-width: 761px) {
    html:not(.abie-embed-mode) body:has(#amb-review-root) {
      padding: 6px 12px 12px;
    }

    #amb-review-root {
      --body-pad-x: 22px;
      --body-pad-top: 14px;
      --hero-h: 220px;
    }

    #amb-review-root .abie-card {
      max-width: 1080px;
      border: 1px solid rgba(17, 17, 17, 0.12);
    }

    #amb-review-root .abie-body {
      padding-bottom: 24px;
    }
  }

  @media (max-width: 760px) {
    #amb-review-root {
      --body-pad-x: 14px !important;
      --body-pad-top: 8px !important;
      --hero-h: 115px;
    }

    #amb-review-root .abie-hero-frame {
      height: var(--hero-h) !important;
      max-height: var(--hero-h) !important;
      min-height: 0 !important;
    }

    #amb-review-root .abie-service-header {
      width: 100% !important;
      height: 100% !important;
      max-height: none !important;
      object-fit: cover !important;
      object-position: center center !important;
    }

    .amb-review-layout {
      grid-template-columns: 1fr;
      gap: 0;
    }

    #amb-review-root .abie-body {
      padding: 8px var(--body-pad-x) 18px !important;
    }

    #amb-review-root .abie-header {
      margin-bottom: 0 !important;
      padding: 6px 0 10px;
    }

    #amb-review-root .amb-step-indicator {
      margin-bottom: 4px;
      gap: 1px;
    }

    #amb-review-root .amb-step-label {
      font-size: 9px;
    }

    #amb-review-root .amb-step-name {
      font-size: 10px;
    }

    .amb-title,
    #amb-review-root .abie-header h1 {
      font-size: 28px !important;
      line-height: 1.06 !important;
      margin: 0 0 4px !important;
    }

    .amb-subtitle,
    #amb-review-root .abie-header p {
      font-size: 12px !important;
      line-height: 1.35 !important;
      margin: 0 auto 8px !important;
    }

    .amb-section {
      padding-top: 10px !important;
      margin-top: 10px !important;
    }

    .amb-section-title {
      font-size: 18px !important;
      margin-bottom: 6px !important;
    }

    .amb-checkout-title {
      font-size: 19px !important;
      margin-bottom: 6px !important;
    }

    .amb-card {
      padding: 10px 12px;
    }

    .amb-detail-card {
      padding: 8px 10px 2px;
    }

    .amb-detail-card .amb-grid {
      grid-template-columns: 1fr 1fr;
      gap: 0 10px;
    }

    .amb-detail-card .amb-row {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: baseline;
      gap: 8px;
      padding: 5px 0;
      font-size: 12px;
    }

    .amb-detail-card .amb-label {
      font-size: 8px;
      letter-spacing: 0.1em;
      flex: 0 1 auto;
    }

    .amb-detail-card .amb-value {
      font-size: 12px;
      font-weight: 700;
      text-align: right;
      max-width: 62%;
      word-break: break-word;
    }

    .amb-detail-card .amb-row-full {
      grid-column: 1 / -1;
    }

    .amb-detail-card .amb-row-full .amb-value {
      max-width: 72%;
    }

    .amb-line-compact {
      grid-template-columns: minmax(0, 1fr) auto;
      grid-template-rows: auto auto;
      gap: 2px 10px;
      padding: 6px 0;
      align-items: center;
    }

    .amb-line-compact > div:first-child {
      display: contents;
    }

    .amb-line-compact .amb-line-name {
      grid-column: 1;
      grid-row: 1;
      font-size: 14px;
      line-height: 1.2;
    }

    .amb-line-compact .amb-line-total {
      grid-column: 2;
      grid-row: 1;
      font-size: 14px;
      align-self: center;
    }

    .amb-line-compact .amb-edit-controls {
      grid-column: 1 / -1;
      grid-row: 2;
      margin-top: 2px;
      gap: 6px;
    }

    .amb-qty-btn {
      width: 34px;
      height: 34px;
      font-size: 15px;
    }

    .amb-qty-pill {
      min-width: 20px;
      font-size: 12px;
    }

    .amb-remove-btn {
      font-size: 11px;
    }

    .amb-add-cta-btn {
      padding: 7px 10px;
      font-size: 11px;
    }

    .amb-sync-note {
      margin-top: 6px;
      font-size: 10px;
    }

    .amb-payment-card {
      padding: 8px 10px 4px;
    }

    .amb-payment-card .amb-row {
      display: flex;
      padding: 5px 0;
      font-size: 12px;
      gap: 8px;
    }

    .amb-payment-card .amb-label {
      font-size: 8px;
    }

    .amb-payment-card .amb-value {
      font-size: 12px;
      max-width: 58%;
    }

    .amb-row-highlight {
      margin-top: 2px;
      padding-top: 6px !important;
      padding-bottom: 6px !important;
    }

    .amb-row-highlight .amb-value {
      font-size: 15px !important;
    }

    .amb-terms-block {
      margin-top: 8px;
    }

    .amb-terms summary {
      padding: 8px 10px;
      font-size: 10px;
    }

    .amb-terms-content {
      padding: 0 10px 10px;
      font-size: 11px;
    }

    .amb-check {
      margin-top: 8px;
      font-size: 11px;
      gap: 6px;
    }

    .amb-check input {
      width: 16px;
      height: 16px;
      margin-top: 1px;
    }

    .amb-actions {
      grid-template-columns: 1fr;
      gap: 8px;
      margin-top: 10px;
    }

    .amb-checkout-action-box .amb-actions {
      margin-top: 0;
    }

    .amb-checkout-action-box .amb-btn-primary-final {
      margin-top: 10px;
    }

    .amb-btn {
      padding: 11px 12px !important;
      font-size: 11px !important;
      letter-spacing: 0.04em;
    }

    .amb-link-btn {
      grid-column: auto;
      padding: 10px 12px;
      font-size: 11px;
    }

    .amb-back-btn {
      margin-top: 6px;
      padding: 6px 0;
      font-size: 11px;
      text-align: center;
    }

    .amb-notice {
      padding: 10px 12px;
      margin-top: 8px;
      font-size: 11px;
    }

    .amb-notice strong {
      font-size: 15px;
    }
  }

  @media (max-width: 420px) {
    #amb-review-root {
      --hero-h: 110px;
      --body-pad-x: 12px !important;
    }

    #amb-review-root .abie-body {
      padding: 8px var(--body-pad-x) 16px !important;
    }

    .amb-title,
    #amb-review-root .abie-header h1 {
      font-size: 26px !important;
    }

    .amb-detail-card .amb-grid {
      grid-template-columns: 1fr;
    }

    .amb-detail-card .amb-row {
      padding: 4px 0;
    }
  }

  .amb-review-boot-placeholder,
  .amb-review-failure-panel {
    max-width: 640px;
    margin: 32px auto;
    padding: 28px 24px;
    border-radius: 12px;
    background: #1f1c18;
    color: #fcfbf8;
    border: 1px solid rgba(198, 164, 93, 0.35);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
    text-align: center;
  }

  .amb-review-boot-placeholder::before {
    content: "";
    display: block;
    width: 28px;
    height: 28px;
    margin: 0 auto 14px;
    border-radius: 50%;
    border: 2px solid rgba(198, 164, 93, 0.25);
    border-top-color: #c6a45d;
    animation: amb-review-spin 0.8s linear infinite;
  }

  @keyframes amb-review-spin {
    to {
      transform: rotate(360deg);
    }
  }

  .amb-fee-disclosure {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(198, 164, 93, 0.12);
    border: 1px solid rgba(198, 164, 93, 0.35);
    color: #3a342c;
    font-size: 0.92rem;
    line-height: 1.45;
  }

  #amb-review-root .amb-fee-disclosure {
    color: #fcfbf8;
    background: rgba(198, 164, 93, 0.16);
  }

  .amb-review-failure-panel h2 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    color: #c6a45d;
  }

  .amb-review-failure-panel p {
    margin: 0 0 16px;
  }

  .amb-review-failure-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .amb-review-failure-actions a,
  .amb-review-failure-actions button {
    appearance: none;
    border: none;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
  }

  .amb-review-failure-actions .amb-review-failure-primary {
    background: #c6a45d;
    color: #141414;
  }

  .amb-review-failure-actions .amb-review-failure-secondary {
    background: transparent;
    color: #fcfbf8;
    border: 1px solid rgba(198, 164, 93, 0.5);
  }

/* V4 contact-first: continue-only dock (no pre-service totals) */
#abie-contact-app .booking-action-dock--contact-only {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 0 0 max(6px, env(safe-area-inset-bottom, 6px));
  background: var(--amb-ivory, #fcfbf8);
  border-top: 1px solid rgba(198, 164, 93, 0.35);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
}

/* Continue dock must stay visible while typing — never hide on focus-within. */

#abie-contact-app .booking-action-dock--contact-only #continueBtn {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 14px 12px;
  min-height: 48px;
  background: var(--amb-gold, #c6a45d);
  color: var(--amb-charcoal, #1f1c18);
  border: none;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  appearance: none;
  border-radius: 0;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.18s ease;
}

#abie-contact-app .booking-action-dock--contact-only #continueBtn:hover {
  background: var(--amb-gold-hover, #b89450);
}

#abie-contact-app .booking-action-dock--contact-only #continueBtn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (min-width: 761px) {
  #abie-contact-app .booking-action-dock--contact-only {
    position: static;
    padding: 14px var(--body-pad-x) 20px;
    background: var(--amb-ivory, #fcfbf8);
    border-top: 1px solid rgba(17, 17, 17, 0.1);
    box-shadow: none;
  }

  #abie-contact-app .booking-action-dock--contact-only #continueBtn {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 12px 16px;
    min-height: 0;
    font-size: 11px;
    letter-spacing: 0.12em;
    box-shadow: 0 2px 10px rgba(159, 125, 63, 0.22);
  }
}

@media (max-width: 760px) {
  #abie-contact-app .booking-action-dock--contact-only {
    padding: 0 !important;
    padding-bottom: max(0px, env(safe-area-inset-bottom, 0px)) !important;
    background: #050505 !important;
  }

  #abie-contact-app .booking-action-dock--contact-only #continueBtn {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    min-height: 52px !important;
    padding: 16px 12px !important;
  }
}

/* V4 payment-processing — single bordered branded heading box.
   Must stay one line at 390 / 393 / 430px wide viewports. */
.amb-payment-heading-box {
  display: inline-block;
  max-width: 100%;
  border: 1px solid rgba(201, 164, 78, 0.65) !important;
  border-radius: 12px;
  padding: 12px 18px !important;
  background: linear-gradient(180deg, rgba(201, 164, 78, 0.12) 0%, rgba(255, 255, 255, 0) 100%);
  font-size: clamp(15px, 4.2vw, 28px) !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

/* Multi-line summary values (one service per line). */
.amb-row-multiline {
  align-items: flex-start;
}
.amb-row-multiline .amb-value {
  text-align: right;
  line-height: 1.55;
}

/* Deposit ↔ Full toggle + optional full-payment tip */
#amb-payment-option,
#amb-payment-tip {
  margin: 0.85rem 0 0;
}
.amb-payment-option-card,
.amb-payment-tip-card {
  text-align: center;
}
.amb-payment-option-title {
  margin: 0 0 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #171717;
}
.amb-payment-option-prompt {
  margin: 0 0 0.85rem;
  color: #4a4034;
  font-size: 0.95rem;
  line-height: 1.4;
}
.amb-payment-tip-heading {
  margin: 0 0 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #171717;
}
.amb-payment-tip-copy {
  margin: 0 0 0.85rem;
  color: #4a4034;
  font-size: 0.9rem;
  line-height: 1.4;
}
.amb-payment-tip-grid {
  display: grid;
  gap: 0.5rem;
}
.amb-payment-tip-grid-percents {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.amb-payment-tip-grid-extra {
  margin-top: 0.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.amb-payment-tip-btn {
  min-height: 2.85rem;
  width: 100%;
  border: 1px solid #d9c7a8;
  border-radius: 0.9rem;
  background: #fffaf0;
  color: #171717;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  padding: 0.5rem 0.35rem;
}
.amb-payment-tip-btn.is-selected,
.amb-payment-tip-btn[aria-pressed="true"] {
  border-color: #c9a44e;
  background: #171717;
  color: #c9a44e;
  box-shadow: 0 0 0 1px #c9a44e;
}
.amb-payment-custom-tip-wrap {
  margin-top: 0.75rem;
  text-align: left;
}
.amb-payment-custom-tip-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid #d9c7a8;
  border-radius: 1rem;
  background: #fffaf0;
  padding: 0.35rem 0.75rem;
}
.amb-payment-currency {
  color: #3d3427;
  font-weight: 800;
  font-size: 1.1rem;
}
.amb-payment-custom-tip-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #171717;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.5rem 0;
  outline: none;
}
/* Keep 15% | 20% | 25% on one row at iPhone widths — do not collapse to 2 columns. */

