/* Wherbi product page (/<country>-<lang>/p/<slug>-<id>): photos and facts side by side, then every shop as a row, the price chart, specifications. Tokens from pages.css. */
.product { padding: 28px 0 64px; }
.product h2 { font-size: 22px; line-height: 1.25; margin: 40px 0 14px; }
.product h2 small { color: var(--faint); font-weight: 500; font-size: 15px; margin-left: 6px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.crumbs > * + *::before { content: "›"; margin-right: 8px; color: var(--faint); }
.crumbs a { text-decoration: none; }
.p-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.p-photos .main { width: 100%; aspect-ratio: 1; object-fit: contain; background: #FFFFFF; border-radius: var(--r); box-shadow: var(--shadow); padding: 18px; }
.p-photos .main.none { background: var(--sunk); box-shadow: none; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 12px 0 0; }
.thumbs img { width: 72px; height: 72px; object-fit: contain; background: #FFFFFF; border-radius: 12px; border: 1px solid var(--line); padding: 4px; }
.p-facts { min-width: 0; }
.p-facts .brand { color: var(--muted); font-weight: 600; font-size: 15px; letter-spacing: .02em; }
.p-facts h1 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; margin: 4px 0 8px; text-wrap: balance; overflow-wrap: anywhere; }
.p-facts .version { color: var(--muted); margin: 0 0 12px; }
.best { display: grid; gap: 2px; margin: 18px 0; padding: 18px 20px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.best span { color: var(--muted); font-size: 15px; }
.best b { font-size: 34px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.best small { color: var(--muted); font-size: 14.5px; }
.best.none { color: var(--muted); }
.keys { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 4px; font-size: 15.5px; }
.keys span { color: var(--muted); }
.countries summary { cursor: pointer; color: var(--violet-text); font-weight: 600; font-size: 15px; }
.countries ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 10px 0 0; }
.countries a, .versions a { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--fg); font-size: 14.5px; background: var(--surface); }
.countries a[aria-current], .versions a[aria-current] { border-color: var(--violet); background: var(--violet-soft); }
.versions { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.versions small { color: var(--muted); margin-left: 6px; }
.offers { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.offers li { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; grid-template-areas: "shop price btn" "shop price via"; align-items: center; column-gap: 18px; padding: 14px 18px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.offers .shop { grid-area: shop; min-width: 0; display: grid; }
.offers .shop b { font-size: 17px; overflow-wrap: anywhere; }
.offers .stock { font-size: 14px; color: var(--muted); }
.offers .stock.in { color: var(--good); }
.offers .price { grid-area: price; display: grid; font-variant-numeric: tabular-nums; }
.offers .price b { font-size: 21px; }
.offers .price small { color: var(--muted); font-size: 13.5px; }
.offers .drop { font-size: 13px; font-weight: 600; color: var(--good); }
.offers .btn { grid-area: btn; padding: 12px 18px; font-size: 15px; justify-self: end; }
.offers .via { grid-area: via; font-size: 12.5px; color: var(--faint); justify-self: end; }
.disclosure, .note { color: var(--muted); font-size: 14px; margin-top: 14px; }
.chart { margin: 0; padding: 16px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .area { fill: var(--violet-soft); stroke: none; }
.chart .line { fill: none; stroke: var(--violet); stroke-width: 2.5; stroke-linejoin: round; }
.chart .dot { fill: var(--violet-strong); }
.chart text { fill: var(--muted); font: 500 12px var(--font); }
.chart figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }
.specs { width: 100%; border-collapse: collapse; font-size: 15.5px; background: var(--surface); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.specs th, .specs td { text-align: left; padding: 10px 16px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.specs th { color: var(--muted); font-weight: 500; width: 40%; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.about { max-width: 70ch; }
@media (max-width: 760px) {
  .p-top { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  /* One column: a long drop or delivery line never squeezes the shop (20 Nov 2026). */
  .offers li { grid-template-columns: minmax(0, 1fr); grid-template-areas: "shop" "price" "btn" "via"; row-gap: 10px; }
  .offers .btn { justify-self: stretch; justify-content: center; }
  .offers .via { justify-self: start; }
}
.alert-link { margin: 0 0 14px; font-size: 15px; }
.alert-link a { font-weight: 600; }
.alert-link small { color: var(--muted); }
