/* Fantastico Booking – website widgets. Colours and fonts are CSS variables so Elementor controls can restyle them. */
.fhb {
	--fhb-gold: #c29a4b;
	--fhb-gold-dark: #a8823a;
	--fhb-dark: #161a21;
	--fhb-card: #ffffff;
	--fhb-cream: #f7f2ea;
	--fhb-text: #2b2b2b;
	--fhb-muted: #6b6457;
	--fhb-border: #e6ded0;
	--fhb-btn-text: #1b1f26;
	--fhb-radius: 10px;
	--fhb-btn-radius: 4px;
	--fhb-heading-font: "Cinzel", "Playfair Display", Georgia, serif;
	color: var(--fhb-text);
	font-size: 15px;
	line-height: 1.5;
	box-sizing: border-box;
}
.fhb *, .fhb *::before, .fhb *::after { box-sizing: inherit; }
.fhb svg { width: 18px; height: 18px; flex: none; }
.fhb h2, .fhb h3, .fhb .fhb-title, .fhb .fhb-section-title {
	font-family: var(--fhb-heading-font);
	color: var(--fhb-dark);
	letter-spacing: .04em;
	text-transform: uppercase;
	margin: 0 0 .4em;
	line-height: 1.2;
}
.fhb-muted { color: var(--fhb-muted); }
.fhb-small { font-size: 12px; }
.fhb-hp { position: absolute !important; left: -9999px !important; }

/* Buttons */
.fhb .fhb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 26px; border: 1px solid transparent; border-radius: var(--fhb-btn-radius);
	font: inherit; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
	cursor: pointer; text-decoration: none; transition: background .2s, color .2s, border-color .2s;
	white-space: nowrap;
}
.fhb .fhb-btn:disabled { opacity: .6; cursor: wait; }
.fhb .fhb-btn-gold { background: var(--fhb-gold); color: var(--fhb-btn-text); }
.fhb .fhb-btn-gold:hover { background: var(--fhb-gold-dark); color: var(--fhb-btn-text); }
.fhb .fhb-btn-dark { background: var(--fhb-dark); color: var(--fhb-gold); padding: 15px 48px; font-family: var(--fhb-heading-font); font-size: 15px; }
.fhb .fhb-btn-dark:hover { background: #000; }
.fhb .fhb-btn-outline { background: transparent; color: var(--fhb-gold-dark); border-color: var(--fhb-gold); }
.fhb .fhb-btn-outline:hover { background: var(--fhb-gold); color: var(--fhb-btn-text); }
.fhb .fhb-btn-sm { padding: 8px 14px; font-size: 12px; }
.fhb .fhb-link { background: none; border: 0; color: var(--fhb-gold-dark); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; margin-left: 6px; }

/* Fields */
.fhb-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px 20px; }
.fhb-fields-2 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.fhb-f-wide { grid-column: span 2; }
.fhb-f-full { display: block; margin-top: 16px; }
.fhb-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.fhb .fhb-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fhb-muted); }
.fhb-input {
	display: flex; align-items: center; gap: 10px; padding: 0 12px;
	background: #fff; border: 1px solid var(--fhb-border); border-radius: 4px; color: var(--fhb-muted);
	min-height: 46px;
}
.fhb-input:focus-within { border-color: var(--fhb-gold); box-shadow: 0 0 0 3px rgba(194, 154, 75, .18); }
.fhb-input input, .fhb-input select, .fhb-input textarea {
	flex: 1; min-width: 0; border: 0 !important; outline: 0; background: transparent !important; box-shadow: none !important;
	font: inherit; color: var(--fhb-text); padding: 10px 0 !important; margin: 0; height: auto; appearance: auto;
}
.fhb-ages { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px 20px; }
.fhb-ages:not(:empty) { margin-top: 16px; }
.fhb-submit { display: flex; justify-content: center; margin-top: 22px; }

/* Search bar (dark, over hero image) */
.fhb-layout-bar .fhb-search-bar {
	background: rgba(18, 21, 27, .88); border: 1px solid rgba(194, 154, 75, .45); border-radius: var(--fhb-radius);
	padding: 16px 22px; backdrop-filter: blur(6px);
}
.fhb-layout-bar .fhb-search-form { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.fhb-layout-bar .fhb-fields { flex: 1; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); }
.fhb-layout-bar .fhb-ages { flex-basis: 100%; order: 2; }
.fhb-layout-bar .fhb-submit { margin: 0; }
.fhb-layout-bar .fhb-label { color: #cfc6b4; }
.fhb-layout-bar .fhb-input { background: transparent; border-color: transparent; color: var(--fhb-gold); padding-left: 0; }
.fhb-layout-bar .fhb-input input, .fhb-layout-bar .fhb-input select { color: #fff; color-scheme: dark; }
.fhb-layout-bar .fhb-input select option { color: #111; }
.fhb-layout-bar .fhb-flash { margin-top: 10px; }

/* Card search */
.fhb-panel { background: var(--fhb-card); border: 1px solid var(--fhb-border); border-radius: var(--fhb-radius); padding: 28px; box-shadow: 0 12px 40px rgba(22, 26, 33, .08); }
.fhb-search-card { text-align: center; }
.fhb-search-card .fhb-sub { margin: 0 0 22px; }
.fhb-search-card form { text-align: left; border: 1px solid var(--fhb-border); border-radius: 6px; padding: 20px; }

/* Steps */
.fhb-steps ol { list-style: none; display: flex; justify-content: center; gap: 10px; margin: 32px 0 8px; padding: 0; flex-wrap: wrap; }
.fhb-steps li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fhb-muted); letter-spacing: .05em; text-transform: uppercase; }
.fhb-steps li + li::before { content: ""; width: 28px; height: 1px; background: var(--fhb-border); margin-right: 2px; }
.fhb-steps li span { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--fhb-border); font-weight: 700; }
.fhb-steps li.is-active { color: var(--fhb-dark); font-weight: 600; }
.fhb-steps li.is-active span { background: var(--fhb-gold); border-color: var(--fhb-gold); color: var(--fhb-btn-text); }
.fhb-steps li.is-done span { background: var(--fhb-dark); color: var(--fhb-gold); border-color: var(--fhb-dark); }
.fhb-steps li span svg { width: 14px; height: 14px; }

/* Results */
.fhb-section-title { text-align: center; margin-top: 36px !important; font-size: 26px; }
.fhb-stars-line { display: flex; justify-content: center; align-items: center; gap: 14px; color: var(--fhb-gold); margin-bottom: 10px; }
.fhb-stars-line::before, .fhb-stars-line::after { content: ""; width: 80px; height: 1px; background: var(--fhb-gold); }
.fhb-stay-line { text-align: center; color: var(--fhb-muted); margin: 0 0 24px; }
.fhb-hint { text-align: center; color: var(--fhb-muted); }
.fhb-loading { text-align: center; padding: 40px; color: var(--fhb-muted); }
.fhb-flash { background: #fbf3e4; border-left: 3px solid var(--fhb-gold); padding: 12px 16px; margin: 14px 0; border-radius: 4px; color: var(--fhb-text); }
.fhb-flash-ok { border-color: #3d8b5a; background: #eef7f1; }

.fhb-rooms-grid { display: grid; grid-template-columns: repeat(var(--fhb-cols, 3), minmax(0, 1fr)); gap: 24px; }
.fhb-room-card { background: var(--fhb-card); border: 1px solid var(--fhb-border); border-radius: var(--fhb-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.fhb-room-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(22, 26, 33, .12); }
.fhb-room-img { aspect-ratio: 16 / 10; overflow: hidden; margin: 8px 8px 0; border-radius: calc(var(--fhb-radius) - 4px); background: var(--fhb-cream); }
.fhb-room-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fhb-room-body { padding: 18px 22px 22px; display: flex; flex-direction: column; flex: 1; text-align: center; }
.fhb-room-name { font-size: 20px; margin-bottom: 2px !important; }
.fhb-stars { color: var(--fhb-gold); letter-spacing: 4px; font-size: 13px; margin-bottom: 8px; }
.fhb-room-desc { margin: 0 0 14px; color: var(--fhb-muted); font-size: 14px; }
.fhb-amenities { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; text-align: left; font-size: 13px; }
.fhb-amenities li { position: relative; padding-left: 16px; }
.fhb-amenities li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border: 1px solid var(--fhb-gold); transform: rotate(45deg); }
.fhb-price { margin-top: auto; margin-bottom: 14px; text-align: left; }
.fhb-price small { display: block; text-transform: uppercase; font-size: 11px; letter-spacing: .08em; color: var(--fhb-muted); }
.fhb-price { white-space: nowrap; }
.fhb-price strong { font-family: var(--fhb-heading-font); font-size: 24px; color: var(--fhb-dark); }
.fhb-per-night { display: block; font-size: 13px; color: var(--fhb-muted); }
.fhb-left { color: #b2552f; font-size: 13px; margin: -6px 0 10px; text-align: left; }
.fhb-actions { display: flex; gap: 12px; justify-content: center; }
.fhb-actions .fhb-btn { flex: 1; }

.fhb-cart { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 22px; padding: 18px 22px; border-color: var(--fhb-gold); }
.fhb-cart-item { margin: 2px 0; }
.fhb-cart-total { display: flex; align-items: center; gap: 16px; }
.fhb-cart-total strong { font-family: var(--fhb-heading-font); font-size: 22px; }

.fhb-packages { display: grid; gap: 20px; }
.fhb-package { display: grid; grid-template-columns: 240px 1fr; gap: 22px; padding: 18px; }
.fhb-package img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.fhb-includes { list-style: none; padding: 0; margin: 8px 0 14px; display: grid; gap: 4px; }
.fhb-includes li { display: flex; gap: 8px; align-items: center; }
.fhb-includes svg { color: var(--fhb-gold); width: 16px; height: 16px; }
.fhb-offer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--fhb-border); }
.fhb-offer span { flex: 1; }

/* Extras */
.fhb-extras { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
.fhb-extra { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 20px; }
.fhb-extra p { margin: 2px 0; font-size: 14px; color: var(--fhb-muted); }
.fhb-qty { display: flex; align-items: center; gap: 8px; }
.fhb-qty select { padding: 6px 10px; border: 1px solid var(--fhb-border); border-radius: 4px; }
.fhb-toggle input { position: absolute; opacity: 0; }
.fhb-toggle span { display: block; width: 46px; height: 26px; border-radius: 13px; background: var(--fhb-border); position: relative; cursor: pointer; transition: background .2s; }
.fhb-toggle span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.fhb-toggle input:checked + span { background: var(--fhb-gold); }
.fhb-toggle input:checked + span::after { transform: translateX(20px); }
.fhb-toggle input:focus-visible + span { outline: 2px solid var(--fhb-dark); }
.fhb-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }

/* Guest form + summary */
.fhb-guest-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 24px; align-items: start; margin-top: 24px; }
.fhb-summary { position: sticky; top: 100px; }
.fhb-summary table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 10px; }
.fhb-summary td { padding: 7px 0; border-bottom: 1px solid var(--fhb-border); vertical-align: top; }
.fhb-summary td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
.fhb-summary .fhb-total td { font-weight: 700; font-size: 17px; border-bottom: 0; border-top: 2px solid var(--fhb-gold); padding-top: 12px; }
.fhb-pm { border: 0; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.fhb-radio, .fhb-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.fhb-radio { padding: 12px 14px; border: 1px solid var(--fhb-border); border-radius: 6px; }
.fhb-radio:has(input:checked) { border-color: var(--fhb-gold); background: #fdf9f1; }
.fhb-radio input, .fhb-check input { accent-color: var(--fhb-gold); margin-top: 3px; }
.fhb-check { margin-top: 18px; font-size: 14px; }
.fhb-check a { color: var(--fhb-gold-dark); }

/* Result */
.fhb-result { text-align: center; max-width: 640px; margin: 30px auto; }
.fhb-result-icon { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: var(--fhb-gold); color: var(--fhb-btn-text); display: flex; align-items: center; justify-content: center; }
.fhb-result-icon svg { width: 32px; height: 32px; }
.fhb-result.is-error .fhb-result-icon { background: #d9a28f; }
.fhb-code { font-family: var(--fhb-heading-font); font-size: 28px; letter-spacing: .12em; color: var(--fhb-gold-dark); margin: 6px 0; }

/* Chat buttons */
.fhb-chat { display: flex; gap: 10px; }
.fhb-chat-floating { position: fixed; right: 18px; bottom: 18px; flex-direction: column; z-index: 9990; }
.fhb-chat-btn { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.25); transition: transform .2s; }
.fhb-chat-btn:hover { transform: scale(1.08); color: #fff; }
.fhb-chat-btn svg { width: 26px; height: 26px; }
.fhb-chat-whatsapp { background: #25d366; }
.fhb-chat-viber { background: #7360f2; }
.fhb-chat-messenger { background: linear-gradient(45deg, #0099ff, #a033ff 60%, #ff5280); }

@media (max-width: 1024px) {
	.fhb-rooms-grid { grid-template-columns: repeat(min(var(--fhb-cols, 3), 2), minmax(0, 1fr)); }
	.fhb-guest-grid { grid-template-columns: 1fr; }
	.fhb-summary { position: static; }
}
@media (max-width: 680px) {
	.fhb-rooms-grid { grid-template-columns: 1fr; }
	.fhb-f-wide { grid-column: auto; }
	.fhb-fields { grid-template-columns: 1fr 1fr; }
	.fhb-layout-bar .fhb-search-form { flex-direction: column; align-items: stretch; }
	.fhb-layout-bar .fhb-submit .fhb-btn { width: 100%; }
	.fhb-panel { padding: 18px; }
	.fhb-package { grid-template-columns: 1fr; }
	.fhb-cart, .fhb-cart-total { flex-direction: column; align-items: stretch; }
	.fhb-chat-floating { right: 12px; bottom: 12px; }
	.fhb-chat-btn { width: 44px; height: 44px; }
}

/* Layout follows the widget's own width (Elementor columns), not just the viewport. */
.fhb-engine-root, .fhb-rooms-grid { container-type: inline-size; }
@container (max-width: 900px) {
	.fhb-guest-grid { grid-template-columns: 1fr; }
	.fhb-summary { position: static; }
	.fhb-engine-body .fhb-rooms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 600px) {
	.fhb-engine-body .fhb-rooms-grid { grid-template-columns: 1fr; }
	.fhb-package { grid-template-columns: 1fr; }
}

/* Events, contact form, language switcher */
.fhb-event-date { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 14px; font-size: 14px; }
.fhb-event-date svg { color: var(--fhb-gold); }
.fhb-empty { text-align: center; color: var(--fhb-muted); padding: 30px; }
.fhb .fhb-btn-block { width: 100%; margin-top: 16px; }
.fhb-contact .fhb-field { margin: 0; }
.fhb-lang { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; letter-spacing: .05em; }
.fhb-lang a { color: inherit; text-decoration: none; }
.fhb-lang a.is-current, .fhb-lang a:hover { color: var(--fhb-gold, #c29a4b); }
.fhb-lang span { opacity: .6; }
