/* =========================================================
   ADI YOGPEETH — COURSE FEE & INQUIRY DESK
   V4 — consolidated, mobile friendly

   Replaces the previous V2 / V2.1 / V3.1 layered overrides with
   one stylesheet. Text sizes now start at 12px (previously some
   labels were ~7px), touch targets are at least 44px, and form
   fields use 16px text so iOS doesn't zoom on focus.

   Breakpoints:
     1100px  training plan moves below the selection
      720px  mobile layout, sticky summary bar, bottom-sheet drawer
      400px  small phones
   ========================================================= */

.ayp-fee-desk {
    --ayp-green: #123f35;
    --ayp-green-deep: #0c3029;
    --ayp-green-soft: #e7eee9;
    --ayp-gold: #a9854d;
    --ayp-gold-light: #d4bd92;
    --ayp-gold-soft: #f4ecdd;
    --ayp-ink: #193c35;
    --ayp-text: #4a5c56;
    --ayp-muted: #6b7873;
    --ayp-paper: #ffffff;
    --ayp-cream: #f6f3eb;
    --ayp-line: rgba(18, 63, 53, .13);
    --ayp-line-soft: rgba(18, 63, 53, .08);
    --ayp-radius: 14px;
    --ayp-radius-sm: 10px;
    --ayp-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --ayp-sans: Manrope, "Segoe UI", Arial, sans-serif;
    --ayp-ease: cubic-bezier(.22, .61, .36, 1);

    position: relative;
    padding: clamp(40px, 6vw, 80px) 0;
    background: linear-gradient(180deg, var(--ayp-cream) 0%, #fbfaf7 100%);
    color: var(--ayp-ink);
    font-family: var(--ayp-sans);
    font-size: 1rem;
    line-height: 1.6;
}

.ayp-fee-desk *,
.ayp-fee-desk *::before,
.ayp-fee-desk *::after {
    box-sizing: border-box;
}

.ayp-fee-desk button {
    font-family: inherit;
}

.ayp-fee-desk :focus-visible {
    outline: 2px solid var(--ayp-gold);
    outline-offset: 3px;
}

.ayp-fee-desk__shell {
    width: min(1320px, calc(100% - 48px));
    margin-inline: auto;
}


/* =========================================================
   HEADING
   ========================================================= */

.ayp-fee-desk__heading {
    max-width: 760px;
    margin: 0 auto clamp(24px, 3.5vw, 40px);
    text-align: center;
}

.ayp-fee-desk__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--ayp-gold);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.ayp-fee-desk__eyebrow::before,
.ayp-fee-desk__eyebrow::after {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--ayp-gold-light);
}

.ayp-fee-desk__heading h2 {
    margin: 0;
    color: var(--ayp-green);
    font-family: var(--ayp-serif);
    font-size: clamp(2.4rem, 4.6vw, 4.2rem);
    font-weight: 500;
    line-height: .95;
    letter-spacing: -.025em;
}

.ayp-fee-desk__heading h2 em {
    color: var(--ayp-gold);
    font-style: italic;
}

.ayp-fee-desk__heading p {
    max-width: 520px;
    margin: 14px auto 0;
    color: var(--ayp-text);
    font-size: 1rem;
    line-height: 1.7;
}


/* =========================================================
   LAYOUT
   ========================================================= */

.ayp-fee-desk__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    align-items: start;
    overflow: clip;
    border: 1px solid var(--ayp-line);
    border-radius: var(--ayp-radius);
    background: var(--ayp-paper);
    box-shadow: 0 30px 80px -40px rgba(18, 63, 53, .25);
}

.ayp-fee-desk__selection {
    min-width: 0;
    padding: clamp(24px, 3vw, 38px);
}


/* =========================================================
   STEPS
   ========================================================= */

.ayp-fee-step + .ayp-fee-step {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--ayp-line-soft);
}

.ayp-fee-step__heading {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    margin-bottom: 14px;
}

.ayp-fee-step__number {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ayp-gold-soft);
    color: var(--ayp-gold);
    font-family: var(--ayp-serif);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1;
}

.ayp-fee-step__heading h3 {
    margin: 4px 0 0;
    color: var(--ayp-green);
    font-family: var(--ayp-serif);
    font-size: clamp(1.45rem, 2vw, 1.8rem);
    font-weight: 500;
    line-height: 1.05;
}

.ayp-fee-step__hint {
    margin: 2px 0 0;
    color: var(--ayp-muted);
    font-size: .8125rem;
    line-height: 1.5;
}


/* =========================================================
   DATE PICKER
   ========================================================= */

.ayp-date-picker {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 10px;
    align-items: center;
}

.ayp-date-arrow {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--ayp-line);
    border-radius: 50%;
    background: var(--ayp-paper);
    color: var(--ayp-green);
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.ayp-date-arrow svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ayp-date-arrow:hover:not(:disabled) {
    border-color: var(--ayp-green);
    background: var(--ayp-green);
    color: #fff;
}

.ayp-date-arrow:disabled {
    opacity: .35;
    cursor: default;
}

.ayp-date-window {
    display: flex;
    gap: 10px;
    min-width: 0;
    padding: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.ayp-date-window::-webkit-scrollbar {
    display: none;
}

.ayp-date-card {
    position: relative;
    flex: 0 0 118px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 104px;
    padding: 10px 12px;
    border: 1px solid var(--ayp-line);
    border-radius: var(--ayp-radius-sm);
    background: var(--ayp-paper);
    color: var(--ayp-ink);
    text-align: left;
    cursor: pointer;
    scroll-snap-align: start;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.ayp-date-card:hover {
    border-color: var(--ayp-gold);
}

.ayp-date-card__year {
    color: var(--ayp-gold);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
}

.ayp-date-card__month {
    margin-top: 2px;
    color: var(--ayp-green);
    font-family: var(--ayp-serif);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
}

.ayp-date-card__range {
    margin-top: 8px;
    color: var(--ayp-text);
    font-size: .8125rem;
    font-weight: 600;
    white-space: nowrap;
}

.ayp-date-card__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 4px;
    color: #3f7a55;
    font-size: .75rem;
    font-weight: 600;
}

.ayp-date-card__status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.ayp-date-card.is-selected {
    border-color: var(--ayp-green);
    background: var(--ayp-green);
    color: #fff;
}

.ayp-date-card.is-selected .ayp-date-card__year { color: var(--ayp-gold-light); }
.ayp-date-card.is-selected .ayp-date-card__month { color: #fff; }
.ayp-date-card.is-selected .ayp-date-card__range { color: rgba(255, 255, 255, .8); }
.ayp-date-card.is-selected .ayp-date-card__status { color: #bfe0c9; }

.ayp-date-card.is-full {
    opacity: .55;
}

.ayp-date-card.is-full .ayp-date-card__status {
    color: #8b6f54;
}

.ayp-date-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 20px;
    margin-top: 6px;
    padding-inline: 50px;
}

.ayp-date-meta > span {
    color: var(--ayp-text);
    font-size: .875rem;
    font-weight: 600;
}

.ayp-date-meta button {
    min-height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ayp-gold);
    font-size: .875rem;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(169, 133, 77, .45);
    text-underline-offset: 4px;
    cursor: pointer;
}

.ayp-date-meta button:hover {
    color: var(--ayp-green);
}


/* =========================================================
   ACCOMMODATION
   ========================================================= */

.ayp-room-list {
    display: grid;
    gap: 8px;
}

.ayp-room {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto 26px;
    grid-template-areas: "select photos price check";
    gap: 18px;
    align-items: center;
    padding: 8px 16px 8px 8px;
    border: 1px solid var(--ayp-line);
    border-radius: var(--ayp-radius-sm);
    background: var(--ayp-paper);
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.ayp-room:hover {
    border-color: rgba(169, 133, 77, .6);
}

.ayp-room.is-selected {
    border-color: var(--ayp-green);
    background: #f8faf8;
    box-shadow: inset 0 0 0 1px var(--ayp-green);
}

.ayp-room__select {
    grid-area: select;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.ayp-room__thumb {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background-color: #d9d4c8;
    background-image: linear-gradient(135deg, #d9d4c8, #9aa99f);
    background-position: center;
    background-size: cover;
}

.ayp-room__content {
    min-width: 0;
}

.ayp-room__content strong {
    display: block;
    color: var(--ayp-green);
    font-family: var(--ayp-serif);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.15;
}

.ayp-room__content small {
    display: block;
    margin-top: 2px;
    color: var(--ayp-muted);
    font-size: .75rem;
    line-height: 1.4;
}

.ayp-room__content .ayp-room__eligibility {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--ayp-gold-soft);
    color: #7b5e30;
    font-size: .75rem;
    font-weight: 600;
}

.ayp-room__photos {
    grid-area: photos;
    min-height: 36px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: var(--ayp-gold);
    font-size: .8125rem;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: underline;
    text-decoration-color: rgba(169, 133, 77, .45);
    text-underline-offset: 4px;
    cursor: pointer;
}

.ayp-room__photos:hover {
    color: var(--ayp-green);
}

.ayp-room__price {
    grid-area: price;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    white-space: nowrap;
    line-height: 1.15;
}

.ayp-room__price del {
    color: #97a09c;
    font-size: .8125rem;
}

.ayp-room__price strong {
    color: var(--ayp-green);
    font-size: 1.2rem;
    font-weight: 800;
}

.ayp-room__price small {
    color: var(--ayp-gold);
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.ayp-room__check {
    grid-area: check;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 1.5px solid rgba(18, 63, 53, .25);
    border-radius: 50%;
    background: #fff;
    pointer-events: none;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.ayp-room__check svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
}

.ayp-room.is-selected .ayp-room__check {
    border-color: var(--ayp-green);
    background: var(--ayp-green);
}

.ayp-room.is-selected .ayp-room__check svg {
    opacity: 1;
}


/* =========================================================
   INCLUDED / NOT INCLUDED
   ========================================================= */

.ayp-fee-inclusions {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 28px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--ayp-line-soft);
}

.ayp-fee-inclusion-column__label {
    margin: 0 0 8px;
    color: var(--ayp-green);
    font-family: var(--ayp-serif);
    font-size: 1.125rem;
    font-weight: 600;
}

.ayp-fee-inclusion-column ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ayp-fee-inclusion-column li {
    display: flex;
    gap: 8px;
    color: var(--ayp-text);
    font-size: .75rem;
    line-height: 1.4;
}

.ayp-fee-inclusion-column li span {
    flex: 0 0 auto;
    color: var(--ayp-gold);
    font-weight: 800;
}

.ayp-fee-inclusion-column--excluded li {
    color: var(--ayp-muted);
}


/* =========================================================
   TRAINING PLAN (summary panel)
   ========================================================= */

.ayp-training-plan {
    position: sticky;
    top: 24px;
    align-self: start;
    min-width: 0;
    padding: 28px 28px 24px;
    background: var(--ayp-green);
    color: #fff;
}

.ayp-training-plan__top {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.ayp-training-plan__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--ayp-gold-light);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .06em;
}

.ayp-training-plan__top h3 {
    margin: 0;
    color: #fff;
    font-family: var(--ayp-serif);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.05;
}

.ayp-training-plan__top p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, .65);
    font-size: .875rem;
}

.ayp-training-plan__details {
    margin: 0;
}

.ayp-plan-detail {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.ayp-plan-detail dt,
.ayp-training-plan__price > span,
.ayp-training-plan__included > span {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, .6);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
}

.ayp-plan-detail dd {
    margin: 0;
    color: #fff;
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.4;
}

.ayp-training-plan__price {
    padding: 16px 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.ayp-training-plan__price div {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.ayp-training-plan__price strong {
    color: #fff;
    font-family: var(--ayp-serif);
    font-size: clamp(2.4rem, 3.4vw, 2.9rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.02em;
}

.ayp-training-plan__price small {
    color: var(--ayp-gold-light);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.ayp-training-plan__price em {
    display: block;
    margin-top: 6px;
    color: #bfe0c9;
    font-size: .8125rem;
    font-style: normal;
    font-weight: 600;
}

.ayp-training-plan__price em:empty {
    display: none;
}

.ayp-training-plan__included {
    padding: 14px 0 18px;
}

.ayp-training-plan__included ul {
    display: grid;
    gap: 5px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.ayp-training-plan__included li {
    display: flex;
    gap: 10px;
    color: rgba(255, 255, 255, .82);
    font-size: .8125rem;
    line-height: 1.45;
}

.ayp-training-plan__included li span {
    color: var(--ayp-gold-light);
    font-weight: 800;
}

.ayp-training-plan__included .ayp-training-plan__more {
    padding-left: 22px;
    color: rgba(255, 255, 255, .55);
}

.ayp-inquiry-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--ayp-green);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease;
}

.ayp-inquiry-button:hover {
    background: var(--ayp-gold-light);
}

.ayp-inquiry-button:active {
    transform: scale(.98);
}

.ayp-training-plan .ayp-inquiry-button:focus-visible {
    outline-color: #fff;
}

.ayp-training-plan__reassurance {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .6);
    font-size: .8125rem;
    text-align: center;
}


/* =========================================================
   REGISTRATION NOTE
   ========================================================= */

.ayp-registration-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    max-width: 780px;
    margin: 16px auto 0;
    padding: 12px 18px;
    border: 1px solid rgba(169, 133, 77, .25);
    border-radius: var(--ayp-radius-sm);
    background: rgba(255, 255, 255, .7);
}

.ayp-registration-note__mark {
    flex: 0 0 24px;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--ayp-gold-soft);
    color: var(--ayp-gold);
    font-family: var(--ayp-serif);
    font-size: 1rem;
    font-weight: 700;
    font-style: italic;
}

.ayp-registration-note p {
    margin: 0;
    color: var(--ayp-text);
    font-size: .875rem;
    line-height: 1.6;
}

.ayp-registration-note strong {
    color: var(--ayp-green);
}


/* =========================================================
   MOBILE STICKY BAR (hidden on desktop)
   ========================================================= */

.ayp-fee-bar {
    display: none;
}


/* =========================================================
   SHARED MODAL BITS
   ========================================================= */

.ayp-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--ayp-line);
    border-radius: 50%;
    background: #fff;
    color: var(--ayp-green);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.ayp-modal-close:hover {
    background: var(--ayp-green);
    color: #fff;
}


/* =========================================================
   ALL DATES MODAL + ROOM LIGHTBOX
   ========================================================= */

.ayp-dates-modal,
.ayp-room-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease, visibility 200ms ease;
}

.ayp-dates-modal.is-open,
.ayp-room-lightbox.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.ayp-dates-modal__backdrop,
.ayp-room-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 48, 41, .72);
    backdrop-filter: blur(6px);
}

.ayp-dates-modal__panel,
.ayp-room-lightbox__panel {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    max-height: min(86vh, 800px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: clamp(28px, 5vw, 52px);
    border-radius: var(--ayp-radius);
    background: #fbfaf7;
    box-shadow: 0 40px 100px rgba(0, 0, 0, .25);
    transform: translateY(12px);
    transition: transform 240ms var(--ayp-ease);
}

.ayp-dates-modal.is-open .ayp-dates-modal__panel,
.ayp-room-lightbox.is-open .ayp-room-lightbox__panel {
    transform: none;
}

.ayp-room-lightbox__panel {
    width: min(1120px, 100%);
}

.ayp-dates-modal__eyebrow,
.ayp-room-lightbox__eyebrow {
    color: var(--ayp-gold);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .06em;
}

.ayp-dates-modal__panel h2,
.ayp-room-lightbox__panel h2 {
    margin: 8px 56px 12px 0;
    color: var(--ayp-green);
    font-family: var(--ayp-serif);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 500;
    line-height: 1;
}

.ayp-dates-modal__panel h2 em {
    color: var(--ayp-gold);
}

.ayp-dates-modal__panel > p {
    max-width: 640px;
    margin: 0 0 24px;
    color: var(--ayp-text);
    font-size: .9375rem;
    line-height: 1.65;
}

.ayp-all-dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
}

.ayp-all-dates__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "month status" "range range";
    gap: 4px 10px;
    align-items: center;
    width: 100%;
    min-height: 72px;
    padding: 14px 16px;
    border: 1px solid var(--ayp-line);
    border-radius: var(--ayp-radius-sm);
    background: #fff;
    color: var(--ayp-ink);
    text-align: left;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.ayp-all-dates__item:hover {
    border-color: var(--ayp-gold);
}

.ayp-all-dates__item.is-selected {
    border-color: var(--ayp-green);
    background: var(--ayp-green-soft);
}

.ayp-all-dates__item strong {
    grid-area: month;
    color: var(--ayp-green);
    font-family: var(--ayp-serif);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.1;
}

.ayp-all-dates__item small {
    grid-area: range;
    color: var(--ayp-muted);
    font-size: .8125rem;
    line-height: 1.4;
}

.ayp-all-dates__item span {
    grid-area: status;
    color: #3f7a55;
    font-size: .75rem;
    font-weight: 700;
}

.ayp-all-dates__item.is-full {
    opacity: .55;
}

.ayp-all-dates__item.is-full span {
    color: #8b6f54;
}

.ayp-room-lightbox__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.ayp-room-lightbox__grid figure {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #e8e4da;
}

.ayp-room-lightbox__grid img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.ayp-room-lightbox__empty {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--ayp-muted);
    font-size: .9375rem;
}

body.ayp-fee-dates-lock,
body.ayp-room-lightbox-lock,
body.ayp-inquiry-lock {
    overflow: hidden;
}


/* =========================================================
   INQUIRY DRAWER
   ========================================================= */

.ayp-inquiry {
    position: fixed;
    inset: 0;
    z-index: 9999;
    visibility: hidden;
    pointer-events: none;
}

.ayp-inquiry.is-open {
    visibility: visible;
    pointer-events: auto;
}

.ayp-inquiry__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 28, 24, .62);
    opacity: 0;
    transition: opacity 240ms ease;
}

.ayp-inquiry.is-open .ayp-inquiry__backdrop {
    opacity: 1;
}

.ayp-inquiry__drawer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(560px, 100%);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 56px clamp(24px, 5vw, 48px) 36px;
    background: #fbfaf6;
    color: var(--ayp-ink);
    box-shadow: -20px 0 60px rgba(0, 0, 0, .15);
    transform: translateX(100%);
    transition: transform 300ms var(--ayp-ease);
}

.ayp-inquiry.is-open .ayp-inquiry__drawer {
    transform: none;
}

.ayp-inquiry__intro > span {
    display: block;
    margin-bottom: 10px;
    color: var(--ayp-gold);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .06em;
}

.ayp-inquiry__intro h2 {
    margin: 0;
    color: var(--ayp-green);
    font-family: var(--ayp-serif);
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    font-weight: 500;
    line-height: .95;
    letter-spacing: -.02em;
}

.ayp-inquiry__intro h2 em {
    color: var(--ayp-gold);
}

.ayp-inquiry__intro p {
    max-width: 440px;
    margin: 16px 0 24px;
    color: var(--ayp-text);
    font-size: .9375rem;
    line-height: 1.6;
}

.ayp-inquiry__selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 26px;
    overflow: hidden;
    border: 1px solid var(--ayp-line);
    border-radius: var(--ayp-radius-sm);
    background: #fff;
}

.ayp-inquiry__selection > div {
    min-width: 0;
    padding: 14px 16px;
    border-right: 1px solid var(--ayp-line-soft);
    border-bottom: 1px solid var(--ayp-line-soft);
}

.ayp-inquiry__selection > div:nth-child(2n) {
    border-right: 0;
}

.ayp-inquiry__selection > div:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.ayp-inquiry__selection small {
    display: block;
    margin-bottom: 3px;
    color: var(--ayp-gold);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.ayp-inquiry__selection strong {
    display: block;
    color: var(--ayp-green);
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.35;
}


/* =========================================================
   FORM
   ========================================================= */

.ayp-inquiry__form {
    position: relative;
    display: grid;
    gap: 18px;
}

.ayp-inquiry__honeypot {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.ayp-form-field {
    display: grid;
    gap: 6px;
}

.ayp-form-field label {
    color: var(--ayp-green);
    font-size: .875rem;
    font-weight: 700;
}

.ayp-form-field label b {
    color: var(--ayp-gold);
}

.ayp-form-field input,
.ayp-form-field select,
.ayp-form-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(18, 63, 53, .2);
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: var(--ayp-ink);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.4;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.ayp-form-field textarea {
    min-height: 110px;
    resize: vertical;
}

.ayp-form-field input:focus,
.ayp-form-field select:focus,
.ayp-form-field textarea:focus {
    border-color: var(--ayp-gold);
    box-shadow: 0 0 0 3px rgba(169, 133, 77, .18);
}

.ayp-form-field input:user-invalid,
.ayp-form-field select:user-invalid {
    border-color: #b2463b;
}

.ayp-form-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 14px;
}

.ayp-form-consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--ayp-text);
    font-size: .875rem;
    line-height: 1.5;
    cursor: pointer;
}

.ayp-form-consent input[type="checkbox"] {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    accent-color: var(--ayp-green);
    cursor: pointer;
}

.ayp-form-consent a {
    color: var(--ayp-green);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(18, 63, 53, .3);
    text-underline-offset: 3px;
}

.ayp-form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: var(--ayp-green);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 160ms ease;
}

.ayp-form-submit:hover:not(:disabled) {
    background: var(--ayp-green-deep);
}

.ayp-form-submit:disabled {
    cursor: default;
    opacity: .8;
}

.ayp-form-status {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 600;
}

.ayp-form-status[data-status="loading"] {
    background: var(--ayp-gold-soft);
    color: #7b5e30;
}

.ayp-form-status[data-status="success"] {
    background: var(--ayp-green-soft);
    color: var(--ayp-green);
}

.ayp-form-status[data-status="error"] {
    background: #fbe9e6;
    color: #8f2f25;
}

.ayp-form-privacy {
    margin: -4px 0 0;
    color: var(--ayp-muted);
    font-size: .8125rem;
    text-align: center;
}


/* =========================================================
   ≤ 1100px — summary panel moves below the selection
   ========================================================= */

@media (max-width: 1100px) {
    .ayp-fee-desk__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .ayp-training-plan {
        position: relative;
        top: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 40px;
    }

    .ayp-training-plan__top {
        grid-column: 1 / -1;
    }

    .ayp-training-plan__details {
        grid-column: 1;
    }

    .ayp-training-plan__price {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
    }

    .ayp-training-plan__included {
        grid-column: 1;
    }

    .ayp-inquiry-button,
    .ayp-training-plan__reassurance {
        grid-column: 2;
    }

    .ayp-inquiry-button {
        align-self: end;
    }
}


/* =========================================================
   ≤ 720px — MOBILE
   ========================================================= */

@media (max-width: 720px) {
    .ayp-fee-desk {
        padding: 36px 0 48px;
    }

    .ayp-fee-desk__shell {
        width: calc(100% - 24px);
    }

    .ayp-fee-desk__heading p {
        font-size: .9375rem;
    }

    .ayp-fee-desk__selection {
        padding: 20px 14px 22px;
    }

    .ayp-fee-step__heading {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 12px;
        margin-bottom: 18px;
    }

    .ayp-fee-step__number {
        width: 34px;
        height: 34px;
        font-size: 1.15rem;
    }

    .ayp-fee-step + .ayp-fee-step {
        margin-top: 20px;
        padding-top: 20px;
    }

    /* Dates: swipeable strip, edge to edge, no arrows */
    .ayp-date-picker {
        display: block;
        margin-inline: -16px;
    }

    .ayp-date-arrow {
        display: none;
    }

    .ayp-date-window {
        gap: 8px;
        padding: 4px 16px;
        scroll-padding-inline: 16px;
    }

    .ayp-date-card {
        flex-basis: 96px;
        min-height: 96px;
        padding: 10px;
    }

    .ayp-date-card__month {
        font-size: 1.8rem;
    }

    .ayp-date-meta {
        padding-inline: 0;
    }

    /* Rooms: two rows — name + check / photos + price */
    .ayp-room {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "select check"
            "photos price";
        gap: 6px 12px;
        padding: 10px 12px 8px 10px;
    }

    .ayp-room__select {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 10px;
    }

    .ayp-room__thumb {
        width: 50px;
        height: 50px;
    }

    .ayp-room__content strong {
        font-size: 1.15rem;
    }

    .ayp-room__photos {
        justify-self: start;
        margin-left: 60px;
        padding: 0;
    }

    .ayp-room__price {
        flex-direction: row;
        align-items: baseline;
        gap: 6px;
    }

    .ayp-room__check {
        align-self: start;
        margin-top: 4px;
    }

    /* Inclusions stack */
    .ayp-fee-inclusions {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 20px;
        padding-top: 18px;
    }

    .ayp-fee-inclusion-column ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px 12px;
    }

    /* Summary panel single column */
    .ayp-training-plan {
        display: block;
        padding: 22px 18px 20px;
    }

    .ayp-registration-note {
        padding: 14px 16px;
    }

    /* Sticky bar */
    .ayp-fee-bar {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        z-index: 900;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 10px 10px 18px;
        border-radius: 999px;
        background: var(--ayp-green);
        color: #fff;
        box-shadow: 0 16px 40px rgba(12, 48, 41, .35);
        visibility: hidden;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 200ms ease, transform 240ms var(--ayp-ease), visibility 200ms;
    }

    .ayp-fee-bar.is-visible {
        visibility: visible;
        opacity: 1;
        transform: none;
    }

    body.ayp-inquiry-lock .ayp-fee-bar {
        visibility: hidden;
        opacity: 0;
    }

    .ayp-fee-bar__info {
        display: flex;
        flex-direction: column;
        min-width: 0;
        line-height: 1.2;
    }

    .ayp-fee-bar__info small {
        overflow: hidden;
        color: rgba(255, 255, 255, .7);
        font-size: .75rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ayp-fee-bar__info strong {
        font-family: var(--ayp-serif);
        font-size: 1.6rem;
        font-weight: 500;
        line-height: 1.05;
    }

    .ayp-fee-bar__button {
        flex: 0 0 auto;
        min-height: 46px;
        padding: 0 20px;
        border: 0;
        border-radius: 999px;
        background: #fff;
        color: var(--ayp-green);
        font-size: .9375rem;
        font-weight: 800;
        cursor: pointer;
    }

    /* Modals become bottom sheets */
    .ayp-dates-modal,
    .ayp-room-lightbox {
        align-items: end;
        padding: 0;
    }

    .ayp-dates-modal__panel,
    .ayp-room-lightbox__panel {
        width: 100%;
        max-height: 88dvh;
        padding: 40px 18px calc(24px + env(safe-area-inset-bottom, 0px));
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
    }

    .ayp-dates-modal__panel::before,
    .ayp-room-lightbox__panel::before,
    .ayp-inquiry__drawer::before {
        content: "";
        position: absolute;
        top: 10px;
        left: 50%;
        width: 40px;
        height: 4px;
        border-radius: 2px;
        background: rgba(18, 63, 53, .2);
        transform: translateX(-50%);
    }

    .ayp-modal-close {
        top: 14px;
        right: 12px;
        width: 40px;
        height: 40px;
    }

    .ayp-all-dates-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .ayp-room-lightbox__grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    /* Inquiry drawer becomes a bottom sheet */
    .ayp-inquiry__drawer {
        top: auto;
        left: 0;
        width: 100%;
        max-height: 94dvh;
        padding: 44px 18px calc(28px + env(safe-area-inset-bottom, 0px));
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -20px 60px rgba(0, 0, 0, .18);
        transform: translateY(100%);
    }

    .ayp-inquiry__intro h2 {
        padding-right: 48px;
    }

    .ayp-form-row {
        grid-template-columns: 1fr;
    }

    .ayp-inquiry__selection {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   ≤ 400px — SMALL PHONES
   ========================================================= */

@media (max-width: 400px) {
    .ayp-fee-desk__heading h2 {
        font-size: 2.35rem;
    }

    .ayp-room__select {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .ayp-room__thumb {
        width: 44px;
        height: 44px;
    }

    .ayp-room__photos {
        margin-left: 54px;
    }

    .ayp-inquiry__selection {
        grid-template-columns: 1fr;
    }

    .ayp-inquiry__selection > div {
        border-right: 0;
        border-bottom: 1px solid var(--ayp-line-soft);
    }

    .ayp-inquiry__selection > div:nth-last-child(2) {
        border-bottom: 1px solid var(--ayp-line-soft);
    }

    .ayp-inquiry__selection > div:last-child {
        border-bottom: 0;
    }

    .ayp-fee-bar__info strong {
        font-size: 1.4rem;
    }

    .ayp-fee-bar__button {
        padding: 0 16px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .ayp-fee-desk *,
    .ayp-fee-desk *::before,
    .ayp-fee-desk *::after {
        transition-duration: 0ms !important;
        scroll-behavior: auto !important;
    }
}