/* Product pages (one per product). Loaded after base.css and calc.css. */
.wide { width: min(1160px, 100% - 32px); margin-inline: auto; }
.phero { overflow: hidden; padding: 28px 0 44px; background:
  linear-gradient(180deg, transparent 60%, var(--paper) 98%),
  radial-gradient(45% 90% at 85% 10%, rgb(240 178 74 / 0.36), transparent 70%),
  radial-gradient(45% 90% at 10% 20%, rgb(159 216 182 / 0.5), transparent 70%),
  repeating-linear-gradient(90deg, rgb(255 255 255 / 0.65) 0 1px, transparent 1px 14px), var(--paper); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.phero__copy { min-width: 0; }
.phero .lead { margin: 0 0 18px; }
.phero .cost { margin-bottom: 14px; }
.phero__pic img { width: 100%; max-width: 560px; margin-inline: auto; border-radius: 18px; background: var(--forest); box-shadow: var(--shadow-lg); }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.fine { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; }
ul.pfacts { list-style: none; padding: 0; margin: 18px 0 0; }
.pfacts li { display: flex; gap: 11px; align-items: baseline; font-size: 15.5px; }
.pfacts li::before { content: ""; flex: none; width: 6px; height: 11px; border: solid var(--green); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; justify-items: center; }
.gallery figure { margin: 0; width: 100%; max-width: 500px; }
.gallery img { width: 100%; border-radius: 16px; background: var(--forest); box-shadow: var(--shadow); }
figcaption { font-size: 13.5px; color: var(--muted); text-align: center; padding-top: 8px; }
.center { text-align: center; }
.sheets { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 220px)); gap: 14px; justify-content: center; }
.sheets figure { margin: 0; }
.sheets img { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.sheets--big { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 400px)); align-items: start; }
.dl { display: flex; flex-wrap: wrap; gap: 10px; }
.phero__pic.sheet img { background: #fff; max-width: 440px; height: auto; }
.buybox ul { text-align: left; }
main > .col > .buybox { margin-top: 40px; text-align: center; border: 2px solid var(--amber); box-shadow: var(--shadow-lg); }
.buybox h2 { margin: 0 0 6px; }
.buybox .cost { margin-bottom: 14px; }
/* the price check sits between the title band and the pictures */
main > div.col:not(:last-child) { padding-bottom: 0; }

@media (max-width: 800px) {
  .phero__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .phero { padding: 18px 0 32px; }
}
@media (max-width: 640px) {
  .dl .btn { width: 100%; }
  .phero .btn, .buybox .btn { width: 100%; padding-inline: 12px; font-size: 16px; }
  .sheets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheets--big { grid-template-columns: minmax(0, 1fr); }
  table.nums th, table.nums td, table.nums tbody th { padding-inline: 3px; font-size: 13px; }
}
