/* Agadir Birding Tours — booking widget. Mobile-first; the layout adapts to
   the widget's own width (container queries), not the screen, so it looks
   right in a sidebar column and full-width alike. Colors/radii are CSS
   variables so Elementor style controls can override them. */

.abt-bf {
	--abt-accent: #1E5470;
	--abt-accent-hover: #173F55;
	--abt-accent-text: #fff;
	--abt-success: #2F7D4E;
	--abt-text: #17212B;
	--abt-muted: #5B6770;
	--abt-border: #D3DBE0;
	--abt-line: #E4EAEE;
	--abt-bg: #fff;
	--abt-soft: #F5F8F7;
	--abt-error: #B42318;
	--abt-radius: 14px;
	--abt-input-radius: 12px;
	--abt-btn-radius: 10px;
	--abt-gap: 16px;
	--abt-pad: 22px;
	container-type: inline-size;
	container-name: abtbf;
	color: var(--abt-text);
	font-size: 16px;
	line-height: 1.45;
	-webkit-text-size-adjust: 100%;
}
.abt-bf *, .abt-bf *::before, .abt-bf *::after { box-sizing: border-box; }
.abt-bf [hidden] { display: none !important; }

.abt-bf__card {
	position: relative;
	background: var(--abt-bg);
	border: 1px solid var(--abt-line);
	border-radius: var(--abt-radius);
	padding: var(--abt-pad);
	box-shadow: 0 1px 2px rgba(23, 33, 43, .04), 0 8px 24px rgba(23, 33, 43, .06);
}

.abt-bf__title { margin: 0 0 6px; font-size: 1.15em; font-weight: 700; line-height: 1.25; color: var(--abt-text); }

/* Price */
.abt-bf__price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; margin: 0; }
.abt-bf__from { width: 100%; font-size: .95em; color: var(--abt-muted); }
.abt-bf__amount { font-size: 2.1em; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--abt-text); }
.abt-bf__per { color: var(--abt-muted); font-size: 1em; }
.abt-bf__note { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; font-size: .9em; color: var(--abt-muted); }
.abt-bf__note .abt-bf__icon { width: 18px; height: 18px; color: var(--abt-success); flex: none; }

.abt-bf__icon { display: inline-block; vertical-align: middle; flex: none; }

/* Grouped fields (date / travelers / time) */
.abt-bf__form { margin: 18px 0 0; }
.abt-bf__title + .abt-bf__form { margin-top: 12px; }
.abt-bf__group {
	display: grid;
	grid-template-columns: 1fr;
	border: 1px solid var(--abt-border);
	border-radius: var(--abt-input-radius);
	background: var(--abt-bg);
	position: relative;
}
.abt-bf__cell { position: relative; padding: 10px 14px 12px; min-width: 0; }
.abt-bf__cell + .abt-bf__cell { border-top: 1px solid var(--abt-border); }
.abt-bf__cell.has-error { background: #FEF3F2; }
.abt-bf__cell:first-child { border-radius: var(--abt-input-radius) var(--abt-input-radius) 0 0; }
.abt-bf__cell:last-child { border-radius: 0 0 var(--abt-input-radius) var(--abt-input-radius); }

.abt-bf__label { display: block; margin: 0 0 4px; padding: 0; font-size: .82em; font-weight: 600; color: var(--abt-text); letter-spacing: .01em; }
.abt-bf__optional { font-weight: 400; color: var(--abt-muted); }

.abt-bf__date, .abt-bf__select select {
	all: unset;
	box-sizing: border-box;
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	width: 100%; min-height: 32px;
	font: inherit; font-size: 1.02em; color: var(--abt-text);
	cursor: pointer;
}
.abt-bf__date:focus-visible, .abt-bf__select select:focus-visible { outline: 2px solid var(--abt-accent); outline-offset: 4px; border-radius: 4px; }
.abt-bf__date-value.is-placeholder { color: var(--abt-muted); }
.abt-bf__date .abt-bf__icon { color: var(--abt-text); }

.abt-bf__select { position: relative; }
.abt-bf__select select { appearance: none; -webkit-appearance: none; padding-right: 30px; background: transparent; }
.abt-bf__select select:disabled { color: var(--abt-muted); cursor: not-allowed; }
.abt-bf__select .abt-bf__icon { position: absolute; right: 0; top: 50%; transform: translateY(-50%); pointer-events: none; }

/* Travelers stepper — big tap targets */
.abt-bf__stepper { display: flex; align-items: center; gap: 6px; }
.abt-bf__step-btn {
	all: unset; box-sizing: border-box;
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; flex: none;
	border: 1px solid var(--abt-border); border-radius: 999px;
	color: var(--abt-text); background: var(--abt-bg); cursor: pointer;
	transition: border-color .15s, background .15s;
}
.abt-bf__step-btn:hover:not(:disabled) { border-color: var(--abt-text); }
.abt-bf__step-btn:focus-visible { outline: 2px solid var(--abt-accent); outline-offset: 2px; }
.abt-bf__step-btn:disabled { opacity: .35; cursor: not-allowed; }
.abt-bf__stepper input {
	all: unset; box-sizing: border-box;
	width: 100%; min-width: 2.5ch; flex: 1; text-align: center;
	font: inherit; font-size: 1.15em; font-weight: 700; color: var(--abt-text);
	-moz-appearance: textfield;
}
.abt-bf__stepper input::-webkit-outer-spin-button, .abt-bf__stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Calendar — opens inline under the date/travelers/time box, full widget width.
   Inline (not a floating popover) so it can never be wider than the widget,
   never gets clipped by Elementor columns with overflow:hidden, and scrolls
   naturally on phones. */
.abt-bf__cal {
	position: static; width: 100%; max-width: 100%; min-width: 0;
	margin: 8px 0 0; padding: 10px 10px 8px;
	background: var(--abt-bg); border: 1px solid var(--abt-border); border-radius: var(--abt-input-radius);
	box-shadow: 0 6px 18px rgba(23, 33, 43, .08);
	animation: abt-cal-in .15s ease-out;
}
@keyframes abt-cal-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.abt-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.abt-cal__title { font-weight: 700; }
.abt-cal__nav {
	all: unset; box-sizing: border-box; width: 40px; height: 40px; border-radius: 999px;
	display: inline-flex; align-items: center; justify-content: center; font-size: 26px; line-height: 1; cursor: pointer; color: var(--abt-text);
}
.abt-cal__nav:hover:not(:disabled) { background: var(--abt-soft); }
.abt-cal__nav:disabled { opacity: .25; cursor: default; }
.abt-cal__nav:focus-visible { outline: 2px solid var(--abt-accent); }
.abt-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; width: 100%; }
.abt-cal__grid.is-loading { opacity: .45; }
.abt-cal__dow { text-align: center; font-size: .75em; font-weight: 600; color: var(--abt-muted); padding: 4px 0 6px; text-transform: uppercase; }
.abt-cal__day {
	all: unset; box-sizing: border-box; min-width: 0; height: 38px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 999px; font-size: .95em; font-variant-numeric: tabular-nums; color: #B8AFA7; cursor: default;
}
.abt-cal__day.is-available { color: var(--abt-text); font-weight: 600; cursor: pointer; }
.abt-cal__day.is-available:hover { background: var(--abt-soft); box-shadow: inset 0 0 0 1px var(--abt-border); }
.abt-cal__day.is-today { text-decoration: underline; text-underline-offset: 3px; }
.abt-cal__day.is-selected { background: var(--abt-accent) !important; color: var(--abt-accent-text) !important; box-shadow: none !important; }
.abt-cal__day:focus-visible { outline: 2px solid var(--abt-accent); outline-offset: 1px; }
.abt-cal__empty, .abt-cal__loading { margin: 8px 0 0; font-size: .85em; color: var(--abt-muted); text-align: center; }

/* Price summary */
.abt-bf__summary { margin: var(--abt-gap) 0; padding: 14px 16px; border-radius: var(--abt-input-radius); background: var(--abt-soft); }
.abt-bf__summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: .92em; color: var(--abt-muted); }
.abt-bf__summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--abt-border); font-weight: 600; }
.abt-bf__summary-total strong { font-size: 1.45em; font-weight: 800; letter-spacing: -.01em; color: var(--abt-text); }

/* Guest fields */
.abt-bf__fields { display: grid; gap: 14px; }
.abt-bf__input {
	display: block; width: 100%; min-height: 50px; margin: 0; padding: 12px 14px;
	font: inherit; font-size: 16px; /* ≥16px prevents iOS zoom */
	color: var(--abt-text); background: var(--abt-bg);
	border: 1px solid var(--abt-border); border-radius: var(--abt-input-radius);
	box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
.abt-bf__input:focus { outline: none; border-color: var(--abt-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--abt-accent) 18%, transparent); }
.abt-bf__field.has-error .abt-bf__input { border-color: var(--abt-error); }
.abt-bf__hint { margin: 6px 0 0; font-size: .8em; color: var(--abt-muted); }
.abt-bf__field-error { margin: 6px 0 0; font-size: .85em; font-weight: 600; color: var(--abt-error); }

/* Payment methods */
.abt-bf__payment { margin: 18px 0 0; padding: 0; border: 0; min-width: 0; }
.abt-bf__payment legend { margin-bottom: 8px; }
.abt-bf__methods { display: grid; gap: 8px; }
.abt-bf__method {
	position: relative; display: flex; align-items: center; gap: 12px;
	min-height: 60px; padding: 12px 14px; margin: 0;
	border: 1px solid var(--abt-border); border-radius: var(--abt-input-radius);
	background: var(--abt-bg); cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s;
}
.abt-bf__method:hover { border-color: var(--abt-text); }
.abt-bf__method.is-selected { border-color: var(--abt-accent); box-shadow: inset 0 0 0 1px var(--abt-accent); background: color-mix(in srgb, var(--abt-accent) 4%, var(--abt-bg)); }
.abt-bf__method input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.abt-bf__method input:focus-visible ~ .abt-bf__radio { outline: 2px solid var(--abt-accent); outline-offset: 2px; }
.abt-bf__radio { width: 20px; height: 20px; flex: none; border: 2px solid var(--abt-border); border-radius: 999px; display: grid; place-items: center; }
.abt-bf__method.is-selected .abt-bf__radio { border-color: var(--abt-accent); }
.abt-bf__method.is-selected .abt-bf__radio::after { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--abt-accent); }
.abt-bf__method-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.abt-bf__method-title { font-weight: 600; }
.abt-bf__method-sub { font-size: .8em; color: var(--abt-muted); }
.abt-bf__method-icon { color: var(--abt-muted); display: inline-flex; }
.abt-bf__payment.has-error .abt-bf__method { border-color: var(--abt-error); }

.abt-bf__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.abt-bf__alert { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--abt-input-radius); background: #FEF3F2; color: var(--abt-error); font-size: .92em; font-weight: 600; }

/* CTA */
.abt-bf__cta {
	position: relative; display: flex; align-items: center; justify-content: center; gap: 10px;
	width: 100%; min-height: 56px; margin: 18px 0 0; padding: 14px 20px;
	font: inherit; font-size: 1.08em; font-weight: 700; letter-spacing: .02em; line-height: 1.2; text-transform: none;
	color: var(--abt-accent-text); background: var(--abt-accent);
	border: 0; border-radius: var(--abt-btn-radius); cursor: pointer;
	box-shadow: 0 6px 16px color-mix(in srgb, var(--abt-accent) 28%, transparent);
	transition: background .15s, transform .05s, box-shadow .15s;
	-webkit-tap-highlight-color: transparent;
}
.abt-bf__cta:hover { background: var(--abt-accent-hover); color: var(--abt-accent-text); }
.abt-bf__cta:active { transform: translateY(1px); }
.abt-bf__cta:focus-visible { outline: 3px solid color-mix(in srgb, var(--abt-accent) 40%, transparent); outline-offset: 2px; }
.abt-bf__cta:disabled { cursor: progress; opacity: .85; }
.abt-bf__spinner { display: none; width: 18px; height: 18px; border-radius: 999px; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: abt-spin .7s linear infinite; }
.abt-bf__spinner.is-dark { display: inline-block; border-color: var(--abt-line); border-top-color: var(--abt-accent); width: 26px; height: 26px; }
.abt-bf__cta.is-loading .abt-bf__spinner { display: inline-block; }
@keyframes abt-spin { to { transform: rotate(360deg); } }
.abt-bf__form.is-busy .abt-bf__group, .abt-bf__form.is-busy .abt-bf__fields, .abt-bf__form.is-busy .abt-bf__payment { opacity: .6; pointer-events: none; }

/* Trust list */
.abt-bf__trust { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.abt-bf__trust li { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: .9em; color: var(--abt-text); }
.abt-bf__trust .abt-bf__icon--check { color: var(--abt-success); width: 20px; height: 20px; margin-top: 1px; }

/* Payment step */
.abt-bf__pay-title, .abt-bf__done-title { margin: 0 0 12px; font-size: 1.3em; font-weight: 800; line-height: 1.25; color: var(--abt-text); }
.abt-bf__mini { padding: 14px 16px; border-radius: var(--abt-input-radius); background: var(--abt-soft); }
.abt-bf__mini-title { font-weight: 700; }
.abt-bf__mini-meta { font-size: .9em; color: var(--abt-muted); margin-top: 2px; }
.abt-bf__mini-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--abt-border); }
.abt-bf__mini-total strong { font-size: 1.35em; font-weight: 800; }
.abt-bf__pay-intro { margin: 14px 0; font-size: .92em; color: var(--abt-muted); }
.abt-bf__pay-box { min-height: 60px; position: relative; }
.abt-bf__pay-box.is-busy { opacity: .5; pointer-events: none; }
.abt-bf__pay-loading { display: flex; justify-content: center; padding: 18px; }
.abt-bf__back {
	all: unset; box-sizing: border-box; display: block; width: 100%; margin-top: 14px; padding: 10px;
	text-align: center; font-size: .92em; font-weight: 600; color: var(--abt-muted); cursor: pointer; border-radius: 8px;
}
.abt-bf__back:hover { color: var(--abt-text); background: var(--abt-soft); }
.abt-bf__back:focus-visible { outline: 2px solid var(--abt-accent); }

/* Confirmation */
.abt-bf__panel:focus { outline: none; }
.abt-bf__done { text-align: center; }
.abt-bf__done-icon {
	width: 64px; height: 64px; margin: 4px auto 14px; border-radius: 999px;
	display: flex; align-items: center; justify-content: center;
	background: var(--abt-success); color: #fff; font-size: 30px; font-weight: 800;
	animation: abt-pop .35s cubic-bezier(.2, 1.4, .4, 1);
}
.abt-bf__done-icon.is-pending { background: var(--abt-soft); color: var(--abt-accent); }
.abt-bf__done-icon.is-failed { background: #FEF3F2; color: var(--abt-error); }
@keyframes abt-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.abt-bf__done-title { text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.abt-bf__done-thanks { margin: 0 0 16px; font-size: 1.05em; font-weight: 600; }
.abt-bf__done-list { margin: 0; padding: 4px 16px; text-align: left; border: 1px solid var(--abt-line); border-radius: var(--abt-input-radius); }
.abt-bf__done-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--abt-line); }
.abt-bf__done-row:last-child { border-bottom: 0; }
.abt-bf__done-row dt { color: var(--abt-muted); font-size: .9em; margin: 0; }
.abt-bf__done-row dd { margin: 0; font-weight: 700; text-align: right; }
.abt-bf__done-row.is-tour { flex-direction: column; gap: 2px; }
.abt-bf__done-row.is-tour dd { text-align: left; font-size: 1.05em; }
.abt-bf__done-row.is-ref dd { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .03em; color: var(--abt-accent); }
.abt-bf__done-note { margin: 14px 0 0; font-size: .95em; color: var(--abt-text); }
.abt-bf__done-note.is-cash { padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--abt-accent) 8%, var(--abt-bg)); color: var(--abt-accent); font-weight: 700; }
.abt-bf__done-email { margin: 8px 0 0; font-size: .85em; color: var(--abt-muted); }
.abt-bf__done .abt-bf__cta { margin-top: 18px; }

.abt-bf-notice { padding: 14px 16px; border: 1px dashed #D9A441; border-radius: 10px; background: #FFF8E6; color: #6B4E00; font-size: 14px; }

/* Two columns — date | pickup time, adults | children (also on phones, to keep the form short). */
@container abtbf (min-width: 290px) {
	.abt-bf__group { grid-template-columns: 1fr 1fr; }
	.abt-bf__cell--date, .abt-bf__cell--adults { border-right: 1px solid var(--abt-border); }
	.abt-bf__cell--time { border-top: 0 !important; }
	.abt-bf__group .abt-bf__cell--date { border-radius: var(--abt-input-radius) 0 0 0; }
	.abt-bf__group .abt-bf__cell--time { border-radius: 0 var(--abt-input-radius) 0 0; }
	.abt-bf__group .abt-bf__cell--adults { border-radius: 0 0 0 var(--abt-input-radius); }
	.abt-bf__group .abt-bf__cell--children { border-radius: 0 0 var(--abt-input-radius) 0; }
	.abt-bf__group.no-children .abt-bf__cell--adults { grid-column: 1 / -1; border-right: 0; border-radius: 0 0 var(--abt-input-radius) var(--abt-input-radius); }
	.abt-bf__step-btn { width: 38px; height: 38px; }
}
@container abtbf (min-width: 560px) {
	.abt-bf__fields { grid-template-columns: 1fr 1fr; }
}

/* Deposit / pay now split under the total */
.abt-bf__summary-split { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--abt-line); display: grid; gap: 4px; }
.abt-bf__summary-row.is-now { color: var(--abt-text); font-weight: 600; }
.abt-bf__summary-row.is-now strong { color: var(--abt-accent); font-size: 1.1em; }
.abt-bf__summary [data-abt="lines"] { display: grid; gap: 2px; }

.abt-bf__cell--children .abt-bf__optional { font-size: .85em; margin-left: 4px; text-transform: none; letter-spacing: 0; }
@media (prefers-reduced-motion: reduce) {
	.abt-bf *, .abt-bf *::before, .abt-bf *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   Theme isolation layer.
   Themes (Hello Elementor, Astra…) and Elementor's Site Settings style ALL
   <button>, <input> and <select> elements globally — e.g. Hello Elementor
   gives every button a pink #c36 border and hover background. These rules
   win over those global styles. Customisable values are CSS variables, which
   the Elementor widget's Style controls set.
   ========================================================================== */
.abt-bf {
	--abt-input-bg: var(--abt-bg);
	--abt-input-color: var(--abt-text);
	--abt-input-border-w: 1px;
	--abt-input-pad: 12px 14px;
	--abt-input-h: 50px;
	--abt-input-size: 16px;
	--abt-btn-bg: var(--abt-accent);
	--abt-btn-color: var(--abt-accent-text);
	--abt-btn-bg-h: var(--abt-accent-hover);
	--abt-btn-color-h: var(--abt-btn-color);
	--abt-btn-pad: 14px 20px;
	--abt-btn-h: 56px;
	--abt-step-size: 44px;
	--abt-step-color: var(--abt-text);
	--abt-step-bg: var(--abt-bg);
	--abt-step-border: var(--abt-border);
}

/* Common reset for every button the widget draws */
.abt-bf .abt-bf__date, .abt-bf .abt-bf__step-btn, .abt-bf .abt-cal__nav, .abt-bf .abt-cal__day, .abt-bf .abt-bf__back, .abt-bf .abt-bf__cta {
	-webkit-appearance: none !important; appearance: none !important;
	margin: 0 !important; text-decoration: none !important; text-shadow: none !important;
	font-family: inherit !important; letter-spacing: normal; transition: background-color .15s, border-color .15s, color .15s;
	outline-offset: 2px;
}

/* Date field trigger: plain text row */
.abt-bf .abt-bf__date, .abt-bf .abt-bf__date:hover, .abt-bf .abt-bf__date:focus, .abt-bf .abt-bf__date:active {
	display: flex !important; align-items: center !important; justify-content: space-between !important;
	width: 100% !important; min-height: 32px !important; height: auto !important; padding: 0 !important;
	background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
	color: var(--abt-input-color) !important; font-size: var(--abt-input-size) !important; font-weight: 400 !important;
	line-height: 1.3 !important; text-transform: none !important; text-align: left !important; white-space: nowrap;
}

/* Calendar navigation + days */
.abt-bf .abt-cal__nav, .abt-bf .abt-cal__nav:hover, .abt-bf .abt-cal__nav:focus, .abt-bf .abt-cal__nav:disabled {
	width: 36px !important; height: 36px !important; min-width: 0 !important; min-height: 0 !important; padding: 0 !important;
	border: 0 !important; border-radius: 999px !important; box-shadow: none !important;
	background: transparent !important; color: var(--abt-text) !important;
	font-size: 26px !important; line-height: 1 !important; font-weight: 400 !important;
}
.abt-bf .abt-cal__nav:hover:not(:disabled) { background: var(--abt-soft) !important; }
.abt-bf .abt-cal__nav:disabled { opacity: .25 !important; }

.abt-bf .abt-cal__day, .abt-bf .abt-cal__day:hover, .abt-bf .abt-cal__day:focus, .abt-bf .abt-cal__day:disabled {
	display: flex !important; align-items: center !important; justify-content: center !important;
	width: 100% !important; min-width: 0 !important; max-width: 100% !important; height: 38px !important; min-height: 0 !important; aspect-ratio: auto !important;
	padding: 0 !important; border: 0 !important; border-radius: 999px !important; box-shadow: none !important;
	background: transparent !important; color: #C4BCB4 !important;
	font-size: 15px !important; font-weight: 400 !important; line-height: 1 !important; text-transform: none !important;
	opacity: 1 !important; cursor: default;
}
.abt-bf .abt-cal__day.is-available { color: var(--abt-text) !important; font-weight: 600 !important; cursor: pointer; }
.abt-bf .abt-cal__day.is-available:hover { background: var(--abt-soft) !important; box-shadow: inset 0 0 0 1px var(--abt-border) !important; }
.abt-bf .abt-cal__day.is-selected, .abt-bf .abt-cal__day.is-selected:hover, .abt-bf .abt-cal__day.is-selected:focus {
	background: var(--abt-accent) !important; color: var(--abt-accent-text) !important; box-shadow: none !important;
}

/* Traveler +/- */
.abt-bf .abt-bf__step-btn, .abt-bf .abt-bf__step-btn:hover, .abt-bf .abt-bf__step-btn:focus, .abt-bf .abt-bf__step-btn:disabled {
	display: inline-flex !important; align-items: center !important; justify-content: center !important;
	width: var(--abt-step-size) !important; height: var(--abt-step-size) !important; min-height: 0 !important; flex: none !important;
	padding: 0 !important; border: 1px solid var(--abt-step-border) !important; border-radius: 999px !important;
	background: var(--abt-step-bg) !important; color: var(--abt-step-color) !important; box-shadow: none !important;
}
.abt-bf .abt-bf__step-btn:hover:not(:disabled) { border-color: var(--abt-step-color) !important; }
.abt-bf .abt-bf__step-btn:disabled { opacity: .35 !important; }

/* Links styled as buttons (back / another booking) */
.abt-bf .abt-bf__back, .abt-bf .abt-bf__back:focus {
	display: block !important; width: 100% !important; min-height: 0 !important; margin-top: 14px !important; padding: 10px !important;
	border: 0 !important; border-radius: 8px !important; box-shadow: none !important; background: transparent !important;
	color: var(--abt-muted) !important; font-size: .92em !important; font-weight: 600 !important; text-transform: none !important; text-align: center !important;
}
.abt-bf .abt-bf__back:hover { background: var(--abt-soft) !important; color: var(--abt-text) !important; }

/* BOOK NOW */
.abt-bf .abt-bf__cta, .abt-bf .abt-bf__cta:focus, .abt-bf .abt-bf__cta:active, .abt-bf .abt-bf__cta:disabled {
	display: flex !important; width: 100% !important; min-height: var(--abt-btn-h) !important; height: auto !important;
	margin-top: 18px !important; padding: var(--abt-btn-pad) !important;
	border: 0 !important; border-radius: var(--abt-btn-radius) !important;
	background: var(--abt-btn-bg) !important; color: var(--abt-btn-color) !important;
}
.abt-bf .abt-bf__cta:hover { background: var(--abt-btn-bg-h) !important; color: var(--abt-btn-color-h) !important; border: 0 !important; }

/* Text inputs, WhatsApp, email */
.abt-bf input.abt-bf__input, .abt-bf input.abt-bf__input:focus, .abt-bf input.abt-bf__input:hover {
	display: block !important; width: 100% !important; max-width: none !important; height: auto !important;
	min-height: var(--abt-input-h) !important; margin: 0 !important; padding: var(--abt-input-pad) !important;
	background: var(--abt-input-bg) !important; color: var(--abt-input-color) !important;
	border: var(--abt-input-border-w) solid var(--abt-border) !important; border-radius: var(--abt-input-radius) !important;
	font-family: inherit !important; font-size: var(--abt-input-size) !important; line-height: 1.3 !important; box-shadow: none !important;
}
.abt-bf input.abt-bf__input:focus { border-color: var(--abt-accent) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--abt-accent) 18%, transparent) !important; outline: none !important; }
.abt-bf .abt-bf__field.has-error input.abt-bf__input { border-color: var(--abt-error) !important; }

/* Number inside the stepper + time select: borderless, inside the grouped box */
.abt-bf .abt-bf__stepper input, .abt-bf .abt-bf__stepper input:focus {
	width: 100% !important; min-width: 2.5ch !important; height: auto !important; min-height: 0 !important; flex: 1 !important;
	margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
	background: transparent !important; color: var(--abt-input-color) !important; text-align: center !important;
	font-family: inherit !important; font-size: 1.15em !important; font-weight: 700 !important; -moz-appearance: textfield !important;
}
.abt-bf .abt-bf__select select, .abt-bf .abt-bf__select select:focus, .abt-bf .abt-bf__select select:disabled {
	-webkit-appearance: none !important; appearance: none !important; display: block !important;
	width: 100% !important; max-width: none !important; height: auto !important; min-height: 32px !important;
	margin: 0 !important; padding: 0 30px 0 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
	background: transparent none !important; color: var(--abt-input-color) !important;
	font-family: inherit !important; font-size: var(--abt-input-size) !important; line-height: 1.3 !important;
}
.abt-bf .abt-bf__select select:disabled { color: var(--abt-muted) !important; }

/* Grouped box + payment cards border width follow the input border setting */
.abt-bf .abt-bf__group { border-width: var(--abt-input-border-w) !important; border-color: var(--abt-border) !important; border-style: solid !important; }
.abt-bf .abt-bf__cell { padding: 10px 14px 12px; }

/* Hidden radio inside payment cards, fieldset/legend resets */
.abt-bf .abt-bf__method input[type="radio"] { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; margin: 0 !important; }
.abt-bf fieldset.abt-bf__payment { border: 0 !important; padding: 0 !important; margin: 18px 0 0 !important; background: none !important; }
.abt-bf .abt-bf__payment legend { float: none !important; width: auto !important; padding: 0 !important; margin: 0 0 8px !important; border: 0 !important; font-size: .82em !important; }
.abt-bf label.abt-bf__label, .abt-bf .abt-bf__label { text-transform: none; }

/* Typography that site-wide button/label styles would otherwise override
   (no !important, so the widget's Elementor typography controls still win). */
.abt-bf .abt-bf__cta { font-size: 1.08em; font-weight: 700; line-height: 1.2; letter-spacing: .02em; text-transform: none; white-space: normal; }
.abt-bf .abt-bf__step-btn, .abt-bf .abt-cal__day, .abt-bf .abt-bf__date { letter-spacing: normal; }
.abt-bf .abt-bf__method, .abt-bf .abt-bf__method-text, .abt-bf .abt-bf__trust li { line-height: 1.4; }
.abt-bf .abt-bf__label { line-height: 1.3; }

/* Calendar sizing safety */
.abt-bf .abt-cal__dow { min-width: 0; overflow: hidden; text-overflow: clip; font-size: 11px; padding: 2px 0 4px; }
.abt-bf .abt-cal__head { margin-bottom: 4px; }
@container abtbf (max-width: 340px) {
	.abt-bf .abt-cal__day, .abt-bf .abt-cal__day:hover, .abt-bf .abt-cal__day:focus, .abt-bf .abt-cal__day:disabled { height: 34px !important; font-size: 14px !important; }
	.abt-bf .abt-bf__cal { padding: 8px 6px 6px; }
}

/* ==========================================================================
   Floating "Book Now" bar (lives in <body>, outside the widget).
   Mobile/tablet: full-width bottom bar with price + button.
   Desktop ("All devices"): pill in the bottom-right corner.
   ========================================================================== */
.abt-fab {
	--abt-fab-bg: var(--abt-accent, #1E5470);
	--abt-fab-color: var(--abt-accent-text, #fff);
	--abt-fab-bar: #fff;
	--abt-fab-offset: 0px;
	position: fixed; z-index: 9990; left: 0; right: 0; bottom: var(--abt-fab-offset);
	display: none; align-items: center; justify-content: space-between; gap: 12px;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
	background: var(--abt-fab-bar); color: var(--abt-text, #17212B);
	box-shadow: 0 -6px 24px rgba(23, 33, 43, .14); border-top: 1px solid rgba(23, 33, 43, .08);
	font-family: inherit; line-height: 1.2; box-sizing: border-box;
	transform: translateY(calc(100% + var(--abt-fab-offset) + 20px)); transition: transform .25s ease;
}
.abt-fab.is-visible { transform: translateY(0); }
.abt-fab__price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 5px; min-width: 0; }
.abt-fab__from { width: 100%; font-size: 12px; color: var(--abt-muted, #5B6770); }
.abt-fab__amount { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.abt-fab__per { font-size: 13px; color: var(--abt-muted, #5B6770); }
.abt-fab .abt-fab__btn, .abt-fab .abt-fab__btn:hover, .abt-fab .abt-fab__btn:focus {
	-webkit-appearance: none !important; appearance: none !important;
	flex: 0 0 auto; min-width: 150px; min-height: 50px !important; margin: 0 !important; padding: 12px 22px !important;
	border: 0 !important; border-radius: var(--abt-btn-radius, 10px) !important;
	background: var(--abt-fab-bg) !important; color: var(--abt-fab-color) !important;
	font-family: inherit !important; font-size: 16px !important; font-weight: 700 !important; letter-spacing: .02em !important; text-transform: none !important;
	line-height: 1.2 !important; cursor: pointer; box-shadow: 0 6px 16px rgba(23, 33, 43, .18) !important; white-space: nowrap;
}
.abt-fab .abt-fab__btn:hover { filter: brightness(.92); }
.abt-fab .abt-fab__btn:focus-visible { outline: 3px solid rgba(166, 58, 36, .35) !important; outline-offset: 2px; }
.abt-fab.is-button-only { justify-content: center; }
.abt-fab.is-button-only .abt-fab__btn { flex: 1 1 auto; max-width: 480px; }

@media (max-width: 767px) { .abt-fab--mobile, .abt-fab--tablet, .abt-fab--all { display: flex; } }
@media (min-width: 768px) and (max-width: 1024px) { .abt-fab--tablet, .abt-fab--all { display: flex; } }
@media (min-width: 1025px) {
	.abt-fab--all {
		display: flex; left: auto; right: 24px; bottom: calc(24px + var(--abt-fab-offset));
		padding: 8px 8px 8px 20px; border-radius: 999px; border: 1px solid rgba(23, 33, 43, .08);
		box-shadow: 0 10px 30px rgba(23, 33, 43, .18);
		transform: translateY(calc(100% + 60px + var(--abt-fab-offset)));
	}
	.abt-fab--all.is-visible { transform: translateY(0); }
	.abt-fab--all .abt-fab__from { width: auto; }
	.abt-fab--all .abt-fab__btn { border-radius: 999px !important; min-height: 46px !important; }
}
/* Keep the page footer reachable above the bar on phones. */
@media (max-width: 1024px) { body.abt-fab-open { padding-bottom: 80px; } }

/* Brief highlight when the visitor arrives from the floating button. */
.abt-bf { scroll-margin-top: 90px; }
.abt-bf.is-highlight .abt-bf__card { animation: abt-highlight 1.4s ease-out; }
@keyframes abt-highlight {
	0%, 30% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--abt-accent) 35%, transparent), 0 8px 24px rgba(23, 33, 43, .06); }
	100% { box-shadow: 0 1px 2px rgba(23, 33, 43, .04), 0 8px 24px rgba(23, 33, 43, .06); }
}
@media (prefers-reduced-motion: reduce) { .abt-fab { transition: none; } }

/* Payment method list shown under the plan (deposit / full) */
.abt-bf fieldset.abt-bf__online { margin-top: 14px !important; }

/* Payment options that are switched off stay visible but can't be chosen */
.abt-bf .abt-bf__method.is-disabled { opacity: .55; cursor: not-allowed; }
.abt-bf .abt-bf__method.is-disabled:hover { border-color: var(--abt-border); }
/* Amount to pay now / Remaining balance / Total — always shown under the payment options */
.abt-bf .abt-bf__plans + .abt-bf__summary { margin-top: 12px; }
.abt-bf__summary-split { margin-top: 0; padding-top: 0; border-top: 0; }
.abt-bf [data-abt="lines"]:not(:empty) + .abt-bf__summary-split { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--abt-line); }
.abt-bf__summary-row.is-balance { color: var(--abt-text); }
.abt-bf .abt-bf__form > .abt-bf__fields { margin-top: var(--abt-gap); }

/* ==========================================================================
   Shorter form on phones: fewer scrolls from the date to the Book button.
   ========================================================================== */
/* Only one online method (e.g. PayPal): it is chosen automatically, no need to show it. */
.abt-bf .abt-bf__online.is-single { display: none !important; }

@container abtbf (max-width: 480px) {
	.abt-bf { --abt-input-h: 46px; --abt-pad: 16px; --abt-gap: 12px; }
	.abt-bf .abt-bf__fields { gap: 10px; }
	.abt-bf .abt-bf__hint--hotel { display: none; }
	.abt-bf .abt-bf__hint { margin-top: 4px; font-size: .75em; }
	.abt-bf fieldset.abt-bf__payment { margin-top: 14px !important; }
	.abt-bf .abt-bf__payment legend { margin-bottom: 6px !important; }

	/* "How would you like to pay?" as three compact tiles in one row */
	.abt-bf .abt-bf__plans .abt-bf__methods { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
	.abt-bf .abt-bf__plan { flex-direction: column; justify-content: center; text-align: center; gap: 0; min-height: 52px; padding: 8px 6px; }
	.abt-bf .abt-bf__plan .abt-bf__radio, .abt-bf .abt-bf__plan .abt-bf__method-icon, .abt-bf .abt-bf__plan .abt-bf__method-sub { display: none; }
	.abt-bf .abt-bf__plan .abt-bf__method-text { align-items: center; flex: 0 1 auto; }
	.abt-bf .abt-bf__plan .abt-bf__method-title { font-size: .84em; line-height: 1.2; }

	/* PayPal / Card side by side */
	.abt-bf .abt-bf__online .abt-bf__methods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
	.abt-bf .abt-bf__online .abt-bf__method { min-height: 48px; padding: 8px 10px; gap: 8px; }
	.abt-bf .abt-bf__online .abt-bf__method-sub, .abt-bf .abt-bf__online .abt-bf__method-icon { display: none; }
	.abt-bf .abt-bf__online .abt-bf__method-title { font-size: .88em; }

	.abt-bf .abt-bf__plans + .abt-bf__summary { margin-top: 10px; }
	.abt-bf .abt-bf__summary { padding: 12px 14px; margin-bottom: 12px; }
	.abt-bf .abt-bf__trust { margin-top: 12px; gap: 6px; }
	.abt-bf .abt-bf__trust li { font-size: .82em; gap: 8px; }
	.abt-bf .abt-bf__trust .abt-bf__icon--check { width: 16px; height: 16px; }
}

/* Narrow 2×2 grid: keep the date and steppers inside their half */
@container abtbf (max-width: 400px) {
	.abt-bf .abt-bf__cell { padding: 8px 10px 10px; }
	.abt-bf .abt-bf__date-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
	.abt-bf .abt-bf__date { gap: 6px; }
	.abt-bf .abt-bf__step-btn { width: 36px !important; height: 36px !important; min-width: 36px; }
	.abt-bf .abt-bf__stepper { gap: 2px; }
	.abt-bf .abt-bf__cell--children .abt-bf__optional { margin-left: 2px; font-size: .78em; white-space: nowrap; }
}
