/* =========================================================
   HPL Door Collection Visualizer (MERGE-SAFE)
   Scope: #hpl-visualizer only
   Fonts + sizes updated to match other pages (Roboto system stack, 16/28 base,
   headings/buttons in Roboto with uppercase + 12/18 small UI scale).
   No other changes.
   ========================================================= */

#hpl-visualizer {
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: #111827;
  background: #ffffff;

  font-weight: 400;
  font-size: 16px;
  line-height: 28px;

  -webkit-font-smoothing: antialiased;
}

/* Layout container for this page only */
#hpl-visualizer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 18px 56px;
}

/* --- Visualizer Header (NOT site header) --- */
#hpl-visualizer .hpl-header {
  text-align: center;
  margin: 0 0 18px;
}

#hpl-visualizer .hpl-header h1 {
  margin: 0 0 10px;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.2px;
  font-family: inherit;
  text-transform: uppercase;
}

#hpl-visualizer .subtitle {
  margin: 0;
  font-size: 15px;
  line-height: 26px;
  color: #374151;
  font-family: inherit;
}

/* --- Visualizer Note + Logos --- */
#hpl-visualizer .visualizer-note {
  margin: 1.5rem 0 2rem;
  padding: 1rem 1.25rem;
  background: #f6f7f8;
  border-left: 4px solid #3a6b5c;
}

#hpl-visualizer .visualizer-note p {
  margin: 0 0 0.75rem;
  font-size: 15px;
  line-height: 26px;
  font-family: inherit;
}

#hpl-visualizer .vendor-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

#hpl-visualizer .vendor-logo {
  width: 120px;
  height: 50px;
  border: 1px dashed #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 18px;
  font-family: inherit;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #666;
  background: #fff;
}

/* --- Controls wrapper --- */
#hpl-visualizer .controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 14px 0 22px;
}

#hpl-visualizer .controls .field {
  width: min(980px, 100%);
}

#hpl-visualizer .controls .field:not(.swatch-field) {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

#hpl-visualizer .controls label {
  font-size: 12px;
  line-height: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: inherit;
  color: #111827;
}

#hpl-visualizer .controls select {
  font-family: inherit;
  font-size: 14px;
  line-height: 22px;
  padding: 6px 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #ffffff;
  color: #111827;
  outline: none;
}

#hpl-visualizer .controls select:focus {
  border-color: #9ca3af;
  box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.25);
}

/* --- Swatch / Finish chooser --- */
#hpl-visualizer .swatch-field {
  width: min(980px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

#hpl-visualizer .swatch-field .label {
  display: none;
}

#hpl-visualizer .swatch-row {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 10px;
}

#hpl-visualizer .swatch-row-label {
  font-size: 12px;
  line-height: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: inherit;
  color: #111827;
  text-align: center;
}

#hpl-visualizer .swatch-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 34px;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

#hpl-visualizer .swatch {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 7px;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
  cursor: pointer;
  overflow: hidden;
  display: grid;
  place-items: center;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

#hpl-visualizer .swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#hpl-visualizer .swatch[data-selected="true"] {
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.15);
}

#hpl-visualizer .swatch:hover {
  transform: translateY(-1px);
}

#hpl-visualizer .swatch:focus-visible {
  outline: none;
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.22);
}

/* --- Preview image --- */
#hpl-visualizer .preview {
  margin-top: 14px;
}

#hpl-visualizer .preview figure {
  width: min(980px, 100%);
  margin: 0 auto;
}

#hpl-visualizer #previewImg {
  width: 100%;
  height: auto;
  display: block;
  background: #f3f4f6;
}

#hpl-visualizer .caption {
  margin-top: 10px;
  font-size: 14px;
  line-height: 22px;
  font-family: inherit;
  color: #111827;
  text-align: left;
}

/* --- Accessibility helper --- */
#hpl-visualizer .sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- Door Style Strip (bulletproof against host CSS) --- */
.door-style-strip,
.door-style-strip * {
  box-sizing: border-box;
}

.door-style-strip {
  margin: 2.5rem 0 3rem;
  width: 100%;
}

/* Title */
.door-style-strip__title {
  margin: 0 0 1rem !important;
  font-size: 18px !important;
  line-height: 24px !important;
  font-family: inherit;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Grid row */
.door-style-strip__grid {
  /* Force row layout even if ul/li are styled globally */
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;

  gap: 1rem !important;

  /* Kill default UL styling that can mess spacing */
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;

  /* Horizontal scroll like your original */
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
}

/* Each tile: lock width so they can't stretch full-width and stack */
.door-style-strip__item {
  list-style: none !important;
  display: block !important;

  flex: 0 0 180px !important;
  width: 180px !important;
  max-width: 180px !important;
  min-width: 180px !important;
}

/* Figure reset */
.door-style-strip__figure {
  margin: 0 !important;
  padding: 0 !important;
  text-align: center;
}

/* Image: lock the intended size */
.door-style-strip__img {
  display: block !important;

  width: 100% !important;
  height: 260px !important;
  max-width: 100% !important;

  object-fit: cover !important;

  border: 1px solid #ddd;
}

/* Caption */
.door-style-strip__caption {
  display: block !important;
  margin: 0.4rem 0 0 !important;

  font-size: 12px !important;
  line-height: 18px !important;
  font-family: inherit;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}



/* --- Responsive tweaks --- */
@media (max-width: 640px) {
  #hpl-visualizer .hpl-header h1 {
    font-size: 30px;
  }

  #hpl-visualizer .swatch-grid {
    grid-auto-columns: 30px;
    gap: 8px;
  }

  #hpl-visualizer .swatch {
    width: 30px;
    height: 30px;
    border-radius: 6px;
  }
}

/*quote banner*/
/*quote banner — no tokens, exact colors*/
.quote-banner {
  width: 100%;
  background: #16412f; /* dark green */
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.quote-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 16px; /* narrow but noticeable */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.quote-banner__text {
  margin: 0;
  color: #ffffff;       /* white text */
  font-size: 1.15rem;   /* larger / more eye-catching */
  line-height: 1.35;
  font-weight: 600;
}

.quote-banner__button {
  white-space: nowrap;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;

  background: #ffffff;  /* white button */
  color: #000000;       /* black text */
  /*border: 1px solid rgba(0, 0, 0, 0.25);*/
  border-radius: 6px;

  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

.quote-banner__button:visited {
	color: #000000;
	
}

.quote-banner__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  filter: brightness(0.98);
}

.quote-banner__button:focus-visible {
  outline: 3px solid rgba(255, 213, 79, 0.65); /* matches your accent vibe */
  outline-offset: 2px;
}

.quote-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 16px;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px; /* ? increase this */
}

.quote-banner__text {
  margin-right: 0; /* or remove this rule entirely */
}
  /* Sticky in-page nav */
    .toc{
      /*position:sticky;*/
      top:76px;
      align-self:start;
      border:1px solid var(--border);
      background:#fff;
      border-radius:var(--radius);
      box-shadow: var(--shadow);
      overflow:hidden;
    }
    .toc-header{
      padding:14px 14px 10px;
      border-bottom:1px solid var(--border);
      background: linear-gradient(180deg, rgba(246,247,248,.9), #fff);
    }
    .toc-title{
      margin:0;
      font-weight:800;
      font-size:14px;
      letter-spacing:.2px;
    }
    .toc-body{
      padding:10px;
      display:flex;
      flex-direction:column;
      gap:4px;
    }
    .toc a{
      display:block;
      padding:9px 10px;
      border-radius:10px;
      color:var(--text);
      font-size:14px;
      font-weight:600;
    }
    .toc a:hover{
      background:var(--bg-2);
      text-decoration:none;
    }
    .toc small{color:var(--muted); font-weight:600}
    
    
    .samplebox__consent {
  margin-top: 1rem;
}