/* Pattyn Energietechnieken — booking v2 demo UI */
:root {
  --coral: #E05A36;
  --coral-600: #C94825;
  --coral-700: #B03B1A;
  --coral-wash: #FDEEE9;
  --navy: #16203A;
  --navy-800: #1E2B49;
  --ink: #1A1F2B;
  --ink-body: #41475A;
  --ink-mute: #6B7286;
  --bg: #FBFBFA;
  --bg-alt: #F4F5F7;
  --surface: #FFFFFF;
  --line: #E6E7EB;
  --line-strong: #D3D5DC;
  --heat: #E3AC3B;
  --heat-wash: #FDF6E3;
  --water: #D15341;
  --water-wash: #FAECEB;
  --cool: #3A75B4;
  --cool-wash: #E8EFF8;
  --service: #65A15A;
  --service-wash: #EDF5EC;
  --green: #2E9E6B;
  --green-wash: #E7F4EE;
  --amber: #BF7A16;
  --amber-wash: #FFF6E8;
  --red: #B94A3E;
  --red-wash: #FAECEB;
  --font-display: "Schibsted Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --sh-1: 0 1px 2px rgba(22, 32, 58, .05);
  --sh-2: 0 12px 36px -14px rgba(22, 32, 58, .16);
  --sh-3: 0 28px 60px -24px rgba(22, 32, 58, .22);
  --max: 760px;
  --max-wide: 1040px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.bv2-body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body.bv2-body.pattyn-booking-embed {
  background: var(--bg) !important;
}

a { color: var(--coral-700); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--coral); }

/* ---- Top bar & site header ---- */
.bv2-topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.bv2-topbar-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
}

.bv2-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-weight: 500;
}

.bv2-topbar-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bv2-topbar-hours { opacity: .75; }

.bv2-site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(22, 32, 58, .97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 8px 24px rgba(22, 32, 58, .12);
}

.bv2-site-header-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 16px 20px;
}

.bv2-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  text-decoration: none;
}

.bv2-brand img {
  display: block;
  height: 34px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.bv2-brand span {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, .22);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}

.bv2-chrome-embed {
  padding: 14px 20px 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.bv2-chrome-mini img {
  display: block;
  height: 30px;
  width: auto;
}

/* ---- Banners ---- */
.bv2-banner {
  padding: 11px 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
}

.bv2-banner-demo {
  background: var(--coral-wash);
  color: var(--coral-700);
  border-bottom: 1px solid #f5cfc4;
}

.bv2-banner-staff {
  background: var(--amber-wash);
  color: #7a4e0c;
  border-bottom: 1px solid #f0d49a;
}

/* ---- Main layout ---- */
.bv2-main { min-height: 50vh; }

.bv2-hero {
  background:
    radial-gradient(circle at 88% 12%, rgba(224, 90, 54, .12), transparent 28%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding: 36px 20px 28px;
}

.bv2-hero-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
}

.bv2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral);
}

.bv2-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--coral);
}

.bv2-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 20px 56px;
}

.bv2-container-wide { max-width: var(--max-wide); }

.bv2-header h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--ink);
}

.bv2-lead {
  margin: 0 0 8px;
  max-width: 58ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-mute);
}

.bv2-header .bv2-hint a {
  font-weight: 600;
  font-size: 14px;
}

/* ---- Flow badge ---- */
.bv2-flow-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--coral-wash);
  color: var(--coral-700);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---- Cards ---- */
.bv2-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 24px 22px;
  margin-bottom: 16px;
  box-shadow: var(--sh-1);
  transition: box-shadow .2s var(--ease);
}

.bv2-card:focus-within {
  box-shadow: var(--sh-2);
}

.bv2-card h2 {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}

.bv2-card h3 {
  margin: 20px 0 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

/* ---- Form ---- */
.bv2-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
}

.bv2-grid label,
.bv2-grid-3 label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.bv2-input {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}

.bv2-input:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-wash);
}

.bv2-input:read-only {
  background: var(--bg-alt);
  color: var(--ink-mute);
}

.bv2-session-email {
  display: block;
  cursor: default;
  pointer-events: none;
  background: var(--bg-alt);
  color: var(--ink-mute);
}

.bv2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bv2-grid-3 { grid-template-columns: 2fr 1fr 1fr; }

@media (max-width: 640px) {
  .bv2-grid, .bv2-grid-3 { grid-template-columns: 1fr; }
  .bv2-topbar-hours { display: none; }
  .bv2-brand span { display: none; }
}

/* ---- Buttons ---- */
.bv2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  align-items: center;
}

.bv2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  padding: 12px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .12s var(--ease);
}

.bv2-btn:active { transform: translateY(1px); }

.bv2-btn.is-loading,
.bv2-btn:disabled {
  opacity: .72;
  cursor: wait;
  transform: none;
}

.bv2-btn-primary {
  background: var(--coral);
  color: #fff;
}

.bv2-btn-primary:hover {
  background: var(--coral-600);
  color: #fff;
}

.bv2-btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}

.bv2-btn-secondary:hover {
  border-color: var(--ink);
  background: #fff;
}

.bv2-btn-link {
  background: transparent;
  color: var(--ink-mute);
  border: 0;
  padding: 8px 0;
  text-decoration: underline;
  font-weight: 600;
}

.bv2-btn-link:hover { color: var(--coral); }

.bv2-otp-resend {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line, #e8e4df);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.bv2-otp-resend .bv2-btn-secondary {
  min-width: 0;
}

.bv2-otp-resend .bv2-hint {
  margin: 0;
}

.bv2-btn-inline {
  padding: 0;
  margin: 0 0 12px;
  font-size: 14px;
}

/* ---- Hints & alerts ---- */
.bv2-hint {
  font-size: 13px;
  color: var(--ink-mute);
  margin: 10px 0 0;
  line-height: 1.5;
}

.bv2-error {
  background: var(--red-wash);
  border: 1px solid #f0c4be;
  border-left: 4px solid var(--red);
  color: #752b25;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  margin-bottom: 14px;
  font-weight: 600;
  font-size: 14px;
}

.bv2-disclaimer {
  background: var(--amber-wash);
  border: 1px solid #f0d49a;
  border-left: 4px solid var(--amber);
  color: #6b4512;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.bv2-install-label {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-body);
}

.bv2-dev {
  background: var(--cool-wash);
  border: 1px solid #c5daf0;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 13px;
  margin-top: 10px;
  color: var(--navy-800);
}

/* ---- Fieldset & checks ---- */
.bv2-fieldset {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  margin: 14px 0;
  background: var(--bg-alt);
}

.bv2-fieldset legend {
  padding: 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.bv2-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 18px;
  font-size: 14px;
  font-weight: 500;
}

.bv2-check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0;
  font-size: 14px;
  line-height: 1.45;
}

.bv2-check-row input { margin-top: 4px; accent-color: var(--coral); }

.bv2-textarea { min-height: 88px; resize: vertical; }

/* ---- Slots ---- */
.bv2-slots { display: flex; flex-direction: column; gap: 12px; }

.bv2-slot {
  position: relative;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px 16px 52px;
  cursor: pointer;
  background: #fff;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease);
}

.bv2-slot::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background: #fff;
  transition: border-color .15s, background .15s;
}

.bv2-slot:hover {
  border-color: var(--coral);
  background: var(--coral-wash);
  box-shadow: var(--sh-1);
}

.bv2-slot:hover::before {
  border-color: var(--coral);
}

.bv2-slot strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.bv2-slot > span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .92rem;
}

.bv2-slot-debug {
  display: block;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #f4f6f8;
  border: 1px dashed #c5ced6;
  color: #445566;
  font-size: .78rem;
  line-height: 1.35;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* display:grid on .bv2-grid beats the native [hidden] attribute */
.bv2-grid[hidden],
.bv2-grid-3[hidden],
.bv2-site-address[hidden],
.bv2-billing[hidden],
#companyFieldsWrap[hidden],
#invoiceEmailWrap[hidden],
#siteAddressWrap[hidden] {
  display: none !important;
}

/* ---- Done & offline ---- */
.bv2-done {
  background: linear-gradient(180deg, var(--green-wash) 0%, #fff 100%);
  border-color: #b8e6cf;
}

.bv2-done h2 { color: var(--green); border-bottom-color: #b8e6cf; }

.bv2-ref {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: #fff;
  border: 1px dashed var(--line-strong);
  font-size: 14px;
}

.bv2-offline {
  background: linear-gradient(180deg, var(--red-wash) 0%, #fff 100%);
  border-color: #f0c4be;
}

.bv2-actions-stack { flex-direction: column; align-items: stretch; }
.bv2-actions-stack .bv2-btn { text-align: center; }

/* ---- Demo hub ---- */
.bv2-demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 24px 0 20px;
}

.bv2-demo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}

.bv2-demo-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--flow-accent, var(--coral));
}

.bv2-demo-card:hover {
  transform: translateY(-3px);
  border-color: var(--flow-accent, var(--coral));
  box-shadow: var(--sh-2);
}

.bv2-demo-card strong {
  display: block;
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
}

.bv2-demo-card p {
  flex: 1;
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.5;
}

.bv2-demo-card code {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--bg-alt);
  font-size: 11px;
  color: var(--ink-mute);
}

.bv2-demo-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--flow-accent, var(--coral));
}

.bv2-demo-meta {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  color: var(--ink-mute);
}

.bv2-showcase-brief {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  margin: 0 0 28px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.bv2-showcase-brief h2,
.bv2-showcase-brief h3 {
  margin: 6px 0 12px;
  font-size: 22px;
}

.bv2-showcase-brief h3 { font-size: 16px; }

.bv2-showcase-brief ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.5;
}

.bv2-showcase-brief li { margin-bottom: 6px; }
.bv2-showcase-brief strong { color: var(--ink); }

.bv2-showcase-brief aside {
  padding: 16px;
  border-radius: 12px;
  background: var(--bg-alt);
}

.bv2-tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.bv2-tool {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-alt);
  text-decoration: none;
  color: inherit;
}

.bv2-tool:hover { border-color: var(--coral); }

.bv2-tool strong {
  display: block;
  margin-bottom: 6px;
  color: var(--coral);
}

.bv2-tool span {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.4;
}

.bv2-callout {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border-left: 4px solid var(--coral);
  background: #fff;
}

.bv2-callout strong { display: block; margin-bottom: 4px; }
.bv2-callout p { margin: 0; font-size: 14px; color: var(--ink-mute); line-height: 1.45; }
.bv2-callout-info { border-left-color: var(--water, #2f6fed); background: #f3f7ff; }
.bv2-callout-warn { border-left-color: #c47a12; background: #fff8ef; }
.bv2-callout-muted { border-left-color: var(--line); background: var(--bg-alt); margin-bottom: 12px; }

.bv2-capacity {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #eef6f1;
  color: #1f5c3d;
  font-size: 13px;
  font-weight: 700;
}

.bv2-status-pill {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff6e8;
  color: #7a4e0c;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.bv2-billing {
  margin: 18px 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.bv2-billing h3,
.bv2-billing h4 { margin: 0 0 10px; font-size: 16px; }
.bv2-site-address { margin-top: 12px; }

.bv2-office-bar {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.bv2-office-note { margin: 0 0 16px; color: var(--ink-mute); font-size: 14px; }

.bv2-progress {
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.bv2-progress-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.bv2-progress-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  min-width: 0;
  color: var(--ink-mute);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.bv2-progress-list li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 14px;
  left: calc(50% + 18px);
  right: calc(-50% + 18px);
  height: 2px;
  background: var(--line);
}
.bv2-progress-list li.is-done:not(:last-child)::after,
.bv2-progress-list li.is-current:not(:last-child)::after {
  background: var(--coral);
}
.bv2-progress-list li span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  z-index: 1;
}
.bv2-progress-list li em {
  font-style: normal;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bv2-progress-list li.is-done span {
  border-color: var(--coral);
  background: var(--coral);
  color: #fff;
}
.bv2-progress-list li.is-current {
  color: var(--ink);
}
.bv2-progress-list li.is-current span {
  border-color: var(--coral);
  color: var(--coral);
  box-shadow: 0 0 0 3px rgba(224, 90, 54, .12);
}
@media (max-width: 520px) {
  .bv2-progress { padding: 12px 10px; }
  .bv2-progress-list li em { font-size: 11px; }
}
.bv2-client-search-card { margin-bottom: 16px; }
.bv2-client-search { position: relative; }
.bv2-client-results {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% - 4px);
  margin: 0;
  padding: 6px 0;
  list-style: none;
  max-height: 320px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.bv2-client-results[hidden] { display: none; }
.bv2-client-results li {
  margin: 0;
  padding: 0;
}
.bv2-client-results button {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.bv2-client-results button:hover,
.bv2-client-results button.is-active {
  background: var(--bg-alt);
}
.bv2-client-results strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}
.bv2-client-results span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.35;
}
.bv2-selected-client {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #eef6f1;
  color: #1f5c3d;
  font-size: 13px;
  font-weight: 700;
}
.bv2-channel-pill {
  display: inline-flex;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  vertical-align: middle;
}

@media (max-width: 800px) {
  .bv2-showcase-brief,
  .bv2-tool-grid,
  .bv2-office-bar { grid-template-columns: 1fr; }
}

.bv2-flow-maintenance { --flow-accent: var(--service); --flow-wash: var(--service-wash); }
.bv2-flow-repair { --flow-accent: var(--water); --flow-wash: var(--water-wash); }
.bv2-flow-combined { --flow-accent: var(--coral); --flow-wash: var(--coral-wash); }
.bv2-flow-commercial { --flow-accent: var(--cool); --flow-wash: var(--cool-wash); }
.bv2-flow-showroom { --flow-accent: var(--navy-600); --flow-wash: var(--cool-wash); }

.bv2-link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bv2-link-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.bv2-link-list li:last-child { border-bottom: 0; }

.bv2-link-list strong {
  min-width: 140px;
  color: var(--ink);
}

.bv2-link-list code {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--bg-alt);
  font-size: 12px;
  color: var(--ink-mute);
  word-break: break-all;
}

/* ---- Footer ---- */
.bv2-site-footer {
  margin-top: 24px;
  background: var(--navy);
  color: rgba(255, 255, 255, .78);
}

.bv2-site-footer-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 28px 20px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}

.bv2-footer-brand img {
  display: block;
  height: 28px;
  width: auto;
  margin-bottom: 10px;
  opacity: .95;
}

.bv2-footer-brand p {
  margin: 0;
  font-size: 13px;
  max-width: 28ch;
  line-height: 1.45;
}

.bv2-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.bv2-footer-links a {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.bv2-footer-links a:hover { color: var(--coral); }

/* ---- Embed overrides ---- */
body.pattyn-booking-embed .bv2-topbar,
body.pattyn-booking-embed .bv2-site-header,
body.pattyn-booking-embed .bv2-site-footer,
body.pattyn-booking-embed .bv2-hero {
  display: none;
}

body.pattyn-booking-embed .bv2-container {
  padding-top: 16px;
}

body.pattyn-booking-embed .bv2-btn-primary {
  background: var(--coral) !important;
}

body.pattyn-booking-embed .bv2-input:focus {
  border-color: var(--coral) !important;
  box-shadow: 0 0 0 3px var(--coral-wash) !important;
}

/* ---- Installation picker (#03) ---- */
.bv2-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bv2-install-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0 16px;
}

.bv2-install-card {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: 2px solid var(--border, #d8dee8);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}

.bv2-install-card:hover,
.bv2-install-card:focus-visible {
  border-color: var(--coral, #e85d4c);
  box-shadow: 0 0 0 3px var(--coral-wash, rgba(232, 93, 76, .15));
  outline: none;
}

.bv2-install-card.is-selected {
  border-color: var(--coral, #e85d4c);
  background: var(--coral-wash, rgba(232, 93, 76, .08));
}

.bv2-install-card strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--ink, #1a2332);
}

.bv2-install-card span {
  display: block;
  font-size: 13px;
  color: var(--ink-mute, #5c6778);
  line-height: 1.4;
}

.bv2-install-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Commercial multi-product cards (§168) */
.bv2-product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin: 0.75rem 0 1rem;
}
.bv2-product-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.bv2-product-card:has(input:checked) {
  border-color: var(--coral);
  box-shadow: var(--sh-1);
  background: var(--coral-wash);
}
.bv2-product-card input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--coral);
}
.bv2-product-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
}
.bv2-product-card-hint {
  font-size: 0.85rem;
  color: var(--ink-mute);
  line-height: 1.35;
}
#productCategoryError:not([hidden]) {
  color: var(--red);
}

.bv2-suggest-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.bv2-suggest-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 2px);
  z-index: 40;
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
  max-height: 14rem;
  overflow-y: auto;
  background: var(--surface, #fff);
  border: 1px solid var(--line, #d5d8de);
  border-radius: var(--r-md, 8px);
  box-shadow: var(--sh-1, 0 8px 24px rgba(15, 23, 42, 0.12));
}
.bv2-suggest-list li {
  margin: 0;
}
.bv2-suggest-list button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0.55rem 0.85rem;
  font: inherit;
  color: var(--ink, #1a1f2c);
  cursor: pointer;
}
.bv2-suggest-list button:hover,
.bv2-suggest-list button.is-active {
  background: var(--coral-wash, #fff1ec);
}

/* Preserve the shared maintenance checklist in public price and receipt text. */
#maintenancePrice,#doneMessage{white-space:pre-line}
/* These controls only appear once appointment proposals are available. */
#btnOtherDates[hidden],#btnFirstDates[hidden]{display:none}
#btnOtherDates{margin-top:20px}

#repairTariffLink[hidden],#repairTariffContactLink[hidden]{display:none}
#repairPriceContact{white-space:pre-line}

/* Keep the VAT question and all three explanations visible. */
.bv2-vat-choices legend { font-size: 15px; margin-bottom: 16px; }
.bv2-vat-choice { display: flex; align-items: flex-start; gap: 10px; padding: 12px; margin: 8px 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); cursor: pointer; }
.bv2-vat-choice > input { flex: 0 0 auto; margin-top: 4px; }
.bv2-vat-choice > span { min-width: 0; }
.bv2-vat-choice strong, .bv2-vat-choice span > span { display: block; }
.bv2-vat-choice span > span { margin-top: 4px; font-size: 14px; font-weight: 400; }
.bv2-vat-choice:has(input:checked) { border-color: var(--ink); }
.bv2-vat-choice:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }

/* The calendar download becomes available only after successful booking. */
#doneCalendar[hidden] { display: none; }
