/* =========================
   CSS CUSTOM PROPERTIES
========================= */

:root {
    --nla-yellow: #ffd54d;
    --nla-dark-yellow: #CDAB3C;
    --nla-dark: #242424;
    --nla-green: #7DBB56;
    --nla-green-dark: #59863D;
    --nla-red: #E20000;
    --nla-border: #e5e5e5;
    --nla-border-input: #D4D0CD;
    --nla-disabled-bg: #e5e5e5;
    --nla-disabled-text: #9a9a9a;
    --nla-font-primary: Nunito, sans-serif;
    --nla-font-heading: Barlow Condensed, sans-serif;
}

/* =========================
   CALENDAR WRAPPER & GRID
========================= */

#nla-calendar-wrapper {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.3s ease;
}

#nla-calendar-wrapper.loading {
    pointer-events: none;
}

/* While loading: hide calendar grid and summary, only show spinner */
#nla-calendar-wrapper.loading #nla-calendar-block {
    opacity: 0.3;
    filter: grayscale(30%);
    transition: opacity 0.3s ease;
}

#nla-calendar-wrapper.loading #nla-calendar-loading-overlay {
    display: flex;
}

#nla-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

#nla-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.nla-day-header {
    font-weight: 600;
    text-align: center;
    font-size: 13px;
    font-family: var(--nla-font-primary);
}

/* =========================
   CALENDAR DAYS
========================= */

.nla-day {
    padding: 5px;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
}

.nla-day.past {
    background: #ddd;
    color: #999;
    cursor: default;
}

.nla-day.no-availability {
    background: #eee;
    color: #bbb;
    cursor: default;
}

.nla-day.available {
    background: var(--nla-green);
    color: white;
}

.nla-day.low-availability {
    background: var(--nla-yellow);
}

.nla-day.full {
    background: var(--nla-red);
    color: #fff;
    cursor: default;
}

.nla-day.available:hover,
.nla-day.low-availability:hover {
    transform: scale(1.05);
    transition: 0.1s ease;
}

.nla-day.available.selected-day {
    background: var(--nla-green-dark);
}

.nla-day.low-availability.selected-day {
    background: var(--nla-dark-yellow);
}

/* =========================
   TIME SLOTS
========================= */

#nla-time-slots {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.nla-timeslots-header {
    font-family: var(--nla-font-primary);
    font-size: 16px;
    font-weight: 600;
    margin-top: 12px;
    margin-bottom: 6px;
}

#nla-calendar-wrapper .nla-time-btn {
    font-family: var(--nla-font-primary) !important;
    font-weight: medium;
    padding: 8px 12px !important;
    font-size: 16px !important;
    border-radius: 4px !important;
    border: none !important;
    background: var(--nla-yellow) !important;
    color: var(--nla-dark) !important;
    cursor: pointer !important;
    transition: 0.2s ease !important;
    font-style: normal !important;
}

#nla-calendar-wrapper .nla-time-btn.selected-slot,
body.nla-lock-timeslots .nla-time-btn.selected-slot {
    background-color: var(--nla-dark) !important;
    color: var(--nla-yellow) !important;
}

body:not(.nla-lock-timeslots) #nla-calendar-wrapper .nla-time-btn:not(.nla-slot-full):hover,
#nla-prev-month:hover,
#nla-next-month:hover {
    background-color: var(--nla-dark) !important;
    color: var(--nla-yellow) !important;
}

body.nla-lock-timeslots #nla-calendar-wrapper .nla-time-btn:not(.selected-slot) {
    background: var(--nla-disabled-bg) !important;
    color: var(--nla-disabled-text) !important;
    cursor: default !important;
}

#nla-calendar-wrapper .nla-slot-full,
#nla-calendar-wrapper .nla-slot-full:hover {
    background: var(--nla-disabled-bg) !important;
    color: var(--nla-disabled-text) !important;
    cursor: default !important;
}

/* =========================
   MONTH HEADER & NAV
========================= */

#nla-month-label {
    font-family: var(--nla-font-primary);
    font-size: 16px;
    font-weight: medium;
}

#nla-prev-month,
#nla-next-month {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--nla-font-primary) !important;
    font-weight: medium;
    padding: 4px 16px !important;
    border-radius: 4px !important;
    border: none !important;
    background: var(--nla-yellow) !important;
    color: var(--nla-dark) !important;
    cursor: pointer !important;
}

/* =========================
   PRICE OPTIONS
========================= */

.nla-quantity-header {
    font-family: var(--nla-font-primary);
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 8px;
}

#nla-calendar-wrapper .nla-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

#nla-calendar-wrapper .nla-price-label {
    font-size: 14px;
    display: flex;
    align-items: center;
    flex: 1;
    font-family: var(--nla-font-primary);
}

#nla-calendar-wrapper .nla-price-amount {
    font-weight: 600;
    font-size: 15px;
}

#nla-calendar-wrapper .nla-price-amount::after {
    content: "·";
    margin: 0 6px;
    font-weight: 600;
    opacity: 0.6;
}

/* =========================
   BOOKING SUMMARY BAR
========================= */

#nla-booking-summary {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--nla-border);
    padding-top: 12px;
}

#nla-total-price {
    font-family: var(--nla-font-primary);
    font-weight: 700;
    font-size: 16px;
    min-width: 140px;
}

#nla-book-btn,
#nla-booking-form-wrapper .nla-submit-booking,
#nla-apply-promo {
    padding: 8px 16px !important;
    background: var(--nla-green) !important;
    color: white !important;
    cursor: pointer !important;
    font-size: 24px !important;
    min-width: 140px !important;
}

#nla-book-btn:hover,
#nla-booking-form-wrapper .nla-submit-booking:hover,
#nla-apply-promo:hover {
    background: var(--nla-green-dark) !important;
}

#nla-booking-form-wrapper .nla-submit-booking {
    width: 100%;
}

#nla-book-btn:disabled,
#nla-booking-form-wrapper .nla-submit-booking:disabled,
#nla-apply-promo:disabled {
    background: #ccc !important;
    cursor: not-allowed !important;
}

/* =========================
   LOADING OVERLAY & SPINNER
========================= */

#nla-calendar-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.nla-spinner {
    width: 36px;
    height: 36px;
    border: 4px solid #ddd;
    border-top: 4px solid var(--nla-yellow);
    border-radius: 50%;
    animation: nla-spin 0.8s linear infinite;
}

@keyframes nla-spin {
    to { transform: rotate(360deg); }
}

/* =========================
   FORM COMMON
========================= */

.nla-required-note {
    font-size: 13px;
    font-family: var(--nla-font-primary);
    color: #777;
    margin-bottom: 10px;
}

.required {
    color: var(--nla-red);
}

/* =========================
   SELECTION SUMMARY (collapsed calendar banner)
========================= */

#nla-selection-summary {
    margin: 12px 0 16px;
    transition: opacity 0.4s ease;
    border-top: 1px solid var(--nla-border);
    padding-top: 12px;
}

#nla-selection-summary .nla-summary-content {
    padding: 10px 14px;
    background: #f4f4f4;
    border-left: 4px solid var(--nla-yellow);
    border-radius: 6px;
}

#nla-selection-summary .nla-selected-label {
    font-family: var(--nla-font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    margin-bottom: 4px;
}

#nla-selection-summary .nla-selected-value {
    font-family: var(--nla-font-primary);
    font-weight: 700;
    font-size: 16px;
    color: var(--nla-dark);
}

#nla-selection-summary .nla-change-date {
    font-family: var(--nla-font-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--nla-green-dark);
    cursor: pointer;
    padding: 0px 0px 16px;
    margin-left: 8px;
}

#nla-selection-summary .nla-change-date:hover {
    text-decoration: underline;
}

/* =========================
   CALENDAR COLLAPSE
========================= */

#nla-calendar-block {
    transition: opacity 0.25s ease;
    opacity: 1;
}

#nla-calendar-block.collapsed {
    opacity: 0;
    pointer-events: none;
}

/* =========================
   BOOKING FORM
========================= */

#nla-booking-form-wrapper {
    display: none;
}

#nla-booking-form-wrapper.active {
    display: block;
}

.nla-booking-form-container {
    background: #ffffff;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.nla-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.nla-form-section {
    margin-bottom: 25px;
}

.nla-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

#nla-booking-form .nla-form-section .nla-form-row input,
#nla-booking-form .nla-form-section .nla-form-row select,
#nla-booking-form .nla-form-section .nla-form-row textarea {
    flex: 1;
    padding: 10px 12px !important;
    font-size: 14px !important;
    font-family: var(--nla-font-primary) !important;
    border: 1px solid var(--nla-border-input) !important;
    border-radius: 4px;
    box-shadow: none !important;
}

#nla-booking-form input::placeholder,
#nla-booking-form textarea::placeholder {
    color: #777;
    opacity: 1;
}

#nla-booking-form select {
    color: var(--nla-dark);
}

#nla-booking-form select:invalid {
    color: #777;
}

#nla-close-form {
    background-color: #ffffff !important;
    color: var(--nla-dark) !important;
    font-family: var(--nla-font-primary) !important;
    font-size: 24px !important;
    font-style: normal !important;
}

#nla-close-form:hover {
    background-color: #ffffff !important;
    color: var(--nla-dark) !important;
}

/* =========================
   SIDEBAR RECAP
========================= */

#nla-sidebar-recap .nla-recap-line {
    font-family: var(--nla-font-primary);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 6px;
    line-height: 1.5;
    color: var(--nla-dark);
}

#nla-sidebar-recap .nla-recap-discount {
    color: #444;
    font-weight: 500;
    border-top: 1px dashed var(--nla-border);
    padding-top: 6px;
    margin-top: 6px;
}

#nla-sidebar-recap .nla-recap-discount .recap-line-total {
    color: var(--nla-green-dark);
    font-weight: 600;
}

#nla-sidebar-recap .recap-line-total {
    font-weight: 600;
}

.nla-summary-note {
    font-family: var(--nla-font-primary);
    font-size: 14px;
}

/* =========================
   ICONS
========================= */

.nla-icon-lock {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: var(--nla-green-dark);
    mask: url('../icons/open-lock-icon.svg') no-repeat center;
    -webkit-mask: url('../icons/open-lock-icon.svg') no-repeat center;
    mask-size: contain;
    -webkit-mask-size: contain;
    vertical-align: middle;
    margin-right: 4px;
}

.nla-icon-arrow-left,
.nla-icon-arrow-right {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: currentColor;
    mask-size: contain;
    -webkit-mask-size: contain;
}

.nla-icon-arrow-left {
    mask: url('../icons/left_arrow.svg') no-repeat center;
    -webkit-mask: url('../icons/left_arrow.svg') no-repeat center;
}

.nla-icon-arrow-right {
    mask: url('../icons/right_arrow.svg') no-repeat center;
    -webkit-mask: url('../icons/right_arrow.svg') no-repeat center;
}

/* =========================
   FORM HEADINGS
========================= */

#nla-booking-form-wrapper .nla-form-header h3,
#nla-booking-form-wrapper .nla-form-section h4 {
    font-family: var(--nla-font-heading);
    font-style: italic;
    color: var(--nla-dark);
}

#nla-booking-form-wrapper .nla-form-header h3 {
    font-size: 54px;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--nla-yellow);
    text-decoration-thickness: 5px;
}

#nla-booking-form-wrapper .nla-form-section h4 {
    font-size: 28px;
}

#nla-booking-form-wrapper .nla-recap-total {
    font-family: var(--nla-font-primary);
    font-size: 18px;
    font-weight: 700;
    margin-top: 12px;
}

/* =========================
   SIDEBAR RECAP (continued)
========================= */

#nla-sidebar-recap {
    max-height: 100%;
    overflow-y: auto;
    padding-right: 6px;
}

#nla-sidebar-recap::-webkit-scrollbar {
    width: 6px;
}

#nla-sidebar-recap::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

#nla-sidebar-recap .nla-recap-extras-title {
    margin-top: 12px;
    font-weight: 600;
    font-size: 14px;
    opacity: 0.7;
}

#nla-sidebar-recap .nla-recap-extra-line {
    padding-left: 8px;
}

#nla-sidebar-recap .nla-recap-total {
    font-family: var(--nla-font-primary);
    font-size: 18px;
    font-weight: 700;
    margin-top: 10px;
}

#nla-sidebar-recap .nla-recap-edit {
    margin: 6px 0 6px 0;
}

#nla-sidebar-recap #nla-edit-quantities {
    font-family: var(--nla-font-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--nla-green-dark);
    cursor: pointer;
}

#nla-sidebar-recap #nla-edit-quantities:hover {
    text-decoration: underline;
}

#nla-sidebar-recap .nla-recap-title {
    font-family: var(--nla-font-primary);
    font-size: 16px;
    font-weight: 600;
    margin-top: 12px;
    margin-bottom: 6px;
}

/* =========================
   THIRD-PARTY PARTNER NOTICE
   ========================= */

#nla-third-party-notice {
    display: none;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    margin: 4px 0 4px;
    border-radius: 4px;
    font-family: var(--nla-font-secondary);
    font-size: 12px;
    line-height: 1.5;
    color: #5a5a5a;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#nla-third-party-notice.nla-tp-visible {
    display: flex;
    opacity: 1;
}

#nla-third-party-notice .nla-tp-icon {
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    color: #d9534f;
}

#nla-third-party-notice .nla-tp-text {
    flex: 1;
}

/* =========================
   QUANTITY STEPPERS (shared)
========================= */

#nla-price-options .nla-stepper,
#nla-extras-section .nla-stepper {
    display: flex;
    align-items: center;
    border: 1px solid var(--nla-border);
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
    min-width: 110px;
}

#nla-extras-section .nla-stepper {
    justify-content: space-between;
}

.nla-stepper button:disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
}

#nla-price-options .nla-stepper-minus,
#nla-price-options .nla-stepper-plus,
#nla-extras-section .nla-stepper-minus,
#nla-extras-section .nla-stepper-plus {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--nla-yellow);
    color: var(--nla-dark);
    font-family: var(--nla-font-primary) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    font-style: normal !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#nla-price-options .nla-stepper-minus,
#nla-extras-section .nla-stepper-minus {
    border-right: 1px solid var(--nla-border);
}

#nla-price-options .nla-stepper-plus,
#nla-extras-section .nla-stepper-plus {
    border-left: 1px solid var(--nla-border);
}

#nla-price-options .nla-stepper-plus:hover,
#nla-price-options .nla-stepper-minus:hover,
#nla-extras-section .nla-stepper-minus:hover,
#nla-extras-section .nla-stepper-plus:hover {
    background: var(--nla-dark);
    color: var(--nla-yellow);
}

#nla-price-options .nla-stepper-value {
    width: 40px;
    text-align: center;
    font-family: var(--nla-font-primary);
    font-size: 16px;
    font-weight: 700;
}

#nla-extras-section .nla-extra-stepper {
    min-width: 110px;
}

/* =========================
   MONTH PICKER
========================= */

.nla-month-clickable {
    cursor: pointer;
    position: relative;
    padding-right: 16px;
}

.nla-month-clickable::after {
    content: "\25BC";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    opacity: 0.6;
    font-family: var(--nla-font-primary);
}

#nla-month-picker {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 1px solid var(--nla-border);
    border-radius: 10px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.12);
    padding: 20px 22px;
    z-index: 50;
}

.nla-month-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.nla-year-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--nla-font-primary) !important;
    font-weight: medium;
    padding: 4px 16px !important;
    border-radius: 4px !important;
    border: none !important;
    background: var(--nla-yellow) !important;
    color: var(--nla-dark) !important;
    cursor: pointer !important;
}

.nla-year-nav:hover {
    background-color: var(--nla-dark) !important;
    color: var(--nla-yellow) !important;
}

#nla-picker-year {
    font-family: var(--nla-font-primary);
    font-size: 16px;
    font-weight: 700;
}

.nla-month-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.nla-month-item {
    padding: 8px 10px;
    text-align: center;
    font-family: var(--nla-font-primary);
    font-size: 14px;
    border-radius: 6px;
    background: var(--nla-yellow);
    color: var(--nla-dark);
    cursor: pointer;
    transition: 0.15s ease;
}

.nla-month-item:hover {
    background: var(--nla-dark);
    color: var(--nla-yellow);
}

.nla-month-item.disabled {
    background: var(--nla-disabled-bg);
    color: var(--nla-disabled-text);
    cursor: default;
}

.nla-month-item.current {
    background: var(--nla-dark-yellow);
}

/* =========================
   ACF CHECKBOX LAYOUT
========================= */

#nla-booking-form .nla-form-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--nla-font-primary);
    font-size: 16px;
}

#nla-booking-form .nla-form-row input[type="checkbox"] {
    width: auto;
    flex: none;
    margin: 0;
}

/* =========================
   UTILITY
========================= */

.nla-hidden {
    display: none !important;
}

/* =========================
   PROMO CODE
========================= */

#nla-promo-section {
    margin-top: 12px;
}

#nla-promo-input {
    width: 180px;
    max-width: 180px;
    padding: 10px 12px !important;
    font-family: var(--nla-font-primary);
    font-size: 14px;
    border: 1px solid var(--nla-border-input);
    border-radius: 4px;
}

#nla-promo-feedback {
    font-family: var(--nla-font-primary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#nla-promo-feedback.success {
    color: #2e7d32;
}

#nla-promo-feedback.error {
    color: var(--nla-red);
}

#nla-remove-promo {
    margin-top: -1px;
    font-family: var(--nla-font-primary) !important;
    font-size: 18px !important;
    font-style: normal !important;
    border: none !important;
    background: none !important;
    cursor: pointer !important;
    color: #999;
    line-height: 1;
}

#nla-remove-promo:hover {
    color: var(--nla-red);
}

/* =========================
   EXTRAS LAYOUT
========================= */

#nla-extras-section .nla-extra-row {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    padding: 14px 16px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    margin-bottom: 16px;
    background: #fff;
    transition: all 0.25s ease;
}

#nla-extras-section .nla-extra-row.nla-extra-active {
    border-color: #111;
    background: #f9fafb;
}

#nla-extras-section .nla-extra-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#nla-extras-section .nla-extra-title {
    font-size: 16px;
    font-weight: 600;
}

#nla-extras-section .nla-extra-description {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    opacity: 0.8;
}

#nla-extras-section .nla-extra-bottom {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 6px;
}

#nla-extras-section .nla-extra-price {
    font-weight: 600;
    font-size: 15px;
}

#nla-extras-section .nla-extra-qty-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

#nla-extras-section .nla-extra-added-indicator {
    min-width: 70px;
    font-size: 13px;
    font-weight: 600;
    color: #2e7d32;
    visibility: hidden;
}

#nla-extras-section .nla-extra-right {
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#nla-extras-section .nla-extra-right img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
}

/************************************
********** THANK YOU PAGE ***********
************************************/

#nla-confirmation-wrapper {
    max-width: 820px;
    margin: 60px auto;
    padding: 0 20px;
}

.nla-confirmation-card {
    background: #ffffff;
    border-left: 6px solid var(--nla-yellow);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 40px;
}

.nla-confirmation-header h2 {
    font-family: var(--nla-font-heading);
    font-size: 30px;
    font-weight: 600;
    margin: 0 0 8px 0;
}



.nla-booking-ref {
    font-family: var(--nla-font-primary);
    font-size: 15px;
    color: #666;
}

#nla-order {
    font-weight: 700;
    color: var(--nla-dark);
}

.nla-divider {
    height: 1px;
    background: var(--nla-border);
    margin: 30px 0;
}

#nla-confirmation-wrapper .nla-section-heading {
    font-family: var(--nla-font-heading);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #888;
}

.nla-tour-name {
    font-family: var(--nla-font-heading);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--nla-dark);
}

.nla-detail-row {
    font-family: var(--nla-font-primary);
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 12px;
}

.nla-detail-row span {
    color: #666;
}

.nla-detail-row strong {
    font-weight: 700;
    color: var(--nla-dark);
}

.nla-detail-row.nla-discount-row {
    border-top: 1px dashed var(--nla-border);
    padding-top: 10px;
    margin-top: 10px;
}

.nla-detail-row.nla-discount-row strong {
    color: var(--nla-green-dark);
}

.nla-payment-total {
    font-family: var(--nla-font-primary);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--nla-dark);
}

.nla-transaction {
    font-family: var(--nla-font-primary);
    font-size: 14px;
    color: #777;
    margin-top: 6px;
}

.nla-tour-info-text {
    margin-top: 10px;
    line-height: 1.6;
}

/* === Structured Offer Block === */

.nla-offer-block {
    background: linear-gradient(135deg, #fafdf8 0%, #f3f9f0 100%);
    border: 1px solid #d6e8cc;
    border-left: 5px solid var(--nla-green-dark);
    border-radius: 10px;
    padding: 28px 32px;
    margin-top: 36px;
    position: relative;
}

.nla-offer-label {
    display: inline-block;
    font-family: var(--nla-font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--nla-green-dark);
    margin-bottom: 10px;
}

.nla-offer-title {
    font-family: var(--nla-font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--nla-dark);
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.nla-offer-body {
    font-family: var(--nla-font-primary);
    font-size: 15px;
    color: #444;
    line-height: 1.65;
    margin: 0 0 18px 0;
}

.nla-offer-code-wrap {
    margin: 0 0 14px 0;
}

.nla-offer-code {
    display: inline-block;
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--nla-dark);
    background: #fff;
    border: 2px dashed var(--nla-green-dark);
    border-radius: 8px;
    padding: 12px 24px;
}

.nla-offer-note {
    font-family: var(--nla-font-primary);
    font-size: 13px;
    color: #777;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .nla-offer-block {
        padding: 22px 20px;
        margin-top: 28px;
    }

    .nla-offer-title {
        font-size: 19px;
    }

    .nla-offer-code {
        font-size: 18px;
        padding: 10px 18px;
    }
}

.nla-confirmation-next {
    background: #f9f9f9;
    border-left: 6px solid var(--nla-yellow);
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    border-radius: 8px;
    padding: 35px 40px;
    margin-top: 40px;
}

.nla-confirmation-next h4 {
    font-family: var(--nla-font-heading);
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 18px 0;
}

.nla-confirmation-next p {
    font-family: var(--nla-font-primary);
    font-size: 15px;
    color: #555;
    margin-bottom: 12px;
}

.nla-confirmation-next #spam-folder {
    font-style: italic;
    font-size: 14px;
    color: #888;
}

/* =============================================
   PICKUP LOCATION — Google Maps
   ============================================= */

/* Block that holds the toggle link + map (sits below the input row) */
.nla-pickup-block {
    margin-top: -8px;
    margin-bottom: 15px;
}

.nla-pickup-map-toggle {
    display: inline-block;
    font-family: var(--nla-font-primary);
    font-size: 12px;
    color: #888;
    text-decoration: none !important;
    cursor: pointer;
    transition: color 0.2s;
}

.nla-pickup-map-toggle:before {
    content: '📍 ';
}

.nla-pickup-map-toggle:hover {
    color: var(--nla-green-dark);
    text-decoration: underline;
}

.nla-pickup-map {
    width: 100%;
    height: 240px;
    margin-top: 8px;
    border-radius: 8px;
    border: 1px solid var(--nla-border-input);
    overflow: hidden;
}

/* Google Places dropdown — keep on top of everything */
.pac-container {
    z-index: 99999 !important;
    font-family: var(--nla-font-primary) !important;
    font-size: 14px !important;
    border: 1px solid var(--nla-border-input) !important;
    border-top: none !important;
    border-radius: 0 0 6px 6px !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10) !important;
}

.pac-item {
    padding: 8px 12px !important;
    cursor: pointer;
}

.pac-item:hover {
    background: #f5f5f5 !important;
}

/* ===========================================================
   MOBILE STYLES (max-width: 767px)
   =========================================================== */

@media (max-width: 767px) {

    /* ----- Loading state: hide everything except spinner ----- */
    #nla-calendar-wrapper.loading #nla-calendar-block,
    #nla-calendar-wrapper.loading #nla-booking-summary {
        visibility: hidden;
        height: 0;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }

    #nla-calendar-wrapper.loading #nla-calendar-loading-overlay {
        position: relative;
        min-height: 120px;
    }

    #nla-calendar-wrapper.loading::after {
        content: 'Loading availability…';
        display: block;
        text-align: center;
        font-family: var(--nla-font-primary);
        font-size: 14px;
        color: #888;
        padding-bottom: 16px;
    }

    /* ----- Force calendar full width through entire chain ----- */
    #nla-sidebar-mobile,
    #nla-sidebar-mobile > *,
    #nla-calendar-wrapper,
    #nla-calendar-block,
    #nla-calendar-header,
    #nla-calendar-grid {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #nla-sidebar-mobile > #nla-calendar-wrapper {
        padding: 0 12px;
        overflow: visible;
    }

    #nla-calendar-grid {
        gap: 3px;
    }

    .nla-day {
        padding: 8px 2px;
        font-size: 14px;
    }

    .nla-day-header {
        font-size: 12px;
    }

    /* ----- Booking summary bar: full width, 50/50 ----- */
    #nla-booking-summary {
        display: flex;
        width: 100% !important;
        gap: 0;
        padding: 12px 0;
        margin-top: 8px;
    }

    #nla-total-price {
        flex: 1;
        text-align: left;
        font-size: 15px;
        min-width: 0;
    }

    #nla-book-btn {
        flex: 1;
        min-width: 0 !important;
        font-size: 20px !important;
        padding: 10px 8px !important;
        text-align: center;
    }

    /* ----- Selection summary ----- */
    #nla-selection-summary {
        margin: 8px 0 12px;
    }

    /* ----- Time slots ----- */
    .nla-timeslots-header {
        padding: 0;
    }

    #nla-time-slots {
        padding: 0;
    }

    /* ----- Price options ----- */
    .nla-quantity-header {
        padding: 0;
    }

    #nla-price-options {
        padding: 0;
    }

    /* ----- Month picker fullscreen on mobile ----- */
    #nla-month-picker {
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 16px);
        box-sizing: border-box;
    }

    /* =========================================
       BOOKING FORM — mobile overrides
       ========================================= */

    #nla-booking-form-wrapper {
        width: 100vw !important;
        background: #ffffff;
        margin-left: calc(-50vw + 50%) !important;
        box-sizing: border-box;
        align-items: center !important;
    }

    .nla-booking-form-container {
        background: transparent;
        padding: 20px 16px;
        box-shadow: none;
        border-radius: 0;
        max-width: 600px;
        margin: 0 auto;
    }

    /* Form heading */
    #nla-booking-form-wrapper .nla-form-header h3 {
        font-size: 32px;
    }

    #nla-booking-form-wrapper .nla-form-section h4 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    /* Single column: stack all form rows */
    .nla-form-row {
        flex-direction: column;
        gap: 10px;
    }

    /* Keep checkbox rows horizontal */
    .nla-form-row:has(input[type="checkbox"]),
    .nla-form-row:has(label) {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    /* Form inputs sizing */
    #nla-booking-form .nla-form-section .nla-form-row input,
    #nla-booking-form .nla-form-section .nla-form-row select,
    #nla-booking-form .nla-form-section .nla-form-row textarea {
        width: 100%;
        font-size: 16px !important;
        padding: 12px 14px !important;
    }

    /* Checkbox inputs: do NOT stretch full width */
    #nla-booking-form .nla-form-section .nla-form-row input[type="checkbox"] {
        width: auto !important;
        flex: none !important;
        padding: 0 !important;
        margin-top: 2px;
    }

    .nla-form-section {
        margin-bottom: 20px;
    }

    .nla-required-note {
        font-size: 12px;
        margin-bottom: 8px;
    }

    /* ACF checkbox labels — force horizontal, align top */
    #nla-booking-form .nla-form-row label {
        flex-direction: row !important;
        align-items: flex-start !important;
        font-size: 14px;
        line-height: 1.4;
        gap: 10px;
    }

    #nla-booking-form .nla-form-row label input[type="checkbox"] {
        flex-shrink: 0;
        margin-top: 3px;
    }

    /* ----- Extras: picture below, full-width cards ----- */
    #nla-extras-section .nla-extra-row {
        flex-direction: column;
        gap: 12px;
        padding: 12px 14px;
    }

    #nla-extras-section .nla-extra-right {
        width: 100%;
        justify-content: center;
    }

    #nla-extras-section .nla-extra-right img {
        width: 100%;
        height: auto;
        max-height: 200px;
        border-radius: 8px;
        object-fit: cover;
    }

    /* ----- Promo section ----- */
    #nla-promo-section .nla-form-row {
        flex-direction: row;
        gap: 10px;
    }

    #nla-promo-input {
        flex: 1;
        width: auto;
        max-width: none;
        font-size: 16px !important;
    }

    #nla-apply-promo {
        font-size: 18px !important;
        padding: 10px 16px !important;
        min-width: auto !important;
        white-space: nowrap;
    }

    /* ----- Terms: use inline flow, NOT flex, so text wraps naturally ----- */
    .nla-terms-section .nla-terms-label {
        display: block !important;
        font-size: 14px;
        line-height: 1.6;
    }

    .nla-terms-section .nla-terms-label input[type="checkbox"] {
        display: inline !important;
        width: auto !important;
        vertical-align: middle;
        margin-right: 6px;
        position: relative;
        top: -1px;
    }

    /* ----- Submit button ----- */
    .nla-form-actions {
        padding: 0;
    }

    #nla-booking-form-wrapper .nla-submit-booking {
        font-size: 20px !important;
        padding: 14px 16px !important;
    }

    .nla-summary-note {
        font-size: 13px;
        text-align: center;
        margin-top: 10px;
    }

    /* ----- Sidebar recap ----- */
    #nla-sidebar-recap {
        padding: 0;
    }

    #nla-sidebar-recap .nla-recap-total {
        font-size: 16px;
    }

    /* ----- Pickup map ----- */
    .nla-pickup-map {
        height: 200px;
    }

    /* ----- Close form button ----- */
    #nla-close-form {
        font-size: 28px !important;
        padding: 4px 8px !important;
    }

    .nla-confirmation-header h2 {
        font-size: 22px !important;
    }
}

/* =========================
   RECOVERY OVERLAY
========================= */

#nla-recovery-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.96);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nla-recovery-content {
    text-align: center;
    max-width: 420px;
    padding: 40px 24px;
}

.nla-recovery-content .nla-spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
}

.nla-recovery-content h3 {
    font-family: var(--nla-font-heading);
    font-size: 28px;
    font-weight: 600;
    color: var(--nla-dark);
    margin: 0 0 12px;
}

.nla-recovery-content p {
    font-family: var(--nla-font-primary);
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 8px;
}

.nla-recovery-note {
    font-weight: 600;
    color: var(--nla-green-dark) !important;
}