/*
 * Additions on top of masti-live.css (the live page's stylesheet, scoped to .masti-booking).
 * Only plugin-specific pieces live here: admin-chosen section images, the spam trap and
 * the standalone page template.
 */
body.masti-blank { margin: 0; background: #0B0B09; }
body.masti-blank .masti-booking { min-height: 100vh; }

.masti-booking { max-width: none; margin: 0; font-size: 16px; line-height: 1.5; letter-spacing: normal; }
/*
 * Neutralise theme element styles (theme.json colours, ".entry-content label", ".content01 p" …).
 * Specificity 0,1,2: beats theme rules such as ".entry-content label" (0,1,1) but still loses to the
 * page's own utility classes (".masti-booking .text-xs" = 0,2,0), so the live look is kept.
 */
body .masti-booking :is(h1, h2, h3, h4, h5, h6, p, a, address, label, legend, button) { color: inherit; font-family: inherit; font-size: inherit; font-weight: inherit; text-transform: inherit; letter-spacing: inherit; }
body .masti-booking :is(h1, h2, h3, h4, h5, h6, p, label, legend) { line-height: inherit; }
body .masti-booking :is(h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, figure, blockquote, form, fieldset, address, hr) { margin: 0; }
body .masti-booking :is(ul, ol, fieldset, legend) { padding: 0; }
body .masti-booking :is(ul, ol) { list-style: none; }
.masti-booking [hidden] { display: none !important; }
.masti-booking .mb-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Full-bleed when used inside a constrained theme layout. */
.entry-content > .masti-booking.alignfull,
.wp-block-post-content > .masti-booking.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; max-width: 100vw; }

/* Section images chosen in Settings. */
.masti-booking .mb-cover-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.masti-booking .mb-cover-hero { opacity: .28; z-index: -1; }
.masti-booking .mb-section-hero { isolation: isolate; }
.masti-booking .mb-cover-hero + div { position: relative; }
.masti-booking .mb-cover-card { opacity: .85; }
.masti-booking .mb-cover-venue { opacity: .22; }
.masti-booking .mb-inline-image { display: block; width: 100%; max-width: 420px; max-height: 260px; margin: 0 auto 1.75rem; border-radius: 1.25rem; object-fit: cover; }
.masti-booking .mb-inline-image--left { margin-left: 0; }

/* Hero without the overlapping reservation card below it. */
.masti-booking .mb-no-overlap { min-height: 0; padding-bottom: 6rem; }

/* Number inputs: hide spinners like the live page (Tailwind preflight does not). */
.masti-booking input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.masti-booking input[type=number]::-webkit-outer-spin-button,
.masti-booking input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; appearance: none; margin: 0; }

/* Keep the hero button clear of the reservation card that overlaps the hero by 9rem on large screens. */
@media (min-width: 1024px) {
  .masti-booking .mb-section-hero:not(.mb-no-overlap) { padding-bottom: 12rem; }
}

/* Result of an online deposit payment (return from Teya). */
.masti-booking .mb-payment-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 28px 0 0; padding: 16px 18px; border: 1px solid rgba(201, 162, 39, .35); border-radius: 14px; background: rgba(201, 162, 39, .07); color: #e9e1cf; font-size: 14px; line-height: 1.55; scroll-margin-top: 120px; }
.masti-booking .mb-payment-notice strong { color: #f6f0e5; }
.masti-booking .mb-payment-notice--ok { border-color: rgba(74, 222, 128, .45); background: rgba(74, 222, 128, .08); }
.masti-booking .mb-payment-notice--error { border-color: rgba(248, 113, 113, .5); background: rgba(248, 113, 113, .08); }
.masti-booking .mb-payment-ref { flex-basis: 100%; color: #b9ad94; font-size: 12px; word-break: break-all; }
.masti-booking .mb-payment-ref b { color: #d8c38f; }
.masti-booking .mb-payment-retry { display: inline-flex; margin-top: 4px; padding: 10px 18px; border-radius: 999px; background: #c9a227; color: #17140c !important; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-decoration: none !important; text-transform: uppercase; }
.masti-booking .mb-payment-retry:hover { background: #ddbf7a; }
