/* Product pricing only: native headers stay aligned while the region scrolls.
   Kept separate from checkout/control and from the shared site palette. */
.dv .dv-pt-scroll {
  max-inline-size: 100%; overflow: auto; margin-block-start: 18px;
  max-block-size: min(42rem, 80vh); isolation: isolate;
  border: 1px solid var(--line); border-radius: 12px;
  container-type: inline-size;
}
.dv .dv-pt {
  display: table; inline-size: 100%; min-inline-size: 46rem;
  border-collapse: separate; border-spacing: 0; margin: 0;
  color: var(--ink); background: var(--panel);
}
.dv .dv-pt caption {
  padding: 12px 16px; text-align: start; font-weight: 650;
  color: var(--ink); background: var(--panel);
}
.dv .dv-pt :is(th, td) {
  padding: 8px; border-block-start: 1px solid var(--line);
  vertical-align: middle; text-align: center;
}
.dv .dv-pt thead th {
  position: sticky; inset-block-start: 0; z-index: 2;
  background: var(--panel); color: var(--muted);
  font-size: .875rem; font-weight: 600; line-height: 1.5;
  letter-spacing: 0; text-transform: none; white-space: nowrap;
}
.dv .dv-pt .dv-pt-head:first-child { text-align: start; z-index: 3; inset-inline-start: 0; }
.dv .dv-pt .dv-pt-tier {
  position: sticky; inset-inline-start: 0; z-index: 1;
  min-inline-size: 9rem; background: var(--panel); text-align: start;
  border-inline-end: 1px solid var(--line); padding-inline: 16px;
}
.dv .dv-pt-tier :is(.n, .d) { display: block; }
.dv .dv-pt-tier .n { font-size: 1rem; font-weight: 700; }
.dv .dv-pt-tier .d { font-size: .875rem; font-weight: 400; color: var(--muted); }
.dv .dv-pt-cell {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-block-size: 76px; padding: 12px 8px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel); color: var(--ink); text-decoration: none; text-align: center;
}
.dv .dv-pt-cell .p { font-size: 1.0625rem; font-weight: 700; white-space: nowrap; }
.dv .dv-pt-cell .f { margin-block-start: 2px; font-size: .875rem; line-height: 1.5; color: var(--muted); white-space: nowrap; }
.dv .dv-pt-cell .badge {
  display: block; background: #f5c84b; color: #0b0d10; padding: 2px 7px; border-radius: 999px;
  font-size: .875rem; font-weight: 700; line-height: 1.3; margin-block-end: 4px;
}
.dv .dv-pt-cell:hover { border-color: var(--accent); text-decoration: underline; }
.dv :is(.dv-pt-scroll, .dv-pt-cell):focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.dv .dv-pt-actions { display: flex; gap: 12px; margin-block-start: 18px; flex-wrap: wrap; align-items: center; }
.dv .dv-pt-contact { color: var(--muted); font-size: .875rem; }
/* Keep the existing catalogue's omitted seven-day SKUs and headers aligned.
   .dr-no7d is set only after every seven-day SKU has been omitted. */
.dv .dv-pt.dr-no7d tr > :nth-child(2) { display: none; }
@container (width < 42rem) {
  .dv .dv-pt { min-inline-size: 40rem; }
  .dv .dv-pt :is(th, td) { padding: 6px; }
  .dv .dv-pt .dv-pt-tier { min-inline-size: 8rem; padding-inline: 10px; }
}
@media (forced-colors: active) {
  .dv .dv-pt-scroll, .dv .dv-pt-cell { border-color: CanvasText; }
  .dv .dv-pt, .dv .dv-pt caption, .dv .dv-pt :is(th, td) { background: Canvas; color: CanvasText; border-color: CanvasText; }
  .dv .dv-pt-cell { color: LinkText; background: Canvas; }
  .dv .dv-pt-cell .badge { color: CanvasText; background: Canvas; border: 1px solid CanvasText; }
  .dv :is(.dv-pt-scroll, .dv-pt-cell):focus-visible { outline-color: Highlight; }
  .dv .dv-accent { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
}
/* A long RTL FAQ summary must not impose a min-content width on its grid. */
.dv .dv-faq { grid-template-columns: minmax(0, 1fr); }
.dv .dv-faq details { min-inline-size: 0; }
.dv .dv-faq summary { overflow-wrap: anywhere; }
/* Keep translated compound words readable within narrow cards and headings. */
.dv .dv-resp h2 { overflow-wrap: anywhere; }
/* Reserve the sticky header's width when the browser scrolls a focused link
   into view, so keyboard focus is never tucked underneath the plan column. */
.dv .dv-pt { table-layout: fixed; }
.dv .dv-pt-scroll { scroll-padding-inline-start: 9rem; }
.dv .dv-pt thead th:first-child { inline-size: 9rem; }
@container (width < 42rem) {
  .dv .dv-pt thead th:first-child { inline-size: 8rem; }
}
@media (max-width: 700px) {
  .dv .dv-pt-scroll { scroll-padding-inline-start: 8rem; }
}
