/* Ficha de producto: estilos locales, sin alterar portada ni formulario. */
.product-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  grid-template-areas: "photo heading" "photo info";
  grid-template-rows: auto 1fr;
  gap: 26px 64px;
  align-items: start;
  padding-top: 30px;
  padding-bottom: 72px;
}

.product-heading { grid-area: heading; min-width: 0; }
.product-heading .eyebrow { margin-bottom: 12px; }
.product-heading h1 { font-size: clamp(36px, 3.7vw, 54px); line-height: 1.15; }
.product-summary { margin-top: 16px; color: var(--textoSuave); }
.product-heading h1 { overflow-wrap: anywhere; }
.product-state { padding-top: 36px; padding-bottom: 56px; }
.product-state p { margin-top: 16px; color: var(--textoSuave); }
.product-state .text-link { margin-top: 20px; }
.product-state[hidden], .product-sheet [hidden] { display: none; }

.product-sheet-photo { grid-area: photo; min-width: 0; }
.product-sheet-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-card);
  background: var(--fondoContraste);
}
.product-sheet-photo figcaption {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--textoSuave);
}
.product-photo-pending {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 28px;
  border: 1px dashed var(--bordeFuerte);
  border-radius: var(--radius-card);
  background: var(--fondoContraste);
  color: var(--textoSuave);
  text-align: center;
}

.product-sheet-info { grid-area: info; min-width: 0; }
.product-specs { margin-bottom: 16px; table-layout: fixed; }
.product-specs caption { font-size: 14px; padding: 16px 0; }
.product-specs th, .product-specs td { font-size: 14px; line-height: 1.6; padding: 16px 0; overflow-wrap: anywhere; }
.product-specs th { width: 56%; padding-right: 20px; }
.product-specs td { color: var(--texto); }
.product-sheet .pending { font-size: inherit; font-style: normal; color: var(--textoSuave); }
.product-preparation-note, .product-quote-note { font-size: 13px; line-height: 1.65; color: var(--textoSuave); }
.product-preparation-note { margin-bottom: 24px; }
.product-quote { min-height: 52px; }
.product-quote-note { margin-top: 12px; }
.product-draft-note { margin-top: 14px; color: var(--textoSuave); font-size: 12px; }
.product-back { margin-top: 16px; }

@media (max-width: 1050px) {
  .product-sheet { column-gap: 36px; }
}

@media (max-width: 760px) {
  .product-sheet {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "heading" "photo" "info";
    grid-template-rows: auto;
    gap: 26px;
    padding-top: 20px;
    padding-bottom: 44px;
  }
  .product-heading h1 { font-size: clamp(32px, 8.8vw, 44px); }
  .product-summary { margin-top: 12px; font-size: 14px; }
  .product-sheet-photo img { aspect-ratio: 4 / 3; border-radius: 14px; }
  .product-photo-pending { aspect-ratio: 4 / 3; border-radius: 14px; }
  .product-specs th { width: 56%; padding-right: 16px; }
}

/* Ficha sin fotografía (auditoría 2 nov): sin el recuadro «Fotografía en preparación» ni su hueco */
.product-sheet.sin-foto { grid-template-columns: minmax(0, 820px); grid-template-areas: "heading" "info"; grid-template-rows: auto; }
@media (max-width: 760px) {
  .product-sheet.sin-foto { grid-template-columns: minmax(0, 1fr); }
}
