.product-enquiry-section {
  background: #eaf5f5;
  border-block-start: 1px solid var(--line);
  scroll-margin-block-start: 1rem;
}
.product-enquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: clamp(1.25rem, 5vw, 4rem);
  align-items: start;
}
.product-enquiry-layout > div:first-child p { margin: 1rem 0; color: var(--muted); }
.enquiry-panel {
  padding: clamp(1.05rem, 4vw, 2.5rem);
  background: var(--white);
  border: 1px solid #c8dddf;
  border-radius: .65rem;
  box-shadow: 0 .65rem 1.8rem #1022350c;
}
.enquiry-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.enquiry-fields label { display: block; min-width: 0; font-weight: 650; }
.enquiry-fields label span { color: var(--muted); font-size: .85rem; font-weight: 400; }
.enquiry-wide { grid-column: 1 / -1; }
.enquiry-fields :is(input, select, textarea) {
  display: block;
  inline-size: 100%;
  min-block-size: 2.8rem;
  margin-top: .3rem;
  padding: .55rem .65rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #829ca6;
  border-radius: .4rem;
  font: inherit;
  font-weight: 400;
}
.enquiry-fields textarea { resize: vertical; }
.enquiry-privacy { margin: .9rem 0; font-size: .9rem; color: var(--muted); }
.enquiry-error:not(:empty) { margin: 0 0 .9rem; color: #7b2218; }
.enquiry-panel button, .viewer-controls button { cursor: pointer; font-family: inherit; font-size: inherit; }
.enquiry-panel button:disabled { opacity: .7; cursor: wait; }
#product-enquiry-receipt p { margin-block: .6rem; }
.product-enquiry-action { margin-top: 1.15rem; }
.product-enquiry-action .button { border-color: #8bb9c0; color: var(--teal); background: #f0f8f8; }
.product-enquiry-action .button:hover { background: #dff1f1; }
.portfolio-thumb { display: block; border-radius: .4rem; }
.portfolio-thumb:hover img { border-color: var(--teal); }
.portfolio-viewer {
  width: min(calc(100% - 1.2rem), 86rem);
  max-width: none;
  max-height: calc(100% - 1.2rem);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: var(--white);
  color: var(--ink);
}
.portfolio-viewer::backdrop { background: #061422d9; }
body:has(.portfolio-viewer[open]) { overflow: hidden; }
.viewer-bar { display:flex; justify-content: space-between; align-items: center; gap: .65rem 1rem; flex-wrap: wrap; padding: .7rem 1rem; }
.viewer-bar h2 { font-size: clamp(1.18rem, 3vw, 1.6rem); letter-spacing: -.02em; }
.viewer-controls { display:flex; flex-wrap:wrap; gap: .45rem; font-size: .9rem; }
.viewer-controls .button { min-height: 2.75rem; padding: .4rem .7rem; }
.viewer-image {
  max-height: 76dvh;
  padding: .65rem;
  overflow: auto;
  background: #101f2e;
}
.viewer-image img { width: auto; height: auto; max-width: 100%; max-height: 72dvh; margin-inline: auto; }
.viewer-image.is-zoomed img { max-width: none; max-height: none; width: max(100%, 78rem); margin: 0; }
@media (max-width: 50rem) {
  .product-enquiry-layout { grid-template-columns: minmax(0, 1fr); }
  .viewer-image { max-height: 68dvh; }
  .viewer-image img { max-height: 65dvh; }
}
@media (max-width: 37rem) {
  .enquiry-fields { grid-template-columns: minmax(0, 1fr); }
}
