/* =========================================================
   AMPLO — Product page styles
   ========================================================= */

/* ---------- Product hero ---------- */
.product-hero {
  background: var(--navy);
  color: var(--paper);
  padding: 64px 0 80px;
}
.product-hero-section.alt {
  background: var(--navy-soft);
}
.breadcrumb {
  font-size: 13px;
  color: var(--grey-light);
  margin-bottom: 32px;
  display: flex;
  gap: 8px;
}
.breadcrumb a:hover { color: var(--teal-bright); }
.eyebrow-plain {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-light);
}
.product-name {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--paper);
  margin-bottom: 8px;
  font-size: clamp(36px, 5vw, 56px);
  text-transform: uppercase;
  line-height: 1.05;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.product-visual {
  background: var(--navy-soft);
  border-radius: 12px;
  padding: 32px;
  position: relative;
}
.product-visual img { border-radius: 8px; }
.status-pill {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--teal);
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 7px 14px;
  border-radius: 100px;
  z-index: 2;
}

.product-info .eyebrow { color: var(--teal-bright); display: block; margin-bottom: 14px; }
.product-info h1 { color: var(--paper); margin-bottom: 8px; font-size: clamp(36px, 5vw, 56px); }
.product-tagline { font-size: 18px; color: var(--grey-light); margin-bottom: 28px; max-width: 460px; }

.spec-row {
  display: flex;
  gap: 28px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.spec-item { display: flex; flex-direction: column; gap: 4px; }
.spec-item .spec-num { font-family: var(--font-display); font-size: 22px; color: var(--teal-bright); }
.spec-item .spec-label { font-size: 12px; color: var(--grey-light); text-transform: uppercase; letter-spacing: 0.04em; }

.product-info .notify-form { margin-top: 4px; }
.product-info .notify-note { color: var(--teal-bright); }

/* ---------- Color swatches (placeholder for future SKUs) ---------- */
.color-row { margin-bottom: 28px; }
.color-row .swatch-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--grey-light);
  margin-bottom: 10px;
}
.swatches { display: flex; gap: 10px; }
.swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  cursor: pointer;
  padding: 0;
  display: inline-block;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.swatch:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 3px;
}
.swatch:hover, .swatch.active { border-color: var(--teal-bright); transform: scale(1.08); }

/* ---------- Feature blocks (alternating) ---------- */
.feature-block {
  padding: 88px 0;
}
.feature-block:nth-child(even) { background: var(--mint); }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature-grid.reverse .feature-media { order: 2; }
.feature-media {
  background: var(--navy);
  border-radius: 12px;
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.feature-media img { width: 60%; height: 60%; object-fit: contain; }
.feature-copy .eyebrow { display: block; margin-bottom: 14px; }
.feature-copy h2 { margin-bottom: 16px; font-size: clamp(26px,3.2vw,38px); }
.feature-copy p.lead { margin-bottom: 0; }
@media (max-width: 880px) {
  .feature-grid, .feature-grid.reverse { grid-template-columns: 1fr; }
  .feature-grid.reverse .feature-media { order: 0; }
}

/* ---------- Spec table ---------- */
.spec-table-section { background: var(--navy); color: var(--paper); }
.spec-table-section .section-head h2 { color: var(--paper); }
.spec-table-section .section-head p { color: var(--grey-light); }
.product-hero-section .spec-table { margin-top: 56px; }
.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table tr { border-bottom: 1px solid var(--navy-rule); }
.spec-table td { padding: 18px 0; font-size: 15px; }
.spec-table td:first-child { color: var(--grey-light); width: 240px; }
.spec-table td:last-child { color: var(--paper); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid rgba(10,22,40,0.1);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--teal);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 14px; color: var(--grey); font-size: 15px; max-width: 620px; }

/* ---------- Related products ---------- */
/* Note: .related (cross-page "related products") removed — not used in single-page layout */
@media (max-width: 880px) {
  .related .product-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}

@media (max-width: 880px) {
  .product-hero-grid { grid-template-columns: 1fr; }
  .product-visual { order: -1; }
}
