/* Product page layout (Dave 2026-12-01, website feedback #16-#37: "pictures at the top, right hand
   side should be the request a quote section"). Applied by /js/product-layout.js to every
   /products/<x>/ page: photos across the top, the page's own content on the left, and the quote
   form as a widget on the right that stays in view. One file for every product page. */
.pl-photos { display: grid; gap: 0.8rem; margin: 1.4rem 0 0.4rem; }
.pl-photos.n1 { grid-template-columns: 1fr; }
.pl-photos.n2 { grid-template-columns: 1fr 1fr; }
.pl-photos.n3 { grid-template-columns: 2fr 1fr 1fr; }
.pl-photos.n4 { grid-template-columns: 2fr 1fr 1fr 1fr; }
.pl-photos a { display: block; border-radius: var(--radius-lg, 14px); overflow: hidden; border: 1px solid var(--line, #D7E1EA); background: var(--panel, #F3F6F9); }
.pl-photos img { display: block; width: 100%; height: 300px; object-fit: cover; transition: transform .25s ease; }
.pl-photos.n1 img { height: 380px; }
.pl-photos a:hover img { transform: scale(1.03); }

.pl-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 3rem; align-items: start; margin-top: 1.6rem; }
.pl-main > :first-child { margin-top: 0; }
.pl-main .pl-faq { margin-top: 2.4rem; }
.pl-side { position: sticky; top: 92px; }
.pl-widget { background: var(--paper, #fff); border: 1px solid var(--line, #D7E1EA); border-top: 4px solid var(--brand, #0B6FB8);
  border-radius: var(--radius-lg, 14px); box-shadow: var(--shadow, 0 8px 20px rgba(14,17,22,.06)); padding: 1.2rem 1.2rem 0.6rem;
  max-height: calc(100vh - 112px); overflow-y: auto; overscroll-behavior: contain; }
.pl-widget h2 { font-size: 1.35rem; margin: 0; }
.pl-widget .pl-sub { margin: 0.35rem 0 0.9rem; font-size: 0.9rem; color: var(--ink-dim, #3F4753); line-height: 1.45; }
.pl-widget .pl-config { display: block; margin: 0 0 1rem; padding: 0.7rem 0.9rem; border-radius: 10px; background: var(--panel, #F3F6F9);
  border: 1px solid var(--line, #D7E1EA); font-weight: 700; font-size: 0.92rem; text-decoration: none; color: var(--brand, #0B6FB8); }
.pl-widget iframe { display: block; width: 100%; border: 0; min-height: 900px; }

@media (max-width: 980px) {
  .pl-grid { grid-template-columns: 1fr; }
  .pl-side { position: static; }
  .pl-widget { max-height: none; overflow: visible; }
  .pl-photos.n3, .pl-photos.n4 { grid-template-columns: 1fr 1fr; }
  .pl-photos.n3 a:first-child, .pl-photos.n4 a:first-child { grid-column: 1 / -1; }
  .pl-photos img { height: 220px; }
}

/* Configurator pages (#56/#57): pictures are the biggest thing; product info below the configurator. */
.pl-photos.pl-big img { height: 360px; }
.pl-info { margin: 3.5rem 0 1rem; padding-top: 2rem; border-top: 1px solid var(--line, #D7E1EA); max-width: 860px; }
.pl-info > h2 { margin-top: 0; }
@media (max-width: 980px) { .pl-photos.pl-big img { height: 230px; } }
.pl-info .opt-row { display: flex; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px solid var(--line, #D7E1EA); }
.pl-info .opt-name { font-weight: 700; min-width: 150px; flex: none; }
.pl-info .opt-vals { color: var(--ink-dim, #3F4753); }
.pl-info h2 { margin-top: 2rem; }
