/* Desktop presentation only. Phone/tablet styles, print and booking behavior remain unchanged. */
@media screen and (min-width: 922px) {
    /* Give booking choices clear prices, readable controls and a distinct review. */
    .ajap-booking .ajb-widget { padding: 28px; }
    .ajap-booking .ajb-widget .ajb-intro { margin-bottom: 24px; }
    .ajap-booking .ajb-widget .ajb-heading { font-size: 30px; line-height: 1.2; }
    .ajap-booking .ajb-widget .ajb-quick-picker { padding: 20px; margin-bottom: 24px; }
    .ajap-booking .ajb-widget .ajb-selected-date { font-size: 15px; }
    .ajap-booking .ajb-widget .ajb-quick-dates button { min-height: 56px; }
    .ajap-booking .ajb-widget [data-ajb-controls] > .ajb-packages { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
    .ajap-booking .ajb-widget .ajb-package { padding: 20px; gap: 12px; border-radius: 12px; }
    .ajap-booking .ajb-widget .ajb-package:has(.ajb-package-select input:checked) { border-color: var(--ajb-accent); box-shadow: 0 0 0 1px var(--ajb-accent); }
    .ajap-booking .ajb-widget .ajb-package-header { display: block; }
    .ajap-booking .ajb-widget .ajb-package-header h4 { min-height: 48px; font-size: 18px; line-height: 1.35; }
    .ajap-booking .ajb-widget .ajb-package-price { margin-top: 8px; font-size: 20px; line-height: 1.35; }
    .ajap-booking .ajb-widget .ajb-package-price .ajb-price-basis { font-size: 13px; font-weight: 400; }
    .ajap-booking .ajb-widget .ajb-package-description { font-size: 14px; line-height: 1.55; }
    .ajap-booking .ajb-widget .ajb-package-select { min-height: 48px; padding: 12px; font-size: 14px; }
    .ajap-booking .ajb-widget .ajb-package-details summary { min-height: 36px; padding-block: 6px; }
    .ajap-booking .ajb-widget .ajb-package-details dl { padding: 14px; font-size: 14px; line-height: 1.55; }
    .ajap-booking .ajb-widget .ajb-package-options { padding-top: 16px; }
    .ajap-booking .ajb-widget .ajb-guest-eligibility { font-size: 12px; line-height: 1.5; }
    .ajap-booking .ajb-widget .ajb-review { padding: 20px; border-radius: 12px; }
    .ajap-booking .ajb-widget .ajb-review h3 { margin-bottom: 8px; font-size: 20px; }
    .ajap-booking .ajb-widget .ajb-selection-summary { margin-bottom: 6px; font-size: 16px; font-weight: 600; }
    .ajap-booking .ajb-widget .ajb-booking-footer { margin-top: 16px; padding: 16px; border: 1px solid var(--ajb-border); border-radius: 12px; background: #fff; }
    .ajap-booking .ajb-widget .ajb-actions > button { min-height: 48px; font-size: 16px; }
    .ajap-booking .ajb-widget :is(input, select, textarea, summary) { scroll-margin-block: 100px; }

    /* Use the available width for booking cards beside the account navigation. */
    .woocommerce:has(> .woocommerce-MyAccount-content .ajb-account-bookings) { display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: start; gap: 24px; }
    .woocommerce:has(> .woocommerce-MyAccount-content .ajb-account-bookings) > * { grid-column: 1 / -1; }
    .woocommerce:has(> .woocommerce-MyAccount-content .ajb-account-bookings) > .woocommerce-MyAccount-navigation { grid-column: 1; float: none; width: 100%; margin: 0; }
    .woocommerce:has(> .woocommerce-MyAccount-content .ajb-account-bookings) > .woocommerce-MyAccount-content { grid-column: 2; float: none; width: 100%; }
    .woocommerce:has(.ajb-account-bookings) > .woocommerce-MyAccount-navigation { position: sticky; top: 64px; align-self: start; border-radius: 14px; }
    .woocommerce:has(.ajb-account-bookings) > .woocommerce-MyAccount-navigation > ul { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
    .woocommerce:has(.ajb-account-bookings) > .woocommerce-MyAccount-navigation li { border: 0; }
    .woocommerce:has(.ajb-account-bookings) > .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--activity-bookings { order: -1; }
    .woocommerce:has(.ajb-account-bookings) > .woocommerce-MyAccount-navigation li a { min-height: 44px; font-size: 14px; }
    .woocommerce:has(.ajb-account-bookings) > .woocommerce-MyAccount-navigation li a .ast-woo-nav-link-name { color: inherit !important; }
    .woocommerce:has(.ajb-account-bookings) > .woocommerce-MyAccount-navigation .is-active:not(.woocommerce-MyAccount-navigation-link--activity-bookings) a { background: transparent; color: #40594f; }
    .woocommerce:has(.ajb-account-bookings) > .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--activity-bookings a { border: 0; border-radius: 8px; background: var(--amp-accent, #135647); color: #fff !important; }
    .woocommerce-MyAccount-content:has(.ajb-account-bookings) { padding: 24px; }
    .woocommerce-MyAccount-content .ajb-account-bookings { min-width: 0; color: #18322c; overflow-wrap: anywhere; }
    .woocommerce-MyAccount-content .ajb-account-bookings > h2 { margin: 0 0 20px; font-size: 26px; line-height: 1.3; }
    .woocommerce-MyAccount-content .ajb-account-bookings > ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
    .woocommerce-MyAccount-content .ajb-account-bookings .ajb-booking-card { display: flex; flex-wrap: wrap; align-content: start; align-items: center; gap: 10px; min-width: 0; margin: 0; padding: 20px; border: 1px solid #d4dfda; border-radius: 12px; background: #fff; font-size: 15px; line-height: 1.5; list-style: none; }
    .woocommerce-MyAccount-content .ajb-booking-card :is(.ajb-booking-separator, .ajb-booking-linebreak) { display: none; }
    .woocommerce-MyAccount-content .ajb-booking-card .ajb-booking-number { order: -1; flex-basis: 100%; color: #566b63; font-size: 12px; font-weight: 600; }
    .woocommerce-MyAccount-content .ajb-booking-card .ajb-booking-activity { flex-basis: 100%; font-size: 18px; font-weight: 700; line-height: 1.35; }
    .woocommerce-MyAccount-content .ajb-booking-card .ajb-booking-date { flex-basis: 100%; font-size: 15px; }
    .woocommerce-MyAccount-content .ajb-booking-card :is(.ajb-booking-state, .ajb-booking-payment) { max-width: 100%; padding: 5px 9px; border-radius: 6px; background: #f0f4f2; color: #40594f; font-size: 12px; font-weight: 600; }
    .woocommerce-MyAccount-content .ajb-booking-card :is(.ajb-state-awaiting_payment, .ajb-state-awaiting_approval, .ajb-state-payment_review, .ajb-payment-refund_pending) { background: #fff3dc; color: #79500d; }
    .woocommerce-MyAccount-content .ajb-booking-card :is(.ajb-state-confirmed, .ajb-payment-paid, .ajb-payment-no_payment) { background: #eaf5ef; color: #235a3e; }
    .woocommerce-MyAccount-content .ajb-booking-card :is(.ajb-state-cancelled, .ajb-state-declined, .ajb-state-expired, .ajb-state-no_show) { background: #faeeeb; color: #8d3b2f; }
    .woocommerce-MyAccount-content .ajb-booking-card .ajb-booking-payable { order: 1; flex-basis: 100%; color: #566b63; font-size: 14px; }
    .woocommerce-MyAccount-content :is(.ajb-booking-details, .ajb-account-pagination > a) { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 44px; padding: 10px 16px; border: 1px solid var(--amp-accent, #135647); border-radius: 8px; background: #f3f8f5; color: var(--amp-accent, #135647); font-size: 14px; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; }
    .woocommerce-MyAccount-content .ajb-booking-card .ajb-booking-details { order: 2; flex-basis: 100%; margin-top: 6px; }

    /* Cart metadata stays grouped under each activity; totals remain easy to find. */
    body.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form) { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(18rem, 1fr); align-items: start; gap: 20px 24px; }
    body.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form) > * { grid-column: 1 / -1; }
    body.woocommerce-cart .woocommerce > form.woocommerce-cart-form { grid-column: 1; float: none; width: 100%; margin: 0; }
    body.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form) > .cart-collaterals { grid-column: 2; position: sticky; top: 64px; float: none; width: 100%; min-width: 0; }
    body.woocommerce-cart .woocommerce-cart-form { box-sizing: border-box; min-width: 0; padding: 24px; border: 1px solid #d4dfda; border-radius: 14px; background: #fff; }
    body.woocommerce-cart .woocommerce-cart-form table.shop_table { width: 100%; margin: 0; border: 0; border-collapse: collapse; }
    body.woocommerce-cart .woocommerce-cart-form table.shop_table th { padding: 12px 10px; background: #f3f8f5; color: #566b63; font-size: 13px; font-weight: 600; }
    body.woocommerce-cart .woocommerce-cart-form table.shop_table td { padding: 20px 10px; vertical-align: top; border-bottom: 1px solid #d4dfda; }
    body.woocommerce-cart .woocommerce-cart-form .product-name > a { font-size: 17px; line-height: 1.4; text-decoration: none; }
    body.woocommerce-cart .woocommerce-cart-form .product-subtotal { font-weight: 700; font-variant-numeric: tabular-nums; }
    body.woocommerce-cart .woocommerce-cart-form:has(.ajb-cart-booking):not(:has(tr.cart_item:not(.ajb-cart-booking))) .product-thumbnail { display: none; }
    body.woocommerce-cart .cart-collaterals .cart_totals { box-sizing: border-box; width: 100%; padding: 24px; border: 1px solid #d4dfda; border-radius: 14px; background: #f3f8f5; }
    body.woocommerce-cart .cart_totals h2 { margin: 0 0 16px; font-size: 24px; line-height: 1.3; }
    body.woocommerce-cart .cart_totals .order-total { font-size: 22px; }
    body.woocommerce-cart .wc-proceed-to-checkout .checkout-button { display: flex; align-items: center; justify-content: center; min-height: 48px; font-size: 16px; line-height: 1.4; }
    body.woocommerce-cart .woocommerce-cart-form .coupon { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
    body.woocommerce-cart .woocommerce-cart-form .coupon :is(input.input-text, button) { box-sizing: border-box; min-height: 44px; margin: 0; font-size: 15px; }
    body.woocommerce-cart .ajb-resume-order { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 20px; margin-bottom: 16px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
    body.woocommerce-cart .ajb-resume-order > :is(p, ul) { grid-column: 1; margin-block: 0; }
    body.woocommerce-cart .ajb-resume-order > a.button { grid-column: 2; grid-row: 1 / span 3; min-height: 44px; margin: 0; }

    /* Shared booking metadata retains every date, count, price and deadline. */
    body:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce :is(tr.ajb-cart-booking, tr.ajb-checkout-booking) dl.variation { display: grid; grid-template-columns: minmax(7rem, .45fr) minmax(0, 1fr); gap: 6px 12px; margin-top: 12px; font-size: 13px; line-height: 1.5; }
    body:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce :is(tr.ajb-cart-booking, tr.ajb-checkout-booking) dl.variation :is(dt, dd) { display: block; float: none; min-width: 0; margin: 0; padding: 0; }
    body:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce :is(tr.ajb-cart-booking, tr.ajb-checkout-booking) dl.variation dt { color: #566b63; font-weight: 500; }
    body:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce :is(tr.ajb-cart-booking, tr.ajb-checkout-booking) dl.variation dd p { margin: 0; }
    body:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce a.ajb-cart-edit { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 40px; margin-top: 2px; padding: 8px 12px; border: 1px solid #9cafa6; border-radius: 7px; color: #135647; font-size: 13px; font-weight: 700; line-height: 1.4; text-decoration: none !important; }

    /* Clear labels and balanced contact/order columns on both checkout themes. */
    body.woocommerce-checkout .woocommerce form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); grid-template-rows: min-content minmax(0, 1fr); align-items: start; column-gap: 28px; }
    body.woocommerce-checkout .woocommerce form.checkout::before, body.woocommerce-checkout .woocommerce form.checkout::after { display: none; }
    body.woocommerce-checkout .woocommerce form.checkout > * { grid-column: 1 / -1; }
    body.woocommerce-checkout .woocommerce form.checkout > #customer_details { grid-column: 1; grid-row: span 2; box-sizing: border-box; float: none !important; width: 100% !important; margin: 0; padding: 24px; border: 1px solid #d4dfda; border-radius: 14px; background: #fff; }
    body.woocommerce-checkout .woocommerce #customer_details :is(.col-1, .col-2) { float: none; width: 100%; }
    body.woocommerce-checkout .woocommerce #customer_details h3 { margin: 0 0 20px; padding: 0; border: 0; font-size: 23px; line-height: 1.35; }
    body.woocommerce-checkout .woocommerce #customer_details .woocommerce-additional-fields h3 { margin-top: 28px; }
    body.woocommerce-checkout .woocommerce #customer_details .form-row > label:not(.woocommerce-form__label-for-checkbox) { position: static !important; inset: auto !important; display: block !important; opacity: 1 !important; visibility: visible !important; transform: none !important; width: auto !important; margin: 0 0 7px !important; padding: 0 !important; color: #18322c; font-size: 14px !important; font-weight: 600; line-height: 1.4; }
    body.woocommerce-checkout .woocommerce #customer_details .form-row { margin-bottom: 18px; padding: 0; }
    body.woocommerce-checkout .woocommerce #customer_details :is(input.input-text, select, textarea) { box-sizing: border-box; width: 100%; max-width: 100%; min-height: 48px; padding: 11px 12px !important; border: 1px solid #9cafa6; border-radius: 8px; color: #18322c; background: #fff; font-family: inherit; font-size: 16px; line-height: 1.4; }
    body.woocommerce-checkout .woocommerce #customer_details :is(#billing_first_name, #billing_last_name, #billing_email, #billing_phone)::placeholder { color: transparent; }
    body.woocommerce-checkout .woocommerce #customer_details textarea { height: 100px; min-height: 100px; resize: vertical; }
    body.woocommerce-checkout .woocommerce #customer_details .select2-container { width: 100% !important; max-width: 100%; }
    body.woocommerce-checkout .woocommerce #customer_details .select2-selection--single { display: flex; align-items: center; height: 48px !important; padding: 0 !important; border: 1px solid #9cafa6; border-radius: 8px; font-size: 16px; }
    body.woocommerce-checkout .woocommerce #customer_details .select2-selection__rendered { padding: 0 30px 0 12px !important; line-height: 1.4 !important; }
    body.woocommerce-checkout .woocommerce #customer_details .select2-selection__arrow { top: 12px; height: 24px; }
    body.woocommerce-checkout .woocommerce form.checkout > #order_review_heading { grid-column: 2; box-sizing: border-box; float: none !important; width: 100% !important; margin: 0 !important; padding: 24px 24px 12px !important; border: 1px solid #d4dfda; border-bottom: 0; border-radius: 14px 14px 0 0; background: #f3f8f5; font-size: 23px; line-height: 1.35; }
    body.woocommerce-checkout .woocommerce form.checkout > #order_review { grid-column: 2; box-sizing: border-box; float: none !important; width: 100% !important; margin: 0 !important; padding: 0 24px 24px !important; border: 1px solid #d4dfda; border-top: 0; border-radius: 0 0 14px 14px; background: #f3f8f5; }
    body.woocommerce-checkout .woocommerce #order_review table.shop_table { width: 100%; table-layout: auto; border: 0; border-collapse: collapse; font-size: 14px; }
    body.woocommerce-checkout .woocommerce #order_review table.shop_table :is(th, td) { padding: 12px 8px; border: 0; border-bottom: 1px solid #d4dfda; vertical-align: top; overflow-wrap: anywhere; }
    body.woocommerce-checkout .woocommerce #order_review td.product-total { text-align: end; white-space: nowrap; font-variant-numeric: tabular-nums; }
    body.woocommerce-checkout .woocommerce #order_review .order-total :is(th, td) { padding-block: 18px; font-size: 22px; }
    body.woocommerce-checkout .woocommerce #payment { margin-top: 16px; border-radius: 10px; background: #fff; }
    body.woocommerce-checkout .woocommerce #payment ul.payment_methods { padding: 16px; }
    body.woocommerce-checkout .woocommerce #payment .payment_box { margin-bottom: 0; background: #edf4ef; color: #40594f; font-size: 14px; line-height: 1.5; }
    body.woocommerce-checkout .woocommerce #payment .payment_box::before { border-bottom-color: #edf4ef; }
    body.woocommerce-checkout .woocommerce #payment .place-order { padding: 16px; }
    body.woocommerce-checkout .woocommerce #place_order:not([hidden]) { display: flex; align-items: center; justify-content: center; float: none; box-sizing: border-box; width: 100%; min-height: 52px; margin: 16px 0 0; font-size: 16px; line-height: 1.4; }
    body.woocommerce-checkout .woocommerce #place_order[hidden] { display: none !important; }
    body.woocommerce-checkout .woocommerce .woocommerce-privacy-policy-text { color: #566b63; font-size: 13px; line-height: 1.5; }
    body.woocommerce-checkout .woocommerce .woocommerce-invalid :is(input.input-text, select, textarea) { border-color: #963a2b; box-shadow: 0 0 0 1px #963a2b; }

    /* A wider confirmation page with a persistent summary and readable instructions. */
    body.ajb-booking-details-page { box-sizing: border-box; max-width: 76rem; padding: 40px 32px; background: #f7faf8; color: #18322c; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
    .ajb-booking-details-page main { display: flow-root; min-width: 0; }
    .ajb-booking-details-page main > h1 { margin: 0 0 28px; font-size: 36px; line-height: 1.2; }
    .ajb-booking-details-page .ajb-details-summary[hidden] { display: block; float: left; position: sticky; top: 24px; box-sizing: border-box; width: 34%; max-height: calc(100dvh - 48px); overflow-y: auto; margin: 0; padding: 24px; border: 1px solid #d4dfda; border-radius: 14px; background: #fff; }
    .ajb-booking-details-page main > :not(h1):not(.ajb-details-summary) { margin-inline-start: calc(34% + 28px); }
    .ajb-booking-details-page :is(.ajb-details-status-legacy, .ajb-details-reference-legacy, .ajb-details-guests-legacy, .ajb-details-extras-legacy, .ajb-details-ticket-legacy, .ajb-details-payment-legacy) { display: none; }
    .ajb-details-summary .ajb-details-number { margin: 0 0 8px; color: #566b63; font-size: 12px; font-weight: 600; }
    .ajb-details-summary > h2 { margin: 0 0 16px; font-size: 22px; font-weight: 700; line-height: 1.35; }
    .ajb-details-summary .ajb-details-states { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
    .ajb-details-states > span { max-width: 100%; padding: 5px 9px; border-radius: 6px; background: #f0f4f2; color: #40594f; font-size: 12px; font-weight: 600; }
    .ajb-details-states :is(.ajb-state-awaiting_payment, .ajb-state-awaiting_approval, .ajb-state-payment_review, .ajb-payment-refund_pending) { background: #fff3dc; color: #79500d; }
    .ajb-details-states :is(.ajb-state-confirmed, .ajb-payment-paid, .ajb-payment-no_payment) { background: #eaf5ef; color: #235a3e; }
    .ajb-details-states :is(.ajb-state-cancelled, .ajb-state-declined, .ajb-state-expired, .ajb-state-no_show) { background: #faeeeb; color: #8d3b2f; }
    .ajb-details-summary .ajb-details-date { margin: 0 0 18px; padding: 14px; border-radius: 8px; background: #f3f8f5; }
    .ajb-details-date dt { margin: 0 0 4px; color: #566b63; font-size: 13px; font-weight: 500; }
    .ajb-details-date dd { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.4; }
    .ajb-details-selection + .ajb-details-selection { margin-top: 16px; }
    .ajb-details-selection h3 { margin: 0 0 8px; font-size: 15px; line-height: 1.4; }
    .ajb-details-selection ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
    .ajb-details-selection li { padding: 6px 10px; border: 1px solid #d4dfda; border-radius: 6px; font-size: 14px; }
    .ajb-details-summary .ajb-details-method { margin: 18px 0 0; color: #566b63; font-size: 13px; }
    .ajb-details-summary .ajb-details-notice { margin: 16px 0 0; padding: 12px; border-radius: 8px; background: #fff3dc; color: #67450d; font-size: 14px; }
    .ajb-details-notice h3 { margin: 0; font-size: 16px; }
    .ajb-details-notice p { margin: 8px 0 0; }
    .ajb-booking-details-page :is(.ajb-details-pay, .ajb-details-ticket) { display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 48px; margin-top: 18px; padding: 12px 16px; border: 1px solid #135647; border-radius: 8px; background: #135647; color: #fff; font-size: 16px; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; }
    .ajb-booking-details-page main > section { margin-block: 0 20px; padding: 24px; border: 1px solid #d4dfda; border-radius: 14px; background: #fff; }
    .ajb-booking-details-page main > section > h2 { margin: 0 0 16px; font-size: 24px; line-height: 1.3; }
    .ajb-booking-details-page .ajb-details-package:not(:has(p)) { display: none; }
    .ajb-booking-details-page section p { margin-block: 16px; }
    .ajb-booking-details-page main > form, .ajb-booking-details-page .ajb-actions form { min-width: 0; }
    .ajb-booking-details-page fieldset { box-sizing: border-box; min-inline-size: 0; margin: 20px 0; padding: 20px; border: 1px solid #ccd9d6; border-radius: 12px; background: #fff; }
    .ajb-booking-details-page :is(input:not([type=hidden]), select, textarea, button) { box-sizing: border-box; max-width: 100%; min-height: 44px; font-size: 16px; }
    .ajb-booking-details-page :is(input:not([type=hidden]), select, textarea) { padding: 10px; }
    .ajb-booking-details-page button { padding: 10px 16px; }
    .ajb-booking-details-page .ajb-change-deadlines { padding-inline-start: 20px; color: #566b63; font-size: 14px; }

    :is(.ajb-booking-details-page, .woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #135647; outline-offset: 3px; }
}
