/* V4 approved-design integration, Stage 1: presentation only.
 * Scoped to the existing Select Services app. No DOM mutation or booking logic.
 * Never import Design Lab calculation/session scripts into production.
 */
#abie-booking-app {
  --amb-gold: #d6ad70;
  --amb-gold-dark: #9b7138;
  --amb-ivory: #faf7f2;
}
/* Retain the ivory body until all nested copy is migrated to the dark theme.
 * Changing this alone would make existing dark text unreadable. */
#abie-booking-app .service-grid {
  gap: clamp(12px, 2vw, 20px);
}
#abie-booking-app .service-col {
  border: 1px solid rgba(198,164,93,.52);
  border-radius: 18px;
  background: linear-gradient(145deg,#fff,#f7f0e6);
  box-shadow: 0 14px 32px rgba(0,0,0,.12);
}
#abie-booking-app .service-col > h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
#abie-booking-app .amb-ask-jessica-btn {
  border-radius: 16px;
  border: 1px solid #d1a35c;
}
#abie-booking-app .abie-level-box,
#abie-booking-app .abie-lash-box,
#abie-booking-app .abie-warning-box {
  border: 2px solid #d2a253;
  border-radius: 18px;
}
#abie-booking-app .service-group,
#abie-booking-app .services-section,
#abie-booking-app .service-category {
  border-radius: 18px;
}
#abie-booking-app .service-card {
  border-radius: 13px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
#abie-booking-app .service-card[data-tier-presentation="diamond"],
#abie-booking-app .service-card[data-tier="diamond"] {
  border-color: #d2a253;
  box-shadow: 0 5px 17px rgba(186,133,48,.13);
}
#abie-booking-app .service-recommended-badge {
  color: #65441d;
  background: #f1d7a5;
  border-radius: 100px;
  letter-spacing: .06em;
}
#abie-booking-app .service-card button:focus-visible,
#abie-booking-app .booking-action-dock button:focus-visible {
  outline: 2px solid #d6ad70;
  outline-offset: 2px;
}
@media (max-width: 700px) {
  #abie-booking-app .service-card { border-radius: 12px; }
}

/* Stage 2: Contact Details and Event Details. All selectors are page-scoped.
   Form field names, IDs, validation, navigation and event handlers remain intact. */
#abie-contact-app .abie-card,
#abie-event-app .abie-card {
  background: #080808;
  overflow: visible;
}
#abie-contact-app .abie-hero-frame,
#abie-event-app .abie-hero-frame {
  background: #080808;
  overflow: hidden;
}
#abie-contact-app .abie-body,
#abie-event-app .abie-body {
  background: #fcfaf7;
  border: 1px solid rgba(208,165,100,.5);
  border-top: 0;
}
#abie-contact-app .abie-header h1,
#abie-event-app .abie-header h1,
#abie-event-app .event-section-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
#abie-contact-app .eyebrow,
#abie-event-app .eyebrow {
  color: #9b7138;
  letter-spacing: .18em;
}
#abie-contact-app .contact-field input,
#abie-contact-app .contact-field select,
#abie-contact-app .contact-field textarea,
#abie-event-app .event-field input,
#abie-event-app .event-field select,
#abie-event-app .event-field textarea {
  border: 1px solid #d5c2a3;
  border-radius: 10px;
  background: #fff;
}
#abie-contact-app .contact-field input:focus-visible,
#abie-contact-app .contact-field select:focus-visible,
#abie-contact-app .contact-field textarea:focus-visible,
#abie-event-app .event-field input:focus-visible,
#abie-event-app .event-field select:focus-visible,
#abie-event-app .event-field textarea:focus-visible {
  outline: 2px solid #d6ad70;
  outline-offset: 1px;
}
#abie-event-app .event-section-card {
  border-color: #d8c7af;
  border-radius: 14px;
}
@media (min-width: 760px) {
  #abie-contact-app .abie-hero-frame,
  #abie-event-app .abie-hero-frame {
    border-radius: 14px 14px 0 0;
  }
}

/* Stage 3: Review & Pay — presentation only; V4 dynamically renders #amb-review-root. */
#amb-review-root .abie-card { background: #080808; }
#amb-review-root .abie-body { background: #fcfaf7; }
#amb-review-root .amb-review-main,
#amb-review-root .amb-review-checkout,
#amb-review-root .amb-detail-card,
#amb-review-root .amb-payment-card {
  border-color: rgba(198, 164, 93, .48);
  border-radius: 16px;
}
#amb-review-root .amb-section-title,
#amb-review-root .amb-checkout-title,
#amb-review-root .amb-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
#amb-review-root .amb-section-edit,
#amb-review-root .amb-btn-secondary,
#amb-review-root .amb-qty-btn {
  border-radius: 10px;
}
#amb-review-root .amb-btn-primary:focus-visible,
#amb-review-root .amb-btn-secondary:focus-visible,
#amb-review-root .amb-section-edit:focus-visible {
  outline: 2px solid #d6ad70;
  outline-offset: 2px;
}
#amb-review-root .amb-add-modal,
#amb-review-root .amb-event-edit-modal {
  border: 1px solid #d6ad70;
  border-radius: 16px;
}

/* Stage 4: remaining flows — decorative styles only, no state/DOM rewrites. */
#abie-path-app .amb-choice,
#abie-path-app .amb-ai-action,
#abie-path-app .amb-standard-action { border-radius: 14px; }
#abie-path-app .amb-choice:focus-visible,
#abie-path-app .amb-ai-action:focus-visible,
#abie-path-app .amb-standard-action:focus-visible { outline: 2px solid #e4c18a;outline-offset:3px; }
#abie-booking-app .multi-day-head,
#abie-booking-app .day-service-col { border-radius: 16px; }
#abie-booking-app .multi-day-head { border-color: rgba(198,164,93,.55); }
#abie-booking-app .day-service-col { border-color: rgba(198,164,93,.42); }
#abie-booking-app .level-guide:focus-visible,
#abie-booking-app .remove-day:focus-visible { outline: 2px solid #d6ad70; outline-offset:2px; }
/* The three specialist pages have their own distinct field/group classes. */
body.amb-v4-corporate .page,
body.amb-v4-massage .page,
body.amb-v4-spray .page { background:#fcfaf7; }
body.amb-v4-corporate .section,
body.amb-v4-massage .section,
body.amb-v4-spray .section { border-color:rgba(198,164,93,.45); border-radius:14px; }
body.amb-v4-corporate .field input,
body.amb-v4-corporate .field select,
body.amb-v4-massage .field input,
body.amb-v4-massage .field select,
body.amb-v4-spray .field input,
body.amb-v4-spray .field select { border-color:#d7bd98; border-radius:10px; }
body.amb-v4-corporate .field input:focus-visible,
body.amb-v4-massage .field input:focus-visible,
body.amb-v4-spray .field input:focus-visible { outline:2px solid #d6ad70;outline-offset:1px; }
/* Payment-success: preserve ticket rendering and conversion scripts. */
#abie-payment-success-app .abie-thank-you-hero { display:block; width:100%; max-width:790px;height:auto;margin:12px auto 0;border-radius:9px; }
#abie-payment-success-app .abie-shell-body { max-width:790px;margin:0 auto; }
#abie-payment-success-app .abie-panel { border-radius:16px; border-color:rgba(198,164,93,.55); }
#abie-payment-success-app .abie-hero { font-family:Georgia,"Times New Roman",serif; font-weight:400; }
@media (max-width:700px) {
 #abie-payment-success-app .abie-thank-you-hero { border-radius:5px;margin-top:8px; }
}


/* Stage 5: approved 2026 editorial booking identity.
   Live V4 controllers, form IDs, event handlers, cart, prices and checkout remain canonical.
   Black canvas, substantial white/ivory content, champagne-gold accents.
   All changes are scoped to the booking page roots or specialty body classes. */
#abie-path-app .amb-start-shell {
  width: min(1220px, calc(100% - clamp(28px, 5vw, 96px)));
}
#abie-path-app .amb-content {
  padding-top: clamp(40px, 6vw, 76px);
}
#abie-path-app .amb-choice {
  background: linear-gradient(140deg, rgba(255,255,255,.97), rgba(250,243,233,.93));
  border: 1px solid rgba(216,175,107,.9);
  box-shadow: 0 18px 45px rgba(0,0,0,.3);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
#abie-path-app .amb-choice:hover,
#abie-path-app .amb-choice:focus-visible {
  border-color: #efc78a;
  box-shadow: 0 22px 48px rgba(0,0,0,.4);
}
#abie-path-app .amb-standard-action,
#abie-path-app .amb-ai-action {
  min-height: 51px;
  border-radius: 999px;
}

/* Contact — approved golden-hour bridal portrait beside the real V4 contact form.
   The original form stays intact and the existing action dock stays fixed. */
#abie-contact-app {
  background: #080707 !important;
  min-height: 100dvh;
  padding: clamp(12px, 3vw, 34px) clamp(14px, 3vw, 38px) 120px;
}
#abie-contact-app .abie-card {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  grid-template-areas: "details visual" "dock dock";
  align-items: stretch;
  width: 100%;
  max-width: 1300px !important;
  min-height: 610px;
  margin: 0 auto;
  gap: 18px;
  background: transparent !important;
  border: none;
  box-shadow: none;
  overflow: visible;
}
#abie-contact-app .abie-hero-frame {
  grid-area: visual;
  min-height: 610px;
  height: auto;
  background: linear-gradient(90deg,rgba(0,0,0,.26),rgba(0,0,0,0) 48%),
    url("https://cdn.shopify.com/s/files/1/0606/9747/7339/files/amb-contact-golden-hour-bridal-background-20261008.png?v=1791447730") center center / cover no-repeat;
  border: 1px solid rgba(215,176,114,.38);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(0,0,0,.36);
  overflow: hidden;
}
#abie-contact-app .abie-hero-frame .abie-service-header {
  display: none;
}
#abie-contact-app .abie-body {
  grid-area: details;
  min-width: 0;
  background: linear-gradient(142deg,#fff,#f8f1e7);
  border: 1px solid rgba(215,176,114,.76);
  border-radius: 18px;
  padding: clamp(23px, 3vw, 39px) clamp(18px, 3vw, 38px) 110px;
  box-shadow: 0 18px 42px rgba(0,0,0,.24);
}
#abie-contact-app .abie-header h1 {
  font-size: clamp(36px, 4.2vw, 60px);
  letter-spacing: -.025em;
}
#abie-contact-app .abie-header p {
  line-height: 1.6;
}
#abie-contact-app .contact-field input,
#abie-contact-app .contact-field select {
  background-color: #fffdfa;
  border-color: #cbb18e;
  border-radius: 9px;
}
#abie-contact-app .booking-action-dock--contact-only {
  grid-area: dock;
  border-top-color: #c8a261;
}
#abie-contact-app .booking-action-dock--contact-only #continueBtn {
  background: #d4ac69;
  color: #171411;
}

/* Event Details — Vegas skyline hero and elevated cream booking sheet. */
#abie-event-app {
  background: #080707 !important;
  min-height: 100dvh;
  padding: clamp(11px,2vw,24px) clamp(10px,2vw,26px) 125px;
}
#abie-event-app .abie-card {
  max-width: 1180px !important;
  background: transparent !important;
  overflow: visible;
}
#abie-event-app .abie-hero-frame {
  height: clamp(235px, 28vw, 355px);
  max-height: none;
  background: linear-gradient(90deg,rgba(0,0,0,.60),rgba(0,0,0,.08) 66%),
    url("https://cdn.shopify.com/s/files/1/0606/9747/7339/files/abie-v4-event-details-las-vegas-drone-hero.png?v=1791495427") center 52% / cover no-repeat;
  border: 1px solid rgba(216,176,109,.55);
  border-radius: 18px 18px 0 0;
  overflow: hidden;
}
#abie-event-app .abie-hero-frame .abie-service-header {
  display: none;
}
#abie-event-app .abie-body {
  position: relative;
  z-index: 1;
  width: min(100%, 1020px);
  margin: -34px auto 0;
  padding: clamp(21px,3vw,38px) clamp(18px,4vw,48px) 125px;
  background: linear-gradient(140deg,#fff,#f9f3e9);
  border: 1px solid rgba(216,176,109,.65);
  border-radius: 18px;
  box-shadow: 0 22px 52px rgba(0,0,0,.26);
}
#abie-event-app .abie-header h1 {
  font-size: clamp(34px, 4vw, 52px);
}
#abie-event-app .event-section-card {
  background: #fff;
  box-shadow: 0 7px 20px rgba(43,28,10,.04);
}
#abie-event-app .event-field input,
#abie-event-app .event-field select,
#abie-event-app .event-field textarea {
  min-height: 46px;
  background: #fffdfa;
  border-radius: 9px;
}

/* Live Select Services, Multi-Day and Review — wider editorial cards like the Lab. */
#abie-booking-app .abie-card {
  width: min(100%, 1180px);
  max-width: 1180px !important;
  background: #fbf8f3 !important;
  box-shadow: 0 23px 52px rgba(0,0,0,.35);
}
#abie-booking-app .abie-body {
  padding-left: clamp(15px,3.2vw,42px);
  padding-right: clamp(15px,3.2vw,42px);
  background: linear-gradient(140deg,#fffdfa,#f8f0e5);
}
#abie-booking-app .abie-header h1 {
  font-size: clamp(32px,4.2vw,53px);
}
#abie-booking-app .service-col,
#abie-booking-app .day-service-col {
  background: linear-gradient(142deg,#fff,#f6ecdd);
  border: 1px solid #d5b57f;
  box-shadow: 0 10px 28px rgba(39,26,10,.08);
}
#abie-booking-app .service-card,
#abie-booking-app .multi-day-head {
  border-color: rgba(198,164,93,.55);
}
#abie-booking-app .multi-toolbar {
  border: 1px solid rgba(198,164,93,.46);
  border-radius: 14px;
  padding: 13px 16px;
  background: linear-gradient(145deg,#fff,#f8efe2);
}
#abie-booking-app #addDay {
  border-radius: 999px;
}
#abie-booking-app .group-disclaimer {
  line-height: 1.6;
}
#amb-review-root .abie-card {
  max-width: 1190px !important;
  background: #fbf8f3 !important;
  box-shadow: 0 22px 50px rgba(0,0,0,.34);
}
#amb-review-root .abie-body {
  background: linear-gradient(140deg,#fffdfa,#f8f1e7);
}
#amb-review-root .amb-card,
#amb-review-root .amb-payment-card {
  background: linear-gradient(142deg,#fff,#f7f1e8);
  border: 1px solid rgba(198,164,93,.57);
  border-radius: 16px;
}
#amb-review-root .amb-btn-primary-final {
  border-radius: 10px;
}

/* Specialty booking forms use unique body classes, not cross-page :has rules. */
body.amb-v4-corporate,
body.amb-v4-spray,
body.amb-v4-massage {
  background: #080707;
}
body.amb-v4-corporate .page,
body.amb-v4-spray .page,
body.amb-v4-massage .page {
  width: min(1160px,calc(100% - clamp(16px,3vw,48px)));
  max-width: 1160px;
  margin: 15px auto 110px;
  min-height: 0;
  background: #fbf7f1;
  border: 1px solid rgba(210,167,100,.55);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 52px rgba(0,0,0,.3);
}
body.amb-v4-corporate .page .hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(265px,32vw,420px);
  background: linear-gradient(90deg,rgba(0,0,0,.86),rgba(0,0,0,.26) 75%),
    url("https://cdn.shopify.com/s/files/1/0606/9747/7339/files/abie-corporate-production-vegas-glam-hero.png?v=1791503922") center 40% / cover no-repeat;
  text-align: left;
  padding: clamp(24px,5vw,62px);
}
body.amb-v4-corporate .page .hero .brand {
  color: #edc78f;
}
body.amb-v4-corporate .page .hero h1 {
  font-size: clamp(38px,5vw,66px);
  max-width: 660px;
}
body.amb-v4-corporate .page .hero p {
  margin: 0;
  max-width: 550px;
  line-height: 1.6;
}
body.amb-v4-spray .page .hero,
body.amb-v4-massage .page .hero {
  border-bottom: 2px solid #cfaa69;
  overflow: hidden;
}
body.amb-v4-spray .page .hero img,
body.amb-v4-massage .page .hero img {
  width: 100%;
  max-height: 410px;
  object-fit: cover;
}
body.amb-v4-corporate .page .body,
body.amb-v4-spray .page .body,
body.amb-v4-massage .page .body {
  padding-left: clamp(16px,3vw,38px);
  padding-right: clamp(16px,3vw,38px);
  background: linear-gradient(140deg,#fffdfa,#f8f1e7);
}
body.amb-v4-corporate .page .section,
body.amb-v4-spray .page .section,
body.amb-v4-massage .page .section {
  background: #fff;
  border: 1px solid rgba(198,164,93,.55);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(31,22,12,.045);
}
body.amb-v4-corporate .page .field :is(input,select,textarea),
body.amb-v4-spray .page .field :is(input,select,textarea),
body.amb-v4-massage .page .field :is(input,select,textarea) {
  background: #fffdfa;
  border: 1px solid #d0b18b;
  border-radius: 9px;
}
body.amb-v4-massage .page .choice label {
  border-radius: 11px;
}
body.amb-v4-massage .page .split-row,
body.amb-v4-spray .page .timing-note {
  border-radius: 12px;
}
body.amb-v4-corporate .page .section h2,
body.amb-v4-spray .page .section h2,
body.amb-v4-massage .page .section h2 {
  font-size: clamp(22px,2.6vw,29px);
}
body.amb-v4-corporate .footer-inner,
body.amb-v4-massage .footer-inner {
  max-width: 1160px;
}
body.amb-v4-spray .booking-action-dock .booking-footer,
body.amb-v4-spray .booking-action-dock #continue {
  max-width: 1160px;
}

/* Real payment success remains driven by verified Ticket/payment state.
   Only the surrounding confirmation composition is restyled. */
#abie-payment-success-app .abie-shell {
  width: min(100%,820px);
  max-width: 820px;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
}
#abie-payment-success-app .abie-thank-you-hero {
  width: 100%;
  max-width: 790px;
  border-radius: 12px;
  border: 1px solid rgba(216,178,119,.55);
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
}
#abie-payment-success-app .abie-shell-body {
  max-width: 790px;
  margin: 16px auto 0;
  padding: clamp(20px,4vw,34px);
  background: linear-gradient(140deg,#fff,#f7f0e6);
  border: 1px solid #d6b07a;
  border-radius: 19px;
  box-shadow: 0 15px 35px rgba(0,0,0,.28);
}
#abie-payment-success-app .abie-panel {
  background: rgba(255,255,255,.92);
  border-radius: 13px;
}
#abie-payment-success-app .abie-hero h1 {
  font-size: clamp(30px,4vw,44px);
  font-family: Georgia,"Times New Roman",serif;
  font-weight: 400;
}
@media (max-width: 900px) {
  #abie-contact-app .abie-card {
    display: block;
    min-height: 0;
    max-width: 760px !important;
  }
  #abie-contact-app .abie-hero-frame {
    min-height: 230px;
    height: clamp(215px,42vw,345px);
    border-radius: 16px 16px 0 0;
    background-position: center 40%;
  }
  #abie-contact-app .abie-body {
    position: relative;
    margin: -22px 0 0;
    border-radius: 16px;
    padding-bottom: 110px;
  }
}
@media (max-width: 700px) {
  #abie-contact-app, #abie-event-app {
    padding: 8px 8px 130px;
  }
  #abie-event-app .abie-hero-frame {
    height: 210px;
    border-radius: 11px 11px 0 0;
  }
  #abie-event-app .abie-body {
    margin-top: -16px;
    border-radius: 13px;
    padding-bottom: 120px;
  }
  body.amb-v4-corporate .page,
  body.amb-v4-spray .page,
  body.amb-v4-massage .page {
    width: calc(100% - 12px);
    margin: 6px auto 105px;
    border-radius: 12px;
  }
  body.amb-v4-corporate .page .hero {
    min-height: 255px;
    padding: 26px 19px;
  }
  body.amb-v4-spray .page .hero img,
  body.amb-v4-massage .page .hero img {
    max-height: none;
    object-fit: contain;
  }
  #abie-booking-app .abie-card,
  #amb-review-root .abie-card {
    box-shadow: none;
  }
  #abie-payment-success-app .abie-shell-body {
    border-radius: 13px;
    padding: 19px 15px;
  }
}
