/* Go Raglan Bookings – front-end styles (host section and calendar). Kept minimal so theme/Elementor styles show through. */

.grb-host .grb-listing {
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 1rem 1.25rem;
	margin: 0 0 1.25rem;
	background: #fff;
}

.grb-host .grb-listing h3 {
	margin: 0 0 0.75rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.grb-host .grb-badge {
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	background: #eee;
	color: #444;
}

.grb-host .grb-badge--on {
	background: #dff3e4;
	color: #1d6b34;
}

.grb-host .grb-field {
	margin: 0 0 0.75rem;
}

.grb-host .grb-notice {
	padding: 0.5rem 0.75rem;
	border-left: 4px solid;
	margin: 0 0 0.75rem;
}

.grb-host .grb-notice p {
	margin: 0.25rem 0;
}

.grb-host .grb-notice--success {
	border-color: #2e8540;
	background: #f0f8f2;
}

.grb-host .grb-notice--error {
	border-color: #c0392b;
	background: #fcf0ef;
}

.grb-host .grb-button {
	cursor: pointer;
}

.grb-host .grb-help {
	font-size: 0.85em;
	opacity: 0.75;
}

.grb-host .grb-fields input:invalid {
	border-color: #c0392b;
	box-shadow: 0 0 0 1px #c0392b;
}

/* ---------- Availability calendar ---------- */

.grb-calendar {
	--grb-accent: #0b6e78;
	--grb-accent-soft: #d8eef0;
	--grb-taken: #e6e6e6;
	--grb-blocked: #f3d9c9;
	--grb-imported: #dcd6f0;
	position: relative;
	max-width: 44rem;
	font-size: 0.95rem;
}

.grb-calendar.is-busy {
	opacity: 0.6;
}

.grb-cal-nav {
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.25rem;
}

.grb-cal-navbtn {
	font-size: 1.4rem;
	line-height: 1;
	padding: 0.2rem 0.7rem;
	background: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	cursor: pointer;
}

.grb-cal-navbtn:disabled {
	opacity: 0.3;
	cursor: default;
}

.grb-cal-months {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
	gap: 1.5rem;
}

.grb-cal-title {
	font-weight: 600;
	text-align: center;
	margin-bottom: 0.5rem;
}

.grb-cal-grid {
	display: grid;
	/* minmax(0, …) lets the days shrink in narrow theme columns instead of overflowing into the next month. */
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 2px;
}

.grb-cal-wd {
	text-align: center;
	font-size: 0.75rem;
	opacity: 0.7;
	padding-bottom: 0.25rem;
}

/*
 * Day buttons. Scoped under .grb-calendar so they beat themes' generic button styles
 * (goraglan.com's theme gives every button padding, a border, width: auto and a pink
 * hover/focus background, which made the days too wide and the two months overlap).
 */
.grb-calendar .grb-cal-day {
	display: block;
	aspect-ratio: 1;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: transparent;
	box-shadow: none;
	color: inherit;
	font: inherit;
	line-height: 1;
	letter-spacing: normal;
	text-align: center;
	text-transform: none;
	white-space: normal;
	transition: none;
	cursor: pointer;
}

.grb-calendar .grb-cal-day:hover,
.grb-calendar .grb-cal-day:focus {
	background: transparent;
	color: inherit;
}

.grb-calendar .grb-cal-day:hover:not(:disabled) {
	outline: 2px solid var(--grb-accent);
}

.grb-calendar .grb-cal-day:focus-visible {
	outline: 3px solid var(--grb-accent);
	outline-offset: 1px;
}

.grb-calendar .grb-cal-day:disabled {
	cursor: default;
}

.grb-calendar .grb-cal-day.is-past {
	opacity: 0.3;
}

.grb-calendar .grb-cal-day.is-today {
	font-weight: 700;
	text-decoration: underline;
}

/* Guest view */
.grb-calendar .grb-cal-day.is-unavailable,
.grb-cal-swatch.is-unavailable {
	background: var(--grb-taken);
	color: #888;
	text-decoration: line-through;
}

.grb-calendar .grb-cal-day.is-checkout-only {
	background: linear-gradient(135deg, var(--grb-accent-soft) 50%, var(--grb-taken) 50%);
	color: inherit;
	text-decoration: none;
}

.grb-calendar .grb-cal-day.is-in-range {
	background: var(--grb-accent-soft);
}

.grb-calendar .grb-cal-day.is-checkin,
.grb-calendar .grb-cal-day.is-checkout,
.grb-calendar .grb-cal-day.is-selected {
	background: var(--grb-accent);
	color: #fff;
	text-decoration: none;
}

/* Host view */
.grb-calendar .grb-cal-day.is-blocked,
.grb-cal-swatch.is-blocked {
	background: var(--grb-blocked);
}

.grb-calendar .grb-cal-day.is-booked,
.grb-cal-swatch.is-booked {
	background: var(--grb-taken);
}

.grb-calendar .grb-cal-day.is-imported,
.grb-cal-swatch.is-imported {
	background: var(--grb-imported);
}

.grb-calendar .grb-cal-day.is-selected.is-blocked,
.grb-calendar .grb-cal-day.is-selected.is-booked,
.grb-calendar .grb-cal-day.is-selected.is-imported {
	box-shadow: inset 0 0 0 3px #fff;
}

.grb-cal-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 0.75rem 0 0.25rem;
	font-size: 0.8rem;
}

.grb-cal-key {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.grb-cal-swatch {
	display: inline-block;
	width: 0.9rem;
	height: 0.9rem;
	border-radius: 2px;
}

.grb-cal-summary p {
	margin: 0.5rem 0;
}

.grb-cal-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.grb-cal-btn {
	cursor: pointer;
	padding: 0.4rem 0.9rem;
	border: 1px solid var(--grb-accent);
	border-radius: 4px;
	background: #fff;
	color: var(--grb-accent);
	font: inherit;
}

.grb-cal-btn--primary {
	background: var(--grb-accent);
	color: #fff;
}

.grb-cal-btn--link {
	border-color: transparent;
	background: none;
	text-decoration: underline;
	padding-left: 0;
	padding-right: 0;
}

.grb-cal-btn:disabled {
	opacity: 0.5;
	cursor: default;
}

.grb-cal-message {
	padding: 0.4rem 0.6rem;
	border-left: 4px solid #999;
}

.grb-cal-message--success {
	border-color: #2e8540;
	background: #f0f8f2;
}

.grb-cal-message--error {
	border-color: #c0392b;
	background: #fcf0ef;
}

.grb-booking-widget h2,
.grb-listing h4 {
	margin: 1rem 0 0.5rem;
}

/* ---------- Booking request form ---------- */

.grb-request-form {
	margin-top: 1.5rem;
	max-width: 30rem;
}

.grb-request-form input[type="text"],
.grb-request-form input[type="email"],
.grb-request-form input[type="tel"],
.grb-request-form textarea {
	width: 100%;
	box-sizing: border-box;
}

.grb-request-form [aria-invalid="true"] {
	border-color: #c0392b;
	box-shadow: 0 0 0 1px #c0392b;
}

.grb-field-error {
	display: block;
	color: #c0392b;
	font-size: 0.85em;
}

.grb-field-error:empty {
	display: none;
}

.grb-total {
	padding: 0.6rem 0.8rem;
	background: #f6f6f6;
	border-radius: 4px;
}

.grb-total.has-total {
	background: var(--grb-accent-soft, #d8eef0);
}

.grb-total-dates {
	display: block;
	font-size: 0.9em;
}

.grb-request-message:empty {
	display: none;
}

/* Honeypot: hidden from people, visible to naive bots. */
.grb-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.grb-request-success {
	margin-top: 1.5rem;
}

.grb-request-success p {
	margin: 0.4rem 0;
}

.grb-requests {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.grb-requests th,
.grb-requests td {
	text-align: left;
	padding: 0.4rem 0.5rem;
	border-bottom: 1px solid #eee;
	vertical-align: top;
}

/* Buttons: stronger selectors so theme/Elementor button styles cannot hide them
   (the theme made disabled buttons white-on-transparent, i.e. invisible). */
.grb-booking-widget .grb-cal-btn,
.grb-host .grb-cal-btn {
	opacity: 1;
	background: #fff;
	color: var(--grb-accent, #0b6e78);
	border: 1px solid var(--grb-accent, #0b6e78);
}

.grb-booking-widget .grb-cal-btn--primary,
.grb-host .grb-cal-btn--primary {
	background: var(--grb-accent, #0b6e78);
	color: #fff;
}

.grb-booking-widget .grb-cal-btn--link,
.grb-host .grb-cal-btn--link {
	background: none;
	border-color: transparent;
	color: inherit;
}

.grb-booking-widget .grb-cal-btn:disabled,
.grb-host .grb-cal-btn:disabled {
	opacity: 1;
	background: #e9e9e9;
	color: #6b6b6b;
	border-color: #cfcfcf;
	cursor: not-allowed;
}

.grb-booking-widget .grb-cal-btn--link:disabled,
.grb-host .grb-cal-btn--link:disabled {
	background: none;
	border-color: transparent;
}

/* ---------- Host accept / decline ---------- */

.grb-booking-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: flex-start;
	margin-top: 0.5rem;
}

.grb-decline > summary {
	list-style: none;
	display: inline-block;
}

.grb-decline > summary::-webkit-details-marker {
	display: none;
}

.grb-decline[open] {
	flex-basis: 100%;
}

.grb-decline label {
	display: block;
	margin-top: 0.5rem;
	font-size: 0.85em;
}

.grb-decline textarea {
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 0.4rem;
}

/* ---------- Calendar sync ---------- */

.grb-ical-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.grb-ical-url {
	flex: 1 1 18rem;
	min-width: 0;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.8rem;
}

.grb-ical-row a.grb-cal-btn {
	text-decoration: none;
}

.grb-ical-help {
	margin: 0.5rem 0;
	font-size: 0.9em;
}

.grb-ical-reset {
	margin: 0.25rem 0 0;
	font-size: 0.85em;
}

/* ---------- Imported calendars ---------- */

.grb-host h5 {
	margin: 1.25rem 0 0.25rem;
	font-size: 1rem;
}

.grb-feed-actions form {
	display: inline-block;
	margin: 0 0.25rem 0.25rem 0;
}

.grb-feed-add {
	max-width: 32rem;
}

.grb-feed-add input[type="text"],
.grb-feed-add input[type="url"] {
	width: 100%;
	box-sizing: border-box;
}

/* ---------- Price breakdown ---------- */

.grb-breakdown {
	width: 100%;
	border-collapse: collapse;
	margin-top: 0.4rem;
	font-size: 0.95em;
}

.grb-breakdown th,
.grb-breakdown td {
	padding: 0.2rem 0;
	font-weight: normal;
	text-align: left;
}

.grb-breakdown td {
	text-align: right;
	white-space: nowrap;
}

.grb-breakdown-total th,
.grb-breakdown-total td {
	font-weight: 700;
	border-top: 1px solid currentColor;
	padding-top: 0.35rem;
}

/* Host rate settings (payment step P2). */
.grb-host .grb-fieldset {
	min-width: 0; /* Lets the seasons table scroll instead of widening the page. */
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 0.25rem 0.75rem 0.5rem;
	margin: 0 0 1rem;
}

.grb-host .grb-fieldset legend {
	font-weight: 600;
	padding: 0 0.25rem;
}

.grb-host .grb-periods-wrap {
	overflow-x: auto;
}

.grb-host .grb-periods {
	border-collapse: collapse;
	margin: 0.5rem 0;
}

.grb-host .grb-periods th {
	text-align: left;
	font-size: 0.85em;
	padding: 0.25rem 0.5rem 0.25rem 0;
	white-space: nowrap;
}

.grb-host .grb-periods td {
	padding: 0.2rem 0.5rem 0.2rem 0;
}

.grb-request-form .grb-guest-row {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

/* Host GST status (payment step P2b). */
.grb-host .grb-gst fieldset.grb-field {
	border: 0;
	padding: 0;
}

.grb-host .grb-gst details > summary {
	margin: 0 0 0.75rem;
}

/* Getting paid (payment step P3). */
.grb-host .grb-inline-form {
	display: inline-block;
	margin: 0 0.5rem 0.5rem 0;
}

/* =====================================================================
   Go Raglan look (guest booking widget).
   Colours and fonts come from the site's Elementor global settings when
   they exist (--e-global-…), so they follow any change made there; the
   values after the comma are Go Raglan's own, used everywhere else.
   ===================================================================== */

.grb-skin {
	--grb-blue: var(--e-global-color-accent, #376D89);
	--grb-blue-dark: #2B5870;
	--grb-green: var(--e-global-color-secondary, #3F5734);
	--grb-ink: var(--e-global-color-text, #231F20);
	--grb-cream: #F9F7F3;
	--grb-sky: #D3E1E9;
	--grb-line: #E3DED4;
	--grb-muted: #6B6560;
	--grb-hatch: #ECE8E1;
	--grb-font: var(--e-global-typography-primary-font-family, "Montserrat"), "Helvetica Neue", Arial, sans-serif;
	--grb-serif: var(--e-global-typography-secondary-font-family, "Playfair Display"), Georgia, serif;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid var(--grb-line);
	border-radius: 8px;
	padding: 1.5rem;
	color: var(--grb-ink);
	font-family: var(--grb-font);
	font-size: 15px;
	line-height: 1.5;
	scroll-margin-top: 6rem;
}

.grb-skin *,
.grb-skin *::before,
.grb-skin *::after {
	box-sizing: border-box;
}

.grb-skin p {
	margin: 0 0 0.5rem;
}

.grb-skin .grb-eyebrow {
	font: 600 11px/1.2 var(--grb-font);
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--grb-green);
	margin: 0 0 0.35rem;
}

.grb-skin .grb-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.25rem 0.5rem;
	margin: 0 0 0.6rem;
}

.grb-skin .grb-price strong {
	font: 700 1.9rem/1.1 var(--grb-font);
	letter-spacing: -0.5px;
}

.grb-skin .grb-price span {
	color: var(--grb-muted);
	font-size: 0.9rem;
}

.grb-skin .grb-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0 0 1.1rem;
}

.grb-skin .grb-chip {
	display: inline-block;
	font-size: 0.8rem;
	background: var(--grb-cream);
	border: 1px solid var(--grb-line);
	border-radius: 999px;
	padding: 0.2rem 0.75rem;
}

.grb-skin .grb-step {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 1.4rem 0 0.7rem;
	padding: 0;
	font: 600 12px/1.2 var(--grb-font);
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--grb-green);
}

.grb-skin .grb-step-n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 1.45rem;
	height: 1.45rem;
	border-radius: 50%;
	background: var(--grb-green);
	color: #fff;
	font-size: 11px;
	letter-spacing: 0;
}

.grb-skin .grb-request-form:not(.has-dates) .grb-step--later {
	color: var(--grb-muted);
}

.grb-skin .grb-request-form:not(.has-dates) .grb-step--later .grb-step-n {
	background: #BDB6AA;
}

.grb-skin .grb-help,
.grb-skin .grb-optional {
	display: block;
	font-size: 0.82rem;
	color: var(--grb-muted);
	opacity: 1;
}

.grb-skin .grb-optional {
	display: inline;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
}

/* Details only once dates are chosen (the form then feels shorter). */
.grb-skin .grb-request-form:not(.has-dates) .grb-details,
.grb-skin .grb-request-form.has-dates .grb-until-dates {
	display: none;
}

/* ---------- Calendar ---------- */

.grb-skin .grb-calendar {
	--grb-accent: var(--grb-blue);
	--grb-accent-soft: var(--grb-sky);
	--grb-taken: var(--grb-hatch);
	max-width: none;
	font-size: 0.92rem;
}

.grb-skin .grb-cal-nav {
	align-items: center;
	margin-bottom: 0.4rem;
}

.grb-skin .grb-calendar .grb-cal-navbtn {
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 1px solid var(--grb-line);
	border-radius: 50%;
	background: #fff;
	color: var(--grb-ink);
	font: 400 1.25rem/1 var(--grb-font);
	text-transform: none;
	letter-spacing: 0;
}

.grb-skin .grb-calendar .grb-cal-navbtn:hover:not(:disabled),
.grb-skin .grb-calendar .grb-cal-navbtn:focus-visible {
	border-color: var(--grb-blue);
	background: #fff;
	color: var(--grb-blue);
}

.grb-skin .grb-cal-months {
	gap: 1.25rem;
}

.grb-skin .grb-calendar.is-one-month .grb-cal-months {
	grid-template-columns: minmax(0, 1fr);
}

.grb-skin .grb-cal-title {
	font: 600 0.9rem/1.2 var(--grb-font);
	margin-bottom: 0.4rem;
}

.grb-skin .grb-cal-wd {
	font: 600 10px/1 var(--grb-font);
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--grb-muted);
	opacity: 1;
	padding-bottom: 0.4rem;
}

.grb-skin .grb-cal-grid {
	gap: 2px 0;
}

.grb-skin .grb-calendar .grb-cal-day {
	position: relative;
	border-radius: 50%;
	font: 500 0.9rem/1 var(--grb-font);
	color: var(--grb-ink);
}

.grb-skin .grb-calendar.is-one-month .grb-cal-day {
	min-height: 2.75rem; /* 44px – easy to tap on a phone. */
}

.grb-skin .grb-calendar .grb-cal-day:hover:not(:disabled) {
	outline: none;
	box-shadow: inset 0 0 0 2px var(--grb-blue);
}

.grb-skin .grb-calendar .grb-cal-day.is-past {
	opacity: 1;
	color: #C4BDB1;
}

.grb-skin .grb-calendar .grb-cal-day.is-today {
	font-weight: 700;
	text-decoration: none;
}

.grb-skin .grb-calendar .grb-cal-day.is-today::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 12%;
	width: 4px;
	height: 4px;
	margin-left: -2px;
	border-radius: 50%;
	background: var(--grb-green);
}

.grb-skin .grb-calendar .grb-cal-day.is-unavailable,
.grb-skin .grb-cal-swatch.is-unavailable {
	border-radius: 4px;
	background: repeating-linear-gradient(135deg, var(--grb-hatch) 0 4px, #fff 4px 8px);
	color: #A9A196;
	text-decoration: line-through;
}

.grb-skin .grb-calendar .grb-cal-day.is-checkout-only {
	border-radius: 0 50% 50% 0;
	background: var(--grb-blue);
	color: #fff;
	text-decoration: none;
	opacity: 0.55;
}

.grb-skin .grb-calendar .grb-cal-day.is-in-range {
	border-radius: 0;
	background: var(--grb-sky);
}

.grb-skin .grb-calendar .grb-cal-day.is-checkin,
.grb-skin .grb-calendar .grb-cal-day.is-checkout,
.grb-skin .grb-cal-swatch.is-checkin {
	background: var(--grb-blue);
	color: #fff;
}

.grb-skin .grb-calendar .grb-cal-day.is-checkin {
	border-radius: 50% 0 0 50%;
}

.grb-skin .grb-calendar .grb-cal-day.is-checkout {
	border-radius: 0 50% 50% 0;
}

.grb-skin .grb-cal-legend {
	gap: 0.9rem;
	font-size: 0.78rem;
	color: var(--grb-muted);
}

.grb-skin .grb-cal-swatch {
	width: 0.85rem;
	height: 0.85rem;
	border: 1px solid var(--grb-line);
	border-radius: 3px;
}

.grb-skin .grb-cal-summary {
	font-size: 0.88rem;
}

.grb-skin .grb-calendar .grb-cal-btn--link {
	padding: 0;
	border: 0;
	background: none;
	color: var(--grb-blue);
	font: 400 0.85rem var(--grb-font);
	text-decoration: underline;
	text-transform: none;
	letter-spacing: 0;
}

/* ---------- Form ---------- */

.grb-skin .grb-request-form {
	max-width: none;
	margin: 0;
}

.grb-skin .grb-guest-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr));
	gap: 0.6rem 0.75rem;
}

.grb-skin .grb-stepper {
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	border: 1px solid #CFC8BC;
	border-radius: 4px;
	padding: 0.35rem 0.4rem 0.35rem 0.75rem;
	background: #fff;
}

.grb-skin .grb-stepper label {
	font: 600 10px/1 var(--grb-font);
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--grb-muted);
	margin: 0;
}

.grb-skin .grb-stepper-ctrl {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.grb-skin .grb-stepper input[type="number"] {
	width: 2.2rem;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	text-align: center;
	font: 600 1rem var(--grb-font);
	color: var(--grb-ink);
	-moz-appearance: textfield;
	appearance: textfield;
}

.grb-skin .grb-stepper input[type="number"]::-webkit-inner-spin-button,
.grb-skin .grb-stepper input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.grb-skin .grb-stepper .grb-stepper-btn {
	width: 1.9rem;
	height: 1.9rem;
	min-width: 0;
	padding: 0;
	border: 1px solid var(--grb-line);
	border-radius: 50%;
	background: #fff;
	color: var(--grb-ink);
	font: 400 1rem/1 var(--grb-font);
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}

.grb-skin .grb-stepper .grb-stepper-btn:hover,
.grb-skin .grb-stepper .grb-stepper-btn:focus-visible {
	border-color: var(--grb-blue);
	background: #fff;
	color: var(--grb-blue);
}

.grb-skin .grb-guest-help {
	margin: 0.4rem 0 0;
}

.grb-skin .grb-total {
	margin: 1rem 0 0;
	padding: 0.85rem 1rem;
	border-radius: 6px;
	background: var(--grb-cream);
	font-size: 0.9rem;
	color: var(--grb-muted);
}

.grb-skin .grb-total.has-total {
	background: var(--grb-cream);
	color: var(--grb-ink);
}

.grb-skin .grb-total-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
}

.grb-skin .grb-total-dates {
	display: inline;
	font-size: 0.88rem;
}

.grb-skin .grb-total-amount {
	font: 700 1.25rem var(--grb-font);
	white-space: nowrap;
}

.grb-skin .grb-price-details {
	margin-top: 0.4rem;
	font-size: 0.85rem;
}

.grb-skin .grb-price-details summary {
	cursor: pointer;
	color: var(--grb-blue);
}

.grb-skin .grb-price-details .grb-help {
	margin-top: 0.4rem;
}

.grb-skin .grb-breakdown th,
.grb-skin .grb-breakdown td {
	border: 0;
	background: none;
	padding: 0.2rem 0;
}

.grb-skin .grb-breakdown-total th,
.grb-skin .grb-breakdown-total td {
	border-top: 1px solid var(--grb-line);
}

.grb-skin .grb-field {
	margin: 0 0 0.85rem;
}

.grb-skin .grb-field label {
	display: block;
	margin: 0 0 0.35rem;
	font: 600 12px/1.3 var(--grb-font);
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: var(--grb-ink);
}

.grb-skin .grb-field input[type="text"],
.grb-skin .grb-field input[type="email"],
.grb-skin .grb-field input[type="tel"],
.grb-skin .grb-field textarea {
	width: 100%;
	margin: 0;
	padding: 0.65rem 0.75rem;
	border: 1px solid #CFC8BC;
	border-radius: 3px;
	background: #fff;
	box-shadow: none;
	color: var(--grb-ink);
	font: 400 15px/1.4 var(--grb-font);
}

.grb-skin .grb-field input:focus,
.grb-skin .grb-field textarea:focus {
	outline: 2px solid var(--grb-blue);
	outline-offset: 1px;
	border-color: var(--grb-blue);
}

.grb-skin .grb-field .grb-help {
	margin-top: 0.3rem;
}

.grb-skin .grb-hold {
	padding: 0.85rem 1rem;
	border: 1px solid var(--grb-sky);
	border-radius: 6px;
	background: #EEF4F7;
	font-size: 0.88rem;
}

.grb-skin .grb-hold p {
	margin: 0 0 0.35rem;
}

.grb-skin .grb-hold strong {
	color: var(--grb-blue-dark);
}

.grb-skin .grb-hold ul {
	margin: 0;
	padding-left: 1.1rem;
}

.grb-skin .grb-hold li {
	margin: 0 0 0.2rem;
}

.grb-skin .grb-submit-row {
	margin: 1.1rem 0 0.5rem;
}

/* Buttons. Strong selectors so the theme's generic button styles cannot change them. */
.grb-skin .grb-btn.grb-btn--primary,
.grb-skin button.grb-request-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 3rem;
	padding: 0.85rem 1.5rem;
	border: 1px solid var(--grb-blue);
	border-radius: 3px;
	background: var(--grb-blue);
	color: var(--grb-cream);
	font: 600 14px/1.2 var(--grb-font);
	letter-spacing: 1.5px;
	text-transform: uppercase;
	opacity: 1;
	cursor: pointer;
}

.grb-skin .grb-btn.grb-btn--primary:hover:not(:disabled),
.grb-skin button.grb-request-submit:hover:not(:disabled),
.grb-skin button.grb-request-submit:focus-visible {
	border-color: var(--grb-blue-dark);
	background: var(--grb-blue-dark);
	color: var(--grb-cream);
}

.grb-skin button.grb-request-submit:disabled {
	border-color: var(--grb-line);
	background: #fff;
	color: var(--grb-muted);
	cursor: not-allowed;
}

.grb-skin .grb-reassure {
	padding-left: 0.65rem;
	border-left: 3px solid var(--grb-green);
	font-size: 0.82rem;
	color: var(--grb-muted);
}

.grb-skin .grb-cal-message {
	border-radius: 4px;
	font-size: 0.88rem;
}

.grb-skin .grb-request-success {
	margin: 0 0 1.1rem;
	padding: 0.85rem 1rem;
	border: 0;
	border-left: 4px solid var(--grb-green);
	border-radius: 4px;
	background: #EDF3EA;
}

.grb-skin .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

@media (max-width: 480px) {
	.grb-skin {
		padding: 1.1rem;
	}

	.grb-skin .grb-price strong {
		font-size: 1.6rem;
	}
}

/* Phones: total and button kept in view at the bottom of the screen. */
.grb-skin .grb-sticky-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9990;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
	border-top: 1px solid var(--grb-line);
	background: #fff;
	box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.08);
}

.grb-skin .grb-sticky-bar[hidden] {
	display: none;
}

.grb-skin .grb-sticky-bar strong {
	display: block;
	font: 700 1.05rem/1.2 var(--grb-font);
}

.grb-skin .grb-sticky-bar small {
	color: var(--grb-muted);
	font-size: 0.78rem;
}

.grb-skin .grb-sticky-bar .grb-sticky-go {
	flex: 0 0 auto;
	padding: 0.7rem 1rem;
	border: 1px solid var(--grb-blue);
	border-radius: 3px;
	background: var(--grb-blue);
	color: var(--grb-cream);
	font: 600 12px/1.2 var(--grb-font);
	letter-spacing: 1px;
	text-transform: uppercase;
}

@media (min-width: 768px) {
	.grb-skin .grb-sticky-bar {
		display: none;
	}
}

/* =====================================================================
   Go Raglan look (host's Bookings page, in the style of a hosting app).
   Without JavaScript every tab shows, one under another.
   ===================================================================== */

.grb-skin.grb-skin--host {
	width: 100%;
	max-width: 1297px; /* Same width as Webpaste's My Listings block above it, so the two line up. */
	box-sizing: border-box;
	--grb-radius: 14px;
	--grb-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 14px rgba(0, 0, 0, 0.06);
	--grb-amber: #B26A12;
	padding: 0;
	border: 0;
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--grb-shadow);
	overflow: hidden;
}

.grb-hostapp-head {
	padding: 1.6rem 1.75rem 0;
}

.grb-skin--host .grb-hello {
	margin: 0 0 0.2rem;
	font: 600 1.85rem/1.15 var(--grb-serif);
}

.grb-skin--host .grb-hello-sub {
	margin: 0 0 1rem;
	color: var(--grb-muted);
}

.grb-skin--host .grb-notice {
	margin: 0 0 0.75rem;
	padding: 0.65rem 0.9rem;
	border: 0;
	border-left: 4px solid var(--grb-green);
	border-radius: 8px;
	background: #EDF3EA;
	font-size: 0.9rem;
}

.grb-skin--host .grb-notice--error {
	border-left-color: #B3261E;
	background: #FCEFEE;
}

/* Tabs */
.grb-skin--host .grb-tabs {
	display: flex;
	gap: 0.25rem;
	overflow-x: auto;
	border-bottom: 1px solid var(--grb-line);
	scrollbar-width: none;
}

.grb-skin--host button.grb-tab {
	position: relative;
	border: 0;
	border-radius: 0;
	background: none;
	cursor: pointer;
	text-transform: none;
	letter-spacing: 0;
	padding: 0.75rem 0.85rem 0.9rem;
	color: var(--grb-muted);
	font: 600 0.9rem var(--grb-font);
	text-decoration: none;
	white-space: nowrap;
}

.grb-skin--host button.grb-tab:hover,
.grb-skin--host button.grb-tab:focus {
	background: none;
	color: var(--grb-ink);
	outline: none; /* The theme's outline was cut off by the scrolling tab row, leaving a stray line. */
	box-shadow: none;
}

.grb-skin--host button.grb-tab:focus-visible {
	outline: 2px solid var(--grb-blue);
	outline-offset: -4px;
	border-radius: 8px;
}

/* Elementor sections often centre their content and shrink it to fit; let the host page take the full width instead. */
.elementor-widget:has(> .elementor-widget-container .grb-hostapp),
.elementor-widget:has(> .grb-hostapp),
.elementor-widget-container:has(> .elementor-shortcode > .grb-hostapp),
.elementor-shortcode:has(> .grb-hostapp) {
	width: 100%;
	max-width: 1297px;
	margin-left: auto;
	margin-right: auto;
}

/* Centred like My Listings, even when Elementor stretches the widget across the screen. */
.grb-hostapp.grb-skin--host {
	margin-left: auto;
	margin-right: auto;
}

.grb-skin--host button.grb-tab[aria-selected="true"] {
	color: var(--grb-ink);
}

.grb-skin--host button.grb-tab[aria-selected="true"]::after {
	content: "";
	position: absolute;
	left: 0.6rem;
	right: 0.6rem;
	bottom: -1px;
	height: 3px;
	border-radius: 3px;
	background: var(--grb-ink);
}

.grb-skin--host .grb-count {
	display: inline-block;
	min-width: 1.25rem;
	margin-left: 0.35rem;
	padding: 0 0.35rem;
	border-radius: 999px;
	background: var(--grb-amber);
	color: #fff;
	font-size: 11px;
	line-height: 1.25rem;
	text-align: center;
}

.grb-skin--host .grb-panel {
	padding: 1.5rem 1.75rem 2rem;
	border-top: 1px solid var(--grb-line);
}

.grb-skin--host.grb-js .grb-panel {
	display: none;
	border-top: 0;
}

.grb-skin--host.grb-js .grb-panel.is-on {
	display: block;
}

.grb-skin--host .grb-sec {
	margin: 0 0 0.9rem;
	font: 700 1.2rem/1.3 var(--grb-font);
}

.grb-skin--host .grb-empty {
	margin: 0;
	padding: 1.5rem;
	border: 1px dashed var(--grb-line);
	border-radius: var(--grb-radius);
	color: var(--grb-muted);
	text-align: center;
}

.grb-skin--host > .grb-empty {
	margin: 1.5rem 1.75rem 2rem;
}

/* Filter pills */
.grb-skin--host .grb-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1.1rem;
}

.grb-skin--host button.grb-pill {
	padding: 0.5rem 0.9rem;
	border: 1px solid var(--grb-line);
	border-radius: 999px;
	background: #fff;
	color: var(--grb-ink);
	font: 600 0.82rem/1.2 var(--grb-font);
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}

.grb-skin--host button.grb-pill[aria-pressed="true"],
.grb-skin--host button.grb-pill[aria-pressed="true"]:hover {
	border-color: var(--grb-ink);
	background: var(--grb-ink);
	color: #fff;
}

.grb-skin--host button.grb-pill:hover {
	border-color: var(--grb-ink);
	background: #fff;
	color: var(--grb-ink);
}

/* Reservation cards */
.grb-skin--host .grb-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(17.5rem, 100%), 1fr));
	gap: 1rem;
}

.grb-skin--host .grb-cards-empty {
	grid-column: 1 / -1;
}

.grb-skin--host .grb-card {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: 1.1rem;
	border: 1px solid var(--grb-line);
	border-radius: var(--grb-radius);
	background: #fff;
	transition: box-shadow 0.15s;
}

.grb-skin--host .grb-card[hidden] {
	display: none;
}

.grb-skin--host .grb-card:hover {
	box-shadow: var(--grb-shadow);
}

.grb-skin--host .grb-card-status {
	margin: 0;
	font: 600 0.82rem/1.3 var(--grb-font);
}

.grb-skin--host .grb-card-status.is-wait { color: var(--grb-amber); }
.grb-skin--host .grb-card-status.is-soon { color: var(--grb-green); }
.grb-skin--host .grb-card-status.is-up { color: var(--grb-blue); }
.grb-skin--host .grb-card-status.is-gone { color: var(--grb-muted); }

.grb-skin--host .grb-who {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.grb-skin--host .grb-avatar {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	color: #fff;
	font: 700 0.95rem var(--grb-font);
}

.grb-skin--host .grb-who b {
	display: block;
	font-size: 1.05rem;
	line-height: 1.25;
}

.grb-skin--host .grb-who > div > span {
	color: var(--grb-muted);
	font-size: 0.82rem;
}

.grb-skin--host .grb-card-dates,
.grb-skin--host .grb-card-msg {
	margin: 0;
	font-size: 0.9rem;
}

.grb-skin--host .grb-card-msg {
	color: #444;
	font-style: italic;
}

.grb-skin--host .grb-card-money {
	padding: 0.65rem 0.75rem;
	border-radius: 10px;
	background: var(--grb-cream);
	font-size: 0.86rem;
}

.grb-skin--host .grb-card-money > div {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
}

.grb-skin--host .grb-card-money span {
	color: var(--grb-muted);
}

.grb-skin--host .grb-card-actions .grb-booking-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
	margin: 0;
}

.grb-skin--host .grb-card-actions .grb-decline[open] {
	grid-column: 1 / -1;
}

.grb-skin--host .grb-card-actions .grb-cal-btn,
.grb-skin--host .grb-card-actions .grb-decline > summary.grb-cal-btn {
	display: block;
	width: 100%;
	padding: 0.7rem 0.75rem;
	border: 1px solid var(--grb-ink);
	border-radius: 10px;
	background: #fff;
	color: var(--grb-ink);
	font: 600 0.9rem/1.2 var(--grb-font);
	letter-spacing: 0;
	text-align: center;
	text-transform: none;
	cursor: pointer;
}

.grb-skin--host .grb-card-actions .grb-cal-btn--primary {
	border-color: var(--grb-green);
	background: var(--grb-green);
	color: #fff;
}

.grb-skin--host .grb-card-actions .grb-cal-btn:hover {
	filter: brightness(0.95);
}

.grb-skin--host .grb-card-timer {
	margin: 0;
	color: var(--grb-amber);
	font-size: 0.78rem;
}

.grb-skin--host button.grb-card-more {
	align-self: flex-start;
	padding: 0;
	border: 0;
	background: none;
	color: var(--grb-ink);
	font: 600 0.85rem var(--grb-font);
	text-decoration: underline;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}

.grb-skin--host:not(.grb-js) .grb-card-more {
	display: none;
}

/* Details side panel */
.grb-drawer-back {
	position: fixed;
	inset: 0;
	z-index: 99990;
	display: none;
	background: rgba(0, 0, 0, 0.35);
}

.grb-drawer-back.is-open {
	display: block;
}

.grb-skin.grb-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 99991;
	width: min(28rem, 100%);
	padding: 1.5rem;
	overflow-y: auto;
	border-radius: 0;
	transform: translateX(100%);
	transition: transform 0.2s;
}

.grb-skin.grb-drawer.is-open {
	transform: none;
}

.grb-skin.grb-drawer .grb-card-detail {
	display: block;
}

.grb-skin.grb-drawer h3 {
	margin: 0.35rem 0 0;
	font: 700 1.3rem var(--grb-font);
}

.grb-skin.grb-drawer button.grb-drawer-close {
	float: right;
	width: 2.2rem;
	height: 2.2rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #F1EEE8;
	color: var(--grb-ink);
	font: 400 1.2rem/1 var(--grb-font);
	cursor: pointer;
}

.grb-skin .grb-dl {
	display: grid;
	grid-template-columns: 7rem 1fr;
	gap: 0.6rem 0.75rem;
	margin: 1rem 0;
	font-size: 0.9rem;
}

.grb-skin .grb-dl dt {
	color: var(--grb-muted);
}

.grb-skin .grb-dl dd {
	margin: 0;
	overflow-wrap: anywhere;
}

/* Calendar tab */
.grb-skin--host .grb-calhead {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.grb-skin--host .grb-calhead select {
	padding: 0.55rem 0.75rem;
	border: 1px solid var(--grb-line);
	border-radius: 10px;
	font: 600 0.9rem var(--grb-font);
}

.grb-skin--host .grb-calbox-title {
	font-weight: 600;
}

.grb-skin--host .grb-calendar--big {
	max-width: none;
}

.grb-skin--host .grb-calendar--big .grb-cal-grid {
	gap: 0;
	border-top: 1px solid var(--grb-line);
	border-left: 1px solid var(--grb-line);
	border-radius: 12px;
	overflow: hidden;
}

.grb-skin--host .grb-calendar--big .grb-cal-wd {
	padding: 0.5rem;
	border-right: 1px solid var(--grb-line);
	border-bottom: 1px solid var(--grb-line);
	background: #FBFAF7;
	text-align: left;
}

.grb-skin--host .grb-calendar--big .grb-cal-empty {
	border-right: 1px solid var(--grb-line);
	border-bottom: 1px solid var(--grb-line);
	background: repeating-linear-gradient(135deg, #F7F4EE 0 6px, #fff 6px 12px);
}

.grb-skin--host .grb-calendar.grb-calendar--big .grb-cal-day {
	position: relative;
	display: block;
	aspect-ratio: auto;
	min-height: 5.5rem;
	padding: 0.45rem;
	border-right: 1px solid var(--grb-line);
	border-bottom: 1px solid var(--grb-line);
	border-radius: 0;
	background: #fff;
	text-align: left;
	vertical-align: top;
}

.grb-skin--host .grb-calendar--big .grb-cal-n {
	display: block;
	font-weight: 700;
	font-size: 0.85rem;
}

.grb-skin--host .grb-calendar--big .grb-cal-rate {
	position: absolute;
	left: 0.45rem;
	bottom: 0.4rem;
	color: var(--grb-muted);
	font-size: 0.75rem;
}

.grb-skin--host .grb-calendar.grb-calendar--big .grb-cal-day.is-past {
	background: repeating-linear-gradient(135deg, #F7F4EE 0 6px, #fff 6px 12px);
	color: #B5AEA3;
}

.grb-skin--host .grb-calendar.grb-calendar--big .grb-cal-day.is-today .grb-cal-n {
	display: inline-grid;
	place-items: center;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 50%;
	background: var(--grb-ink);
	color: #fff;
}

.grb-skin--host .grb-calendar.grb-calendar--big .grb-cal-day.is-today::after {
	display: none;
}

.grb-skin--host .grb-calendar.grb-calendar--big .grb-cal-day.is-blocked {
	background: #EFECE6;
}

.grb-skin--host .grb-calendar.grb-calendar--big .grb-cal-day.is-imported {
	background: #E8E4F2;
}

/* Booking bars across the nights of a stay. */
.grb-skin--host .grb-calendar.grb-calendar--big .grb-cal-day.is-booked {
	background: #fff;
}

.grb-skin--host .grb-calendar.grb-calendar--big .grb-cal-day.is-booked::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 2.1rem;
	height: 1.6rem;
	background: var(--grb-blue);
}

.grb-skin--host .grb-calendar.grb-calendar--big .grb-cal-day.is-booked.is-waiting::before {
	background: var(--grb-amber);
}

.grb-skin--host .grb-calendar.grb-calendar--big .grb-cal-day.is-booked.is-first::before {
	left: 0.45rem;
	border-radius: 999px 0 0 999px;
}

.grb-skin--host .grb-calendar.grb-calendar--big .grb-cal-day.is-booked.is-last::before {
	right: 0.45rem;
	border-radius: 0 999px 999px 0;
}

.grb-skin--host .grb-calendar.grb-calendar--big .grb-cal-day.is-booked.is-first.is-last::before {
	border-radius: 999px;
}

.grb-skin--host .grb-calendar--big .grb-cal-guest {
	position: absolute;
	left: 0.8rem;
	right: 0;
	top: 2.1rem;
	z-index: 1;
	overflow: hidden;
	color: #fff;
	font: 600 0.75rem/1.6rem var(--grb-font);
	white-space: nowrap;
}

.grb-skin--host .grb-calendar.grb-calendar--big .grb-cal-day.is-selected {
	background: #fff;
	box-shadow: inset 0 0 0 2px var(--grb-ink);
	color: var(--grb-ink);
}

.grb-skin--host .grb-calendar--big .grb-cal-swatch.is-booked { background: var(--grb-blue); }
.grb-skin--host .grb-calendar--big .grb-cal-swatch.is-waiting { background: var(--grb-amber); }
.grb-skin--host .grb-calendar--big .grb-cal-swatch.is-blocked { background: #EFECE6; }
.grb-skin--host .grb-calendar--big .grb-cal-swatch.is-rate { display: none; }

.grb-skin--host .grb-cal-summary .grb-cal-actions .grb-cal-btn {
	padding: 0.6rem 1rem;
	border: 1px solid var(--grb-ink);
	border-radius: 10px;
	background: #fff;
	color: var(--grb-ink);
	font: 600 0.88rem var(--grb-font);
	text-transform: none;
	letter-spacing: 0;
}

.grb-skin--host .grb-cal-summary .grb-cal-actions .grb-cal-btn--primary {
	border-color: var(--grb-blue);
	background: var(--grb-blue);
	color: #fff;
}

.grb-skin--host .grb-cal-summary .grb-cal-actions .grb-cal-btn--link {
	border-color: transparent;
	text-decoration: underline;
}

/* Listings tab */
.grb-skin--host .grb-lgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr));
	gap: 1.1rem;
}

.grb-skin--host button.grb-lcard {
	display: block;
	width: 100%;
	padding: 0;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	font: inherit;
	cursor: pointer;
	overflow: hidden;
	border: 1px solid var(--grb-line);
	border-radius: var(--grb-radius);
	background: #fff;
	color: var(--grb-ink);
	text-decoration: none;
}

.grb-skin--host button.grb-lcard:hover,
.grb-skin--host button.grb-lcard:focus {
	background: #fff;
	color: var(--grb-ink);
	box-shadow: var(--grb-shadow);
}

.grb-skin--host .grb-lphoto {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	background: linear-gradient(160deg, #6F9DB5, #2F5F78 55%, #4F6F3F) center / cover;
}

.grb-skin--host .grb-ltag {
	position: absolute;
	left: 0.75rem;
	top: 0.75rem;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	background: #fff;
	font: 600 0.75rem var(--grb-font);
}

.grb-skin--host .grb-dot {
	display: inline-block;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--grb-green);
}

.grb-skin--host .grb-dot.is-off {
	background: #B5AEA3;
}

.grb-skin--host .grb-lbody {
	display: block;
	padding: 0.85rem 1rem 1rem;
}

.grb-skin--host .grb-lbody b {
	display: block;
	font-size: 1rem;
}

.grb-skin--host .grb-lbody span {
	color: var(--grb-muted);
	font-size: 0.82rem;
}

.grb-skin--host.grb-js .grb-editor {
	display: none;
}

.grb-skin--host.grb-js .grb-editor.is-open {
	display: block;
}

.grb-skin--host:not(.grb-js) .grb-editor {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--grb-line);
}

.grb-skin--host button.grb-back {
	display: inline-block;
	padding: 0;
	border: 0;
	background: none;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	margin-bottom: 0.9rem;
	color: var(--grb-ink);
	font: 600 0.9rem var(--grb-font);
	text-decoration: none;
}

.grb-skin--host:not(.grb-js) .grb-back {
	display: none;
}

/* "Label – value – Edit" rows */
.grb-skin--host .grb-rows {
	max-width: 44rem;
}

.grb-skin--host .grb-row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.05rem 0;
	border-bottom: 1px solid var(--grb-line);
}

.grb-skin--host .grb-row b {
	display: block;
	font-size: 0.95rem;
}

.grb-skin--host .grb-row span {
	color: var(--grb-muted);
	font-size: 0.88rem;
}

.grb-skin--host .grb-row .grb-ok {
	color: var(--grb-green);
	font-weight: 600;
}

.grb-skin--host .grb-row .grb-todo {
	color: var(--grb-amber);
	font-weight: 600;
}

.grb-skin--host button.grb-edit {
	align-self: flex-start;
	padding: 0;
	border: 0;
	background: none;
	color: var(--grb-ink);
	font: 600 0.9rem var(--grb-font);
	text-decoration: underline;
	text-transform: none;
	letter-spacing: 0;
	white-space: nowrap;
	cursor: pointer;
}

.grb-skin--host:not(.grb-js) .grb-edit {
	display: none;
}

.grb-skin--host.grb-js .grb-row-form {
	display: none;
}

.grb-skin--host .grb-row-form.is-open,
.grb-skin--host:not(.grb-js) .grb-row-form {
	display: block;
	padding: 0.75rem 0 1.1rem;
	border-bottom: 1px solid var(--grb-line);
}

.grb-skin--host .grb-row-form > .grb-listing {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.grb-skin--host .grb-row-form > .grb-listing > h3,
.grb-skin--host .grb-row-form > h4 {
	display: none;
}

.grb-skin--host .grb-editor.has-rows .grb-editor-fields,
.grb-skin--host .grb-editor.has-rows .grb-editor-save {
	display: none;
}

.grb-skin--host .grb-row-form .grb-field {
	margin: 0 0 0.75rem;
}

.grb-skin--host .grb-row-form .grb-fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}

.grb-skin--host .grb-row-form .grb-fieldset legend {
	display: none;
}

.grb-skin--host .grb-row-actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0.5rem 0 0;
}

.grb-skin--host button.grb-btn-blue,
.grb-skin--host button.grb-button {
	padding: 0.65rem 1.25rem;
	border: 1px solid var(--grb-blue);
	border-radius: 10px;
	background: var(--grb-blue);
	color: #fff;
	font: 600 0.9rem var(--grb-font);
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}

.grb-skin--host button.grb-btn-blue:hover,
.grb-skin--host button.grb-button:hover {
	border-color: var(--grb-blue-dark);
	background: var(--grb-blue-dark);
	color: #fff;
}

.grb-skin--host button.grb-btn-plain {
	padding: 0;
	border: 0;
	background: none;
	color: var(--grb-ink);
	font: 600 0.9rem var(--grb-font);
	text-decoration: underline;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}

/* Other buttons inside the host page (Stripe, calendar sync, GST). */
.grb-skin--host .grb-row-form .grb-cal-btn,
.grb-skin--host .grb-row-form summary.grb-cal-btn {
	display: inline-block;
	margin: 0 0.35rem 0.35rem 0;
	padding: 0.55rem 1rem;
	border: 1px solid var(--grb-ink);
	border-radius: 10px;
	background: #fff;
	color: var(--grb-ink);
	font: 600 0.85rem var(--grb-font);
	text-transform: none;
	letter-spacing: 0;
	text-decoration: none;
	cursor: pointer;
}

.grb-skin--host .grb-row-form .grb-cal-btn--primary {
	border-color: var(--grb-blue);
	background: var(--grb-blue);
	color: #fff;
}

.grb-skin--host input[type="text"],
.grb-skin--host input[type="number"],
.grb-skin--host input[type="url"],
.grb-skin--host input[type="date"],
.grb-skin--host select,
.grb-skin--host textarea {
	max-width: 100%;
	padding: 0.6rem 0.7rem;
	border: 1px solid #CFC8BC;
	border-radius: 10px;
	background: #fff;
	color: var(--grb-ink);
	font: 500 0.92rem/1.4 var(--grb-font);
}

.grb-skin--host .grb-periods-wrap {
	overflow-x: auto;
}

/* Earnings tab */
.grb-skin--host .grb-big {
	margin: 0;
	font: 800 2.4rem/1.1 var(--grb-font);
	letter-spacing: -1px;
}

.grb-skin--host .grb-bars {
	display: flex;
	align-items: flex-end;
	gap: 0.5rem;
	height: 9rem;
	margin: 1.25rem 0 1.5rem;
}

.grb-skin--host .grb-bar {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column-reverse;
	justify-content: flex-start;
	height: 100%;
	padding-bottom: 1.2rem;
}

.grb-skin--host .grb-bar-paid,
.grb-skin--host .grb-bar-come {
	display: block;
	min-height: 3px;
	background: var(--grb-blue);
	border-radius: 0;
}

.grb-skin--host .grb-bar-come {
	min-height: 0;
	background: var(--grb-sky);
	border-radius: 5px 5px 0 0;
}

.grb-skin--host .grb-bar small {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	color: var(--grb-muted);
	font-size: 0.68rem;
	text-align: center;
}

.grb-skin--host .grb-earnings {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.grb-skin--host .grb-earnings > h3 {
	font: 700 1.05rem var(--grb-font);
}

.grb-skin--host .grb-requests {
	width: 100%;
	border-collapse: collapse;
}

.grb-skin--host .grb-requests th,
.grb-skin--host .grb-requests td {
	padding: 0.6rem 0.5rem 0.6rem 0;
	border: 0;
	border-bottom: 1px solid var(--grb-line);
	background: none;
	font-size: 0.86rem;
	text-align: left;
	vertical-align: top;
}

.grb-skin--host .grb-requests th {
	color: var(--grb-muted);
	font: 600 10px/1.3 var(--grb-font);
	letter-spacing: 1px;
	text-transform: uppercase;
}

@media (max-width: 760px) {
	.grb-hostapp-head,
	.grb-skin--host .grb-panel {
		padding-left: 1.1rem;
		padding-right: 1.1rem;
	}

	.grb-skin--host .grb-calendar.grb-calendar--big .grb-cal-day {
		min-height: 3.6rem;
		padding: 0.3rem;
	}

	.grb-skin--host .grb-calendar--big .grb-cal-rate {
		display: none;
	}

	.grb-skin--host .grb-calendar.grb-calendar--big .grb-cal-day.is-booked::before,
	.grb-skin--host .grb-calendar--big .grb-cal-guest {
		top: 1.7rem;
		height: 1.1rem;
		line-height: 1.1rem;
		font-size: 0.62rem;
	}

	.grb-skin--host .grb-requests thead {
		display: none;
	}

	.grb-skin--host .grb-requests tr,
	.grb-skin--host .grb-requests td {
		display: block;
	}

	.grb-skin--host .grb-requests td {
		border: 0;
		padding: 0.15rem 0;
	}

	.grb-skin--host .grb-requests tr {
		padding: 0.5rem 0;
		border-bottom: 1px solid var(--grb-line);
	}
}

.grb-skin--host .grb-row-form .grb-field label,
.grb-skin--host .grb-field label {
	display: inline;
	margin: 0;
	color: var(--grb-ink);
	font: 600 0.88rem/1.4 var(--grb-font);
	letter-spacing: 0;
	text-transform: none;
}

.grb-skin--host .grb-row-form input[type="text"],
.grb-skin--host .grb-row-form input[type="number"] {
	width: auto;
	min-width: 6rem;
}

.grb-skin--host .grb-notice--check {
	display: block;
	margin: 0 0 0.75rem;
	border-left-color: var(--grb-amber);
	background: var(--grb-amber-bg, #FFF6E8);
	color: var(--grb-ink);
}

/* ---------- The theme's old "Book Now" button ----------
 * On listings that take bookings, the booking box replaces the template's "Book Now" button
 * (which opened the enquiry pop-up). The box only appears on bookable listings, so other
 * listings keep their button. Any other element can be hidden the same way by giving it the
 * CSS class "grb-hide-when-bookable" in Elementor (Advanced → CSS Classes). */
.elementor-widget-button:has(+ .elementor-widget .grb-booking-widget),
body:has(.grb-booking-widget) .grb-hide-when-bookable {
	display: none !important;
}

/* ---------- Accommodation search ([grb_search]) ---------- */

.grb-skin.grb-search {
	position: relative;
	z-index: 20;
	max-width: 900px;
	margin: 0 auto 2rem;
	padding: 0;
	border: 0;
	background: transparent;
}
.grb-search .grb-search-form {
	position: relative; /* The pop-ups open right under the search bar. */
}
.grb-search .grb-sbox {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr auto;
	background: #fff;
	border: 1px solid var(--grb-line);
	border-radius: 999px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}
.grb-search button.grb-sfield {
	display: block;
	width: 100%;
	margin: 0;
	padding: 14px 24px;
	border: 0;
	border-right: 1px solid var(--grb-line);
	border-radius: 999px;
	background: transparent;
	color: var(--grb-ink);
	font: inherit;
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	box-shadow: none;
}
.grb-search button.grb-sfield:nth-child(3) {
	border-right: 0;
}
.grb-search button.grb-sfield:hover,
.grb-search button.grb-sfield[aria-expanded="true"] {
	background: var(--grb-cream);
	color: var(--grb-ink);
}
.grb-search button.grb-sfield:focus-visible,
.grb-search button.grb-sbtn:focus-visible {
	outline: 2px solid var(--grb-blue);
	outline-offset: 2px;
}
.grb-search .grb-sfield small {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.grb-search .grb-sfield span {
	display: block;
	font-size: 15px;
	color: var(--grb-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.grb-search .grb-sfield span.is-set {
	color: var(--grb-ink);
	font-weight: 600;
}
.grb-search button.grb-sbtn {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 8px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	background: var(--grb-green);
	color: #fff;
	font: 700 15px var(--grb-font);
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
}
.grb-search button.grb-sbtn:hover {
	background: #33472a;
	color: #fff;
}
.grb-search .grb-spop {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 10px);
	max-width: 760px;
	margin: 0 auto;
	padding: 20px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}
.grb-search .grb-spop[hidden] {
	display: none;
}
.grb-search .grb-spop--guests {
	max-width: 420px;
	margin-right: 0;
}
.grb-search .grb-cal-legend {
	display: none; /* Nothing is unavailable in the search calendar. */
}
.grb-search .grb-spop-foot {
	display: flex;
	justify-content: flex-end;
	margin: 12px 0 0;
}
.grb-search .grb-spop-foot button {
	margin: 0;
	padding: 10px 20px;
	border: 0;
	border-radius: 8px;
	background: var(--grb-ink);
	color: #fff;
	font: 600 14px var(--grb-font);
	text-transform: none;
	cursor: pointer;
}
.grb-search .grb-search-error {
	margin: 10px 0 0;
	text-align: center;
	color: #a3321f;
	font-weight: 600;
}
.grb-search .grb-search-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	align-items: center;
	justify-content: space-between;
	margin-top: 18px;
	padding: 14px 18px;
	border-radius: 12px;
	background: var(--grb-cream);
	font-size: 14px;
}
.grb-search .grb-search-summary p {
	margin: 0;
	flex: 1 1 320px;
}
.grb-search .grb-search-summary strong {
	display: block;
}
.grb-search button.grb-btn-plain {
	margin: 0;
	padding: 6px 0;
	border: 0;
	background: none;
	color: var(--grb-ink);
	font: 600 14px var(--grb-font);
	text-decoration: underline;
	text-transform: none;
	cursor: pointer;
}
.grb-search .grb-search-nojs {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-top: 12px;
}

@media (max-width: 700px) {
	.grb-search .grb-sbox {
		grid-template-columns: 1fr 1fr;
		border-radius: 18px;
	}
	.grb-search button.grb-sfield {
		border-radius: 18px;
		padding: 12px 16px;
	}
	.grb-search button.grb-sfield:nth-child(2) {
		border-right: 0;
	}
	.grb-search button.grb-sfield:nth-child(3) {
		grid-column: 1 / -1;
		border-top: 1px solid var(--grb-line);
		border-radius: 0;
	}
	.grb-search button.grb-sbtn {
		grid-column: 1 / -1;
		justify-content: center;
		padding: 14px;
		margin: 0 8px 8px;
		border-radius: 12px;
	}
	.grb-search .grb-spop {
		padding: 14px;
	}
}

/* ---------- Stay price on listing cards ([grb_stay_price]) ---------- */

.grb-stay {
	margin: 12px 0 0;
	padding-top: 12px;
	border-top: 1px solid #E3DED4;
	font-family: var(--e-global-typography-primary-font-family, "Montserrat"), "Helvetica Neue", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.45;
	color: var(--e-global-color-text, #231F20);
}
.grb-stay--book {
	border-top: 0;
	padding-top: 0;
}
.grb-stay-badge {
	display: inline-block;
	margin-bottom: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #e3eedd;
	color: var(--e-global-color-secondary, #3F5734);
	font-size: 12px;
	font-weight: 700;
}
.grb-stay-total {
	display: block;
}
.grb-stay-total strong {
	font-size: 16px;
}
.grb-stay small {
	display: block;
	color: #6B6560;
	font-size: 12px;
}
.grb-stay--contact {
	color: #6B6560;
	font-style: italic;
}

/* ---------- Listings map ([grb_map]) ---------- */

.grb-skin.grb-map {
	width: 100%;
	max-width: 1297px;
	margin: 0 auto 1.5rem;
	padding: 0;
	border: 0;
	background: transparent;
}
.grb-map .grb-map-bar {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 10px;
}
.grb-map button.grb-map-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 9px 16px;
	border: 1px solid var(--grb-ink);
	border-radius: 999px;
	background: #fff;
	color: var(--grb-ink);
	font: 600 14px var(--grb-font);
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
}
.grb-map button.grb-map-toggle:hover {
	background: var(--grb-cream);
	color: var(--grb-ink);
}
.grb-map .grb-map-canvas {
	position: relative;
	z-index: 1; /* Keep Leaflet's layers under the site header and pop-ups. */
	height: 420px;
	border: 1px solid var(--grb-line);
	border-radius: 14px;
	overflow: hidden;
	background: #e8ecef;
}
.grb-map.is-hidden .grb-map-canvas,
.grb-map.is-hidden .grb-map-note {
	display: none;
}
.grb-map .grb-map-loading {
	margin: 0;
	padding: 24px;
	color: var(--grb-muted);
}
.grb-map .grb-map-note {
	margin: 6px 2px 0;
	font-size: 12px;
	color: var(--grb-muted);
}
/* A quieter map: soften OpenStreetMap's colours so the price pins stand out. */
/* Our own drawn map: the sea is the background, land and roads are drawn on top. */
.grb-map .grb-map-canvas.leaflet-container,
.grb-map .leaflet-container {
	background: #dbe7ec;
}
.grb-map .grb-mark-wrap {
	background: none;
	border: 0;
}
.grb-map .grb-mark {
	display: inline-block;
	transform: translate(-50%, -50%);
	white-space: nowrap;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #5b6157;
	text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 2px #fff;
}
.grb-map .grb-mark--town {
	transform: translate(-90%, -190%); /* sits above and left of the town's pins */
	font-size: 15px;
	font-weight: 700;
	color: #2f3a2a;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.grb-map .grb-mark--right {
	transform: translate(10px, -50%);
}
.grb-map .grb-mark--water {
	font-style: italic;
	font-weight: 500;
	color: #5f7f93;
	text-shadow: none;
}
.grb-map .leaflet-control-attribution {
	font-size: 10px;
	background: rgba(255, 255, 255, 0.7);
}
.grb-map .leaflet-bar a {
	color: var(--grb-ink);
}
@media (max-width: 700px) {
	.grb-map .grb-map-canvas {
		height: 320px;
	}
}

/* Price pins. */
.grb-map .grb-pin-wrap {
	background: none;
	border: 0;
}
.grb-map .grb-pin {
	display: inline-block;
	transform: translate(-50%, -50%);
	padding: 5px 10px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 999px;
	background: #fff;
	color: var(--grb-ink);
	font: 700 13px var(--grb-font);
	white-space: nowrap;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	transition: transform 0.12s;
}
.grb-map .grb-pin--book {
	background: var(--grb-green);
	border-color: var(--grb-green);
	color: #fff;
}
.grb-map .grb-pin--dot {
	width: 14px;
	height: 14px;
	padding: 0;
}
.grb-map .grb-pin--group {
	padding: 6px 12px;
	border: 2px solid var(--grb-ink);
	font-size: 12px;
}
.grb-map .grb-pin.is-hl {
	background: var(--grb-ink);
	border-color: var(--grb-ink);
	color: #fff;
	transform: translate(-50%, -50%) scale(1.12);
}
.e-loop-item.grb-card-hl {
	outline: 3px solid var(--e-global-color-secondary, #3F5734);
	outline-offset: 2px;
	border-radius: 10px;
}

/* Pin pop-up. */
.grb-map .leaflet-popup-content {
	margin: 12px;
	font-family: var(--grb-font);
}
.grb-map .grb-map-pop {
	width: 210px;
}
.grb-map .grb-map-pop img {
	display: block;
	width: 100%;
	height: 110px;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 8px;
}
.grb-map .grb-map-pop strong {
	display: block;
	font-family: var(--grb-serif);
	font-size: 16px;
	line-height: 1.3;
}
.grb-map .grb-map-pop span {
	display: block;
	font-size: 12px;
	color: var(--grb-muted);
	margin-top: 2px;
}
.grb-map .grb-map-pop .grb-map-pop-price {
	color: var(--grb-ink);
	font-size: 13px;
	margin-top: 6px;
}
.grb-map .grb-map-pop a.grb-map-pop-link {
	display: inline-block;
	margin-top: 8px;
	padding: 6px 12px;
	border-radius: 6px;
	background: var(--grb-green);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}
