.fc-booking-form {
    --fc-sand: #f6efe2;
    --fc-moss: #284b3f;
    --fc-moss-soft: #3d6a57;
    --fc-cream: #fffdf8;
    --fc-border: #ddd3c3;
    --fc-ink: #1f2933;
    --fc-muted: #61717f;
    --fc-accent: #d77a27;
    display: block;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}

.fc-booking-form,
.fc-booking-form * {
    box-sizing: border-box;
}

.fc-booking-hero {
    margin-bottom: 24px;
    padding: 28px;
    border: 1px solid var(--fc-border);
    border-radius: 28px;
    background: radial-gradient(circle at top left, #fff7ec, var(--fc-cream) 55%);
    box-shadow: 0 18px 40px rgba(40, 75, 63, 0.08);
}

.fc-booking-eyebrow,
.fc-booking-card__label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fc-moss-soft);
    font-weight: 700;
}

.fc-booking-hero h2,
.fc-booking-card h3 {
    margin: 0 0 10px;
    color: var(--fc-moss);
}

.fc-booking-hero p,
.fc-booking-card p {
    margin: 0;
    color: var(--fc-muted);
}

.fc-booking-delivery-notice {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    border: 1px solid rgba(215, 122, 39, 0.28);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 244, 234, 0.9) 0%, rgba(255, 253, 248, 0.95) 100%);
}

.fc-booking-delivery-notice strong,
.fc-booking-delivery-notice p {
    margin: 0;
}

.fc-booking-delivery-notice strong {
    color: var(--fc-moss);
}

.fc-booking-delivery-notice--hero {
    margin-top: 18px;
}

.fc-booking-delivery-notice--checkout {
    margin: 0 0 20px;
}

.fc-booking-policy-notice {
    display: grid;
    gap: 10px;
    padding: 16px 18px;
    border: 1px solid rgba(40, 75, 63, 0.12);
    border-radius: 18px;
    background: rgba(255, 253, 248, 0.96);
}

.fc-booking-policy-notice--hero {
    margin-top: 18px;
}

.fc-booking-policy-notice--checkout {
    margin: 0 0 20px;
}

.fc-booking-policy-notice--shortcode {
    margin: 0 0 28px;
    padding: 22px 24px;
    border-width: 2px;
    border-color: rgba(215, 122, 39, 0.45);
    border-radius: 22px;
    background: #fff7ec;
    box-shadow: 0 16px 36px rgba(215, 122, 39, 0.12);
}

.fc-booking-policy-notice__title {
    display: block;
    margin: 0 0 4px;
    color: var(--fc-moss);
    font-size: 1.15rem;
    line-height: 1.3;
}

.fc-booking-policy-notice p {
    margin: 0;
    color: var(--fc-ink);
    line-height: 1.65;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row {
    margin: 0;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-last {
    float: none;
    width: auto;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide {
    grid-column: 1 / -1;
}

.fc-checkout-order-comments {
    margin: 0 0 18px;
    padding: 16px 18px;
    border: 1px solid var(--fc-border);
    border-radius: 18px;
    background: rgba(255, 253, 248, 0.96);
}

.fc-checkout-order-comments .form-row {
    margin: 0;
}

.fc-checkout-order-comments label {
    display: block;
    margin: 0 0 10px;
    color: var(--fc-ink);
    font-weight: 700;
}

.fc-checkout-order-comments textarea {
    min-height: 110px;
    resize: vertical;
}

.fc-checkout-terms {
    margin: 0 0 24px;
    padding: 16px 18px;
    border: 1px solid var(--fc-border);
    border-radius: 18px;
    background: rgba(255, 253, 248, 0.96);
}

.fc-checkout-terms .form-row {
    margin: 0;
}

.fc-checkout-terms .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    color: var(--fc-ink);
    font-weight: 600;
    line-height: 1.5;
}

.fc-checkout-terms .woocommerce-form__input-checkbox {
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    accent-color: var(--fc-moss-soft);
    flex: 0 0 18px;
}

.fc-checkout-terms a {
    color: var(--fc-moss-soft);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.fc-checkout-terms a:hover,
.fc-checkout-terms a:focus-visible {
    color: var(--fc-accent);
}

.fc-booking-slot-list {
    display: grid;
    gap: 18px;
}

.fc-booking-day {
    border: 1px solid var(--fc-border);
    border-radius: 24px;
    background: rgba(255, 253, 248, 0.9);
    box-shadow: 0 18px 40px rgba(40, 75, 63, 0.06);
    overflow: hidden;
}

.fc-booking-day.is-active {
    border-color: rgba(215, 122, 39, 0.3);
}

.fc-booking-day__toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(246, 239, 226, 0.92) 100%);
    text-align: left;
    cursor: pointer;
}

.fc-booking-day__toggle-copy,
.fc-booking-day__toggle-meta {
    display: grid;
    gap: 6px;
}

.fc-booking-day__toggle-copy strong {
    color: var(--fc-moss);
    font-size: 1.15rem;
}

.fc-booking-day__toggle-copy span:last-child,
.fc-booking-day__slot-count,
.fc-booking-day__toggle-label {
    color: var(--fc-muted);
}

.fc-booking-day__toggle-meta {
    justify-items: end;
    text-align: right;
}

.fc-booking-day__toggle-label {
    font-weight: 700;
    color: var(--fc-moss);
}

.fc-booking-day__slots {
    display: grid;
    gap: 16px;
    padding: 0 16px 16px;
}

.fc-booking-day__slots[hidden] {
    display: none;
}

.fc-booking-day .fc-booking-card {
    box-shadow: none;
}

.fc-booking-date-picker {
    margin-bottom: 22px;
    padding: 16px;
    border: 1px solid var(--fc-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(40, 75, 63, 0.06);
}

.fc-booking-date-picker__label {
    display: block;
    color: var(--fc-moss);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fc-booking-date-picker__header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
    align-items: flex-start;
}

.fc-booking-date-picker__hint {
    margin: 8px 0 0;
    color: var(--fc-muted);
}

.fc-booking-date-picker__summary {
    min-width: 220px;
    padding: 12px 14px;
    border: 1px solid rgba(40, 75, 63, 0.12);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 247, 236, 0.92) 0%, rgba(255, 253, 248, 0.98) 100%);
}

.fc-booking-date-picker__summary strong,
.fc-booking-date-picker__summary span {
    display: block;
}

.fc-booking-date-picker__summary strong {
    color: var(--fc-moss);
}

.fc-booking-date-picker__summary span {
    margin-top: 4px;
    color: var(--fc-muted);
}

.fc-booking-calendar {
    position: relative;
}

.fc-booking-calendar__month {
    padding: 14px;
    border: 1px solid rgba(40, 75, 63, 0.1);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(246, 239, 226, 0.75) 100%);
    scroll-margin-top: 24px;
}

.fc-booking-calendar__month[hidden] {
    display: none;
}

.fc-booking-calendar__month-header {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.fc-booking-calendar__month-header strong {
    color: var(--fc-moss);
    font-size: 1.05rem;
    text-transform: capitalize;
    text-align: center;
}

.fc-booking-calendar__nav-arrow {
    width: 42px;
    height: 42px;
    border: 1px solid var(--fc-border);
    border-radius: 14px;
    background: #fff;
    color: var(--fc-moss);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.fc-booking-calendar__nav-arrow span {
    font-size: 1.5rem;
    line-height: 1;
}

.fc-booking-calendar__weekdays span {
    color: var(--fc-muted);
}

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

.fc-booking-calendar__weekdays {
    margin-bottom: 6px;
}

.fc-booking-calendar__weekdays span {
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.fc-booking-date-chip {
    border: 1px solid var(--fc-border);
    border-radius: 16px;
    background: var(--fc-cream);
    padding: 12px 14px;
    text-align: left;
    cursor: pointer;
}

.fc-booking-calendar__day {
    min-height: 58px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
    padding: 8px 4px;
}

.fc-booking-calendar__day--empty {
    border-color: transparent;
    background: transparent;
    pointer-events: none;
}

.fc-booking-calendar__day--disabled {
    background: rgba(255, 255, 255, 0.6);
    color: #a2afa8;
    cursor: default;
}

.fc-booking-calendar__day-weekday {
    color: var(--fc-muted);
    font-size: 10px;
    text-transform: uppercase;
}

.fc-booking-calendar__day-number {
    color: var(--fc-ink);
    font-size: 1rem;
    line-height: 1;
}

.fc-booking-date-chip.is-active {
    border-color: var(--fc-accent);
    background: #fff4ea;
    box-shadow: 0 0 0 3px rgba(215, 122, 39, 0.16);
}

.fc-booking-date-chip.is-active .fc-booking-calendar__day-weekday,
.fc-booking-date-chip.is-active .fc-booking-calendar__day-number {
    color: var(--fc-moss);
}

.fc-booking-card {
    border: 1px solid var(--fc-border);
    border-radius: 24px;
    background: var(--fc-cream);
    box-shadow: 0 18px 40px rgba(40, 75, 63, 0.08);
    overflow: hidden;
    scroll-margin-top: 24px;
}

.fc-booking-card.is-open {
    border-color: rgba(215, 122, 39, 0.45);
}

.fc-booking-card__header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    padding: 22px 24px 14px;
}

.fc-booking-card__header h3 {
    margin-bottom: 6px;
}

.fc-booking-card__toggle {
    border: 0;
    border-radius: 16px;
    padding: 14px 18px;
    min-width: 140px;
    background: linear-gradient(135deg, var(--fc-moss), var(--fc-moss-soft));
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.fc-booking-card__availability,
.fc-booking-card__prices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 0 24px 16px;
}

.fc-booking-stat,
.fc-booking-card__prices span {
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--fc-border);
    padding: 14px 16px;
}

.fc-booking-stat {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.fc-booking-stat__name,
.fc-booking-card__prices span {
    color: var(--fc-muted);
}

.fc-booking-stat strong {
    color: var(--fc-ink);
}

.fc-booking-card__panel {
    display: none;
    padding: 0 24px 24px;
}

.fc-booking-card__panel.is-open {
    display: block;
}

.fc-purchase-form {
    border-top: 1px solid var(--fc-border);
    padding-top: 20px;
}

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

.fc-ticket-counter label {
    display: block;
    margin-bottom: 10px;
    color: var(--fc-ink);
    font-weight: 700;
}

.fc-counter-input {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    border: 1px solid var(--fc-border);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.fc-counter-input button {
    border: 0;
    background: var(--fc-sand);
    color: var(--fc-moss);
    font-size: 22px;
    cursor: pointer;
}

.fc-counter-input input {
    border: 0;
    text-align: center;
    min-height: 48px;
    font-size: 16px;
    color: var(--fc-ink);
}

.fc-addon-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid var(--fc-border);
    border-radius: 18px;
    padding: 16px 18px;
    background: #fff;
    cursor: pointer;
    margin-bottom: 16px;
}

.fc-addon-option strong,
.fc-addon-option small {
    display: block;
}

.fc-addon-option small {
    margin-top: 4px;
    color: var(--fc-muted);
}

.fc-purchase-summary {
    background: #fff;
    border: 1px solid var(--fc-border);
    border-radius: 18px;
    padding: 16px 18px;
}

.fc-purchase-summary__list {
    margin: 0;
    display: grid;
    gap: 12px;
}

.fc-purchase-summary__list div,
.fc-purchase-summary__total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.fc-purchase-summary__list dt,
.fc-purchase-summary__list dd,
.fc-purchase-summary__total span,
.fc-purchase-summary__total strong {
    margin: 0;
}

.fc-purchase-summary__list dt,
.fc-purchase-summary__list dd {
    color: var(--fc-muted);
}

.fc-purchase-summary__total {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--fc-border);
    color: var(--fc-moss);
    align-items: center;
}

.fc-booking-submit {
    width: 100%;
    margin-top: 16px;
    border: 0;
    border-radius: 16px;
    padding: 15px 18px;
    background: linear-gradient(135deg, var(--fc-moss), var(--fc-moss-soft));
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.fc-booking-empty {
    padding: 24px;
    border-radius: 18px;
    border: 1px solid var(--fc-border);
    background: var(--fc-cream);
}

@media (max-width: 1024px) {
    .fc-booking-card__header,
    .fc-booking-card__availability,
    .fc-booking-card__prices,
    .fc-purchase-form__grid {
        grid-template-columns: 1fr;
    }

    .fc-booking-card__header {
        display: grid;
    }
}

@media (max-width: 640px) {
    body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr;
    }

    .fc-booking-form {
        max-width: 100%;
        overflow-x: clip;
    }

    .fc-booking-date-picker {
        padding: 14px;
        border-radius: 20px;
    }

    .fc-booking-date-picker__header {
        display: grid;
    }

    .fc-booking-date-picker__summary {
        min-width: 0;
    }

    .fc-booking-day__toggle {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .fc-booking-day__toggle-meta {
        justify-items: start;
        text-align: left;
    }

    .fc-booking-day__slots {
        padding: 0 12px 12px;
    }

    .fc-booking-calendar__month {
        padding: 12px;
        border-radius: 18px;
    }

    .fc-booking-calendar__weekdays,
    .fc-booking-calendar__grid {
        gap: 6px;
    }

    .fc-booking-calendar__day {
        min-height: 54px;
        padding: 6px 3px;
    }

    .fc-booking-hero,
    .fc-booking-card__header,
    .fc-booking-card__availability,
    .fc-booking-card__prices,
    .fc-booking-card__panel {
        padding-left: 18px;
        padding-right: 18px;
    }

    .fc-booking-hero {
        padding-top: 22px;
        padding-bottom: 22px;
        border-radius: 22px;
    }

    .fc-booking-card {
        border-radius: 20px;
    }

    .fc-booking-day {
        border-radius: 20px;
    }

    .fc-booking-card__header {
        gap: 14px;
    }

    .fc-booking-card__header > * {
        min-width: 0;
    }

    .fc-booking-card__availability,
    .fc-booking-card__prices,
    .fc-purchase-form__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .fc-booking-stat,
    .fc-purchase-summary__list div,
    .fc-purchase-summary__total {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .fc-counter-input {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
    }

    .fc-addon-option,
    .fc-purchase-summary {
        padding: 14px 16px;
    }

    .fc-booking-card__toggle {
        width: 100%;
        min-width: 0;
        padding: 13px 16px;
    }
}

@media (max-width: 480px) {
    .fc-booking-calendar__month-header {
        grid-template-columns: 38px minmax(0, 1fr) 38px;
    }

    .fc-booking-calendar__nav-arrow {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .fc-booking-calendar__weekdays span {
        font-size: 11px;
    }

    .fc-booking-calendar__day-weekday {
        font-size: 9px;
    }

    .fc-booking-calendar__day-number {
        font-size: 0.95rem;
    }
}