/* Prijsbewaker: kleine layoutfixes (basisfix-20261101). Geladen na style.css. */

/* Mobiel: de productpagina was ~590px breed in een smal scherm. Oorzaak: .product-layout gebruikt
   grid-template-columns: 1fr (= minmax(auto, 1fr)); de kolom groeit dan mee met de min-content-breedte van de
   prijstabel (5 kolommen + knop "Bekijk") en duwt de hele pagina breder dan het scherm. */
.product-layout { grid-template-columns: minmax(0, 1fr) 300px; }
.product-main, .product-sidebar, .product-header-info { min-width: 0; }
.product-title { overflow-wrap: anywhere; }
.section-card { max-width: 100%; min-width: 0; }
.product-layout canvas { max-width: 100% !important; }
.chart-container { width: 100%; min-width: 0; }
.section-card:has(> .price-table), .section-card:has(.price-table) { overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media (max-width: 960px) {
  .product-layout { grid-template-columns: minmax(0, 1fr); }
  .product-header-img img { max-width: 100%; height: auto; }
}
@media (max-width: 640px) {
  .product-layout .section-card { padding: 16px 14px; }
  .price-table { font-size: .84rem; }
  .price-table th, .price-table td { padding: 8px 6px; }
  .price-table th:nth-child(4), .price-table td.updated-cell { display: none; }   /* kolom 'Bijgewerkt' */
  .price-table th { letter-spacing: 0; font-size: .7rem; }
  .price-table th:first-child, .price-table td:first-child { padding-left: 2px; }
  .price-table th:last-child, .price-table td:last-child { padding-right: 2px; }
  .price-table .btn-visit { padding: 6px 8px; font-size: .78rem; white-space: nowrap; }
  .price-table .btn-visit .material-symbols-outlined { display: none; }
}
