/* =============================================================================
 * Stay and Play — Frontend default theme.
 *
 * Light, semantic, BEM-style. Every visual decision is namespaced under
 * .snp-* so it can't collide with theme styles. Themes can override any
 * rule by enqueuing their own CSS at a higher priority, or by dropping
 * a replacement template in /wp-content/themes/<theme>/stay-n-play/.
 *
 * Tokens (CSS custom properties) live on .snp-root. Override any of them
 * to re-skin the whole plugin.
 * ============================================================================= */

/* Phase U.27 — suppress the theme's page-title block on the
 * /event/<slug>/ permalink mount.
 *
 * Visiting /event/umrah-2027/ remaps onto the [snp_booking]-hosting page
 * so a singular template renders. The active theme then prints its page
 * title (Astra: .ast-page-title, Twenty TwentyFour / block themes:
 * .wp-block-post-title, GeneratePress: .entry-title, etc.) — and the
 * booking-funnel intro inside the page content ALSO renders the event
 * title (cover art + title + "What's included"). Net effect on screen:
 * "Umrah 2027" stamped twice on the same fold.
 *
 * The booking funnel is the canonical title surface here (it's the one
 * with the price strip and gallery), so we hide the theme's page-title
 * header. Scoped to body.snp-event-mount so the regular /snp-booking/
 * page is untouched — only the event-permalink mount loses the theme
 * title block.
 *
 * The selector list covers the common theme conventions: WP block
 * themes, Astra, GeneratePress, OceanWP, Twenty TwentyFour. Themes that
 * use a different selector can opt into the hide via the same body
 * class (.snp-event-mount .my-theme-page-title { display: none; }). */
body.snp-event-mount .entry-header,
body.snp-event-mount .entry-title,
body.snp-event-mount .page-title,
body.snp-event-mount .ast-page-title,
body.snp-event-mount .ast-archive-title,
body.snp-event-mount .ast-single-post-banner,
body.snp-event-mount header.entry-header,
body.snp-event-mount .wp-block-post-title,
body.snp-event-mount .elementor-page-title {
	display: none !important;
}

.snp-root {
	/* Colors — restrained, accessible. */
	--snp-color-bg:        #f7f8fa;
	--snp-color-surface:   #ffffff;
	--snp-color-border:    #e5e7eb;
	--snp-color-text:      #111827;
	--snp-color-text-soft: #4b5563;
	--snp-color-text-mute: #6b7280;
	--snp-color-accent:    #2563eb;
	--snp-color-accent-hi: #1d4ed8;
	--snp-color-success:   #16a34a;
	--snp-color-danger:    #dc2626;

	/* Type. */
	--snp-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--snp-font-size-base: 15px;
	--snp-line-height:    1.55;

	/* Layout. */
	--snp-radius-sm:  6px;
	--snp-radius:    10px;
	--snp-radius-lg: 16px;
	--snp-shadow:        0 1px 2px rgba(15,23,42,.04);
	--snp-shadow-hover:  0 8px 24px rgba(15,23,42,.08);
	--snp-gap-sm:  8px;
	--snp-gap:    16px;
	--snp-gap-lg: 24px;

	font-family: var(--snp-font-sans);
	font-size: var(--snp-font-size-base);
	line-height: var(--snp-line-height);
	color: var(--snp-color-text);
}

/* =============================================================================
 * Base typography & utilities
 * ============================================================================= */
.snp-root h1, .snp-root h2, .snp-root h3, .snp-root h4 {
	margin: 0 0 var(--snp-gap-sm);
	font-weight: 600;
	color: var(--snp-color-text);
}
.snp-root h2 { font-size: 22px; line-height: 1.3; }
.snp-root h3 { font-size: 18px; line-height: 1.35; }
.snp-root h4 { font-size: 15px; line-height: 1.4; }
.snp-root p  { margin: 0 0 var(--snp-gap); color: var(--snp-color-text-soft); }
.snp-root a  { color: var(--snp-color-accent); text-decoration: none; }
.snp-root a:hover { color: var(--snp-color-accent-hi); }

/* Eyebrow text (small uppercase labels). */
.snp-eyebrow {
	font-size: 11px;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--snp-color-text-mute);
	font-weight: 600;
}

/* =============================================================================
 * Section header (title + optional subtitle)
 * ============================================================================= */
.snp-section-header {
	margin: 0 0 var(--snp-gap-lg);
}
.snp-section-header__title { font-size: 28px; line-height: 1.2; margin: 0; }
.snp-section-header__sub   { color: var(--snp-color-text-mute); margin: 4px 0 0; font-size: 15px; }

/* =============================================================================
 * Event grid (compact card list)
 * ============================================================================= */
.snp-events-grid {
	display: grid;
	grid-template-columns: repeat(var(--snp-grid-cols, 3), minmax(0, 1fr));
	gap: var(--snp-gap-lg);
}
@media (max-width: 900px) { .snp-events-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .snp-events-grid { grid-template-columns: 1fr; } }

.snp-event-card {
	display: flex;
	flex-direction: column;
	background: var(--snp-color-surface);
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius);
	overflow: hidden;
	color: inherit;
	box-shadow: var(--snp-shadow);
	transition: transform .18s ease, box-shadow .18s ease;
}
.snp-event-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--snp-shadow-hover);
	color: inherit;
}

.snp-event-card__image-wrap {
	background: var(--snp-color-bg);
	aspect-ratio: 16 / 9;
	overflow: hidden;
}
.snp-event-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.snp-event-card__body { padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 6px; }
.snp-event-card__type { color: var(--snp-color-text-mute); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; }
.snp-event-card__title { font-size: 18px; line-height: 1.3; font-weight: 600; margin: 0; }
.snp-event-card__meta {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	font-size: 13px;
	color: var(--snp-color-text-soft);
	margin-top: 2px;
}
.snp-event-card__meta-item { display: inline-flex; align-items: center; gap: 4px; }
.snp-event-card__cta {
	margin-top: 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--snp-color-accent);
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

/* =============================================================================
 * Event list (longer rows with description + CTA)
 * ============================================================================= */
.snp-events-list {
	display: flex;
	flex-direction: column;
	gap: var(--snp-gap);
}
.snp-event-row {
	display: grid;
	grid-template-columns: 240px 1fr auto;
	gap: var(--snp-gap-lg);
	background: var(--snp-color-surface);
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius);
	padding: 16px;
	box-shadow: var(--snp-shadow);
}
@media (max-width: 800px) {
	.snp-event-row { grid-template-columns: 1fr; }
	.snp-event-row__cta { justify-self: start; }
}

.snp-event-row__image-wrap {
	width: 100%;
	aspect-ratio: 16 / 10;
	background: var(--snp-color-bg);
	border-radius: var(--snp-radius-sm);
	overflow: hidden;
}
.snp-event-row__image { width: 100%; height: 100%; object-fit: cover; display: block; }

.snp-event-row__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.snp-event-row__title { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.3; }
.snp-event-row__title a { color: var(--snp-color-text); }
.snp-event-row__title a:hover { color: var(--snp-color-accent); }

.snp-event-row__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 13px;
	color: var(--snp-color-text-soft);
}
.snp-event-row__meta-item { display: inline-flex; align-items: center; gap: 6px; }
.snp-event-row__excerpt { color: var(--snp-color-text-soft); margin: 0; }

.snp-event-row__cta {
	display: flex;
	flex-direction: column;
	gap: 6px;
	justify-content: center;
	align-items: flex-end;
	min-width: 140px;
}
.snp-event-row__price { font-size: 20px; font-weight: 600; color: var(--snp-color-text); }
.snp-event-row__price-from { font-size: 11px; color: var(--snp-color-text-mute); text-transform: uppercase; letter-spacing: .04em; }

/* =============================================================================
 * Single event landing
 *
 * Layout:
 *   row 1 — full-width cover banner
 *   row 2 — title + meta
 *   row 3 — gallery (left col) + description / info (right col)
 *   row 4 — booking widget hook
 * ============================================================================= */
.snp-event-single {
	display: flex;
	flex-direction: column;
	gap: var(--snp-gap-lg);
}

/* Row 1 — cover */
.snp-event-single__hero {
	width: 100%;
	aspect-ratio: 21 / 9;
	background: var(--snp-color-bg);
	border-radius: var(--snp-radius);
	overflow: hidden;
}
.snp-event-single__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 700px) { .snp-event-single__hero { aspect-ratio: 16 / 9; } }

/* Row 2 — title / subtitle / meta */
.snp-event-single__header { display: flex; flex-direction: column; gap: 6px; }
.snp-event-single__title { font-size: 32px; line-height: 1.15; margin: 0; }
.snp-event-single__subtitle { margin: 0; font-size: 12px; }
.snp-event-single__meta {
	display: flex; gap: 20px; flex-wrap: wrap;
	color: var(--snp-color-text-soft);
	font-size: 14px;
	margin: 4px 0 0;
}
@media (max-width: 600px) { .snp-event-single__title { font-size: 24px; } }

/* Row 3 — gallery + info side by side */
.snp-event-single__row {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: var(--snp-gap-lg);
	align-items: start;
}
@media (max-width: 800px) {
	.snp-event-single__row { grid-template-columns: 1fr; }
}

.snp-event-single__gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-auto-rows: 160px;
	gap: 10px;
}
.snp-event-single__gallery-item {
	margin: 0;
	border-radius: var(--snp-radius-sm);
	overflow: hidden;
	background: var(--snp-color-bg);
}
.snp-event-single__gallery-item img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}
.snp-event-single__gallery-item.is-large {
	grid-column: 1 / -1;       /* first image spans both columns */
	grid-row: span 2;          /* and is twice as tall */
}
@media (max-width: 600px) {
	.snp-event-single__gallery { grid-auto-rows: 120px; }
}

.snp-event-single__info {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.snp-event-single__description { color: var(--snp-color-text-soft); }
.snp-event-single__description p:last-child { margin-bottom: 0; }

/* =============================================================================
 * Lightbox — Phase T3 polish
 *
 * The earlier rules lost specificity battles against Elementor's
 * default `<button>` chrome (a pink 1px outline + small box). Every
 * selector below is now scoped under `.snp-lightbox` and the button
 * state is fully reset (border/outline/box-shadow/background) before
 * we paint our own glass-morphism chrome on top. SVG icons replace
 * the `‹›×` glyphs so the text-color override + font weirdness from
 * themes can't break the iconography.
 *
 * Design moves:
 *   - Deeper backdrop (90% slate + backdrop-filter blur where supported)
 *   - Larger, frosted nav buttons positioned closer to the image edges
 *   - Bottom bar with image counter ("3 / 12") + optional caption
 *   - Subtle scale-in animation on open and on image change
 *   - Mobile: nav becomes pill-shaped, sits at the bottom edge so it
 *     doesn't cover the photo, close stays top-right
 * ============================================================================= */
.snp-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
}
.snp-lightbox.is-open { display: flex; animation: snp-lb-fade .18s ease-out; }
body.snp-lightbox-open { overflow: hidden; }

@keyframes snp-lb-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}
@keyframes snp-lb-pop {
	from { opacity: 0; transform: scale(.97); }
	to   { opacity: 1; transform: scale(1); }
}

.snp-lightbox .snp-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 11, 22, .92);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	cursor: zoom-out;
}

.snp-lightbox .snp-lightbox__frame {
	position: relative;
	z-index: 2;
	max-width: min(1280px, 92vw);
	max-height: 82vh;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: snp-lb-pop .22s ease-out;
}
.snp-lightbox .snp-lightbox__media {
	max-width: 100%;
	max-height: 82vh;
	display: block;
	border-radius: 14px;
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .65),
	            0 0 0 1px rgba(255, 255, 255, .04);
}
.snp-lightbox iframe.snp-lightbox__media,
.snp-lightbox video.snp-lightbox__media {
	width: min(1100px, 92vw);
	aspect-ratio: 16 / 9;
	height: auto;
	background: #000;
}

/* Buttons — full reset first (kills Elementor / theme borders, outlines,
   gradients), then we paint our own chrome. */
.snp-lightbox .snp-lightbox__close,
.snp-lightbox .snp-lightbox__nav {
	all: unset;
	position: absolute;
	z-index: 3;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #0f172a;
	background: rgba(255, 255, 255, .94);
	border: 1px solid rgba(255, 255, 255, .55);
	box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .55);
	transition: background .15s ease, transform .15s ease,
	            box-shadow .15s ease, color .15s ease;
	font-family: inherit;
	-webkit-tap-highlight-color: transparent;
}
.snp-lightbox .snp-lightbox__close:hover,
.snp-lightbox .snp-lightbox__nav:hover {
	background: #fff;
	color: #0f172a;
	transform: scale(1.06);
	box-shadow: 0 12px 34px -8px rgba(0, 0, 0, .65);
}
.snp-lightbox .snp-lightbox__close:focus-visible,
.snp-lightbox .snp-lightbox__nav:focus-visible {
	outline: 3px solid rgba(59, 130, 246, .65);
	outline-offset: 3px;
}
.snp-lightbox .snp-lightbox__close:active,
.snp-lightbox .snp-lightbox__nav:active {
	transform: scale(.97);
}

/* Close — top-right of the viewport with breathing room. */
.snp-lightbox .snp-lightbox__close {
	top: 22px;
	right: 22px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
}

/* Nav arrows — circular, centred vertically, sit just inside the
   frame so they read as "image controls", not "viewport edge". */
.snp-lightbox .snp-lightbox__nav {
	top: 50%;
	transform: translateY(-50%);
	width: 54px;
	height: 54px;
	border-radius: 50%;
}
.snp-lightbox .snp-lightbox__nav:hover  { transform: translateY(-50%) scale(1.06); }
.snp-lightbox .snp-lightbox__nav:active { transform: translateY(-50%) scale(.97);  }
.snp-lightbox .snp-lightbox__nav--prev { left: 24px; }
.snp-lightbox .snp-lightbox__nav--next { right: 24px; }

/* Crisp SVG inside the buttons — themes can't recolour these
   because we set stroke=currentColor and force the colour above. */
.snp-lightbox .snp-lightbox__close svg,
.snp-lightbox .snp-lightbox__nav   svg {
	display: block;
	pointer-events: none;
}

/* Bottom bar — counter + optional caption. Floats over the
   backdrop, doesn't shift the image position. */
.snp-lightbox .snp-lightbox__bar {
	position: absolute;
	z-index: 3;
	left: 50%;
	bottom: 22px;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: 92vw;
	padding: 8px 16px;
	background: rgba(15, 23, 42, .55);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 999px;
	color: #e2e8f0;
	font: 500 13px/1.3 var(--snp-font-sans, system-ui, sans-serif);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
.snp-lightbox .snp-lightbox__counter {
	font-variant-numeric: tabular-nums;
	color: #fff;
	font-weight: 600;
	letter-spacing: .02em;
}
.snp-lightbox .snp-lightbox__counter:empty,
.snp-lightbox .snp-lightbox__caption:empty { display: none; }
.snp-lightbox .snp-lightbox__counter + .snp-lightbox__caption:not(:empty)::before {
	content: "·";
	margin-right: 10px;
	color: rgba(255, 255, 255, .35);
}
.snp-lightbox .snp-lightbox__caption {
	color: rgba(226, 232, 240, .85);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 60ch;
}
/* Hide the bar entirely if both children are empty (single image
   without a caption) — leave the photo to breathe. */
.snp-lightbox .snp-lightbox__bar:has( .snp-lightbox__counter:empty ):has( .snp-lightbox__caption:empty ) {
	display: none;
}

@media (max-width: 700px) {
	.snp-lightbox { padding: 12px; }
	.snp-lightbox .snp-lightbox__close { top: 12px; right: 12px; width: 40px; height: 40px; }
	.snp-lightbox .snp-lightbox__close svg { width: 18px; height: 18px; }
	.snp-lightbox .snp-lightbox__nav   { width: 44px; height: 44px; }
	.snp-lightbox .snp-lightbox__nav   svg { width: 22px; height: 22px; }
	.snp-lightbox .snp-lightbox__nav--prev { left: 12px; }
	.snp-lightbox .snp-lightbox__nav--next { right: 12px; }
	.snp-lightbox .snp-lightbox__bar { bottom: 12px; padding: 7px 12px; font-size: 12px; }
	.snp-lightbox .snp-lightbox__caption { max-width: 30ch; }
	.snp-lightbox .snp-lightbox__media { border-radius: 10px; }
}

/* =============================================================================
 * Buttons & badges
 * ============================================================================= */
.snp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	font: 600 14px var(--snp-font-sans);
	border-radius: var(--snp-radius-sm);
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background .15s, border-color .15s, color .15s;
}
.snp-btn--primary {
	background: var(--snp-color-accent);
	color: #fff;
}
.snp-btn--primary:hover { background: var(--snp-color-accent-hi); color: #fff; }
.snp-btn--ghost {
	background: transparent;
	border-color: var(--snp-color-border);
	color: var(--snp-color-text);
}
.snp-btn--ghost:hover { border-color: var(--snp-color-text-soft); color: var(--snp-color-text); }
.snp-btn--block { width: 100%; }

.snp-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 600;
	border-radius: 999px;
	letter-spacing: .03em;
	background: rgba(37, 99, 235, .08);
	color: var(--snp-color-accent);
}
.snp-badge--soft { background: var(--snp-color-bg); color: var(--snp-color-text-mute); }
.snp-badge--success { background: rgba(22,163,74,.10); color: var(--snp-color-success); }

/* =============================================================================
 * Empty state
 * ============================================================================= */
.snp-empty {
	padding: 32px;
	background: var(--snp-color-surface);
	border: 1px dashed var(--snp-color-border);
	border-radius: var(--snp-radius);
	text-align: center;
	color: var(--snp-color-text-mute);
}

/* =============================================================================
 * [snp_booking] — funnel step 1
 *
 * Hero / gallery / date filter / packages / hotels.
 * All BEM classes scoped to .snp-root so tokens apply.
 * ============================================================================= */
.snp-booking { display: flex; flex-direction: column; gap: var(--snp-gap-lg); }

/* ── Hero — full-width cover only, no overlay text ───────────────────── */
.snp-booking__hero {
	position: relative;
	border-radius: var(--snp-radius);
	overflow: hidden;
	background: var(--snp-color-bg);
	min-height: 320px;
	box-shadow: var(--snp-shadow);
}
.snp-booking__hero-media,
.snp-booking__hero-image,
.snp-booking__hero-video {
	width: 100%;
	height: 100%;
	min-height: 320px;
	max-height: 480px;
	object-fit: cover;
	display: block;
}
.snp-booking__hero iframe.snp-booking__hero-video { aspect-ratio: 21/9; height: auto; min-height: 320px; }
@media (max-width: 600px) { .snp-booking__hero { min-height: 220px; } }

/* ── Intro row — gallery (left) + event info (right) ────────────────── */
.snp-booking__intro {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: var(--snp-gap-lg);
	align-items: start;
}
@media (max-width: 800px) {
	.snp-booking__intro { grid-template-columns: 1fr; }
}
.snp-booking__intro-gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-auto-rows: 160px;
	gap: 10px;
}
.snp-booking__intro-gallery .snp-gallery-slider {
	display: contents;     /* let inner figures participate in the parent grid */
}
.snp-booking__intro-gallery-item {
	margin: 0;
	border-radius: var(--snp-radius-sm);
	overflow: hidden;
	background: var(--snp-color-bg);
}
.snp-booking__intro-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.snp-booking__intro-gallery-item.is-large {
	grid-column: 1 / -1;
	grid-row: span 2;
}
@media (max-width: 600px) {
	.snp-booking__intro-gallery { grid-auto-rows: 120px; }
}

.snp-booking__intro-info {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.snp-booking__intro-title {
	font-size: 32px;
	line-height: 1.15;
	margin: 0;
	color: var(--snp-color-text);
}
.snp-booking__intro-desc {
	color: var(--snp-color-text-soft);
	margin: 0;
	font-size: 15px;
}

/* ── Gallery ─────────────────────────────────────────────────────────── */
.snp-booking__gallery {
	border-radius: var(--snp-radius);
	overflow: hidden;
}
.snp-booking__gallery-slide {
	aspect-ratio: 4 / 3;
	background: var(--snp-color-bg);
	overflow: hidden;
	border-radius: var(--snp-radius-sm);
}
.snp-booking__gallery-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ── Date filter ─────────────────────────────────────────────────────── */
.snp-booking__filter {
	background: var(--snp-color-surface);
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius);
	padding: 22px 24px;
	box-shadow: var(--snp-shadow);
}
.snp-booking__filter-form { display: flex; flex-direction: column; gap: 18px; align-items:flex-start; }
.snp-booking__filter-group { display: flex; flex-direction: column; gap: 10px; }

/* Plan chips (preset_date mode — group selector). */
.snp-booking__plan-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.snp-booking__plan-chip {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	padding: 12px 16px;
	background: var(--snp-color-bg);
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius-sm);
	color: var(--snp-color-text);
	cursor: pointer;
	font: inherit;
	transition: border-color .15s, background .15s, color .15s;
	min-width: 160px;
	text-align: left;
}
.snp-booking__plan-chip:hover { border-color: var(--snp-color-text-soft); }
.snp-booking__plan-chip.is-active {
	background: var(--snp-color-surface);
	border-color: var(--snp-color-accent);
	box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.snp-booking__plan-chip-title { font-weight: 600; font-size: 14px; }
.snp-booking__plan-chip-sub   { font-size: 12px; color: var(--snp-color-text-mute); }

/* Date chips — individual preset rows */
.snp-booking__date-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.snp-booking__date-chip {
	padding: 8px 14px;
	background: var(--snp-color-bg);
	border: 1px solid var(--snp-color-border);
	border-radius: 999px;
	font: 600 13px var(--snp-font-sans);
	color: var(--snp-color-text);
	cursor: pointer;
	transition: border-color .15s, background .15s, color .15s;
}
.snp-booking__date-chip:hover { border-color: var(--snp-color-text-soft); }
.snp-booking__date-chip.is-active {
	background: var(--snp-color-accent);
	border-color: var(--snp-color-accent);
	color: #fff;
}
.snp-booking__date-select { display: none; }            /* JS shows it on small screens */
@media (max-width: 600px) {
	.snp-booking__date-row    { display: none; }
	.snp-booking__date-select { display: block; width: 100%; padding: 10px 12px; border: 1px solid var(--snp-color-border); border-radius: var(--snp-radius-sm); }
}

/* Flexible-date layout */
.snp-booking__filter-flex {
	display: grid;
	grid-template-columns: 1fr 1fr auto;
	gap: 14px;
	align-items: end;
}
@media (max-width: 600px) { .snp-booking__filter-flex { grid-template-columns: 1fr; } }
.snp-booking__filter-cell { display: flex; flex-direction: column; gap: 4px; }
.snp-booking__filter-cell--cta { align-self: end; }
.snp-booking__date-input {
	padding: 10px 12px;
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius-sm);
	font: inherit;
	color: var(--snp-color-text);
	background: var(--snp-color-surface);
}
.snp-booking__date-input:focus {
	outline: 2px solid var(--snp-color-accent);
	outline-offset: 1px;
	border-color: var(--snp-color-accent);
}

/* ── Section header (Packages / Hotels) ─────────────────────────────── */
.snp-booking__section { display: flex; flex-direction: column; gap: 14px; }
.snp-booking__section-head { display: flex; flex-direction: column; gap: 2px; }
.snp-booking__section-title { font-size: 22px; line-height: 1.2; margin: 0; }
.snp-booking__section-sub   { color: var(--snp-color-text-mute); margin: 0; font-size: 14px; }

/* Per-leg pill in the section header (e.g. "Stop · Makkah") */
.snp-booking__section-leg-pill {
	display: inline-block;
	background: #eef2ff;
	color: #3730a3;
	border: 1px solid #e0e7ff;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 3px 9px;
	border-radius: 999px;
	margin-right: 8px;
	vertical-align: middle;
}
.snp-booking__section-leg-city {
	color: #6b7280;
	font-weight: 500;
	font-size: 15px;
	margin-left: 8px;
}

/* Empty-stop notice — shown inside a leg section when the picked plan
 * has no available hotels for that stop. Keeps the trip structure
 * visible so the customer understands the situation. */
.snp-booking__leg-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 8px;
	padding: 26px 22px;
	background: #fafbff;
	border: 1px dashed #c7d2fe;
	border-radius: 14px;
	color: #475569;
}
.snp-booking__leg-empty-icon {
	color: #818cf8;
	margin-bottom: 2px;
}
.snp-booking__leg-empty p {
	margin: 0;
	font-size: 14.5px;
	font-weight: 500;
	color: #1e293b;
	max-width: 540px;
}
.snp-booking__leg-empty-hint {
	font-size: 13px !important;
	font-weight: 400 !important;
	color: #6b7280 !important;
}

/* ──────────────────────────────────────────────────────────────────────
 * Booking page: trip itinerary preview
 * Sits right below the date filter on multi-leg events. Horizontal
 * card-and-arrow row that scrolls on narrow screens.
 * ────────────────────────────────────────────────────────────────────── */
.snp-booking__itinerary {
	background: linear-gradient( 135deg, #f8fafc 0%, #eef2ff 100% );
	border: 1px solid #e0e7ff;
	border-radius: 16px;
	padding: 18px 20px;
	box-shadow: 0 2px 8px rgba(15, 23, 42, .04);
}
.snp-booking__itinerary-head {
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}
.snp-booking__itinerary-head .snp-booking__section-title { font-size: 18px; }
.snp-booking__itinerary-head .snp-booking__section-sub   { font-size: 13px; }
.snp-booking__itinerary-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: #fff;
	color: #1e3a8a;
	border: 1px solid #c7d2fe;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .02em;
	white-space: nowrap;
}

.snp-booking__itinerary-track {
	list-style: none;
	margin: 0;
	padding: 4px 2px;
	display: flex;
	align-items: stretch;
	gap: 10px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}
.snp-booking__itinerary-track::-webkit-scrollbar { height: 6px; }
.snp-booking__itinerary-track::-webkit-scrollbar-thumb { background: #c7d2fe; border-radius: 999px; }

.snp-booking__itinerary-stop {
	flex: 1 1 220px;
	min-width: 220px;
	display: flex;
}
.snp-booking__itinerary-card {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	flex: 1;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	color: inherit;
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.snp-booking__itinerary-card:hover,
.snp-booking__itinerary-card:focus-visible {
	transform: translateY(-1px);
	border-color: #93c5fd;
	box-shadow: 0 6px 18px rgba(37, 99, 235, .14);
	text-decoration: none;
}
.snp-booking__itinerary-index {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #2563eb;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}
.snp-booking__itinerary-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.snp-booking__itinerary-name {
	color: #0f172a;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
}
.snp-booking__itinerary-meta {
	color: #64748b;
	font-size: 12.5px;
	line-height: 1.3;
}
.snp-booking__itinerary-dates {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	color: #1e3a8a;
	font-size: 12.5px;
	font-weight: 500;
}
.snp-booking__itinerary-dates svg { color: #6366f1; }
.snp-booking__itinerary-nights {
	display: inline-block;
	margin-top: 2px;
	font-size: 11.5px;
	color: #475569;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
}
.snp-booking__itinerary-arrow {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #94a3b8;
	padding: 0 2px;
}

@media ( max-width: 720px ) {
	.snp-booking__itinerary-head { gap: 10px; }
	.snp-booking__itinerary-stop { flex: 0 0 78%; min-width: 78%; }
	.snp-booking__itinerary-arrow { display: none; }
}

/* ── Slider chrome ───────────────────────────────────────────────────── */
.snp-booking__slider {
	position: relative;
}
.snp-booking__slider-track {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: var(--snp-gap);
}
.snp-booking__slider-nav {
	position: absolute;
	top: 40%;
	z-index: 5;
	width: 36px; height: 36px;
	border-radius: 50%;
	background: var(--snp-color-surface);
	border: 1px solid var(--snp-color-border);
	color: var(--snp-color-text);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: none;       /* slick.js will toggle when initialised; native grid hides them */
	align-items: center;
	justify-content: center;
	box-shadow: var(--snp-shadow);
	transition: background .15s, border-color .15s;
}
.snp-booking__slider-nav:hover { border-color: var(--snp-color-text-soft); }
.snp-booking__slider-nav--prev { left: -10px; }
.snp-booking__slider-nav--next { right: -10px; }

/* ── Cards (packages + hotels — shared) ─────────────────────────────── */
.snp-booking__card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--snp-color-surface);
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius);
	overflow: hidden;
	box-shadow: var(--snp-shadow);
	transition: transform .18s, box-shadow .18s, border-color .18s;
}
.snp-booking__card:hover {
	transform: translateY(-2px);
	box-shadow: var(--snp-shadow-hover);
}
.snp-booking__card--best {
	border-color: var(--pkg-color, var(--snp-color-accent));
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--pkg-color, var(--snp-color-accent)) 20%, transparent), var(--snp-shadow);
}
.snp-booking__card-flag {
	position: absolute;
	top: 12px; right: 12px;
	background: var(--pkg-color, var(--snp-color-accent));
	color: #fff;
	z-index: 2;
}

.snp-booking__card-image-wrap { aspect-ratio: 16/9; background: var(--snp-color-bg); }
.snp-booking__card-image      { width: 100%; height: 100%; object-fit: cover; display: block; }

.snp-booking__card-head {
	padding: 18px 18px 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	position: relative;
}

.snp-booking__card-radio {
	position: absolute;
	top: 14px; left: 14px;
	cursor: pointer;
}
.snp-booking__card-radio input { position: absolute; opacity: 0; pointer-events: none; }
.snp-booking__card-radio-mark {
	display: block;
	width: 20px; height: 20px;
	border-radius: 50%;
	border: 2px solid var(--snp-color-border);
	background: var(--snp-color-surface);
	transition: border-color .15s;
}
.snp-booking__card-radio input:checked + .snp-booking__card-radio-mark {
	border-color: var(--pkg-color, var(--snp-color-accent));
	background: radial-gradient(circle, var(--pkg-color, var(--snp-color-accent)) 0 6px, var(--snp-color-surface) 7px);
}
.snp-booking__card--package .snp-booking__card-name { padding-left: 30px; }   /* leave space for the radio */

.snp-booking__card-name { font-size: 18px; line-height: 1.3; font-weight: 600; margin: 0; }

.snp-booking__card-price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	color: var(--snp-color-text);
}
.snp-booking__card-price-amount { font-size: 22px; font-weight: 700; }
.snp-booking__card-price-per    { font-size: 12px; color: var(--snp-color-text-mute); }

.snp-booking__card-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
}
.snp-booking__card-rating { font-size: 13px; color: var(--snp-color-text-soft); }
.snp-booking__card-price-tag {
	font-size: 13px;
	font-weight: 600;
	color: var(--snp-color-accent);
}

.snp-booking__card-body { padding: 0 18px 18px; display: flex; flex-direction: column; gap: 10px; }

.snp-booking__card-note {
	font-size: 12px;
	color: var(--snp-color-text-mute);
	background: var(--snp-color-bg);
	padding: 6px 10px;
	border-radius: var(--snp-radius-sm);
}
.snp-booking__card-desc  { color: var(--snp-color-text-soft); margin: 0; font-size: 14px; line-height: 1.5; }

.snp-booking__card-list-head {
	font-size: 13px;
	font-weight: 600;
	margin: 0;
	color: var(--snp-color-text);
}
.snp-booking__card-list-head--neg { color: var(--snp-color-danger); }
.snp-booking__card-list {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 13px;
	color: var(--snp-color-text-soft);
}
.snp-booking__card-list li { display: flex; gap: 6px; align-items: flex-start; }
.snp-booking__card-list-icon { color: var(--snp-color-success); flex: 0 0 auto; margin-top: 3px; }
.snp-booking__card-list-icon--x {
	display: inline-flex;
	width: 14px; height: 14px;
	align-items: center; justify-content: center;
	background: rgba(220,38,38,.10);
	color: var(--snp-color-danger);
	border-radius: 50%;
	font-size: 12px; font-weight: 700;
	margin-top: 2px;
}
.snp-booking__card-list--neg li { color: var(--snp-color-text-mute); }

/* When packages need a CTA at the bottom (best-value-style), reuse .snp-btn */
.snp-booking__card .snp-btn { align-self: stretch; margin-top: 6px; }

/* =============================================================================
 * Checkout family — covers [snp_extras], [snp_checkout], [snp_payment]
 * ============================================================================= */
.snp-checkout { display: block; }
.snp-checkout__layout {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: var(--snp-gap-lg);
}
@media (max-width: 900px) { .snp-checkout__layout { grid-template-columns: 1fr; } }
.snp-checkout__main, .snp-checkout__sidebar { min-width: 0; }

/* Progress steps — Phase T: equal-width segments so the bar fills
   the full width of the funnel column (no awkward whitespace at the
   end of the row). Each step gets `flex: 1` and centers its label. */
.snp-checkout__steps {
	list-style: none;
	margin: 0 0 var(--snp-gap);
	padding: 0;
	display: flex;
	gap: 4px;
	background: var(--snp-color-surface);
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius);
	padding: 12px 14px;
	width: 100%;
	box-sizing: border-box;
}
.snp-checkout__step {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	color: var(--snp-color-text-mute);
	white-space: nowrap;
	padding: 4px 10px;
	flex: 1 1 0;
	min-width: 0;
}
.snp-checkout__step + .snp-checkout__step { border-left: 1px solid var(--snp-color-border); padding-left: 14px; }
.snp-checkout__step .snp-step-lbl {
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}
.snp-checkout__step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px; height: 22px;
	border-radius: 50%;
	background: var(--snp-color-bg);
	color: var(--snp-color-text-mute);
	font-size: 12px;
	font-weight: 600;
	flex: 0 0 auto;
}
.snp-checkout__step--done .snp-checkout__step-num { background: rgba(22,163,74,.15); color: var(--snp-color-success); }
.snp-checkout__step--active { color: var(--snp-color-text); }
.snp-checkout__step--active .snp-checkout__step-num { background: var(--snp-color-accent); color: #fff; }

/* Phase V.5 — SVG icon variant of the step chip. Same circular
 * footprint as .snp-checkout__step-num so the bar's vertical
 * rhythm is unchanged after we switched from numbered chips to
 * icons. The SVG inherits color via `currentColor`, so the same
 * three states (idle / done / active) recolour the icon by
 * setting the parent <span>'s color. */
.snp-checkout__step-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px; height: 26px;
	border-radius: 50%;
	background: var(--snp-color-bg);
	color: var(--snp-color-text-mute);
	flex: 0 0 auto;
	transition: background-color .15s ease, color .15s ease;
}
.snp-checkout__step-icon svg { display: block; }
.snp-checkout__step--done   .snp-checkout__step-icon { background: rgba(22,163,74,.15); color: var(--snp-color-success); }
.snp-checkout__step--active .snp-checkout__step-icon { background: var(--snp-color-accent); color: #fff; }

@media (max-width: 600px) {
	.snp-checkout__steps { padding: 10px; gap: 2px; }
	.snp-checkout__step { font-size: 12px; padding: 2px 4px; gap: 6px; }
	.snp-checkout__step + .snp-checkout__step { padding-left: 6px; }
	.snp-checkout__step-num  { width: 20px; height: 20px; font-size: 11px; }
	.snp-checkout__step-icon { width: 22px; height: 22px; }
	.snp-checkout__step-icon svg { width: 13px; height: 13px; }
}

/* Section header */
.snp-checkout__section-head {
	display: flex;
	gap: 12px;
	align-items: center;
	margin: 18px 0 10px;
}
.snp-checkout__section-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px; height: 28px;
	border-radius: 50%;
	background: var(--snp-color-accent);
	color: #fff;
	font-weight: 600;
	font-size: 13px;
}
.snp-checkout__section-title { margin: 0; font-size: 18px; }

/* Form */
.snp-checkout__form {
	background: var(--snp-color-surface);
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius);
	padding: 22px 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.snp-checkout__row { display: grid; gap: 14px; }
.snp-form-row-2 { grid-template-columns: 1fr 1fr; }
.snp-form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 600px) { .snp-form-row-2, .snp-form-row-3 { grid-template-columns: 1fr; } }

.snp-checkout__field { display: flex; flex-direction: column; gap: 6px; }
.snp-checkout__label { font-size: 13px; font-weight: 600; color: var(--snp-color-text); }
.snp-checkout__input,
.snp-checkout__select {
	padding: 10px 12px;
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius-sm);
	font: inherit;
	color: var(--snp-color-text);
	background: var(--snp-color-surface);
	transition: border-color .15s, box-shadow .15s;
}
.snp-checkout__input:focus,
.snp-checkout__select:focus {
	outline: none;
	border-color: var(--snp-color-accent);
	box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.snp-required { color: var(--snp-color-danger); margin-left: 2px; }

/* Toggle switch */
.snp-toggle {
	position: relative;
	display: inline-block;
	width: 44px; height: 24px;
	flex: 0 0 auto;
	cursor: pointer;
}
.snp-toggle input { opacity: 0; width: 0; height: 0; }
.snp-toggle__track {
	position: absolute; inset: 0;
	background: var(--snp-color-border);
	border-radius: 999px;
	transition: background .2s;
}
.snp-toggle__track::before {
	content: ''; position: absolute;
	left: 2px; top: 2px;
	width: 20px; height: 20px;
	background: #fff;
	border-radius: 50%;
	transition: transform .2s;
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.snp-toggle input:checked + .snp-toggle__track { background: var(--snp-color-accent); }
.snp-toggle input:checked + .snp-toggle__track::before { transform: translateX(20px); }

/* Instalment / CrewPay sections inside the form */
.snp-checkout__instalment,
.snp-checkout__crewpay {
	background: var(--snp-color-bg);
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius-sm);
	padding: 14px 16px;
}
.snp-checkout__instalment-head,
.snp-checkout__crewpay-head {
	display: flex; align-items: flex-start; gap: 14px;
}
.snp-checkout__instalment-detail,
.snp-checkout__crewpay-breakdown {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px dashed var(--snp-color-border);
}

/* Stripe card mount */
.snp-checkout__card { padding: 14px 16px; background: var(--snp-color-bg); border: 1px solid var(--snp-color-border); border-radius: var(--snp-radius-sm); }
.snp-checkout__card-title { font-size: 14px; margin: 0 0 10px; }
.snp-checkout__pay-amount { margin-bottom: 12px; font-size: 14px; }
.snp-checkout__stripe-mount {
	background: var(--snp-color-surface);
	padding: 12px;
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius-sm);
}
.snp-checkout__stripe-error,
.snp-checkout__error {
	background: rgba(220,38,38,.08);
	border: 1px solid rgba(220,38,38,.30);
	color: var(--snp-color-danger);
	padding: 10px 12px;
	border-radius: var(--snp-radius-sm);
	font-size: 13px;
	margin-top: 10px;
}
.snp-checkout__error.snp-hidden,
.snp-checkout__stripe-error:empty { display: none; }
.snp-checkout__secure { font-size: 12px; color: var(--snp-color-text-mute); display: flex; align-items: center; gap: 6px; }

/* Form actions */
.snp-checkout__actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
	margin-top: 6px;
}

/* Pricing rows (used in instalment, crewpay, summaries) */
.snp-checkout__pricerow,
.snp-account__row,
.snp-thankyou__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 6px 0;
	font-size: 14px;
}
.snp-checkout__pricerow-label,
.snp-account__row-label,
.snp-thankyou__row-label { color: var(--snp-color-text-soft); }
.snp-checkout__pricerow-value,
.snp-account__row-value,
.snp-thankyou__row-value { font-weight: 500; }
.snp-checkout__pricerow--accent { color: var(--snp-color-accent); font-weight: 600; }
.snp-account__row--total,
.snp-thankyou__row--total {
	padding-top: 10px;
	border-top: 1px solid var(--snp-color-border);
	font-size: 16px;
	font-weight: 700;
}

/* Per-room block + guest cards */
.snp-checkout__room {
	background: var(--snp-color-surface);
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius-sm);
	padding: 16px 18px;
	margin-bottom: var(--snp-gap);
}
.snp-checkout__room-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}
.snp-checkout__room-title { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.snp-checkout__room-dates { display: flex; gap: 12px; font-size: 13px; color: var(--snp-color-text-mute); }
.snp-checkout__guest {
	background: var(--snp-color-bg);
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius-sm);
	padding: 14px 16px;
	margin-top: 10px;
}
.snp-checkout__guest--primary { background: var(--snp-color-surface); border-color: var(--snp-color-accent); }
.snp-checkout__guest-head {
	display: flex; justify-content: space-between; align-items: center;
	gap: 10px; flex-wrap: wrap; margin-bottom: 12px;
}
.snp-checkout__guest-title { margin: 0; font-size: 15px; display: flex; gap: 8px; align-items: center; }
.snp-checkout__guest-actions { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.snp-checkout__link {
	color: var(--snp-color-accent);
	background: none;
	border: 0;
	cursor: pointer;
	font: inherit;
	padding: 0;
	text-decoration: none;
}
.snp-checkout__link:hover { color: var(--snp-color-accent-hi); text-decoration: underline; }

.snp-checkout__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }

.snp-checkout__included-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 12px;
}
.snp-checkout__included {
	background: var(--snp-color-surface);
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius-sm);
	overflow: hidden;
}
.snp-checkout__included-image-wrap { aspect-ratio: 16 / 10; overflow: hidden; background: var(--snp-color-bg); }
.snp-checkout__included-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.snp-checkout__included-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.snp-checkout__included-title { margin: 0; font-size: 14px; font-weight: 600; }
.snp-checkout__included-price { font-size: 13px; color: var(--snp-color-accent); font-weight: 600; }
.snp-checkout__included-desc { font-size: 12px; color: var(--snp-color-text-mute); }

/* Callouts */
.snp-callout {
	padding: 10px 14px;
	border-radius: var(--snp-radius-sm);
	font-size: 13px;
	border: 1px solid;
}
.snp-callout--info  { background: rgba(37,99,235,.06); border-color: rgba(37,99,235,.20);  color: var(--snp-color-text-soft); }
.snp-callout--warn  { background: rgba(245,158,11,.10); border-color: rgba(245,158,11,.30); color: #92400e; }

.snp-checkout__muted { color: var(--snp-color-text-mute); font-size: 13px; }

/* Modal */
.snp-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.snp-modal-overlay { position: absolute; inset: 0; background: rgba(15,23,42,.5); }
.snp-modal-box {
	position: relative;
	z-index: 1;
	background: var(--snp-color-surface);
	border-radius: var(--snp-radius);
	width: min(94%, 480px);
	box-shadow: 0 20px 50px rgba(15,23,42,.20);
	overflow: hidden;
}
.snp-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--snp-color-border); }
.snp-modal-header h3 { margin: 0; font-size: 16px; }
.snp-modal-close { background: none; border: 0; font-size: 22px; line-height: 1; color: var(--snp-color-text-mute); cursor: pointer; padding: 4px 8px; border-radius: 4px; }
.snp-modal-close:hover { color: var(--snp-color-text); background: var(--snp-color-bg); }
.snp-modal-body { padding: 16px 18px; }
.snp-modal-footer { padding: 14px 18px; border-top: 1px solid var(--snp-color-border); display: flex; justify-content: flex-end; gap: 10px; background: var(--snp-color-bg); }
.snp-hidden { display: none !important; }

/* =============================================================================
 * Thank-you page
 * ============================================================================= */
.snp-thankyou__shell { max-width: 800px; margin: 0 auto; }
.snp-thankyou__layout {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: var(--snp-gap-lg);
}
@media (max-width: 900px) {
	.snp-thankyou__layout { grid-template-columns: 1fr; }
}
.snp-thankyou__main,
.snp-thankyou__sidebar { min-width: 0; }
.snp-thankyou__sidebar { display: flex; flex-direction: column; gap: var(--snp-gap); }
.snp-thankyou__hero {
	background: var(--snp-color-surface);
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius);
	padding: 32px 24px;
	text-align: center;
	margin-bottom: var(--snp-gap-lg);
}
.snp-thankyou__hero-icon {
	display: inline-flex;
	align-items: center; justify-content: center;
	width: 56px; height: 56px;
	border-radius: 50%;
	background: rgba(22,163,74,.12);
	color: var(--snp-color-success);
	font-size: 30px;
	font-weight: 700;
	margin-bottom: 14px;
}
.snp-thankyou__hero-title { margin: 0; font-size: 28px; line-height: 1.2; color: #0f172a; }
.snp-thankyou__hero-sub {
	margin: 8px 0 18px;
	font-size: 15px;
	color: #475569;
	max-width: 38rem;
	margin-inline: auto;
	line-height: 1.5;
}

/* Reference + email block sit in a tight cluster under the headline,
 * rather than as orphan paragraphs. */
.snp-thankyou__hero-meta {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}
.snp-thankyou__hero-ref {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	padding: 6px 12px 6px 14px;
	font-size: 13px;
}
.snp-thankyou__hero-ref-label {
	color: #64748b;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.snp-thankyou__hero-ref-code {
	font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
	font-size: 13.5px;
	font-weight: 600;
	color: #0f172a;
	background: transparent;
	padding: 0;
}
.snp-thankyou__hero-ref-copy {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: transparent;
	border: 0;
	border-left: 1px solid #e2e8f0;
	padding: 0 0 0 10px;
	margin-left: 2px;
	font-size: 12px;
	font-weight: 600;
	color: #2563eb;
	cursor: pointer;
	transition: color .15s ease;
}
.snp-thankyou__hero-ref-copy:hover { color: #1d4ed8; }
.snp-thankyou__hero-ref-copy.is-copied { color: #15803d; }
.snp-thankyou__hero-ref-copy svg { stroke: currentColor; }

.snp-thankyou__hero-email {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 13.5px;
	color: var(--snp-color-text-soft);
}
.snp-thankyou__hero-email svg { stroke: currentColor; opacity: .7; }

/* "What happens next" callout — replaces the inline-styled amber
 * "Heads up" banner with a clean info-toned card that lists what
 * the customer should expect, in plain language. */
.snp-thankyou__next {
	margin-top: 14px;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 16px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 10px;
	color: #1e40af;
}
.snp-thankyou__next .snp-callout__icon {
	flex: 0 0 auto;
	display: flex;
	color: #2563eb;
	margin-top: 1px;
}
.snp-thankyou__next .snp-callout__body { flex: 1; }
.snp-thankyou__next .snp-callout__body strong {
	display: block;
	font-size: 13.5px;
	color: #1e3a8a;
	margin-bottom: 6px;
}
.snp-thankyou__next-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
}
.snp-thankyou__next-list li {
	font-size: 13px;
	line-height: 1.5;
	color: #1e3a8a;
	padding-left: 16px;
	position: relative;
}
.snp-thankyou__next-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #2563eb;
	opacity: .8;
}

/* Schedule rows — design-token equivalents of what we used to inline. */
.snp-schedule {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
}
.snp-schedule__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 12px;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
}
.snp-schedule__row--paid    { background: #f0fdf4; border-color: #bbf7d0; }
.snp-schedule__row--overdue { background: #fef2f2; border-color: #fecaca; }
.snp-schedule__label {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
}
.snp-schedule__label strong { color: #0f172a; font-size: 14px; }
.snp-schedule__label small  { color: #64748b; font-size: 12.5px; }
.snp-schedule__meta {
	display: flex;
	align-items: center;
	gap: 10px;
}
.snp-schedule__pill {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 3px 9px;
	border-radius: 999px;
	white-space: nowrap;
}
.snp-schedule__pill--paid    { background: #15803d; color: #fff; }
.snp-schedule__pill--overdue { background: #b91c1c; color: #fff; }
.snp-schedule__pill--pending { background: #e2e8f0; color: #475569; }
.snp-schedule__amount { color: #0f172a; font-size: 15px; font-weight: 600; }

/* Inline-style replacement for the guest-info heads-up note. */
.snp-thankyou__guests-note {
	margin: 0 0 14px;
	padding: 10px 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	font-size: 13.5px;
	color: #475569;
	line-height: 1.5;
}

/* Footer action bar — three primary onward paths after a successful
 * booking. Stack on small screens so each button stays full-width
 * tappable rather than getting squashed. */
.snp-thankyou__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #e2e8f0;
}
.snp-thankyou__action {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 1;
	min-width: 200px;
	justify-content: center;
}
.snp-thankyou__action svg { stroke: currentColor; opacity: .9; }
@media (max-width: 540px) {
	.snp-thankyou__action {
		flex: 1 1 100%;
	}
}

/* Print styles — strip site chrome + action bars + sidebar so the
 * receipt prints clean. The grid collapses to single-column so the
 * timeline + breakdown flow naturally on paper. */
@media print {
	.snp-thankyou__actions,
	.snp-thankyou__hero-ref-copy,
	.snp-thankyou__sidebar,
	header.site-header, footer.site-footer {
		display: none !important;
	}
	.snp-thankyou__layout {
		grid-template-columns: 1fr !important;
	}
	.snp-thankyou__hero {
		padding-top: 0;
		page-break-after: avoid;
	}
	.snp-thankyou__section {
		page-break-inside: avoid;
	}
	body {
		background: #fff !important;
		color: #000 !important;
	}
}

.snp-thankyou__section-head,
.snp-account__section-head {
	display: flex; align-items: center; gap: 10px;
	font-size: 14px;
	margin: 18px 0 10px;
}
.snp-thankyou__section-num,
.snp-account__badge {
	display: inline-flex; align-items: center; justify-content: center;
	width: 26px; height: 26px;
	border-radius: 50%;
	background: var(--snp-color-bg);
	color: var(--snp-color-text-mute);
	font-weight: 600;
}
.snp-thankyou__card,
.snp-account__card {
	background: var(--snp-color-surface);
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius);
	padding: 18px 20px;
}
.snp-thankyou__divider,
.snp-account__divider {
	height: 1px;
	background: var(--snp-color-border);
	margin: 8px 0;
}
.snp-thankyou__guest,
.snp-account__guest {
	padding: 12px 0;
	border-bottom: 1px dashed var(--snp-color-border);
}
.snp-thankyou__guest:last-child,
.snp-account__guest:last-child { border-bottom: 0; }
.snp-thankyou__muted,
.snp-account__muted { color: var(--snp-color-text-mute); font-size: 13px; }

/* My Account additions */
.snp-account__shell { max-width: 1000px; margin: 0 auto; }
.snp-account__back { margin-bottom: var(--snp-gap); }

/* My Account — single-booking detail page two-column layout. Mirrors
 * the thank-you grid so the customer's pre-purchase summary shape
 * matches their post-purchase view. */
.snp-account__layout {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: var(--snp-gap-lg);
}
@media (max-width: 900px) {
	.snp-account__layout { grid-template-columns: 1fr; }
}
.snp-account__main,
.snp-account__sidebar { min-width: 0; }
.snp-account__sidebar { display: flex; flex-direction: column; gap: var(--snp-gap); }
.snp-account__table {
	width: 100%;
	border-collapse: collapse;
	background: var(--snp-color-surface);
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius);
	overflow: hidden;
}
.snp-account__table th,
.snp-account__table td { padding: 12px 14px; border-bottom: 1px solid var(--snp-color-border); text-align: left; }
.snp-account__table thead th { background: var(--snp-color-bg); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--snp-color-text-mute); }
.snp-account__table tbody tr:hover { background: var(--snp-color-bg); }

/* =============================================================================
 * My Account — modern bookings list (replaces .snp-bookings-table)
 * ============================================================================= */
.snp-bookings { display: flex; flex-direction: column; gap: 18px; max-width: 1100px; margin: 0 auto; }

.snp-bookings__head {
	display: flex;
	gap: 16px;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	padding: 4px 2px 0;
}
.snp-bookings__head-text { display: flex; flex-direction: column; gap: 2px; }
.snp-bookings__title {
	margin: 0;
	font-size: 22px;
	letter-spacing: -0.01em;
	color: #0f172a;
	font-weight: 700;
}
.snp-bookings__subtitle { margin: 0; font-size: 13px; color: #64748b; }

.snp-bookings__head-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.snp-bookings__search {
	min-width: 240px;
	padding: 9px 14px;
	font-size: 13px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
	color: #0f172a;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.snp-bookings__search:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.snp-bookings__cta { white-space: nowrap; }

/* ── List + row card ───────────────────────────────────────── */
.snp-bookings__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }

.snp-bookings__row {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	transition: border-color .15s ease, box-shadow .2s ease, transform .15s ease;
	overflow: hidden;
}
.snp-bookings__row:hover {
	border-color: #cbd5e1;
	box-shadow: 0 6px 18px -10px rgba(15,23,42,.18);
	transform: translateY(-1px);
}

.snp-bookings__link {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr) minmax(180px, auto);
	gap: 18px;
	align-items: center;
	padding: 16px 18px;
	color: inherit;
	text-decoration: none;
}
.snp-bookings__link:hover,
.snp-bookings__link:focus { color: inherit; text-decoration: none; }

/* ── Primary block (booking ref + hotel + room) ─────────────── */
.snp-bookings__primary { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.snp-bookings__code {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #94a3b8;
}
.snp-bookings__hotel {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	color: #0f172a;
	letter-spacing: -.01em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.snp-bookings__meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #475569;
	min-width: 0;
}
.snp-bookings__room {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}
.snp-bookings__chip {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 600;
	background: #eff6ff;
	color: #1d4ed8;
	border-radius: 999px;
	letter-spacing: .01em;
}
.snp-bookings__chip--neutral { background: #f1f5f9; color: #475569; }

/* ── Date block (check-in → check-out) ───────────────────────── */
.snp-bookings__dates {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}
.snp-bookings__date { display: flex; flex-direction: column; line-height: 1.15; min-width: 64px; }
.snp-bookings__date-label {
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #94a3b8;
	margin-bottom: 4px;
}
.snp-bookings__date-value {
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
}
.snp-bookings__date-year { font-size: 11px; color: #64748b; margin-top: 2px; }
.snp-bookings__date-arrow {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	color: #cbd5e1;
	flex: 0 0 auto;
}
.snp-bookings__nights {
	font-size: 11px;
	font-weight: 600;
	color: #64748b;
	white-space: nowrap;
}
.snp-bookings__date-empty { font-size: 13px; color: #94a3b8; font-style: italic; }

/* ── Sidebar block (status + total + view) ───────────────────── */
.snp-bookings__sidebar {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	flex: 0 0 auto;
	min-width: 150px;
}
.snp-bookings__status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	border-radius: 999px;
	border: 1px solid transparent;
}
.snp-bookings__status::before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}
.snp-bookings__status--green  { background: #f0fdf4; color: #15803d; border-color: #bbf7d0; }
.snp-bookings__status--amber  { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.snp-bookings__status--orange { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.snp-bookings__status--slate  { background: #f1f5f9; color: #475569; border-color: #e2e8f0; }

.snp-bookings__total {
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
	letter-spacing: -.01em;
}
.snp-bookings__view-cta {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 600;
	color: #2563eb;
	transition: color .15s ease, gap .15s ease;
}
.snp-bookings__row:hover .snp-bookings__view-cta { gap: 6px; color: #1d4ed8; }

/* ── Empty state ─────────────────────────────────────────────── */
.snp-bookings__empty-state {
	margin: 0;
	padding: 28px 16px;
	text-align: center;
	color: #64748b;
	font-size: 14px;
	background: #fff;
	border: 1px dashed #e2e8f0;
	border-radius: 12px;
}

/* ── Tight viewports ─────────────────────────────────────────── */
@media (max-width: 880px) {
	.snp-bookings__link {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.snp-bookings__sidebar {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		min-width: 0;
	}
	.snp-bookings__dates {
		justify-content: flex-start;
	}
}
@media (max-width: 540px) {
	.snp-bookings__head { align-items: stretch; }
	.snp-bookings__search { min-width: 0; flex: 1; }
	.snp-bookings__cta { width: 100%; text-align: center; }
	.snp-bookings__hotel { font-size: 16px; }
	.snp-bookings__total { font-size: 16px; }
	.snp-bookings__date-value { font-size: 14px; }
}

/* =============================================================================
 * Single hotel page
 * ============================================================================= */
.snp-hotel__head {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: var(--snp-gap-lg);
	background: var(--snp-color-surface);
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius);
	padding: 18px;
	margin-bottom: var(--snp-gap-lg);
}
@media (max-width: 800px) { .snp-hotel__head { grid-template-columns: 1fr; } }
.snp-hotel__hero { display: flex; flex-direction: column; gap: 8px; }
.snp-hotel__hero-main { aspect-ratio: 16/9; overflow: hidden; border-radius: var(--snp-radius-sm); background: var(--snp-color-bg); }
.snp-hotel__hero-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.snp-hotel__thumbs { display: flex; gap: 6px; overflow-x: auto; }
.snp-hotel__thumb,
.snp-room__thumb { width: 60px; height: 60px; flex: 0 0 auto; cursor: pointer; border-radius: var(--snp-radius-sm); overflow: hidden; opacity: .7; transition: opacity .15s; border: 2px solid transparent; }
.snp-hotel__thumb img,
.snp-room__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.snp-hotel__thumb.active,
.snp-room__thumb.active { opacity: 1; border-color: var(--snp-color-accent); }
.snp-hotel__name { margin: 0; font-size: 24px; }
.snp-hotel__address { color: var(--snp-color-text-mute); font-size: 13px; margin: 4px 0 8px; display: flex; gap: 6px; align-items: center; }
.snp-hotel__meta { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 10px; }
.snp-hotel__amenities { display: flex; gap: 6px; flex-wrap: wrap; }

.snp-hotel__rooms { display: flex; flex-direction: column; gap: var(--snp-gap); }
.snp-room {
	background: var(--snp-color-surface);
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius);
	overflow: hidden;
	box-shadow: var(--snp-shadow);
}
.snp-room__inner {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: var(--snp-gap);
	padding: 14px;
}
@media (max-width: 700px) { .snp-room__inner { grid-template-columns: 1fr; } }
.snp-room__gallery-main { aspect-ratio: 4/3; border-radius: var(--snp-radius-sm); overflow: hidden; background: var(--snp-color-bg); }
.snp-room__gallery-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.snp-room__name { margin: 0 0 6px; font-size: 18px; }
.snp-room__meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.snp-room__desc { font-size: 14px; color: var(--snp-color-text-soft); margin: 4px 0 12px; }
.snp-room__form { margin-top: 12px; }

/* =============================================================================
 * Groups (invite landing)
 * ============================================================================= */
.snp-groups__shell { max-width: 720px; margin: 0 auto; }
.snp-groups__hero {
	background: var(--snp-color-surface);
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius);
	padding: 24px 28px;
	margin-bottom: var(--snp-gap-lg);
	text-align: center;
}
.snp-groups__title { margin: 0 0 6px; font-size: 24px; }
.snp-groups__sub { margin: 0; color: var(--snp-color-text-soft); }
.snp-groups__form { gap: 14px; }

/* =============================================================================
 * v2.5.0 — booking-funnel polish layer (revised)
 *
 * Sits at the end of the file so its rules win on specificity over both
 * earlier plugin rules and most active-theme styles. Everything is scoped
 * under .snp-root so block themes (Twenty Twenty-Five, Twenty Twenty-Four)
 * don't override our buttons / cards / sliders.
 *
 * Layout strategy in v2.5.0+:
 *   • Intro stacks vertically: title + description → THEN gallery strip.
 *     Avoids the side-by-side height mismatch that broke earlier layouts.
 *   • Gallery is capped at 5 images (1 large + 4 small in a single row).
 *   • Legacy date <select> is hidden via inline style + CSS belt-and-braces.
 * ============================================================================= */

.snp-root,
.snp-root *,
.snp-root *::before,
.snp-root *::after {
	box-sizing: border-box;
}

/* ── Buttons (theme-proof) ──────────────────────────────────────────── */
.snp-root .snp-btn,
.snp-root a.snp-btn,
.snp-root button.snp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 18px;
	font: 600 14px/1 var(--snp-font-sans);
	border-radius: var(--snp-radius-sm);
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	background: var(--snp-color-accent);
	color: #fff;
	transition: background .15s, color .15s, transform .15s, box-shadow .15s;
	box-shadow: var(--snp-shadow);
}
.snp-root .snp-btn:hover,
.snp-root a.snp-btn:hover,
.snp-root button.snp-btn:hover {
	background: var(--snp-color-accent-hi);
	transform: translateY(-1px);
	box-shadow: var(--snp-shadow-hover);
}
.snp-root .snp-btn--ghost,
.snp-root a.snp-btn--ghost {
	background: transparent;
	color: var(--snp-color-text);
	border-color: var(--snp-color-border);
	box-shadow: none;
}
.snp-root .snp-btn--ghost:hover {
	background: var(--snp-color-bg);
	border-color: var(--snp-color-text-soft);
}
.snp-root .snp-btn--block,
.snp-root .snp-btn--full,
.snp-root .snp-btn-full { width: 100%; }
.snp-root .snp-btn-lg   { padding: 12px 22px; font-size: 15px; }
.snp-root .snp-btn-sm   { padding: 6px 12px;  font-size: 13px; }

/* ── Page width & rhythm ────────────────────────────────────────────── */
.snp-root .snp-main-container {
	max-width: 1200px;
	margin-inline: auto;
	padding-block: 12px;
}
.snp-root .snp-booking { gap: 32px; }

/* ── Page title / hero ──────────────────────────────────────────────── */
.snp-root .snp-booking__hero {
	min-height: 0;
	aspect-ratio: 21 / 8;
	max-height: 520px;
	border-radius: var(--snp-radius-lg);
	overflow: hidden;
	background: var(--snp-color-bg);
}
.snp-root .snp-booking__hero-media,
.snp-root .snp-booking__hero-image,
.snp-root .snp-booking__hero-video {
	width: 100%;
	height: 100%;
	min-height: 0;
	max-height: none;
	object-fit: cover;
}
@media (max-width: 600px) {
	.snp-root .snp-booking__hero { aspect-ratio: 16 / 10; }
}

/* ── Intro — side-by-side layout ─────────────────────────────────────
 * Gallery on the LEFT (true aspect-ratio masonry — every image packs
 * tight, no white space), event info on the RIGHT. */
.snp-root .snp-booking__intro {
	display: grid !important;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	grid-template-rows: none;
	margin-inline: auto;
	max-width: none;
	text-align: left;
}
@media (max-width: 800px) {
	.snp-root .snp-booking__intro {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

/* Gallery aside — single "hero + 2×2 thumbs" layout that always fills
 * the space cleanly:
 *
 *   ┌──────────────┬──────┬──────┐
 *   │              │ T1   │ T2   │
 *   │   FEATURE    ├──────┼──────┤
 *   │              │ T3   │ T4+N │
 *   │              │      │      │
 *   └──────────────┴──────┴──────┘
 *
 * Feature spans 2 cols × 2 rows on the left, four thumbs (one per cell)
 * fill the right side. Last thumb optionally carries a "+N more" overlay.
 * No JS, no aspect-ratio detection, no overlapping — predictable on
 * every theme.
 *
 * Defensive override: the legacy `.snp-gallery-slide` rule (now retired
 * in V.7 along with the rest of front.css) used to set a fixed 260px
 * width that broke grid sizing. The cancellation rule below is kept
 * because some host themes / custom snippets may still ship the
 * inherited 260px declaration. */
.snp-root .snp-booking__intro-gallery {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
	grid-template-rows: 1fr 1fr;
	gap: 8px;
	aspect-ratio: 16 / 9;     /* whole gallery box has a stable shape */
	max-height: 540px;
}
.snp-root .snp-booking__intro-gallery > * {
	min-width: 0;
	min-height: 0;
	width: auto !important;   /* defeat legacy .snp-gallery-slide width:260px */
	flex-shrink: 1 !important;
}
.snp-root .snp-booking__intro-gallery-item {
	margin: 0;
	border-radius: var(--snp-radius);
	overflow: hidden;
	background: var(--snp-color-bg);
	cursor: zoom-in;
	position: relative;
}
.snp-root .snp-booking__intro-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .35s ease;
}
.snp-root .snp-booking__intro-gallery-item:hover img { transform: scale(1.05); }

/* Feature image — left half, full height. */
.snp-root .snp-booking__intro-gallery-item.is-feature {
	grid-column: 1 / 2;
	grid-row: 1 / span 2;
}

/* Thumbs — explicit grid placement so the order in markup determines
 * which cell each occupies. Removes any reliance on auto-flow. */
.snp-root .snp-booking__intro-gallery-item.is-thumb:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.snp-root .snp-booking__intro-gallery-item.is-thumb:nth-of-type(3) { grid-column: 3; grid-row: 1; }
.snp-root .snp-booking__intro-gallery-item.is-thumb:nth-of-type(4) { grid-column: 2; grid-row: 2; }
.snp-root .snp-booking__intro-gallery-item.is-thumb:nth-of-type(5) { grid-column: 3; grid-row: 2; }

/* Tablet — 2 thumbs to the right (1 column on the right side). */
@media (max-width: 900px) {
	.snp-root .snp-booking__intro-gallery {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	}
	.snp-root .snp-booking__intro-gallery-item.is-thumb:nth-of-type(2) { grid-column: 2; grid-row: 1; }
	.snp-root .snp-booking__intro-gallery-item.is-thumb:nth-of-type(3) { grid-column: 2; grid-row: 2; }
	.snp-root .snp-booking__intro-gallery-item.is-thumb:nth-of-type(4),
	.snp-root .snp-booking__intro-gallery-item.is-thumb:nth-of-type(5) {
		display: none;       /* hide overflow on tablet — overlay still on T2/T3 if present */
	}
}

/* Mobile — feature on top, single row of 2 thumbs below. */
@media (max-width: 600px) {
	.snp-root .snp-booking__intro-gallery {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto;
		aspect-ratio: auto;
		max-height: none;
	}
	.snp-root .snp-booking__intro-gallery-item.is-feature {
		grid-column: 1 / -1;
		grid-row: 1;
		aspect-ratio: 16 / 10;
	}
	.snp-root .snp-booking__intro-gallery-item.is-thumb {
		aspect-ratio: 1 / 1;
	}
	.snp-root .snp-booking__intro-gallery-item.is-thumb:nth-of-type(2) { grid-column: 1; grid-row: 2; }
	.snp-root .snp-booking__intro-gallery-item.is-thumb:nth-of-type(3) { grid-column: 2; grid-row: 2; }
	.snp-root .snp-booking__intro-gallery-item.is-thumb:nth-of-type(4),
	.snp-root .snp-booking__intro-gallery-item.is-thumb:nth-of-type(5) { display: none; }
}

/* "+N more" overlay — lands on whichever tile carries the .is-overflow
 * class regardless of which is last visible per breakpoint. */
.snp-root .snp-booking__intro-gallery-item.is-overflow {
	cursor: zoom-in;
}
.snp-root .snp-booking__intro-gallery-item.is-overflow::after {
	content: attr(data-snp-overflow) " more";
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(15, 23, 42, .55);
	color: #fff;
	font: 700 20px/1 var(--snp-font-sans);
	letter-spacing: .02em;
	pointer-events: none;
	transition: background .2s ease;
}
.snp-root .snp-booking__intro-gallery-item.is-overflow:hover::after {
	background: rgba(15, 23, 42, .7);
}

/* Hidden lightbox triggers — present in DOM, invisible. */
.snp-root .snp-booking__intro-gallery-hidden {
	display: none !important;
}

/* Info column — text + price chip + included list */
.snp-root .snp-booking__intro-info {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 4px 0;
}
.snp-root .snp-booking__intro-title {
	font-size: 34px;
	font-weight: 700;
	letter-spacing: -.015em;
	margin: 0;
	line-height: 1.15;
	color: var(--snp-color-text);
}
.snp-root .snp-booking__intro-desc {
	font-size: 15px;
	line-height: 1.6;
	color: var(--snp-color-text-soft);
	margin: 0;
}

/* "Starting from $X / person" chip */
.snp-root .snp-booking__intro-price {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	padding: 10px 14px;
	background: color-mix(in srgb, var(--snp-color-accent) 8%, transparent);
	border: 1px solid color-mix(in srgb, var(--snp-color-accent) 25%, transparent);
	border-radius: var(--snp-radius);
	align-self: flex-start;
	color: var(--snp-color-text);
}
.snp-root .snp-booking__intro-price-label {
	font-size: 11px;
	letter-spacing: .04em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--snp-color-text-mute);
}
.snp-root .snp-booking__intro-price-amount {
	font-size: 22px;
	font-weight: 700;
	color: var(--snp-color-accent);
}
.snp-root .snp-booking__intro-price-per {
	font-size: 12px;
	color: var(--snp-color-text-mute);
}

/* Included items list */
.snp-root .snp-booking__intro-included {
	margin-top: 4px;
}
.snp-root .snp-booking__intro-included-title {
	font-size: 13px;
	font-weight: 600;
	margin: 0 0 8px;
	color: var(--snp-color-text);
	letter-spacing: .02em;
	text-transform: uppercase;
}
.snp-root .snp-booking__intro-included-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 16px;
}
@media (max-width: 480px) {
	.snp-root .snp-booking__intro-included-list { grid-template-columns: 1fr; }
}
.snp-root .snp-booking__intro-included-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	color: var(--snp-color-text-soft);
	line-height: 1.4;
}
.snp-root .snp-booking__intro-included-icon {
	font-size: 16px;
	line-height: 1;
	flex: 0 0 auto;
	margin-top: 1px;
}
.snp-root .snp-booking__intro-included-text strong {
	display: block;
	color: var(--snp-color-text);
	font-weight: 600;
	font-size: 13px;
}
.snp-root .snp-booking__intro-included-desc {
	display: block;
	font-size: 12px;
	color: var(--snp-color-text-mute);
	margin-top: 1px;
}

@media (max-width: 600px) {
	.snp-root .snp-booking__intro-title { font-size: 26px; }
}

/* ── Filter card ─────────────────────────────────────────────────────
 * Clean, generous spacing. Plan chips are full cards with a check mark
 * indicator. Date chips are pill buttons that only appear when the
 * active plan has multiple sub-options. */
.snp-root .snp-booking__filter,
.snp-root .snp-date-filter-wrap {
	padding: 28px 32px;
	background: var(--snp-color-surface);
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius-lg);
	box-shadow: var(--snp-shadow);
}
.snp-root .snp-booking__filter-form {
	display: flex;
	flex-direction: column;
	gap: 22px;
	align-items:flex-start;
}

.snp-root .snp-booking__filter-head {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
}
.snp-root .snp-booking__filter-title {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -.01em;
	color: var(--snp-color-text);
}
.snp-root .snp-booking__filter-sub {
	margin: 0;
	font-size: 14px;
	color: var(--snp-color-text-mute);
}

/* Eyebrow label above each chip strip. */
.snp-root .snp-booking__filter-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.snp-root .snp-booking__filter-group .snp-eyebrow,
.snp-root .snp-booking__filter-group .snp-form-label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--snp-color-text-mute);
}

/* Plan chip strip — wraps responsively. */
.snp-root .snp-booking__plan-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* Plan chip — bigger, card-like with check indicator + 2-line copy. */
.snp-root .snp-booking__plan-chip {
	display: inline-flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 18px;
	min-width: 220px;
	background: var(--snp-color-surface);
	border: 1.5px solid var(--snp-color-border);
	border-radius: var(--snp-radius);
	color: var(--snp-color-text);
	cursor: pointer;
	font: inherit;
	text-align: left;
	transition: border-color .15s, box-shadow .15s, transform .12s;
	position: relative;
}
.snp-root .snp-booking__plan-chip:hover {
	border-color: var(--snp-color-text-soft);
	transform: translateY(-1px);
}
.snp-root .snp-booking__plan-chip.is-active {
	border-color: var(--snp-color-accent);
	background: color-mix(in srgb, var(--snp-color-accent) 5%, var(--snp-color-surface));
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--snp-color-accent) 12%, transparent);
}

/* Check circle — visible only when active. */
.snp-root .snp-booking__plan-chip-check {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	border-radius: 50%;
	border: 1.5px solid var(--snp-color-border);
	background: var(--snp-color-surface);
	color: transparent;
	font-size: 12px;
	font-weight: 700;
	transition: background .15s, color .15s, border-color .15s;
}
.snp-root .snp-booking__plan-chip.is-active .snp-booking__plan-chip-check {
	background: var(--snp-color-accent);
	border-color: var(--snp-color-accent);
	color: #fff;
}

.snp-root .snp-booking__plan-chip-body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
.snp-root .snp-booking__plan-chip-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--snp-color-text);
	line-height: 1.25;
}
.snp-root .snp-booking__plan-chip-sub {
	font-size: 12px;
	color: var(--snp-color-text-mute);
	line-height: 1.3;
}
.snp-root .snp-booking__plan-chip.is-active .snp-booking__plan-chip-title {
	color: var(--snp-color-accent-hi);
}

/* Date chip strip — pill buttons (only rendered when has_multi_rows). */
.snp-root .snp-booking__date-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.snp-root .snp-booking__date-chip {
	padding: 10px 18px;
	background: var(--snp-color-bg);
	border: 1px solid var(--snp-color-border);
	border-radius: 999px;
	font: 600 13px var(--snp-font-sans);
	color: var(--snp-color-text);
	cursor: pointer;
	transition: border-color .15s, background .15s, color .15s;
}
.snp-root .snp-booking__date-chip:hover { border-color: var(--snp-color-text-soft); }
.snp-root .snp-booking__date-chip.is-active {
	background: var(--snp-color-accent);
	border-color: var(--snp-color-accent);
	color: #fff;
}

/* Bury the legacy <select> — both the inline style on the markup AND
 * this rule are needed for theme-proofing. */
.snp-root .snp-booking__date-select,
.snp-root .snp_booking_select_date,
.snp-root #snp_booking_select_date {
	display: none !important;
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 0 !important;
	overflow: hidden !important;
}

/* Mobile — chips stack and full-width plan chips. */
@media (max-width: 600px) {
	.snp-root .snp-booking__filter,
	.snp-root .snp-date-filter-wrap {
		padding: 20px 18px;
	}
	.snp-root .snp-booking__plan-chip {
		min-width: 0;
		flex: 1 1 100%;
	}
	.snp-root .snp-booking__filter-title { font-size: 18px; }
}

/* ── Section heads (Packages / Hotels) ──────────────────────────────── */
.snp-root .snp-booking__section { gap: 18px; }
.snp-root .snp-booking__section-head {
	display: flex;
	flex-direction: column;
	gap: 4px;
	text-align: left;
}
.snp-root .snp-booking__section-title {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -.01em;
	margin: 0;
}
.snp-root .snp-booking__section-sub {
	margin: 0;
	color: var(--snp-color-text-mute);
	font-size: 14px;
}

/* ── Slider chrome ──────────────────────────────────────────────────── */
.snp-root .snp-booking__slider {
	position: relative;
	padding: 4px;
}
.snp-root .snp-booking__slider-track {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 18px;
}
.snp-root .snp-booking__slider-nav {
	display: flex !important;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--snp-color-surface);
	color: var(--snp-color-text);
	border: 1px solid var(--snp-color-border);
	box-shadow: var(--snp-shadow-hover);
	font: 700 18px/1 var(--snp-font-sans);
	cursor: pointer;
	position: absolute;
	top: 45%;
	z-index: 5;
	transition: background .15s, color .15s, transform .15s;
}
.snp-root .snp-booking__slider-nav:hover {
	background: var(--snp-color-accent);
	color: #fff;
	border-color: var(--snp-color-accent);
}
.snp-root .snp-booking__slider-nav--prev { left: -16px; }
.snp-root .snp-booking__slider-nav--next { right: -16px; }
@media (max-width: 600px) {
	.snp-root .snp-booking__slider-nav { display: none !important; }
}

/* AJAX loading state — fade the slider tiles while a refresh is in flight. */
.snp-root .snp-booking__slider.is-loading {
	opacity: 0.55;
	pointer-events: none;
	transition: opacity .15s ease;
}

/* ── AJAX rooms panel ───────────────────────────────────────────────
 * Receives HTML returned by snp_get_hotel_rooms when a hotel card's
 * "View rooms" button is clicked. Hidden until populated. */
.snp-booking__rooms-panel {
	margin-top: 22px;
	background: var(--snp-color-surface);
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius-lg);
	box-shadow: var(--snp-shadow);
	scroll-margin-top: 80px;
	overflow: hidden;
	animation: snpRoomsFadeIn .2s ease both;
}
@keyframes snpRoomsFadeIn {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: translateY(0); }
}
.snp-booking__rooms-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 24px;
	border-bottom: 1px solid var(--snp-color-border);
	background: var(--snp-color-bg);
}
.snp-booking__rooms-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.snp-booking__rooms-meta .snp-eyebrow { font-size: 11px; }
.snp-booking__rooms-title { margin: 0; font-size: 20px; font-weight: 700; color: var(--snp-color-text); }
.snp-booking__rooms-dates { margin: 0; font-size: 13px; color: var(--snp-color-text-mute); }
.snp-booking__rooms-close {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid var(--snp-color-border);
	background: var(--snp-color-surface);
	color: var(--snp-color-text-soft);
	font: 700 22px/1 var(--snp-font-sans);
	cursor: pointer;
	transition: background .15s, color .15s;
}
.snp-booking__rooms-close:hover {
	background: var(--snp-color-danger);
	color: #fff;
	border-color: var(--snp-color-danger);
}
/* Body — 2 columns on desktop: rooms grid + sticky sidebar. */
.snp-booking__rooms-body {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 0;
	align-items: stretch;
}
@media (max-width: 980px) {
	.snp-booking__rooms-body {
		grid-template-columns: 1fr;
	}
}
.snp-booking__rooms-grid {
	padding: 18px 24px 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}
.snp-booking__rooms-sidebar {
	border-left: 1px solid var(--snp-color-border);
	background: var(--snp-color-bg);
	padding: 18px 18px 22px;
	min-width: 0;
}
.snp-booking__rooms-sidebar .snp-sidebar-wrap {
	position: sticky;
	top: 16px;
}
@media (max-width: 980px) {
	.snp-booking__rooms-sidebar {
		border-left: 0;
		border-top: 1px solid var(--snp-color-border);
	}
	.snp-booking__rooms-sidebar .snp-sidebar-wrap { position: static; }
}
.snp-booking__rooms-loading,
.snp-booking__rooms-error {
	padding: 28px 12px;
	text-align: center;
	color: var(--snp-color-text-mute);
	font-size: 14px;
}
.snp-booking__rooms-error {
	color: var(--snp-color-danger);
}
.snp-booking__rooms-panel.is-loading .snp-booking__rooms-grid {
	opacity: 0.55;
	pointer-events: none;
	transition: opacity .15s ease;
}

/* "View rooms" button — show a tiny spinner when this card's rooms are
 * being fetched. The spinner sits in a flex slot next to the label. */
.snp-root .snp-ajax-view-rooms {
	gap: 8px;
}
.snp-root .snp-ajax-view-rooms .snp-btn-spinner {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, .35);
	border-top-color: #fff;
	animation: snpSpin .65s linear infinite;
	display: none;
}
.snp-root .snp-ajax-view-rooms.is-active .snp-btn-spinner { display: inline-block; }
@keyframes snpSpin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
	.snp-booking__rooms-head { padding: 14px 16px; }
	.snp-booking__rooms-grid { padding: 14px 16px 18px; }
}

/* ── Package color badge ──────────────────────────────────────────────
 * Each package admin row stores a hex colour. The card sets it on
 * `--pkg-color`; we use it for:
 *   • a 4px coloured top stripe on the card,
 *   • the radio bullet dot when selected (already wired earlier),
 *   • a small SVG star "badge" pinned to the top-right of the head.
 * Title and price text keep their default colours — the colour signal
 * comes from the badge + stripe + radio dot, not from text recolouring. */
.snp-root .snp-booking__card--package {
	border-top: 4px solid var(--pkg-color, var(--snp-color-accent));
}
.snp-root .snp-booking__card-color-badge {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 26px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--pkg-color, var(--snp-color-accent));
	pointer-events: none;
	filter: drop-shadow(0 1px 1px rgba(15, 23, 42, .15));
	z-index: 2;
}
.snp-root .snp-booking__card-color-badge svg {
	width: 100%;
	height: 100%;
	display: block;
}
/* If the card already has a "Best value" flag, push the colour badge
 * left so the two don't overlap. */
.snp-root .snp-booking__card--best .snp-booking__card-color-badge {
	right: auto;
	left: 14px;
}

/* ── Whole-card click target + tick on selection ──────────────────────
 * Every package card is a clickable selection target. The hidden radio
 * still receives the actual form value — JS toggles it on click. The
 * tick icon and "selected" frame appear via :has(input:checked) so we
 * don't even need a JS class. */
.snp-root .snp-booking__card--package {
	cursor: pointer;
	user-select: none;
}
.snp-root .snp-booking__card--package:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--pkg-color, var(--snp-color-accent)) 35%, transparent);
	outline-offset: 2px;
}
/* Tick icon — hidden by default, shown when the card's radio is checked. */
.snp-root .snp-booking__card-check {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--pkg-color, var(--snp-color-accent));
	color: #fff;
	box-shadow: 0 2px 6px rgba(15, 23, 42, .18);
	opacity: 0;
	transform: scale(0.6);
	transition: opacity .15s ease, transform .15s ease;
	z-index: 3;
	pointer-events: none;
}
.snp-root .snp-booking__card-check svg {
	width: 16px;
	height: 16px;
	display: block;
}
/* When the card's radio is checked, reveal the tick + draw an accent border. */
.snp-root .snp-booking__card--package:has( .snp-booking__card-radio-input:checked ) {
	border-color: var(--pkg-color, var(--snp-color-accent));
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--pkg-color, var(--snp-color-accent)) 22%, transparent),
	            var(--snp-shadow-hover);
}
.snp-root .snp-booking__card--package:has( .snp-booking__card-radio-input:checked ) .snp-booking__card-check {
	opacity: 1;
	transform: scale(1);
}
/* When the card has BOTH a Best-value flag AND is selected, move the
 * tick under the flag so they don't overlap. */
.snp-root .snp-booking__card--best:has( .snp-booking__card-radio-input:checked ) .snp-booking__card-check {
	top: 48px;
}
/* Hide the colour star badge when the card is selected — the tick takes
 * its visual slot. The top stripe + tick are enough colour signal. */
.snp-root .snp-booking__card--package:has( .snp-booking__card-radio-input:checked ) .snp-booking__card-color-badge {
	display: none;
}

/* ── Cards (packages + hotels) ──────────────────────────────────────── */
.snp-root .snp-booking__card {
	display: flex;
	flex-direction: column;
	background: var(--snp-color-surface);
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius-lg);
	overflow: hidden;
	box-shadow: var(--snp-shadow);
	transition: transform .18s, box-shadow .18s, border-color .18s;
}
.snp-root .snp-booking__card:hover {
	transform: translateY(-3px);
	box-shadow: var(--snp-shadow-hover);
}
.snp-root .snp-booking__card-image-wrap {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--snp-color-bg);
}
.snp-root .snp-booking__card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}
.snp-root .snp-booking__card:hover .snp-booking__card-image {
	transform: scale(1.05);
}
.snp-root .snp-booking__card-head {
	padding: 18px 20px 10px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	position: relative;
}
.snp-root .snp-booking__card-name {
	font-size: 17px;
	font-weight: 600;
	margin: 0;
	color: var(--snp-color-text);
	line-height: 1.3;
}
.snp-root .snp-booking__card--package .snp-booking__card-name {
	padding-left: 32px;
	color: var(--pkg-color, var(--snp-color-text));
}
.snp-root .snp-booking__card-price-amount {
	font-size: 22px;
	font-weight: 700;
	color: var(--snp-color-text);
}
.snp-root .snp-booking__card-price-amount .snp-price { display: inline; }
.snp-root .snp-booking__card-price-per {
	font-size: 12px;
	color: var(--snp-color-text-mute);
}
.snp-root .snp-booking__card-body {
	padding: 0 20px 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex-grow: 1;
}
.snp-root .snp-booking__card-desc {
	font-size: 14px;
	line-height: 1.55;
	color: var(--snp-color-text-soft);
	margin: 0;
}
.snp-root .snp-booking__card-flag {
	position: absolute;
	top: 14px;
	right: 14px;
	padding: 4px 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .03em;
	border-radius: 999px;
	background: var(--pkg-color, var(--snp-color-accent));
	color: #fff;
	box-shadow: var(--snp-shadow);
}
.snp-root .snp-booking__card-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 2px;
}
.snp-root .snp-booking__card-rating {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	color: var(--snp-color-text-soft);
}
.snp-root .snp-booking__card-price-tag {
	font-size: 13px;
	font-weight: 600;
	color: var(--snp-color-text);
	background: var(--snp-color-bg);
	padding: 4px 10px;
	border-radius: 999px;
	white-space: nowrap;
}
.snp-root .snp-booking__card .snp-btn,
.snp-root .snp-booking__card a.snp-btn {
	margin-top: auto;
}

/* Hidden radio — kept in DOM for form submit + a11y, visually buried. */
.snp-root .snp-booking__card-radio-input {
	position: absolute !important;
	opacity: 0 !important;
	pointer-events: none !important;
	width: 1px;
	height: 1px;
	left: -9999px;
}
/* Legacy bullet — fully hidden in v2.5.x; click target is the whole card now. */
.snp-root .snp-booking__card-radio,
.snp-root .snp-booking__card-radio-mark {
	display: none !important;
}
.snp-root .snp-booking__card--package .snp-booking__card-name {
	padding-left: 0;
}

/* ── Empty state ────────────────────────────────────────────────────── */
.snp-root .snp-empty,
.snp-root .snp-booking-empty {
	text-align: center;
	padding: 40px 20px;
	background: var(--snp-color-surface);
	border: 1px dashed var(--snp-color-border);
	border-radius: var(--snp-radius-lg);
	color: var(--snp-color-text-soft);
}

/* ── Star ratings (Hotel cards) ─────────────────────────────────────── */
.snp-root .snp-hotel-rating {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--snp-color-text-soft);
}
/* Two layered rows of star glyphs: a grey background (always 5 stars)
 * with the gold foreground absolutely positioned on top and clipped to
 * the rating's percentage width. Without the absolute positioning the
 * two rows render as siblings and the customer sees ten stars stacked
 * vertically. */
.snp-root .snp-hotel-rating .snp-stars-wrapper {
	position: relative;
	display: inline-block;
	line-height: 1;
	font-size: 14px;
	letter-spacing: 1px;
	white-space: nowrap;
}
.snp-root .snp-hotel-rating .snp-stars-background {
	color: #e2e8f0;
}
.snp-root .snp-hotel-rating .snp-stars-foreground {
	position: absolute;
	inset: 0;
	overflow: hidden;
	color: #f59e0b;
	white-space: nowrap;
	pointer-events: none;
}
.snp-root .snp-hotel-rating .snp-rating-number {
	font-weight: 600;
	color: var(--snp-color-text);
	font-variant-numeric: tabular-nums;
}

/* ── Add-ons / Extras cards (snp-extras page) ────────────────────────
 * Each extra renders as a card with an image, name + price, quantity
 * stepper and an Add/Remove toggle that fires snp_save_extras AJAX. */

/* Phase V.5.4 — small breathing room around the addons form so it
 * doesn't sit flush against the chips block above (Package: …) or
 * the "Included with [Package]" cards. Scoped to #snp-addons-form
 * via id so the same .snp-checkout__form base rule used on the
 * checkout and payment pages stays unchanged. */
.snp-root #snp-addons-form {
	margin-top: 18px;
	margin-bottom: 18px;
}

.snp-root .snp-extras-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
	margin-bottom: 24px;
}
.snp-root .snp-extra-card {
	position: relative;
	background: var(--snp-color-surface);
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--snp-shadow-sm, 0 1px 2px rgba(15, 23, 42, .04));
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.snp-root .snp-extra-card:hover {
	box-shadow: var(--snp-shadow);
	transform: translateY(-1px);
}
.snp-root .snp-extra-card.is-added {
	border-color: var(--snp-color-accent);
	box-shadow: 0 0 0 1px var(--snp-color-accent), var(--snp-shadow);
}
.snp-root .snp-extra-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.snp-root .snp-extra-card__img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	display: block;
	transition: transform .35s ease;
}
.snp-root .snp-extra-card:hover .snp-extra-card__img {
	transform: scale(1.04);
}
.snp-root .snp-extra-card__icon {
	color: var(--snp-color-text-mute);
	display: inline-flex;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .65);
	align-items: center;
	justify-content: center;
}
.snp-root .snp-extra-card__check {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--snp-color-accent);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transform: scale(0);
	transition: transform .2s ease;
	box-shadow: 0 2px 8px rgba(190, 24, 93, .35);
}
.snp-root .snp-extra-card.is-added .snp-extra-card__check {
	transform: scale(1);
}
.snp-root .snp-extra-card__body {
	padding: 14px 16px 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
	min-width: 0;
}
.snp-root .snp-extra-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}
.snp-root .snp-extra-card__name {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--snp-color-text);
	line-height: 1.3;
	min-width: 0;
}
.snp-root .snp-extra-card__price {
	flex: 0 0 auto;
	text-align: right;
	font-size: 13px;
	color: var(--snp-color-text-soft);
	white-space: nowrap;
}
.snp-root .snp-extra-card__price strong {
	display: block;
	font-size: 16px;
	color: var(--snp-color-text);
	line-height: 1.1;
}
.snp-root .snp-extra-card__price span {
	font-size: 11px;
	color: var(--snp-color-text-mute);
}
.snp-root .snp-extra-card__desc {
	margin: 0;
	font-size: 13px;
	color: var(--snp-color-text-soft);
	line-height: 1.5;
}
.snp-root .snp-extra-card__footer {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	padding-top: 8px;
	border-top: 1px dashed var(--snp-color-border);
}

/* — Quantity stepper — */
.snp-root .snp-extra-qty {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--snp-color-border);
	border-radius: 999px;
	background: var(--snp-color-surface);
	overflow: hidden;
	height: 36px;
}
.snp-root .snp-extra-qty__btn {
	width: 32px;
	border: 0;
	background: transparent;
	color: var(--snp-color-text);
	font: 700 16px/1 var(--snp-font-sans);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .15s ease, color .15s ease;
}
.snp-root .snp-extra-qty__btn:hover {
	background: var(--snp-color-bg);
	color: var(--snp-color-accent);
}
.snp-root .snp-extra-qty__btn:disabled {
	opacity: .35;
	cursor: not-allowed;
}
.snp-root .snp-extra-qty__input {
	width: 40px;
	border: 0;
	border-left: 1px solid var(--snp-color-border);
	border-right: 1px solid var(--snp-color-border);
	background: transparent;
	color: var(--snp-color-text);
	text-align: center;
	font: 600 14px/1 var(--snp-font-sans);
	-moz-appearance: textfield;
	appearance: textfield;
	padding: 0;
}
.snp-root .snp-extra-qty__input::-webkit-outer-spin-button,
.snp-root .snp-extra-qty__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.snp-root .snp-extra-qty__input:focus {
	outline: 0;
	background: var(--snp-color-bg);
}

/* — Add / Remove CTA — */
.snp-root .snp-extra-card__cta {
	flex: 1;
	min-width: 110px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 9px 14px;
	min-height: 36px;
	border: 1px solid var(--snp-color-accent);
	border-radius: 999px;
	background: var(--snp-color-accent);
	color: #fff;
	font: 600 13px/1 var(--snp-font-sans);
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(190, 24, 93, .18);
	transition: background .2s ease, box-shadow .2s ease, transform .15s ease, color .2s ease;
}
.snp-root .snp-extra-card__cta:hover {
	background: var(--snp-color-accent-strong, #9d174d);
	box-shadow: 0 6px 16px rgba(190, 24, 93, .28);
	transform: translateY(-1px);
}
.snp-root .snp-extra-card.is-added .snp-extra-card__cta {
	background: #fff;
	color: var(--snp-color-accent);
	border-color: var(--snp-color-accent);
	box-shadow: none;
}
.snp-root .snp-extra-card.is-added .snp-extra-card__cta:hover {
	background: #fee2e2;
	color: #b91c1c;
	border-color: #fecaca;
}
.snp-root .snp-extra-card__cta-icon { display: none; }
.snp-root .snp-extra-card__cta-icon--add   { display: inline-block; }
.snp-root .snp-extra-card.is-added .snp-extra-card__cta-icon--add   { display: none; }
.snp-root .snp-extra-card.is-added .snp-extra-card__cta-icon--check { display: inline-block; }
.snp-root .snp-extra-card__cta-spinner {
	display: none;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, .35);
	border-top-color: #fff;
	animation: snpSpin .65s linear infinite;
	margin-left: 4px;
}
.snp-root .snp-extra-card__cta.is-loading .snp-extra-card__cta-spinner { display: inline-block; }
.snp-root .snp-extra-card__cta.is-loading .snp-extra-card__cta-icon { display: none; }
.snp-root .snp-extra-card.is-added .snp-extra-card__cta.is-loading .snp-extra-card__cta-spinner {
	border-color: rgba(190, 24, 93, .25);
	border-top-color: var(--snp-color-accent);
}

@media (max-width: 540px) {
	.snp-root .snp-extra-card__footer {
		flex-direction: column;
		align-items: stretch;
	}
	.snp-root .snp-extra-card__cta { width: 100%; }
}

/* ── Rooms panel cards (AJAX) ────────────────────────────────────────
 * The HTML returned by snp_get_hotel_rooms uses legacy `snp-*` class
 * names. We scope a polished BEM-aligned look under the rooms panel
 * so it matches the rest of the booking page (cards, typography,
 * buttons). Do NOT remove the scope — these classes are also used by
 * the single-product page and have their own styles there. */
.snp-booking__rooms-panel .snp-room-card {
	background: var(--snp-color-surface);
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius-lg);
	box-shadow: var(--snp-shadow-sm, 0 1px 2px rgba(15, 23, 42, .04));
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}
.snp-booking__rooms-panel .snp-room-card:hover {
	box-shadow: var(--snp-shadow);
	transform: translateY(-1px);
}
.snp-booking__rooms-panel .snp-room-card-inner {
	display: grid;
	grid-template-columns: minmax(220px, 320px) 1fr;
	gap: 0;
	align-items: stretch;
}
@media (max-width: 720px) {
	.snp-booking__rooms-panel .snp-room-card-inner {
		grid-template-columns: 1fr;
	}
}

/* — Gallery column ------------------------------------------------- */
.snp-booking__rooms-panel .snp-room-gallery {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 10px;
	background: var(--snp-color-bg);
	border-right: 1px solid var(--snp-color-border);
	min-width: 0;
}
@media (max-width: 720px) {
	.snp-booking__rooms-panel .snp-room-gallery {
		border-right: 0;
		border-bottom: 1px solid var(--snp-color-border);
	}
}
.snp-booking__rooms-panel .snp-room-gallery-main {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: calc(var(--snp-radius) - 2px);
	overflow: hidden;
	background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}
.snp-booking__rooms-panel .snp-room-main-img,
.snp-booking__rooms-panel .snp-room-gallery-main img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	display: block;
	transition: transform .35s ease;
}
.snp-booking__rooms-panel .snp-room-card:hover .snp-room-main-img {
	transform: scale(1.04);
}
.snp-booking__rooms-panel .snp-room-gallery-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 0;
	background: rgba(15, 23, 42, .55);
	color: #fff;
	font: 700 14px/1 var(--snp-font-sans);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
	transition: background .15s ease, transform .15s ease;
	z-index: 2;
}
.snp-booking__rooms-panel .snp-room-gallery-arrow:hover {
	background: rgba(15, 23, 42, .85);
}
.snp-booking__rooms-panel .snp-room-gallery-prev { left: 8px; }
.snp-booking__rooms-panel .snp-room-gallery-next { right: 8px; }

.snp-booking__rooms-panel .snp-room-gallery-thumbs {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	scrollbar-width: thin;
}
.snp-booking__rooms-panel .snp-room-thumb-item {
	flex: 0 0 56px;
	height: 44px;
	border-radius: 6px;
	overflow: hidden;
	border: 2px solid transparent;
	cursor: pointer;
	background: #e2e8f0;
	transition: border-color .15s ease, transform .15s ease;
}
.snp-booking__rooms-panel .snp-room-thumb-item img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	display: block;
}
.snp-booking__rooms-panel .snp-room-thumb-item.active {
	border-color: var(--snp-color-accent);
}
.snp-booking__rooms-panel .snp-room-thumb-item:hover {
	transform: translateY(-1px);
}

/* — Content column ------------------------------------------------- */
.snp-booking__rooms-panel .snp-room-card-content {
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}
.snp-booking__rooms-panel .snp-room-card-top {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 18px;
	align-items: start;
}
@media (max-width: 540px) {
	.snp-booking__rooms-panel .snp-room-card-top {
		grid-template-columns: 1fr;
	}
}
.snp-booking__rooms-panel .snp-room-card-info {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.snp-booking__rooms-panel .snp-room-card-title {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	color: var(--snp-color-text);
	line-height: 1.3;
}
.snp-booking__rooms-panel .snp-room-card-meta {
	margin: 0;
	font-size: 13px;
	color: var(--snp-color-text-mute);
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}
.snp-booking__rooms-panel .snp-room-card-short-desc {
	margin: 0;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--snp-color-text-soft);
	line-height: 1.5;
}
.snp-booking__rooms-panel .snp-room-card-desc {
	margin: 0;
	font-size: 13.5px;
	color: var(--snp-color-text-soft);
	line-height: 1.55;
}

/* — Price column --------------------------------------------------- */
.snp-booking__rooms-panel .snp-room-card-price-col {
	text-align: right;
	display: flex;
	flex-direction: column;
	gap: 2px;
	white-space: nowrap;
}
@media (max-width: 540px) {
	.snp-booking__rooms-panel .snp-room-card-price-col {
		text-align: left;
	}
}
.snp-booking__rooms-panel .snp-room-price-amount {
	font-size: 22px;
	font-weight: 700;
	color: var(--snp-color-text);
	line-height: 1.1;
}
.snp-booking__rooms-panel .snp-room-price-label {
	font-size: 12px;
	color: var(--snp-color-text-mute);
}

/* — Footer (guests + select) -------------------------------------- */
.snp-booking__rooms-panel .snp-room-card-footer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding-top: 12px;
	border-top: 1px dashed var(--snp-color-border);
}
.snp-booking__rooms-panel .snp-room-guest-picker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.snp-booking__rooms-panel .snp-room-guest-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--snp-color-text-soft);
	margin: 0;
}
.snp-booking__rooms-panel .snp-qty-ctrl {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--snp-color-border);
	border-radius: 999px;
	background: var(--snp-color-surface);
	overflow: hidden;
	height: 36px;
}
.snp-booking__rooms-panel .snp-qty-btn {
	width: 32px;
	height: 100%;
	border: 0;
	background: transparent;
	color: var(--snp-color-text);
	font: 700 16px/1 var(--snp-font-sans);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .15s ease, color .15s ease;
}
.snp-booking__rooms-panel .snp-qty-btn:hover {
	background: var(--snp-color-bg);
	color: var(--snp-color-accent);
}
.snp-booking__rooms-panel .snp-qty-btn:disabled {
	opacity: .35;
	cursor: not-allowed;
}
.snp-booking__rooms-panel .snp-qty-input {
	width: 40px;
	height: 100%;
	border: 0;
	border-left: 1px solid var(--snp-color-border);
	border-right: 1px solid var(--snp-color-border);
	background: transparent;
	color: var(--snp-color-text);
	text-align: center;
	font: 600 14px/1 var(--snp-font-sans);
	-moz-appearance: textfield;
	appearance: textfield;
	padding: 0;
}
.snp-booking__rooms-panel .snp-qty-input::-webkit-outer-spin-button,
.snp-booking__rooms-panel .snp-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.snp-booking__rooms-panel .snp-qty-input:focus {
	outline: 0;
	background: var(--snp-color-bg);
}

/* The Select Room CTA — !important guards against the active theme's
 * generic .snp-btn outline style, which otherwise wins on specificity
 * and produces a faded outline-pink chip with hard-to-read text. */
.snp-booking__rooms-panel .snp-select-room-btn,
.snp-booking__rooms-panel button.snp-select-room-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: auto;
	padding: 12px 22px !important;
	min-height: 44px;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--snp-color-accent, #be185d) !important;
	background-image: none !important;
	color: #ffffff !important;
	font: 700 14px/1 var(--snp-font-sans, system-ui, sans-serif) !important;
	letter-spacing: .02em;
	text-transform: none;
	text-decoration: none;
	text-shadow: none;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(190, 24, 93, .22) !important;
	transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.snp-booking__rooms-panel .snp-select-room-btn:hover,
.snp-booking__rooms-panel button.snp-select-room-btn:hover {
	background: var(--snp-color-accent-strong, #9d174d) !important;
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(190, 24, 93, .28) !important;
}
.snp-booking__rooms-panel .snp-select-room-btn:active {
	transform: translateY(0);
}
.snp-booking__rooms-panel .snp-select-room-btn svg {
	width: 16px;
	height: 16px;
	stroke: #ffffff !important;
	flex: 0 0 auto;
}
.snp-booking__rooms-panel .snp-select-room-btn.is-loading {
	pointer-events: none;
	opacity: .9;
}
.snp-booking__rooms-panel .snp-select-room-btn:disabled {
	cursor: not-allowed;
}
.snp-booking__rooms-panel .snp-select-room-btn.is-selected {
	background: #15803d;
	box-shadow: 0 6px 16px rgba(21, 128, 61, .2);
}
.snp-booking__rooms-panel .snp-mini-spinner {
	display: inline-block;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, .35);
	border-top-color: #fff;
	animation: snpSpin .65s linear infinite;
}

/* — Empty state --------------------------------------------------- */
.snp-booking__rooms-panel .snp-no-rooms {
	margin: 0;
	padding: 28px 16px;
	text-align: center;
	color: var(--snp-color-text-mute);
	background: var(--snp-color-bg);
	border: 1px dashed var(--snp-color-border);
	border-radius: var(--snp-radius);
	font-size: 14px;
}


/* ── Booking sidebar (Your Reservation) ──────────────────────────────
 * Used on /snp-extras/, /snp-checkout/, /snp-payment/, /snp-thankyou/.
 * Reads from snp_get_price_breakdown — populated by the new SNP_Cart
 * totals engine. Styled here so it works regardless of which theme
 * wrapper hosts the <aside>. */
.snp-sidebar-wrap {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
@media (max-width: 980px) {
	.snp-sidebar-wrap { position: static; }
}

.snp-sidebar-box {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 18px 20px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.snp-sidebar-box + .snp-sidebar-box {
	/* gap on parent already handles spacing */
}
.snp-sidebar-box h4 {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #6b7280;
	padding-bottom: 10px;
	border-bottom: 1px solid #f1f5f9;
}

/* Per-room block */
.snp-sidebar-room {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.snp-sidebar-room + .snp-sidebar-room {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px dashed #e5e7eb;
}
.snp-sidebar-room-badge {
	display: inline-block;
	align-self: flex-start;
	background: #eff6ff;
	color: #2563eb;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	padding: 3px 9px;
	border-radius: 999px;
	margin-bottom: 6px;
}

/* ──────────────────────────────────────────────────────────────────────
 * Multi-leg trip timeline (sidebar)
 * Each <li class="snp-sidebar-stop"> is one stop on the journey.
 * The numbered indices and connecting line make the stops feel like a
 * trip itinerary instead of a flat shopping list.
 * ────────────────────────────────────────────────────────────────────── */
.snp-sidebar-trip h4 { margin-bottom: 14px; }

/* ─── Phase R — Payment-page full-screen loader ────────────────────────
 * Sits at body level so it dims the entire viewport. Prevents the
 * customer from clicking through the page during a charge or while
 * the gateway body is mid-swap. Auto-fades in/out via .is-visible.
 * ─────────────────────────────────────────────────────────────────────── */
@keyframes snp-payment-loader-spin {
	to { transform: rotate(360deg); }
}
.snp-payment-loader {
	position: fixed;
	inset: 0;
	z-index: 9000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(15, 23, 42, .55);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	opacity: 0;
	pointer-events: none;
	transition: opacity .22s ease;
}
.snp-payment-loader.is-visible {
	opacity: 1;
	pointer-events: auto;
}
.snp-payment-loader__inner {
	background: #fff;
	border-radius: 16px;
	padding: 28px 36px 26px;
	min-width: 280px;
	max-width: 92vw;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	box-shadow: 0 24px 60px -20px rgba(15, 23, 42, .45),
	            0 8px 20px -10px rgba(15, 23, 42, .25);
	transform: translateY(8px) scale(.98);
	transition: transform .26s cubic-bezier(.16,1,.3,1);
}
.snp-payment-loader.is-visible .snp-payment-loader__inner {
	transform: translateY(0) scale(1);
}
.snp-payment-loader__spinner {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 4px solid rgba(37, 99, 235, .15);
	border-top-color: #2563eb;
	animation: snp-payment-loader-spin .9s linear infinite;
}
.snp-payment-loader__text {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 3px;
}
.snp-payment-loader__title {
	font-size: 1.02rem;
	font-weight: 700;
	color: #0f172a;
	letter-spacing: -.01em;
}
.snp-payment-loader__sub {
	font-size: .82rem;
	color: #64748b;
	max-width: 320px;
	line-height: 1.45;
}
body.snp-no-scroll { overflow: hidden; }

/* ─── Event header card (visible on every funnel page) ─────────────────
 * Sits at the top of the sidebar so the customer always sees which trip
 * they're booking — booking, extras, checkout, payment, thank-you, my
 * account. Light theme: white surface with a left accent stripe, plus
 * a faint diagonal indigo wash that ties the card to the brand without
 * shouting at the customer.
 * ─────────────────────────────────────────────────────────────────────── */
.snp-sidebar-event {
	padding: 0;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid var(--snp-color-border, #e2e8f0);
	border-left: 3px solid var(--snp-color-accent, #2563eb);
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.snp-sidebar-event__inner {
	padding: 16px 18px 14px;
	color: #0f172a;
	position: relative;
	background:
		radial-gradient(80% 100% at 100% 0%, rgba(37, 99, 235, .04) 0%, transparent 70%);
}
.snp-sidebar-event__eyebrow {
	display: inline-block;
	font-size: .65rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--snp-color-accent, #2563eb);
	margin-bottom: 4px;
}
.snp-sidebar-event__title {
	margin: 0 0 8px;
	font-size: 1.08rem;
	line-height: 1.3;
	font-weight: 700;
	color: #0f172a;
	letter-spacing: -.01em;
}
.snp-sidebar-event__span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 4px 10px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	font-size: .76rem;
	color: #475569;
	font-variant-numeric: tabular-nums;
}
.snp-sidebar-event__span svg { color: #94a3b8; flex: 0 0 auto; }
.snp-sidebar-event__nights { color: #64748b; font-weight: 500; }

/* Phase T8 — subtle dim while the cart sidebar is being updated by
 * AJAX (extras add/remove). Keeps the stale numbers visible (no
 * empty-flash) but makes it obvious the UI is in a transient state
 * so the customer doesn't double-click. */
.snp-checkout__sidebar.is-cart-updating,
.snp-booking-right.is-cart-updating,
.snp-booking-sidebar.is-cart-updating,
.snp-cartdrawer__body.is-cart-updating {
	opacity: .6;
	pointer-events: none;
	transition: opacity .15s ease;
}

/* ════════════════════════════════════════════════════════════════════
 * Phase T7 — theme-proof trip timeline.
 *
 * Markup is now <div role="list"> + <div role="listitem"> (no <ol>/<li>
 * for host themes to mangle), and each stop is a flex row of
 *
 *     [ rail ][ content ]
 *
 * The rail is a 24px-wide flex column containing two line spans
 * flanking the numbered circle as siblings. Because the line and the
 * circle share the same flex axis they geometrically can't drift apart.
 * No absolute positioning, no padding-inline-start cascade footguns,
 * no per-theme defensive resets needed.
 * ════════════════════════════════════════════════════════════════════ */
.snp-sidebar-timeline {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	padding: 0;
}

.snp-sidebar-stop {
	display: flex;
	align-items: stretch;
	gap: 14px;
	padding: 0;
	margin: 0;
}

/* Rail — fixed-width column. The circle sits naturally at the top
 * (no positioning), aligned with the content's first row. The two
 * line halves are absolutely positioned WITHIN the rail (not on
 * the host page) so neither the host theme nor any sibling stop's
 * layout can move them off the rail's central axis. */
.snp-sidebar-stop__rail {
	flex: 0 0 24px;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
}
.snp-sidebar-stop__line {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 2px;
	background: linear-gradient( to bottom, #cbd5e1 0%, #e5e7eb 100% );
	border-radius: 2px;
}
/* Top half — from rail top down to the circle's vertical centre. */
.snp-sidebar-stop__line--up {
	top: 0;
	height: 12px;
}
/* Bottom half — from the circle's bottom edge to rail bottom. The
 * adjacent stop's --up half then picks up at rail-top with zero gap,
 * so the two halves visually merge into one continuous line. */
.snp-sidebar-stop__line--down {
	top: 24px;
	bottom: 0;
}
/* First stop: no line above the first circle.
 * Last stop:  no line below the last circle. */
.snp-sidebar-stop.is-first .snp-sidebar-stop__line--up,
.snp-sidebar-stop.is-last  .snp-sidebar-stop__line--down {
	display: none;
}

.snp-sidebar-stop__index {
	flex: 0 0 auto;
	position: relative;
	z-index: 1;          /* sits ABOVE both line halves */
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #cbd5e1;
	color: #475569;
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}
.snp-sidebar-stop.is-filled .snp-sidebar-stop__index {
	background: #2563eb;
	border-color: #2563eb;
	color: #fff;
}

/* Content column — the rest of the stop's UI lives in here. */
.snp-sidebar-stop__content {
	flex: 1 1 auto;
	min-width: 0;
	padding-bottom: 18px;
}
.snp-sidebar-stop.is-last .snp-sidebar-stop__content {
	padding-bottom: 0;
}

.snp-sidebar-stop__head {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 6px 10px;
	margin-bottom: 10px;
	min-height: 24px; /* keep first row height = circle height so the
	                   * circle naturally aligns with the heading row. */
}
.snp-sidebar-stop__title {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}
.snp-sidebar-stop__title strong {
	color: #111827;
	font-size: 14px;
	font-weight: 700;
}
.snp-sidebar-stop__city {
	color: #6b7280;
	font-size: 12px;
	margin-top: 1px;
}
.snp-sidebar-stop__dates {
	flex: 0 0 auto;
	font-size: 11.5px;
	color: #4b5563;
	background: #f1f5f9;
	border-radius: 999px;
	padding: 3px 9px;
	white-space: nowrap;
}

.snp-sidebar-stop__rooms {
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: #fafbff;
	border: 1px solid #eef2ff;
	border-radius: 10px;
	padding: 12px;
}
.snp-sidebar-stop__rooms .snp-sidebar-room + .snp-sidebar-room {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dashed #dbeafe;
}
.snp-sidebar-stop__subtotal {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-top: 6px;
	padding-top: 8px;
	border-top: 1px dashed #c7d2fe;
	font-size: 12.5px;
	color: #1e3a8a;
}
.snp-sidebar-stop__subtotal span:first-child {
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
	font-size: 11px;
	color: #6366f1;
}
.snp-sidebar-stop__subtotal span:last-child {
	font-weight: 700;
}

.snp-sidebar-stop__pending {
	margin: 0;
	padding: 9px 12px;
	font-size: 12.5px;
	color: #6b7280;
	background: #f9fafb;
	border: 1px dashed #e5e7eb;
	border-radius: 8px;
	font-style: italic;
}
.snp-sidebar-stop.is-filled .snp-sidebar-stop__pending { display: none; }

/* ──────────────────────────────────────────────────────────────────────
 * Trip timeline (thankyou + my-account reservation summary)
 *
 * Phase U.23.1 — flex-rail rebuild, mirroring the booking-flow sidebar's
 * Phase T7 fix. The previous version used <ol> + ::before line + the
 * circle absolutely positioned at left:0 of each <li>. The line and the
 * circle lived in independent coordinate systems, so any host theme that
 * touched <li> defaults (Astra, block themes, custom resets) could shift
 * the LI border-box and visually desync the circle from the line — that
 * was the gap-between-circles-and-line you saw on the My Account page.
 *
 * Now: each stop is a flex row [ rail | content ]. The rail is a fixed-
 * width flex column containing two line spans (--up, --down) flanking
 * the numbered circle as siblings. Geometrically the circle can't drift
 * off the line because they share the same flex axis — there is no
 * positioning math for a host theme to break. Larger 30px circle vs the
 * sidebar's 24px so the proportions still work in the wider main-column
 * card.
 * ────────────────────────────────────────────────────────────────────── */
.snp-trip-timeline {
	display: flex;
	flex-direction: column;
	list-style: none;
	margin: 0;
	padding: 0;
}
.snp-trip-stop {
	display: flex;
	align-items: stretch;
	gap: 16px;
	margin: 0;
	padding: 0;
}

/* Rail — fixed-width column. The circle sits naturally at the top
 * (no positioning), aligned with the content's first row. The two
 * line halves are absolutely positioned WITHIN the rail (not on the
 * host page) so neither the host theme nor any sibling stop's layout
 * can move them off the rail's central axis. */
.snp-trip-stop__rail {
	flex: 0 0 30px;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
}
.snp-trip-stop__line {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 2px;
	background: linear-gradient( to bottom, #c7d2fe 0%, #e0e7ff 100% );
	border-radius: 2px;
}
/* Top half — from rail top down to the circle's vertical centre. */
.snp-trip-stop__line--up {
	top: 0;
	height: 15px;
}
/* Bottom half — from the circle's bottom edge to rail bottom. The
 * adjacent stop's --up half then picks up at rail-top with zero gap,
 * so the two halves visually merge into one continuous line. */
.snp-trip-stop__line--down {
	top: 30px;
	bottom: 0;
}
/* First stop: no line above the first circle.
 * Last stop:  no line below the last circle. */
.snp-trip-stop.is-first .snp-trip-stop__line--up,
.snp-trip-stop.is-last  .snp-trip-stop__line--down {
	display: none;
}
.snp-trip-stop__index {
	flex: 0 0 auto;
	position: relative;
	z-index: 1;          /* sits ABOVE both line halves */
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #cbd5e1;
	color: #475569;
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	box-shadow: 0 1px 0 rgba(15, 23, 42, .04);
}
.snp-trip-stop.is-filled .snp-trip-stop__index {
	background: #2563eb;
	border-color: #2563eb;
	color: #fff;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

/* Content column — the rest of the stop's UI lives in here. The
 * padding-bottom carries the spacing between consecutive stops and is
 * lifted on the last stop so the card doesn't gain dead trailing
 * whitespace. */
.snp-trip-stop__content {
	flex: 1 1 auto;
	min-width: 0;
	padding-bottom: 22px;
}
.snp-trip-stop.is-last .snp-trip-stop__content {
	padding-bottom: 0;
}
.snp-trip-stop__head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 14px;
	margin-bottom: 12px;
	min-height: 30px; /* keep first row height = circle height so the
	                   * circle naturally aligns with the heading row. */
}
.snp-trip-stop__title {
	flex: 1 1 220px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}
.snp-trip-stop__title strong {
	color: #111827;
	font-size: 15px;
	font-weight: 700;
}
.snp-trip-stop__city {
	color: #6b7280;
	font-size: 12.5px;
	margin-top: 2px;
}
.snp-trip-stop__dates {
	flex: 0 0 auto;
	font-size: 12.5px;
	color: #1e3a8a;
	background: #eff6ff;
	border: 1px solid #dbeafe;
	border-radius: 999px;
	padding: 4px 11px;
	white-space: nowrap;
	font-weight: 500;
}
.snp-trip-stop__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	background: #fafbff;
	border: 1px solid #eef2ff;
	border-radius: 12px;
	padding: 14px 16px;
}
.snp-trip-stop__body .snp-thankyou-room + .snp-thankyou-room,
.snp-trip-stop__body .snp-account__room + .snp-account__room {
	margin-top: 8px;
	padding-top: 10px;
	border-top: 1px dashed #dbeafe;
}
.snp-trip-stop__pending {
	margin: 0;
	padding: 11px 14px;
	font-size: 13px;
	color: #6b7280;
	background: #f9fafb;
	border: 1px dashed #e5e7eb;
	border-radius: 10px;
	font-style: italic;
}

/* Label/value rows */
.snp-price-rows {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.snp-price-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	font-size: 13.5px;
	line-height: 1.4;
}
.snp-price-row .snp-label {
	color: #6b7280;
	font-weight: 500;
	flex: 1;
	min-width: 0;
}
.snp-price-row .snp-value {
	color: #111827;
	font-weight: 600;
	white-space: nowrap;
	text-align: right;
}

/* Tax / fee rows — slightly muted */
.snp-price-row-tax .snp-label,
.snp-price-row-fee .snp-label {
	font-size: 12.5px;
	color: #64748b;
}
.snp-price-row-tax .snp-value,
.snp-price-row-fee .snp-value {
	font-size: 13px;
	color: #475569;
	font-weight: 500;
}

/* Discount row — green */
.snp-price-row-discount .snp-label  { color: #047857; font-weight: 600; }
.snp-price-row-discount .snp-value  { color: #047857; font-weight: 700; }

/* Divider before Total */
.snp-divider {
	height: 1px;
	margin: 6px 0;
	background: linear-gradient(90deg, transparent 0%, #e5e7eb 20%, #e5e7eb 80%, transparent 100%);
}

/* Total row */
.snp-price-row.snp-total {
	margin-top: 4px;
	padding-top: 10px;
	border-top: 1px solid #e5e7eb;
	font-size: 14px;
}
.snp-price-row.snp-total .snp-label {
	color: #111827;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	font-size: 12px;
}
.snp-price-row.snp-total .snp-value {
	color: #111827;
	font-weight: 800;
	font-size: 20px;
	letter-spacing: -.01em;
}

/* CrewPay highlight */
.snp-crewpay-share-highlight {
	color: #be185d !important;
	font-weight: 800 !important;
}

/* Extras list inside sidebar */
.snp-item-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.snp-item-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	font-size: 13px;
	color: #374151;
	padding: 6px 10px;
	background: #f8fafc;
	border-radius: 6px;
}
.snp-item-list .snp-item-name { font-weight: 500; }
.snp-item-list .snp-item-price { font-weight: 700; color: #111827; white-space: nowrap; }

/* Coupon form */
.snp-sidebar-box .snp-coupon-form {
	display: flex;
	gap: 8px;
}
.snp-sidebar-box .snp-coupon-form input[type="text"] {
	flex: 1;
	min-width: 0;
	padding: 8px 12px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 13px;
	color: #111827;
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.snp-sidebar-box .snp-coupon-form input[type="text"]:focus {
	outline: 0;
	border-color: #be185d;
	box-shadow: 0 0 0 3px rgba(190, 24, 93, .12);
}
.snp-sidebar-box .snp-coupon-form button {
	padding: 8px 16px;
	border: 0;
	border-radius: 8px;
	background: #2563eb;
	color: #fff;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
	transition: background .15s ease;
}
.snp-sidebar-box .snp-coupon-form button:hover { background: #1d4ed8; }

/* Applied coupon chip */
.snp-applied-coupon {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 13px;
	color: #065f46;
}
.snp-applied-coupon strong { font-weight: 700; }
.snp-applied-coupon button {
	background: transparent;
	border: 0;
	color: #047857;
	font-size: 12px;
	cursor: pointer;
	padding: 2px 6px;
	border-radius: 4px;
}
.snp-applied-coupon button:hover { background: #d1fae5; }


/* ── Checkout guest cards (.snp-checkout__guest) ─────────────────────
 * Each guest renders as an accordion card. Primary is always open,
 * secondary guests collapse by default and expand on header click.
 * The actual templates use .snp-checkout__guest / .snp-guest-form-wrap
 * (the .snp-guest-info-wrapper rules below cover the older myaccount
 * layout — both stay so all surfaces look right). */

.snp-checkout__guest,
.snp-guest-form-wrap {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	margin-bottom: 12px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
	transition: border-color .2s ease, box-shadow .2s ease;
	overflow: hidden;
}
.snp-checkout__guest:hover,
.snp-guest-form-wrap:hover { border-color: #cbd5e1; }

.snp-checkout__guest--primary,
.snp-guest-primary {
	border-color: #2563eb;
	box-shadow: 0 0 0 1px #2563eb, 0 4px 12px rgba(37, 99, 235, .08);
}

/* Toggle bar acts as a button on secondary guests */
.snp-guest-toggle {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 14px 18px;
	cursor: pointer;
	transition: background .15s ease;
}
.snp-guest-toggle:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: -2px;
}
.snp-guest-toggle[disabled] {
	cursor: default;
	background: #f8fafc;
}
.snp-checkout__guest--secondary .snp-guest-toggle:hover,
.snp-guest-secondary .snp-guest-toggle:hover { background: #f8fafc; }

.snp-checkout__guest-title,
.snp-guest-form-title {
	font: 700 14px/1.3 var(--snp-font-sans, system-ui, sans-serif);
	color: #1d2327;
	letter-spacing: .01em;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.snp-primary-badge {
	background: #2563eb;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 999px;
}

.snp-guest-toggle-status {
	font-size: 12px;
	color: #6b7280;
	font-weight: 500;
	margin-left: auto;
}
.snp-guest-toggle-chevron {
	color: #6b7280;
	transition: transform .2s ease;
	flex: 0 0 auto;
}
.snp-checkout__guest.is-open .snp-guest-toggle-chevron,
.snp-guest-form-wrap.is-open .snp-guest-toggle-chevron {
	transform: rotate(180deg);
}

/* Field grid */
.snp-checkout__guest-fields,
.snp-guest-form-fields {
	padding: 18px;
	border-top: 1px solid #f1f5f9;
}
.snp-checkout__guest-fields[hidden],
.snp-guest-form-fields[hidden] { display: none; }

.snp-checkout__guest-fields .snp-form-row,
.snp-guest-form-fields .snp-form-row {
	display: grid;
	gap: 14px 16px;
	margin-bottom: 12px;
}
.snp-checkout__guest-fields .snp-form-row-2,
.snp-guest-form-fields .snp-form-row-2 { grid-template-columns: 1fr 1fr; }
.snp-checkout__guest-fields .snp-form-row:not(.snp-form-row-2),
.snp-guest-form-fields .snp-form-row:not(.snp-form-row-2) { grid-template-columns: 1fr; }
@media (max-width: 640px) {
	.snp-checkout__guest-fields .snp-form-row-2,
	.snp-guest-form-fields .snp-form-row-2 { grid-template-columns: 1fr; }
}

.snp-checkout__field,
.snp-form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

/* "This is me" checkbox row — overrides the .snp-checkout__field /
 * .snp-form-group flex-column default so the checkbox sits to the LEFT
 * of the label text on a single horizontal line, instead of stacked
 * above it and centered. The previous version relied on inline
 * `style="display:flex;align-items:center"` which only changed
 * display + cross-axis alignment but inherited flex-direction:column
 * from the parent rule, producing a vertically-centered stack. Phase
 * U.24. */
.snp-this-is-me-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: .5rem;
	background: #f1f5f9;
	padding: .5rem .75rem;
	border-radius: 6px;
	margin-bottom: .75rem;
	cursor: pointer;
	user-select: none;
}
.snp-this-is-me-row .snp-this-is-me {
	flex: 0 0 auto;
	margin: 0;
}
.snp-this-is-me-row > span {
	flex: 1 1 auto;
	font-size: 13px;
	color: #334155;
	font-weight: 500;
	text-align: left;
}
.snp-checkout__label {
	font-size: 12px;
	font-weight: 600;
	color: #475569;
	letter-spacing: .01em;
}
.snp-required {
	color: #dc2626;
	font-weight: 700;
	margin-left: 2px;
}

.snp-checkout__input,
.snp-checkout__select,
.snp-input,
.snp-select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background: #fff;
	color: #111827;
	font: 500 14px/1.4 var(--snp-font-sans, system-ui, sans-serif);
	transition: border-color .15s ease, box-shadow .15s ease;
	box-sizing: border-box;
}
.snp-checkout__input:hover,
.snp-checkout__select:hover,
.snp-input:hover,
.snp-select:hover { border-color: #94a3b8; }
.snp-checkout__input:focus,
.snp-checkout__select:focus,
.snp-input:focus,
.snp-select:focus {
	outline: 0;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}

/* ── Legacy guest-info layout (myaccount, etc.) ─────────────────── */
.snp-booking-page .snp-guest-info-wrapper,
.snp-checkout .snp-guest-info-wrapper {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	margin-bottom: 14px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.snp-booking-page .snp-guest-info-wrapper:hover,
.snp-checkout .snp-guest-info-wrapper:hover {
	border-color: #cbd5e1;
}
.snp-booking-page .snp-guest-info-wrapper.is-primary,
.snp-checkout .snp-guest-info-wrapper.is-primary {
	border-color: #2563eb;
	box-shadow: 0 0 0 1px #2563eb, 0 4px 12px rgba(37, 99, 235, .08);
}

.snp-booking-page .snp-guest-info-header,
.snp-checkout .snp-guest-info-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	border-bottom: 1px solid #f1f5f9;
	flex-wrap: wrap;
}
.snp-booking-page .snp-guest-info-title,
.snp-checkout .snp-guest-info-title {
	font-size: 13px !important;
	font-weight: 700 !important;
	color: #1d2327;
	letter-spacing: .02em;
	text-transform: none !important;
}

.snp-booking-page .snp-guest-info-form,
.snp-checkout .snp-guest-info-form {
	padding: 18px !important;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 16px;
}
@media (max-width: 640px) {
	.snp-booking-page .snp-guest-info-form,
	.snp-checkout .snp-guest-info-form { grid-template-columns: 1fr; }
}

/* Form field container — give labels breathing room */
.snp-booking-page .snp-guest-info-form > div,
.snp-booking-page .snp-guest-info-form > p,
.snp-checkout .snp-guest-info-form > div,
.snp-checkout .snp-guest-info-form > p { margin: 0; }

/* Fields that should span both columns (DOB picker, address, gender) */
.snp-booking-page .snp-guest-info-form .snp-guest-field--full,
.snp-checkout .snp-guest-info-form .snp-guest-field--full { grid-column: 1 / -1; }

.snp-booking-page .snp-guest-info-form label,
.snp-checkout .snp-guest-info-form label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #475569;
	margin-bottom: 6px;
	letter-spacing: .01em;
}

.snp-booking-page .snp-guest-info-form input[type="text"],
.snp-booking-page .snp-guest-info-form input[type="email"],
.snp-booking-page .snp-guest-info-form input[type="tel"],
.snp-booking-page .snp-guest-info-form input[type="date"],
.snp-booking-page .snp-guest-info-form input[type="number"],
.snp-booking-page .snp-guest-info-form select,
.snp-checkout .snp-guest-info-form input[type="text"],
.snp-checkout .snp-guest-info-form input[type="email"],
.snp-checkout .snp-guest-info-form input[type="tel"],
.snp-checkout .snp-guest-info-form input[type="date"],
.snp-checkout .snp-guest-info-form input[type="number"],
.snp-checkout .snp-guest-info-form select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background: #fff;
	color: #111827;
	font-size: 14px;
	line-height: 1.4;
	transition: border-color .15s ease, box-shadow .15s ease;
	box-sizing: border-box;
}
.snp-booking-page .snp-guest-info-form input:hover,
.snp-booking-page .snp-guest-info-form select:hover,
.snp-checkout .snp-guest-info-form input:hover,
.snp-checkout .snp-guest-info-form select:hover { border-color: #94a3b8; }
.snp-booking-page .snp-guest-info-form input:focus,
.snp-booking-page .snp-guest-info-form select:focus,
.snp-checkout .snp-guest-info-form input:focus,
.snp-checkout .snp-guest-info-form select:focus {
	outline: 0;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}

/* "Skip / Invite via email" header buttons */
.snp-booking-page .snp-guest-info-header .snp-guest-info-actions,
.snp-checkout .snp-guest-info-header .snp-guest-info-actions {
	display: inline-flex;
	gap: 6px;
	align-items: center;
}
.snp-booking-page .snp-guest-info-header button,
.snp-booking-page .snp-guest-info-header .snp-btn-link,
.snp-checkout .snp-guest-info-header button,
.snp-checkout .snp-guest-info-header .snp-btn-link {
	background: transparent;
	border: 1px solid #fce7f3;
	color: #be185d;
	padding: 5px 12px;
	font-size: 12px;
	font-weight: 600;
	border-radius: 999px;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.snp-booking-page .snp-guest-info-header button:hover,
.snp-booking-page .snp-guest-info-header .snp-btn-link:hover,
.snp-checkout .snp-guest-info-header button:hover,
.snp-checkout .snp-guest-info-header .snp-btn-link:hover {
	background: #fce7f3;
	color: #9d174d;
}

/* Room group header (Room 1 · Room 2) */
.snp-guest-room-label,
.snp-checkout .snp-room-group-title {
	margin: 24px 0 12px;
	font-size: 13px;
	font-weight: 700;
	color: #1d2327;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.snp-guest-room-label::before,
.snp-checkout .snp-room-group-title::before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 4px;
	background: #2563eb;
}

/* "Proceed to payment" sticky bar */
.snp-booking-page .snp-sticky-bar,
.snp-checkout .snp-sticky-bar {
	background: #2563eb !important;
	border-radius: 12px;
	box-shadow: 0 12px 28px rgba(37, 99, 235, .25);
	padding: 14px 22px;
}
.snp-booking-page .snp-sticky-continue,
.snp-checkout .snp-sticky-continue {
	background: #fff !important;
	color: #2563eb !important;
	font-weight: 700 !important;
}

/* ──────────────────────────────────────────────────────────────────────
 * Sticky funnel cart bar — booking / extras / checkout pages
 * ────────────────────────────────────────────────────────────────────── */
.snp-cartbar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 80;
	background: #ffffff;
	border-top: 1px solid #e2e8f0;
	box-shadow: 0 -8px 24px -12px rgba(15, 23, 42, .18);
	transform: translateY(0);
	transition: transform .25s ease;
}
.snp-cartbar[hidden] { display: none; }
.snp-cartbar.is-empty { display: none; }
.snp-cartbar__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 12px 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}
.snp-cartbar__lead {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	flex: 1;
}
.snp-cartbar__summary {
	display: flex;
	align-items: baseline;
	gap: 14px;
	flex-wrap: wrap;
}
.snp-cartbar__count {
	font-size: 14.5px;
	font-weight: 600;
	color: #0f172a;
}
.snp-cartbar__total {
	font-size: 16px;
	font-weight: 700;
	color: #2563eb;
}
.snp-cartbar__progress {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 4px 10px;
	flex-wrap: wrap;
}
.snp-cartbar__progress-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #94a3b8;
	padding: 2px 9px;
	border-radius: 999px;
	background: #f1f5f9;
}
.snp-cartbar__progress-item.is-filled {
	background: #dcfce7;
	color: #166534;
}
.snp-cartbar__progress-dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #fff;
	border: 1.5px solid #cbd5e1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: transparent;
}
.snp-cartbar__progress-item.is-filled .snp-cartbar__progress-dot {
	background: #16a34a;
	border-color: #16a34a;
	color: #fff;
}

.snp-cartbar__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
}
.snp-cartbar__review {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f8fafc;
	color: #1e293b;
	border: 1px solid #cbd5e1;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
}
.snp-cartbar__review:hover { background: #eef2ff; border-color: #93c5fd; color: #1e3a8a; }
.snp-cartbar__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 18px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}
.snp-cartbar__cta.is-disabled,
.snp-cartbar__cta[disabled] {
	opacity: .55;
	cursor: not-allowed;
	pointer-events: none;
}
@media ( max-width: 720px ) {
	.snp-cartbar__inner { padding: 10px 14px; gap: 10px; flex-wrap: wrap; }
	.snp-cartbar__progress { display: none; }
	.snp-cartbar__total { font-size: 14.5px; }
	.snp-cartbar__review { padding: 6px 11px; font-size: 12.5px; }
	.snp-cartbar__cta    { padding: 7px 14px; font-size: 13px; }
}

/* Push the page footer up so it isn't covered by the sticky bar. */
.snp-cartbar:not([hidden]) ~ .site-footer,
body:has(.snp-cartbar:not([hidden])) .site-footer { padding-bottom: 96px; }
body:has(.snp-cartbar:not([hidden])) { padding-bottom: 70px; }

/* ──────────────────────────────────────────────────────────────────────
 * Cart drawer — booking page only. Slide-in from the right.
 * ────────────────────────────────────────────────────────────────────── */
.snp-cartdrawer {
	position: fixed;
	inset: 0;
	z-index: 100;
}
.snp-cartdrawer[hidden] { display: none; }
.snp-cartdrawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, .42);
	opacity: 0;
	transition: opacity .24s ease;
	cursor: pointer;
}
.snp-cartdrawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(420px, 92vw);
	background: #fff;
	box-shadow: -16px 0 40px -16px rgba(15, 23, 42, .35);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform .26s cubic-bezier(.22, 1, .36, 1);
	outline: none;
}
.snp-cartdrawer.is-open .snp-cartdrawer__overlay { opacity: 1; }
.snp-cartdrawer.is-open .snp-cartdrawer__panel   { transform: translateX(0); }

.snp-cartdrawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid #e5e7eb;
}
.snp-cartdrawer__title { margin: 0; font-size: 17px; color: #0f172a; }
.snp-cartdrawer__close {
	background: none;
	border: 0;
	color: #6b7280;
	font-size: 24px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	cursor: pointer;
}
.snp-cartdrawer__close:hover { background: #f1f5f9; color: #0f172a; }
.snp-cartdrawer__body {
	flex: 1;
	overflow-y: auto;
	padding: 16px 20px 24px;
	background: #fafbfc;
}
body.snp-cartdrawer-open { overflow: hidden; }

/* ──────────────────────────────────────────────────────────────────────
 * Sidebar room: × remove control
 * ────────────────────────────────────────────────────────────────────── */
.snp-sidebar-room__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 6px;
}
.snp-sidebar-room-badge--spacer {
	display: inline-block;
	min-width: 1px;
	flex: 1;
}
.snp-sidebar-room__remove {
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 1px solid #fecaca;
	background: #fff;
	color: #b91c1c;
	font-size: 18px;
	line-height: 1;
	font-weight: 600;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.snp-sidebar-room__remove:hover {
	background: #fee2e2;
	color: #7f1d1d;
	border-color: #f87171;
}
.snp-sidebar-room__remove.is-loading {
	opacity: .55;
	cursor: progress;
}
.snp-sidebar-room__remove[disabled] {
	cursor: not-allowed;
}

/* ──────────────────────────────────────────────────────────────────────
 * Sidebar guest-parity warning banner
 * Shown on extras / checkout / payment when stops have unequal totals.
 * ────────────────────────────────────────────────────────────────────── */
.snp-sidebar-parity-warn {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 14px;
}
.snp-sidebar-parity-warn__icon {
	flex: 0 0 auto;
	color: #b45309;
	margin-top: 1px;
}
.snp-sidebar-parity-warn__body {
	flex: 1;
	min-width: 0;
}
.snp-sidebar-parity-warn__body strong {
	display: block;
	color: #92400e;
	font-size: 13.5px;
	margin-bottom: 4px;
}
.snp-sidebar-parity-warn__body p {
	margin: 0;
	color: #7c2d12;
	font-size: 12.5px;
	line-height: 1.45;
}

/* ──────────────────────────────────────────────────────────────────────
 * Fixed-date event strap — replaces the date picker on events whose
 * date choice collapses to a single bookable plan.
 * ────────────────────────────────────────────────────────────────────── */
.snp-booking__fixedstrap {
	background: linear-gradient( 135deg, #eff6ff 0%, #f1f5f9 100% );
	border: 1px solid #c7d2fe;
	border-radius: 14px;
	padding: 16px 20px;
}
.snp-booking__fixedstrap-inner {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}
.snp-booking__fixedstrap-icon {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #2563eb;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.snp-booking__fixedstrap-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	flex: 1;
}
.snp-booking__fixedstrap-eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #6b7280;
}
.snp-booking__fixedstrap-dates {
	font-size: 17px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.25;
}
.snp-booking__fixedstrap-meta {
	color: #475569;
	font-size: 13.5px;
}
@media ( max-width: 540px ) {
	.snp-booking__fixedstrap { padding: 14px 16px; }
	.snp-booking__fixedstrap-dates { font-size: 16px; }
}

/* ════════════════════════════════════════════════════════════════════
 * Phase T6 — add-ons page polish.
 *
 * Three concrete fixes + one new affordance:
 *
 *   1. Sidebar stop/room "Room" label was being collapsed letter-by-
 *      letter when the value (e.g. "Pullman ZamZam Double Deluxe")
 *      took up nearly all the row width with white-space:nowrap.
 *      Switched the label to flex:0 0 auto + nowrap and the value
 *      to flex:1 1 auto + min-width:0 + overflow-wrap:anywhere so
 *      long values wrap inline instead of pushing the label to 0.
 *
 *   2. "Add-ons & extras" heading no longer carries a numbered
 *      chip — the funnel stepper at the top owns the numbering.
 *      `.snp-checkout__section-head--plain` strips the chip slot.
 *
 *   3. Hotel Information empty card is gated server-side now (only
 *      renders on the booking page with a real address) — no CSS
 *      change needed here.
 *
 *   4. New "Estimated" pill on the per-share row when crewpay is
 *      off, so the customer can see what each guest would pay if
 *      they later switched to Crewpay.
 * ════════════════════════════════════════════════════════════════════ */

.snp-root .snp-checkout__section-head--plain {
	gap: 0;
}
.snp-root .snp-checkout__section-head--plain .snp-checkout__section-num {
	display: none;
}
.snp-root .snp-checkout__section-head--plain .snp-checkout__section-title {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -.005em;
	margin: 0;
}

/* Sidebar stop / room price-rows — let the value wrap, keep the
   label whole. Targets every flavour of the sidebar (single-room,
   multi-room, multi-leg) so the "Room" collapse can't recur. */
.snp-root .snp-sidebar-stop .snp-price-row,
.snp-root .snp-sidebar-room .snp-price-row {
	flex-wrap: wrap;
	row-gap: 2px;
}
.snp-root .snp-sidebar-stop .snp-price-row .snp-label,
.snp-root .snp-sidebar-room .snp-price-row .snp-label {
	flex: 0 0 auto;
	white-space: nowrap;
	min-width: 0;
}
.snp-root .snp-sidebar-stop .snp-price-row .snp-value,
.snp-root .snp-sidebar-room .snp-price-row .snp-value {
	flex: 1 1 auto;
	min-width: 0;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
	text-align: right;
}

/* "Estimated" pill that sits next to the "Your share" label when
   the booker isn't using crewpay. Visually quiet but distinct so
   the customer knows it's display-only, not what's being charged. */
.snp-root .snp-your-share--estimated .snp-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}
.snp-root .snp-your-share__pill {
	display: inline-flex;
	align-items: center;
	padding: 1px 7px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #475569;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	cursor: help;
	white-space: nowrap;
}
.snp-root .snp-your-share--estimated .snp-your-share-value {
	color: #475569;
	font-weight: 600;
}

/* ════════════════════════════════════════════════════════════════════
 * Phase T5 — booking-page polish (cards, intro, "+N more" tile,
 * filter row visibility, package selected state).
 *
 * No content changes — every rule below is layout-only and additive.
 * ════════════════════════════════════════════════════════════════════ */

/* ── Intro title — promote to true page hero size ───────────────── */
.snp-root .snp-booking__intro-title {
	font-size: 38px;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.1;
}
@media (max-width: 900px) {
	.snp-root .snp-booking__intro-title { font-size: 30px; }
}
@media (max-width: 600px) {
	.snp-root .snp-booking__intro-title { font-size: 24px; }
}

/* ── "+N more" gallery tile — make the affordance obvious ───────── */
.snp-root .snp-booking__intro-gallery-item.is-overflow {
	cursor: zoom-in;
	transition: transform .2s ease, box-shadow .2s ease;
}
.snp-root .snp-booking__intro-gallery-item.is-overflow:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 28px -14px rgba(15, 23, 42, .35);
}
.snp-root .snp-booking__intro-gallery-item.is-overflow::after {
	background: linear-gradient(135deg, rgba(15, 23, 42, .55) 0%, rgba(15, 23, 42, .75) 100%);
	font-weight: 700;
	letter-spacing: .02em;
	transition: background .2s ease, backdrop-filter .2s ease;
}
.snp-root .snp-booking__intro-gallery-item.is-overflow:hover::after {
	background: linear-gradient(135deg, rgba(15, 23, 42, .65) 0%, rgba(15, 23, 42, .82) 100%);
}
.snp-root .snp-booking__intro-gallery-item.is-overflow::before {
	content: "";
	position: absolute;
	right: 12px;
	bottom: 12px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='15 3 21 3 21 9'/><polyline points='9 21 3 21 3 15'/><line x1='21' y1='3' x2='14' y2='10'/><line x1='3' y1='21' x2='10' y2='14'/></svg>");
	background-repeat: no-repeat;
	background-position: center;
	z-index: 2;
	box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .35);
	transition: transform .15s ease;
}
.snp-root .snp-booking__intro-gallery-item.is-overflow:hover::before {
	transform: scale(1.08);
}

/* ── Date filter — hide row when JS / server marked it [hidden] ── */
.snp-root .snp-booking__filter-group.is-hidden,
.snp-root .snp-booking__filter-group[hidden] {
	display: none !important;
}

/* ── Hotel cards — uniform heights when meta / desc are missing ── */
.snp-root .snp-booking__card-image-wrap {
	aspect-ratio: 16 / 10;
	background: #f1f5f9;
}
.snp-root .snp-booking__card-image--empty {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #94a3b8;
	background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}
/* Description placeholder — visible whitespace so heights match. */
.snp-root .snp-booking__card-desc--empty {
	min-height: 1.6em;
	visibility: hidden;
}
/* Rating-row placeholder — keeps the meta row's height consistent
   even when no rating + no price tag are rendered. */
.snp-root .snp-booking__card-rating--empty {
	display: inline-flex;
	height: 18px;
	min-width: 1px;
}
.snp-root .snp-booking__card-meta.is-empty {
	min-height: 18px;
}

/* ── Package cards — stronger "selected" state ─────────────────── */
.snp-root .snp-booking__card--package:has( .snp-booking__card-radio-input:checked ) {
	background: linear-gradient(180deg,
		color-mix(in srgb, var(--pkg-color, var(--snp-color-accent)) 6%, #fff) 0%,
		#fff 60%);
	transform: translateY(-2px);
}
/* "Selected" pill — appears in the top-left of the active card. */
.snp-root .snp-booking__card--package::before {
	content: "Selected";
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 3px 9px;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	border-radius: 999px;
	background: var(--pkg-color, var(--snp-color-accent));
	color: #fff;
	box-shadow: 0 4px 10px -4px color-mix(in srgb, var(--pkg-color, var(--snp-color-accent)) 60%, transparent);
	opacity: 0;
	transform: translateY(-4px);
	pointer-events: none;
	transition: opacity .15s ease, transform .15s ease;
	z-index: 4;
}
.snp-root .snp-booking__card--package:has( .snp-booking__card-radio-input:checked )::before {
	opacity: 1;
	transform: translateY(0);
}
/* When selected: drop the package-name's left padding because the
   tick chip moved (the card-check is now in the top-right). */
.snp-root .snp-booking__card--package:has( .snp-booking__card-radio-input:checked ) .snp-booking__card-name {
	padding-left: 0;
	padding-top: 22px; /* leave room for the "Selected" pill above */
}

/* ──────────────────────────────────────────────────────────────────────
 * Single-event feature card — replaces [snp_events_grid] when only
 * one event qualifies. Confident hero composition, no "lonely card".
 * ────────────────────────────────────────────────────────────────────── */
.snp-feature-event {
	position: relative;
	max-width: 1100px;
	margin: 0 auto;
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 18px 48px -22px rgba(15, 23, 42, .25);
}
.snp-feature-event__hero {
	width: 100%;
	height: 320px;
	background-size: cover;
	background-position: center;
	background-color: #e2e8f0;
}
.snp-feature-event__hero--empty {
	background: linear-gradient( 135deg, #c7d2fe 0%, #a5b4fc 100% );
}
.snp-feature-event__body {
	padding: 28px 32px 32px;
}
.snp-feature-event__head {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 14px;
}
.snp-feature-event__location,
.snp-feature-event__dates {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	color: #475569;
	font-weight: 500;
}
.snp-feature-event__title {
	margin: 4px 0 0;
	font-size: 28px;
	line-height: 1.18;
	color: #0f172a;
	font-weight: 700;
}
.snp-feature-event__subtitle {
	margin: 0;
	color: #475569;
	font-size: 15.5px;
	line-height: 1.45;
}
.snp-feature-event__desc {
	color: #334155;
	font-size: 15px;
	line-height: 1.6;
	margin: 6px 0 18px;
}
.snp-feature-event__desc p:last-child { margin-bottom: 0; }

.snp-feature-event__included {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 14px 16px;
	margin-bottom: 22px;
}
.snp-feature-event__included-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #6b7280;
	margin-bottom: 8px;
}
.snp-feature-event__included-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 180px, 1fr ) );
	gap: 6px 14px;
}
.snp-feature-event__included-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #1e293b;
	font-size: 13.5px;
}
.snp-feature-event__included-dot {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #16a34a;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.snp-feature-event__cta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
	padding-top: 4px;
	border-top: 1px dashed #e5e7eb;
	padding-top: 18px;
}
.snp-feature-event__price {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}
.snp-feature-event__price-label {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #6b7280;
	margin-bottom: 4px;
}
.snp-feature-event__price-amount {
	font-size: 26px;
	font-weight: 700;
	color: #2563eb;
}
.snp-feature-event__price-per {
	font-size: 12.5px;
	color: #6b7280;
	margin-top: 1px;
}
.snp-feature-event__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 12px 24px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
}
@media ( max-width: 720px ) {
	.snp-feature-event__hero  { height: 220px; }
	.snp-feature-event__body  { padding: 22px 20px 24px; }
	.snp-feature-event__title { font-size: 24px; }
	.snp-feature-event__cta-row { flex-direction: column; align-items: stretch; }
	.snp-feature-event__cta   { justify-content: center; }
}

/* ════════════════════════════════════════════════════════════════════
 * Cart-surface button polish — sticky bar, drawer, sidebar.
 *
 * Goal: every button across these three surfaces speaks the same
 * visual language. Primary CTAs are pill-shaped with an arrow icon;
 * ghost/secondary buttons share a consistent border + hover; ×
 * remove buttons are circular and pick up red on hover; the coupon
 * row reads as a single segmented pill instead of input + button.
 * ════════════════════════════════════════════════════════════════════ */

/* ── 1. Cart bar (#snp-cartbar) ─────────────────────────────────── */
/* Override the inherited .snp-btn defaults so the bar's two CTAs are
 * pill-rounded, beefier, and consistent across themes. Higher-specificity
 * targeting (#snp-cartbar) keeps theme stylesheets from overriding. */
#snp-cartbar .snp-cartbar__review,
#snp-cartbar .snp-cartbar__cta {
	border-radius: 999px;
	font-weight: 600;
	letter-spacing: .01em;
	transition: transform .12s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease;
}
#snp-cartbar .snp-cartbar__review {
	background: #fff;
	color: #1e293b;
	border: 1px solid #cbd5e1;
	padding: 8px 16px;
	font-size: 13.5px;
	gap: 6px;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
}
#snp-cartbar .snp-cartbar__review:hover,
#snp-cartbar .snp-cartbar__review:focus-visible {
	background: #eff6ff;
	border-color: #93c5fd;
	color: #1e3a8a;
	transform: translateY(-1px);
}
#snp-cartbar .snp-cartbar__cta {
	background: linear-gradient( 135deg, #2563eb 0%, #1d4ed8 100% );
	color: #fff;
	border: 1px solid transparent;
	padding: 10px 22px;
	font-size: 14px;
	gap: 8px;
	display: inline-flex;
	align-items: center;
	box-shadow: 0 6px 16px -8px rgba(37, 99, 235, .55);
	text-decoration: none;
}
#snp-cartbar .snp-cartbar__cta:hover,
#snp-cartbar .snp-cartbar__cta:focus-visible {
	background: linear-gradient( 135deg, #1d4ed8 0%, #1e40af 100% );
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px -10px rgba(37, 99, 235, .65);
	text-decoration: none;
}
#snp-cartbar .snp-cartbar__cta.is-disabled,
#snp-cartbar .snp-cartbar__cta[disabled] {
	background: #e2e8f0;
	color: #94a3b8;
	box-shadow: none;
	cursor: not-allowed;
	pointer-events: none;
	transform: none;
}
#snp-cartbar .snp-cartbar__cta svg { transition: transform .12s ease; }
#snp-cartbar .snp-cartbar__cta:hover svg { transform: translateX(2px); }

/* ── 2. Drawer (#snp-cartdrawer) ────────────────────────────────── */
#snp-cartdrawer .snp-cartdrawer__close {
	background: #f1f5f9;
	border: 1px solid transparent;
	color: #475569;
	font-size: 22px;
	line-height: 1;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background .15s ease, color .15s ease, border-color .15s ease, transform .12s ease;
}
#snp-cartdrawer .snp-cartdrawer__close:hover,
#snp-cartdrawer .snp-cartdrawer__close:focus-visible {
	background: #fee2e2;
	color: #b91c1c;
	border-color: #fecaca;
	transform: scale(1.04);
}

/* ── 3. Sidebar — room × remove (rerefined with same pill vocab) ─ */
.snp-sidebar-wrap .snp-sidebar-room__remove {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid #fecaca;
	background: #fff;
	color: #b91c1c;
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background .15s ease, color .15s ease, border-color .15s ease, transform .12s ease;
}
.snp-sidebar-wrap .snp-sidebar-room__remove:hover,
.snp-sidebar-wrap .snp-sidebar-room__remove:focus-visible {
	background: #b91c1c;
	color: #fff;
	border-color: #b91c1c;
	transform: scale(1.05);
}
.snp-sidebar-wrap .snp-sidebar-room__remove.is-loading { opacity: .55; cursor: progress; }
.snp-sidebar-wrap .snp-sidebar-room__remove[disabled]  { cursor: not-allowed; }

/* ── 4. Sidebar — coupon row (segmented pill: input + Apply) ────── */
.snp-coupon-row {
	display: flex;
	align-items: stretch;
	gap: 0;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	padding: 4px;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.snp-coupon-row:focus-within {
	border-color: #93c5fd;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.snp-coupon-row .snp-coupon-input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 6px 12px;
	font-size: 13.5px;
	color: #0f172a;
	outline: none;
	box-shadow: none;
}
.snp-coupon-row .snp-coupon-input::placeholder { color: #94a3b8; }
.snp-coupon-row .snp-coupon-apply {
	flex: 0 0 auto;
	background: #0f172a;
	color: #fff;
	border: 0;
	padding: 7px 16px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .01em;
	cursor: pointer;
	transition: background .15s ease, transform .12s ease;
}
.snp-coupon-row .snp-coupon-apply:hover,
.snp-coupon-row .snp-coupon-apply:focus-visible {
	background: #1e293b;
	transform: translateY(-1px);
}

/* ── 5. Sidebar — applied coupon chip with × ──────────────────── */
.snp-coupon-list {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.snp-coupon-applied {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: 10px;
	padding: 8px 10px 8px 14px;
}
.snp-coupon-applied__body { min-width: 0; }
.snp-coupon-applied__code {
	font-weight: 700;
	color: #065f46;
	font-size: 13.5px;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.snp-coupon-applied__meta {
	font-size: 12px;
	color: #047857;
	margin-top: 1px;
}
.snp-coupon-applied__amount { font-weight: 600; }
.snp-coupon-applied__remove {
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #fff;
	color: #047857;
	border: 1px solid #a7f3d0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background .15s ease, color .15s ease, border-color .15s ease, transform .12s ease;
}
.snp-coupon-applied__remove:hover,
.snp-coupon-applied__remove:focus-visible {
	background: #047857;
	color: #fff;
	border-color: #047857;
	transform: scale(1.05);
}

/* ── 6. Sidebar — Continue / Proceed CTA (full-width pill) ────── */
.snp-sidebar-actions { padding-top: 4px; }
.snp-sidebar-wrap a.snp_proceed_checkout,
.snp-sidebar-wrap a.snp-btn.snp-btn-primary.snp-btn-full {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 13px 22px;
	border-radius: 999px;
	background: linear-gradient( 135deg, #2563eb 0%, #1d4ed8 100% );
	color: #fff;
	font-size: 14.5px;
	font-weight: 600;
	letter-spacing: .01em;
	text-decoration: none;
	box-shadow: 0 8px 20px -10px rgba(37, 99, 235, .55);
	transition: transform .12s ease, box-shadow .15s ease, background-color .15s ease;
}
.snp-sidebar-wrap a.snp_proceed_checkout:hover,
.snp-sidebar-wrap a.snp_proceed_checkout:focus-visible,
.snp-sidebar-wrap a.snp-btn.snp-btn-primary.snp-btn-full:hover,
.snp-sidebar-wrap a.snp-btn.snp-btn-primary.snp-btn-full:focus-visible {
	background: linear-gradient( 135deg, #1d4ed8 0%, #1e40af 100% );
	transform: translateY(-1px);
	box-shadow: 0 12px 26px -12px rgba(37, 99, 235, .65);
	color: #fff;
	text-decoration: none;
}

/* Make sure the room-stop subtotal row inside the drawer doesn't
 * collide with the new room-head spacing */
.snp-sidebar-stop__rooms .snp-sidebar-room { padding-top: 0; }

/* ════════════════════════════════════════════════════════════════════
 * Rooms panel polish — v2.19+
 *
 * The mini-sidebar inside the rooms panel was removed in v2.17 in
 * favour of the global cart drawer, but the body grid still reserved
 * a 320px sidebar column. These rules restore the layout to a single
 * full-width body, render rooms in a responsive 2-column grid, and
 * refresh the × close button to match the cart-bar / drawer vocab.
 * ════════════════════════════════════════════════════════════════════ */

/* Body — single full-width column now. */
.snp-booking__rooms-body {
	display: block;
}

/* One card per row, full width — readable across desktop without
 * cramming. Cards stack vertically with a comfortable gap. */
.snp-booking__rooms-grid {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* Room card layout: image on the left, content on the right (row flex).
 * Collapses to a stacked column on narrow viewports so the gallery and
 * the booking controls each get full width. */
.snp-room-card-inner {
	display: flex;
	flex-direction: row;
	align-items: stretch;
}
.snp-room-gallery {
	flex: 0 0 320px;
	max-width: 320px;
	width: 320px;
	aspect-ratio: 4 / 3;
	max-height: none;
}
.snp-room-card-content {
	flex: 1;
	min-width: 0;
	padding: 18px 22px 18px 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
@media ( max-width: 720px ) {
	.snp-room-card-inner { flex-direction: column; }
	.snp-room-gallery {
		flex: 0 0 auto;
		width: 100%;
		max-width: none;
		aspect-ratio: 16 / 10;
	}
	.snp-room-card-content { padding: 16px 18px 18px; }
}

/* × close button — definitive style. Defeats earlier .snp-booking__rooms-close
 * declarations (font:700 22px/1 was leaking through and pushing the SVG
 * off-centre), aligns visually with the drawer / cart-bar / sidebar room ×
 * vocabulary: white circular chip with a soft border, red hover, gentle
 * lift on press. */
.snp-booking__rooms-panel .snp-booking__rooms-close,
button.snp-booking__rooms-close {
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	min-width: 38px;
	border-radius: 50%;
	border: 1px solid #e2e8f0;
	background: #fff;
	color: #475569;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	font: inherit; /* override the legacy 22px/1 font that pushed the SVG */
	line-height: 1;
	box-shadow: 0 1px 0 rgba(15, 23, 42, .04);
	transition: background .15s ease, color .15s ease, border-color .15s ease, transform .12s ease, box-shadow .15s ease;
}
.snp-booking__rooms-panel .snp-booking__rooms-close:hover,
.snp-booking__rooms-panel .snp-booking__rooms-close:focus-visible,
button.snp-booking__rooms-close:hover,
button.snp-booking__rooms-close:focus-visible {
	background: #fee2e2;
	color: #b91c1c;
	border-color: #fca5a5;
	transform: scale(1.05);
	box-shadow: 0 4px 12px -4px rgba(185, 28, 28, .35);
	outline: none;
}
.snp-booking__rooms-panel .snp-booking__rooms-close:active,
button.snp-booking__rooms-close:active {
	transform: scale(.96);
}
.snp-booking__rooms-panel .snp-booking__rooms-close svg,
button.snp-booking__rooms-close svg {
	display: block;
	width: 16px;
	height: 16px;
	stroke: currentColor;
	pointer-events: none;
}

/* ════════════════════════════════════════════════════════════════════
 * View Rooms button — three states:
 *   default   → "View rooms" with no icon shown
 *   is-active → "View rooms" with spinner (existing behaviour)
 *   is-loaded → "Viewing rooms" with checkmark on success
 * ════════════════════════════════════════════════════════════════════ */
.snp-root .snp-ajax-view-rooms .snp-btn-check,
.snp-ajax-view-rooms .snp-btn-check {
	display: none;
	stroke: currentColor;
	flex: 0 0 auto;
}
.snp-root .snp-ajax-view-rooms.is-loaded .snp-btn-check,
.snp-ajax-view-rooms.is-loaded .snp-btn-check {
	display: inline-block;
}
.snp-root .snp-ajax-view-rooms.is-loaded .snp-btn-spinner,
.snp-ajax-view-rooms.is-loaded .snp-btn-spinner {
	display: none;
}
.snp-root .snp-ajax-view-rooms.is-loaded,
.snp-ajax-view-rooms.is-loaded {
	background: #16a34a !important;
	border-color: #16a34a !important;
	color: #fff !important;
	box-shadow: 0 6px 16px -8px rgba(22, 163, 74, .55) !important;
}
.snp-root .snp-ajax-view-rooms.is-loaded:hover,
.snp-ajax-view-rooms.is-loaded:hover {
	background: #15803d !important;
	border-color: #15803d !important;
}

/* ====================================================================
 * Phase Q — booking page polish
 * --------------------------------------------------------------------
 * Slider auto-hide, rooms-panel backdrop, sticky header, skeleton
 * loading, restructured price block, refined gallery, friendly empty
 * state, refined typography + shadows + transitions.
 * ==================================================================== */

/* ── Slider: auto-hide chrome when track doesn't overflow ─────────── */
.snp-slider.snp-slider--no-overflow .snp-booking__slider-nav {
	display: none !important;
}
.snp-slider.snp-slider--no-overflow .snp-booking__slider-track,
.snp-slider.snp-slider--no-overflow .snp-packages-wrapper {
	overflow-x: visible;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 16px;
	scroll-snap-type: none;
	padding-bottom: 4px;
}
.snp-slider.snp-slider--no-overflow .snp-booking__slider-track > *,
.snp-slider.snp-slider--no-overflow .snp-packages-wrapper > * {
	flex: 1 1 240px;
	max-width: calc( 25% - 12px );
	scroll-snap-align: none;
}
@media (max-width: 980px) {
	.snp-slider.snp-slider--no-overflow .snp-booking__slider-track > *,
	.snp-slider.snp-slider--no-overflow .snp-packages-wrapper > * {
		max-width: calc( 50% - 8px );
	}
}
@media (max-width: 600px) {
	.snp-slider.snp-slider--no-overflow .snp-booking__slider-track > *,
	.snp-slider.snp-slider--no-overflow .snp-packages-wrapper > * {
		max-width: 100%;
	}
}

/* ── Rooms panel: backdrop dim ─────────────────────────────────────── */
.snp-rooms-backdrop {
	position: fixed;
	inset: 0;
	background: rgba( 15, 23, 42, .55 );
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	opacity: 0;
	pointer-events: none;
	z-index: 90;
	transition: opacity .22s ease;
}
.snp-rooms-backdrop.is-visible {
	opacity: 1;
	pointer-events: auto;
}

/* The panel itself rises above the backdrop. */
.snp-booking__rooms-panel.is-open {
	position: relative;
	z-index: 95;
	box-shadow:
		0 24px 60px -20px rgba(15, 23, 42, .35),
		0 6px 16px -8px rgba(15, 23, 42, .25);
	border-color: rgba(15, 23, 42, .12);
}

/* ── Rooms panel: sticky header so it never scrolls off screen ────── */
.snp-booking__rooms-panel .snp-booking__rooms-head {
	position: sticky;
	top: 0;
	z-index: 1;
	background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
	backdrop-filter: saturate(140%) blur(6px);
	-webkit-backdrop-filter: saturate(140%) blur(6px);
}
.snp-booking__rooms-panel .snp-booking__rooms-meta .snp-eyebrow {
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #64748b;
}
.snp-booking__rooms-panel .snp-booking__rooms-title {
	font-size: 1.15rem;
	font-weight: 700;
	color: #0f172a;
	margin: 2px 0 4px;
	letter-spacing: -.01em;
}
.snp-booking__rooms-panel .snp-booking__rooms-dates {
	font-size: .82rem;
	color: #475569;
	margin: 0;
	font-variant-numeric: tabular-nums;
}
.snp-booking__rooms-panel .snp-booking__rooms-close {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid rgba(15, 23, 42, .08);
	background: #fff;
	color: #475569;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .15s ease, color .15s ease, transform .15s ease, border-color .15s ease;
}
.snp-booking__rooms-panel .snp-booking__rooms-close:hover {
	background: #0f172a;
	color: #fff;
	border-color: #0f172a;
	transform: rotate(90deg);
}

/* ── Skeleton loading state ──────────────────────────────────────── */
@keyframes snp-skeleton-shimmer {
	0%   { background-position: -200% 0; }
	100% { background-position:  200% 0; }
}
.snp-room-skeleton {
	display: grid;
	grid-template-columns: minmax(220px, 320px) 1fr;
	gap: 0;
	background: var(--snp-color-surface);
	border: 1px solid var(--snp-color-border);
	border-radius: var(--snp-radius-lg);
	overflow: hidden;
}
@media (max-width: 720px) {
	.snp-room-skeleton {
		grid-template-columns: 1fr;
	}
}
.snp-room-skeleton__gallery,
.snp-room-skeleton__line,
.snp-room-skeleton__cta {
	background: linear-gradient(90deg,
		#f1f5f9 0%,
		#e2e8f0 40%,
		#f1f5f9 80%);
	background-size: 200% 100%;
	animation: snp-skeleton-shimmer 1.4s linear infinite;
	border-radius: 6px;
}
.snp-room-skeleton__gallery {
	aspect-ratio: 4 / 3;
	border-radius: 0;
	margin: 10px;
	border-radius: calc(var(--snp-radius) - 2px);
}
@media (max-width: 720px) {
	.snp-room-skeleton__gallery { margin: 0; border-radius: 0; }
}
.snp-room-skeleton__content {
	padding: 22px 22px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.snp-room-skeleton__line {
	height: 12px;
	width: 100%;
}
.snp-room-skeleton__line--lg { height: 18px; width: 65%; }
.snp-room-skeleton__line--md { height: 12px; width: 40%; }
.snp-room-skeleton__line--sm { height: 10px; width: 90%; }
.snp-room-skeleton__cta {
	margin-top: auto;
	height: 38px;
	width: 140px;
	border-radius: 999px;
	align-self: flex-end;
}

/* ── Room card: fancier hover lift, accent on selection ──────────── */
.snp-booking__rooms-panel .snp-room-card {
	transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.snp-booking__rooms-panel .snp-room-card:hover {
	box-shadow:
		0 14px 32px -16px rgba(15, 23, 42, .25),
		0 4px 10px -6px rgba(15, 23, 42, .12);
	transform: translateY(-2px);
	border-color: rgba(99, 102, 241, .25);
}

/* ── Gallery: bigger main image, thumbs as floating overlay row ──── */
.snp-booking__rooms-panel .snp-room-gallery {
	padding: 0;
	border-right: 0;
	background: transparent;
}
.snp-booking__rooms-panel .snp-room-gallery-main {
	aspect-ratio: 16 / 11;
	border-radius: 0;
	margin: 0;
	background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}
.snp-booking__rooms-panel .snp-room-gallery-main img {
	transition: transform .5s ease;
}
.snp-booking__rooms-panel .snp-room-card:hover .snp-room-gallery-main img {
	transform: scale(1.06);
}
.snp-booking__rooms-panel .snp-room-gallery-count {
	position: absolute;
	bottom: 12px;
	right: 12px;
	display: inline-flex;
	align-items: center;
	background: rgba(15, 23, 42, .72);
	color: #fff;
	font-size: .72rem;
	font-weight: 600;
	padding: 4px 9px;
	border-radius: 999px;
	letter-spacing: .03em;
	z-index: 2;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
.snp-booking__rooms-panel .snp-room-gallery-arrow {
	width: 36px;
	height: 36px;
	font-size: 13px;
	background: rgba(255, 255, 255, .18);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .25);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	opacity: 0;
	transition: opacity .2s ease, background .2s ease, transform .15s ease;
}
.snp-booking__rooms-panel .snp-room-card:hover .snp-room-gallery-arrow {
	opacity: 1;
}
.snp-booking__rooms-panel .snp-room-gallery-arrow:hover {
	background: rgba(255, 255, 255, .35);
	transform: translateY(-50%) scale(1.06);
}
.snp-booking__rooms-panel .snp-room-gallery-thumbs {
	gap: 8px;
	padding: 12px 14px 14px;
	background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #ffffff 60%);
	margin-top: -34px;
	position: relative;
	z-index: 2;
}
.snp-booking__rooms-panel .snp-room-thumb-item {
	flex: 0 0 48px;
	height: 38px;
	border-radius: 5px;
	border: 2px solid rgba(255, 255, 255, .9);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
.snp-booking__rooms-panel .snp-room-thumb-item.active {
	border-color: var(--snp-color-accent, #2563eb);
	box-shadow: 0 0 0 2px rgba(37, 99, 235, .25), 0 2px 6px rgba(0, 0, 0, .15);
}

/* ── Card content: typography refinement ─────────────────────────── */
.snp-booking__rooms-panel .snp-room-card-title {
	font-size: 1.12rem;
	font-weight: 700;
	color: #0f172a;
	letter-spacing: -.01em;
	margin: 0 0 8px;
}

/* ── Feature pills (replaces meta line) ──────────────────────────── */
.snp-room-card-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 10px;
}
.snp-room-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	background: #f1f5f9;
	color: #334155;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	font-size: .76rem;
	font-weight: 500;
	letter-spacing: 0;
}
.snp-room-pill svg { color: #64748b; }
.snp-room-pill--guests { background: #ecfdf5; border-color: #d1fae5; color: #065f46; }
.snp-room-pill--guests svg { color: #10b981; }
.snp-room-pill--bed { background: #eff6ff; border-color: #dbeafe; color: #1e40af; }
.snp-room-pill--bed svg { color: #3b82f6; }

.snp-booking__rooms-panel .snp-room-card-short-desc {
	font-size: .9rem;
	color: #475569;
	margin: 0 0 6px;
	font-weight: 500;
}
.snp-booking__rooms-panel .snp-room-card-desc {
	font-size: .85rem;
	color: #64748b;
	margin: 0 0 4px;
	line-height: 1.55;
}

/* ── Restructured price block — eyebrow, big number, sub-line ────── */
.snp-booking__rooms-panel .snp-room-card-price-col {
	text-align: right;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0;
	padding: 4px 0 0;
}
.snp-booking__rooms-panel .snp-room-price-eyebrow {
	font-size: .65rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #94a3b8;
	line-height: 1;
	margin-bottom: 4px;
}
.snp-booking__rooms-panel .snp-room-price-amount {
	font-size: 1.72rem;
	font-weight: 800;
	color: #0f172a;
	letter-spacing: -.02em;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.snp-booking__rooms-panel .snp-room-price-label {
	font-size: .8rem;
	color: #475569;
	margin-top: 6px;
	font-variant-numeric: tabular-nums;
	font-weight: 500;
}
.snp-booking__rooms-panel .snp-room-price-tax {
	font-size: .68rem;
	color: #94a3b8;
	margin-top: 2px;
	font-style: italic;
}

/* ── Footer: cleaner Select Room button ──────────────────────────── */
.snp-booking__rooms-panel .snp-select-room-btn {
	background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 10px 18px;
	font-size: .9rem;
	font-weight: 600;
	letter-spacing: .01em;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, .1) inset,
		0 4px 12px -4px rgba(15, 23, 42, .35);
	transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.snp-booking__rooms-panel .snp-select-room-btn:hover {
	transform: translateY(-1px);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, .1) inset,
		0 8px 18px -6px rgba(15, 23, 42, .45);
}
.snp-booking__rooms-panel .snp-select-room-btn:active {
	transform: translateY(0);
}
.snp-booking__rooms-panel .snp-select-room-btn.is-loading {
	opacity: .8;
	cursor: wait;
}

/* Quantity stepper polish */
.snp-booking__rooms-panel .snp-room-guest-picker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.snp-booking__rooms-panel .snp-room-guest-label {
	font-size: .8rem;
	color: #64748b;
	font-weight: 500;
}
.snp-booking__rooms-panel .snp-qty-ctrl {
	display: inline-flex;
	align-items: center;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	overflow: hidden;
}
.snp-booking__rooms-panel .snp-qty-btn {
	width: 30px;
	height: 30px;
	border: 0;
	background: transparent;
	color: #475569;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s ease;
}
.snp-booking__rooms-panel .snp-qty-btn:hover { background: #f1f5f9; }
.snp-booking__rooms-panel .snp-qty-input {
	width: 36px;
	border: 0;
	text-align: center;
	font-weight: 700;
	color: #0f172a;
	font-variant-numeric: tabular-nums;
	background: transparent;
}
.snp-booking__rooms-panel .snp-qty-input::-webkit-inner-spin-button,
.snp-booking__rooms-panel .snp-qty-input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* ── Friendly empty state ─────────────────────────────────────────── */
.snp-no-rooms {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 36px 24px;
	color: #475569;
	gap: 4px;
}
.snp-no-rooms__icon {
	color: #94a3b8;
	margin-bottom: 8px;
}
.snp-no-rooms__title {
	font-size: 1.05rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 2px;
	letter-spacing: -.01em;
}
.snp-no-rooms__text {
	font-size: .88rem;
	color: #64748b;
	margin: 0 0 14px;
	max-width: 380px;
	line-height: 1.55;
}
.snp-no-rooms__close {
	background: #0f172a;
	color: #fff;
	border: 0;
	padding: 9px 22px;
	border-radius: 999px;
	font-size: .85rem;
	font-weight: 600;
	cursor: pointer;
	transition: transform .15s ease, background .2s ease;
}
.snp-no-rooms__close:hover {
	background: #1e293b;
	transform: translateY(-1px);
}

/* ── Make the panel feel like a focused decision surface ───────── */
@media (min-width: 1024px) {
	.snp-booking__rooms-panel.is-open {
		max-height: 88vh;
		overflow-y: auto;
		scrollbar-width: thin;
	}
}

/* ════════════════════════════════════════════════════════════════════
 * Phase T — Payment page polish
 *
 * Goals:
 *   1. Each section is its own card surface (billing / method / plan /
 *      card details) — no nested borders, even spacing, plain headings
 *      (the global stepper at the top owns the numbering).
 *   2. Form inputs share the funnel's standard chrome — soft borders,
 *      brand focus ring, comfortable padding, styled select chevron.
 *   3. Pay button dominates; Back becomes a tertiary text link so the
 *      visual weight matches the action priority.
 *   4. Page title (the WP page's "Snp Payment") is hidden — the funnel
 *      stepper already names where you are.
 * ════════════════════════════════════════════════════════════════════ */

/* The form on the payment page is just a thin container — each
   sub-section paints its own card so we drop the form's outer card
   chrome to avoid double-bordering. */
.snp-checkout--payment .snp-checkout__form {
	background: transparent;
	border: 0;
	padding: 0;
	gap: 16px;
}

/* Per-section card surface (Billing / Method / Plan / Card details). */
.snp-payment-section {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 20px 22px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.snp-payment-section + .snp-payment-section { margin-top: 0; }
.snp-payment-section__head {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 14px;
}
.snp-payment-section__title {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	color: #0f172a;
	letter-spacing: -.01em;
}
.snp-payment-section__sub {
	margin: 0;
	font-size: 13px;
	color: #64748b;
	line-height: 1.5;
}

/* Inputs — match the funnel's standard treatment. Higher specificity
   than the legacy block above so theme overrides don't strip them. */
.snp-checkout--payment .snp-payment-section .snp-checkout__input,
.snp-checkout--payment .snp-payment-section .snp-checkout__select {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	background: #fff;
	color: #0f172a;
	font: 500 14px/1.4 var(--snp-font-sans, system-ui, sans-serif);
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
	box-sizing: border-box;
	min-height: 44px;
}
.snp-checkout--payment .snp-payment-section .snp-checkout__input:hover,
.snp-checkout--payment .snp-payment-section .snp-checkout__select:hover {
	border-color: #94a3b8;
	background: #fdfdff;
}
.snp-checkout--payment .snp-payment-section .snp-checkout__input:focus,
.snp-checkout--payment .snp-payment-section .snp-checkout__select:focus {
	outline: 0;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}
/* Native select chevron — replace with a soft custom one. */
.snp-checkout--payment .snp-payment-section select.snp-checkout__select,
.snp-checkout--payment .snp-payment-section .snp-checkout__select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='1,1.5 6,6.5 11,1.5'/></svg>");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px 8px;
	padding-right: 38px;
}
.snp-checkout--payment .snp-payment-section .snp-checkout__label {
	font-size: 13px;
	font-weight: 600;
	color: #1f2937;
	margin-bottom: 6px;
}
.snp-checkout--payment .snp-payment-section .snp-required { color: #dc2626; }

/* Form row spacing inside section cards. */
.snp-checkout--payment .snp-payment-section .snp-checkout__row {
	display: grid;
	gap: 14px;
}
.snp-checkout--payment .snp-payment-section .snp-form-row-2 { grid-template-columns: 1fr 1fr; }
.snp-checkout--payment .snp-payment-section .snp-form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.snp-checkout--payment .snp-payment-section .snp-checkout__field {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
}
.snp-checkout--payment .snp-payment-section > .snp-checkout__field + .snp-checkout__field,
.snp-checkout--payment .snp-payment-section > .snp-checkout__field + .snp-checkout__row,
.snp-checkout--payment .snp-payment-section > .snp-checkout__row + .snp-checkout__field,
.snp-checkout--payment .snp-payment-section > .snp-checkout__row + .snp-checkout__row {
	margin-top: 14px;
}
@media (max-width: 600px) {
	.snp-checkout--payment .snp-payment-section { padding: 16px; }
	.snp-checkout--payment .snp-payment-section .snp-form-row-2,
	.snp-checkout--payment .snp-payment-section .snp-form-row-3 { grid-template-columns: 1fr; }
}

/* Stripe Elements field — make the iframe wrapper match our inputs. */
.snp-checkout--payment .snp-stripe-element {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	background: #fff;
	min-height: 44px;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.snp-checkout--payment .snp-stripe-element.StripeElement--focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}
.snp-checkout--payment .snp-stripe-element.StripeElement--invalid {
	border-color: #dc2626;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, .14);
}

/* Card-details "due today" strip — slimmer, friendlier, no hard
   currency prefix, value in brand colour. */
.snp-checkout--payment .snp-pay-amount-display {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 12px 14px;
	margin: 0 0 14px;
	font-size: 14px;
	color: #0f172a;
}
.snp-checkout--payment .snp-pay-amount-display__label {
	color: #64748b;
	font-weight: 500;
}
.snp-checkout--payment .snp-pay-amount-display__value {
	font-size: 16px;
	font-weight: 700;
	color: #1d4ed8;
	font-variant-numeric: tabular-nums;
}

/* Pay button + Back link layout — Pay dominates, Back is a tertiary
   text link, both centred together so the eye lands on the action. */
.snp-checkout--payment .snp-checkout__actions {
	display: flex;
	gap: 18px;
	align-items: center;
	justify-content: flex-end;
	margin-top: 4px;
	flex-wrap: wrap;
}
.snp-checkout--payment .snp-payment-actions__back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #475569;
	background: transparent;
	border: 0;
	padding: 8px 4px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	transition: color .15s ease;
}
.snp-checkout--payment .snp-payment-actions__back:hover { color: #0f172a; }
.snp-checkout--payment .snp-payment-actions__back:focus-visible {
	outline: 2px solid rgba(37, 99, 235, .35);
	outline-offset: 2px;
	border-radius: 6px;
}
.snp-checkout--payment #snp-submit-payment {
	flex: 1 1 220px;
	min-height: 56px;
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
	color: #fff;
	border: 0;
	border-radius: 12px;
	padding: 12px 24px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .005em;
	cursor: pointer;
	box-shadow: 0 8px 22px -10px rgba(37, 99, 235, .55);
	transition: transform .12s ease, box-shadow .15s ease, background .2s ease;
}
.snp-checkout--payment #snp-submit-payment:hover:not([disabled]) {
	background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
	transform: translateY(-1px);
	box-shadow: 0 12px 28px -12px rgba(37, 99, 235, .65);
}
.snp-checkout--payment #snp-submit-payment[disabled] { cursor: not-allowed; }
.snp-checkout--payment #snp-submit-payment .snp-pay-btn-amount {
	font-size: 17px;
	letter-spacing: -.005em;
}
.snp-checkout--payment #snp-submit-payment .snp-pay-btn-sub {
	font-size: 12px;
	font-weight: 500;
	opacity: .85;
}

/* Secure-payment footer — visually quiet. */
.snp-checkout--payment .snp-checkout__secure {
	margin-top: 14px;
	font-size: 12.5px;
	color: #64748b;
	display: flex;
	align-items: center;
	gap: 6px;
	justify-content: center;
}

/* =============================================================================
 * Phase U.1 — Confirmation sidebar.
 *
 * Lives on the thank-you and my-account surfaces. Inherits the box +
 * timeline + price-row tokens from sidebar.php's stylesheet — these
 * rules add the bits unique to the confirmation view: booking-reference
 * card, status pill, paid-vs-pending progress strip, primary-CTA button.
 * ============================================================================= */

.snp-sidebar--confirmation .snp-sidebar-ref {
	display: flex;
	flex-direction: column;
	gap: 6px;
	background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
	border-color: #bbf7d0;
}

.snp-sidebar-ref__eyebrow {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #166534;
}

.snp-sidebar-ref__code {
	margin: 0;
	font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: .02em;
	color: #0f172a;
	word-break: break-all;
}

.snp-sidebar-ref__status {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .02em;
	padding: 4px 10px;
	border-radius: 999px;
	margin-top: 2px;
}
.snp-sidebar-ref__status--success {
	background: #dcfce7;
	color: #166534;
}
.snp-sidebar-ref__status--info {
	background: #dbeafe;
	color: #1e40af;
}
.snp-sidebar-ref__status--warn {
	background: #fef3c7;
	color: #92400e;
}
.snp-sidebar-ref__status--muted {
	background: #f1f5f9;
	color: #475569;
}

/* Read-only room cards on confirmation surfaces — slightly tighter
 * since there's no × button or edit affordance to reserve space for. */
.snp-sidebar-room--readonly {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 12px 14px;
}
.snp-sidebar-room--readonly + .snp-sidebar-room--readonly {
	margin-top: 10px;
}

/* Payment progress card — paid vs pending in distinct colours so the
 * customer can read their position at a glance. */
.snp-sidebar-progress .snp-progress__paid {
	color: #15803d;
	font-weight: 600;
}
.snp-sidebar-progress .snp-progress__pending {
	color: #b45309;
	font-weight: 600;
}
.snp-sidebar-progress__note {
	margin: 10px 0 0;
	font-size: 12px;
	color: #64748b;
	line-height: 1.5;
}

/* Phase U.4 — sidebar as full payment hub.
 *
 * Each room as a compact line-item row (name + meta + cost on the
 * right). The list reads top-to-bottom like a receipt, with a price
 * column that aligns vertically across all rows for easy scanning. */
.snp-sidebar-rooms__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}
.snp-sidebar-rooms__item {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	padding-bottom: 10px;
	border-bottom: 1px dashed #e2e8f0;
}
.snp-sidebar-rooms__item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}
.snp-sidebar-rooms__lead {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.snp-sidebar-rooms__name {
	font-size: 13.5px;
	font-weight: 600;
	color: #0f172a;
	line-height: 1.3;
	word-break: break-word;
}
.snp-sidebar-rooms__meta {
	font-size: 12px;
	color: #64748b;
	line-height: 1.4;
}
.snp-sidebar-rooms__cost {
	flex: 0 0 auto;
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
	white-space: nowrap;
}

/* Per-section subtotal — small dotted-border row at the bottom of
 * the rooms / extras lists so each section's running total is
 * visible without making the customer mentally add line items. */
.snp-sidebar-section-total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px dashed #cbd5e1;
	font-size: 13px;
}
.snp-sidebar-section-total__label {
	color: #475569;
	font-weight: 500;
}
.snp-sidebar-section-total__value {
	color: #0f172a;
	font-weight: 600;
}

/* Booking total card — emphasized bottom-line treatment that lifts
 * the grand total out of the row list so it never gets buried by
 * tax/fee rows above it. Crewpay share gets a sibling card with a
 * lighter tone underneath so the booker can read both numbers at
 * once without confusion. */
.snp-sidebar-summary .snp-sidebar-grand {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-top: 14px;
	padding: 14px 16px;
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	border-radius: 10px;
	color: #f8fafc;
}
.snp-sidebar-summary .snp-sidebar-grand__label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .02em;
	color: #cbd5e1;
}
.snp-sidebar-summary .snp-sidebar-grand__value {
	font-size: 22px;
	font-weight: 700;
	color: #ffffff;
}
.snp-sidebar-summary .snp-sidebar-grand--share {
	margin-top: 8px;
	background: #f0f9ff;
	border: 1px solid #bae6fd;
}
.snp-sidebar-summary .snp-sidebar-grand--share .snp-sidebar-grand__label {
	color: #0369a1;
}
.snp-sidebar-summary .snp-sidebar-grand--share .snp-sidebar-grand__value {
	color: #0c4a6e;
	font-size: 18px;
}

/* Compact schedule rows — slimmer padding + tighter typography
 * because the sidebar is narrower than the main column. */
.snp-schedule--compact .snp-schedule__row {
	padding: 8px 10px;
	gap: 8px;
}
.snp-schedule--compact .snp-schedule__label strong {
	font-size: 13px;
}
.snp-schedule--compact .snp-schedule__label small {
	font-size: 11.5px;
}
.snp-schedule--compact .snp-schedule__pill {
	font-size: 10.5px;
	padding: 2px 7px;
}
.snp-schedule--compact .snp-schedule__amount {
	font-size: 13.5px;
}

.snp-sidebar-schedule__deadline {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin: 10px 0 0;
	padding: 8px 10px;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 6px;
	font-size: 12px;
	color: #92400e;
	line-height: 1.45;
}
.snp-sidebar-schedule__deadline svg {
	stroke: #b45309;
	flex: 0 0 auto;
	margin-top: 2px;
}

.snp-sidebar-schedule__note {
	margin: 10px 0 0;
	font-size: 12px;
	color: #64748b;
	line-height: 1.5;
}

/* At-a-glance stats grid — quick orientation card on the confirmation
 * sidebar. 2×2 grid of stops / rooms / guests / nights with the value
 * size up and the label muted. */
.snp-sidebar-stats__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 14px;
	margin: 0;
}
.snp-sidebar-stats__item {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
}
.snp-sidebar-stats__item dt {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #64748b;
	margin: 0;
}
.snp-sidebar-stats__item dd {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.2;
}

/* Total amount card — bottom-line confirmation, with a hint pointing
 * the customer at the full breakdown that lives on the main column. */
.snp-sidebar-total {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.snp-sidebar-total__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}
.snp-sidebar-total__row + .snp-sidebar-total__row {
	padding-top: 8px;
	border-top: 1px dashed #e2e8f0;
}
.snp-sidebar-total__label {
	font-size: 13px;
	color: #64748b;
}
.snp-sidebar-total__value {
	font-size: 22px;
	font-weight: 700;
	color: #0f172a;
}
.snp-sidebar-total__row--share .snp-sidebar-total__label {
	font-weight: 600;
	color: #475569;
}
.snp-sidebar-total__value--share {
	font-size: 18px;
	color: #0369a1;
}
.snp-sidebar-total__hint {
	margin: 6px 0 0;
	font-size: 11.5px;
	color: #94a3b8;
	font-style: italic;
}

/* =============================================================
 * V.7.4 — Mobile touch-target safety sweep (May 2026)
 *
 * iOS HIG and WCAG 2.5.5 AA recommend ≥44px tappable area for
 * primary controls on touch devices. The desktop styling above
 * keeps several controls compact (small buttons, stop circles,
 * the toggle slider) for visual density. On phones we relax
 * those constraints so the same elements remain comfortable to
 * tap without redesigning the desktop layout.
 *
 * Scope: only buttons, links, and form controls that exist as
 * real interactive surfaces. Pure-decorative circles (e.g. the
 * stepper's stop indices, which sit inside their own clickable
 * row) are bumped via min-height so the parent row absorbs the
 * change without clipping.
 * ============================================================= */
@media (max-width: 640px) {
	/* Compact button → tappable target */
	.snp-btn-sm {
		min-height: 44px;
		padding: 0 18px;
	}

	/* Toggle switch — keep visual width, expand the hit-box via padding */
	.snp-toggle-switch {
		min-height: 44px;
		min-width: 44px;
		padding: 10px 0;
	}

	/* Step indicator circles — let parent row absorb the bump */
	.snp-checkout__step-num,
	.snp-trip-stop__index {
		min-width: 32px;
		min-height: 32px;
	}

	/* Slider nav buttons — used on package/hotel carousels */
	.snp-s-btn {
		width: 44px;
		height: 44px;
	}

	/* Coupon "apply" button — sits inline with the input */
	.snp-coupon-row .snp-btn,
	.snp-coupon-row button[type="submit"] {
		min-height: 44px;
	}

	/* Lightbox close/nav controls */
	.snp-lightbox__close,
	.snp-lightbox__nav {
		min-width: 44px;
		min-height: 44px;
	}

	/* Quantity stepper buttons (extras page) */
	.snp-qty-stepper button,
	.snp-extra-add-btn,
	.snp-extra-remove-btn {
		min-width: 44px;
		min-height: 44px;
	}

	/* Sticky cart-bar primary CTA */
	.snp-cart-bar .snp-btn,
	.snp-cart-bar button {
		min-height: 44px;
	}
}

/* =============================================================
 * V.7.5 — Account section alert banners
 *
 * Replaces the inline styles previously living on
 * templates/myaccount/single-booking.php (suspended / cancelled
 * states) and the scroll-margin attribute on pay-remaining.php.
 * Lifted to classes so the responsive ladder above can govern
 * them on phones — the old inline rules forced a 240px min-width
 * flex column that caused horizontal overflow on 360px viewports.
 * ============================================================= */

/* Anchor target offset — keeps the "Pay remaining" header below
 * any sticky theme header when the user clicks an in-page anchor. */
.snp-account__section-head--anchor {
	scroll-margin-top: 1rem;
}

/* Base alert banner */
.snp-account__alert {
	margin: 0 0 1rem;
	padding: 1rem 1.125rem;
	border-radius: 10px;
	border: 1px solid transparent;
}

.snp-account__alert--warning {
	background: #fff7ed;
	border-color: #fed7aa;
	color: #9a3412;
}

.snp-account__alert--error {
	background: #fef2f2;
	border-color: #fecaca;
	color: #991b1b;
}

.snp-account__alert-row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	align-items: flex-start;
	flex-wrap: wrap;
}

.snp-account__alert-body {
	flex: 1;
	min-width: 0; /* V.7 — allow shrink on narrow viewports (was 240px hard
	               * floor inline, which forced horizontal scroll on phones) */
}

.snp-account__alert-title {
	display: block;
	font-size: 1.05rem;
}

.snp-account__alert--warning .snp-account__alert-title { color: #7c2d12; }
.snp-account__alert--error   .snp-account__alert-title { color: #7f1d1d; }

.snp-account__alert-text {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.9rem;
	line-height: 1.45;
}

.snp-account__alert-cta {
	flex: 0 0 auto;
	align-self: center;
}

/* On phones, drop the flex-row to a stacked column so the CTA isn't
 * squeezed against the right margin. */
@media (max-width: 480px) {
	.snp-account__alert-row {
		flex-direction: column;
	}
	.snp-account__alert-cta {
		align-self: stretch;
		text-align: center;
	}
}

/* =============================================================
 * V.7.2 — Inline add-to-cart error banner (rooms panel)
 *
 * The .snp-booking__rooms-alert slot lives just below the rooms
 * panel header. It's hidden by default and revealed by
 * snp-rooms-panel.js when snp_add_room_to_cart returns a failure
 * (sold out, capacity exceeded, dates outside availability,
 * nonce expired, network error, etc.) — a contextual replacement
 * for the v1 native alert() dialog.
 *
 * Design notes:
 *  - Soft red palette borrowed from .snp-account__alert--error so
 *    error styling stays consistent across surfaces.
 *  - Three flex children: warning icon + message text + dismiss
 *    button. Icon and dismiss never wrap; text takes the rest.
 *  - Slide-in animation is intentionally short (180ms) so a
 *    customer hitting Select Room repeatedly doesn't feel lag.
 *  - The dismiss × button doubles as a focus target so keyboard
 *    users can clear the message without mouse interaction.
 * ============================================================= */

.snp-booking__rooms-alert {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 16px 12px;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid #fecaca;
	background: #fef2f2;
	color: #991b1b;
	font-size: 14px;
	line-height: 1.45;
	box-shadow: 0 1px 2px rgba(127, 29, 29, .04);
	animation: snpRoomsAlertIn 180ms ease-out;
}

/* The native [hidden] attribute should suppress the layout entirely.
 * Some host themes set `display: block !important` on every element
 * with overly broad rules, which would override [hidden]. Repeating
 * the rule here with the same specificity guards against that. */
.snp-booking__rooms-alert[hidden] {
	display: none;
}

.snp-booking__rooms-alert-icon {
	flex: 0 0 auto;
	margin-top: 1px; /* nudge to optical-align with first line of text */
	color: #dc2626;
}

.snp-booking__rooms-alert-text {
	flex: 1 1 auto;
	min-width: 0; /* allow long messages to wrap inside flex */
	font-weight: 500;
}

.snp-booking__rooms-alert-close {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin: -4px -4px -4px 0; /* tighten visual padding without shrinking hit-box */
	padding: 0;
	border: 0;
	background: transparent;
	color: #991b1b;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 120ms ease, color 120ms ease;
}

.snp-booking__rooms-alert-close:hover,
.snp-booking__rooms-alert-close:focus-visible {
	background: rgba(153, 27, 27, .08);
	color: #7f1d1d;
}

.snp-booking__rooms-alert-close:focus-visible {
	outline: 2px solid #dc2626;
	outline-offset: 1px;
}

@keyframes snpRoomsAlertIn {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Mobile: trim the side gutters so the banner doesn't push past the
 * viewport on narrow screens, and bump the close-button hit-box to
 * the V.7.4 ≥44px floor for touch comfort. */
@media (max-width: 480px) {
	.snp-booking__rooms-alert {
		margin: 0 12px 10px;
		padding: 10px 12px;
		font-size: 13.5px;
	}
	.snp-booking__rooms-alert-close {
		width: 32px;
		height: 32px;
	}
}

/* Respect users who request reduced motion — the slide-in is purely
 * decorative, so we drop it entirely rather than slow it down. */
@media (prefers-reduced-motion: reduce) {
	.snp-booking__rooms-alert {
		animation: none;
	}
}

/* =============================================================
 * V.7.11 — Quantity stepper disabled-state styling
 *
 * The −/+ buttons on the room qty input pick up an .is-disabled
 * class (and the native [disabled] attribute) when they hit a
 * boundary — the + button at max_occupancy, the − at min. Without
 * this rule the button just looked normal and silently ignored
 * clicks; with it the customer gets the standard not-allowed
 * affordance and visually muted opacity that says "this is locked".
 * ============================================================= */
.snp-qty-btn.is-disabled,
.snp-qty-btn[disabled] {
	opacity: 0.4;
	cursor: not-allowed;
	pointer-events: auto; /* keep clicks reachable so the JS guard runs;
	                        the JS just no-ops when is-disabled is set. */
}
