/* ==========================================================================
   DCE V2 — shop.css
   Equipment listing + equipment detail. Loaded only on those pages.
   ========================================================================== */

/* ---------- Shared bits ---------- */
.dx-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.1rem 0.5rem; font-size: 0.875rem; }
.dx-crumbs li { display: inline-flex; align-items: center; gap: 0.5rem; }
.dx-crumbs li + li::before { content: "/" / ""; color: var(--dx-ink-3); }
.dx-crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--dx-ink-2); text-decoration: underline; text-decoration-color: var(--dx-line); }
.dx-crumbs a:hover { color: var(--dx-blue); text-decoration-color: currentColor; }
.dx-crumbs a[aria-current="page"] { color: var(--dx-ink); font-weight: 600; text-decoration: none; }
.dx-crumbs a:focus-visible { position: relative; z-index: 1; }

.dx-flag { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.1rem 0.45rem; font-size: 0.8125rem; font-weight: 600; line-height: 1.4; color: var(--dx-ink-2); background: var(--dx-bg-2); border: 1px solid var(--dx-line); border-radius: 2px; max-width: 100%; }
.dx-flag--used { color: var(--dx-used); background: var(--dx-used-bg); border-color: #e6cf9b; }
.dx-flag--lot { color: var(--dx-ok); background: #edf6ef; border-color: #bfdcc7; }
.dx-tag { display: inline-block; margin-inline-start: 0.4rem; padding: 0 0.4rem; font-size: 0.75rem; font-weight: 600; line-height: 1.5; color: var(--dx-ink-2); background: var(--dx-bg-2); border: 1px solid var(--dx-line); border-radius: 2px; white-space: nowrap; vertical-align: 0.08em; }
.dx-minih { margin: 0 0 0.6rem !important; font: 600 0.8125rem/1.3 var(--dx-body) !important; letter-spacing: 0.08em !important; text-transform: uppercase !important; color: var(--dx-ink-2) !important; }
.dx-fineprint { margin: 1rem 0 0; font-size: 0.875rem; color: var(--dx-ink-2); max-width: 75ch; }
.dx-link { display: inline-flex; align-items: center; gap: 0.25rem; font-weight: 600; min-height: 32px; }

.dx-nophoto { display: grid; place-content: center; justify-items: center; gap: 0.35rem; color: var(--dx-ink-2); font-size: 0.8125rem; background: var(--dx-well); }

/* ==========================================================================
   LISTING
   ========================================================================== */
.dx-shop { padding-block: 1rem 0; }
.dx-shop__head { margin-block: 0.5rem 1rem; }
.dx-shop__title { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); font-weight: 700; line-height: 1; }
.dx-shop__desc { max-width: 70ch; margin-top: 0.6rem; color: var(--dx-ink-2); }
.dx-shop__desc p:last-child { margin-bottom: 0; }

/* Helpful guides (inc/v2/category-guides.php): the TN ag tax page on tractor categories, under the category links; and on
   product pages the buyer's comparison guide (.dx-guides--pdp, below). Rules, not boxes: one ink rule over the row. */
.dx-guides { margin-block: 0.25rem 1rem; }
.dx-guides__h { margin: 0 0 0.35rem !important; font: 600 0.8125rem/1.3 var(--dx-body) !important; letter-spacing: 0.08em !important; text-transform: uppercase !important; color: var(--dx-ink-2) !important; }
.dx-guides__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 0 1.5rem; margin: 0 !important; padding: 0 !important; list-style: none; border-top: 2px solid var(--dx-ink); }
.dx-guide { display: grid; align-content: start; gap: 0.15rem; padding-block: 0.65rem 0.6rem; min-width: 0; }
.dx-guide__eyebrow { display: flex; align-items: center; gap: 0.35rem; margin: 0 !important; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dx-ink-3); }
.dx-guide__eyebrow .dx-icon { flex: none; color: var(--dx-blue); }
/* The title is an inline link, so a wrapped title keeps its arrow right after the last word; the padding gives it a
   ~44 px tall hit area without changing the line box. */
.dx-guide__title { margin: 0 !important; font: 600 1.25rem/1.2 var(--dx-display); }
.dx-guide__link { display: inline; padding-block: 0.6rem; color: var(--dx-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.dx-guide__link:hover { color: var(--dx-navy-deep); text-decoration-thickness: 2px; }
/* The padding only widens the tap area; drop it while focused so the ring hugs the title instead of crossing the lines above and below. */
.dx-guides .dx-guide__link:focus-visible { padding-block: 0; outline-offset: 1px; }
.dx-guide__link .dx-icon { vertical-align: -0.2em; margin-inline-start: 0.15rem; }
.dx-guide__end { white-space: nowrap; }
.dx-guide__sub { margin: 0.15rem 0 0 !important; font-size: 0.9375rem; line-height: 1.4; color: var(--dx-ink-2); }
/* Phones: titles only, so the equipment list stays near the top (the guide pages carry the detail). */
@media (max-width: 639.98px) {
  .dx-guide__sub { display: none; }
  .dx-guide { padding-block: 0.55rem 0.45rem; }
}
/* Product page (5.0.15): "How it compares" under the Get a quote / Call buttons. The matchup line ("BOOMER 40 vs. …") is
   the point here, so it shows on phones too. */
.dx-guides--pdp { margin-block: 1.5rem 0; }
.dx-guides--pdp .dx-guide__sub { display: block; }

/* Category rail */
.dx-rail { margin-block: 0 0.75rem; }
/* Categories wrap onto as many lines as they need — nothing is cut off or hidden behind a sideways scroll */
.dx-rail ul { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.dx-rail a {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: var(--dx-target); padding: 0.25rem 0.85rem;
  font-weight: 600; color: var(--dx-ink); text-decoration: none; white-space: nowrap;
  background: #fff; border: 1.5px solid var(--dx-line); border-radius: var(--dx-r);
}
.dx-rail a:hover { border-color: var(--dx-navy); color: var(--dx-navy-deep); }
.dx-rail a[aria-current="page"] { background: var(--dx-navy); border-color: var(--dx-navy); color: #fff; }
.dx-rail a.is-ancestor { border-color: var(--dx-navy); box-shadow: inset 0 -3px 0 var(--dx-navy); }
.dx-rail__n { font-weight: 400; font-size: 0.875rem; color: var(--dx-ink-3); font-variant-numeric: tabular-nums; }
.dx-rail a[aria-current="page"] .dx-rail__n { color: #d5dceb; }
.dx-rail--sub a { min-height: 36px; padding-inline: 0.7rem; font-size: 0.9375rem; background: var(--dx-bg-2); border-color: transparent; }
.dx-rail--sub a[aria-current="page"] { background: var(--dx-ink); border-color: var(--dx-ink); }
@media (pointer: coarse) { .dx-rail--sub a { min-height: 44px; } }
@media (max-width: 599.98px) {
  .dx-rail ul { gap: 0.4rem; }
  .dx-rail a { padding-inline: 0.65rem; font-size: 0.9375rem; gap: 0.35rem; }
  .dx-rail__n { font-size: 0.8125rem; }
  .dx-sort label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .dx-sort select { width: 100%; max-width: none; }
}

/* Toolbar */
.dx-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; padding-block: 0.75rem; border-block: 1px solid var(--dx-line); margin-top: 1rem; }
.dx-toolbar__filters { order: 1; }
.dx-toolbar__n { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; padding-inline: 0.3rem; border-radius: 1rem; background: var(--dx-navy); color: #fff; font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.dx-search { order: 3; flex: 1 1 100%; min-width: 0; max-width: 100%; display: flex; align-items: center; gap: 0.25rem; padding-inline-start: 0.75rem; background: #fff; border: 1.5px solid var(--dx-ink-3); border-radius: var(--dx-r); color: var(--dx-ink-3); }
.dx-search:focus-within { border-color: var(--dx-blue); box-shadow: 0 0 0 2px var(--dx-blue-tint); }
.dx-search input { flex: 1 1 0; width: 0; min-width: 0; min-height: 44px; padding: 0 0.25rem; border: 0; background: transparent; font: 400 1rem/1 var(--dx-body); color: var(--dx-ink); }
.dx-search input:focus-visible { outline: none; }
.dx-search__go { min-height: 44px; padding: 0 0.9rem; border: 0; border-inline-start: 1px solid var(--dx-line); background: transparent; color: var(--dx-navy); font: 600 0.9375rem/1 var(--dx-body); cursor: pointer; }
.dx-search__go:hover { background: var(--dx-blue-tint); }
.dx-sort { order: 2; margin-inline-start: auto; display: flex; align-items: center; gap: 0.5rem; }
.dx-sort label { font-size: 0.9375rem; color: var(--dx-ink-2); }
.dx-sort select { min-height: 44px; max-width: 46vw; padding: 0 2rem 0 0.75rem; font: 600 0.9375rem/1 var(--dx-body); color: var(--dx-ink); background: #fff; border: 1.5px solid var(--dx-ink-3); border-radius: var(--dx-r); }
@media (min-width: 720px) {
  .dx-search { order: 2; flex: 1 1 18rem; max-width: 30rem; }
  .dx-sort { order: 3; }
}

/* Body: filters + results */
.dx-shop__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 2.5rem; padding-top: 1rem; }
.dx-js .dx-filters { display: none; }
.dx-filters__title { font: 600 0.8125rem/1.3 var(--dx-body) !important; letter-spacing: 0.08em !important; text-transform: uppercase !important; color: var(--dx-ink-2) !important; margin-bottom: 0.25rem !important; }
@media (min-width: 1024px) {
  .dx-shop__body { grid-template-columns: 17rem minmax(0, 1fr); }
  /* The column scrolls, so it clips at its own edges. 0.5rem of padding each side, cancelled by the negative margins, keeps the
     content exactly where it was but moves the clip edge out past the checkboxes' borders (lost at 125% display scaling) and the
     3px + 2px focus ring. The end padding was 0.25rem, so the end margin only takes back the extra 0.25rem. */
  .dx-js .dx-filters, .dx-filters { display: block; align-self: start; position: sticky; top: 0.75rem; max-height: calc(100dvh - 1.5rem); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-inline: 0.5rem; margin-inline: -0.5rem -0.25rem; }
  .dx-toolbar__filters { display: none; }
}

/* Facets */
.dx-facet { border-bottom: 1px solid var(--dx-line); }
.dx-facet > summary { display: flex; align-items: center; gap: 0.5rem; min-height: 48px; cursor: pointer; list-style: none; font-weight: 600; color: var(--dx-ink); }
.dx-facet > summary::-webkit-details-marker { display: none; }
.dx-facet > summary .dx-icon { margin-inline-start: auto; color: var(--dx-ink-3); transition: rotate 0.15s; }
.dx-facet[open] > summary .dx-icon { rotate: 180deg; }
.dx-facet__on { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; padding-inline: 0.35rem; border-radius: 1rem; background: var(--dx-navy); color: #fff; font-size: 0.75rem; font-weight: 600; }
.dx-facet__body { border: 0; margin: 0; padding: 0 0 0.75rem; min-width: 0; }
.dx-facet__hint { margin: 0 0 0.4rem !important; font-size: 0.875rem; color: var(--dx-ink-2); }
.dx-opt { display: flex; align-items: center; gap: 0.6rem; min-height: var(--dx-target); padding: 0.15rem 0.25rem; margin-inline: -0.25rem; border-radius: 2px; cursor: pointer; }
.dx-opt:hover { background: var(--dx-bg-2); }
.dx-opt input { flex: none; width: 1.2rem; height: 1.2rem; margin: 0; accent-color: var(--dx-navy); }
.dx-opt__label { flex: 1; min-width: 0; }
.dx-opt__n { color: var(--dx-ink-3); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.dx-opt.is-empty { color: var(--dx-ink-3); }
.dx-opt:has(input:checked) .dx-opt__label { font-weight: 600; }
.dx-facet__body--chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.dx-facet__body--chips .dx-opt { margin: 0; padding: 0 0.7rem; border: 1.5px solid var(--dx-line); border-radius: var(--dx-r); gap: 0.35rem; }
.dx-facet__body--chips .dx-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dx-facet__body--chips .dx-opt:has(input:checked) { background: var(--dx-navy); border-color: var(--dx-navy); color: #fff; }
.dx-facet__body--chips .dx-opt:has(input:checked) .dx-opt__n { color: #d5dceb; }
.dx-facet__body--chips .dx-opt:has(input:focus-visible) { outline: var(--dx-focus); outline-offset: 2px; }
.dx-more > summary { display: inline-flex; align-items: center; min-height: var(--dx-target); color: var(--dx-blue); font-weight: 600; text-decoration: underline; cursor: pointer; list-style: none; }
.dx-more > summary::-webkit-details-marker { display: none; }
.dx-more[open] > summary { display: none; }
.dx-price { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem 0.5rem; align-items: end; margin-bottom: 0.5rem; }
.dx-price label { font-size: 0.875rem; color: var(--dx-ink-2); }
.dx-price label:nth-of-type(1) { grid-area: 1 / 1; }
.dx-price label:nth-of-type(2) { grid-area: 1 / 2; }
.dx-price__box { display: flex; align-items: center; gap: 0.2rem; padding-inline-start: 0.5rem; border: 1.5px solid var(--dx-ink-3); border-radius: var(--dx-r); background: #fff; color: var(--dx-ink-2); }
.dx-price__box:focus-within { border-color: var(--dx-blue); }
.dx-price__box input { width: 100%; min-width: 0; min-height: 42px; padding: 0 0.25rem; border: 0; background: transparent; font: 400 1rem/1 var(--dx-body); color: var(--dx-ink); -moz-appearance: textfield; }
.dx-price__box input::-webkit-outer-spin-button, .dx-price__box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dx-price__go { grid-column: 1 / -1; justify-self: start; border-color: var(--dx-line); text-decoration: none; padding-inline: 1rem; }
.dx-filterform__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-block: 1rem; }
.dx-js .dx-filterform__apply { display: none; }
.dx-filterform__none { padding-block: 0.75rem; }

/* Filter sheet (small screens) */
dialog.dx-sheet { inline-size: 100vw; max-inline-size: 28rem; block-size: 100dvh; max-block-size: 100dvh; margin: 0 0 0 auto; background: #fff; }
dialog.dx-sheet[open] { display: flex; flex-direction: column; }
.dx-sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0.5rem 0.5rem 1.25rem; border-bottom: 1px solid var(--dx-line); }
.dx-sheet__head h2 { font-size: 1.5rem; }
/* position: relative keeps the hidden helpers inside the scroller (screen-reader labels, the chip inputs): positioned against
   the dialog they made it taller than the screen, so a swipe on the header or footer scrolled the whole sheet away. The 0.375rem
   top/bottom padding leaves room for the 5px focus ring on the first and last filter headings. */
.dx-sheet__body { position: relative; flex: 1; overflow: auto; overscroll-behavior: contain; padding: 0.375rem 1.25rem; }
/* The footer's top line closes the list; the last filter's own divider would show as a second line 6px above it. */
.dx-sheet__body .dx-filterform > .dx-facet:last-of-type { border-bottom: 0; }
.dx-sheet__body .dx-filterform__actions { display: none; }
.dx-sheet__foot { display: flex; gap: 0.75rem; align-items: center; padding: 0.75rem 1.25rem calc(0.75rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--dx-line); background: #fff; }
.dx-sheet__foot .dx-btn--primary { flex: 1; min-height: 48px; }

/* Results */
.dx-results { min-width: 0; container-type: inline-size; }
.dx-results[aria-busy="true"] .dx-grid { opacity: 0.45; }
.dx-results__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-bottom: 0.75rem; min-height: 2.25rem; }
.dx-results__count { margin: 0; color: var(--dx-ink-2); font-variant-numeric: tabular-nums; }
.dx-results__count strong { color: var(--dx-ink); }
.dx-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.dx-chip { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 32px; padding: 0.1rem 0.5rem 0.1rem 0.65rem; font-size: 0.875rem; font-weight: 600; color: var(--dx-navy-deep); text-decoration: none; background: var(--dx-blue-tint); border: 1px solid #c3d2ea; border-radius: var(--dx-r); }
.dx-chip:hover { background: #dbe6f6; border-color: var(--dx-blue); color: var(--dx-navy-deep); }
.dx-chips__clear { display: inline-flex; align-items: center; min-height: 32px; padding-inline: 0.35rem; font-size: 0.875rem; font-weight: 600; }
@media (pointer: coarse) { .dx-chip, .dx-chips__clear { min-height: 40px; } }

/* Grid: a ruled catalog sheet rather than floating tiles */
.dx-grid { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--dx-line); }
.dx-grid > li { display: flex; min-width: 0; border-bottom: 1px solid var(--dx-line); }
@container (min-width: 560px) {
  .dx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
}
@container (min-width: 880px) {
  .dx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container (min-width: 1240px) {
  .dx-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.dx-cq { container-type: inline-size; }

/* Card — regions are direct children: media, header, specs, footer */
.dx-card { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; gap: 0.6rem; padding-block: 1rem 0.9rem; min-width: 0; }
.dx-card > .dx-card__img, .dx-card > .dx-nophoto { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--dx-well); border-radius: 2px; }
.dx-card > .dx-nophoto { display: grid; }
.dx-card__brand { margin: 0 0 0.1rem !important; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dx-ink-3); }
.dx-card__title { font-size: 1.5rem !important; font-weight: 600 !important; line-height: 1.08 !important; overflow-wrap: anywhere; }
.dx-card__title a { color: var(--dx-ink); text-decoration: none; }
.dx-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.dx-card:hover .dx-card__title a { color: var(--dx-blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
.dx-card__title a:focus-visible { outline: none; }
.dx-card:has(.dx-card__title a:focus-visible) { outline: var(--dx-focus); outline-offset: 2px; }
.dx-card__flags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0.45rem 0 0 !important; }
.dx-card__specs { align-self: start; font-size: 0.9375rem; }
.dx-card__specs > div { display: flex; justify-content: space-between; gap: 0.75rem; padding-block: 0.28rem; border-top: 1px solid var(--dx-line-2); }
.dx-card__specs dt { color: var(--dx-ink-2); flex: none; max-width: 55%; }
.dx-card__specs dd { font-weight: 600; text-align: end; overflow-wrap: anywhere; }
.dx-card__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; padding-top: 0.5rem; border-top: 1px solid var(--dx-ink); }
.dx-card__price { margin: 0 !important; font: 700 1.5rem/1.1 var(--dx-display); color: var(--dx-ink); font-variant-numeric: tabular-nums; }
.dx-card__price del { font-weight: 600; font-size: 1.05rem; color: var(--dx-ink-3); }
.dx-card__from { font: 400 0.875rem/1 var(--dx-body); color: var(--dx-ink-2); }
.dx-card__price--ask { font: 600 1rem/1.3 var(--dx-body); color: var(--dx-ink-2); }
.dx-card__go { display: inline-flex; align-items: center; gap: 0.1rem; font-size: 0.9375rem; font-weight: 600; color: var(--dx-blue); white-space: nowrap; }
/* No listed price: a "Get a quote" button in the price slot (catalog-view.php), as on the old site. It sits above the
   title link's full-card overlay (z-index 1), so it opens the form instead of the product page. */
.dx-card__foot--quote { align-items: center; flex-wrap: wrap; }
/* The footer always takes the card's last row, so on a tile without spec rows it no longer lands in the stretchy 1fr
   row and sits higher than its neighbours' (both the wide and the narrow card templates end in an auto row). */
.dx-card > .dx-card__foot { grid-row: -2 / -1; }
.dx-card__quote { position: relative; z-index: 2; padding-inline: 0.85rem; font-size: 0.9375rem; white-space: nowrap; }
.dx-card:has(.dx-card__quote:hover) .dx-card__title a { color: var(--dx-ink); text-decoration: none; }
/* A list that mixes priced and unpriced items: every footer is the button's height, so the footer rules line up across a row. */
:is(ul, ol):has(.dx-card__quote) .dx-card__foot { box-sizing: content-box; min-height: var(--dx-target); align-items: center; }

/* Narrow results column (phones): compact rows — photo beside the facts */
@container (max-width: 559.98px) {
  .dx-card { grid-template-columns: 38% minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: 0.9rem; row-gap: 0.4rem; padding-block: 0.9rem; }
  .dx-card > .dx-card__img, .dx-card > .dx-nophoto { grid-row: 1 / span 2; align-self: start; }
  .dx-card__head, .dx-card__specs { grid-column: 2; }
  .dx-card:not(:has(> .dx-card__specs)) > .dx-card__img, .dx-card:not(:has(> .dx-card__specs)) > .dx-nophoto { grid-row: 1; }
  .dx-card__foot { grid-column: 1 / -1; }
  .dx-card__title { font-size: 1.3rem !important; }
  .dx-card__specs { font-size: 0.875rem; }
  .dx-card__specs > div:first-child { border-top: 0; padding-top: 0; }
  .dx-card__price { font-size: 1.35rem; }
}

/* Pagination */
.dx-pages { margin-top: 1.5rem; }
.dx-pages ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem; }
.dx-pages__link { display: inline-flex; align-items: center; justify-content: center; gap: 0.25rem; min-width: 44px; min-height: 44px; padding: 0 0.6rem; font-weight: 600; color: var(--dx-ink); text-decoration: none; border: 1.5px solid var(--dx-line); border-radius: var(--dx-r); font-variant-numeric: tabular-nums; }
a.dx-pages__link:hover { border-color: var(--dx-navy); color: var(--dx-navy-deep); }
.dx-pages__link.current { background: var(--dx-navy); border-color: var(--dx-navy); color: #fff; }
.dx-pages__link.dots { border-color: transparent; min-width: 1.5rem; padding: 0; }
@media (max-width: 480px) { .dx-pages__link.prev span, .dx-pages__link.next span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }

/* Empty state */
.dx-empty { padding: clamp(1.5rem, 4vw, 3rem); background: var(--dx-bg-2); border: 1px solid var(--dx-line); border-radius: var(--dx-r); }
.dx-empty__title { font-size: 1.75rem !important; margin-bottom: 0.75rem !important; }
.dx-empty p { margin: 0 0 0.75rem; }
.dx-chips--empty { margin-bottom: 1rem !important; }
.dx-empty__call { margin-top: 1.5rem !important; padding-top: 1.25rem; border-top: 1px solid var(--dx-line); color: var(--dx-ink-2); }
.dx-empty__phones { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.dx-empty__phones a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 40px; color: var(--dx-ink); text-decoration: none; }
.dx-empty__phones strong { color: var(--dx-blue); font-variant-numeric: tabular-nums; }
.dx-empty__phones a:hover strong { text-decoration: underline; }

/* ==========================================================================
   DETAIL PAGE
   ========================================================================== */
.dx-pdp { padding-top: 0.75rem; }
.dx-pdp__top { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.25rem; margin-bottom: 0.75rem; }
.dx-back { display: inline-flex; align-items: center; gap: 0.25rem; min-height: var(--dx-target); padding-inline: 0.5rem 0.75rem; font-weight: 600; color: var(--dx-navy); text-decoration: none; border: 1.5px solid var(--dx-line); border-radius: var(--dx-r); }
.dx-back:hover { border-color: var(--dx-navy); background: var(--dx-blue-tint); }
@media (max-width: 720px) { .dx-pdp__top .dx-crumbs { display: none; } }

.dx-pdp__hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 960px) {
  .dx-pdp__hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
  .dx-pdp__media { position: sticky; top: 4.25rem; }
}

/* Gallery */
.dx-gallery { position: relative; }
.dx-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; background: var(--dx-well); border-radius: 2px; touch-action: pan-x pan-y pinch-zoom; }
.dx-gallery__track::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: no-preference) { .dx-gallery__track { scroll-behavior: smooth; } }
.dx-gallery__slide { position: relative; flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 3; display: grid; }
.dx-gallery__slide a { display: grid; cursor: zoom-in; min-width: 0; min-height: 0; }
.dx-gallery__img, .dx-gallery__slide .dx-nophoto { width: 100%; height: 100%; object-fit: contain; min-width: 0; min-height: 0; }
.dx-gallery__stage { position: relative; }
.dx-gallery__controls { position: absolute; z-index: 2; inset: 0 0.5rem; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.dx-gallery__controls button { pointer-events: auto; box-shadow: 0 1px 4px rgb(0 0 0 / 0.18); touch-action: manipulation; }
.dx-gallery__thumbs { display: flex; gap: 0.5rem; margin-top: 0.5rem; overflow-x: auto; scrollbar-width: thin; padding: 3px; }
.dx-gallery__thumbs button { flex: none; width: 76px; height: 57px; padding: 0; background: var(--dx-well); border: 2px solid transparent; border-radius: 2px; cursor: pointer; overflow: hidden; touch-action: manipulation; }
.dx-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dx-gallery__thumbs button:hover { border-color: var(--dx-line); }
.dx-gallery__thumbs button[aria-current="true"] { border-color: var(--dx-navy); box-shadow: 0 0 0 1px var(--dx-navy); }
.dce-variation-info-slot:empty { display: none; }

dialog.dx-lightbox { inline-size: 100vw; block-size: 100dvh; max-inline-size: none; max-block-size: none; background: rgb(12 16 22 / 0.96); }
dialog.dx-lightbox[open] { display: grid; place-items: center; }
.dx-lightbox img { max-width: 100vw; max-height: 100dvh; object-fit: contain; }
.dx-lightbox__x { position: fixed; top: max(0.75rem, env(safe-area-inset-top, 0px)); right: 0.75rem; z-index: 2; }

/* Summary */
.dx-pdp__eyebrow { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; margin: 0 0 0.35rem !important; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dx-ink-2); }
.dx-pdp__eyebrow a { color: var(--dx-ink-2); text-decoration: underline; text-decoration-color: var(--dx-line); }
.dx-pdp__eyebrow > * + *::before { content: "·" / ""; margin-inline-end: 0.75rem; color: var(--dx-ink-3); }
.dx-pdp__title { font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem) !important; font-weight: 700 !important; line-height: 0.98 !important; overflow-wrap: anywhere; }
.dx-pdp__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.75rem; margin: 0.6rem 0 0 !important; }
.dx-pdp__sku { font-size: 0.875rem; color: var(--dx-ink-3); }

.dx-unit { display: grid; grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr)); gap: 0; margin-top: 0.9rem; background: var(--dx-used-bg); border: 1px solid #e6cf9b; border-radius: var(--dx-r); }
.dx-unit > div { padding: 0.55rem 0.8rem; border-inline-start: 1px solid #e6cf9b; margin-inline-start: -1px; }
.dx-unit dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dx-used); }
.dx-unit dd { font: 700 1.5rem/1.15 var(--dx-display); font-variant-numeric: tabular-nums; }

.dx-pdp__pricebox { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--dx-line); }
.dx-pdp__price { margin: 0 !important; font: 700 clamp(2rem, 1.6rem + 1.2vw, 2.6rem)/1 var(--dx-display); font-variant-numeric: tabular-nums; }
.dx-pdp__price del { font-size: 0.6em; font-weight: 600; color: var(--dx-ink-3); }
.dx-pdp__from { font: 400 1rem/1 var(--dx-body); color: var(--dx-ink-2); }
.dx-pdp__price--ask { font-size: 1.75rem; }
.dx-pdp__pricehint, .dx-pdp__disclaimer { margin: 0.35rem 0 0 !important; font-size: 0.9375rem; color: var(--dx-ink-2); max-width: 46ch; }

.dx-keyspecs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.25rem; border-top: 2px solid var(--dx-ink); }
.dx-keyspecs > div { padding: 0.65rem 0.75rem 0.65rem 0; border-bottom: 1px solid var(--dx-line); min-width: 0; }
.dx-keyspecs > div:nth-child(even) { padding-inline: 0.9rem 0; border-inline-start: 1px solid var(--dx-line); }
.dx-keyspecs dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dx-ink-2); }
.dx-keyspecs dd { margin-top: 0.1rem; overflow-wrap: anywhere; }
.dx-keyspecs .is-num .dx-keyspecs__v { font: 700 2rem/1.05 var(--dx-display); font-variant-numeric: tabular-nums; }
.dx-keyspecs__u { font-size: 1rem; font-weight: 600; color: var(--dx-ink-2); }
.dx-keyspecs .is-text .dx-keyspecs__v { font-size: 1.0625rem; font-weight: 600; line-height: 1.25; }
.dx-pdp__specnote { margin: 0.5rem 0 0 !important; font-size: 0.875rem; color: var(--dx-ink-2); }

.dx-pdp__cta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.6rem; margin-top: 1.1rem; }
@media (min-width: 420px) { .dx-pdp__cta { grid-template-columns: 1.3fr 1fr; } }
.dx-pdp__stock { display: flex; align-items: center; gap: 0.35rem; margin: 0.7rem 0 0 !important; font-size: 0.9375rem; font-weight: 600; color: var(--dx-ok); }

/* In-page nav */
.dx-pdpnav { position: sticky; top: 0; z-index: 20; margin-top: clamp(1.5rem, 3vw, 2.5rem); background: #fff; border-block: 1px solid var(--dx-line); }
.dx-pdpnav ul { display: flex; gap: 0.25rem 1.5rem; overflow-x: auto; scrollbar-width: none; }
.dx-pdpnav ul::-webkit-scrollbar { display: none; }
.dx-pdpnav a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; color: var(--dx-ink); text-decoration: none; white-space: nowrap; border-block: 3px solid transparent; }
.dx-pdpnav a:hover { color: var(--dx-blue); border-bottom-color: var(--dx-line); }
.dx-pdpnav a[aria-current="true"] { border-bottom-color: var(--dx-navy); color: var(--dx-navy); }

/* Sections */
.dx-sec { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem 2.5rem; padding-block: clamp(1.75rem, 3.5vw, 3rem); border-bottom: 1px solid var(--dx-line); scroll-margin-top: -1rem; }
.dx-sec:last-child { border-bottom: 0; }
.dx-sec__title { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem) !important; font-weight: 700 !important; }
.dx-sec__main, .dx-sec__side { min-width: 0; }
@media (min-width: 1024px) {
  .dx-sec { grid-template-columns: 13rem minmax(0, 1fr); }
  .dx-sec:not(.dx-sec--wide) { grid-template-columns: 13rem minmax(0, 44rem) minmax(12rem, 1fr); }
  .dx-sec__title { position: sticky; top: 4.5rem; align-self: start; }
}
.dx-cv { content-visibility: auto; contain-intrinsic-size: auto 640px; }

.dx-prose { max-width: 70ch; font-size: 1.0625rem; line-height: 1.6; }
.dx-prose > :last-child { margin-bottom: 0; }
.dx-prose :where(ul) { list-style: disc; padding-inline-start: 1.25rem; margin-bottom: 1em; }
.dx-prose :where(ol) { list-style: decimal; padding-inline-start: 1.25rem; margin-bottom: 1em; }
.dx-prose :where(li) { margin-bottom: 0.3em; }
.dx-prose :where(h2, h3, h4, h5) { margin: 1.4em 0 0.4em; font-size: 1.35rem; }
.dx-prose :where(img) { display: block; margin-block: 0.75rem; border-radius: 2px; }
.dx-prose :where(table) { font-size: 0.9375rem; }
.dx-prose :where(td, th) { padding: 0.5rem 0.75rem 0.5rem 0; border-bottom: 1px solid var(--dx-line-2); text-align: start; vertical-align: top; }
.dx-tablewrap { overflow-x: auto; max-width: 100%; }
.dx-lede { font-size: 1.1875rem; line-height: 1.5; color: var(--dx-ink); }
.dx-lede p { margin-bottom: 0.75em; }
.dx-taglist { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem !important; }
.dx-taglist li { padding: 0.25rem 0.6rem; font-weight: 600; font-size: 0.9375rem; background: var(--dx-bg-2); border: 1px solid var(--dx-line); border-radius: 2px; }

.dx-note { display: flex; gap: 0.6rem; margin: 0 0 1.25rem !important; padding: 0.75rem 0.9rem; font-size: 0.9375rem; color: var(--dx-ink-2); background: var(--dx-bg-2); border-inline-start: 3px solid var(--dx-navy); max-width: 62rem; }
.dx-note .dx-icon { margin-top: 0.15rem; color: var(--dx-navy); }
.dx-note strong { color: var(--dx-ink); }
.dx-note .dx-tag { margin-inline: 0.15rem; background: #fff; }

/* Spec tables: two columns of groups on wide screens, never wider than the page */
.dx-specgrid { columns: 1; column-gap: 2.5rem; }
@media (min-width: 860px) { .dx-specgrid { columns: 2; } }
.dx-spec { break-inside: avoid; margin-bottom: 1.75rem; table-layout: fixed; }
.dx-spec caption { padding-bottom: 0.4rem; text-align: start; font: 600 1.375rem/1.15 var(--dx-display); color: var(--dx-ink); border-bottom: 2px solid var(--dx-ink); }
.dx-spec th, .dx-spec td { padding: 0.5rem 0; border-bottom: 1px solid var(--dx-line); text-align: start; vertical-align: top; overflow-wrap: anywhere; }
.dx-spec th { width: 42%; padding-inline-end: 1rem; font-weight: 400; color: var(--dx-ink-2); }
.dx-spec td { font-weight: 600; }
.dx-spec--unit { background: var(--dx-used-bg); }
.dx-spec--unit caption { padding: 0.6rem 0.8rem 0.4rem; background: var(--dx-used-bg); border-bottom-color: var(--dx-used); }
.dx-spec--unit th { padding-inline-start: 0.8rem; }
.dx-spec--unit td { padding-inline-end: 0.8rem; }

/* Features */
.dx-feature { border-bottom: 1px solid var(--dx-line); }
.dx-feature:first-child { border-top: 1px solid var(--dx-line); }
.dx-feature > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding-block: 0.5rem; font: 600 1.375rem/1.15 var(--dx-display); cursor: pointer; list-style: none; }
.dx-feature > summary::-webkit-details-marker { display: none; }
.dx-feature > summary .dx-icon { color: var(--dx-ink-3); transition: rotate 0.15s; }
.dx-feature[open] > summary .dx-icon { rotate: 180deg; }
.dx-feature > summary:hover { color: var(--dx-blue); }
.dx-feature__body { padding: 0.25rem 0 1.5rem; max-width: 62rem; }
.dx-feature__body > div { margin-bottom: 1.25rem; }
.dx-feature__body img { max-width: min(100%, 40rem); }

/* Attachments */
.dx-families { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.5rem 2.5rem; }
.dx-family { border-top: 2px solid var(--dx-ink); padding-top: 0.6rem; }
.dx-family__head { display: inline-flex; align-items: baseline; gap: 0.5rem; min-height: 36px; font: 600 1.375rem/1.15 var(--dx-display); color: var(--dx-ink); text-decoration: none; }
.dx-family__head span { font: 400 0.875rem/1 var(--dx-body); color: var(--dx-ink-3); }
.dx-family__head:hover { color: var(--dx-blue); text-decoration: underline; }
.dx-family ul { display: flex; flex-wrap: wrap; gap: 0 1rem; margin-top: 0.25rem; }
.dx-family li a { display: inline-flex; align-items: center; min-height: 36px; }
@media (pointer: coarse) { .dx-family li a, .dx-family__head, .dx-link { min-height: 44px; } }
.dx-sec__main > .dx-minih:not(:first-child) { margin-top: 2rem !important; }

/* Brochures & buying */
.dx-buying { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 2.5rem; }
@media (min-width: 760px) { .dx-buying { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dx-buying__col--stores { grid-column: 1 / -1; } }
@media (min-width: 1200px) { .dx-buying { grid-template-columns: 1fr 0.8fr 1.8fr; } .dx-buying__col--stores { grid-column: auto; } .dx-buying:not(:has(> :nth-child(3))) { grid-template-columns: 1fr 2fr; } }
.dx-buying p { max-width: 40ch; }
.dx-doclist li { border-bottom: 1px solid var(--dx-line-2); }
.dx-doclist a { display: flex; align-items: center; gap: 0.6rem; min-height: 48px; padding-block: 0.35rem; font-weight: 600; text-decoration: none; }
.dx-doclist a:hover span { text-decoration: underline; }
.dx-doclist .dx-icon { color: var(--dx-ink-3); }
.dx-stores { display: grid; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); gap: 1.25rem 1.5rem; margin-bottom: 1.25rem !important; }
.dx-stores p { margin: 0; }
.dx-stores__name { font-weight: 600; }
.dx-stores__addr, .dx-stores__hours { font-size: 0.9375rem; color: var(--dx-ink-2); }
.dx-stores__tel { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 40px; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.dx-stores__tel:hover { text-decoration: underline; }

/* Mobile action bar — appears only once the main buttons have scrolled away */
.dx-stickybar { position: fixed; z-index: 40; inset: auto 0 0 0; display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem max(0.75rem, env(safe-area-inset-right, 0px)) max(0.5rem, env(safe-area-inset-bottom, 0px)) max(0.75rem, env(safe-area-inset-left, 0px)); background: #fff; border-top: 1px solid var(--dx-line); box-shadow: 0 -6px 18px rgb(15 36 68 / 0.1); }
.dx-stickybar[hidden] { display: none; }
.dx-stickybar__info { flex: 1; min-width: 0; display: grid; }
.dx-stickybar__name { font: 600 1.0625rem/1.15 var(--dx-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx-stickybar__price { font-size: 0.875rem; color: var(--dx-ink-2); }
.dx-stickybar .dx-btn { min-height: 44px; flex: none; }
@media (min-width: 960px) { .dx-stickybar { display: none !important; } }
html.dx-has-bar { scroll-padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px)); }
html.dx-has-bar .dx-footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }

/* ---------- V1 variation selector, restyled (markup + JS unchanged) ---------- */
.dx-pdp__options { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--dx-line); }
.dce-vsel__price { margin-bottom: 1rem; }
.dce-vsel__price-eyebrow { margin: 0 0 0.2rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dx-ink-2); }
.dce-vsel__price-eyebrow .dot { display: none; }
.dce-vsel__price-val { font: 700 clamp(2rem, 1.6rem + 1.2vw, 2.6rem)/1 var(--dx-display); font-variant-numeric: tabular-nums; color: var(--dx-ink); }
.dce-vsel__price-val .from { font: 400 1rem/1 var(--dx-body); color: var(--dx-ink-2); margin-inline-end: 0.4rem; }
.dce-vsel__price-val .range-dash { margin-inline: 0.3rem; color: var(--dx-ink-3); }
.dce-vsel__price-val del { font-size: 0.6em; color: var(--dx-ink-3); margin-inline-end: 0.4rem; }
.dce-vsel__price-val ins { text-decoration: none; }
.dce-vsel__price-hint, .dce-vsel__disclaimer { margin: 0.35rem 0 0; font-size: 0.9375rem; color: var(--dx-ink-2); }
.dce-vsel__summary { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.9rem; }
.dce-vsel__summary:empty { display: none; }
.dce-vsel__chip { display: inline-flex; gap: 0.35rem; padding: 0.15rem 0.5rem; font-size: 0.8125rem; background: var(--dx-blue-tint); border: 1px solid #c3d2ea; border-radius: 2px; color: var(--dx-navy-deep); }
.dce-vsel__group { margin-bottom: 1rem; }
.dce-vsel__group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.4rem; }
.dce-vsel__group-label { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.dce-vsel__num { display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; font-size: 0.8125rem; font-weight: 600; color: var(--dx-ink-2); border: 1.5px solid var(--dx-ink-3); border-radius: 50%; }
.dce-vsel__group.is-set .dce-vsel__num { background: var(--dx-navy); border-color: var(--dx-navy); color: #fff; }
.dce-vsel__chosen { font-size: 0.9375rem; text-align: end; }
.dce-vsel__chosen .muted { color: var(--dx-ink-3); }
.dce-vsel__chosen .val { font-weight: 600; color: var(--dx-navy); }
.dce-vsel__opts { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.dce-vsel__opts--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.25rem, 1fr)); }
.dce-vsel__opt { min-height: 44px; padding: 0.35rem 0.75rem; font: 600 0.9375rem/1.15 var(--dx-body); color: var(--dx-ink); background: #fff; border: 1.5px solid var(--dx-line); border-radius: var(--dx-r); cursor: pointer; touch-action: manipulation; }
.dce-vsel__opt:hover:not(.is-disabled) { border-color: var(--dx-navy); }
.dce-vsel__opt.is-selected { background: var(--dx-navy); border-color: var(--dx-navy); color: #fff; }
.dce-vsel__opt.is-disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.dce-vsel__opt.is-uncommon { opacity: 0.6; }
.dce-vsel__opt--tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.05rem; padding: 0.3rem 0.2rem; }
.dce-vsel__opt--tile .num { font: 700 1.25rem/1 var(--dx-display); }
.dce-vsel__opt--tile .unit { font-size: 0.75rem; font-weight: 600; color: var(--dx-ink-2); }
.dce-vsel__opt--tile.is-selected .unit { color: #d5dceb; }
.dce-vsel__reset-line { margin: 0.25rem 0 0; }
.dce-vsel__reset { min-height: 36px; padding: 0; background: none; border: 0; color: var(--dx-blue); font: 600 0.9375rem/1 var(--dx-body); text-decoration: underline; cursor: pointer; }
.dce-call-for-price { font: 600 1rem/1.3 var(--dx-body); color: var(--dx-ink-2); }

@media print {
  .dx-header, .dx-topbar, .dx-footer, .dx-pdpnav, .dx-stickybar, .dx-toolbar, .dx-filters, .dx-rail, .dx-guides, .dx-pdp__cta, .dx-back { display: none !important; }
  .dx-card__quote { min-height: 0; padding: 0; border: 0; background: none; color: var(--dx-ink-2); }
  .dx-card__quote .dx-icon { display: none; }
  .dx-cv { content-visibility: visible; }
  .dx-feature:not([open]) > *:not(summary) { display: block; }
}

/* A row of four suggestions never leaves one stranded on a second line */
@container (min-width: 880px) and (max-width: 1239.98px) { .dx-grid--row > li:nth-child(n + 4) { display: none; } }
@container (min-width: 560px) and (max-width: 879.98px) { .dx-grid--row > li:nth-child(n + 3) { display: none; } }

/* ---------- Phones: category navigation that stays short ---------- */
.dx-railbox > summary { display: none; }
@media (max-width: 599.98px) {
  /* One level of categories at a time: deeper pages show their own level; the
     level above is in the breadcrumb and the menu. */
  .dx-rail--parent, .dx-railbox--parent { display: none; }
  .dx-railbox { margin-block: 0 0.75rem; }
  .dx-railbox > summary { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 48px; padding: 0.25rem 0.75rem; list-style: none; cursor: pointer; background: var(--dx-bg-2); border: 1.5px solid var(--dx-line); border-radius: var(--dx-r); }
  .dx-railbox > summary::-webkit-details-marker { display: none; }
  .dx-railbox > summary strong { font-weight: 600; }
  .dx-railbox__more { display: inline-flex; align-items: center; gap: 0.2rem; flex: none; font-weight: 600; color: var(--dx-blue); }
  .dx-railbox__more .dx-icon { transition: rotate 0.15s; }
  .dx-railbox[open] .dx-railbox__more .dx-icon { rotate: 180deg; }
  .dx-railbox[open] > summary { border-end-start-radius: 0; border-end-end-radius: 0; }
  .dx-railbox .dx-rail { margin: 0; padding: 0.6rem 0 0; }
  .dx-sort { flex: 1 1 0; min-width: 0; margin-inline-start: 0; }
  .dx-sort select { width: 100%; max-width: none; }
}

/* ---------- Phones: the "on this page" bar shows every section ---------- */
.dx-pdpnav__short { display: none; }
@media (max-width: 599.98px) {
  .dx-pdpnav__short { display: inline; }
  /* Still read out in full by screen readers */
  .dx-pdpnav__full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .dx-pdpnav ul { gap: 0; justify-content: space-between; }
  .dx-pdpnav a { font-size: 0.9375rem; padding-inline: 0.3rem; }
  .dx-pdpnav li:first-child a { padding-inline-start: 0; }
  .dx-pdpnav li:last-child a { padding-inline-end: 0; }
}
@media (max-width: 359.98px) {
  .dx-pdpnav a { font-size: 0.8125rem; padding-inline: 0.2rem; }
}
