[hidden] { display: none !important; }
/* HECT Tour Core – form styles. Colours come from CSS variables so the theme can restyle them. */
.hect-booking, .hect-form, .hect-success {
	--c-primary: var(--hect-primary, #2a6f4e);
	--c-cta: var(--hect-cta, #e07a5f);
	--c-cta-dark: var(--hect-cta-dark, #9a442d);
	--c-ink: var(--hect-ink, #1e2b24);
	--c-muted: var(--hect-muted, #55655d);
	--c-border: var(--hect-border, #e7e3dc);
	--c-soft: var(--hect-soft, #f2efe9);
	--c-card: var(--hect-card, #fff);
	color: var(--c-ink);
	font-family: var(--hect-font-body, inherit);
}
.hect-booking { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
@media (max-width: 960px) { .hect-booking { grid-template-columns: 1fr; } .hect-summary { position: static; } }
.hect-booking__form { display: grid; gap: 24px; }
.hect-card { background: var(--c-card); border: 1px solid var(--c-border); border-radius: 20px; padding: 28px; box-shadow: 0 4px 20px -2px rgba(30, 43, 36, .05); }
@media (max-width: 600px) { .hect-card { padding: 20px; } }
.hect-card__title { font-family: var(--hect-font-head, inherit); font-size: 24px; line-height: 1.3; margin: 0 0 20px; display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--c-ink); }
.hect-num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-primary); color: #fff; font: 700 14px/1 var(--hect-font-body, sans-serif); flex: none; }
.hect-grid { display: grid; gap: 16px 20px; margin-bottom: 16px; }
.hect-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) { .hect-grid--2 { grid-template-columns: 1fr; } }
.hect-field { margin-bottom: 16px; min-width: 0; }
.hect-grid .hect-field { margin-bottom: 0; }
.hect-field label, .hect-label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; color: var(--c-ink); }
.hect-field .req { color: var(--c-cta-dark); }
.hect-form input[type="text"], .hect-form input[type="email"], .hect-form input[type="tel"], .hect-form input[type="date"], .hect-form input[type="number"], .hect-form select, .hect-form textarea {
	width: 100%; min-height: 48px; padding: 12px 16px; background: #fff; border: 1px solid var(--c-border); border-radius: 14px; font: inherit; font-size: 15px; color: var(--c-ink); box-sizing: border-box; box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
.hect-form textarea { min-height: 96px; resize: vertical; }
.hect-form input:focus, .hect-form select:focus, .hect-form textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 1.5px var(--c-primary); }
.hect-hint { font-size: 13px; color: var(--c-muted); margin: 8px 0 0; line-height: 1.5; }
.hect-center { text-align: center; }

.hect-tourpick { display: grid; gap: 12px; margin-bottom: 24px; }
.hect-tourpick__item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--c-border); border-radius: 16px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; margin: 0 !important; }
.hect-tourpick__item:has(input:checked) { border-color: var(--c-primary); background: rgba(42, 111, 78, .06); box-shadow: 0 0 0 1.5px var(--c-primary); }
.hect-tourpick__item input { margin-top: 4px; accent-color: var(--c-primary); width: 18px; height: 18px; flex: none; }
.hect-tourpick__body { display: grid; gap: 4px; font-weight: 400; }
.hect-tourpick__body strong { font-size: 15px; line-height: 1.4; }
.hect-tourpick__body span { font-size: 13px; color: var(--c-muted); }

.hect-sessions { display: flex; flex-wrap: wrap; gap: 10px; }
.hect-chip { margin: 0 !important; cursor: pointer; }
.hect-chip input { position: absolute; opacity: 0; pointer-events: none; }
.hect-chip span { display: block; padding: 10px 16px; border: 1px solid var(--c-border); border-radius: 999px; font-size: 13px; font-weight: 400; background: #fff; }
.hect-chip span strong { display: block; font-size: 13px; }
.hect-chip input:checked + span { border-color: var(--c-primary); background: var(--c-primary); color: #fff; }
.hect-chip input:focus-visible + span { outline: 2px solid var(--c-primary); outline-offset: 2px; }

.hect-stepper { display: flex; align-items: center; border: 1px solid var(--c-border); border-radius: 14px; background: #fff; overflow: hidden; }
.hect-stepper button { width: 48px; height: 48px; border: 0; background: transparent; font-size: 22px; cursor: pointer; color: var(--c-primary); flex: none; }
.hect-stepper button:hover { background: var(--c-soft); }
.hect-form .hect-stepper input { border: 0; text-align: center; border-radius: 0; box-shadow: none !important; -moz-appearance: textfield; }
.hect-stepper input::-webkit-outer-spin-button, .hect-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.hect-addons { margin-top: 20px; }
.hect-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 600px) { .hect-checks { grid-template-columns: 1fr; } }
.hect-form .hect-check, .hect-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 400 !important; cursor: pointer; margin: 0 !important; }
.hect-checks .hect-check, .hect-addons .hect-check { padding: 12px 14px; background: var(--c-soft); border-radius: 12px; }
.hect-check input { accent-color: var(--c-primary); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.hect-check em { font-style: normal; color: var(--c-muted); }
.hect-check--terms { font-size: 13px; color: var(--c-muted); }

.hect-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border: 0; border-radius: 999px; font: 600 15px/1.2 var(--hect-font-body, inherit); cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; }
.hect-btn:hover { transform: translateY(-1px); }
.hect-btn--terracotta { background: var(--c-cta); color: #fff; }
.hect-btn--terracotta:hover { background: #d96d50; box-shadow: 0 6px 16px rgba(224, 122, 95, .3); color: #fff; }
.hect-btn--green { background: var(--c-primary); color: #fff; }
.hect-btn--green:hover { box-shadow: 0 6px 16px rgba(42, 111, 78, .3); color: #fff; }
.hect-btn--block { display: flex; width: 100%; box-sizing: border-box; }
.hect-btn[disabled] { opacity: .6; cursor: wait; transform: none; }

.hect-alert { padding: 14px 18px; border-radius: 14px; font-size: 14px; line-height: 1.5; margin: 0 0 16px; }
.hect-alert[hidden] { display: none; }
.hect-alert--error { background: #ffdad6; color: #93000a; }
.hect-alert--ok { background: #d8f1e3; color: #075637; }

.hect-summary { position: sticky; top: 100px; display: grid; gap: 20px; }
.hect-summary__tour { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.hect-summary__tour img { width: 84px; height: 84px; object-fit: cover; border-radius: 14px; flex: none; }
.hect-summary__tour a { font-family: var(--hect-font-head, inherit); font-weight: 600; font-size: 17px; line-height: 1.35; color: var(--c-ink); text-decoration: none; }
.hect-summary__tour p { margin: 4px 0 0; }
.hect-summary__facts { margin: 0 0 16px; padding: 16px; background: var(--c-soft); border-radius: 14px; display: grid; gap: 10px; }
.hect-summary__facts div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.hect-summary__facts dt { color: var(--c-muted); }
.hect-summary__facts dd { margin: 0; text-align: right; font-weight: 600; }
.hect-summary__lines { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.hect-summary__lines li { display: flex; justify-content: space-between; gap: 12px; }
.hect-summary__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0 4px; border-top: 1px solid var(--c-border); }
.hect-summary__total strong { font-family: var(--hect-font-head, inherit); font-size: 26px; color: var(--c-primary); }
.hect-summary__help h3 { font-family: var(--hect-font-head, inherit); font-size: 18px; margin: 0 0 12px; }

.hect-success { text-align: center; max-width: 560px; margin: 0 auto; padding: 40px 24px; background: var(--c-card); border: 1px solid var(--c-border); border-radius: 24px; }
.hect-success__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--c-primary); color: #fff; display: grid; place-items: center; font-size: 30px; }
.hect-success h2 { font-family: var(--hect-font-head, inherit); font-size: 28px; margin: 0 0 8px; }

.hect-newsletter__row { display: flex; gap: 8px; }
.hect-newsletter__row input { flex: 1; min-width: 0; }
.hect-newsletter .hect-btn { padding: 12px 22px; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 960px) { .hect-summary { position: static; } }
