/* Cabin Booking — Serendipity Mount Marsden layouts */

.cabin-booking {
	--cb-bg: #001a18;
	--cb-bg-soft: #0a2420;
	--cb-gold: #ffb662;
	--cb-white: #ffffff;
	--cb-muted: rgba(255, 255, 255, 0.72);
	--cb-line: rgba(255, 255, 255, 0.18);
	--cb-success: #3ddc84;
	--cb-card: #ffffff;
	--cb-ink: #121212;
	--cb-ink-soft: #555;
	--cb-radius: 16px;
	--cb-font: "Rethink Sans", sans-serif;

	font-family: var(--cb-font);
	color: var(--cb-white);
	background: var(--cb-bg);
	box-sizing: border-box;
	width: 100%;
	max-width: 1640px !important;
	margin: 0 auto;
	padding: 48px 24px 80px;
	line-height: 1.55;
}

.cabin-booking *,
.cabin-booking *::before,
.cabin-booking *::after {
	box-sizing: border-box;
	font-family: inherit;
}

.cabin-booking a,
.cabin-booking button,
.cabin-booking input,
.cabin-booking select,
.cabin-booking textarea,
.cabin-booking label,
.cabin-booking h1,
.cabin-booking h2,
.cabin-booking h3,
.cabin-booking h4,
.cabin-booking h5,
.cabin-booking h6,
.cabin-booking p,
.cabin-booking span,
.cabin-booking strong,
.cabin-booking small {
	font-family: var(--cb-font);
}

.cabin-booking img {
	max-width: 100%;
	display: block;
	object-fit: cover;
}

/* ---------- Reservation ---------- */

.cabin-hero-title {
	text-align: center;
	font-family: var(--cb-font);
	font-weight: 500;
	font-size: 72px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 36px;
	color: var(--cb-white);
	line-height: 1.15;
}

.cabin-gallery {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 12px;
	position: relative;
	height: 600px;
	margin-bottom: 56px;
}

.cabin-gallery__main,
.cabin-gallery__wide,
.cabin-gallery__pair img {
	border-radius: 12px;
	overflow: hidden;
	background: #1a2a22;
}

.cabin-gallery__main,
.cabin-gallery__side {
	height: 100%;
	min-height: 0;
}

.cabin-gallery__main img,
.cabin-gallery__wide img,
.cabin-gallery__pair img {
	width: 100%;
	height: 100%;
}

.cabin-gallery__side {
	display: grid;
	grid-template-rows: 1fr 1fr;
	gap: 12px;
}

.cabin-gallery__pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.cabin-gallery__viewall {
	position: absolute;
	right: 16px;
	bottom: 16px;
	appearance: none;
	border: 0;
	background: #ffffff;
	color: #000000;
	font-family: var(--cb-font);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 10px 14px;
	border-radius: 10px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
	transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
	z-index: 2;
}

.cabin-gallery__viewall-icon {
	display: inline-flex;
	line-height: 0;
}

.cabin-gallery__viewall:hover {
	background: #ffb662;
	color: #000000;
	transform: translateY(-1px);
}

.cabin-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: rgba(0, 0, 0, 0.94);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 64px 72px 40px;
}

.cabin-lightbox[hidden] {
	display: none !important;
}

.cabin-lightbox__close,
.cabin-lightbox__nav {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	line-height: 0;
	font-size: 0;
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	cursor: pointer;
	z-index: 3;
}

.cabin-lightbox__close svg,
.cabin-lightbox__nav svg {
	display: block;
	width: 20px;
	height: 20px;
	margin: 0;
	flex: 0 0 auto;
	pointer-events: none;
}

.cabin-lightbox__close {
	position: fixed;
	top: 18px;
	right: 22px;
	width: 44px;
	height: 44px;
}

.cabin-lightbox__close:hover,
.cabin-lightbox__nav:hover {
	background: #ffb662;
	color: #000;
	border-color: #ffb662;
}

.cabin-lightbox__nav {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
}

.cabin-lightbox__nav--prev {
	left: 18px;
}

.cabin-lightbox__nav--next {
	right: 18px;
}

.cabin-lightbox__stage {
	max-width: min(1100px, 92vw);
	max-height: 82vh;
	text-align: center;
}

.cabin-lightbox__stage img {
	max-width: 100%;
	max-height: 76vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 10px;
	margin: 0 auto;
}

.cabin-lightbox__counter {
	margin: 14px 0 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9rem;
}

body.cabin-lightbox-open {
	overflow: hidden;
}

.cabin-main {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.9fr);
	gap: 48px;
	align-items: start;
}

.cabin-main__content {
	text-align: left;
	background: transparent !important;
	background-color: transparent !important;
	color: rgba(255, 255, 255, 0.88);
	max-width: none;
}

.cabin-section-title {
	font-family: var(--cb-font);
	font-weight: 600;
	font-size: clamp(2rem, 4vw, 2.75rem);
	line-height: 1.15;
	margin: 0 0 18px;
	color: var(--cb-white);
}

.cabin-section-title--gold {
	color: var(--cb-white);
}

.cabin-lead {
	color: rgba(255, 255, 255, 0.88);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	margin: 0 0 36px;
	max-width: none;
	text-align: left;
}

.cabin-subsection-title {
	font-family: var(--cb-font);
	color: #ffb662;
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 18px;
}

.cabin-booking h3.cabin-subsection-title,
body.cabin-booking-page .entry-content h3.cabin-subsection-title {
	font-family: var(--cb-font);
	color: #ffb662;
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 18px;
	line-height: 1.4;
}

.cabin-amenities-block {
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	padding: 28px 0 32px;
	margin: 0 0 40px;
}

.cabin-amenities {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 22px;
}

.cabin-amenity {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.cabin-amenity__icon {
	color: var(--cb-gold);
	width: 56px;
	height: 56px;
	min-width: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.cabin-amenity__icon svg {
	width: 43px;
	height: 43px;
}

.cabin-amenity__img {
	width: 43px;
	height: 43px;
	object-fit: contain;
	display: block;
}

.cabin-amenity__body {
	flex: 1;
	min-width: 0;
	padding-top: 4px;
}

.cabin-amenity__title {
	display: block;
	color: var(--cb-white);
	font-size: 16px;
	margin-bottom: 4px;
	font-weight: 400;
}

.cabin-amenity__text {
	margin: 0;
	color: var(--cb-muted);
	font-size: 0.92rem;
	margin-bottom: 0 !important;
}

.cabin-amenity__text p {
	margin: 0 0 0.4em;
	color: inherit;
	font-size: inherit;
}

.cabin-amenity__text p:last-child {
	margin-bottom: 0;
}

.cabin-amenity__text ul,
.cabin-amenity__text ol {
	margin: 0.35em 0 0;
	padding-left: 1.1em;
	color: inherit;
}

.cabin-amenity__text a {
	color: #ffb662;
}

.cabin-booking .entry-content ul,
.cabin-booking .entry-content ol,
body.cabin-booking-page .entry-content ul,
body.cabin-booking-page .entry-content ol {
	padding: revert;
	margin: revert;
	padding-left: 0;
	margin-bottom: 3em;
}

body.cabin-booking-page .entry-content ul.cabin-amenities,
.cabin-booking ul.cabin-amenities {
	padding-left: 0;
	margin: 0;
	list-style: none;
}

.cabin-detail-block {
	margin-bottom: 8px;
}

.cabin-booking .cabin-main__content h4,
.cabin-booking .cabin-detail-block h4,
.cabin-booking .cabin-detail-content h4,
body.cabin-booking-page .entry-content .cabin-main__content h4,
body.cabin-booking-page .entry-content .cabin-detail-content h4 {
	color: #ffb662 !important;
	font-family: var(--cb-font);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
	margin: 36px 0 16px;
	text-align: left;
}

.cabin-booking .cabin-main__content h4:first-child,
.cabin-booking .cabin-detail-content h4:first-child {
	margin-top: 0;
}

.cabin-booking .cabin-main__content p,
.cabin-booking .cabin-detail-content p,
.cabin-booking .cabin-detail-block p,
body.cabin-booking-page .entry-content .cabin-detail-content p {
	color: rgba(255, 255, 255, 0.88) !important;
	font-family: var(--cb-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	margin: 0 0 24px;
	text-align: left;
	max-width: none;
}

.cabin-booking .cabin-main__content ul,
.cabin-booking .cabin-detail-content ul,
body.cabin-booking-page .entry-content .cabin-detail-content ul {
	margin: 0 0 32px !important;
	padding-left: 1.35em !important;
	color: rgba(255, 255, 255, 0.88);
	list-style: disc;
	list-style-position: outside;
}

.cabin-booking .cabin-main__content li,
.cabin-booking .cabin-detail-content li,
body.cabin-booking-page .entry-content .cabin-detail-content li {
	margin: 0 0 14px;
	padding: 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
}

.cabin-booking .cabin-main__content li::marker,
.cabin-booking .cabin-detail-content li::marker {
	color: #ffb662;
}

.cabin-booking .cabin-main__content strong,
.cabin-booking .cabin-detail-content strong {
	color: rgba(255, 255, 255, 0.92);
	font-weight: 700;
}

.cabin-bullets {
	margin: 0;
	padding-left: 1.1em;
	color: var(--cb-muted);
}

.cabin-bullets li {
	margin-bottom: 8px;
}

/* Booking widget — sticky */

.cabin-main__sidebar {
	align-self: start;
	position: sticky;
	top: 24px;
	z-index: 30;
}

.cabin-widget {
	background: #ffffff;
	color: var(--cb-ink);
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
	position: sticky;
	top: 24px;
	z-index: 40;
	overflow: visible;
	font-family: var(--cb-font);
}

.cabin-widget__calendar-host {
	position: absolute;
	top: 74px;
	left: 0;
	z-index: 80;
	width: 320px;
	min-width: 300px;
	max-width: calc(100% - 4px);
	margin: 0;
	padding: 0;
}

.cabin-widget__calendar-host.is-checkout {
	left: auto;
	right: 0;
}

.cabin-widget__calendar-host[hidden] {
	display: none !important;
}

.cabin-widget__calendar-host .flatpickr-calendar {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 10px 10px 12px !important;
	border: 1px solid #1a1a1a !important;
	border-radius: 12px !important;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18) !important;
	background: #fff !important;
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	overflow: visible !important;
}

.cabin-widget__calendar-host .flatpickr-calendar.open {
	display: block !important;
}

.cabin-widget__calendar-host .flatpickr-months {
	padding: 0 0 4px !important;
	margin: 0 !important;
}

.cabin-widget__calendar-host .flatpickr-weekdays {
	margin: 0 !important;
	width: 100% !important;
}

.cabin-widget__calendar-host .flatpickr-weekdayContainer {
	width: 100% !important;
}

.cabin-widget__calendar-host .flatpickr-weekday {
	flex: 1 0 14.2857143% !important;
	max-width: none !important;
}

.cabin-widget__calendar-host .flatpickr-days {
	width: 100% !important;
}

.cabin-widget__calendar-host .flatpickr-days .dayContainer {
	width: 100% !important;
	min-width: 100% !important;
	max-width: none !important;
}

.cabin-widget__calendar-host .flatpickr-day {
	flex: 1 0 14.2857143% !important;
	max-width: none !important;
	width: auto !important;
	height: 36px !important;
	line-height: 36px !important;
	margin: 1px 0 !important;
}

.cabin-widget__price {
	margin: 0 0 22px;
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.cabin-widget__amount {
	display: inline-block;
	font-size: 1.85rem;
	font-weight: 500;
	color: #000;
	line-height: 1;
	border-bottom: 3px solid #000;
	padding-bottom: 2px;
}

.cabin-widget__nights {
	color: #6b6b6b;
	font-size: 1rem;
	font-weight: 400;
}

.cabin-widget__form {
	margin: 0;
}

.cabin-box-stack {
	position: relative;
	margin-bottom: 16px;
}

.cabin-box {
	border: 1px solid #1a1a1a;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	position: relative;
}

.cabin-box__dates-wrap {
	position: relative;
}

.cabin-box__dates {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.cabin-box__cell {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 14px 16px;
	cursor: pointer;
	min-height: 74px;
	background: #fff;
	overflow: hidden;
	box-sizing: border-box;
	border-bottom: 1px solid #1a1a1a;
}

.cabin-box__cell.is-active {
	background: #fafafa;
}

.cabin-box__cell + .cabin-box__cell {
	border-left: 1px solid #1a1a1a;
	border-bottom: 1px solid #1a1a1a;
}

.cabin-box__label {
	display: block;
	position: relative;
	z-index: 1;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #111;
	margin-bottom: 6px;
	pointer-events: none;
	line-height: 1.2;
}

.cabin-box__placeholder {
	display: block;
	position: relative;
	z-index: 1;
	font-size: 0.95rem;
	font-weight: 400;
	color: #8a8a8a;
	pointer-events: none;
	line-height: 1.3;
}

.cabin-box__placeholder.is-filled {
	color: #111;
}

.cabin-box__cell input[type="text"],
.cabin-box__cell input[type="date"] {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	opacity: 0;
	z-index: 1;
	cursor: pointer;
	background: transparent;
	color: transparent;
	font-size: 16px;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
}

.cabin-box__cell input[type="date"]::-webkit-calendar-picker-indicator {
	display: none;
}

.cabin-box__cell:first-child {
	border-top-left-radius: 11px;
}

.cabin-box__cell:last-child {
	border-top-right-radius: 11px;
}

.cabin-box__guest {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	min-height: 74px;
	border: 0;
	border-radius: 0;
	background: #fff !important;
	cursor: pointer;
	text-align: left;
	font: inherit;
	color: #111 !important;
	box-shadow: none !important;
	outline: none !important;
	box-sizing: border-box;
}

.cabin-box__guest:hover,
.cabin-box__guest:focus,
.cabin-box__guest:active,
.cabin-box__guest.is-open {
	background: #fff !important;
	color: #111 !important;
	box-shadow: none !important;
	outline: none !important;
}

.cabin-box__guest-value {
	display: block;
	font-size: 0.95rem;
	font-weight: 400;
	color: #111;
	margin-top: 6px;
	line-height: 1.3;
}

.cabin-box__chevron {
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	color: #111;
	transition: transform 0.2s ease;
}

.cabin-box__guest.is-open .cabin-box__chevron {
	transform: rotate(180deg);
}

.cabin-guest-panel {
	border-top: 1px solid #1a1a1a;
	padding: 14px 16px 12px;
	background: #fff;
	border-radius: 0 0 12px 12px;
}

.cabin-guest-panel[hidden] {
	display: none !important;
}

.cabin-guest-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
}

.cabin-guest-row strong {
	display: block;
	font-size: 0.95rem;
	color: #111;
}

.cabin-guest-row small {
	display: block;
	color: #777;
	font-size: 0.78rem;
	margin-top: 2px;
}

.cabin-counter {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 96px;
	justify-content: flex-end;
}

.cabin-counter span {
	min-width: 18px;
	text-align: center;
	font-weight: 600;
}

.cabin-counter__btn {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid #cfcfcf;
	background: #f3f3f3;
	color: #111;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	display: grid;
	place-items: center;
	padding: 0;
}

.cabin-counter__btn:hover,
.cabin-counter__btn:focus {
	background: #ffb662 !important;
	border-color: #ffb662 !important;
	color: #000 !important;
	box-shadow: none !important;
	outline: none !important;
}

.cabin-counter__btn:disabled,
.cabin-counter__btn:disabled:hover,
.cabin-counter__btn:disabled:focus {
	opacity: 0.4;
	cursor: not-allowed;
	background: #f3f3f3 !important;
	border-color: #cfcfcf !important;
	color: #111 !important;
}

.cabin-guest-note {
	margin: 8px 0 12px;
	font-size: 0.8rem;
	color: #444;
	line-height: 1.4;
}

.cabin-guest-close {
	display: block;
	margin-left: auto;
	border: 0;
	background: none;
	font-weight: 700;
	letter-spacing: 0.06em;
	font-size: 0.78rem;
	cursor: pointer;
	padding: 4px 0;
	color: #111;
}

.cabin-guest-close:hover {
	color: #ffb662;
}

.cabin-widget__error {
	color: #b42318;
	font-size: 0.86rem;
	margin: 0 0 10px;
}

.cabin-widget__note {
	margin: 10px 0 0;
	text-align: center;
	color: #8a8a8a;
	font-size: 0.86rem;
	font-weight: 400;
	margin-bottom: 0.6em !important;
}

.cabin-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 12px;
	font-size: 0.78rem;
	color: var(--cb-ink-soft);
	font-weight: 500;
}

.cabin-widget .cabin-field span,
.cabin-change-panel .cabin-field span {
	color: #666;
}

.cabin-field input,
.cabin-field select {
	width: 100%;
	border: 1px solid #d8d8d8;
	border-radius: 10px;
	padding: 12px 12px;
	font: inherit;
	font-size: 0.92rem;
	color: var(--cb-ink);
	background: #fff;
}

/* Buttons */

.cabin-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--cb-font);
	font-size: 0.86rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 10px;
	padding: 14px 22px;
	cursor: pointer;
	transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cabin-btn:hover {
	transform: translateY(-1px);
}

.cabin-btn--full {
	width: 100%;
}

.cabin-btn--solid {
	background: #111;
	color: #fff;
	border: 1px solid #111;
}

.cabin-btn--solid:hover {
	background: #000;
}

.cabin-btn--reserve {
	background: #000000;
	color: #ffffff;
	border: 1px solid #000000;
	font-weight: 700;
	border-radius: 10px;
	min-height: 52px;
	padding: 15px 22px;
	letter-spacing: 0.08em;
}

.cabin-btn--reserve:hover,
.cabin-btn--reserve:focus {
	background: #ffb662 !important;
	border-color: #ffb662 !important;
	color: #000000 !important;
	box-shadow: none !important;
	outline: none !important;
}

.cabin-btn--reserve:active {
	background: #ffb662;
	border-color: #ffb662;
	color: #000000;
}

.cabin-btn--outline {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.7);
}

.cabin-btn--outline:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.06);
}

.cabin-btn--download {
	min-width: min(100%, 360px);
	margin-top: 28px;
	padding: 16px 28px;
	background: transparent !important;
	color: #ffffff !important;
	border: 1px solid rgba(255, 255, 255, 0.85) !important;
	text-decoration: none !important;
}

.cabin-btn--download:hover,
.cabin-btn--download:focus {
	background: #ffb662 !important;
	border-color: #ffb662 !important;
	color: #000000 !important;
	text-decoration: none !important;
	box-shadow: none !important;
	outline: none !important;
}

.cabin-btn.is-loading {
	opacity: 0.7;
	pointer-events: none;
}

/* ---------- Checkout (Figma matched) ---------- */

.cabin-booking--checkout {
	max-width: 1640px !important;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-top: 24px;
	padding-bottom: 64px;
	padding-left: 24px;
	padding-right: 24px;
}

.cabin-checkout {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.9fr);
	gap: 48px;
	align-items: start;
	margin-top: 48px;
	width: 100%;
}

.cabin-checkout__summary {
	align-self: start;
	position: sticky;
	top: 24px;
}

.cabin-form-heading {
	font-family: var(--cb-font) !important;
	font-size: 1.75rem !important;
	font-weight: 600 !important;
	color: #fff !important;
	margin: 0 0 20px !important;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.22);
	line-height: 1.2 !important;
}

.cabin-wc-checkout .woocommerce {
	color: #fff;
}

.cabin-wc-checkout form.checkout {
	display: block !important;
}

.cabin-wc-checkout .col2-set,
.cabin-wc-checkout .woocommerce-billing-fields,
.cabin-wc-checkout .woocommerce-additional-fields,
.cabin-wc-checkout .woocommerce-shipping-fields {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

.cabin-wc-checkout .woocommerce-billing-fields > h3,
.cabin-wc-checkout .woocommerce-additional-fields > h3,
.cabin-wc-checkout .woocommerce-shipping-fields,
.cabin-wc-checkout .woocommerce-additional-fields,
.cabin-wc-checkout #order_comments_field,
.cabin-wc-checkout .woocommerce-account-fields {
	display: none !important;
}

.cabin-wc-checkout #customer_details {
	width: 100%;
	margin: 0 0 8px;
}

.cabin-wc-checkout .col-1,
.cabin-wc-checkout .col-2 {
	width: 100% !important;
	float: none !important;
	max-width: none !important;
	padding: 0 !important;
}

.cabin-wc-checkout .woocommerce-billing-fields__field-wrapper {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 14px 16px;
}

.cabin-wc-checkout #billing_email_field,
.cabin-wc-checkout .form-row-wide,
.cabin-wc-checkout .cabin-terms-field {
	grid-column: 1 / -1;
}

.cabin-wc-checkout .cabin-field-hidden,
.cabin-wc-checkout .form-row.cabin-field-hidden {
	display: none !important;
}

.cabin-wc-checkout .form-row {
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	width: 100% !important;
}

.cabin-wc-checkout label:not(.woocommerce-form__label-for-checkbox):not(.screen-reader-text) {
	color: rgba(255, 255, 255, 0.65) !important;
	font-size: 0.8rem !important;
	margin-bottom: 6px !important;
}

.cabin-wc-checkout .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
}

.cabin-wc-checkout .required {
	color: #ffb662 !important;
}

.cabin-wc-checkout input.input-text,
.cabin-wc-checkout select,
.cabin-wc-checkout textarea,
.cabin-wc-checkout .select2-selection--single {
	background: rgba(255, 255, 255, 0.03) !important;
	border: 1px solid rgba(255, 255, 255, 0.55) !important;
	border-radius: 10px !important;
	color: #fff !important;
	padding: 14px 16px !important;
	min-height: 52px;
	box-shadow: none !important;
	width: 100% !important;
}

.cabin-wc-checkout input.input-text:focus,
.cabin-wc-checkout select:focus,
.cabin-wc-checkout .select2-container--open .select2-selection--single {
	border-color: #ffb662 !important;
	outline: none !important;
}

.cabin-wc-checkout input.input-text::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

/* Chrome/Safari autofill paints fields white — keep dark theme */
.cabin-wc-checkout input.input-text:-webkit-autofill,
.cabin-wc-checkout input.input-text:-webkit-autofill:hover,
.cabin-wc-checkout input.input-text:-webkit-autofill:focus,
.cabin-wc-checkout input.input-text:-webkit-autofill:active {
	-webkit-text-fill-color: #fff !important;
	caret-color: #fff;
	border-color: rgba(255, 255, 255, 0.55) !important;
	-webkit-box-shadow: 0 0 0 1000px #001a18 inset !important;
	box-shadow: 0 0 0 1000px #001a18 inset !important;
	transition: background-color 99999s ease-in-out 0s;
}

.cabin-wc-checkout .select2-container {
	width: 100% !important;
}

.cabin-wc-checkout .select2-selection__rendered {
	color: #fff !important;
	line-height: 52px !important;
	padding-left: 16px !important;
}

.cabin-wc-checkout .select2-selection__arrow {
	height: 50px !important;
	right: 10px !important;
}

/*
 * Shared dark dropdown menus (country + phone dial)
 */
.cabin-dark-menu {
	position: absolute;
	left: 0;
	top: calc(100% + 6px);
	width: 100%;
	max-height: 280px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
	background: #001a18;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 10px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
	z-index: 50;
}

.cabin-dark-menu--plain {
	display: block;
	overflow-y: auto;
	padding: 6px 0;
	max-height: 260px;
	width: min(280px, 90vw);
}

.cabin-dark-menu[hidden] {
	display: none !important;
}

.cabin-dark-menu__search {
	flex: 0 0 auto;
	width: calc(100% - 16px) !important;
	margin: 8px !important;
	padding: 10px 12px !important;
	min-height: 40px !important;
	border: 1px solid rgba(255, 255, 255, 0.35) !important;
	border-radius: 8px !important;
	background: rgba(255, 255, 255, 0.06) !important;
	color: #fff !important;
	font: inherit;
	font-size: 0.9rem !important;
	box-shadow: none !important;
}

.cabin-dark-menu__search::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

.cabin-dark-menu__search:focus {
	outline: none !important;
	border-color: #ffb662 !important;
}

.cabin-dark-menu__list {
	list-style: none;
	margin: 0;
	padding: 0 0 6px;
	overflow-y: auto;
	max-height: 220px;
}

.cabin-dark-menu__item {
	display: block;
	width: 100%;
	margin: 0;
	padding: 10px 14px;
	border: 0;
	background: transparent;
	color: #ffffff;
	font: inherit;
	font-size: 0.9rem;
	text-align: left;
	cursor: pointer;
}

.cabin-dark-menu__item:hover,
.cabin-dark-menu__item:focus,
.cabin-dark-menu__item.is-active {
	background: #ffb662;
	color: #000;
	outline: none;
}

/* Country field — same visual language as phone dial */
.cabin-country-wrap {
	position: relative;
	width: 100%;
	z-index: 2;
}

.cabin-country-wrap.is-open {
	z-index: 45;
}

.cabin-country-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.03);
	color: #fff;
	font: inherit;
	font-size: 0.95rem;
	text-align: left;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	box-shadow: none;
}

.cabin-country-btn:hover,
.cabin-country-btn:focus {
	background: rgba(255, 255, 255, 0.06) !important;
	color: #fff !important;
	outline: none !important;
	box-shadow: none !important;
}

.cabin-country-wrap.is-open .cabin-country-btn {
	border-color: #ffb662;
}

.cabin-country-btn__label {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cabin-wc-checkout #billing_country.cabin-native-hidden,
.cabin-wc-checkout #billing_country_field .select2-container {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.cabin-wc-checkout #billing_country_field {
	position: relative;
}

/* Phone + dial code */
.cabin-phone-wrap {
	display: flex;
	align-items: stretch;
	position: relative;
	width: 100%;
	min-height: 52px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.03);
	z-index: 2;
}

.cabin-phone-wrap:focus-within,
.cabin-phone-wrap.is-open {
	border-color: #ffb662;
	z-index: 40;
}

.cabin-phone-wrap .cabin-phone-dial-btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-width: 104px;
	margin: 0;
	padding: 12px 12px 12px 14px;
	border: 0;
	border-right: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 0;
	background: rgba(255, 255, 255, 0.04);
	color: #fff;
	font: inherit;
	font-size: 0.92rem;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	box-shadow: none;
	line-height: 1.2;
}

.cabin-phone-wrap .cabin-phone-dial-btn:hover,
.cabin-phone-wrap .cabin-phone-dial-btn:focus {
	background: rgba(255, 255, 255, 0.08) !important;
	color: #fff !important;
	outline: none !important;
	box-shadow: none !important;
}

.cabin-phone-dial-chevron {
	width: 10px;
	height: 7px;
	flex-shrink: 0;
	opacity: 0.9;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cabin-country-wrap.is-open .cabin-phone-dial-chevron,
.cabin-phone-wrap.is-open .cabin-phone-dial-chevron {
	transform: rotate(180deg);
}

.cabin-phone-wrap #billing_phone {
	flex: 1 1 auto;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	min-height: 50px !important;
}

.cabin-phone-wrap #billing_phone:-webkit-autofill,
.cabin-phone-wrap #billing_phone:-webkit-autofill:hover,
.cabin-phone-wrap #billing_phone:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0 1000px #001a18 inset !important;
	box-shadow: 0 0 0 1000px #001a18 inset !important;
	-webkit-text-fill-color: #fff !important;
}

.cabin-phone-wrap .cabin-phone-dial {
	display: none !important;
}

.cabin-terms-field {
	grid-column: 1 / -1;
	margin-top: 6px !important;
}

.cabin-terms-field label {
	display: flex !important;
	align-items: center;
	gap: 10px;
	color: rgba(255, 255, 255, 0.9) !important;
	font-size: 0.92rem !important;
	cursor: pointer;
	line-height: 1.45;
	margin-top: 20px;
}

.cabin-terms-field a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cabin-terms-field input[type="checkbox"] {
	margin-top: 3px;
	accent-color: #ffb662;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.cabin-wc-checkout #order_review {
	width: 100% !important;
	float: none !important;
}

.cabin-wc-checkout .woocommerce-checkout-review-order-table,
.cabin-wc-checkout .woocommerce-checkout-review-order > h3,
.cabin-wc-checkout #order_review_heading {
	display: none !important;
}

.cabin-wc-checkout #payment {
	background: transparent !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin-top: 36px;
	border: 0 !important;
}

.cabin-wc-checkout form #order_review:not(.elementor-widget-woocommerce-checkout-page #order_review) {
	padding: 0;
	border-width: 1px;
	border-style: solid;
	border-color: var(--ast-border-color, rgba(255, 255, 255, 0.22));
	margin-top: 100px;
	border: none;
	border-radius: 0;
}

.cabin-wc-checkout .wc_payment_methods {
	border: 0 !important;
	padding: 0 !important;
	margin: 0 0 18px !important;
	list-style: none !important;
}

.cabin-wc-checkout .wc_payment_method {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 12px;
	margin-bottom: 12px;
	padding: 16px 18px;
	list-style: none !important;
}

.cabin-wc-checkout .wc_payment_method > label {
	color: #fff !important;
	font-size: 1rem !important;
	font-weight: 500 !important;
	display: flex !important;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 10px;
	cursor: pointer;
	margin: 0 !important;
}

.cabin-wc-checkout .wc_payment_method > label img {
	margin-left: auto;
	max-height: 24px;
	width: auto;
}

.cabin-wc-checkout .wc_payment_method input[type="radio"] {
	accent-color: #ffb662;
	margin-right: 4px;
}

.cabin-wc-checkout .payment_box {
	background: transparent !important;
	color: rgba(255, 255, 255, 0.75) !important;
	margin: 14px 0 0 !important;
	padding: 14px 0 0 !important;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.cabin-wc-checkout .payment_box::before {
	display: none !important;
}

.cabin-wc-checkout .payment_box p {
	color: rgba(255, 255, 255, 0.7);
	margin: 0 0 10px;
}

.cabin-wc-checkout .payment_box input.input-text,
.cabin-wc-checkout .payment_box select {
	margin-bottom: 10px;
}

/* WooCommerce paints grey rules under payment rows — hide them on dark checkout */
.cabin-wc-checkout #payment ul.payment_methods,
.cabin-wc-checkout #payment .wc_payment_methods,
.cabin-wc-checkout #payment .payment_box,
.cabin-wc-checkout #payment .payment_box fieldset,
.cabin-wc-checkout #payment .payment_box .form-row,
.cabin-wc-checkout #payment .payment_box .form-row::before,
.cabin-wc-checkout #payment .payment_box .form-row::after,
.cabin-wc-checkout #wc-eway-credit-card-fields .form-row,
.cabin-wc-checkout .wc-eway-credit-card-fields .form-row {
	border: 0 !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	background-image: none !important;
}

.cabin-wc-checkout #payment .payment_box .form-row::before,
.cabin-wc-checkout #payment .payment_box .form-row::after {
	display: none !important;
	content: none !important;
}

/* Eway Secure Fields — keep card iframes readable on dark checkout */
.cabin-wc-checkout #wc-eway-credit-card-fields,
.cabin-wc-checkout .wc-eway-credit-card-fields {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 8px;
	width: 100%;
	border: 0 !important;
}

.cabin-wc-checkout #wc-eway-credit-card-fields label,
.cabin-wc-checkout .wc-eway-credit-card-fields label {
	color: rgba(255, 255, 255, 0.85) !important;
	font-size: 0.85rem;
	margin-bottom: 6px;
	display: block;
}

.cabin-wc-checkout [id^="eway-secure-field-"],
.cabin-wc-checkout .eway-secure-field,
.cabin-wc-checkout .eway-secure-field-wrapper,
.cabin-wc-checkout .payment_box .form-row .woocommerce-input-wrapper,
.cabin-wc-checkout .payment_box input.input-text {
	background: #fff !important;
	border: 0 !important;
	border-top: 0 !important;
	border-right: 0 !important;
	border-bottom: 0 !important;
	border-left: 0 !important;
	border-radius: 8px !important;
	min-height: 50px;
	overflow: hidden !important;
	width: 100%;
	box-shadow: none !important;
	outline: none !important;
	position: relative;
}

/* Cover Eway iframe underline (hosted field CSS cannot be overridden) */
.cabin-wc-checkout [id^="eway-secure-field-"]::after,
.cabin-wc-checkout .eway-secure-field::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: #fff;
	pointer-events: none;
	z-index: 3;
	border-radius: 0 0 8px 8px;
}

.cabin-wc-checkout [id^="eway-secure-field-"] iframe,
.cabin-wc-checkout .eway-secure-field iframe,
.cabin-wc-checkout .payment_box iframe {
	border: 0 !important;
	outline: none !important;
	box-shadow: none !important;
	background: #fff !important;
	width: 100% !important;
	height: 54px !important;
	margin: 0 0 -4px !important;
	padding: 0 !important;
	display: block;
	clip-path: inset(0 0 3px 0);
}

/* Kill Bootstrap/theme .form-control borders + focus glow on checkout */
body.cabin-booking-page .form-control,
.cabin-wc-checkout .form-control,
.cabin-booking .form-control {
	border: none !important;
	box-shadow: none !important;
	-webkit-box-shadow: none !important;
	outline: 0 !important;
}

body.cabin-booking-page .form-control:focus,
body.cabin-booking-page .form-control:focus-visible,
body.cabin-booking-page .form-control:active,
.cabin-wc-checkout .form-control:focus,
.cabin-wc-checkout .form-control:focus-visible,
.cabin-wc-checkout .form-control:active,
.cabin-booking .form-control:focus,
.cabin-booking .form-control:focus-visible,
.cabin-booking .form-control:active {
	border: none !important;
	border-color: transparent !important;
	outline: 0 !important;
	box-shadow: none !important;
	-webkit-box-shadow: none !important;
}

.cabin-wc-checkout .eway-error,
.cabin-wc-checkout .woocommerce-error.eway-error {
	color: #ffb4b4 !important;
	background: rgba(180, 40, 40, 0.25) !important;
	border: 1px solid rgba(255, 120, 120, 0.4);
	border-radius: 8px;
	padding: 10px 12px;
	margin: 8px 0;
}

.cabin-wc-checkout #place_order {
	width: 100%;
	background: transparent !important;
	border: 1px solid rgba(255, 255, 255, 0.85) !important;
	color: #fff !important;
	border-radius: 10px !important;
	padding: 16px 20px !important;
	font-size: 0.88rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-top: 10px;
	min-height: 54px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cabin-wc-checkout #place_order:hover,
.cabin-wc-checkout #place_order:focus {
	background: #ffb662 !important;
	border-color: #ffb662 !important;
	color: #000 !important;
}

.cabin-wc-checkout .woocommerce-privacy-policy-text,
.cabin-wc-checkout .woocommerce-terms-and-conditions-wrapper {
	display: none !important;
}

.cabin-wc-checkout .woocommerce-NoticeGroup,
.cabin-wc-checkout .woocommerce-error,
.cabin-wc-checkout .woocommerce-message,
.cabin-wc-checkout .woocommerce-info {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff;
	border-radius: 10px;
	padding: 12px 14px;
}

/* Summary card */

.cabin-summary {
	background: #fff;
	color: #121212;
	border-radius: 16px;
	padding: 18px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.cabin-summary__top {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 12px;
	border: none;
	align-items: center;
	margin-bottom: 0;
	padding-bottom: 0;
}

.cabin-summary__img {
	width: 200px;
	height: 72px;
	border-radius: 8px;
	object-fit: cover;
}

.cabin-summary__title {
	margin: 0;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.35;
	color: #111;
}

.cabin-summary__note {
	margin: 0;
	padding: 12px 0 14px;
	font-size: 0.75rem;
	color: #777;
	line-height: 1.4;
	border-bottom: 1px solid #ececec;
}

.cabin-summary__note a {
	color: #555;
	text-decoration: underline;
}

.cabin-summary__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid #ececec;
}

.cabin-summary__label {
	display: block;
	font-size: 16px;
	color: #000;
	margin-bottom: 4px;
	font-weight: 600;
}

.cabin-summary__row strong {
	display: block;
	font-size: 12px;
	color: #111;
	font-weight: 400;
}

.cabin-summary__row small {
	display: block;
	color: #888;
	font-size: 0.75rem;
	margin-top: 2px;
}

.cabin-summary__change {
	appearance: none;
	border: 0;
	background: none;
	color: #000;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	cursor: pointer;
	text-decoration: none;
	padding: 0.7em 1em;
	flex-shrink: 0;
	background-color: #D9D9D9;
}

.cabin-summary__change:hover {
	color: #000;
	text-decoration: none;
	background-color: #cfcfcf;
}

.cabin-summary__row--price {
	padding-top: 14px;
	padding-bottom: 14px;
}

.cabin-summary__row--price > div {
	width: 100%;
}

.cabin-summary__price-line {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	width: 100%;
	font-size: 0.92rem;
	color: #333;
}

.cabin-summary__price-line strong {
	font-weight: 600;
	color: #111;
}

.cabin-summary__total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 16px;
	font-size: 1.05rem;
	font-weight: 700;
	color: #111;
}

.cabin-change-panel {
	margin-top: 14px;
	background: #fff;
	border-radius: 16px;
	padding: 16px;
	position: relative;
	overflow: visible;
}

.cabin-empty {
	text-align: center;
	padding: 60px 20px;
	color: var(--cb-muted);
}

.cabin-empty__hint {
	font-size: 0.9rem;
	opacity: 0.85;
	max-width: 520px;
	margin: 12px auto 0;
}

.cabin-empty .cabin-btn {
	margin-top: 18px;
}

/* Visible empty state even if theme background is white (no body.cabin-booking-page) */
body:not(.cabin-booking-page) .cabin-booking.cabin-booking--checkout {
	background: #001a18;
	min-height: 50vh;
	border-radius: 0;
}

/* ---------- Confirmation ---------- */

.cabin-booking--confirm {
	max-width: 720px;
	padding-top: 64px;
	padding-bottom: 96px;
}

.cabin-confirm {
	text-align: center;
	margin-top: 50px;
}

.cabin-confirm__icon {
	width: 84px;
	height: 84px;
	margin: 0 auto 22px;
}

.cabin-confirm__icon svg {
	width: 100%;
	height: 100%;
}

.cabin-confirm__title {
	font-family: var(--cb-font);
	font-size: clamp(1.8rem, 4vw, 2.4rem);
	font-weight: 600;
	margin: 0 0 16px;
	color: #fff;
}

.cabin-confirm__lead {
	color: var(--cb-muted);
	font-size: 0.98rem;
	max-width: 54ch;
	margin: 0 auto 36px;
	line-height: 1.65;
}

.cabin-confirm__card {
	background: #fff;
	color: var(--cb-ink);
	border-radius: 16px;
	text-align: left;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.cabin-confirm__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 18px 22px;
	border-bottom: 1px solid #ececec;
	font-size: 0.95rem;
}

.cabin-confirm__row:last-child {
	border-bottom: 0;
}

.cabin-confirm__row span:first-child {
	color: #666;
}

.cabin-confirm__row strong {
	font-weight: 700;
	color: #111;
}

/* ---------- Responsive ---------- */

@media (max-width: 1400px) {
	.cabin-hero-title {
		font-size: 56px;
	}

	.cabin-gallery {
		height: 480px;
	}
}

@media (max-width: 1024px) {
	.cabin-main,
	.cabin-checkout {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.cabin-main__sidebar {
		order: -1;
		position: static;
	}

	.cabin-checkout__summary {
		order: -1;
		position: static;
	}

	.cabin-checkout {
		margin-top: 60px;
	}

	.cabin-wc-checkout form #order_review:not(.elementor-widget-woocommerce-checkout-page #order_review) {
		margin-top: 40px;
		padding: 0;
		border: none;
	}

	.cabin-widget,
	.cabin-summary {
		position: static;
	}

	.cabin-booking--checkout {
		padding-left: 0;
		padding-right: 0;
	}

	.cabin-gallery {
		grid-template-columns: 1fr;
		height: auto;
	}

	.cabin-gallery__main {
		height: 380px;
	}

	.cabin-gallery__side {
		height: 380px;
	}

	.cabin-hero-title {
		font-size: 48px;
		letter-spacing: 0.06em;
	}
}

@media (max-width: 720px) {
	.cabin-booking {
		padding: 0;
	}

	.cabin-hero-title {
		font-size: 32px;
		letter-spacing: 0.06em;
		margin-bottom: 22px;
	}

	.cabin-gallery__side {
		grid-template-rows: 180px 140px;
		height: auto;
	}

	.cabin-gallery__main {
		height: 240px;
	}

	.cabin-box__dates,
	.cabin-wc-checkout .woocommerce-billing-fields__field-wrapper {
		grid-template-columns: 1fr;
	}

	.cabin-widget__calendar-host,
	.cabin-widget__calendar-host.is-checkout {
		left: 0;
		right: 0;
		width: 100%;
		min-width: 0;
		max-width: none;
	}

	.cabin-booking--checkout {
		padding: 12px 0 48px;
	}

	.cabin-form-heading {
		font-size: 1.4rem !important;
	}

	.cabin-checkout {
		gap: 22px;
		margin-top: 40px;
	}

	.cabin-summary__top {
		grid-template-columns: 200px 1fr;
	}

	.cabin-summary__img {
		width: 200px;
		height: 72px;
	}

	.cabin-wc-checkout #place_order {
		position: sticky;
		bottom: 12px;
		z-index: 5;
	}

	.cabin-box__cell + .cabin-box__cell {
		border-left: 0;
		border-top: 1px solid #1a1a1a;
		border-bottom: 1px solid #1a1a1a;
	}

	.cabin-confirm__row {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		padding: 16px 18px;
	}

	.cabin-summary__top {
		grid-template-columns: 1fr;
	}

	.cabin-summary__img {
		width: 100%;
		height: 140px;
	}

	.cabin-btn--download {
		width: 100%;
	}
}

@media (max-width: 420px) {
	.cabin-gallery__pair {
		grid-template-columns: 1fr;
	}

	.cabin-amenity {
		gap: 12px;
	}

	.cabin-amenity__icon {
		width: 44px;
		min-width: 36px;
		height: 44px;
	}

	.cabin-amenity__icon svg,
	.cabin-amenity__img {
		width: 34px;
		height: 34px;
	}

	.cabin-section-title {
		font-size: 1.75rem;
	}

	.cabin-hero-title {
		font-size: 22px;
		letter-spacing: 0.04em;
		line-height: 1.2;
	}

	.cabin-gallery__main {
		height: 200px;
	}
}

/* Soften Astra/Elementor conflicts inside shortcode root */
.cabin-booking h1,
.cabin-booking h2,
.cabin-booking h3,
.cabin-booking p,
.cabin-booking a {
	font-family: inherit;
}

.elementor-widget-shortcode .cabin-booking,
.is-layout-constrained > .cabin-booking,
.entry-content .cabin-booking,
.wp-block-post-content .cabin-booking,
.cabin-booking.alignfull {
	max-width: 1640px !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Twenty Twenty-Five / block themes cap content at ~645px. Widen cabin pages. */
body.cabin-booking-page {
	--wp--style--global--content-size: 1640px;
	--wp--style--global--wide-size: 1640px;
}

body.cabin-booking-page .wp-block-post-title {
	display: none !important;
}

body.cabin-booking-page main.wp-block-group,
body.cabin-booking-page main.wp-block-group > .wp-block-group,
body.cabin-booking-page .entry-content,
body.cabin-booking-page .wp-block-post-content,
body.cabin-booking-page .ast-container,
body.cabin-booking-page .elementor-section.elementor-section-boxed > .elementor-container,
body.cabin-booking-page .elementor-widget-shortcode,
body.cabin-booking-page .wp-block-shortcode {
	max-width: 1640px !important;
	width: min(100%, 1640px) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body.cabin-booking-page .is-layout-constrained > .cabin-booking.alignfull,
body.cabin-booking-page .has-global-padding > .cabin-booking.alignfull,
body.cabin-booking-page .entry-content > .cabin-booking.alignfull,
body.cabin-booking-page .wp-block-post-content > .cabin-booking.alignfull {
	max-width: 1640px !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	left: auto !important;
	right: auto !important;
}

/* Full-bleed dark page when shortcode is used */
body.cabin-booking-page,
body.cabin-booking-page .site,
body.cabin-booking-page .site-content,
body.cabin-booking-page #content,
body.cabin-booking-page .ast-container,
body.cabin-booking-page .entry-content,
body.cabin-booking-page .elementor-section.elementor-section-boxed > .elementor-container {
	background-color: #001a18 !important;
}

body.cabin-booking-page .entry-header,
body.cabin-booking-page .page-header,
body.cabin-booking-page .ast-breadcrumbs-wrapper {
	display: none !important;
}

body.cabin-booking-page .elementor-widget-shortcode {
	width: 100%;
}

/* Keep sticky booking box working inside Elementor/Astra wrappers */
body.cabin-booking-page .elementor-section,
body.cabin-booking-page .elementor-container,
body.cabin-booking-page .elementor-widget-wrap,
body.cabin-booking-page .elementor-element,
body.cabin-booking-page .ast-container,
body.cabin-booking-page .entry-content,
body.cabin-booking-page .site-content {
	overflow: visible !important;
}

/* Stylish Flatpickr calendar */
.cabin-booking .flatpickr-calendar,
.cabin-booking .flatpickr-calendar * {
	font-family: var(--cb-font) !important;
}

.flatpickr-calendar {
	border-radius: 14px !important;
	border: 0 !important;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28) !important;
	font-family: var(--cb-font) !important;
	padding: 8px !important;
	overflow: hidden;
}

.cabin-change-panel .flatpickr-calendar {
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	max-width: none !important;
	z-index: 60;
}

.flatpickr-months {
	padding: 6px 4px 2px !important;
}

.flatpickr-current-month {
	font-size: 1rem !important;
	font-weight: 600 !important;
}

.flatpickr-weekdays {
	margin-top: 4px;
}

.flatpickr-weekday {
	color: #888 !important;
	font-weight: 600 !important;
}

.flatpickr-day {
	border-radius: 10px !important;
	max-width: 40px;
	height: 40px;
	line-height: 40px;
	margin: 1px auto;
}

.flatpickr-day:hover {
	background: #fff3e0 !important;
	border-color: #fff3e0 !important;
	color: #000 !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover {
	background: #ffb662 !important;
	border-color: #ffb662 !important;
	color: #000 !important;
	font-weight: 700;
}

.flatpickr-day.today {
	border-color: #001a18 !important;
}

.flatpickr-day.today:hover {
	border-color: #ffb662 !important;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
	fill: #ffb662 !important;
}

.numInputWrapper span {
	border: 0 !important;
}

/* Flatpickr: booked / disabled nights */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
	background: #f1f1f1 !important;
	border-color: transparent !important;
	color: #b0b0b0 !important;
	text-decoration: line-through;
	cursor: not-allowed;
}

/* Change panel fields */
.cabin-change-panel .cabin-field__input,
.cabin-field .cabin-field__input {
	width: 100%;
	border: 1px solid #ddd;
	border-radius: 10px;
	padding: 10px 12px;
	font: inherit;
	background: #fff;
	color: #111;
}

@media (max-width: 720px) {
	.cabin-guest-panel {
		left: 0;
		right: 0;
		width: 100%;
		max-width: none;
	}

	.cabin-change-panel {
		padding: 16px;
	}

	.cabin-lightbox__close {
		top: 12px;
		right: 12px;
	}

	.cabin-lightbox__nav {
		width: 40px;
		height: 40px;
	}

	.cabin-lightbox__nav--prev {
		left: 8px;
	}

	.cabin-lightbox__nav--next {
		right: 8px;
	}

	.cabin-lightbox__stage img {
		max-height: 70vh;
	}

	.flatpickr-calendar {
		max-width: calc(100vw - 24px) !important;
	}

	.cabin-wc-checkout .woocommerce-error,
	.cabin-wc-checkout .woocommerce-NoticeGroup {
		margin-bottom: 70px;
	}

	.cabin-wc-checkout #place_order {
		bottom: max(12px, env(safe-area-inset-bottom, 12px));
	}
}

@media (max-width: 420px) {
	.cabin-lightbox__counter {
		font-size: 12px;
	}

	.cabin-widget__price {
		flex-wrap: wrap;
		gap: 4px;
	}
}
