.product-section {
  background: #eef3eb;
}

.product-heading {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 54px;
  align-items: end;
  margin-bottom: 42px;
}

.product-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 55px);
}

.product-heading p:last-child {
  margin: 0;
  color: var(--muted);
}

.product-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid #cbd8cd;
  border-radius: 18px;
  background: var(--deep);
  color: white;
}

.product-metrics div {
  display: flex;
  min-height: 105px;
  padding: 22px;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, .14);
}

.product-metrics div:last-child { border-right: 0; }
.product-metrics span { color: #aac3b6; font-size: 11px; }
.product-metrics b { margin-top: 5px; color: var(--sun); font-family: Unbounded, sans-serif; font-size: 18px; }

.spec-table-wrap {
  overflow-x: auto;
  border: 1px solid #cbd8cd;
  border-radius: 18px;
  background: white;
  box-shadow: 0 18px 55px rgba(16, 44, 36, .08);
}

.spec-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  table-layout: fixed;
}

.spec-table th {
  padding: 16px 13px;
  background: var(--green);
  color: white;
  text-align: left;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.spec-table th:nth-child(1) { width: 50px; }
.spec-table th:nth-child(2) { width: 145px; }
.spec-table th:nth-child(3) { width: 112px; text-align: center; }
.spec-table th:nth-child(4) { width: 180px; }
.spec-table th:nth-child(5) { width: 150px; }

.spec-table td {
  padding: 18px 13px;
  border-bottom: 1px solid #dce4dc;
  vertical-align: top;
  color: #334a42;
  font-size: 12px;
}

.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table tbody tr:nth-child(even) { background: #f8faf6; }
.spec-table td:first-child { color: #809087; font-family: Unbounded, sans-serif; }
.spec-table td:nth-child(3) { text-align: center; }
.spec-table td strong { color: var(--ink); font-size: 13px; }
.spec-table img { width: 88px; height: 78px; object-fit: contain; mix-blend-mode: multiply; }
.product-image-button {
  position: relative;
  width: 96px;
  min-height: 86px;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  cursor: zoom-in;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.product-image-button::after {
  content: "⌕";
  position: absolute;
  right: 3px;
  bottom: 3px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--deep);
  color: white;
  font-size: 15px;
  opacity: .88;
}
.product-image-button:hover,
.product-image-button:focus-visible {
  border-color: var(--green);
  box-shadow: 0 8px 22px rgba(16, 44, 36, .14);
  outline: none;
  transform: translateY(-2px);
}
.spec-table ul { margin: 0; padding-left: 16px; }
.spec-table li { margin-bottom: 5px; }
.spec-table li:last-child { margin-bottom: 0; }

.product-note {
  margin: 15px 4px 0;
  color: var(--muted);
  font-size: 11px;
}

.product-cta {
  display: flex;
  margin-top: 34px;
  padding: 26px 30px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: 18px;
  background: white;
}

.product-cta p { margin: 0; font-weight: 800; }

.image-viewer {
  width: min(920px, calc(100% - 28px));
  max-height: 90vh;
  padding: 24px;
  border: 0;
  border-radius: 24px;
  background: white;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .35);
}
.image-viewer::backdrop { background: rgba(4, 18, 14, .82); backdrop-filter: blur(6px); }
.image-viewer img {
  display: block;
  width: 100%;
  height: min(70vh, 680px);
  object-fit: contain;
}
.image-viewer p { margin: 12px 42px 0; text-align: center; font-weight: 700; }
.image-viewer-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--deep);
  color: white;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.quiz-section { background: #f5efe2; }
.quiz-shell {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 70px;
  align-items: start;
}
.quiz-intro {
  position: sticky;
  top: 110px;
}
.quiz-intro h2 { font-size: clamp(34px, 4vw, 52px); }
.quiz-intro > p:not(.eyebrow) { color: var(--muted); }
.quiz-promise { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.quiz-promise span {
  padding: 8px 11px;
  border: 1px solid #d7cebb;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  color: #526159;
  font-size: 11px;
  font-weight: 700;
}
.quiz-card,
.quiz-result {
  overflow: hidden;
  padding: 34px;
  border: 1px solid #ddd5c5;
  border-radius: 24px;
  background: white;
  box-shadow: 0 22px 60px rgba(16, 44, 36, .09);
}
.quiz-progress { height: 6px; overflow: hidden; border-radius: 999px; background: #e8ece7; }
.quiz-progress span { display: block; width: 20%; height: 100%; border-radius: inherit; background: var(--sun); transition: width .3s ease; }
.quiz-step-label { margin: 14px 0 22px; color: #809087; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.quiz-step { display: none; margin: 0; padding: 0; border: 0; }
.quiz-step.active { display: grid; gap: 12px; }
.quiz-step legend { width: 100%; margin-bottom: 20px; color: var(--ink); font-family: Unbounded, sans-serif; font-size: clamp(21px, 2.5vw, 29px); font-weight: 600; line-height: 1.3; }
.quiz-option { position: relative; display: block; cursor: pointer; }
.quiz-option input { position: absolute; opacity: 0; pointer-events: none; }
.quiz-option span {
  display: flex;
  min-height: 72px;
  padding: 14px 18px 14px 54px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #dbe2da;
  border-radius: 15px;
  transition: border-color .2s, background .2s, transform .2s;
}
.quiz-option span::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 2px solid #a8b5ad;
  border-radius: 50%;
  transform: translateY(-50%);
}
.quiz-option span::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sun);
  opacity: 0;
  transform: translateY(-50%) scale(.4);
  transition: .2s;
}
.quiz-option b { font-size: 14px; }
.quiz-option small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.quiz-option input:checked + span { border-color: var(--green); background: #f0f6ef; transform: translateX(3px); }
.quiz-option input:checked + span::before { border-color: var(--green); }
.quiz-option input:checked + span::after { opacity: 1; transform: translateY(-50%) scale(1); }
.quiz-option input:focus-visible + span { outline: 3px solid rgba(35, 91, 73, .18); }
.quiz-contact { display: grid; gap: 8px; font-size: 12px; font-weight: 800; }
.quiz-contact input {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #dbe2da;
  border-radius: 12px;
  background: #fafaf6;
  outline: none;
}
.quiz-contact input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(35,91,73,.1); }
.quiz-privacy { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.quiz-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.quiz-back { border: 0; background: transparent; color: var(--green); cursor: pointer; font-weight: 800; }
.quiz-next { margin-left: auto; }
.quiz-error { min-height: 20px; margin: 12px 0 0; color: #a23b2c; font-size: 12px; }
.quiz-result { display: none; grid-column: 2; }
.quiz-result.show { display: block; animation: quizIn .4s ease both; }
.quiz-result h3 { margin: 0 0 14px; font-family: Unbounded, sans-serif; font-size: 28px; }
.quiz-result-summary {
  margin: 22px 0;
  padding: 18px;
  border-radius: 15px;
  background: #eef5ed;
  white-space: pre-line;
  font-size: 13px;
}
.quiz-disclaimer { color: var(--muted); font-size: 11px; }
.quiz-copy-note { margin: 12px 0 0; color: var(--green); font-size: 12px; font-weight: 800; }
@keyframes quizIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 950px) {
  .product-heading { grid-template-columns: 1fr; gap: 18px; }
  .product-metrics { grid-template-columns: 1fr 1fr; }
  .product-metrics div:nth-child(2) { border-right: 0; }
  .product-metrics div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .quiz-shell { grid-template-columns: 1fr; gap: 34px; }
  .quiz-intro { position: static; }
  .quiz-result { grid-column: 1; }
}

@media (max-width: 600px) {
  .product-metrics { grid-template-columns: 1fr; }
  .product-metrics div { min-height: 88px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .product-metrics div:last-child { border-bottom: 0; }
  .spec-table { min-width: 940px; }
  .product-cta { align-items: flex-start; flex-direction: column; }
  .quiz-card, .quiz-result { padding: 22px; border-radius: 18px; }
  .quiz-option span { padding-left: 48px; }
  .image-viewer { padding: 14px; }
  .image-viewer img { height: 68vh; }
}
