/* Pricing, in the old Info Display system: dark ground, square tiles drawn
   with hairlines. Three steps on the left (counties, artwork, extras) and
   the live package on the right as a white card with the sky-blue head and
   quarter sun of the form dialogs, held in view while you scroll. */

/* ---- On this page the floating bar is white (the site's light paper) with
   navy type, so it stands apart from the navy page under it. The markup is
   the shared header; only this stylesheet, loaded here alone, recolours it. ---- */
.fnav, .hdr-menu { background: var(--paper); border-color: rgb(10 22 40 / 0.12); box-shadow: 0 12px 32px rgb(0 0 0 / 0.3); }
.fnav-logo { color: var(--ink); }
.fnav-logo img { box-shadow: 0 0 0 1px rgb(10 22 40 / 0.12); }
.fnav-links a { color: rgb(10 22 40 / 0.72); }
.fnav-links a:hover { color: var(--ink); }
.fnav-cta:hover { color: var(--brand-deep); border-color: var(--brand-deep); }
.hdr-toggle span { background: var(--ink); }
.hdr-menu-link { color: var(--ink); border-bottom-color: rgb(10 22 40 / 0.12); }
.hdr-menu-link:hover { color: var(--brand-deep); }

.page-hero { padding-top: 9rem; padding-bottom: 3.5rem; }
@media (min-width: 768px) { .page-hero { padding-top: 11rem; padding-bottom: 5rem; } }
.page-hero .display { font-size: clamp(2.6rem, 7.2vw, 6.5rem); }
.page-hero-sub { margin-top: 1.5rem; max-width: 40rem; }

.config { display: grid; gap: 3rem; padding-block: 3.5rem 5rem; align-items: start; }
@media (min-width: 960px) {
  .config { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(2.5rem, 4vw, 4.5rem); padding-block: 5rem 7rem; }
  /* The package travels down the page with you, centred in the window under
     the floating bar (pricing.js sets --sum-top). It is sized from the window
     height so it fits; if a very long list still needs more room, it scrolls
     inside itself with no bar drawn. */
  .summary {
    position: sticky; top: var(--sum-top, calc(var(--header-h) + 1rem));
    max-height: calc(100dvh - var(--header-h) - 2rem);
    overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  }
  .summary::-webkit-scrollbar { display: none; }
}

/* ---- Steps: a yellow number, the title and the question ---- */
.step { border: 0; padding: 0; margin: 0 0 3.5rem; min-width: 0; }
.step:last-child { margin-bottom: 0; }
.step-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.75rem;
  padding: 0; margin-bottom: 1.25rem; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.25;
}
.step-num {
  display: inline-grid; place-items: center; flex: none; width: 2rem; height: 2rem;
  background: var(--sun); color: var(--ink); font-size: 1rem; font-weight: 800; line-height: 1;
}
.step-title { color: var(--paper); }
.step-q { color: rgb(242 244 247 / 0.6); }
.step-note { margin: -0.25rem 0 1.5rem; max-width: 62ch; line-height: 1.55; color: rgb(242 244 247 / 0.7); }
.step-note strong { color: var(--paper); font-weight: 700; }

/* ---- Step 1: counties. Country tabs and a search across all four, then
   the counties as chips; a chosen county turns sun yellow with a tick. ---- */
.areas-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1.25rem; }
.areas-tabs { display: flex; flex-wrap: wrap; border: 1px solid var(--hair); }
.areas-tabs[hidden] { display: none; }
.areas-tab {
  display: inline-flex; align-items: center; gap: 0.5rem; height: 2.75rem; padding: 0 1rem;
  border: 0; border-radius: 0; background: transparent; color: rgb(242 244 247 / 0.72);
  font: inherit; font-size: 0.875rem; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.areas-tab + .areas-tab { border-left: 1px solid var(--hair); }
.areas-tab:hover { color: var(--paper); background: rgb(43 173 233 / 0.1); }
.areas-tab[aria-selected="true"] { background: var(--brand); color: var(--ink); }
.areas-tab:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.areas-count {
  display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; padding: 0 0.3rem;
  background: var(--sun); color: var(--ink); font-size: 0.75rem; font-weight: 800;
}
.areas-count[hidden] { display: none; }

.areas-search { position: relative; flex: 1 1 13rem; max-width: 20rem; }
.areas-search-icon { position: absolute; left: 0.9rem; top: 50%; width: 1.1rem; height: 1.1rem; translate: 0 -50%; color: rgb(242 244 247 / 0.5); pointer-events: none; }
.areas-search input {
  width: 100%; height: 2.75rem; padding: 0 1rem 0 2.6rem;
  border: 1px solid var(--hair); border-radius: 0; background: transparent; color: var(--paper);
  font: inherit; font-size: 0.9375rem; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.areas-search input::placeholder { color: rgb(242 244 247 / 0.45); }
.areas-search input:hover { border-color: rgb(242 244 247 / 0.35); }
.areas-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgb(43 173 233 / 0.25); }

.areas-panel + .areas-panel { margin-top: 1.5rem; }
.areas-country { margin-bottom: 0.75rem; font-size: 0.875rem; font-weight: 700; color: rgb(242 244 247 / 0.55); }
/* With pricing.js: one country at a time, unless a search is running. */
.areas.is-tabbed:not(.is-searching) .areas-panel:not(.is-active) { display: none; }
.areas.is-tabbed:not(.is-searching) .areas-country { display: none; }
.areas.is-tabbed:not(.is-searching) .areas-panel + .areas-panel { margin-top: 0; }
.areas-panel[hidden] { display: none; }
.areas-empty { padding: 1.5rem 0; color: rgb(242 244 247 / 0.6); }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  position: relative; display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 2.5rem; padding: 0.45rem 0.9rem;
  border: 1px solid rgb(242 244 247 / 0.2); color: var(--paper);
  font-size: 0.9rem; font-weight: 500; line-height: 1.2; cursor: pointer; user-select: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.chip[hidden] { display: none; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip::before { content: "+"; font-weight: 700; color: rgb(242 244 247 / 0.45); transition: color 0.2s ease; }
.chip:hover { border-color: var(--brand); background: rgb(43 173 233 / 0.12); }
.chip:hover::before { color: var(--brand); }
.chip:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.chip:has(input:checked) { background: var(--sun); border-color: var(--sun); color: var(--ink); font-weight: 700; }
.chip:has(input:checked)::before { content: "\2713"; color: var(--ink); }

/* ---- Step 2: artwork tiles ---- */
.opts { display: grid; gap: 0.625rem; }
.opts-2 { grid-template-columns: 1fr 1fr; }
.opt {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
  min-height: 4.5rem; padding: 1rem 1.25rem; border: 1px solid var(--hair); cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.opt:hover { border-color: rgb(242 244 247 / 0.4); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:checked) { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: rgb(43 173 233 / 0.08); }
.opt:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 3px; }
.opt-main { font-size: 1rem; font-weight: 700; font-stretch: 108%; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.1; }
.opt-price { font-size: 0.875rem; color: rgb(242 244 247 / 0.6); text-align: right; }
.opt:has(input:checked) .opt-price { color: var(--brand); }
.opt-stack { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.35rem; }
.opt-stack .opt-price { text-align: left; }

/* ---- Step 3: extras. Each is a row with a switch; switching one on opens
   its quantity underneath. ---- */
.extras { display: grid; gap: 0.75rem; }
.extra { border: 1px solid var(--hair); transition: border-color 0.2s ease, background-color 0.2s ease; }
.extra:hover { border-color: rgb(242 244 247 / 0.35); }
.extra:has(.extra-head input:checked) { border-color: var(--brand); background: rgb(43 173 233 / 0.07); }
.extra:has(.extra-head input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 3px; }
.extra-head { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; cursor: pointer; }
.extra-head input { position: absolute; opacity: 0; pointer-events: none; }
.extra-icon { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; background: rgb(242 244 247 / 0.06); color: var(--sun); }
.extra-icon svg { width: 1.35rem; height: 1.35rem; }
.extra-text { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; min-width: 0; }
.extra-name { font-size: 1rem; font-weight: 700; font-stretch: 108%; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.1; }
.extra-price { font-size: 0.875rem; color: rgb(242 244 247 / 0.6); }
.extra:has(.extra-head input:checked) .extra-price { color: var(--brand); }

.switch { position: relative; flex: none; width: 2.75rem; height: 1.5rem; border: 1px solid rgb(242 244 247 / 0.35); transition: background-color 0.25s ease, border-color 0.25s ease; }
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: calc(1.5rem - 8px); height: calc(1.5rem - 8px);
  background: var(--paper); transition: translate 0.25s var(--ease), background-color 0.25s ease;
}
.extra:has(.extra-head input:checked) .switch { background: var(--sun); border-color: var(--sun); }
.extra:has(.extra-head input:checked) .switch::after { translate: 1.25rem 0; background: var(--ink); }

.extra-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.extra:has(.extra-head input:checked) .extra-more { grid-template-rows: 1fr; }
.extra-qty {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.25rem;
  min-height: 0; overflow: hidden; padding-inline: 1.25rem;
  visibility: hidden; transition: visibility 0s linear 0.35s;
}
.extra:has(.extra-head input:checked) .extra-qty { visibility: visible; transition-delay: 0s; }
.extra-qty > * { margin-bottom: 1.25rem; }
.extra-qty-label { font-size: 0.875rem; color: rgb(242 244 247 / 0.7); }
.stepper { display: inline-flex; border: 1px solid rgb(242 244 247 / 0.25); }
.stepper-btn {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0;
  border: 0; border-radius: 0; background: transparent; color: var(--paper); cursor: pointer;
  transition: background-color 0.2s ease;
}
.stepper-btn:hover { background: rgb(43 173 233 / 0.15); }
.stepper-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.stepper-btn svg { width: 1.1rem; height: 1.1rem; }
.stepper input {
  width: 7.5rem; height: 2.75rem; padding: 0 0.5rem;
  border: 0; border-inline: 1px solid rgb(242 244 247 / 0.25); border-radius: 0;
  background: transparent; color: var(--paper); text-align: center;
  font: inherit; font-size: 1rem; font-weight: 700; font-variant-numeric: tabular-nums;
  appearance: textfield; -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; background: rgb(43 173 233 / 0.12); }
.extra-line { font-size: 0.9375rem; font-weight: 600; color: var(--brand); }

/* ---- Your package: white card, sky head with the sun, yellow button ---- */
.summary { --sy: clamp(0.75rem, 2.4vh, 1.5rem); background: #fff; color: var(--ink); box-shadow: 0 30px 60px rgb(0 0 0 / 0.35); }
.summary-head { position: relative; overflow: hidden; padding: calc(var(--sy) * 1.15) 4.75rem var(--sy) 1.75rem; background: var(--brand); }
.summary-head::before {
  content: ""; position: absolute; top: 0; right: 0; width: 6rem; aspect-ratio: 1;
  border-radius: 0 0 0 100%; background: var(--sun);
}
.summary-head > * { position: relative; }
.summary-title { font-size: clamp(1.5rem, min(2.4vw, 4.4vh), 2.1rem); }
.summary-locked { display: none; margin-top: 0.75rem; line-height: 1.5; color: rgb(10 22 40 / 0.78); }
.summary-cards { margin-top: calc(var(--sy) * 0.5); font-weight: 600; color: rgb(10 22 40 / 0.8); }
.summary-body { padding: var(--sy) 1.75rem calc(var(--sy) * 1.15); }
.summary-counties { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: calc(var(--sy) * 0.5); }
.summary-counties button {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.5rem 0.35rem 0.65rem;
  border: 0; border-radius: 0; background: #eaf6fd; color: var(--ink);
  font: inherit; font-size: 0.8125rem; font-weight: 600; cursor: pointer; transition: background-color 0.2s ease;
}
.summary-counties button:hover { background: #d3edfb; }
.summary-counties button:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 1px; }
.summary-counties svg { width: 0.85rem; height: 0.85rem; opacity: 0.6; }
.summary-counties .summary-more { padding: 0.35rem 0.25rem; font-size: 0.8125rem; color: rgb(10 22 40 / 0.55); }
.summary-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: calc(var(--sy) * 0.45) 0; border-bottom: 1px solid #e3e9f0; }
.summary-rows dt { font-size: 0.9375rem; color: rgb(10 22 40 / 0.72); }
.summary-rows dt small { display: block; margin-top: 0.15rem; font-size: 0.8125rem; color: rgb(10 22 40 / 0.5); }
.summary-rows dd { font-weight: 700; text-align: right; white-space: nowrap; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: calc(var(--sy) * 0.8); }
.summary-total .display { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.summary-total .display + .display { color: var(--brand-deep); }
.summary-fine { margin-top: 0.6rem; font-size: 0.8125rem; line-height: 1.5; color: rgb(10 22 40 / 0.55); }
.sum-cta {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  height: clamp(3rem, 6.5vh, 3.5rem); margin-top: calc(var(--sy) * 0.8); background: var(--sun); color: var(--ink);
  font-weight: 700; transition: background-color 0.2s ease;
}
.sum-cta:hover { background: #ffdf55; }
.sum-cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sum-cta svg { width: 1.25rem; height: 1.25rem; transition: translate 0.3s var(--ease); }
.sum-cta:hover svg { translate: 4px 0; }
.summary-call { padding: calc(var(--sy) * 0.7) 1.75rem; border-top: 1px solid #e3e9f0; background: #f6f8fb; font-size: 0.875rem; color: rgb(10 22 40 / 0.6); }
.summary-call a { color: var(--ink); font-weight: 700; }

/* ---- Before any county is chosen (pricing.js sets .is-locked): no figures
   anywhere. Tile prices keep their space so nothing jumps when they arrive. ---- */
.config.is-locked .summary-locked { display: block; }
.config.is-locked .price-only { display: none; }
.config.is-locked .opt-price,
.config.is-locked .extra-price,
.config.is-locked .extra-line { visibility: hidden; }

/* ---- Floating total on phones and tablets, while the steps are on screen
   and the package card is not ---- */
.totalbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgb(10 22 40 / 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--hair);
  transform: translateY(100%); visibility: hidden;
  transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
}
.totalbar.is-visible { transform: none; visibility: visible; transition: transform 0.35s var(--ease); }
.totalbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.totalbar-label { margin-right: 0.5rem; font-size: 0.875rem; color: rgb(242 244 247 / 0.6); }
.totalbar-total { font-size: 1.4rem; color: var(--brand); }

/* ---- Includes: a ruled plate like the old numbers band ---- */
.includes { display: grid; gap: 1px; background: var(--seam); }
@media (min-width: 768px) { .includes { grid-template-columns: repeat(3, 1fr); } }
.includes > * { background: var(--ink); }
.includes-title { grid-column: 1 / -1; padding: 3rem 1.25rem; font-size: clamp(1.55rem, 5vw, 3.6rem); }
@media (min-width: 768px) { .includes-title { padding: 3.5rem 2.5rem; } }
.include { padding: 2rem 1.25rem 2.5rem; }
@media (min-width: 768px) { .include { padding: 2.5rem 2.5rem 3rem; } }
.include-icon { width: 1.75rem; height: 1.75rem; color: var(--sun); opacity: 0.8; }
.include h3 { margin-top: 1.25rem; font-size: 1.2rem; }
.include p { margin-top: 0.75rem; max-width: 32ch; font-size: 0.9375rem; line-height: 1.6; color: rgb(242 244 247 / 0.6); }
/* Two columns: the offer on the left, how to reach us on the right. */
.includes-more { display: grid; gap: 1rem 3rem; align-items: center; padding-block: 3rem; }
@media (min-width: 768px) { .includes-more { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); } }
.includes-more-lead { max-width: 44ch; font-size: 1rem; line-height: 1.55; color: rgb(242 244 247 / 0.9); }
.includes-more-contact { font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.55; color: rgb(242 244 247 / 0.7); }

@media (max-width: 959px) {
  .summary { max-width: 36rem; width: 100%; }
}
/* Short windows: the card drops its county tags (they stay yellow in step
   1) and the small print, then the line notes, so it still fits whole. */
@media (min-width: 960px) and (max-height: 760px) {
  .summary-counties, .summary-fine { display: none; }
}
@media (min-width: 960px) and (max-height: 680px) {
  .summary-rows dt small { display: none; }
}
@media (max-width: 560px) {
  .opts-2 { grid-template-columns: 1fr; }
  .opt-stack { flex-direction: row; align-items: center; justify-content: space-between; }
  .opt-stack .opt-price { text-align: right; }
  .areas-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; width: 100%; background: var(--hair); }
  .areas-tab { justify-content: center; padding: 0 0.6rem; background: var(--ink); }
  .areas-tab + .areas-tab { border-left: 0; }
  .areas-tab[aria-selected="true"] { background: var(--brand); }
  .areas-search { max-width: none; }
  .extra-head { gap: 0.75rem; padding: 1rem; }
  .extra-qty { padding-inline: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .totalbar, .totalbar.is-visible, .opt, .chip, .extra, .extra-more, .switch, .switch::after, .sum-cta svg { transition: none; }
}
