/* APD 706 — real inventory, official experience categories and audience flow. */

/* The public experience picker contains only the six categories used by the
   host form. Each card displays the exact 3D asset from that form. */
.apd557-experience-picker {
  width: 100%;
  margin: 4px 0 34px;
  overflow: hidden;
}

.apd557-experience-picker-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.apd557-experience-picker a {
  min-width: 0;
  padding: 14px 10px 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  border: 1px solid #e9e9ec;
  border-radius: 22px;
  color: #202024;
  background: linear-gradient(145deg, #fff 0%, #fafafa 100%);
  box-shadow: 0 12px 30px rgba(24, 24, 28, .06), inset 0 1px 0 #fff;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.apd557-experience-picker a:hover,
.apd557-experience-picker a:focus-visible {
  border-color: #d3d3d8;
  box-shadow: 0 16px 36px rgba(24, 24, 28, .1), inset 0 1px 0 #fff;
  transform: translateY(-3px);
}

.apd557-experience-picker-media {
  width: min(100%, 112px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: visible;
  border: 0;
  background: radial-gradient(circle at 50% 58%, rgba(236, 238, 244, .8), rgba(255, 255, 255, 0) 64%);
}

.apd557-experience-picker-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 11px 12px rgba(23, 25, 34, .15));
}

.apd557-experience-picker strong {
  min-height: 34px;
  display: -webkit-box;
  overflow: hidden;
  color: #232327;
  font-size: 14px;
  font-weight: 780;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* Carousel lock: the active marker is always a dot, never a progress line. */
html body.single-experience .apd391x-gallery .apd703-gallery-dots > [data-apd703-gallery-dot],
html body.single-experience .apd391x-gallery .apd703-gallery-dots > [data-apd703-gallery-dot].is-active {
  flex: 0 0 7px !important;
  width: 7px !important;
  min-width: 7px !important;
  max-width: 7px !important;
  height: 7px !important;
  min-height: 7px !important;
  max-height: 7px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
}

html body.single-experience .apd391x-gallery .apd703-gallery-dots > [data-apd703-gallery-dot].is-active {
  background: #fff !important;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .24), 0 2px 7px rgba(0, 0, 0, .32) !important;
  transform: scale(1.22) !important;
}

html body.single-experience .apd703-gallery-track,
html body.single-experience .apd703-gallery-slide,
html body.single-experience .apd703-gallery-slide img {
  gap: 0 !important;
  column-gap: 0 !important;
  border: 0 !important;
  outline: 0 !important;
}

/* Audience step in the host form. */
.apd706-audience-stage[hidden],
.apd706-age-range[hidden],
.apd706-contact-modal[hidden] {
  display: none !important;
}

.apd706-audience-stage {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.apd706-audience-body {
  width: min(100%, 650px);
  margin: 0 auto;
  padding-bottom: 30px !important;
}

.apd706-audience-heading {
  margin-bottom: 22px;
  text-align: center;
}

.apd706-audience-heading > span {
  display: block;
  margin-bottom: 7px;
  color: #315f63;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.apd706-audience-heading h1 {
  margin: 0 0 8px !important;
  color: #1d1d21 !important;
  font-size: clamp(32px, 5vw, 48px) !important;
  line-height: .98 !important;
  letter-spacing: -.045em !important;
}

.apd706-audience-heading p {
  max-width: 510px;
  margin: 0 auto !important;
  color: #6d6d76 !important;
  font-size: 15px !important;
  line-height: 1.38 !important;
}

.apd706-audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.apd706-audience-card {
  position: relative;
  min-height: 142px;
  padding: 14px 16px 14px 12px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  border: 1.5px solid #e2e4e6;
  border-radius: 24px;
  color: #222328;
  background: linear-gradient(145deg, #fff 0%, #fafbfb 100%);
  box-shadow: 0 10px 25px rgba(25, 31, 36, .055), inset 0 1px 0 #fff;
  cursor: pointer;
  isolation: isolate;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.apd706-audience-card::before {
  position: absolute;
  inset: auto auto -42px -28px;
  z-index: -1;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: rgba(176, 218, 214, .2);
  content: '';
  filter: blur(3px);
}

.apd706-audience-card:hover {
  transform: translateY(-2px);
}

.apd706-audience-card.is-selected {
  border-color: #277d79;
  background: linear-gradient(145deg, #fff 0%, #f3fbfa 100%);
  box-shadow: 0 0 0 3px rgba(39, 125, 121, .11), 0 14px 30px rgba(28, 75, 74, .11);
}

.apd706-audience-card.is-disabled {
  opacity: .46;
  cursor: not-allowed;
  filter: grayscale(.25);
}

.apd706-audience-card > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.apd706-audience-visual {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
}

.apd706-audience-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 9px rgba(22, 31, 37, .16));
  pointer-events: none;
}

.apd706-audience-copy {
  min-width: 0;
}

.apd706-audience-copy strong,
.apd706-audience-copy small {
  display: block;
}

.apd706-audience-copy strong {
  margin-bottom: 5px;
  color: #202125;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.12;
}

.apd706-audience-copy small {
  color: #71747a;
  font-size: 12.5px;
  font-weight: 560;
  line-height: 1.3;
}

.apd706-audience-card > i {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1.5px solid #c8cbd0;
  border-radius: 50%;
  background: #fff;
}

.apd706-audience-card.is-selected > i {
  border-color: #277d79;
  background: #277d79;
}

.apd706-audience-card.is-selected > i::before {
  color: #fff;
  content: '✓';
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.apd706-age-range {
  grid-column: 1 / -1;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 14px;
  border: 1px solid #dce7e6;
  border-radius: 22px;
  background: linear-gradient(135deg, #f2faf9, #fff);
  box-shadow: inset 0 1px 0 #fff;
}

.apd706-age-range > b {
  align-self: center;
  color: #85878d;
  font-size: 13px;
}

.apd706-age-range > div > span {
  display: block;
  margin: 0 0 7px 2px;
  color: #666a70;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.apd706-age-stepper {
  min-height: 48px;
  padding: 4px;
  display: grid;
  grid-template-columns: 40px minmax(38px, 1fr) 40px;
  align-items: center;
  border: 1px solid #d9dddf;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 7px 16px rgba(24, 35, 38, .05);
}

.apd706-age-stepper button {
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  color: #255f5e;
  background: #eef7f6;
  font-size: 25px;
  line-height: 1;
}

.apd706-age-stepper button:disabled {
  color: #b5b7ba;
  background: #f5f5f6;
}

.apd706-age-stepper strong {
  color: #1e2023;
  font-size: 20px;
  text-align: center;
}

/* Public audience row. */
.apd706-public-audience {
  background: linear-gradient(135deg, #f2faf9 0%, #fff 72%) !important;
  border-color: #d9e8e6 !important;
}

.apd179-inline-party-copy [data-apd179-edit-guests]:disabled {
  color: #777 !important;
  cursor: default;
  text-decoration: none !important;
}

/* Direct experience-to-host message sheet. */
.apd706-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 100500;
  display: grid;
  place-items: center;
  padding: 24px;
}

.apd706-contact-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(22, 22, 24, .48);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.apd706-contact-sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  max-height: min(860px, calc(100dvh - 48px));
  padding: clamp(28px, 5vw, 48px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 34px;
  color: #202024;
  background: #fff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .25);
}

.apd706-contact-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #242429;
  background: #f3f3f4;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
}

.apd706-contact-copy > span {
  display: block;
  margin: 0 56px 9px 0;
  color: #287873;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.apd706-contact-copy h2 {
  max-width: 570px;
  margin: 0 50px 12px 0;
  color: #202024;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.apd706-contact-copy p {
  margin: 0 0 24px;
  color: #6e6e75;
  font-size: 18px;
  line-height: 1.42;
}

.apd706-contact-sheet textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 210px;
  padding: 20px;
  resize: vertical;
  border: 1.5px solid #999ba0;
  border-radius: 20px;
  outline: 0;
  color: #202024;
  background: #fff;
  font: 500 17px/1.45 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.apd706-contact-sheet textarea:focus {
  border-color: #287873;
  box-shadow: 0 0 0 4px rgba(40, 120, 115, .12);
}

.apd706-contact-counter {
  margin: 10px 2px 0;
  color: #666970;
  font-size: 14px;
}

.apd706-contact-counter strong {
  color: #303137;
}

.apd706-contact-counter.is-complete,
.apd706-contact-counter.is-complete strong {
  color: #287873;
}

.apd706-contact-status {
  min-height: 22px;
  margin: 10px 2px;
  color: #b3261e;
  font-size: 14px;
  font-weight: 650;
}

.apd706-contact-status.is-success {
  color: #18735f;
}

.apd706-contact-sheet [data-apd706-contact-send] {
  width: 100%;
  min-height: 58px;
  padding: 14px 24px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #222327, #101114);
  box-shadow: 0 14px 30px rgba(18, 18, 22, .18);
  font-size: 17px;
  font-weight: 800;
}

.apd706-contact-sheet [data-apd706-contact-send]:disabled {
  color: #9d9da2;
  background: #ededee;
  box-shadow: none;
}

body.apd706-contact-open {
  overflow: hidden !important;
}

/* Remove the inherited empty top band in the mobile experience wizard and
   size simple screens against the real Safari visual viewport. */
body.apd706-experience-form input,
body.apd706-experience-form textarea,
body.apd706-experience-form select {
  font-size: max(16px, 1em);
}

body.apd706-experience-form button,
body.apd706-experience-form label {
  touch-action: manipulation;
}

@media (max-width: 991px) {
  html body.apd706-experience-form.apd6-host-app.apd591-host-premium [data-kind="experience"] .apd6-step.is-active {
    min-height: calc(var(--apd706-vh, 100dvh) - 68px - var(--apd591-top, 0px)) !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  html body.apd706-experience-form.apd6-host-app [data-kind="experience"] :is(.apd661-knowledge-screen, .apd661-app-shell, .apd666-itinerary-screen) {
    min-height: calc(var(--apd706-vh, 100dvh) - 68px - var(--apd591-top, 0px)) !important;
  }

  html body.apd706-experience-form.apd6-host-app [data-kind="experience"] .apd678-light-top {
    top: calc(68px + var(--apd591-top, 0px)) !important;
    min-height: 84px !important;
    padding-block: 12px !important;
  }

  html body.apd706-experience-form.apd6-host-app [data-kind="experience"] :is(.apd661-sheet, .apd663-sheet, .apd665-editor-sheet, .apd666-itinerary-sheet, .apd667-pricing-sheet) {
    min-height: calc(var(--apd706-vh, 100dvh) - 152px - var(--apd591-top, 0px)) !important;
    padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)) !important;
  }

  html body.apd706-experience-form.apd6-host-app [data-kind="experience"] :is(.apd661-bottom-bar, .apd661-primary-action--sheet, .apd666-itinerary-bottom, .apd667-pricing-stage:not([hidden]) > .apd667-pricing-footer, .apd678-generic-bottom) {
    position: fixed !important;
    z-index: 10030 !important;
    right: auto !important;
    bottom: 0 !important;
    left: 50% !important;
    box-sizing: border-box !important;
    width: min(100%, 820px) !important;
    min-height: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    border-top: 1px solid #e7e7e9 !important;
    background: rgba(255, 255, 255, .985) !important;
    box-shadow: 0 -10px 28px rgba(19, 21, 26, .06) !important;
    transform: translateX(-50%) !important;
    backdrop-filter: saturate(170%) blur(18px) !important;
    -webkit-backdrop-filter: saturate(170%) blur(18px) !important;
  }

  .apd706-audience-body {
    padding-top: 22px !important;
  }
}

@media (max-width: 767px) {
  html body#apd556-discovery-app.apd557-mobile-interaction .apd557-experience-picker {
    width: 100%;
    margin: 2px 0 26px;
    overflow: hidden;
  }

  html body#apd556-discovery-app.apd557-mobile-interaction .apd557-experience-picker-track {
    box-sizing: border-box;
    width: 100%;
    padding: 3px 20px 10px;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-inline: 20px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  html body#apd556-discovery-app.apd557-mobile-interaction .apd557-experience-picker-track::-webkit-scrollbar {
    display: none;
  }

  html body#apd556-discovery-app.apd557-mobile-interaction .apd557-experience-picker a {
    flex: 0 0 116px;
    width: 116px;
    min-height: 150px;
    padding: 10px 8px 12px;
    gap: 7px;
    border-radius: 20px;
    scroll-snap-align: start;
  }

  html body#apd556-discovery-app.apd557-mobile-interaction .apd557-experience-picker-media {
    width: 88px;
    height: 88px;
  }

  html body#apd556-discovery-app.apd557-mobile-interaction .apd557-experience-picker strong {
    min-height: 35px;
    margin: 0;
    font-size: 13px;
    line-height: 1.18;
    white-space: normal;
  }

  .apd706-audience-grid {
    grid-template-columns: 1fr;
  }

  .apd706-audience-card {
    min-height: 122px;
    grid-template-columns: 78px minmax(0, 1fr) 22px;
    border-radius: 21px;
  }

  .apd706-audience-visual {
    width: 78px;
    height: 78px;
  }

  .apd706-age-range {
    grid-column: auto;
    padding: 14px;
    gap: 8px;
  }

  .apd706-contact-modal {
    place-items: end center;
    padding: 0;
  }

  .apd706-contact-sheet {
    width: 100%;
    max-height: min(92dvh, 900px);
    padding: 30px 22px calc(24px + env(safe-area-inset-bottom, 0px));
    border-width: 1px 0 0;
    border-radius: 34px 34px 0 0;
  }

  .apd706-contact-copy h2 {
    margin-right: 36px;
    font-size: clamp(34px, 10vw, 48px);
  }

  .apd706-contact-copy p {
    font-size: 17px;
  }

  .apd706-contact-sheet textarea {
    min-height: 190px;
    font-size: 16px;
  }

  html body.single-experience .apd391x-gallery .apd703-gallery-dots > [data-apd703-gallery-dot],
  html body.single-experience .apd391x-gallery .apd703-gallery-dots > [data-apd703-gallery-dot].is-active {
    flex-basis: 6px !important;
    width: 6px !important;
    min-width: 6px !important;
    max-width: 6px !important;
    height: 6px !important;
    min-height: 6px !important;
    max-height: 6px !important;
  }
}

@media (max-width: 420px) {
  .apd706-audience-heading h1 {
    font-size: 34px !important;
  }

  .apd706-audience-heading p {
    font-size: 14px !important;
  }

  .apd706-audience-card {
    min-height: 112px;
    padding: 10px 12px 10px 8px;
    grid-template-columns: 70px minmax(0, 1fr) 20px;
    gap: 8px;
  }

  .apd706-audience-visual {
    width: 70px;
    height: 70px;
  }

  .apd706-audience-copy strong {
    font-size: 15px;
  }

  .apd706-audience-copy small {
    font-size: 12px;
  }

  .apd706-age-range {
    grid-template-columns: 1fr;
  }

  .apd706-age-range > b {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apd557-experience-picker a,
  .apd706-audience-card {
    transition: none;
  }
}
