.booking-hero {
    max-width: 1180px;
    min-height: 300px;
    margin: 0 auto;
    padding: 70px max(28px, 5.5vw) 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--page);
    text-align: center;
}

.booking-hero-copy {
    max-width: 1000px;
    margin: 0 auto;
}

.booking-hero .eyebrow {
    margin: 0 0 17px;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.07em;
}

.booking-hero h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(48px, 5vw, 72px);
    line-height: 1.03;
    letter-spacing: -0.065em;
}

.booking-hero-copy > p:not(.eyebrow) {
    margin: 22px auto 0;
    max-width: none;
    color: var(--secondary);
    font-size: 18px;
    line-height: 1.5;
    white-space: nowrap;
}

.booking-section {
    max-width: 1180px;
    margin: 25px auto 75px;
    padding: 55px 55px 60px;
    background: #ffffff;
    border: 1px solid #e2e2e5;
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.booking-heading {
    margin-bottom: 30px;
}

.booking-heading .eyebrow {
    margin: 0 0 12px;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.07em;
}

.booking-heading h2 {
    margin: 0;
    color: var(--ink);
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -1.2px;
}

.booking-heading .title-line {
    display: block;
    width: 46px;
    height: 4px;
    margin: 14px 0 0;
    border-radius: 3px;
    background: var(--blue);
}

.booking-actions {
    margin-bottom: 30px;
}

.booking-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 23px;
    border: none;
    border-radius: 999px;
    background: var(--blue);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    transition: background 0.2s, transform 0.2s;
}

.booking-button:hover {
    background: #219BE8;
    color: #ffffff;
    filter: brightness(0.92);
    transform: scale(1.02);
}

.booking-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e2e2e5;
    border-radius: 18px;
    background: #ffffff;
}

.booking-table {
    width: 100%;
    min-width: 850px;
    border-collapse: collapse;
}

.booking-table thead {
    background: #f5f5f7;
}

.booking-table th {
    padding: 16px 18px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    border-bottom: 1px solid #e2e2e5;
    white-space: nowrap;
}

.booking-table td {
    padding: 17px 18px;
    color: var(--secondary);
    font-size: 14px;
    border-bottom: 1px solid #eeeeef;
    white-space: nowrap;
}

.booking-table tbody tr:last-child td {
    border-bottom: none;
}

.booking-table tbody tr:hover {
    background: #fafafa;
}

.booking-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 999px;
    background: #f0f0f2;
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
}

.booking-actions-cell {
    display: flex;
    gap: 14px;
}

.booking-actions-cell a {
    color: var(--blue);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

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

.no-bookings {
    padding: 55px 30px;
    border: 1px solid #e2e2e5;
    border-radius: 20px;
    background: #f5f5f7;
    text-align: center;
}

.no-bookings h3 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 22px;
}

.no-bookings p {
    margin: 0 0 20px;
    color: var(--secondary);
    font-size: 15px;
    line-height: 1.5;
}

.text-link {
    color: var(--blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.text-link:hover {
    text-decoration: underline;
}

.booking-form {
    max-width: 700px;
}

.form-field {
    margin-bottom: 22px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}

.form-field input:not([type="checkbox"]),
.form-field select {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #d8d8dc;
    border-radius: 12px;
    background: #ffffff;
    color: var(--ink);
    font-family: inherit;
    font-size: 15px;
    box-sizing: border-box;
}

.form-field input:not([type="checkbox"]):focus,
.form-field select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(33, 155, 232, 0.14);
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 30px;
}

.form-actions .button {
    border: none;
    cursor: pointer;
}

.form-field input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    accent-color: var(--blue);
}

.booking-form .form-field:has(> input[type="checkbox"]) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 44px;
    padding: 12px 16px;
    box-sizing: border-box;
    border: 1px solid #e2e2e5;
    border-radius: 12px;
    background: #ffffff;
}

.booking-form .form-field:has(> input[type="checkbox"]) label {
    margin: 0;
    flex: 1;
}

.booking-form .form-field:has(> input[type="checkbox"]) input[type="checkbox"] {
    flex: 0 0 18px;
}

.addons-section {
    display: block;
    margin-top: 28px;
}

.addons-section > label {
    display: block;
    margin-bottom: 14px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}

.addon-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 48px;
    margin-bottom: 10px;
    padding: 12px 16px;
    box-sizing: border-box;
    border: 1px solid #e2e2e5;
    border-radius: 12px;
    background: #ffffff;
}

.addon-option:last-child {
    margin-bottom: 0;
}

.addon-option:hover {
    border-color: #c8dff8;
    background: #fafcff;
}

.addon-option label {
    display: block;
    margin: 0;
    flex: 1;
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
}

.addon-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    flex: 0 0 18px;
    cursor: pointer;
    accent-color: var(--blue);
}

@media (max-width: 750px) {
    .booking-hero {
        min-height: 260px;
        padding: 55px 28px 50px;
    }

    .booking-hero h1 {
        font-size: 47px;
    }

    .booking-hero-copy > p:not(.eyebrow) {
        font-size: 17px;
        white-space: normal;
    }

    .booking-section {
        margin: 20px 18px 55px;
        padding: 40px 22px 45px;
        border-radius: 22px;
    }

    .booking-heading h2 {
        font-size: 29px;
    }

    .booking-table-wrapper {
        margin-top: 10px;
    }

    .booking-table {
        min-width: 760px;
    }

    .no-bookings {
        padding: 45px 20px;
    }

    .booking-form {
        max-width: 100%;
    }

    .form-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
}

/* Home-matched editorial booking theme ---------------------------------- */

body {
    --blue: #5b2d1a;
    --booking-ink: #29251f;
    --booking-muted: #746d62;
    --booking-paper: #f4f0e8;
    --booking-cream: #fbf8f1;
    --booking-heading: #5b2d1a;
    --booking-heading-dark: #472113;
    --booking-line: rgba(73, 62, 48, 0.18);
}

body .booking-hero,
body .details-hero,
body .edit-hero {
    position: relative;
    isolation: isolate;
    max-width: none;
    overflow: hidden;
    background: url("../img/home-workshop-hero-refreshed.png") center / cover no-repeat;
}

body .booking-hero::before,
body .details-hero::before,
body .edit-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(226, 226, 223, 0.64);
    backdrop-filter: grayscale(0.1);
}

body .booking-hero .eyebrow,
body .details-hero .eyebrow,
body .edit-hero .eyebrow,
body .booking-heading .eyebrow,
body .booking-number {
    color: var(--booking-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.19em;
}

body .booking-hero h1,
body .details-hero h1,
body .edit-hero h1,
body .booking-heading h2,
body .details-heading h2,
body .form-heading h2 {
    color: var(--booking-heading);
    font-family: "Cormorant Garamond Display", Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 650;
    letter-spacing: -0.045em;
}

body .booking-hero h1,
body .details-hero h1,
body .edit-hero h1 {
    font-size: clamp(62px, 7vw, 96px);
    line-height: 0.88;
}

body .booking-hero h1 {
    white-space: nowrap;
}

body .booking-hero-copy > p:not(.eyebrow),
body .details-hero p:not(.eyebrow),
body .edit-hero p:not(.eyebrow) {
    color: var(--booking-muted);
}

body .booking-section,
body .details-section,
body .edit-section {
    background: rgba(251, 248, 241, 0.94);
    border-color: var(--booking-line);
    border-radius: 4px;
    box-shadow: 0 20px 55px rgba(55, 43, 31, 0.10);
}

body:has(.booking-form-section) main {
    padding: 1px 0;
    background:
        linear-gradient(rgba(226, 226, 223, 0.64), rgba(226, 226, 223, 0.64)),
        url("../img/home-workshop-hero-refreshed.png") center / cover fixed no-repeat;
}

body .booking-form-section {
    max-width: 960px;
}

body .booking-heading h2,
body .details-heading h2,
body .form-heading h2 {
    font-size: clamp(38px, 4vw, 52px);
    line-height: 0.98;
}

body .booking-heading .title-line {
    width: 34px;
    height: 2px;
    background: var(--booking-heading);
}

body .booking-button,
body .form-actions .button,
body .primary-action,
body button[type="submit"] {
    border-color: var(--booking-heading);
    border-radius: 3px;
    background: var(--booking-heading);
    color: #fff;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

body .booking-button:hover,
body .form-actions .button:hover,
body .primary-action:hover,
body button[type="submit"]:hover {
    border-color: var(--booking-heading-dark);
    background: var(--booking-heading-dark);
    color: #fff;
}

body .text-link,
body .booking-view-link,
body .booking-edit-link {
    color: var(--booking-heading);
}

body .booking-card,
body .detail-box,
body .booking-table-wrapper,
body .no-bookings,
body .empty-bookings {
    background: var(--booking-cream);
    border-color: var(--booking-line);
    border-radius: 3px;
}

body .booking-card:hover {
    box-shadow: 0 16px 38px rgba(55, 43, 31, 0.10);
}

body .form-section-title {
    color: var(--booking-heading);
    font-family: Georgia, "Times New Roman", serif;
}

body .booking-customer-summary {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 1rem 1.75rem;
    padding: 1.25rem 1.35rem;
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(91, 45, 26, 0.18);
    border-radius: 3px;
    color: var(--booking-muted);
}

body .booking-customer-summary-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
    font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    font-variant-numeric: lining-nums proportional-nums;
    color: var(--booking-ink);
}

body .booking-customer-summary-item > span:not(.booking-customer-label) {
    color: var(--booking-ink);
}

body .booking-customer-name {
    grid-column: auto;
    padding-bottom: 0;
    border-bottom: 0;
}

body .booking-customer-label {
    color: var(--booking-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
}

body .booking-customer-summary strong {
    color: var(--booking-ink);
    font-size: inherit;
    font-weight: 400;
}

@media (max-width: 640px) {
    body .booking-customer-summary {
        grid-template-columns: 1fr;
    }
}

body .form-field label,
body .addon-name,
body .addon-price {
    color: var(--booking-ink);
}

body .form-field input:not([type="checkbox"]),
body .form-field select,
body .addon-option {
    background: rgba(255, 255, 255, 0.64);
    border-color: rgba(91, 45, 26, 0.25);
    border-radius: 3px;
}

body .form-field input:not([type="checkbox"]):focus,
body .form-field select:focus {
    border-color: var(--booking-heading);
    box-shadow: 0 0 0 3px rgba(91, 45, 26, 0.12);
}

body .addon-option:has(input:checked) {
    border-color: var(--booking-heading);
    background: rgba(91, 45, 26, 0.06);
}

body .addon-option:has(input:checked) .addon-name {
    color: var(--booking-heading);
}

body .addon-option input[type="checkbox"],
body .form-field input[type="checkbox"] {
    accent-color: var(--booking-heading);
}

body .booking-status.status-confirmed {
    background: rgba(83, 113, 82, 0.12);
    color: #405f40;
}

body .booking-status.status-pending {
    background: rgba(165, 95, 61, 0.12);
    color: var(--booking-heading);
}

.listing-type-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 8px;
    padding: 5px 10px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.listing-type-space {
    background: #f5eadb;
    color: #713518;
}

.listing-type-talent {
    background: #e8eaf4;
    color: #3d4778;
}

@media (max-width: 750px) {
    body .booking-hero h1,
    body .details-hero h1,
    body .edit-hero h1 {
        font-size: clamp(52px, 15vw, 70px);
    }

    body .booking-hero h1 {
        white-space: normal;
    }

    body .booking-section,
    body .details-section,
    body .edit-section {
        border-radius: 3px;
    }
}
