/* Hotel price tracker – sits inside the Kadence theme and uses its palette variables. */
.hpt { margin: 1.5em 0; }
.hpt-form fieldset { border: 0; padding: 0; margin: 0 0 1.8em; min-width: 0; }
.hpt-form legend {
  font-family: "Bricolage Grotesque", var(--global-heading-font-family, sans-serif);
  font-weight: 800; font-size: 1.25em; color: #007565; margin-bottom: .4em; padding: 0;
}
.hpt-form label { display: block; font-weight: 600; margin: .9em 0 .3em; color: var(--global-palette3, #1f2933); }
.hpt-form .hpt-choice { display: flex; gap: .6em; align-items: flex-start; font-weight: 400; margin: .5em 0; }
.hpt-form .hpt-choice input { margin-top: .35em; flex: none; }
.hpt-form input[type=text], .hpt-form input[type=email], .hpt-form input[type=url],
.hpt-form input[type=date], .hpt-form input[type=number], .hpt-form select { width: 100%; max-width: 100%; }
.hpt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1em; }
.hpt-row-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 600px) { .hpt-row, .hpt-row-3 { grid-template-columns: 1fr; } }
.hpt-opt { font-weight: 400; color: var(--global-palette6, #7b8794); }
.hpt-hint { font-size: .85em; color: var(--global-palette5, #52606d); margin: .3em 0 0; }
.hpt-error { color: #b3261e; font-weight: 600; font-size: .9em; margin: .3em 0 0; }
.hpt [aria-invalid=true] { border-color: #b3261e !important; }
.hpt-error-summary { background: #fdecea; border-left: 4px solid #b3261e; padding: .8em 1em; margin-bottom: 1.2em; border-radius: 4px; }
.hpt-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hpt-button { font-weight: 700; }
.hpt-button-secondary { background: var(--global-palette4, #3e4c59) !important; }
.hpt-panel h2::before {
  content: ""; display: block; width: 32px; height: 4px; background: var(--global-palette1, #e47b02); margin-bottom: .6em;
}
.hpt-summary { border-collapse: collapse; width: 100%; margin: 1em 0 1.4em; border: 0; }
.hpt-summary th, .hpt-summary td { border: 0; border-bottom: 1px solid var(--global-palette7, #f3f4f7); padding: .5em .8em .5em 0; vertical-align: top; text-align: left; }
.hpt-summary th { font-weight: 400; color: var(--global-palette5, #52606d); width: 40%; }
.hpt-summary td { font-weight: 600; }

/* Shown/hidden by tracker.js; everything is visible without JS. */
.hpt-js.hpt-is-notbooked .hpt-booked-only,
.hpt-js.hpt-is-notbooked .hpt-booked-only-inline,
.hpt-js.hpt-is-booked .hpt-notbooked-only-inline,
.hpt-js:not(.hpt-th-amount) .hpt-threshold-value { display: none; }
.hpt-form:not(.hpt-js) .hpt-notbooked-only-inline::before { content: " / "; }

/* ===================== Hotel Watch page layout =====================
   The page is set to Kadence full width, unboxed, no title. Each section is a
   full-width Group block with a hw-* class; the text inside stays editable. */
.hw-page { --hw-green: #007565; --hw-green-tint: #e8f3f1; --hw-orange: var(--global-palette1, #e47b02);
  --hw-ink: var(--global-palette3, #1f2933); --hw-text: var(--global-palette4, #3e4c59);
  --hw-muted: var(--global-palette6, #7b8794); --hw-line: #e3e7ec; --hw-head: "Bricolage Grotesque", sans-serif; }
.hw-page .entry-content > .hw-section { margin: 0; padding: clamp(40px, 6vw, 80px) 20px; }
.hw-page .entry-content > .hw-section > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.hw-section h2 { font-family: var(--hw-head); color: var(--hw-green); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; margin: 0 auto .4em; }
.hw-section h2::before { content: ""; display: block; width: 36px; height: 4px; background: var(--hw-orange); margin-bottom: .55em; border-radius: 2px; }
.hw-center h2::before { margin-left: auto; margin-right: auto; }
.hw-center > h2, .hw-center > .hw-intro { text-align: center; }
.hw-intro { color: var(--hw-text); font-size: 1.05em; max-width: 680px !important; }
.hw-center > .hw-intro { margin-bottom: 2em !important; }

/* Hero */
.hw-hero { background: var(--hw-green-tint); }
.hw-hero .wp-block-columns { gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: 0; }
.hw-eyebrow { display: inline-block; font-family: var(--hw-head); font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  font-size: .8em; color: var(--hw-green); background: #fff; border-radius: 999px; padding: .35em .9em; margin: 0 0 1em; }
.hw-hero h1 { font-family: var(--hw-head); color: var(--hw-ink); font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.06; margin: 0 0 .45em; letter-spacing: -.01em; }
.hw-sub { font-family: var(--hw-head); font-weight: 700; color: var(--hw-green); font-size: 1.2em; margin: 0 0 .7em; }
.hw-hero p { color: var(--hw-text); }
.hw-ticks { list-style: none; padding: 0; margin: 1.2em 0 1.6em; display: grid; grid-template-columns: 1fr 1fr; gap: .55em 1.2em; }
.hw-ticks li { position: relative; padding-left: 1.8em; font-weight: 600; color: var(--hw-ink); font-size: .95em; }
.hw-ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.2em; height: 1.2em; border-radius: 50%;
  background: var(--hw-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
@media (max-width: 600px) { .hw-ticks { grid-template-columns: 1fr; } }
.hw-page .wp-block-button__link { background: var(--hw-orange); color: #fff; font-weight: 700; border-radius: 999px; padding: .8em 1.6em; }
.hw-page .wp-block-button__link:hover { background: var(--global-palette2, #ed8f0c); color: #fff; }
.hw-page .is-style-outline .wp-block-button__link { background: transparent; color: var(--hw-green); border: 2px solid var(--hw-green); }

/* Diagram card */
.hw-graphic { background: #fff; border-radius: 16px; padding: 22px 22px 14px; margin: 0; box-shadow: 0 12px 32px rgba(0, 61, 52, .12); }
.hw-graphic svg { display: block; width: 100%; height: auto; font-family: var(--global-body-font-family, sans-serif); }
.hw-graphic figcaption { text-align: center; font-weight: 700; color: var(--hw-green); font-size: .95em; margin: .6em 0 0; }
.hw-g-title { font: 700 15px var(--hw-head); fill: var(--hw-ink); }
.hw-g-small { font-size: 12.5px; fill: var(--hw-muted); }
.hw-g-strong { font-size: 15px; font-weight: 700; fill: var(--hw-ink); }
.hw-g-axis { stroke: var(--hw-line); stroke-width: 2; }
.hw-g-paid { stroke: var(--hw-muted); stroke-width: 1.5; stroke-dasharray: 5 5; }
.hw-g-deadline { stroke: #c4cbd3; stroke-width: 1.5; stroke-dasharray: 3 4; }
.hw-g-line { fill: none; stroke: var(--hw-green); stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; }
.hw-g-gap { stroke: var(--hw-orange); stroke-width: 2; stroke-dasharray: 4 4; }
.hw-g-dot { fill: var(--hw-orange); stroke: #fff; stroke-width: 3; }
.hw-g-dot-start { fill: var(--hw-green); stroke: #fff; stroke-width: 3; }
.hw-g-pill { fill: var(--hw-orange); }
.hw-g-pilltext { font-size: 13.5px; font-weight: 700; fill: #fff; }

/* Sites strip */
.hw-page .entry-content > .hw-sites { padding-top: 22px; padding-bottom: 22px; background: #fff; border-bottom: 1px solid var(--hw-line); }
.hw-sites p { text-align: center; margin: 0 auto; color: var(--hw-muted); font-size: .95em; }
.hw-sites strong { color: var(--hw-ink); margin: 0 .5em; white-space: nowrap; }

/* Form section */
.hw-form-section { background: var(--global-palette8, #f9f9fb); }
.hw-page .entry-content > .hw-form-section > * { max-width: 780px; }
.hw-form-section .hpt { background: #fff; border-radius: 16px; padding: clamp(20px, 4vw, 40px); box-shadow: 0 2px 10px rgba(31, 41, 51, .06); border: 1px solid var(--hw-line); margin-top: 1.4em; }
.hw-form-section .hpt-form fieldset { padding-bottom: 1.4em; border-bottom: 1px solid var(--hw-line); }
.hw-form-section .hpt-form fieldset:last-of-type { border-bottom: 0; }
.hw-page .hpt-form input[type=text], .hw-page .hpt-form input[type=email], .hw-page .hpt-form input[type=url],
.hw-page .hpt-form input[type=date], .hw-page .hpt-form input[type=number], .hw-page .hpt-form select { border-radius: 8px; border: 1px solid #cdd3da; padding: .6em .75em; }
.hw-page .hpt-form input:focus, .hw-page .hpt-form select:focus { border-color: var(--hw-green); box-shadow: 0 0 0 3px rgba(0, 117, 101, .15); outline: 0; }
.hw-page .hpt-button { border-radius: 999px; padding: .85em 2em; font-size: 1.05em; }

/* How it works – numbered steps with connecting arrows */
.hw-steps { counter-reset: hwstep; gap: 20px !important; margin-top: 1em; }
.hw-steps > .wp-block-column { counter-increment: hwstep; position: relative; background: #fff; border: 1px solid var(--hw-line); border-radius: 14px; padding: 56px 20px 20px; }
.hw-steps > .wp-block-column::before { content: counter(hwstep); position: absolute; top: 16px; left: 20px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--hw-green); color: #fff; font: 800 15px/30px var(--hw-head); text-align: center; }
.hw-steps > .wp-block-column:last-child::before { background: var(--hw-orange); }
.hw-steps h3 { font-family: var(--hw-head); font-size: 1.1em; color: var(--hw-ink); margin: 0 0 .35em; }
.hw-steps p { font-size: .93em; color: var(--hw-text); margin: 0; }
@media (min-width: 782px) {
  .hw-steps > .wp-block-column:not(:last-child)::after { content: ""; position: absolute; top: 28px; right: -17px; width: 14px; height: 14px; z-index: 1;
    border-top: 3px solid var(--hw-orange); border-right: 3px solid var(--hw-orange); transform: rotate(45deg); }
}
.hw-how { background: var(--hw-green-tint); }
.hw-result { text-align: center; font-family: var(--hw-head); font-weight: 700; color: var(--hw-green); font-size: 1.15em; margin-top: 1.4em !important; }

/* Example email mock-up */
.hw-example .wp-block-columns { gap: clamp(24px, 4vw, 56px); align-items: center; }
.hw-email { background: #fff; border: 1px solid var(--hw-line); border-radius: 14px; overflow: hidden; box-shadow: 0 12px 32px rgba(31, 41, 51, .1); padding: 0 !important; }
.hw-email > * { margin: 0 !important; }
.hw-email-head { background: var(--global-palette7, #f3f4f7); padding: 12px 20px !important; font-size: .85em; color: var(--hw-muted); border-bottom: 1px solid var(--hw-line); line-height: 1.5; }
.hw-email-head strong { color: var(--hw-ink); }
.hw-email-subject { padding: 18px 20px 0 !important; font-family: var(--hw-head); font-weight: 800; font-size: 1.15em; color: var(--hw-ink); }
.hw-email-body { padding: 10px 20px 0 !important; font-size: .95em; color: var(--hw-text); }
.hw-email-btn { padding: 14px 20px 20px !important; }
.hw-email-btn span { display: inline-block; background: var(--hw-orange); color: #fff; font-weight: 700; border-radius: 999px; padding: .55em 1.3em; font-size: .95em; }

/* About + money cards */
.hw-about { background: var(--global-palette8, #f9f9fb); }
.hw-cards { gap: 24px !important; }
.hw-cards > .wp-block-column { background: #fff; border: 1px solid var(--hw-line); border-radius: 14px; padding: 28px; }
.hw-cards h2 { font-size: 1.5rem; }

/* FAQ accordion (Details blocks) */
.hw-page .entry-content > .hw-faq > * { max-width: 820px; }
.hw-faq .wp-block-details { border: 1px solid var(--hw-line); border-radius: 12px; padding: 0; margin: 0 auto 10px; background: #fff; }
.hw-faq .wp-block-details summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; font-family: var(--hw-head); font-weight: 700; color: var(--hw-ink); position: relative; }
.hw-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.hw-faq .wp-block-details summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4em; color: var(--hw-orange); font-weight: 400; }
.hw-faq .wp-block-details[open] summary::after { content: "–"; }
.hw-faq .wp-block-details > :not(summary) { padding: 0 20px; margin-top: 0; color: var(--hw-text); }
.hw-faq .wp-block-details > :last-child { padding-bottom: 16px; }

/* Closing band */
.hw-cta { background: var(--hw-green); text-align: center; }
.hw-cta h2 { color: #fff; }
.hw-cta h2::before { margin-left: auto; margin-right: auto; }
.hw-cta p { color: rgba(255, 255, 255, .88); }
.hw-cta .wp-block-buttons { justify-content: center; }

/* Confirm / stop / check-your-inbox views replace the page content */
.hw-state .entry-content > .hpt { max-width: 720px; margin: clamp(32px, 6vw, 72px) auto; background: #fff; border-radius: 16px; border: 1px solid var(--hw-line);
  padding: clamp(20px, 4vw, 40px); box-shadow: 0 2px 10px rgba(31, 41, 51, .06); }
.hw-state .entry-content { padding: 0 20px; }

/* Kadence wraps Group content in .wp-block-group__inner-container and gives
   .single-content headings/paragraphs their own margins – these win over both. */
.hw-page .single-content .hw-hero h1 { margin: 0 0 .4em; }
.hw-page .single-content .hw-eyebrow { margin: 0 0 1.1em; }
.hw-page .single-content .hw-sub { margin: 0 0 .7em; }
.hw-page .single-content .hw-ticks { padding-left: 0; margin: 1.2em 0 1.6em; }
.hw-page .single-content .hw-ticks li { margin: 0; }
.hw-page .single-content .hw-section h2 { margin-top: 0; }
.hw-page .single-content .hw-center h2,
.hw-page .single-content .hw-center .hw-intro { text-align: center; margin-left: auto; margin-right: auto; }
.hw-page .single-content .hw-intro { margin-top: 0; }
.hw-page .single-content .hw-steps h3 { margin: 0 0 .35em; }
.hw-page .single-content .hw-steps p { margin: 0; }
.hw-page .single-content .hw-sites p { margin: 0 auto; }
.hw-page .single-content .hw-email p { margin: 0; }
.hw-email .wp-block-group__inner-container > * { margin: 0; }
.hw-page .single-content .hw-faq .wp-block-details p { margin: 0; }
.hw-page .single-content .hw-cards p:last-child,
.hw-page .single-content .hw-example p:last-child { margin-bottom: 0; }
.hw-page .single-content .hw-cta p { margin: 0 auto 1.4em; max-width: 620px; }
.hw-page .single-content .hw-result { margin: 1.4em 0 0; }
/* Diagram text scales down with the SVG – make it readable on phones. */
@media (max-width: 600px) {
  .hw-graphic { padding: 14px 12px 10px; }
  .hw-g-title { font-size: 19px; }
  .hw-g-small { font-size: 17px; }
  .hw-g-strong { font-size: 19px; }
  .hw-g-pilltext { font-size: 16px; }
}

/* Booked / not booked: booked by default, a link switches. Plain radios without JS. */
.hpt-mode { background: var(--hw-green-tint, #e8f3f1); border-radius: 10px; padding: .75em 1em; margin: 0 0 1.6em; }
.hpt-mode .hpt-mode-text { margin: 0; font-size: .95em; color: var(--global-palette3, #1f2933); }
.hpt-mode-switch { background: none !important; border: 0; padding: 0; margin: 0 0 0 .3em; color: #007565 !important; font: inherit; font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; box-shadow: none !important; }
.hpt-mode-switch:hover, .hpt-mode-switch:focus { color: var(--global-palette1, #e47b02) !important; }
.hpt-form:not(.hpt-js) .hpt-mode-text,
.hpt-js .hpt-mode-radios,
.hpt-js.hpt-is-booked .hpt-mode-notbooked,
.hpt-js.hpt-is-notbooked .hpt-mode-booked { display: none; }
.hpt-mode-radios .hpt-choice { margin: .2em 0; }

/* Fields filled from a pasted link */
.hpt-link-note { background: #fff7ec; border-left: 4px solid var(--global-palette1, #e47b02); border-radius: 6px; padding: .6em .9em; font-size: .9em; margin: .6em 0 0; color: var(--global-palette3, #1f2933); }
.hpt-link-note[hidden] { display: none; }
.hpt-form .hpt-filled { background: #fff7ec; }

.hpt-choices-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5em; }
@media (max-width: 600px) { .hpt-choices-2 { grid-template-columns: 1fr; } }
.hpt-form .hpt-row + .hpt-hint { margin-top: .4em; }
.hpt-opt[hidden] { display: none; }
.hpt-turnstile { margin: 10px 0 2px; }
