/* H Black Booking — customer booking form */
.hbb, .hbb-modal {
	--hbb-gold: #A7946B;
	--hbb-gold-2: #C7B48A;
	--hbb-ink: #08080A;
	--hbb-radius: 4px;
	--hbb-font: 'Lexend', 'Helvetica Neue', Arial, sans-serif;

	/* Light theme tokens */
	--hbb-surface: #fff;
	--hbb-surface-2: #fff;
	--hbb-field: #fff;
	--hbb-text: #1a1a1a;
	--hbb-text-2: #444;
	--hbb-muted: #77736a;
	--hbb-line: #E4DFD4;
	--hbb-line-2: #f0ece4;
	--hbb-soft: #F6F3EE;
	--hbb-hover: #F4EFE4;
	--hbb-head: #08080A;
	--hbb-btn-bg: #08080A;
	--hbb-btn-fg: #fff;
	--hbb-tab-ink: #08080A;
	--hbb-date: #1a1a1a;
	--hbb-err: #b42318;
	--hbb-err-bg: #fef3f2;
	--hbb-ok: #0f7b4a;
	--hbb-notice-fg: #5c4f31;
	--hbb-notice-bg: #F4EFE4;
	--hbb-placeholder: #a9a49a;
	--hbb-shadow: 0 18px 50px -20px rgba(8, 8, 10, .25);
	font-family: var(--hbb-font);
	color: var(--hbb-text);
	-webkit-font-smoothing: antialiased;
}

/* Dark theme tokens (matches hblackserviceseattle.com) */
.hbb--dark, .hbb-modal--dark {
	color-scheme: dark;
	--hbb-surface: #111112;
	--hbb-surface-2: #18181a;
	--hbb-field: rgba(255, 255, 255, .06);
	--hbb-text: #F2EFE8;
	--hbb-text-2: #C9C5B8;
	--hbb-muted: #9a958a;
	--hbb-line: rgba(255, 255, 255, .16);
	--hbb-line-2: rgba(255, 255, 255, .08);
	--hbb-soft: #1b1a18;
	--hbb-hover: rgba(167, 148, 107, .16);
	--hbb-head: #000;
	--hbb-btn-bg: #A7946B;
	--hbb-btn-fg: #08080A;
	--hbb-tab-ink: #A7946B;
	--hbb-date: #C7B48A;
	--hbb-err: #ff8f80;
	--hbb-err-bg: rgba(180, 35, 24, .16);
	--hbb-ok: #6fd6a2;
	--hbb-notice-fg: #e6d6b0;
	--hbb-notice-bg: rgba(167, 148, 107, .14);
	--hbb-placeholder: #8a867c;
	--hbb-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
}

.hbb *, .hbb-modal * { box-sizing: border-box; }
.hbb [hidden], .hbb-modal [hidden] { display: none !important; }
.hbb button, .hbb-modal button, .hbb input, .hbb-modal input, .hbb select, .hbb-modal select, .hbb textarea, .hbb-modal textarea { font-family: inherit; }

/* ---------- Step 1 card ---------- */
.hbb { container-type: inline-size; width: 100%; position: relative; z-index: 20; }
.hbb-card { background: var(--hbb-surface); border: 1px solid var(--hbb-line); border-radius: 8px; padding: 18px 16px 16px; box-shadow: var(--hbb-shadow); margin: 0; }
.hbb--dark .hbb-card { background: linear-gradient(180deg, rgba(24, 23, 21, .94), rgba(10, 10, 11, .96)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hbb-card__title { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--hbb-gold); text-align: center; margin: 0 0 12px; font-weight: 500; }

.hbb-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--hbb-soft); border: 1px solid var(--hbb-line-2); border-radius: 6px; padding: 4px; margin-bottom: 14px; }
.hbb-tab { position: relative; z-index: 1; appearance: none; border: 0; background: transparent; padding: 10px 6px; font-size: 14px; font-weight: 500; color: var(--hbb-muted); cursor: pointer; border-radius: 4px; transition: color .2s; letter-spacing: .2px; white-space: nowrap; }
.hbb-tab[aria-selected="true"] { color: var(--hbb-btn-fg); }
.hbb-tabs__ink { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--hbb-tab-ink); border-radius: 4px; transition: transform .28s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.hbb[data-service="hourly"] .hbb-tabs__ink { transform: translateX(100%); }

.hbb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hbb-span-2 { grid-column: span 2; }
.hbb-field { min-width: 0; position: relative; }
.hbb-field label, .hbb-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--hbb-muted); margin: 0 0 5px; }
.hbb-opt { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .8; }
.hbb-input { position: relative; }
.hbb-input input, .hbb-input select, .hbb-input textarea {
	width: 100%; height: 48px; margin: 0; padding: 0 14px; font-size: 16px; line-height: 1.2; color: var(--hbb-text);
	background: var(--hbb-field); border: 1px solid var(--hbb-line); border-radius: var(--hbb-radius);
	box-shadow: none; outline: none; transition: border-color .15s, box-shadow .15s, background .15s; -webkit-appearance: none; appearance: none;
}
.hbb-input textarea { height: auto; min-height: 84px; padding: 12px 14px; resize: vertical; }
.hbb-input select { padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23A7946B' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
.hbb-input select option { background: var(--hbb-surface); color: var(--hbb-text); }
.hbb-input input[type="date"] { cursor: pointer; color: var(--hbb-date); }
.hbb-input input[type="date"]::-webkit-calendar-picker-indicator { opacity: .6; cursor: pointer; }
.hbb-input input:focus, .hbb-input select:focus, .hbb-input textarea:focus, .hbb-input input.is-open { border-color: var(--hbb-gold); box-shadow: 0 0 0 3px rgba(167, 148, 107, .18); }
.hbb-input input::placeholder, .hbb-input textarea::placeholder { color: var(--hbb-placeholder); }
.hbb-input--icon input { padding-left: 40px; }
.hbb-input--icon > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; fill: var(--hbb-gold); pointer-events: none; z-index: 1; }
.hbb-field.is-invalid .hbb-input input, .hbb-field.is-invalid .hbb-input select, .hbb-field.is-invalid .hbb-input textarea { border-color: var(--hbb-err); box-shadow: 0 0 0 3px rgba(180, 35, 24, .14); }
.hbb-field--flight { grid-column: span 2; animation: hbb-in .25s ease; }

/* Labels inside the fields on the homepage card (like the site's current form) */
.hbb-card .hbb-field > label { position: absolute; z-index: 2; top: 9px; left: 15px; right: 12px; margin: 0; font-size: 10.5px; pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbb-card .hbb-input input, .hbb-card .hbb-input select { height: 62px; padding-top: 20px; }
.hbb-card .hbb-input--icon > svg { top: calc(50% + 9px); }
.hbb-card .hbb-input select { background-position: right 14px center; }
.hbb-card .hbb-field--submit .hbb-btn { height: 62px; }
.hbb-card .hbb-input input[type="date"] { padding-right: 8px; font-size: 15px; min-width: 0; }
.hbb-card .hbb-input input[type="date"]::-webkit-calendar-picker-indicator { margin-left: 2px; }

/* "Add return trip" checkbox (same height as the fields) */
.hbb-card .hbb-field > label.hbb-check { position: static; display: flex; align-items: center; gap: 12px; height: 62px; padding: 0 15px; margin: 0; border: 1px solid var(--hbb-line); border-radius: var(--hbb-radius); background: var(--hbb-field); cursor: pointer; pointer-events: auto; font-size: 15px; font-weight: 500; letter-spacing: .2px; text-transform: none; color: var(--hbb-text); user-select: none; transition: border-color .15s; }
.hbb-check:hover { border-color: var(--hbb-gold) !important; }
.hbb-check input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.hbb-check__box { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 4px; background: #fff; border: 1px solid var(--hbb-line); display: grid; place-items: center; transition: background .15s, border-color .15s; }
.hbb-check__box svg { width: 16px; height: 16px; fill: none; stroke: var(--hbb-ink); stroke-width: 2.6; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.hbb-check input:checked + .hbb-check__box { background: var(--hbb-gold); border-color: var(--hbb-gold); }
.hbb-check input:checked + .hbb-check__box svg { opacity: 1; transform: none; }
.hbb-check input:focus-visible + .hbb-check__box { outline: 2px solid var(--hbb-gold); outline-offset: 2px; }
.hbb-check__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbb-field--rdate, .hbb-field--rtime { animation: hbb-in .25s ease; }

input[data-timepicker] { cursor: pointer; color: var(--hbb-date) !important; caret-color: transparent; }

.hbb-btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--hbb-radius); font-size: 15px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; cursor: pointer; transition: background .2s, transform .1s, box-shadow .2s, opacity .2s, filter .2s; text-decoration: none; line-height: 1; }
.hbb-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .2s; }
.hbb-btn:hover svg { transform: translateX(3px); }
.hbb-btn:active { transform: translateY(1px); }
.hbb-btn--primary { background: var(--hbb-btn-bg); color: var(--hbb-btn-fg); border-bottom: 2px solid var(--hbb-gold); }
.hbb-btn--primary:hover { color: var(--hbb-btn-fg); filter: brightness(1.08); box-shadow: 0 8px 22px -8px rgba(0,0,0,.55); }
.hbb--dark .hbb-btn--primary, .hbb-modal--dark .hbb-btn--primary { border-color: var(--hbb-gold); }
.hbb-btn--ghost { background: transparent; color: var(--hbb-text); border-color: var(--hbb-line); }
.hbb-btn--block { width: 100%; }
.hbb-btn[disabled], .hbb-btn.is-loading { opacity: .55; pointer-events: none; }
.hbb-btn.is-loading::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: hbb-spin .7s linear infinite; }
.hbb-field--submit { grid-column: span 2; align-self: end; margin-top: 4px; }

.hbb-msg { margin-top: 12px; padding: 10px 12px; border-radius: var(--hbb-radius); background: var(--hbb-err-bg); color: var(--hbb-err); font-size: 14px; line-height: 1.45; }
.hbb-msg a { color: inherit; font-weight: 600; }

@container (min-width: 720px) {
	.hbb-card { padding: 22px 22px 20px; }
	.hbb-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
	.hbb-field--flight { grid-column: span 1; }
	.hbb-field--submit { grid-column: 1 / -1; margin-top: 0; }
	.hbb-card:not(:has(.hbb-field--return)) .hbb-field--submit { grid-column: span 1; }
	.hbb-card:has(.hbb-field--flight:not([hidden])) .hbb-field--submit,
	.hbb[data-service="hourly"] .hbb-field--submit { grid-column: 1 / -1; }
	.hbb-tabs { max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* ---------- Time picker (wheel) ---------- */
.hbb-tp { position: absolute; z-index: 60; top: calc(100% + 12px); right: 0; width: 300px; max-width: calc(100vw - 32px); background: #141415; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; box-shadow: 0 24px 60px -16px rgba(0,0,0,.75); padding: 14px 14px 16px; color: #F2EFE8; animation: hbb-in .18s ease; color-scheme: dark; }
.hbb-tp--left::before { left: 40px !important; right: auto !important; }
.hbb-tp::before { content: ""; position: absolute; top: -8px; right: 40px; width: 14px; height: 14px; background: #141415; border-left: 1px solid rgba(255,255,255,.14); border-top: 1px solid rgba(255,255,255,.14); transform: rotate(45deg); }
.hbb-tp--left { left: 0; right: auto; }
.hbb-tp__wheels { position: relative; display: grid; grid-template-columns: 1fr 14px 1fr 1fr; align-items: center; height: 240px; }
.hbb-tp__col--ap .hbb-tp__item { font-size: 22px; letter-spacing: 1px; }
.hbb-tp__band { position: absolute; left: 0; right: 0; top: 96px; height: 48px; background: rgba(255,255,255,.08); border-radius: 8px; pointer-events: none; }
.hbb-tp__col { position: relative; height: 240px; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); outline: none; }
.hbb-tp__col::-webkit-scrollbar { display: none; }
.hbb-tp__col::before, .hbb-tp__col::after { content: ""; display: block; height: 96px; }
.hbb-tp__item { height: 48px; display: flex; align-items: center; justify-content: center; scroll-snap-align: center; font-size: 30px; font-weight: 400; color: #8a867c; cursor: pointer; user-select: none; font-variant-numeric: tabular-nums; transition: color .12s; }
.hbb-tp__item.is-active { color: #fff; font-weight: 600; }
.hbb-tp__item.is-off { color: #4a4843; text-decoration: line-through; text-decoration-thickness: 1px; }
.hbb-tp__item.is-active.is-off { color: #7a5a55; }
.hbb-tp__sep { text-align: center; font-size: 28px; font-weight: 600; color: #fff; position: relative; z-index: 1; }
.hbb-tp__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); gap: 10px; }
.hbb-tp__reset { appearance: none; background: none; border: 0; padding: 4px 6px; color: #F2EFE8; font-size: 16px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.hbb-tp__ok { appearance: none; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--hbb-gold); color: #08080A; display: grid; place-items: center; cursor: pointer; transition: filter .15s, transform .1s; padding: 0; }
.hbb-tp__ok:hover { filter: brightness(1.1); }
.hbb-tp__ok:active { transform: scale(.96); }
.hbb-tp__ok svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.hbb-tp__hint { flex: 1; text-align: center; font-size: 12px; color: #ff8f80; line-height: 1.3; }

/* ---------- Address suggestions ---------- */
.hbb-ac { position: absolute; z-index: 100000; left: 0; right: 0; top: calc(100% + 4px); background: var(--hbb-surface-2); border: 1px solid var(--hbb-line); border-radius: 6px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); list-style: none; margin: 0; padding: 0 0 4px; max-height: 340px; overflow-y: auto; animation: hbb-in .15s ease; }
.hbb--dark .hbb-ac, .hbb-modal--dark .hbb-ac { background: #121213; }
.hbb-ac li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; border-radius: 6px; cursor: pointer; font-size: 14px; line-height: 1.3; color: var(--hbb-text); }
.hbb-ac li[aria-selected="true"], .hbb-ac li:hover { background: var(--hbb-hover); }
.hbb-ac li svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 1px; fill: var(--hbb-gold); }
.hbb-ac small { display: block; color: var(--hbb-muted); font-size: 12px; margin-top: 2px; }
.hbb-ac__head { display: block !important; padding: 12px 12px 9px !important; margin: 0 0 2px; border-radius: 0 !important; border-bottom: 1px solid var(--hbb-gold); font-size: 12px !important; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; color: var(--hbb-gold) !important; cursor: default !important; background: none !important; }
.hbb-ac li + .hbb-ac__head { margin-top: 6px; }
.hbb-ac__pop { align-items: center !important; padding: 14px 12px !important; font-size: 16px !important; font-weight: 600; border-radius: 0 !important; border-bottom: 1px solid var(--hbb-line-2); }
.hbb-ac__pop svg { flex: 0 0 20px !important; width: 20px !important; height: 20px !important; margin-top: 0 !important; }
.hbb-ac__foot { justify-content: flex-end; font-size: 10px !important; color: var(--hbb-muted) !important; cursor: default !important; background: none !important; padding: 2px 8px !important; }

/* ---------- Modal ---------- */
.hbb-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0, 0, 0, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .22s ease; }
.hbb-modal.is-open { opacity: 1; }
.hbb-modal__panel { position: relative; width: 100%; max-width: 760px; max-height: min(880px, calc(100vh - 48px)); max-height: min(880px, calc(100dvh - 48px)); display: flex; flex-direction: column; background: var(--hbb-surface); border: 1px solid var(--hbb-line-2); border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); transform: translateY(14px) scale(.985); transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.hbb-modal.is-open .hbb-modal__panel { transform: none; }
html.hbb-lock, html.hbb-lock body { overflow: hidden !important; }

.hbb-mhead { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 8px; padding: 12px 14px; background: var(--hbb-head); color: #fff; border-bottom: 1px solid var(--hbb-line-2); }
.hbb-mhead__title { text-align: center; }
.hbb-mhead__title strong { display: block; font-size: 15px; font-weight: 500; letter-spacing: .4px; }
.hbb-steps { display: flex; justify-content: center; gap: 6px; margin-top: 7px; }
.hbb-steps i { width: 26px; height: 3px; border-radius: 3px; background: #3a3833; transition: background .3s; }
.hbb-steps i.is-done { background: var(--hbb-gold); }
.hbb-iconbtn { appearance: none; width: 40px; height: 40px; border: 0; background: transparent; color: #fff; border-radius: 50%; display: grid; place-items: center; cursor: pointer; padding: 0; }
.hbb-iconbtn:hover { background: rgba(255,255,255,.08); }
.hbb-iconbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hbb-iconbtn[hidden] { visibility: hidden; display: grid !important; }

.hbb-trip { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--hbb-soft); border-bottom: 1px solid var(--hbb-line-2); font-size: 13px; color: var(--hbb-text-2); }
.hbb-trip__text { flex: 1; min-width: 0; line-height: 1.4; }
.hbb-trip__route { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--hbb-text); font-weight: 500; }
.hbb-trip__meta { color: var(--hbb-muted); font-size: 12px; }
.hbb-link { appearance: none; background: none; border: 0; padding: 0; color: var(--hbb-gold); font-size: 13px; font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.hbb-mbody { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 18px 16px 22px; overscroll-behavior: contain; }
.hbb-mbody h3 { margin: 0 0 12px; font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--hbb-gold); }
.hbb-section + .hbb-section { margin-top: 22px; }
.hbb-mfoot { display: flex; align-items: center; gap: 12px; padding: 12px 16px; padding-bottom: max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--hbb-line-2); background: var(--hbb-surface); }
.hbb-mfoot__total { flex: 1; min-width: 0; }
.hbb-mfoot__total small { display: block; font-size: 11px; color: var(--hbb-muted); letter-spacing: 1px; text-transform: uppercase; }
.hbb-mfoot__total strong { font-size: 22px; font-weight: 600; color: var(--hbb-text); }
.hbb-mfoot .hbb-btn { min-width: 170px; }

.hbb-notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: 8px; background: var(--hbb-notice-bg); color: var(--hbb-notice-fg); font-size: 14px; line-height: 1.45; margin-bottom: 14px; }
.hbb-notice svg { flex: 0 0 18px; width: 18px; height: 18px; fill: var(--hbb-gold); margin-top: 1px; }
.hbb-notice a { color: var(--hbb-gold-2); }
.hbb-error { padding: 10px 12px; border-radius: 8px; background: var(--hbb-err-bg); color: var(--hbb-err); font-size: 14px; margin: 12px 0 0; line-height: 1.45; }
.hbb-error a { color: inherit; font-weight: 600; }

/* Vehicles */
.hbb-vlist { display: grid; gap: 12px; }
.hbb-vcard { appearance: none; text-align: left; width: 100%; display: grid; grid-template-columns: 140px 1fr auto; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--hbb-line); border-radius: 10px; background: var(--hbb-surface-2); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; color: inherit; font: inherit; }
.hbb-vcard:hover { border-color: var(--hbb-gold); box-shadow: 0 10px 26px -14px rgba(0,0,0,.5); }
.hbb-vcard.is-selected { border-color: var(--hbb-gold); box-shadow: 0 0 0 2px var(--hbb-gold) inset; }
.hbb-vcard.is-disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.hbb-vcard__img { width: 140px; aspect-ratio: 16 / 10; border-radius: 6px; background: var(--hbb-soft) center / cover no-repeat; }
.hbb-vcard__name { font-size: 16px; font-weight: 500; color: var(--hbb-text); margin: 0 0 2px; }
.hbb-vcard__model { font-size: 13px; color: var(--hbb-muted); margin: 0 0 8px; }
.hbb-vcard__caps { display: flex; gap: 12px; font-size: 13px; color: var(--hbb-text-2); flex-wrap: wrap; }
.hbb-vcard__caps span { display: inline-flex; align-items: center; gap: 5px; }
.hbb-vcard__caps svg { width: 15px; height: 15px; fill: var(--hbb-gold); }
.hbb-vcard__desc { font-size: 12px; color: var(--hbb-muted); margin-top: 6px; }
.hbb-vcard__price { text-align: right; white-space: nowrap; }
.hbb-vcard__price strong { display: block; font-size: 20px; font-weight: 600; color: var(--hbb-text); }
.hbb-vcard__price small { font-size: 11px; color: var(--hbb-muted); letter-spacing: .5px; text-transform: uppercase; }
.hbb-vcard__quote { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--hbb-gold); border: 1px solid var(--hbb-gold); padding: 6px 10px; border-radius: 4px; }
.hbb-vcard__warn { font-size: 12px; color: var(--hbb-err); margin-top: 6px; }

/* Details */
.hbb-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hbb-fgrid .hbb-span-2 { grid-column: span 2; }
.hbb-opts { border: 1px solid var(--hbb-line); border-radius: 10px; }
.hbb-optrow { border-bottom: 1px solid var(--hbb-line); }
.hbb-optrow:last-child { border-bottom: 0; }
.hbb-optrow__head { display: flex; align-items: center; gap: 12px; padding: 13px 14px; cursor: pointer; user-select: none; }
.hbb-optrow__text { flex: 1; min-width: 0; }
.hbb-optrow__text strong { display: block; font-size: 15px; font-weight: 500; color: var(--hbb-text); }
.hbb-optrow__text small { display: block; font-size: 12px; color: var(--hbb-muted); margin-top: 1px; }
.hbb-optrow__price { font-size: 13px; color: var(--hbb-muted); white-space: nowrap; }
.hbb-optrow__body { padding: 0 14px 14px; animation: hbb-in .2s ease; }
.hbb-switch { position: relative; flex: 0 0 auto; width: 44px; height: 26px; }
.hbb-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.hbb-switch span { position: absolute; inset: 0; border-radius: 99px; background: #d9d4c8; transition: background .2s; }
.hbb-modal--dark .hbb-switch span { background: #3a3935; }
.hbb-switch span::before { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .22s cubic-bezier(.2,.8,.2,1); }
.hbb-switch input:checked + span { background: var(--hbb-ink); }
.hbb-modal--dark .hbb-switch input:checked + span { background: var(--hbb-gold); }
.hbb-switch input:checked + span::before { transform: translateX(18px); background: var(--hbb-gold-2); }
.hbb-modal--dark .hbb-switch input:checked + span::before { background: #fff; }
.hbb-switch input:focus-visible + span { outline: 2px solid var(--hbb-gold); outline-offset: 2px; }
.hbb-qty { display: inline-flex; align-items: center; border: 1px solid var(--hbb-line); border-radius: 99px; overflow: hidden; }
.hbb-qty button { appearance: none; width: 34px; height: 32px; border: 0; background: var(--hbb-surface-2); font-size: 18px; color: var(--hbb-text); cursor: pointer; line-height: 1; padding: 0; }
.hbb-qty button:disabled { color: var(--hbb-muted); opacity: .5; cursor: default; }
.hbb-qty output { min-width: 26px; text-align: center; font-size: 15px; font-weight: 500; }
.hbb-stoprow { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.hbb-stoprow .hbb-field { flex: 1; }
.hbb-stoprow .hbb-iconbtn { color: var(--hbb-muted); width: 34px; height: 34px; }

/* Review & pay */
.hbb-summary { border: 1px solid var(--hbb-line); border-radius: 10px; padding: 4px 14px; }
.hbb-summary__row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--hbb-line-2); font-size: 14px; }
.hbb-summary__row:last-child { border-bottom: 0; }
.hbb-summary__row span { color: var(--hbb-muted); font-size: 13px; }
.hbb-lines { width: 100%; border-collapse: collapse; font-size: 14px; }
.hbb-lines td { padding: 7px 0; color: var(--hbb-text-2); border: 0; background: none; }
.hbb-lines td:last-child { text-align: right; color: var(--hbb-text); white-space: nowrap; }
.hbb-lines tr.is-neg td:last-child { color: var(--hbb-ok); }
.hbb-lines tr.hbb-lines__total td { border-top: 1px solid var(--hbb-line); padding-top: 12px; font-size: 18px; font-weight: 600; color: var(--hbb-text); }
.hbb-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.hbb-chip { appearance: none; min-width: 64px; height: 40px; padding: 0 14px; border: 1px solid var(--hbb-line); background: var(--hbb-surface-2); border-radius: 99px; font-size: 14px; color: var(--hbb-text); cursor: pointer; transition: all .15s; }
.hbb-chip:hover { border-color: var(--hbb-gold); }
.hbb-chip.is-active { background: var(--hbb-btn-bg); color: var(--hbb-btn-fg); border-color: var(--hbb-btn-bg); }
.hbb-promo { display: flex; gap: 8px; }
.hbb-promo .hbb-input { flex: 1; }
.hbb-promo .hbb-btn { height: 48px; }
.hbb-promo-ok { color: var(--hbb-ok); font-size: 13px; margin-top: 6px; }
.hbb-card-el { min-height: 90px; }
.hbb-secure { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--hbb-muted); margin-top: 6px; }
.hbb-secure svg { width: 13px; height: 13px; fill: var(--hbb-muted); }
.hbb-terms { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--hbb-text-2); line-height: 1.45; cursor: pointer; }
.hbb-terms input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--hbb-gold); flex: 0 0 auto; }
.hbb-terms a { color: var(--hbb-gold); }

/* Done */
.hbb-done { text-align: center; padding: 18px 6px 6px; }
.hbb-done__icon { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: var(--hbb-ink); border: 1px solid var(--hbb-gold); box-shadow: 0 0 0 6px var(--hbb-hover); animation: hbb-pop .45s cubic-bezier(.2,1.4,.4,1); }
.hbb-done__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--hbb-gold-2); stroke-width: 2.4; }
.hbb-done h2 { margin: 0 0 6px; font-size: 24px; font-weight: 400; color: var(--hbb-text); letter-spacing: .3px; }
.hbb-done p { color: var(--hbb-text-2); font-size: 15px; line-height: 1.55; margin: 0 auto 12px; max-width: 460px; }
.hbb-done p a { color: var(--hbb-gold); }
.hbb-done__ref { display: inline-block; font-size: 13px; letter-spacing: 2px; padding: 8px 16px; border: 1px dashed var(--hbb-gold); border-radius: 6px; color: var(--hbb-text); margin: 6px 0 18px; }

.hbb-skel { height: 110px; border-radius: 10px; background: linear-gradient(90deg, var(--hbb-soft) 25%, var(--hbb-surface-2) 50%, var(--hbb-soft) 75%); background-size: 200% 100%; animation: hbb-shimmer 1.2s infinite; }
.hbb-skel + .hbb-skel { margin-top: 12px; }

@keyframes hbb-spin { to { transform: rotate(360deg); } }
@keyframes hbb-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes hbb-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes hbb-shimmer { to { background-position: -200% 0; } }
.hbb-step { animation: hbb-step .26s ease; }
@keyframes hbb-step { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }

/* Phones: modal becomes a full-screen sheet */
@media (max-width: 640px) {
	.hbb-modal { padding: 0; align-items: stretch; }
	.hbb-modal__panel { max-width: none; max-height: none; height: 100%; border-radius: 0; border: 0; transform: translateY(24px); }
	.hbb-vcard { grid-template-columns: 112px 1fr; gap: 12px; padding: 10px; }
	.hbb-vcard__img { width: 112px; }
	.hbb-vcard__price { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: 8px; }
	.hbb-vcard__price strong { display: inline; font-size: 18px; }
	.hbb-vcard__desc { display: none; }
	.hbb-fgrid { grid-template-columns: 1fr; }
	.hbb-fgrid .hbb-span-2 { grid-column: auto; }
	.hbb-mfoot .hbb-btn { min-width: 0; flex: 1.3; padding: 0 14px; }
	.hbb-summary__row { grid-template-columns: 92px 1fr; }
	.hbb-tp { width: 280px; }
}
@media (prefers-reduced-motion: reduce) {
	.hbb *, .hbb-modal, .hbb-modal * { animation: none !important; transition: none !important; }
}

/* ---------- Theme-proofing ----------
   Many themes style every <button> (e.g. gold background on hover). These rules keep the
   booking form's own buttons looking right in every state. */
.hbb button, .hbb-modal button { text-shadow: none; box-shadow: none; text-transform: none; letter-spacing: normal; line-height: normal; min-height: 0; }
.hbb .hbb-btn, .hbb-modal .hbb-btn { text-transform: uppercase; letter-spacing: 1.6px; line-height: 1; }

.hbb-modal .hbb-vcard, .hbb-modal .hbb-vcard:hover, .hbb-modal .hbb-vcard:focus, .hbb-modal .hbb-vcard:active, .hbb-modal .hbb-vcard:focus-visible { background: var(--hbb-surface-2) !important; color: var(--hbb-text) !important; text-decoration: none !important; outline: none; }
.hbb-modal .hbb-vcard:hover, .hbb-modal .hbb-vcard:focus-visible { border-color: var(--hbb-gold) !important; box-shadow: 0 10px 26px -14px rgba(0,0,0,.5) !important; transform: translateY(-1px); }
.hbb-modal .hbb-vcard.is-selected { border-color: var(--hbb-gold) !important; box-shadow: 0 0 0 2px var(--hbb-gold) inset !important; }
.hbb-modal .hbb-vcard.is-disabled:hover { transform: none; border-color: var(--hbb-line) !important; box-shadow: none !important; }

.hbb .hbb-tab, .hbb .hbb-tab:hover, .hbb .hbb-tab:focus, .hbb .hbb-tab:active { background: transparent !important; color: var(--hbb-muted) !important; border: 0 !important; }
.hbb .hbb-tab[aria-selected="true"], .hbb .hbb-tab[aria-selected="true"]:hover { color: var(--hbb-btn-fg) !important; }
.hbb .hbb-tab:not([aria-selected="true"]):hover { color: var(--hbb-text) !important; }

.hbb-modal .hbb-chip, .hbb-modal .hbb-chip:hover, .hbb-modal .hbb-chip:focus { background: var(--hbb-surface-2) !important; color: var(--hbb-text) !important; }
.hbb-modal .hbb-chip:hover { border-color: var(--hbb-gold) !important; }
.hbb-modal .hbb-chip.is-active, .hbb-modal .hbb-chip.is-active:hover { background: var(--hbb-btn-bg) !important; color: var(--hbb-btn-fg) !important; border-color: var(--hbb-btn-bg) !important; }

.hbb-modal .hbb-qty button, .hbb-modal .hbb-qty button:hover, .hbb-modal .hbb-qty button:focus { background: var(--hbb-surface-2) !important; color: var(--hbb-text) !important; border: 0 !important; }

.hbb .hbb-iconbtn, .hbb-modal .hbb-iconbtn, .hbb-modal .hbb-iconbtn:focus { background: transparent !important; color: inherit; border: 0 !important; }
.hbb-modal .hbb-mhead .hbb-iconbtn { color: #fff !important; }
.hbb-modal .hbb-iconbtn:hover { background: rgba(255,255,255,.08) !important; }

.hbb .hbb-link, .hbb-modal .hbb-link, .hbb-modal .hbb-link:hover, .hbb-modal .hbb-link:focus { background: none !important; color: var(--hbb-gold) !important; border: 0 !important; padding: 0 !important; }

.hbb .hbb-btn--primary, .hbb .hbb-btn--primary:hover, .hbb .hbb-btn--primary:focus,
.hbb-modal .hbb-btn--primary, .hbb-modal .hbb-btn--primary:hover, .hbb-modal .hbb-btn--primary:focus { background: var(--hbb-btn-bg) !important; color: var(--hbb-btn-fg) !important; }
.hbb-modal .hbb-btn--ghost, .hbb-modal .hbb-btn--ghost:hover, .hbb-modal .hbb-btn--ghost:focus { background: transparent !important; color: var(--hbb-text) !important; }
.hbb-modal .hbb-btn--ghost:hover { border-color: var(--hbb-gold) !important; }

.hbb-tp .hbb-tp__reset, .hbb-tp .hbb-tp__reset:hover, .hbb-tp .hbb-tp__reset:focus { background: none !important; color: #F2EFE8 !important; border: 0 !important; }
.hbb-tp .hbb-tp__ok, .hbb-tp .hbb-tp__ok:hover, .hbb-tp .hbb-tp__ok:focus { background: var(--hbb-gold) !important; color: #08080A !important; border: 0 !important; }

/* Themes often border every table/cell (Astra adds a gold-ish outline). Reset inside the form. */
.hbb table, .hbb-modal table { border: 0 !important; border-collapse: collapse !important; border-spacing: 0 !important; margin: 0 !important; width: 100%; background: none !important; }
.hbb table tr, .hbb-modal table tr, .hbb table td, .hbb-modal table td, .hbb table th, .hbb-modal table th { border: 0 !important; background: none !important; }
.hbb-modal .hbb-lines td { padding: 7px 0 !important; }
.hbb-modal .hbb-lines tr.hbb-lines__total td { border-top: 1px solid var(--hbb-line) !important; padding-top: 12px !important; }
