/* Beschoeiing configurator on wal-beschoeiing.nl: the page around the app and the app in the
   site's own colours and type. The app's own rules come with its build (configurator-app);
   it reads the host variables below and its --c2-* tokens can be set from here. */

.cfg-host {
  /* What the app reads from its host. */
  --color-primary: var(--green-800);
  --color-primary-light: var(--green-600);
  --color-secondary: var(--wood-700);
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-primary: 'Inter', system-ui, sans-serif;
  --header-height: var(--header-h);
  --mobile-bottom-nav-height: 0px;

  background: var(--green-50);
  border-bottom: 1px solid var(--green-200);
  /* Tall enough that the page does not jump when the app arrives. */
  min-height: min(760px, 88vh);
}

.cfg-host .c2 {
  /* The fixed site header: the 3D view sticks below it, messages appear below it. */
  --c2-host-top: var(--header-h);
  --c2-host-bottom: 0px;
  /* Above the header (z-index 1000) for the parts list, dialogs and messages. */
  --c2-layer: 1100;

  --c2-paper: var(--green-50);
  --c2-surface-2: var(--green-100);
  --c2-wood: var(--wood-700);
  --c2-wood-soft: var(--wood-100);
  --c2-ink: var(--neutral-900);
  --c2-ink-2: var(--neutral-700);
  --c2-muted: var(--neutral-500);
  --c2-line: var(--green-200);
  --c2-line-strong: var(--green-300);
  --c2-sel-bg: var(--green-100);
  --c2-hover-line: var(--green-500);
  --c2-r-sm: var(--radius-sm);
  --c2-r: var(--radius-md);
  --c2-r-lg: var(--radius-md);
  --c2-r-xl: var(--radius-lg);
}

body.has-site-announce .cfg-host .c2 { --c2-host-top: calc(var(--announce-h) + var(--header-h)); }

/* The main action is gold, as every "Offerte aanvragen" and "In winkelwagen" on the site. */
.cfg-host .c2-btn--primary {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--green-900);
  font-family: var(--font-display);
  font-weight: 700;
}
.cfg-host .c2-btn--primary:hover:not(:disabled) {
  background: var(--gold-300);
  border-color: var(--gold-300);
  box-shadow: var(--shadow-gold);
}
.cfg-host .c2-planner__eyebrow { color: var(--gold-700); }

.cfg-host__loading,
.cfg-host__noscript {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
  color: var(--neutral-600);
}
.cfg-host__noscript a { color: var(--green-700); font-weight: 600; }

/* A short hero: the app is the page. */
.page-hero--compact { padding-bottom: 2.5rem; }
.page-hero--compact .page-hero__sub { margin-bottom: 0; }

.cfg-about__inner { max-width: 820px; }
.cfg-about h2 { margin-top: 2.5rem; text-align: left; }
.cfg-about h2:first-child { margin-top: 0; }
.cfg-about h3 { margin: 1.5rem 0 .5rem; font-family: var(--font-display); font-size: 1.1rem; color: var(--green-800); }
.cfg-about .content-list { margin: 0 0 1.25rem 1.25rem; list-style: disc; color: var(--neutral-700); line-height: 1.7; }
.cfg-about .content-list li { margin-bottom: .35rem; }
.cfg-about a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cfg-about a:hover { color: var(--green-800); }

/* The floating call button would sit on the price bar; the phone number is in the header. */
.cfg-page .float-cta { display: none; }
