:root {
    --booking-navy: #C9A84C;
    --booking-navy-deep: #0A1628;
    --booking-sea: #0A1628;
    --booking-aqua: #C9A84C;
    --booking-sand: #f4ead8;
    --booking-coral: #ff8a65;
    --booking-ink: #17343d;
    --booking-muted: #6c7e83;
    --booking-white: #ffffff;
    --booking-soft: #f5faf9;
    --booking-border: #dce9e7;
    --booking-success: #1f8f62;
    --booking-warning: #b87400;
    --booking-danger: #b74444;
    --booking-shadow: 0 24px 70px rgba(5, 47, 60, 0.13);
    --booking-radius-xl: 30px;
    --booking-radius-lg: 22px;
    --booking-radius-md: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--booking-soft);
    color: var(--booking-ink);
    font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: var(--booking-sea);
}

.booking-page {
    min-height: 100vh;
    overflow: hidden;
}

.booking-shell {
    width: min(1180px, calc(100% - 36px));
    margin-inline: auto;
}

.booking-hero {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    color: var(--booking-white);

    background-image:
        linear-gradient(
            90deg,
            rgba(10, 22, 40, 0.88) 0%,
            rgba(10, 22, 40, 0.60) 55%,
            rgba(10, 22, 40, 0.25) 100%
        ),
        url("/module/prenotazioni/assets/img/1.jpeg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.booking-hero::after {
    position: absolute;
    right: -100px;
    bottom: -170px;
    width: 560px;
    height: 560px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    content: "";
}

.booking-hero__content {
    position: relative;
    z-index: 2;
    padding-top: 34px;
}

.booking-brand {
    display: flex;
    align-items: center;
}

.booking-brand__logo {
    display: block;
    width: auto;
    max-width: 220px;
    height: 70px;
    object-fit: contain;
}

.booking-hero__copy {
    max-width: 760px;
    padding: 96px 0 120px;
}

.booking-eyebrow {
    margin: 0 0 12px;
    color: #9de7e3;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.booking-eyebrow--dark {
    color: var(--booking-sea);
}

.booking-eyebrow--light {
    color: #a8e9e5;
}

.booking-hero h1,
.booking-section-heading h2,
.booking-summary h2,
.booking-success-card h1 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    line-height: 1.06;
}

.booking-hero h1 {
    max-width: 680px;
    font-size: clamp(3rem, 7vw, 5.8rem);
    letter-spacing: -0.04em;
}

.booking-hero__copy > p:not(.booking-eyebrow) {
    max-width: 640px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.1rem;
}

.booking-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.booking-hero__facts span {
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
}

.booking-hero__wave {
    position: absolute;
    right: -12%;
    bottom: -145px;
    left: -12%;
    height: 220px;
    border-radius: 50%;
    background: var(--booking-soft);
    transform: rotate(-2deg);
}

.booking-hero__wave--two {
    bottom: -178px;
    background: rgba(244, 234, 216, 0.45);
    transform: rotate(3deg);
}

.booking-main {
    position: relative;
    z-index: 3;
    margin-top: -56px;
    padding-bottom: 88px;
}

.booking-packages,
.booking-checkout__main,
.booking-summary__sticky {
    border: 1px solid rgba(220, 233, 231, 0.8);
    box-shadow: var(--booking-shadow);
}

.booking-packages {
    padding: clamp(28px, 5vw, 56px);
    border-radius: var(--booking-radius-xl);
    background: var(--booking-white);
}

.booking-section-heading {
    max-width: 720px;
    margin-bottom: 32px;
}

.booking-section-heading--compact {
    margin-bottom: 28px;
}

.booking-section-heading h2 {
    color: var(--booking-navy);
    font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.booking-section-heading > p:last-child {
    margin: 13px 0 0;
    color: var(--booking-muted);
}

.booking-package-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.booking-package-card {
    position: relative;
    min-height: 280px;
    padding: 26px;
    border: 1px solid var(--booking-border);
    border-radius: var(--booking-radius-lg);
    background: linear-gradient(180deg, #fff, #f9fcfb);
}

.booking-package-card--featured {
    color: var(--booking-white);
    border-color: transparent;
    background: linear-gradient(145deg, var(--booking-navy-deep), var(--booking-navy-deep));
}

.booking-package-card__badge {
    display: inline-flex;
    margin-bottom: 22px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #d8fffc;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.booking-package-card__time {
    margin: 0 0 8px;
    color: var(--booking-sea);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.booking-package-card--featured .booking-package-card__time {
    color: #9de7e3;
}

.booking-package-card h3 {
    margin: 0;
    font-size: 1.28rem;
}

.booking-package-card__price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 34px 0 20px;
}

.booking-package-card__price strong {
    font-family: "Playfair Display", serif;
    font-size: 2.25rem;
    line-height: 1;
}

.booking-package-card__price span,
.booking-package-card > p:last-child {
    color: var(--booking-muted);
    font-size: 0.86rem;
}

.booking-package-card--featured .booking-package-card__price span,
.booking-package-card--featured > p:last-child {
    color: rgba(255, 255, 255, 0.72);
}

.booking-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.8fr);
    gap: 24px;
    align-items: start;
    margin-top: 28px;
}

.booking-checkout__main {
    padding: clamp(24px, 4vw, 48px);
    border-radius: var(--booking-radius-xl);
    background: var(--booking-white);
}

.booking-alert {
    margin-bottom: 22px;
    padding: 15px 17px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 600;
}

.booking-alert--error {
    border-color: #f1baba;
    background: #fff1f1;
    color: var(--booking-danger);
}

.booking-alert--info {
    border-color: #b9dfe5;
    background: #effbfc;
    color: var(--booking-sea);
}

.booking-step {
    padding: 30px 0;
    border-top: 1px solid var(--booking-border);
}

.booking-step:first-of-type {
    border-top: 0;
}

.booking-step__heading {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.booking-step__number {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: var(--booking-navy);
    color: var(--booking-white);
    font-weight: 700;
}

.booking-step__heading h3 {
    margin: 1px 0 2px;
    color: var(--booking-navy);
    font-size: 1.16rem;
}

.booking-step__heading p {
    margin: 0;
    color: var(--booking-muted);
    font-size: 0.88rem;
}

.booking-calendar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.booking-month {
    padding: 18px;
    border: 1px solid var(--booking-border);
    border-radius: 18px;
    background: #fbfdfd;
}

.booking-month h4 {
    margin: 0 0 14px;
    color: var(--booking-navy);
    font-size: 1rem;
}

.booking-month__weekdays,
.booking-month__days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.booking-month__weekdays {
    margin-bottom: 7px;
    color: var(--booking-muted);
    font-size: 0.64rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.booking-day {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 68px;
    padding: 8px 3px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--booking-border);
    border-radius: 12px;
    background: var(--booking-white);
    color: var(--booking-ink);
    cursor: pointer;
    transition: 0.2s ease;
}

.booking-day:not(:disabled):hover {
    border-color: var(--booking-aqua);
    box-shadow: 0 8px 20px rgba(15, 124, 140, 0.12);
    transform: translateY(-2px);
}

.booking-day.is-selected {
    border-color: var(--booking-navy);
    background: var(--booking-navy);
    color: var(--booking-white);
    box-shadow: 0 10px 24px rgba(7, 59, 76, 0.24);
}

.booking-day.is-sold-out {
    background: #f3f4f4;
    color: #a1aaac;
}

.booking-day.has-limited-availability:not(.is-selected)::after {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--booking-warning);
    content: "";
}

.booking-day:disabled {
    cursor: not-allowed;
}

.booking-day--blank {
    visibility: hidden;
}

.booking-day__weekday {
    display: none;
}

.booking-day strong {
    font-size: 1rem;
}

.booking-day__status {
    display: block;
    max-width: 100%;
    margin-top: 3px;
    overflow: hidden;
    font-size: 0.48rem;
    font-weight: 700;
    line-height: 1.1;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.booking-slot-grid {
    display: grid;
    gap: 12px;
}

.booking-slot {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    width: 100%;
    padding: 17px 18px;
    border: 1px solid var(--booking-border);
    border-radius: var(--booking-radius-md);
    background: var(--booking-white);
    color: var(--booking-ink);
    text-align: left;
    cursor: pointer;
    transition: 0.2s ease;
}

.booking-slot:not(:disabled):hover {
    border-color: var(--booking-aqua);
    transform: translateY(-1px);
}

.booking-slot.is-selected {
    border-color: var(--booking-sea);
    background: #eefafa;
    box-shadow: 0 0 0 3px rgba(59, 196, 199, 0.14);
}

.booking-slot.is-unavailable {
    background: #f5f6f6;
    color: #98a3a6;
    cursor: not-allowed;
}

.booking-slot__icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    background: var(--booking-sand);
    color: var(--booking-navy);
    font-size: 1.2rem;
}

.booking-slot__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.booking-slot__copy small {
    color: var(--booking-muted);
}

.booking-slot__price {
    font-weight: 700;
}

.booking-slot__availability {
    grid-column: 2 / 4;
    margin-top: -8px;
    color: var(--booking-success);
    font-size: 0.73rem;
    font-weight: 700;
    text-transform: uppercase;
}

.booking-slot.is-unavailable .booking-slot__availability {
    color: #9aa4a6;
}

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

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

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

.booking-field > span {
    color: var(--booking-navy);
    font-size: 0.83rem;
    font-weight: 700;
}

.booking-field input,
.booking-field select,
.booking-field textarea {
    width: 100%;
    border: 1px solid var(--booking-border);
    border-radius: 13px;
    outline: none;
    background: #fbfdfd;
    color: var(--booking-ink);
    transition: 0.2s ease;
}

.booking-field input,
.booking-field select {
    min-height: 50px;
    padding: 0 14px;
}

.booking-field textarea {
    min-height: 112px;
    padding: 13px 14px;
    resize: vertical;
}

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
    border-color: var(--booking-aqua);
    box-shadow: 0 0 0 3px rgba(59, 196, 199, 0.12);
}

.booking-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 18px;
    color: var(--booking-muted);
    font-size: 0.84rem;
}

.booking-consent input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--booking-sea);
}

.booking-summary {
    position: relative;
}

.booking-summary__sticky {
    position: sticky;
    top: 18px;
    padding: 30px;
    border-color: transparent;
    border-radius: var(--booking-radius-xl);
    background: linear-gradient(160deg, var(--booking-navy-deep), var(--booking-navy-deep));
    color: var(--booking-white);
}

.booking-summary h2 {
    font-size: 2.4rem;
}

.booking-summary__details {
    margin: 30px 0;
}

.booking-summary__details > div {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.booking-summary__details dt {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.booking-summary__details dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
}

.booking-summary__total {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0 24px;
}

.booking-summary__total span {
    color: rgba(255, 255, 255, 0.66);
}

.booking-summary__total strong {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
}

.booking-paypal-area {
    padding: 15px;
    border-radius: 17px;
    background: var(--booking-white);
    color: var(--booking-ink);
}

paypal-button {
    display: block;
    width: 100%;
}

paypal-button[hidden] {
    display: none !important;
}

.booking-payment-help,
.booking-payment-disabled {
    margin: 8px 0 0;
    color: var(--booking-muted);
    font-size: 0.78rem;
    text-align: center;
}

.booking-secure-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.77rem;
}

.booking-secure-note p {
    margin: 0;
}

.booking-footer {
    padding: 34px 0;
    background-color: #000000E0;
    color: rgba(255, 255, 255, 0.7);
}

.booking-footer .booking-shell {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.booking-footer strong {
    color: var(--booking-white);
}

.is-processing-payment::after {
    position: fixed;
    z-index: 9998;
    inset: 0;
    background: rgba(3, 43, 57, 0.38);
    backdrop-filter: blur(2px);
    content: "";
}

/* Pagina di conferma */
.booking-success-page {
    display: grid;
    min-height: 100vh;
    padding: 32px 18px;
    place-items: center;
    background:
        radial-gradient(circle at top right, rgba(59, 196, 199, 0.22), transparent 35%),
        linear-gradient(150deg, var(--booking-navy-deep), var(--booking-sea));
}

.booking-success-card {
    width: min(680px, 100%);
    padding: clamp(28px, 6vw, 56px);
    border-radius: var(--booking-radius-xl);
    background: var(--booking-white);
    box-shadow: var(--booking-shadow);
}

.booking-success-icon {
    display: grid;
    width: 66px;
    height: 66px;
    margin-bottom: 24px;
    place-items: center;
    border-radius: 50%;
    background: #e6f8f1;
    color: var(--booking-success);
    font-size: 2rem;
}

.booking-success-card h1 {
    color: var(--booking-navy);
    font-size: clamp(2.4rem, 6vw, 4rem);
}

.booking-success-card > p {
    color: var(--booking-muted);
}

.booking-success-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 28px 0;
}

.booking-success-details > div {
    padding: 16px;
    border: 1px solid var(--booking-border);
    border-radius: 14px;
    background: #fbfdfd;
}

.booking-success-details span {
    display: block;
    margin-bottom: 5px;
    color: var(--booking-muted);
    font-size: 0.74rem;
    text-transform: uppercase;
}

.booking-success-button {
    display: inline-flex;
    min-height: 48px;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--booking-navy);
    color: var(--booking-white);
    font-weight: 700;
    text-decoration: none;
}

/* Backoffice */
.booking-admin-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.booking-admin-filters input,
.booking-admin-filters select,
.booking-admin-filters button {
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--booking-border);
    border-radius: 10px;
}

.booking-admin-filters button {
    border-color: var(--booking-navy);
    background: var(--booking-navy);
    color: var(--booking-white);
    cursor: pointer;
}

.booking-admin-table-wrap {
    overflow-x: auto;
}

.booking-admin-table {
    width: 100%;
    border-collapse: collapse;
}

.booking-admin-table th,
.booking-admin-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--booking-border);
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
}

.booking-admin-table th {
    color: var(--booking-muted);
    font-size: 0.76rem;
    text-transform: uppercase;
}

.booking-status {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eef2f2;
    font-size: 0.72rem;
    font-weight: 700;
}

.booking-status--pagata {
    background: #e6f8f1;
    color: var(--booking-success);
}

.booking-status--attesa {
    background: #fff5dd;
    color: var(--booking-warning);
}



/*=======================================================================
                ICONE FOOTER DELLA INDEX
=========================================================================*/

.booking-footer .booking-shell {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) auto;
            align-items: center;
            gap: 32px;
            
        }

        .booking-footer p {
            margin: 4px 0;
        }

        .booking-footer__social {
            display: flex !important;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 10px;
            
            
        }

        .booking-footer__social-link {
            width: 34px;
            height: 34px;
            display: inline-flex !important;
            align-items: center;
            justify-content: center;
            flex: 0 0 34px;
            border-radius: 50%;
            background: #C9A84C;
            color: #ffffff !important;
            text-decoration: none !important;
            transition: transform .2s ease, opacity .2s ease;
        }

        .booking-footer__social-link:hover,
        .booking-footer__social-link:focus-visible {
            transform: translateY(-2px);
            opacity: .9;
            outline: none;
        }

        .booking-footer__social-icon {
            display: block !important;
            width: 18px !important;
            height: 18px !important;
            overflow: visible !important;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .booking-footer__social-icon--fill {
            fill: currentColor;
            stroke: none;
        }

        .booking-footer__social-icon--youtube {
            width: 19px !important;
            height: 19px !important;
        }

                .booking-footer__main {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1.35fr)
        auto;
    align-items: center;
    gap: 32px;
}

.booking-footer__bottom {
    display: flex !important;
    width: min(1180px, calc(100% - 36px));
    margin-top: 30px;
    padding-top: 22px;
    align-items: center;
    justify-content: space-between;
    gap: clamp(50px, 10vw, 180px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.booking-footer__bottom p {
    margin: 0;
}

.booking-footer__powered,
.booking-footer__policies {
    white-space: nowrap;
}

.booking-footer__policies {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto !important;
}

.booking-footer__bottom a {
    color: var(--booking-navy);
    text-decoration: none;
}

.booking-footer__bottom a:hover {
    text-decoration: underline;
}

.booking-footer__column, .booking-footer__powered, .booking-footer__policies{
    font-size: 12px;
}

.booking-request-inline {
    margin-top: 24px;
}

.booking-request-inline .booking-payment-help {
    margin: 10px 0 0;
    text-align: center;
}