/* =========================================================
   EXPERIENCE BOOKING — STEP 01
   ========================================================= */

.experience-booking {
    padding: 28px;
    background: var(--even-green);
    border: 4px solid var(--even-border);
    border-radius: 14px;
}

.experience-booking__heading {
    max-width: 760px;
    margin-bottom: 24px;
}

.experience-booking__heading h3 {
    margin: 12px 0 0;
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: .92;
    letter-spacing: -.045em;
}

#experience-booking .experience-booking__heading {
    margin-bottom: 20px;
}

#experience-booking .lexi-booking__placeholder-label {
    display: inline-block;
    margin-bottom: 0;
}

#experience-booking .experience-booking__heading h3 {
    margin: 12px 0 0;
    font-size: clamp(32px, 5vw, 60px);
}

.experience-booking__heading .lexi-booking__placeholder-label {
    display: inline-block;
    margin-bottom: 0;
}

.experience-booking__heading p {
    max-width: 650px;
    margin: 14px 0 0;
    font-size: 16px;
    line-height: 1.5;
}

.experience-calendar {
    padding: 16px;
    background: var(--even-white);
    border: 3px solid var(--even-border);
    border-radius: 14px;
}

.experience-calendar__nav {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.experience-calendar__nav strong {
    text-align: center;
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 900;
    text-transform: uppercase;
}

.experience-calendar__arrow {
    width: 44px;
    height: 44px;
    padding: 0;
    cursor: pointer;
    background: var(--even-yellow);
    color: var(--even-black);
    border: 3px solid var(--even-border);
    border-radius: 10px;
    font-size: 24px;
    font-weight: 900;
}

.experience-calendar__weekdays,
.experience-calendar__days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.experience-calendar__weekdays {
    margin-bottom: 6px;
}

.experience-calendar__weekdays span {
    padding: 3px 2px;
    text-align: center;
    font-size: 11px;
    font-weight: 900;
}

.experience-calendar__day {
    min-height: 56px;
    padding: 6px;
    cursor: default;
    background: #eee9df;
    color: #aaa;
    border: 2px solid transparent;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 900;
}

button.experience-calendar__day {
    cursor: pointer;
    background: var(--even-white);
    color: var(--even-black);
    border-color: var(--even-border);
}

button.experience-calendar__day:hover,
button.experience-calendar__day:focus-visible {
    background: var(--even-yellow);
}

button.experience-calendar__day.is-selected {
    background: var(--even-yellow);
    box-shadow: 4px 4px 0 var(--even-black);
}

.experience-calendar__day.is-empty {
    visibility: hidden;
}

.experience-slots {
    margin-top: 16px;
    padding: 18px;
    background: var(--even-yellow);
    border: 3px solid var(--even-border);
    border-radius: 14px;
}

.experience-step1-summary > span {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.experience-slots__label {
    margin: 0 0 6px;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 900;
    line-height: 1.15;
}

#experience-selected-date {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.4;
}

.experience-slots__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.experience-slot {
    padding: 14px 18px;
    cursor: pointer;
    background: var(--even-white);
    color: var(--even-black);
    border: 3px solid var(--even-border);
    border-radius: 10px;
    font-weight: 900;
}

.experience-slot:hover,
.experience-slot:focus-visible,
.experience-slot.is-selected {
    background: var(--even-black);
    color: var(--even-white);
}

.experience-step1-summary {
    margin-top: 22px;
    padding: 20px;
    background: var(--even-white);
    border: 3px solid var(--even-border);
    border-radius: 12px;
}

.experience-step1-summary strong {
    display: block;
    font-size: 20px;
    line-height: 1.3;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .experience-booking { padding: 22px; }
    .experience-calendar { padding: 14px; }
    .experience-calendar__day { min-height: 50px; }
}

@media (max-width: 768px) {
    .experience-booking {
        padding: 16px;
    }

    .experience-calendar {
        padding: 10px;
    }

    .experience-calendar__days,
    .experience-calendar__weekdays {
        gap: 3px;
    }

    .experience-calendar__day {
        min-height: 44px;
        padding: 2px;
        font-size: 13px;
    }

    .experience-calendar__nav {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        gap: 8px;
    }

    .experience-calendar__arrow {
        width: 44px;
        height: 44px;
    }

    .experience-slots { padding: 14px; margin-top: 12px; }
    #experience-booking .experience-booking__heading { margin-bottom: 16px; }
    #experience-booking .experience-booking__heading h3 { margin-top: 10px; }
    #experience-selected-date { font-size: 14px; margin-bottom: 10px; }

    .experience-slots__buttons {
        flex-direction: column;
    }

    .experience-slot {
        width: 100%;
    }
}


/* =========================================================
   EXPERIENCE BOOKING — STEP 02
   ========================================================= */

.experience-booking-step {
    padding: 28px;
    background: var(--even-green);
    border: 4px solid var(--even-border);
    border-radius: 14px;
}

.experience-people {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.experience-person-card {
    min-width: 0;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--even-white);
    border: 3px solid var(--even-border);
    border-radius: 14px;
}

.experience-person-card__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.experience-person-card__text span {
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 900;
}

.experience-person-card__text strong {
    font-size: 32px;
    line-height: 1.1;
    white-space: nowrap;
}

.experience-person-card__text small {
    margin-top: 5px;
    font-weight: 700;
}

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

.experience-counter > strong {
    min-width: 36px;
    text-align: center;
    font-size: 26px;
}

.experience-counter__button {
    width: 46px;
    height: 46px;
    padding: 0;
    cursor: pointer;
    background: var(--even-yellow);
    color: var(--even-black);
    border: 3px solid var(--even-border);
    border-radius: 10px;
    font-size: 24px;
    font-weight: 900;
}

.experience-counter__button:disabled {
    cursor: not-allowed;
    opacity: .35;
}

.experience-total {
    margin-top: 18px;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    background: var(--even-yellow);
    border: 3px solid var(--even-border);
    border-radius: 14px;
}

.experience-total > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.experience-total span {
    margin-bottom: 5px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.experience-total strong {
    font-size: clamp(22px, 2.5vw, 28px);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.experience-booking-error {
    margin: 16px 0 0;
    padding: 12px 15px;
    background: var(--even-red);
    color: #fff;
    border: 3px solid var(--even-border);
    border-radius: 9px;
    font-weight: 900;
}

.experience-booking-actions {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.experience-booking-actions button {
    min-height: 48px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.experience-counter__button:focus-visible,
.experience-back-button:focus-visible,
.experience-consent input:focus-visible {
    outline: 3px solid var(--even-black);
    outline-offset: 3px;
}

.experience-back-button {
    padding: 14px 18px;
    cursor: pointer;
    background: var(--even-white);
    color: var(--even-black);
    border: 3px solid var(--even-border);
    border-radius: 10px;
    font-weight: 900;
}

@media (max-width: 768px) {
    .experience-booking-step {
        padding: 16px;
    }

    .experience-people {
        grid-template-columns: 1fr;
    }

    .experience-person-card {
        padding: 16px;
    }

    .experience-booking__heading { margin-bottom: 20px; }
    .experience-booking__heading h3 { margin-top: 10px; font-size: clamp(28px, 5vw, 38px); }
    .experience-booking__heading p { margin-top: 12px; font-size: 15px; }

    .experience-total {
        padding: 16px;
        gap: 14px;
        flex-direction: column;
    }

    .experience-booking-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .experience-booking-actions { gap: 12px; margin-top: 18px; }

    .experience-booking-actions button,
    .experience-booking-actions .brutal-button {
        width: 100%;
        text-align: center;
    }
}


/* =========================================================
   EXPERIENCE BOOKING — STEP 03
   ========================================================= */

.experience-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.experience-field {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.experience-field label {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.experience-field input,
.experience-field textarea {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 12px 14px;
    background: var(--even-white);
    color: var(--even-black);
    border: 3px solid var(--even-border);
    border-radius: 10px;
    font: inherit;
    font-size: 16px;
}

.experience-field textarea {
    resize: vertical;
    min-height: 110px;
}

.experience-field input:focus,
.experience-field textarea:focus {
    outline: none;
    box-shadow: 4px 4px 0 var(--even-yellow);
}

.experience-field.is-error input,
.experience-field.is-error textarea {
    border-color: var(--even-red);
}

@media (max-width: 768px) {
    .experience-fields {
        gap: 14px;
        grid-template-columns: 1fr;
    }

    .experience-field--full {
        grid-column: auto;
    }
}


/* =========================================================
   EXPERIENCE BOOKING — STEP 04
   ========================================================= */

.experience-review {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.experience-review__card {
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 18px;
    background: var(--even-white);
    border: 3px solid var(--even-border);
    border-radius: 12px;
}

.experience-review__card span {
    display: block;
    margin-bottom: 7px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.experience-review__card strong {
    display: block;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.3;
}

.experience-review__card small {
    display: block;
    margin-top: 6px;
    font-weight: 700;
    line-height: 1.4;
}

.experience-consents {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.experience-consent {
    min-width: 0;
    padding: 16px;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
    background: var(--even-white);
    border: 3px solid var(--even-border);
    border-radius: 12px;
}

.experience-consent input {
    width: 22px;
    height: 22px;
    margin: 2px 0 0;
    accent-color: var(--even-yellow);
}

.experience-consent span {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 15px;
    line-height: 1.5;
}

.experience-consent strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.experience-consent--optional {
    background: var(--even-cream);
}

.experience-consent.is-error {
    border-color: var(--even-red);
}

@media (max-width: 768px) {
    .experience-review {
        gap: 12px;
        grid-template-columns: 1fr;
    }

    .experience-consent {
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 10px;
        padding: 14px;
    }
}


/* FOTO / VIDEO — scelta obbligatoria */

.experience-consent--photo {
    display: block;
}

.experience-consent__text {
    margin-bottom: 12px;
}

.experience-consent__text strong {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.experience-consent__text span {
    font-size: 15px;
    line-height: 1.5;
}

.experience-consent-choice {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.experience-consent-choice label {
    position: relative;
    cursor: pointer;
}

.experience-consent-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.experience-consent-choice label span {
    display: block;
    padding: 12px 18px;
    background: var(--even-white);
    color: var(--even-black);
    border: 3px solid var(--even-border);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 900;
}

.experience-consent-choice input:focus-visible + span {
    outline: 3px solid var(--even-black);
    outline-offset: 3px;
}

.experience-consent-choice input:checked + span {
    background: var(--even-yellow);
    box-shadow: 4px 4px 0 var(--even-black);
}

.experience-consent--photo.is-error {
    border-color: var(--even-red);
}

/* Availability and AJAX feedback retain the existing booking style. */
.experience-slot:disabled { opacity: .5; cursor: not-allowed; }
.experience-slot { white-space: normal; }
#experience-step-4[role="status"] { overflow-wrap: anywhere; }
@media (min-width: 769px) and (max-width: 1024px) {
    .experience-booking-step { padding: 22px; }

}
@media (max-width: 1024px) {
    .experience-person-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 4px 12px;
        padding: 14px;
    }
    .experience-person-card__text { display: contents; }
    .experience-person-card__text > span { grid-column: 1 / -1; margin-bottom: 4px; }
    .experience-person-card__text > strong { grid-column: 1; grid-row: 2; font-size: 24px; }
    .experience-person-card__text > small { grid-column: 1; grid-row: 3; margin-top: 0; }
    .experience-counter { grid-column: 2; grid-row: 2 / span 2; gap: 6px; }
    .experience-counter > strong { min-width: 24px; font-size: 22px; }
    .experience-counter__button { width: 44px; height: 44px; }
}
@media (max-width: 900px) { .experience-people { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
    .experience-review__card { padding: 14px; }
    .experience-consent-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .experience-consent-choice label span { padding: 12px 6px; text-align: center; font-size: 12px; }
}
@media (max-width: 480px) { .experience-booking__heading h3 { font-size: clamp(28px, 8vw, 38px); } }
