/* ---------------------------------------------------------------------------
   The spec rail - the four claims under the homepage.

   Was four columns of a 64px icon over a heading over a paragraph: the icon was
   four times the size of the text it introduced and carried none of the
   meaning, so the loudest marks in the band were decoration. Same four facts,
   with the icon returned to the size of a mark beside a heading and the columns
   ruled so the band reads as one strip rather than four floating groups.
   --------------------------------------------------------------------------- */
/* The homepage product strip.

   Replaces three server-rendered Bootstrap carousels - one per column count -
   that between them put 27 cards on the page for 9 products so that exactly one
   set could be shown. The viewport decides how many fit here, so the markup is
   rendered once; scroll-snap gives the same "lands on a card" feel the carousel
   paged for, plus a real swipe on touch, which it never had. */
/* A flex item's automatic minimum size is its content, not zero. Bootstrap's
   .col does not override it, so a column holding something that does not want
   to shrink - a scroll strip, a wide table, a nowrap control group - reports a
   minimum wider than its share of the row, and the row wraps it onto a line of
   its own. That is what put the homepage products under the category rail
   instead of beside it. */
.min-w-0 {
    min-width: 0;
}

.product-strip-wrap {
    min-width: 0;
}

.product-strip-controls,
.product-strip-navigation,
.product-sort-control {
    display: flex;
    align-items: center;
}

.product-strip-controls {
    gap: var(--s-2);
}

.product-sort-control {
    overflow: hidden;
    border: 1px solid var(--rule-strong);
    background-color: var(--surface);
}

.product-sort-control__option {
    min-height: 44px;
    padding: var(--s-2) var(--s-3);
    border: 0;
    background-color: transparent;
    color: var(--ink);
    font-family: var(--f-condensed);
    font-weight: 700;
}

.product-sort-control__option + .product-sort-control__option {
    border-left: 1px solid var(--rule-strong);
}

.product-sort-control__option[aria-pressed="true"] {
    background-color: var(--ink);
    color: var(--surface);
}

.product-sort-control__option:hover,
.product-sort-control__option:focus-visible {
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
    text-underline-offset: .25em;
}

.product-sort-control__option:focus-visible {
    position: relative;
    z-index: 1;
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

@media (max-width: 575.98px) {
    .product-strip-controls,
    .product-sort-control {
        width: 100%;
    }

    .product-strip-controls {
        margin-left: 0 !important;
    }

    .product-sort-control__option {
        flex: 1 1 0;
    }
}

.product-strip,
.related-product-strip {
    display: flex;
    gap: var(--s-3);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    /* The cards carry their own top margin in the grid; keep the scrollbar off
       the card edges. */
    padding: var(--s-3) 0 var(--s-4);
    /* Firefox and the standards track; WebKit is handled below. */
    scrollbar-width: thin;
    scrollbar-color: var(--rule-strong) transparent;
}
.product-strip::-webkit-scrollbar,
.related-product-strip::-webkit-scrollbar {
    height: 6px;
}
.product-strip::-webkit-scrollbar-thumb,
.related-product-strip::-webkit-scrollbar-thumb {
    background-color: var(--rule-strong);
}
/* The strip is focusable so a keyboard can scroll it, which means it needs the
   same focus ring every other focusable surface on the site has. */
.product-strip:focus-visible,
.related-product-strip:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.product-strip__item {
    /* Sized against the strip, not the viewport.

       This was clamp(_, 78vw, _), which measured the viewport rather than the
       thing the cards actually sit in. A percentage of the flex container is
       right wherever the strip is dropped, which is what let it move: it used
       to share a .row with the category rail and occupy a col-lg beside a
       col-lg-3, and now it owns a band of its own at full container width.
       Because the sizing measures its own container, that move needed no
       change here beyond the count at the top breakpoint.

       A percentage of the flex container is the same arithmetic the carousel
       did server-side - one card, then two, then three - except the container
       measures itself, so it holds up in the column, in a full-width band, and
       anywhere else this strip is ever dropped. n cards means subtracting n-1
       gaps. */
    flex: 0 0 72%;
    scroll-snap-align: start;
    display: flex;
    align-items: stretch;
}

.product-strip .card-media {
    padding: var(--s-3);
}

.product-strip .product-image {
    max-height: 9rem;
}

.product-strip .card-body {
    padding: var(--s-3) !important;
}

.product-strip .card-title {
    font-size: .875rem !important;
}

.related-product-strip__item {
    display: flex;
    /* A partial next card is the mobile affordance that this region continues
       horizontally; a full-width item hid that cue despite the swipe label. */
    flex: 0 0 72%;
    align-items: stretch;
    scroll-snap-align: start;
}

/* Related products support the selected part rather than competing with it.
   A tighter card scale keeps these cards visibly subordinate to the primary product. */
.product-related {
    margin: 0;
}

.product-related-section {
    padding-block: 32px;
    background: var(--page-sunken);
}

.product-related__head {
    align-items: flex-end;
    border-bottom: 1px solid var(--rule);
    padding-bottom: var(--s-3);
}

.product-related__head h2 {
    font-size: 1.35rem !important;
}

.product-related__head .eyebrow {
    margin-bottom: var(--s-1);
    color: var(--ink-muted);
    font-size: .6875rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.product-related-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid var(--rule);
    background: var(--surface);
    color: var(--ink);
    text-decoration: none;
}

.product-related-card__media {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    padding: var(--s-3);
    background: var(--page-sunken);
}

.product-related-card__corner {
    position: absolute;
    z-index: 1;
    padding: .15rem .3rem;
    color: var(--ink-muted);
    font-size: .625rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.product-related-card__corner--ref { top: .375rem; left: .375rem; }
.product-related-card__corner--brand { right: .375rem; top: .375rem; }

.product-related-card__media .product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-related-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: var(--s-2) var(--s-3);
    border-top: 1px solid var(--rule);
}

.product-related-card__reference {
    margin-top: auto;
    padding-top: var(--s-2);
    border-top: 1px dashed var(--rule);
}

.product-related-card__taxonomy,
.product-related-card__reference {
    margin: 0;
    color: var(--ink-muted);
    font-size: .6875rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.product-related-card h3 {
    margin: var(--s-1) 0 var(--s-2);
    font-size: .875rem;
    line-height: 1.25;
}

.product-related-card:hover h3,
.product-related-card:focus-visible h3 {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: .2em;
}

.product-strip-hint {
    font-family: var(--f-mono);
}

.product-strip-error {
    flex: 0 0 100%;
    scroll-snap-align: start;
}
.product-strip__item > *,
.related-product-strip__item > * {
    width: 100%;
}

@media (min-width: 576px) {
    .product-strip__item,
    .related-product-strip__item {
        flex-basis: calc((100% - 2 * var(--s-3)) / 3);
    }
}

@media (min-width: 992px) {
    .related-product-strip__item {
        flex-basis: calc((100% - 4 * var(--s-3)) / 5);
    }

    .product-strip__item {
        flex-basis: calc((100% - 3 * var(--s-3)) / 4);
    }
}

/* Five across at full width, matching the compact related-products scale. */
@media (min-width: 1200px) {
    .product-strip__item {
        flex-basis: calc((100% - 4 * var(--s-3)) / 5);
    }
}

/* Nine cards on a wide desktop leave no overflow to scroll, so the strip should
   not pretend otherwise - the arrows hide themselves in that case (main.js). */
.product-strip-wrap .hover-carousel-button[hidden] {
    display: none !important;
}

/* The old arrow hover scaled the entire 44px control to 140%, which made the
   quiet strip navigation jump in front of the product cards it serves. Keep
   the target still and move only the glyph in the direction the strip will
   travel. The pale surface change provides the second, non-motion cue. */
.product-strip-navigation .hover-carousel-button,
.js-related-controls .hover-carousel-button {
    border-color: transparent;
    color: var(--ink);
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease;
}

/* Bootstrap's .btn-link focus and active states reintroduce its blue link
   colour and halo after a click or tap. These controls already receive the
   site's red :focus-visible outline for keyboard navigation, so every other
   framework decoration can be neutralised here. */
.product-strip-navigation .hover-carousel-button:focus,
.product-strip-navigation .hover-carousel-button:active,
.js-related-controls .hover-carousel-button:focus,
.js-related-controls .hover-carousel-button:active {
    border-color: transparent;
    box-shadow: none;
    color: var(--accent);
    text-decoration: none;
}

.product-strip-navigation .hover-carousel-button:hover,
.product-strip-navigation .hover-carousel-button:focus-visible,
.js-related-controls .hover-carousel-button:hover,
.js-related-controls .hover-carousel-button:focus-visible {
    transform: none;
    background-color: var(--surface);
    color: var(--accent);
}

.product-strip-navigation .hover-carousel-button svg,
.js-related-controls .hover-carousel-button svg {
    transition: transform 160ms ease-out;
}

.js-strip-prev:hover svg,
.js-strip-prev:focus-visible svg,
.js-related-prev:hover svg,
.js-related-prev:focus-visible svg {
    transform: translateX(-.1875rem);
}

.js-strip-next:hover svg,
.js-strip-next:focus-visible svg,
.js-related-next:hover svg,
.js-related-next:focus-visible svg {
    transform: translateX(.1875rem);
}

@media (prefers-reduced-motion: reduce) {
    .product-strip-navigation .hover-carousel-button svg,
    .js-related-controls .hover-carousel-button svg {
        transform: none;
    }
}

.js-related-controls[hidden] {
    display: none !important;
}

.js-related-controls .hover-carousel-button:disabled {
    opacity: .35;
    transform: none;
}

.spec-rail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    border-top: 1px solid var(--rule);
    border-left: 1px solid var(--rule);
    background-color: var(--surface);
}

.spec-rail__item {
    padding: var(--s-5);
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.spec-rail__head {
    display: flex;
    /* Top, not centre. The headings run to two lines at most column widths and
       a centred ordinal drifted to the middle of the second line, where it read
       as punctuation inside the title rather than as the index in front of it. */
    align-items: flex-start;
    gap: var(--s-2);
    margin-bottom: var(--s-2);
}

/* The ordinal in front of each claim. Sized and coloured as chrome, not as a
   heading: it is the same 11px mono index as § 04 above it and 01 / 24 on the
   category tiles, and it must not compete with the title it introduces. The
   line-height matches the h3's first line so the two sit on one baseline. */
.spec-rail__index {
    flex: 0 0 auto;
    color: var(--accent);
    font-size: .6875rem;
    line-height: 1.45;
    letter-spacing: .1em;
}

.spec-rail__item p {
    margin-bottom: 0;
    font-size: .9375rem;
}

/* The hero and final sourcing action were the homepage's only dark anchors,
   leaving every proof and browsing band between them on nearly the same white
   field. Trust is the natural midpoint for a stronger surface: it is a single
   specification panel, not four unrelated cards, and gives the long page a
   deliberate dark-light-dark rhythm without spending the action colour. */
.trust-panel {
    --trust-rule: rgba(255, 255, 255, .18);
    --trust-copy: #CFC9C0;
    /* The eyebrow came through in the light-ground pair: --ink-muted is 3.1:1
       on --bar and failed AA, and --accent is the 3.1:1 the --accent-on-dark
       note already describes. Both are set here rather than overridden further
       down because the surface is what makes them wrong. */
    --section-mark-ink: var(--trust-copy);
    --section-mark-accent: var(--accent-on-dark);
    padding: var(--s-7);
    background-color: var(--bar);
    color: var(--surface);
}

.trust-panel .section-rule {
    background-image: linear-gradient(
        to right,
        var(--accent-on-dark) 0 3rem,
        var(--trust-rule) 3rem
    );
}

/* Transparent, not --trust-surface. The raised fill made the rail a panel
   inside a panel - a lighter slab with its own edge, sitting on a band that
   already has one - so the band read as two nested boxes rather than as one
   dark field with four ruled columns on it. The rules are what separate the
   claims; the fill was only restating the border. The --trust-surface token
   that held #26221E went with it - it had no other caller. */
.trust-panel .spec-rail {
    border-color: var(--trust-rule);
    background-color: transparent;
}

.trust-panel .spec-rail__item {
    border-color: var(--trust-rule);
}

.trust-panel .spec-rail__index {
    color: var(--accent-on-dark);
}

/* Bootstrap's .text-muted is important in 5.1.3, so the inverse copy needs the
   same flag. This cool off-white is the hero's existing dark-surface secondary
   text colour and clears AA at body size on both trust surfaces. */
.trust-panel .text-muted {
    color: var(--trust-copy) !important;
}

@media (max-width: 767.98px) {
    .trust-panel {
        padding: var(--s-5);
    }
}

/* Homepage commercial links use the site's action colour rather than
   Bootstrap's unrelated default blue. */
.commercial-link {
    color: var(--accent);
    text-underline-offset: .2em;
}

.commercial-link:hover,
.commercial-link:focus-visible {
    color: var(--accent);
    text-decoration: underline !important;
}

/* ---------------------------------------------------------------------------
   The quiet link.

   The secondary action that sits beside a primary one: back to the catalog,
   clear the list, contact us. Four pages each expressed it differently - the
   product page had .product-back-link, the quote page stacked
   `fs-6 d-flex align-items-center text-decoration-none font-primary text-hover`
   in the markup, and the about page named .about-contact-link and never wrote
   the rule. The utility stack was also two rules fighting over :hover
   (.font-primary pins it to ink, .text-hover to a hardcoded #CD212A) and gave
   keyboard focus nothing at all. One component instead: ink until interaction,
   the accent token on hover AND focus, and the 44px target used everywhere
   else. Layout - where it sits in a row - stays with the caller.
   --------------------------------------------------------------------------- */
.quiet-link {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    min-height: 44px;
    /* Carries a <button> as well as an <a> - "clear list" is an action, not a
       destination - so the UA button chrome comes off here rather than by
       borrowing .btn .btn-link and then unpicking its blue focus ring. */
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
    font: inherit;
    font-size: .875rem;
    text-align: left;
    text-decoration: none;
    transition: color .3s;
}

.quiet-link:hover,
.quiet-link:focus-visible {
    color: var(--accent);
    text-decoration: underline;
}

.capability-disclosure > summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    /* The mono register the rest of the chrome and the section marks use: this
       is a label on a closed surface, not body copy. */
    font-family: var(--f-mono);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: var(--s-3) 3rem var(--s-3) var(--s-4);
    border: 1px solid var(--rule);
    background-color: var(--surface);
    color: var(--ink);
    cursor: pointer;
    list-style: none;
}

.capability-disclosure > summary::-webkit-details-marker {
    display: none;
}

.capability-disclosure > summary::after {
    content: '';
    position: absolute;
    right: var(--s-4);
    width: .625rem;
    height: .625rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-.15rem) rotate(45deg);
    transition: transform 160ms ease-out;
}

.capability-disclosure[open] > summary::after {
    transform: translateY(.15rem) rotate(225deg);
}

.capability-disclosure > summary:hover {
    background-color: var(--page);
}

.capability-disclosure > summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.capability-disclosure__body {
    border-top: 0;
}

/* Opening a long disclosure is the one place lower on the page where content
   otherwise arrives as abruptly as a page swap. The layout still opens
   immediately (so there is no sluggish height animation); the contents simply
   settle over a short distance, echoing the hero-card crossfade. */
@keyframes capability-content-in {
    from {
        opacity: 0;
        transform: translateY(-.375rem);
    }
}

.capability-disclosure[open] > .capability-disclosure__body {
    animation: capability-content-in 180ms ease-out both;
}

/* The exhaustive homepage coverage is rendered from the database. Two ranked
   lists make the changing order and the reference depth legible without turning
   76 names into one hand-maintained paragraph. */
.taxonomy-coverage-grid {
    display: grid;
    gap: var(--s-6);
}

@media (min-width: 992px) {
    .taxonomy-coverage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
}

.taxonomy-coverage-grid > section {
    min-width: 0;
}

.taxonomy-coverage-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--rule);
    border-left: 1px solid var(--rule);
    list-style: none;
}

@media (min-width: 576px) {
    .taxonomy-coverage-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.taxonomy-coverage-list__item {
    min-width: 0;
    padding: var(--s-3);
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.taxonomy-coverage-list__item > a {
    color: var(--ink);
    font-family: var(--f-condensed);
    font-weight: 700;
    line-height: 1.25;
    text-decoration-color: transparent;
    text-underline-offset: .2em;
    overflow-wrap: anywhere;
}

.taxonomy-coverage-list__item > a:hover,
.taxonomy-coverage-list__item > a:focus-visible {
    color: var(--accent);
    text-decoration-color: currentColor;
}

.taxonomy-coverage-empty {
    padding: var(--s-4);
    border: 1px solid var(--rule);
    background-color: var(--page);
}

.coverage-notes {
    display: grid;
    gap: var(--s-5);
    margin-top: var(--s-6);
    padding-top: var(--s-6);
    border-top: 1px solid var(--rule);
}

@media (min-width: 768px) {
    .coverage-notes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .coverage-notes > .small {
        grid-column: 1 / -1;
    }
}

.coverage-notes > * {
    min-width: 0;
    margin-top: 0;
    margin-bottom: 0;
}

/* The last content band is a decisive handoff to AHDP's sourcing service. */
.reference-cta {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr);
    /* Center the compact action stack against the longer sourcing explanation.
       Bottom alignment stranded the button in the lower-right corner instead
       of making it read as the answer to the copy beside it. */
    align-items: center;
    gap: var(--s-6);
    padding-block: var(--s-7);
    color: #FFFFFF;
}

/* 18ch was cut for "Send us the part number." - four words. The heading is a
   full sentence now, and at 18ch it broke into five ragged lines. 26ch keeps it
   to two or three at display size while still holding a measure the eye can
   turn. */
.reference-cta h2 {
    max-width: 26ch;
}

/* Both paragraphs keep the band's white. #CFC9C0 is the dark-panel secondary
   copy - 10.8:1 on --bar - but only 3.3:1 on the accent red, which fails AA.
   The ground here is far lighter than the panel that colour was chosen for, so
   there is no room to dim white and still hold 4.5:1. This band separates its
   heading from its copy by size and weight instead, which is what the display
   h2 above was already doing. */

.reference-cta__copy > p {
    max-width: 58ch;
}

/* Button and assurance are one action unit. A shared capped width prevents the
   caption from looking wider than the control, while justify-self centres the
   unit inside the desktop track. Below the breakpoint, 100% is narrower than
   the cap and the same rule naturally produces the full-width mobile button. */
.reference-cta__actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-self: center;
    justify-items: stretch;
    gap: var(--s-2);
    width: min(100%, 21rem);
    text-align: center;
}

/* No margin-top: the grid gap above already separates these two, and carrying
   both put a double space between the button and its own caption. */
.reference-cta__assurance {
    font-size: .875rem;
    line-height: 1.5;
    text-wrap: balance;
}

@media (max-width: 767.98px) {
    .reference-cta {
        grid-template-columns: 1fr;
        padding: var(--s-5);
    }
}

/* ---------------------------------------------------------------------------
   Filter rail (catalog sidebar).

   The groups were separated by a literal <br> between them and each group head
   carried its own border-bottom, so the rail had two different separator
   mechanics and one of them was a line break.
   --------------------------------------------------------------------------- */
/* The catalog's sort caret and previous/next page arrows inherit Bootstrap's
   blue focus treatment from .btn-link and .page-link. Keep their ordinary ink
   colour, use the AHDP accent for interaction, and leave the shared red
   :focus-visible outline intact for keyboard users. */
.catalog-toolbar .sort-direction {
    flex: 0 0 44px;
    min-height: 44px;
    border-color: transparent;
    color: var(--ink);
    text-decoration: none;
}

.catalog-toolbar .sort-direction:hover,
.catalog-toolbar .sort-direction:focus,
.catalog-toolbar .sort-direction:active,
.catalog-shell .pagination #prev:focus,
.catalog-shell .pagination #prev:active,
.catalog-shell .pagination #next:focus,
.catalog-shell .pagination #next:active {
    border-color: transparent;
    box-shadow: none;
    color: var(--accent);
    text-decoration: none;
}

.catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-3);
    /* Ruled off, the way the design separates the result controls from the
       results. It sat on the page with nothing under it, so the count and the
       sort read as the first row of the grid rather than as its header. */
    padding-bottom: var(--s-3);
    margin-bottom: var(--s-5);
    border-bottom: 1px solid var(--rule);
}

.catalog-toolbar__count {
    flex: 1 1 auto;
    font-size: .875rem;
    font-family: var(--f-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.catalog-toolbar__sort {
    display: flex;
    align-items: center;
    gap: var(--s-1);
    width: 15rem;
    min-width: 0;
}

.catalog-toolbar__sort .form-select {
    min-height: 44px;
}

/* Grid, compact and table are a desktop affordance. #productslist.catalog-compact
   is only defined from 768px up, so on a phone "Compact" is the grid under a
   different label, and the table's five columns have no room in a 360px row.
   Three buttons that buy nothing also cost the row its width: at 360px they
   pushed the sort select and its direction button 67px past the viewport, which
   is where the catalog's horizontal scroll came from. Hidden below the
   breakpoint, and view.js renders the grid there whatever is stored. */
.catalog-view-switch {
    display: none;
    margin-left: auto;
}

@media (min-width: 768px) {
    .catalog-view-switch {
        display: flex;
    }
}

.catalog-view-switch button {
    min-height: 44px;
    padding: .5rem .75rem;
    border: 1px solid var(--rule);
    background: var(--surface);
    color: var(--ink);
    font-family: var(--f-mono);
    font-size: .75rem;
}

.catalog-view-switch button + button {
    border-left: 0;
}

.catalog-view-switch button[aria-pressed="true"] {
    background: var(--ink);
    color: var(--surface);
}

.catalog-view-switch button:focus-visible {
    position: relative;
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.catalog-table-view {
    max-width: 100%;
    margin-bottom: var(--s-5);
    overflow-x: auto;
    border: 1px solid var(--rule);
    background: var(--surface);
}

.catalog-table-view thead > tr > th {
    padding: .75rem var(--s-3);
    border-bottom: 0;
    color: var(--surface);
    background-color: var(--bar);
    font-family: var(--f-mono);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.catalog-table-view tbody > tr > td {
    padding: .625rem var(--s-3);
    border-bottom: 1px solid var(--rule);
    vertical-align: middle;
    font-size: .8125rem;
}

.catalog-table-view tbody > tr:nth-child(even) > td {
    background-color: color-mix(in srgb, var(--page) 48%, var(--surface));
}

.catalog-table-view tbody > tr:hover > td {
    background-color: var(--page);
}

.catalog-table-view tbody > tr:last-child > td {
    border-bottom: 0;
}

.catalog-table-view__media-head,
.catalog-table-view__media {
    width: 4.25rem;
}

.catalog-table-view__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: .25rem;
    background-color: var(--page);
    border: 1px solid var(--rule);
}

.catalog-table-view__thumb img,
.catalog-table-view__thumb svg {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 40px;
    object-fit: contain;
}

.catalog-table-view__thumb img {
    mix-blend-mode: multiply;
}

.catalog-table-view__thumb .product-image-stand-in {
    width: 100%;
    height: 100%;
    padding: 0;
    background: transparent;
}

.catalog-table-view .card-reference {
    margin: 0;
    color: var(--ink);
    font-size: .8125rem;
    white-space: nowrap;
}

.catalog-table-view td:not(.catalog-table-view__media) > a {
    display: inline-block;
    min-width: 10rem;
    font-weight: 600;
}

.catalog-table-view .js-card-actions {
    min-width: 9rem;
}

@media (min-width: 768px) {
    #productslist.catalog-compact {
        --bs-gutter-x: .75rem;
        --bs-gutter-y: .75rem;
    }

    #productslist.catalog-compact > .col {
        width: 33.333%;
    }

    #productslist.catalog-compact .card-media {
        padding: var(--s-3);
    }

    #productslist.catalog-compact .product-image {
        max-height: 8rem;
    }

    #productslist.catalog-compact .card-corner--category {
        display: none;
    }

    #productslist.catalog-compact .card-reference,
    #productslist.catalog-compact .card-title {
        font-size: .8125rem !important;
    }
}

@media (min-width: 1200px) {
    #productslist.catalog-compact > .col {
        width: 25%;
    }
}

/* The breadcrumb and drawing plate borrow the reference's recessed paper
   surface. Product data and quote behavior still belong to the existing Blade
   components; these rules only arrange them into the two-column detail sheet. */
.product-breadcrumb-band {
    padding-block: var(--s-4);
    border-bottom: 1px solid var(--rule);
    background: var(--page-sunken);
}

.product-breadcrumb-band .breadcrumb {
    margin: 0;
    font-family: var(--f-mono);
    font-size: .6875rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.product-detail-layout {
    display: grid;
    gap: var(--s-6);
    margin-block: var(--s-6) var(--s-7);
    align-items: start;
}

.product-detail-media {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--s-5);
    aspect-ratio: 1;
    padding: var(--s-5);
    /* Isolate the photograph's multiply blend to this warm drawing plate. The
       shared plane--marked owns all four corner ticks; separate pseudo-elements
       here would overwrite that frame and collapse it into one corner. */
    isolation: isolate;
    background: var(--page-sunken);
}

/* The picture is the item that absorbs whatever height the caption leaves.

   This rule used to read `> picture, > img` with a max-height of 28rem, and it
   reached neither the image nor a real bound. The component wraps its photograph
   in a <picture> whenever there is a WebP source - which is the ordinary path -
   so the <img> is a grandchild and `> img` never matched it; what `> picture`
   did match is an inline wrapper, where object-fit does not apply and a
   max-height does not constrain the replaced element inside it. The photograph
   was therefore sized by Bootstrap's .img-fluid alone: max-width 100% and height
   auto, its height derived purely from its width and answerable to nothing. On
   any part whose shot is taller than it is wide, that height exceeded the square
   panel and painted straight through the bottom border - 580px of image in a
   573px opening at 1440, and the panel does not clip.

   A fixed max-height cannot fix it either, because the space actually available
   is the panel's own height less the caption, and the panel is sized from the
   column width: at 390px there are ~300px to spend, so a 28rem (448px) cap
   permits a 148px overhang. The bound has to be the panel.

   So the media becomes a centring flex item that takes the leftover height
   (min-height:0, or a flex item refuses to shrink below its content), and the
   image is capped at 100% of it in both axes. contain then letterboxes any
   aspect ratio into the space rather than overflowing it. A side effect worth
   having: with the media absorbing the free space, the caption stops floating in
   a vertically-centred group and sits on the panel's top edge, which is where
   the mockup's drawing plate puts its reference rail. */
/* display:contents, so the <img> is the panel's flex item rather than the
   wrapper. A percentage max-height on the image resolves against its containing
   block, and a <picture> sized by its own content gives it nothing to resolve
   against - the cap computed to none and the panel grew past its square to fit
   the photograph instead. Promoting the image into the flex formatting context
   is what makes it shrinkable, and the <source> elements are not rendered boxes
   so nothing is lost by removing the wrapper's own box. */
.product-detail-media > picture {
    display: contents;
}

.product-detail-media > .product-image-stand-in,
.product-detail-media > .product-image-placeholder {
    display: flex;
    flex: 1 1 0;
    min-height: 0;
    align-items: center;
    justify-content: center;
}

/* The placeholder carries its own square and a width cap, so it needs only the
   ceiling; left alone it overhangs a short panel by the same mechanism. */
.product-detail-media > .product-image-placeholder {
    width: 75%;
    padding: 0;
    max-height: 100%;
}

/* Ceilings only. Setting width:auto here instead would hand the width to the
   srcset `sizes` list, which describes the slot for picking a file and is not a
   layout instruction: at 768px it resolves to 42vw and rendered the part at
   305px in a 696px plate. The width attribute capped by max-width is what fills
   the plate; max-height is the missing half of that pair, and contain fits the
   photograph inside whatever box the two leave. */
.product-detail-media > img,
.product-detail-media > picture > img,
.product-detail-media > .product-image-stand-in img {
    /* A zero basis, not auto. The basis is what the item contributes to the
       container's own content height, so on auto a tall photograph reported its
       full height, the plate grew to fit it, and aspect-ratio - which is a
       preferred size and not a hard cap - lost to that. At 0 the image
       contributes nothing, the square resolves from the width, and the leftover
       height is handed back to the image as a definite size for max-height and
       contain to work against. */
    flex: 1 1 0;
    min-height: 0;
    margin-inline: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* The marque standing in for a missing photograph. A logo is a mark, not a
   scene, so it is set small and centred on the plate like a title block rather
   than scaled to fill it the way a photograph is: at full plate width a
   wordmark reads as a banner. Same flex treatment as the stand-in above, so
   the caption keeps the top edge and the mark takes the remaining height. */
.product-detail-media > .product-brand-plate {
    display: flex;
    flex: 1 1 0;
    min-height: 0;
    align-items: center;
    justify-content: center;
}

.product-brand-plate > picture {
    display: contents;
}

/* A brand-wide stand-in is the brand's icon, and gets the logo's proportions on
   the plate rather than a photograph's: full-bleed, a roundel with a name in it
   reads as a poster for the marque instead of a mark on a data sheet.

   display:contents on the wrapper for the reason given at
   `.product-detail-media > picture`: left as a box, the <picture> is sized by
   its own content, the percentage below resolves against that, and the icon
   came out at a quarter of the plate instead of most of it. */
.product-detail-media > .product-image-stand-in--brand > picture {
    display: contents;
}

/* flex:none undoes the photograph's `flex: 1 1 0`, which in this row-direction
   wrapper would grow the image to the full width and ignore the 70%. */
.product-detail-media > .product-image-stand-in--brand img,
.product-detail-media > .product-image-stand-in--brand > svg {
    flex: none;
    width: 70%;
    height: auto;
    max-height: 100%;
}

.product-brand-plate img {
    width: 60%;
    max-height: 45%;
    object-fit: contain;
}

.product-figure-caption {
    display: flex;
    justify-content: space-between;
    gap: var(--s-3);
    margin: 0;
    color: var(--ink-muted);
    font-size: .6875rem;
    letter-spacing: .12em;
    overflow-wrap: anywhere;
}

.product-detail-heading,
.product-information {
    min-width: 0;
    overflow-wrap: anywhere;
}

.product-detail-reference {
    display: flex;
    flex-direction: column;
    gap: var(--s-1);
}

.product-detail-reference__label {
    color: var(--ink-muted);
    font-size: .6875rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.product-detail-reference__value {
    color: var(--ink);
    font-size: clamp(1.5rem, 2.8vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -.01em;
}

.product-detail-lead {
    max-width: 52ch;
    line-height: 1.5;
}

.product-detail-title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    line-height: 1.05;
    text-transform: uppercase;
}

/* The data sheet: a ruled two-column table, the way a printed parts catalog
   sets an entry. Label cells sit on the sunken paper tone and value cells on
   the surface, so the eye can run down either column; solid hairlines rather
   than the dashed rules this replaced, because each row is now a cell of a
   table and not an item in a list. Values stay in mono - every one of them is
   an identifier somebody is going to compare character by character. */
.product-datasheet {
    min-width: 0;
    border: 1px solid var(--rule);
    background: var(--surface);
}

.product-datasheet__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-3);
    min-height: 48px;
    padding: var(--s-2) var(--s-4);
    border-bottom: 1px solid var(--rule);
    background: var(--page-sunken);
}

.product-datasheet__heading {
    margin: 0;
    color: var(--ink-muted);
    font-size: .6875rem;
    font-weight: 400;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* Height-led, because marques are wide wordmarks and square roundels alike; a
   width cap keeps a long wordmark from pushing the heading onto two lines. */
.product-datasheet__logo {
    display: block;
    width: auto;
    height: 32px;
    max-width: 45%;
    object-fit: contain;
}

.product-datasheet__rows {
    margin: 0;
}

.product-datasheet__rows > div {
    display: grid;
    grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
    border-bottom: 1px solid var(--rule);
    overflow-wrap: anywhere;
}

.product-datasheet__rows > div:last-child {
    border-bottom: 0;
}

.product-datasheet__rows dt,
.product-datasheet__rows dd {
    margin: 0;
    padding: 12px var(--s-4);
}

.product-datasheet__rows dt {
    border-right: 1px solid var(--rule);
    background: var(--page-sunken);
    color: var(--ink-muted);
    font-size: .6875rem;
    font-weight: 400;
    letter-spacing: .1em;
    line-height: 1.5;
    text-transform: uppercase;
}

.product-datasheet__rows dd {
    color: var(--ink);
    font-family: var(--f-mono);
    font-size: .8125rem;
    font-weight: 400;
    line-height: 1.5;
}

.product-datasheet__reference {
    font-weight: 700;
}

/* A row with nothing listed yet. Muted so the eye skips it on the way down
   the sheet instead of stopping on it as though it held a number. */
.product-datasheet__rows .product-datasheet__empty {
    color: var(--ink-muted);
}

@media (max-width: 400px) {
    .product-datasheet__rows > div {
        grid-template-columns: 7.5rem minmax(0, 1fr);
    }

    .product-datasheet__rows dt,
    .product-datasheet__rows dd {
        padding-inline: var(--s-3);
    }
}

.product-datasheet__copyable {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--s-2);
}

.product-datasheet__copyable .copy-value {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--accent);
    font-weight: 600;
    vertical-align: baseline;
}

.product-datasheet__copyable .copy-value:hover,
.product-datasheet__copyable .copy-value:focus-visible {
    color: var(--accent);
    text-decoration: underline;
}

.product-quote-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: var(--s-2) var(--s-3);
}

.product-quote-label {
    flex: 0 0 100%;
    margin: 0;
    font-size: .6875rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.product-quote-controls > div:first-of-type {
    flex: 0 0 auto;
}

.product-quote-controls .quantity-control {
    display: flex;
    align-items: stretch;
    height: 100%;
    min-height: 52px;
    padding: 0;
    border: 1px solid var(--rule);
    background: var(--surface);
}

.product-quote-controls .quantity-input {
    width: 60px;
    min-height: 50px;
    padding: 0;
    border-block: 0;
    border-inline: 1px solid var(--rule);
    font-family: var(--f-mono);
    text-align: center;
}

.product-quote-controls .quantity-btn {
    min-height: 50px;
    box-sizing: border-box;
    border: 0;
    padding: 12px 14px;
    font-family: var(--f-mono);
}

.product-quote-controls > .btn {
    min-height: 52px;
    padding: 12px 16px;
    font-size: .875rem;
}

.product-quote-controls .quantity-btn:hover {
    background: var(--page-sunken);
}

.product-secondary-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: var(--s-4);
}

.product-secondary-actions > a {
    min-width: 0;
}

@media (max-width: 400px) {
    .product-quote-controls > div:first-of-type {
        flex-basis: 100%;
    }

    .product-quote-controls .quantity-control {
        width: 100%;
    }

    .product-quote-controls .quantity-input {
        flex: 1;
        min-width: 0;
    }

    .product-secondary-actions {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    /* The plate takes two fifths, the numbers three. It used to be the wider
       column, which suited a photograph of the part; with photographs switched
       off nearly every part shows the same brand badge, so the picture is the
       least informative thing on the page and the data sheet - what a buyer
       actually matches against - gets the room. The heading spans both, and
       the quote controls lead the right column, level with the plate.

       Not the sheet first, though that was tried: it reads well, but the sheet
       is 500px and up, and under it the Add button fell below the fold even at
       1920x1080. The reference and name above already say which part this is;
       the controls are short, so the sheet starts only a little lower. */
    .product-detail-layout {
        grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
        gap: var(--s-6) 56px;
        margin-block: 48px 80px;
    }

    .product-detail-heading {
        grid-column: 1 / -1;
    }

    .product-information {
        grid-column: 2;
        grid-row: 2;
    }

    .product-detail-media {
        grid-column: 1;
        grid-row: 2 / span 2;
        padding: var(--s-6);
    }

    .product-datasheet {
        grid-column: 2;
        grid-row: 3;
    }
}

.card-media > a {
    text-decoration: none;
}

.card-title a:hover,
.card-title a:focus-visible {
    text-decoration: underline !important;
    text-underline-offset: .2em;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .catalog-shell {
        grid-template-columns: 12rem minmax(0, 1fr);
    }

    .catalog-toolbar {
        margin-left: calc(12rem + var(--s-5));
    }
}

@media (min-width: 992px) {
    .catalog-toolbar {
        margin-left: calc(14rem + var(--s-6));
    }
}

/* The rail follows the reader down the page, the way .policy-nav does - these
   are the same object and only one of them was doing it.

   Gated on height as well as width, which .policy-nav does not need to be: that
   nav is seven links, this rail is 824px of two searchable lists. Stuck at
   top: 6rem it needs 920px of viewport before the Brands group clears the fold,
   and a rail that sticks while its lower half is unreachable is worse than one
   that scrolls. Below 60rem tall it simply scrolls with the page, as now.

   align-self, because a grid item stretches to its row by default: the rail
   would be as tall as the product column beside it and sticky would have no
   distance to travel. */
@media (min-width: 992px) and (min-height: 60rem) {
    .catalog-shell__rail {
        position: sticky;
        top: 6rem;
        align-self: start;
    }
}

@media (max-width: 767.98px) {
    .catalog-page > .section-head {
        margin-bottom: var(--s-2);
    }

    .catalog-intro-mobile {
        margin-bottom: var(--s-4);
        color: var(--ink-muted);
        font-size: .9375rem;
        line-height: 1.5;
    }

    .catalog-shell {
        gap: 0;
    }

    .catalog-toolbar__sort {
        flex: 1 1 0;
        margin-left: auto;
    }

    .catalog-toolbar__count {
        order: 1;
        flex-basis: 100%;
    }

    .catalog-toolbar .js-filter-toggle {
        min-height: 44px;
    }
}

/* References and actions lead a phone-sized result row. Scope this to the
   catalog so the homepage and related-product carousels retain their cards. */
@media (max-width: 575.98px) {
    #productslist {
        --bs-gutter-y: var(--s-3);
    }

    #productslist .js-card {
        flex-direction: row !important;
        align-items: stretch;
    }

    #productslist .card-media {
        display: flex;
        align-items: center;
        flex: 0 0 5.5rem;
        padding: var(--s-2);
        border-bottom: 0;
    }

    #productslist .product-image {
        width: 4.5rem;
        height: 4.5rem;
    }

    #productslist .card-body {
        min-width: 0;
        padding: var(--s-3) !important;
    }

    #productslist .card-corner {
        display: none;
    }

    #productslist .card-mobile-category {
        display: block !important;
        margin-bottom: var(--s-2);
        color: var(--ink-muted);
        font-size: .6875rem;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    #productslist .js-card-actions {
        padding-top: var(--s-3);
        border-top: 0;
    }

    #productslist .card-reference {
        font-size: .9375rem;
        overflow-wrap: anywhere;
    }

    #productslist .card-title {
        font-size: .8125rem !important;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    #productslist .card-taxonomy {
        margin-bottom: var(--s-3) !important;
        font-size: .75rem;
        letter-spacing: .02em;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    #productslist .js-card-actions .btn {
        min-height: 44px;
        white-space: normal;
    }

    /* The drawing keeps its own proportions in the 5rem thumbnail the row
       layout gives it; only the inset has to come in, because at var(--s-4)
       there is more padding than picture. */
    #productslist .product-image-placeholder {
        padding: var(--s-1);
    }

    #productslist .corner-ribbon {
        top: var(--s-1);
        right: auto;
        left: var(--s-1);
        width: auto;
        padding: 0 var(--s-1);
        line-height: 1.5;
        font-size: .625rem;
        transform: none;
    }
}

/* Give translated sort labels a full row on the narrowest phones. */
@media (max-width: 359.98px) {
    .catalog-toolbar__count {
        order: 0;
        flex: 1 1 0;
        text-align: right;
    }

    .catalog-toolbar__sort {
        order: 1;
        flex-basis: 100%;
    }
}

/* The rail itself carries nothing: no surface, no frame, no padding of its own.
   min-width so a long category name cannot push the grid column wider than the
   track it was given, which is the same guard .filter-group below needs. */
.catalog-rail {
    min-width: 0;
}

/* One step above .filter-group__head and in the same voice, so the rail's own
   name and the two groups under it read as a hierarchy rather than as three
   labels of equal weight - which is what they were before the groups became
   fieldsets.

   "In the same voice" is now literal. This was the display face at .8125rem/700
   sitting above two mono group heads at .6875rem, which is a different label
   doing the same job: the rail's head read as page furniture, and the groups
   under it as the rail's own. Both are mono now and rank is carried by tracking
   and colour instead - the widest tracking on the page names the rail, the
   groups step down to .12em, and neither has to change face to say so. */
.catalog-rail__title {
    font-family: var(--f-mono);
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--ink);
}

/* No hairline under the rail's head. The rail is a stack of sections and each
   one closes with its own rule; a rule here as well opened it with a fourth,
   which made the head read as an empty section rather than as the name of the
   two below it. */
.catalog-rail__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-2);
    margin-bottom: var(--s-5);
}

/* Sized to the title beside it, and in the voice every other undo on the rail
   uses - .filter-group__clear is the same control scoped to one group. At .fs-6
   the control for undoing a filter was the largest thing in the rail's head. */
.catalog-rail__reset {
    font-family: var(--f-mono);
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .08em;
}

/* Each group is separated by a rule as well as space, so the rail reads as a
   stack of sections rather than one long column of checkboxes.

   The rule closes a group rather than opening the next one. It draws the same
   hairlines in the same places, but the space around it now belongs to the group
   above: a head sits var(--s-3) from the options it names instead of floating
   midway between its own list and the one before it. The last group keeps its
   rule - it is what terminates the rail against the page. */
.filter-group {
    border: 0;
    padding: 0 0 var(--s-5);
    margin: 0 0 var(--s-6);
    border-bottom: 1px solid var(--rule);
    min-width: 0;
}

.filter-group:last-child {
    margin-bottom: 0;
}

/* The same label the dashboard rail's groups carry.

   Bootstrap's reboot floats legends and sizes them off the display scale; the
   float is what would otherwise pull the group label out of flow above its own
   checkboxes. Everything after that is .dash-rail__heading: the rail on the admin
   and the rail on the catalog are the same object doing the same job, and there
   was no reason for the two to name their groups in two different voices. */
.filter-group__head {
    float: none;
    width: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-2);
    margin-bottom: var(--s-3);
    padding: 0;
    /* The rail's labels, in the same mono register as the chrome. Shared with
       .dash-rail__heading per the note above, so the admin rail moves with it -
       which is the point: they are the same object naming groups the same way. */
    font-family: var(--f-mono);
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    /* Unruled, and at full ink. The head carried a hairline of its own eight
       pixels under it, so with the group's closing rule below and the scroll
       box's two edges between them a single group drew four rules in a 224px
       column and read as a boxed panel. Muted was the other half of that: a
       label the same grey as the counts beside the options had less presence
       than the list it names. */
    color: var(--ink);
}

/* A scoped undo belongs to the group it affects. It is the same control as the
   rail-wide reset above, set the same way - what separates them is where each
   one sits and that this one appears only while its own group is filtering. It
   used to be a step wider-tracked than the reset for no reason either could
   have explained. */
.filter-group__clear {
    margin-left: auto;
    font-family: var(--f-mono);
    font-size: .6875rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: .08em;
}

/* A row of the filter rail. The one reason it can be out of view is the group's
   search field excluding it - the other used to be "past the visible ten with the
   group closed", which the scrolling box below replaced. A class rather than
   d-none so the row keeps whatever else it is carrying, and so a checked row can
   be exempt: it is what is scoping the grid. */
.filter-option.js-unmatched {
    display: none;
}

/* The box the options sit in.

   Both groups show every option now. They used to show ten with the rest behind
   "Show More", which across 56 brands put the marque you came for behind a button
   most of the time, and left a checked option past the tenth needing a special
   exemption from being hidden - a filter you cannot see is one you cannot remove.
   A fixed height costs the rail the same space either way.

   The height is in rem and deliberately not a round row count: category names run
   to four lines at this width ("A/C-AIR CONDITIONING & HVAC- HEATING VENTILATION
   A/C"), so there is no row height to be a multiple of. It is sized to cut a row
   mid-height, which is what says "this scrolls" without a shadow or a gradient
   doing it.

   And that cut is now the only thing saying it. The box used to state its start
   and its end in a hairline, which was two more rules in a column that already
   had one under the group head and one closing the group - four lines around one
   list of checkboxes, drawn in a 224px track. The group's own bottom rule keeps
   the list anchored; the half-row at the bottom edge does the rest, which is what
   the height was chosen for in the first place. */
.filter-group__scroll {
    /* A column with a gap rather than rows carrying their own margin: the rows
       lift to white on hover, so the space between them has to belong to the box
       and not to the row - a margin would tint with it. */
    display: flex;
    flex-direction: column;
    gap: var(--s-1);
    /* Twice what it was, now the brands have the rail to themselves - the
       category group above them is gone. Held under the window, so a short
       laptop screen still shows the head of the group and the list's end. */
    max-height: min(34rem, calc(100svh - 14rem));
    overflow-y: auto;
    /* overscroll-contain, or reaching the end of this box carries on scrolling
       the page - which on a phone means the drawer jumps while a thumb is still
       inside the list. */
    overscroll-behavior: contain;
}

.js-filter-search + .filter-group__scroll {
    margin-top: var(--s-3);
}

/* The rail's one framed control, and the only thing on it that is not set
   straight onto the page.

   It was .field-on-page: white, borderless, 56px tall. That fill is exactly what
   the hovered and the checked row below it use, so a white block sitting over the
   list read as a third selected option, and at 16px it was the largest type in a
   rail whose labels are all .6875rem. A hairline makes it a control without
   making it a surface, and the size is the list's. Two classes, to outrank
   Bootstrap's own .form-control padding and font-size. */
.filter-group .js-filter-search {
    padding: var(--s-2) var(--s-3);
    background-color: var(--surface);
    border: 1px solid var(--rule-strong);
    font-size: .8125rem;
}

/* The rows carry their own hit area here, on .dash-rail__link's insets: this is
   the same object as the admin rail's list and it now reads as one.

   A plain inset, and specifically not `calc(1.5em + ...)`: Bootstrap sizes a
   1.5em padding gutter for the checkbox to float into, but this file replaced that
   layout with flex at .form-check above, so the box is a flex item and the gutter
   is 24px of nothing. Loose in the rail it cost the rail's own padding and went
   unnoticed; inside a 164px box it is a quarter of the width the name has to
   spell itself in. */
.filter-group__scroll .filter-option {
    /* The box is a column with a max-height, so its rows are flex items with the
       default flex-shrink of 1: every row taller than its share of 17rem was
       compressed to fit, and "A/C-AIR CONDITIONING & HVAC- HEATING VENTILATION
       A/C" - four lines at this width - was drawn straight through the two rows
       under it. They size to their content and the box scrolls. */
    flex: 0 0 auto;
    padding: var(--s-1) var(--s-2);
    /* The box owns the spacing now - see the gap above. Bootstrap's .form-check
       carries .125rem of its own, which would sit inside the hovered fill. */
    margin-bottom: 0;
}

/* .875rem, against the 1.5rem every other checkbox on the site carries.

   That floor was set for a form control answered once, with the box itself as
   the target. These are 56 rows scanned at a glance in a 224px column, and at
   24px the box was the loudest mark in a list whose content is the names beside
   it - a column of empty squares with the taxonomy in the margin. The target is
   the row, which the inset above and .form-check's gap hold at 28px, clear of
   the 24px floor: the same answer the rail already gave when it dropped the box
   to 20px between 992 and 1200px. */
.filter-group__scroll .filter-option .form-check-input {
    width: .875rem;
    height: .875rem;
    /* Optical, not baseline: the label is .8125rem/1.5, so this centres the box
       against the first line rather than against the row. */
    margin-top: .2rem;
    border-width: 1px;
}

/* The row is the target, and on a phone the floor for one is 44px rather than
   the 24px a pointer answers to - the control that opens this drawer sets the
   same minimum ten rules up. The 28px row above is a scan target for a mouse;
   inside the drawer it is a thumb, and the rail has the width to spend on it. */
@media (max-width: 767.98px) {
    .filter-group__scroll .filter-option {
        min-height: 44px;
        padding: var(--s-2);
        align-items: center;
    }
}

/* These are list rows, not prose. At the inherited 1rem, uppercase names in a
   164px column - what this rail is at the lg breakpoint - wrapped "TRANSMISSION"
   onto two lines and cost the box a third of the options it can show. The count
   beside them has been .8125rem since it was added; this is the pair finally
   agreeing on a size - the label came down to meet it rather than the count
   going up, and the count has since stepped down again to the .6875rem the
   rail's other mono labels use. */
.filter-group__scroll .filter-option .form-check-label {
    /* `w-100` on this flex item forced it onto a new row after .form-check began
       wrapping validation feedback. Take the space left by the checkbox instead;
       min-width: 0 lets long taxonomy names wrap inside the label, not below it. */
    flex: 1 1 0;
    min-width: 0;
    font-size: .8125rem;
    /* No flex-wrap. It was there so a name too long for the row could hand the
       count a line of its own, back when this column was 164px between 992px
       and 1100px. The rail is 224px at every width now, and what wrapping did in
       practice was drop the count of a two-word name like "A/C - AIR
       CONDITIONING" onto a stray line of its own under the name, breaking the
       column of figures down the right edge. The name wraps between its own
       words instead, and the count stays on its first line - align-items:
       baseline sets it against that line, not the block. */
}

/* Takes what the count leaves. min-width stays auto, so the name never shrinks
   below its longest word - TRANSMISSION stays whole - and `break-word`, not
   `anywhere`, keeps that min-content at the whole word: a word is only broken
   if it cannot fit a line of its own. */
.filter-group__scroll .filter-option .form-check-label > span:first-child {
    flex: 1 1 auto;
    overflow-wrap: break-word;
}

/* There was a block here tightening the rows between 992px and 1200px, on the
   grounds that "this rail is 164px wide - col-lg-3 of a 960px container - and
   that is 6px short of holding TRANSMISSION 119 on one line". Neither half of
   that holds any more. The rail stopped being a Bootstrap column when
   .catalog-shell became `14rem minmax(0, 1fr)`, so it is 224px at every width
   from 992px up and the band is not narrower than the ones on either side of it;
   and the type and the box now sit at .8125rem and 14px everywhere, which is
   where that block used to have to push them. All it did by the end was strip
   the row inset off one band, which left the options flush to the rail's edge
   on a laptop and inset on a desktop. */

/* Lifts to white, exactly as .dash-rail__link does, and for the same reason: the
   rail now sits directly on the page, and the page is #F6F6F6 - so the --page
   these two used to paint was the colour already behind them. */
.filter-group__scroll .filter-option:hover {
    background-color: var(--surface);
}

/* The checked row keeps its mark once the eye has left the checkbox: at this
   width the box is 16px in a 230px column, and it is the only thing saying which
   of 56 brands is filtering the grid. */
.filter-group__scroll .filter-option:has(input:checked) {
    background-color: var(--surface);
    box-shadow: inset 3px 0 0 var(--accent);
}

/* ---------------------------------------------------------------------------
   Controls that sit on the page rather than inside a .plane.

   The site's field is .regular-border.bg-gray, and that pairing assumes a white
   surface behind it: .bg-gray is #F6F6F6 and so is the body, so the same field
   put straight onto the page has a fill the exact colour of its own ground and
   is carried by its hairline alone.

   On the page the relationship inverts. The control is the thing that lifts, so
   the fill does the work and the border comes off - which is also what the rail
   around these asked for.
   --------------------------------------------------------------------------- */
.field-on-page {
    border: 0 !important;
    background-color: var(--surface);
}

/* The stock count beside each option. It sits at the same size as the label but
   muted and in the mono face the rest of the site uses for figures, so the eye
   reads a column of numbers down the right edge without the names competing
   with it. */
.filter-option__count {
    /* Never the thing that gives way. It is the shorter of the two and the row's
       whole reason for being scannable, so a long name wraps and the figure keeps
       its place at the right edge. */
    flex: 0 0 auto;
    color: var(--ink-muted);
    /* The size every other mono label on the rail carries, and a step under the
       name it belongs to. At .8125rem it sat level with the label and the row
       read as two values rather than as a name and its stock. */
    font-size: .6875rem;
    font-variant-numeric: tabular-nums;
}

.filter-option input:checked ~ .form-check-label .filter-option__count {
    color: var(--ink);
}

/* An option the active filters leave nothing behind. It stays in place and stays
   operable - see CatalogController::forRail() - so the only change is that the
   name drops to the same muted ink as its count: the row reads as present but
   spent, and the column of names keeps its alignment. Not opacity, which would
   fade the checkbox too and make a ticked-then-emptied option look disabled. */
.filter-option--empty .form-check-label {
    color: var(--ink-muted);
}

/* ---------------------------------------------------------------------------
   The hero plate and its two promo plates.

   The main plate is the page's single dark peak: a real-workbench composition
   behind the matching proposition. The category plates stay quieter in cool
   steel grey, so they support the hero without turning the whole page dark.

   The hero keeps an accent rule on its top edge where the retired .plate lost
   one, and the difference is the rule the accent follows everywhere else: it
   marks where a section starts. Every other band opens with a .section-head
   whose rule carries that mark. The hero has no heading above it - it opens the
   page itself - so its top edge is where the mark goes. The two promo plates sit
   inside that band, so they stay neutral.
   --------------------------------------------------------------------------- */
.hero-plate {
    position: relative;
    isolation: isolate;
    background-color: #221F1B;
    border: 1px solid var(--rule);
    border-top: 3px solid var(--accent);
    color: #ffffff;
}
.hero-plate__media {
    order: 2;
    display: block;
    width: 100%;
    height: clamp(13rem, 64vw, 16rem);
    overflow: hidden;
    background-color: #221F1B;
}
.hero-plate__media img,
.promo-plate__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-plate__media img {
    object-position: center;
}
.hero-plate__content {
    position: relative;
    z-index: 2;
    width: 100%;
    background-color: #221F1B;
}
.hero-plate h1,
.hero-plate__lead {
    color: #ffffff;
}
.hero-plate__lead {
    text-wrap: pretty;
}
.hero-plate__secondary-link {
    color: #ffffff;
    text-decoration-color: var(--accent);
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: .25em;
}
.hero-plate__secondary-link:hover,
.hero-plate__secondary-link:focus-visible {
    color: #ffffff;
    text-decoration-color: #ffffff;
}
@media (max-width: 575.98px) {
    .homepage-hero-grid {
        --bs-gutter-x: 0;
        margin-right: -1.5rem;
        margin-left: -1.5rem;
    }

    .homepage-hero-grid .hero-side {
        --bs-gutter-x: 0;
        --bs-gutter-y: var(--s-3);
        margin-right: 0;
        margin-left: 0;
    }

    .homepage-hero-grid .landing-page-image-small {
        min-height: 11.5rem;
    }

    .hero-plate__media {
        position: relative;
        height: clamp(11rem, 48vw, 12rem);
        margin-top: -1px;
    }

    .hero-plate__media::before {
        content: '';
        position: absolute;
        z-index: 1;
        inset: 0 0 auto;
        height: 6rem;
        pointer-events: none;
        background: linear-gradient(
            to bottom,
            #221F1B 0%,
            rgba(32, 36, 40, .84) 28%,
            rgba(32, 36, 40, .36) 66%,
            rgba(32, 36, 40, 0) 100%
        );
    }
}
/* No hover state: the plate is not a link. Only the button inside it is
   clickable, so lifting the whole box on hover promised a target that was not
   there. The button carries its own hover and focus. */
.promo-plate {
    --promo-surface-rgb: 210, 205, 196;
    /* The plate clips its own overflow to hold the photograph, so corner marks
       at the vocabulary's default -1px fall outside the clip and never paint.
       Pulled inside the edge. */
    --mark-inset: 3px;
    position: relative;
    isolation: isolate;
    background-color: rgb(var(--promo-surface-rgb));
    border: 1px solid var(--rule);
    height: 100%;
}
.promo-plate--drivetrain {
    --promo-surface-rgb: 190, 184, 174;
}
.promo-plate__card::after {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(var(--promo-surface-rgb), .99) 0%,
        rgba(var(--promo-surface-rgb), .96) 39%,
        rgba(var(--promo-surface-rgb), .7) 56%,
        rgba(var(--promo-surface-rgb), .08) 82%
    );
}
.promo-plate__media {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}
.promo-plate__media img {
    object-position: center;
    transform: scale(1);
    transition: transform .5s ease-out;
}
/* The category rail already had the strongest structural idea on the site - a
   solid accent head over a bordered list. It just used border-2 #CD212A on all
   four sides, which put a 2px red frame around a list of eight quiet links, so
   the accent marked the container rather than the label. The head keeps its
   fill; the body drops to the shared hairline. */
.category-rail {
    border: 1px solid var(--rule);
    border-top: 0;
    background-color: var(--surface);
}
/* The last row's divider is the rail's own bottom edge, so the two used to
   double up into a 2px line under the final item only. */
.category-rail > :last-child {
    border-bottom: 0 !important;
}

/* The legacy interaction painted a whole row red and shifted the complete link
   ten pixels, including long category names. That was louder than the catalog
   CTA and made wrapped labels visibly jump. A thin action edge now marks the
   row while only the directional glyph moves. */
.category-rail .hover-category {
    transition: background-color 160ms ease, box-shadow 160ms ease;
}

.category-rail .hover-category:hover,
.category-rail .hover-category:focus-within {
    background-color: var(--page);
    box-shadow: inset 3px 0 0 var(--accent);
    color: var(--ink);
}

.category-rail .moving-right,
.category-rail .moving-right:hover,
.category-rail .moving-right:focus-visible {
    transform: none;
    color: var(--ink);
}

.category-rail .moving-right svg {
    transition: color 160ms ease, transform 160ms ease-out;
}

.category-rail .moving-right:hover svg,
.category-rail .moving-right:focus-visible svg {
    color: var(--accent);
    transform: translateX(.1875rem);
}

@media (prefers-reduced-motion: reduce) {
    .category-rail .moving-right:hover svg,
    .category-rail .moving-right:focus-visible svg {
        transform: none;
    }
}
/* ---------------------------------------------------------------------------
   The hero's right-hand rail.

   The hero plate and the two promo plates beside it are one visual row, and
   they used to align only by coincidence: .landing-page-image-big is 500px and
   .landing-page-image-small is 238px, so 238 + 24 (the g-4 gutter) + 238 == 500
   exactly. Nothing declared that relationship, so the first change to the hero
   copy - a second CTA and a line of trust copy - pushed the left column to
   ~638px and left the right one ending 130px short, which is the empty square.

   At lg+ the rail stops being a Bootstrap row and becomes a flex column that
   divides whatever height the hero takes. Below lg the row is untouched, so the
   plates still go 2-up at md and stack on a phone.
   --------------------------------------------------------------------------- */
@media (min-width: 576px) {
    .hero-plate__media {
        position: absolute;
        z-index: 0;
        inset: 0;
        height: auto;
    }

    .hero-plate::after {
        content: '';
        position: absolute;
        z-index: 1;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(
            90deg,
            rgba(25, 28, 30, .99) 0%,
            rgba(25, 28, 30, .96) 42%,
            rgba(25, 28, 30, .68) 58%,
            rgba(25, 28, 30, .12) 82%
        );
    }

    .hero-plate__content {
        max-width: 64%;
        background-color: transparent;
    }
}
@media (min-width: 992px) {
    /* The full proposition used to inherit the global 72px display maximum in
       a column capped at 64% of an 8/12 hero. At 1366x768 it wrapped to six
       lines and pushed the primary catalog CTA entirely below the fold. Keep
       the long, specific h1 while giving it a desktop scale and measure that
       fit the conversion surface. */
    .hero-plate__content {
        max-width: 88%;
        padding: 2rem !important;
    }

    .hero-plate .agent-2 {
        font-size: clamp(2.5rem, 3.2vw, 3rem);
    }

    .hero-side {
        display: flex;
        flex-direction: column;
        /* Matches the g-4 gutter it replaces. */
        gap: 1.5rem;
        height: 100%;
        margin: 0;
    }

    .hero-side > * {
        display: flex;
        width: 100%;
        /* Bootstrap spends the g-4 gutter as `margin-top` on .row > *, with a
           matching negative margin-top on the row itself. `margin: 0` above
           drops the compensation, so the margin has to go too or the first
           plate sits one full gutter below the top of the hero beside it. The
           `gap` declared above is what replaces both. */
        padding: 0;
        margin-top: 0;
        flex: 1 1 0;
        min-height: 0;
    }

    .hero-side .promo-plate {
        width: 100%;
        height: auto;
        flex: 1 1 auto;
    }
}
/* The row stretches both category columns to a common height; each plate fills
   that column while its image remains a full-bleed layer underneath. */
.promo-plate__body {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 62%;
}
.promo-plate__heading {
    font-size: clamp(1.75rem, 2.4vw, 2.25rem) !important;
}
@media (max-width: 991.98px) {
    /* 2-up at md makes each plate half as wide, and the background scales with
       it, so the text needs proportionally more of the box. */
    .promo-plate__body {
        max-width: 70%;
    }
}
/* The promo plate supplies the stable height; every rotating card fills and
   stacks inside it so neither copy nor source-image proportions can resize the
   visible surface mid-cycle. */
.promo-plate__card {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: opacity .5s ease;
}
.promo-plate__card--idle {
    opacity: 0;
    /* Out of reach as well as out of sight: an invisible Browse button that
       still takes a click is worse than no rotation at all. */
    pointer-events: none;
}

/* The category cards already crossfade. A 2% image settle gives that transition
   a little depth without introducing continuous motion or moving the copy and
   controls. */
.promo-plate__card--idle .promo-plate__media img {
    transform: scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
    .promo-plate__card {
        transition: none;
    }

    .promo-plate__media img,
    .promo-plate__card--idle .promo-plate__media img {
        transform: none;
    }
}

/* "Load more" sits between the grid and the pager, centred on the column the
   cards are centred in. It is one control on its own row, so it gets its own
   breathing room rather than inheriting the grid's gutter. */
.catalog-load-more {
    display: flex;
    justify-content: center;
    margin-bottom: var(--s-4);
}

/* Keep the secondary action light: font-primary keeps its text dark, so
   Bootstrap's filled charcoal hover otherwise hides the label. */
.catalog-load-more .btn:hover,
.catalog-load-more .btn:focus,
.catalog-load-more .btn:active {
    color: var(--ink);
    background-color: var(--surface);
    border-color: var(--accent);
    box-shadow: none;
}

.catalog-load-more .btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* Informational pages and quote panels use the same spacing as Contact Us. */
.content-panel {
    min-width: 0;
    padding: var(--s-5);
}

.about-layout {
    display: grid;
    gap: var(--s-5);
    align-items: start;
}

.about-hero .band-invert__title {
    max-width: 18ch;
}

.storefront-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-5) var(--s-4);
    margin: var(--s-6) 0 0;
    padding-top: var(--s-5);
    border-top: 1px solid var(--band-rule);
}

.storefront-facts > div {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

.storefront-facts dt {
    color: var(--band-copy);
    font-family: var(--f-mono);
    font-size: .75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.storefront-facts dd {
    order: -1;
    margin: 0;
    font-family: var(--f-mono);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
}

.about-category-grid,
.about-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-category,
.about-brand {
    color: var(--ink);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.about-category__index {
    color: var(--ink-muted);
    font-family: var(--f-mono);
    font-size: .75rem;
}

.about-category:hover,
.about-brand:hover {
    background-color: var(--page);
    color: var(--accent);
}

.about-category:focus-visible,
.about-brand:focus-visible {
    position: relative;
    z-index: 1;
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

@media (min-width: 768px) {
    .storefront-facts,
    .about-brand-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .about-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .about-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .about-brand-grid {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
}

.about-story .prose-keep + .prose-keep,
.about-guidance .prose-keep + .prose-keep {
    padding-top: var(--s-5);
    margin-top: var(--s-5);
    border-top: 1px solid var(--rule);
}

.about-layout .prose-keep > h2 {
    margin-top: 0;
}

.about-layout .prose-keep > :last-child {
    margin-bottom: 0;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-3) var(--s-5);
    margin-top: var(--s-5);
}

.about-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    min-height: 44px;
}

.about-notes {
    display: grid;
    gap: var(--s-5);
    padding-top: var(--s-5);
    border-top: 1px solid var(--rule);
    color: var(--ink-muted);
    font-size: .875rem;
}

.about-signoff > :first-child {
    margin-top: 0 !important;
}

.quote-contact-panel {
    border-top: 2px solid var(--accent);
    margin-top: var(--s-5);
}

.quote-contact-panel--stepped {
    margin-top: 0;
}

.quote-step-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-3);
    margin-top: var(--s-5);
    padding-top: var(--s-4);
    border-top: 1px solid var(--rule);
}

.quote-customer-fields {
    display: grid;
    gap: var(--s-4);
}

.quote-customer-fields .form-control {
    min-height: 44px;
}

.quote-review-details {
    display: grid;
    gap: var(--s-3) var(--s-5);
    padding: var(--s-4);
    border: 1px solid var(--rule);
    background: var(--page);
}

.quote-review-details dt {
    margin-bottom: .125rem;
    font-family: var(--f-mono);
    font-size: .6875rem;
    letter-spacing: .08em;
    color: var(--ink-muted);
    text-transform: uppercase;
}

.quote-review-details dd {
    margin: 0;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.quote-review-parts {
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--rule);
}

.quote-review-parts li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--s-4);
    padding: var(--s-3) 0;
    border-bottom: 1px solid var(--rule);
    font-family: var(--f-mono);
    font-size: .8125rem;
}

.quote-review-parts span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.quote-review-parts strong {
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .quote-customer-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quote-customer-fields__full {
        grid-column: 1 / -1;
    }

    .quote-review-details {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.quote-list-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-2);
    padding-top: var(--s-3);
    border-top: 1px solid var(--rule);
}

.quote-catalog-link {
    margin-left: auto;
}

.quote-table {
    --bs-table-border-color: var(--rule);
    border: 1px solid var(--rule);
}

.quote-table > thead {
    color: var(--surface);
    background-color: var(--bar);
}

.quote-table > thead > tr > th {
    padding: .75rem var(--s-3);
    border-bottom: 0;
    color: var(--surface);
    background-color: var(--bar);
    font-family: var(--f-mono);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.quote-table > :not(:first-child) {
    border-top: 0;
}

.quote-table > tbody > tr > td {
    padding: .75rem var(--s-3);
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    vertical-align: middle;
}

.quote-table > tbody > tr:nth-child(even) > td {
    background-color: color-mix(in srgb, var(--page) 48%, var(--surface));
}

.quote-table > tbody > tr:hover > td {
    background-color: var(--page);
}

.quote-table > tbody > tr:last-child > td {
    border-bottom: 0;
}

.quote-table__media-head,
.quote-table__media {
    width: 5.5rem;
}

.quote-table .table-image {
    width: 64px;
    height: 64px;
    padding: 0;
    border: 0;
    background-color: transparent;
}

.quote-table img.table-image,
.quote-table .table-image img {
    mix-blend-mode: multiply;
}

.quote-table__ref {
    white-space: nowrap;
}

.quote-table__remove-head,
.quote-table__remove {
    width: 3.5rem;
}

.quote-table .quantity-control {
    padding: 0;
    border: 1px solid var(--rule);
    background-color: var(--surface);
}

.quote-table .quantity-btn {
    min-width: 36px;
    min-height: 38px;
}

.quote-table .quantity-btn:hover {
    background-color: var(--page);
}

.quote-table .quantity-input {
    width: 3rem;
    min-height: 38px;
    border-inline: 1px solid var(--rule);
    font-size: .875rem;
}

.quote-table .quantity-remove {
    color: var(--ink-muted);
}

.quote-table .quantity-remove:hover,
.quote-table .quantity-remove:focus-visible {
    color: var(--accent);
}

.quote-table__cross {
    font-size: .8125rem;
    color: var(--ink-muted);
    overflow-wrap: anywhere;
}

@media (width < 576px) {
    .quote-table,
    .quote-table > tbody {
        display: block;
        width: 100%;
    }

    /* Keep column headings available to assistive technology. */
    .quote-table > thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .quote-table .js-quote-product {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: var(--s-3);
        align-items: end;
        padding: var(--s-4) 0;
        box-shadow: inset 0 -1px var(--rule);
    }

    .quote-table .js-quote-product:last-child {
        box-shadow: none;
    }

    .quote-table > tbody > .js-quote-product > td {
        width: auto !important;
        min-width: 0;
        padding: 0;
        border: 0;
    }

    .quote-table__product {
        grid-column: 1 / -1;
        overflow-wrap: anywhere;
    }

    .quote-table__quantity {
        grid-column: 1;
    }

    .quote-table__remove {
        grid-column: 2;
    }
}

/* Left-aligned, not centred. Capped and centred, this layout sat 84px inside a
   1320px container while the .section-head above it still started at the
   container edge - so the page h1 and the nav under it disagreed about where the
   page begins by 72px, and the rail no longer lined up with the catalog's, which
   starts at the container edge like every other band on the site. The cap stays:
   these two pages dropped .prose-columns (a legal notice is not read in
   newspaper columns), so nothing else is holding the measure of a single column
   of running text. It just no longer moves the left edge to do it. */
.policy-layout {
    display: grid;
    gap: var(--s-5);
    align-items: start;
    max-width: 72rem;
}

/* This heading shared .catalog-rail__title's rule until that title moved into
   the mono voice with the rest of the catalog rail's chrome. It keeps the display
   face here, because what it sits above is different: the rail's group heads are
   mono labels and the title had to lead them, where these are seven sentence-case
   links set in the display face - a mono head over them would be the only mono on
   the page. */
.policy-nav h2 {
    margin-bottom: var(--s-2);
    font-family: var(--f-condensed);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink);
}

/* The list is bounded, not striped. A hairline under every row drew six rules
   in a 14rem column and made a seven-item nav look like a table; the catalog
   rail's .filter-group__scroll states the same edges twice, at the start and
   the end, and lets the rows inside it stay open. */
.policy-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: var(--s-2) 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

/* The row box is .dash-rail__link's, which .filter-group__scroll .filter-option
   already copies: same 44px, same var(--s-2) var(--s-3) inset, same lift to
   white. The type is the catalog's, not the admin rail's.

   That distinction is the whole of it. Condensed 700 muted is this design's
   voice for chrome - .catalog-rail__title, .filter-group__head, the counts -
   where a label is one or two words and is not the thing being read. These rows
   are the thing being read: sentence-case section titles up to five words, and
   "Cancellations and non-defective returns" wraps to two lines in a 14rem
   column. Condensed narrows the letterforms exactly where the line is longest,
   700 sets all seven items at one volume so nothing is left to mark a current
   section with, and muted dims the only content on the rail. The catalog's
   options are sans 400 at full ink for the same reason - they are values to
   scan, not labels naming them. */
.policy-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    height: 100%;
    padding: var(--s-2) var(--s-3);
    color: var(--ink);
    font-size: .875rem;
    line-height: 1.5;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: background-color 200ms linear;
}

/* The full-row lift is the affordance, as it is on the other two rails, so the
   label itself does not change colour and the rows stay legible mid-hover. */
.policy-nav a:hover,
.policy-nav a:focus-visible {
    background-color: var(--surface);
}

.policy-content .prose-section {
    padding-top: var(--s-5);
    margin-top: var(--s-5);
    border-top: 1px solid var(--rule);
}

.policy-content h2 {
    margin-top: 0;
    scroll-margin-top: 8rem;
}

.policy-content .prose-section > :last-child {
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .content-panel {
        padding: var(--s-6);
    }

    .about-layout {
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
        gap: var(--s-6);
    }

    .about-notes {
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
        gap: var(--s-7);
    }

    .policy-layout {
        /* 14rem, the track .dash-shell and .catalog-shell both use: three rails
           doing the same job, at the same width, starting at the same edge. */
        grid-template-columns: 14rem minmax(0, 1fr);
        gap: var(--s-6);
    }

    .policy-nav {
        position: sticky;
        top: 6rem;
        max-height: calc(100vh - 7rem);
        overflow-y: auto;
        padding: var(--s-1);
    }

    .policy-nav ul {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 575.98px) {
    .content-panel {
        padding: var(--s-4);
    }

    .quote-list-actions #clear-all {
        margin-left: auto;
    }

    .quote-catalog-link {
        width: 100%;
        justify-content: flex-end;
    }
}

/* Contact methods and enquiry forms share the storefront's quieter surfaces. */
.contact-layout {
    display: grid;
    grid-template-areas: "message" "details";
    gap: var(--s-5);
    margin-bottom: var(--s-5);
}

.contact-message {
    grid-area: message;
    min-width: 0;
    padding: var(--s-5);
}

.contact-details {
    grid-area: details;
    min-width: 0;
}

.contact-methods {
    margin: var(--s-4) 0 0;
}

.contact-methods dd {
    margin: 0;
}

.contact-methods small {
    display: block;
    color: var(--ink-muted);
    font-size: .75rem;
    line-height: 1.5;
}

/* "Copy email", under the Email us link: a quiet second line set like the
   call-rate note under each number, because it is the fallback for people
   whose mail lives in a browser tab, not a second call to action. A bare
   button, so it borrows no Bootstrap button casing or padding. */
.email-copy {
    display: block;
    margin-top: var(--s-1);
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink-muted);
    font: inherit;
    font-size: .75rem;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.email-copy:hover,
.email-copy:focus-visible {
    color: var(--accent);
}

.contact-whatsapp {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--rule);
}

.contact-whatsapp a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ink);
    font-size: 1.0625rem;
    font-weight: 600;
    text-decoration: none;
}

.contact-whatsapp svg {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 10px;
    border: 1px solid var(--ink);
    color: var(--accent);
}

.contact-location-copy {
    padding: 24px 0 0;
    font-size: .9375rem;
}

.contact-quick-actions {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: var(--s-2);
    margin-bottom: var(--s-5);
}

.contact-quick-actions .btn {
    width: 100%;
    height: 100%;
    min-height: 44px;
    padding: var(--s-2);
    font-size: .875rem;
    white-space: normal;
    overflow-wrap: anywhere;
}

.contact-quick-whatsapp {
    min-width: 0;
}

.enquiry-form .form-label {
    margin-bottom: var(--s-2);
    font-size: .875rem;
    font-weight: 600;
}

.enquiry-form .form-control {
    min-height: 48px;
    padding-top: var(--s-3) !important;
    padding-bottom: var(--s-3) !important;
}

/* Zero basis lets a long consent label share the row with its checkbox.
   Validation feedback still takes a full row through the shared form rules. */
.enquiry-form .form-check-label {
    flex: 1 1 0;
    min-width: 0;
    font-size: .875rem;
    line-height: 1.6;
}

.contact-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-4);
}

.contact-fields > * {
    grid-column: 1 / -1;
    min-width: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.enquiry-details {
    border-top: 1px solid var(--rule);
    font-size: .9375rem;
}

.enquiry-details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-3);
    min-height: 44px;
    padding: var(--s-3) 0;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.enquiry-details > summary::-webkit-details-marker {
    display: none;
}

.enquiry-details > summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.enquiry-details > summary::after {
    content: "+";
    flex-shrink: 0;
    color: var(--accent);
    font-size: 1.25rem;
}

.enquiry-details[open] > summary::after {
    content: "−";
}

.quote-explainer {
    margin-top: calc(var(--s-4) * -1);
    margin-bottom: var(--s-5);
    border-top: 0;
    border-bottom: 1px solid var(--rule);
}

.contact-map {
    padding: var(--s-3) var(--s-5);
    border: 1px solid var(--rule);
    background-color: var(--surface);
}

.contact-map > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: var(--s-1);
}

.contact-map > summary::after {
    grid-column: 2;
    grid-row: 1 / 3;
}

.contact-map__address {
    grid-column: 1;
    color: var(--ink-muted);
    font-size: .875rem;
    font-weight: 400;
}

.contact-map__link {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    min-height: 44px;
    margin-bottom: var(--s-3);
}

.contact-map iframe {
    display: block;
    margin-bottom: var(--s-3);
}

/* Running prose underlines its links; a .quiet-link is a standalone action that
   happens to sit in a prose block, so it is carved out the same way .btn is.
   Without this, `.prose a:not(.btn)` at (0,2,1) outranks the component at
   (0,1,0) - and outranks .quiet-link:focus-visible at (0,2,0) too, which left
   the keyboard focus state on the about page looking identical to rest. */
.prose a:not(.btn):not(.quiet-link),
.enquiry-form a:not(.btn):not(.quiet-link),
.enquiry-details a:not(.btn):not(.quiet-link) {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: .2em;
}

.prose a:not(.btn):not(.quiet-link):hover,
.enquiry-form a:not(.btn):not(.quiet-link):hover,
.enquiry-details a:not(.btn):not(.quiet-link):hover,
.contact-methods a:hover {
    color: var(--accent);
}

@media (min-width: 768px) {
    .contact-layout {
        grid-template-areas: "details message";
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
        align-items: start;
        gap: var(--s-6);
    }

    .contact-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-fields > .form-group:nth-child(-n+2) {
        grid-column: auto;
    }
}

@media (min-width: 992px) {
    .contact-message {
        padding: var(--s-6);
    }
}

@media (max-width: 575.98px) {
    .contact-message {
        padding: var(--s-4);
    }
}

/* ---------------------------------------------------------------------------
   /quote page specifics.

   The masthead itself is .band-invert + .band-invert__title/__lead and the
   § label is .marker, both in 04-structure.css - this file keeps only what is
   genuinely particular to the quote request.
   --------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------
   The progress strip.

   Not a wizard - the list and the contact fields sit on one page and still do,
   and nothing here navigates. It names the three states a request actually
   passes through, and marks which one the page is showing, which /quote left
   the reader to infer from which panels happened to be visible at the time.

   Each step is a rule that carries its own state, so the row reads as one
   horizon line broken into three rather than as three floating captions. The
   label never moves between states - only the rule and the ink change - so the
   band does not reflow when the list goes from empty to populated.
   --------------------------------------------------------------------------- */
.quote-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-4);
    margin-top: var(--band);
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.quote-progress__step {
    padding-top: var(--s-3);
    border-top: 2px solid var(--band-rule);
    color: var(--band-copy);
    font-family: var(--f-mono);
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* Reached, whether it is the step being shown or one already behind it. Both
   get the lit rule; only the current one is announced, by aria-current. */
.quote-progress__step[data-state="done"],
.quote-progress__step[data-state="current"] {
    border-top-color: var(--accent-on-dark);
    color: var(--surface);
}

.quote-progress__num {
    color: var(--accent-on-dark);
}

/* ---------------------------------------------------------------------------
   The body, and its rail.

   "3 parts, 14 items" is the one statement of what is about to be sent, and it
   sat at the bottom of the list panel - above the contact fields, so by the
   time a buyer reached the send button it was off the top of the screen. The
   rail carries it instead and sticks, so the size of the request stays beside
   the form that submits it.

   Split at 1200 rather than the 992 the other rails use. The contact panel
   puts three inputs on one row at lg; taking 18rem out of the column at 992
   leaves them 190px each, which is where a name field stops being able to show
   a name. At 1200 they get 250px and the rail costs nothing.

   18rem, where .catalog-shell__rail and .policy-nav use 14rem, because those
   are lists of links and this is a panel carrying a sentence.
   --------------------------------------------------------------------------- */
.quote-layout {
    display: grid;
    /* minmax(0, 1fr) and not the implicit single column a bare `display: grid`
       would give: a grid item is min-width:auto, so it refuses to shrink below
       its content, and the content here is the parts table. .table-responsive
       can only scroll the table inside itself if something above it is allowed
       to be narrower than the table - otherwise the item grows to 408px and the
       whole document scrolls sideways on a 390px phone, which is the exact
       failure tablecontainer.blade.php was fixed for. */
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-5);
    align-items: start;
}

@media (min-width: 1200px) {
    .quote-layout {
        grid-template-columns: minmax(0, 1fr) 18rem;
        gap: var(--s-6);
    }

    /* align-self, or the grid stretches the rail to the height of the column
       beside it and sticky has no distance to travel - the same note
       .catalog-shell__rail carries. */
    .quote-rail {
        position: sticky;
        top: 6rem;
        align-self: start;
    }
}

.quote-rail {
    padding: var(--s-5);
}

/* The count, set as data. It is two numbers and the words that unit them, and
   it is the only figure on the page - the mono is what the rest of this site
   already puts a quantity in. */
.quote-rail__figure {
    margin-bottom: var(--s-4);
    font-family: var(--f-mono);
    font-size: var(--t-4);
    line-height: 1.15;
}

.quote-rail__figure:empty {
    display: none;
}

.quote-rail__note {
    margin-bottom: 0;
    padding-top: var(--s-4);
    border-top: 1px solid var(--rule);
    color: var(--ink-muted);
    font-size: .875rem;
}

@media (max-width: 575.98px) {
    .quote-rail {
        padding: var(--s-4);
    }
}

/* ---------------------------------------------------------------------------
   Homepage — the drawing-sheet marks.

   The vocabulary is defined in 04-structure.css; this is only what the
   homepage's own surfaces need in order to carry it.
   --------------------------------------------------------------------------- */

/* The hero plate and the closing .reference-cta deliberately have no marks.
   Both already open with a 3px accent top rule, which is their mark, and a
   corner tick lands straight on top of it - two devices on one element, which
   is the double-marking the vocabulary warns about. The hero could not carry
   them anyway: its ::after already paints the photograph's gradient scrim, so
   .plane--marked would silently lose to it. */

/* The hero headline in the condensed face the site already loads and spends
   almost nowhere. It was the one display-size heading on the site still set in
   the body grotesque, so the largest type on the homepage was also its least
   characterful - and .section-head's h2s a band below it are condensed, which
   left the h1 reading as the softer of the two. */
/* The span inside carries Bootstrap's .fw-bold, which 5.1.3 compiles as
   !important, so the weight has to be taken back with the same flag - the note
   .trust-panel carries about .text-muted, for the same reason. Without this the
   homepage h1 sits at 700 while every other display heading on the site is at
   800, which is visible when Archivo is doing the work by weight. */
.hero-plate h1,
.hero-plate h1 > span {
    font-family: var(--f-condensed);
    font-weight: 800 !important;
    letter-spacing: -.025em;
}

/* ---------------------------------------------------------------------------
   Product card — the parts-plate treatment.

   The card used to be a photo over three stacked lines of text. The design
   reads its products as plates on a drawing sheet: the media is a bounded
   field with its identifying tags set into the corners, and the body carries
   only what a buyer matches on, closed by a ruled action row.

   Nothing here changes what the card says. Brand and category moved from a
   caption line into the corners of the media, and the reference and title kept
   both their wording and their order - the note in card.blade.php about
   leading with the part number still holds, and this is the same three facts
   arranged as a plate instead of as a list.
   --------------------------------------------------------------------------- */
.card-corner {
    position: absolute;
    top: var(--s-2);
    z-index: 2;
    max-width: calc(50% - var(--s-3));
    color: var(--ink-muted);
    font-family: var(--f-mono);
    font-size: .625rem;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
    /* One line only: these are tags, and a category long enough to wrap would
       push the plate's own artwork out of the way. */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
}

.card-corner--category {
    left: var(--s-2);
}

/* Bottom-right, not top-right: the "New" ribbon owns that corner and the two
   sat on top of each other. Diagonally opposed tags also read more like a
   drawing sheet than a pair stacked along one edge. */
.card-corner--brand {
    top: auto;
    bottom: var(--s-2);
    right: var(--s-2);
    text-align: right;
}

/* The media becomes a field rather than a loose photo: the page ground behind
   it and a hairline closing it off from the body. */
.js-card .card-media {
    background-color: var(--page);
    border-bottom: 1px solid var(--rule);
}

/* The action row is ruled off, and dashed rather than solid: it separates the
   card's data from its control without reading as another card edge. */
.js-card-actions {
    padding-top: var(--s-3);
    border-top: 1px dashed var(--rule);
}

/* The plate answers the pointer on its edge, the way every other bounded
   surface in this vocabulary does. */
.js-card:hover {
    border-color: var(--ink);
}

/* ---------------------------------------------------------------------------
   Category tiles.

   The index of the catalog, as numbered cells on one hairline grid. Each tile
   states its position in the set, the category, and where it goes - the three
   things an index entry carries. .cell-grid owns the dividers; this owns the
   cell.
   --------------------------------------------------------------------------- */
.cat-grid {
    grid-template-columns: minmax(0, 1fr);
}

/* Leave enough room for complete category names and an unbroken counter row.
   The same minimum space applies to photographs and fallback illustrations. */
@media (min-width: 480px) {
    .cat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .cat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* The cell is the page, not a plate on it. .cell-grid paints its children
   --surface, which is right for the grids that sit on a band of their own; this
   one sits directly on the page, and white cells turned the hairline grid into
   eight white cards with grey lines between them. On the page's own ground the
   only thing drawn is the grid, which is what an index sheet is. */
.cat-grid > .cat-tile {
    background-color: var(--page);
}

.cat-tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--s-3);
    /* A floor. The height comes from the content above it, and the square the
       design draws is below, scoped to the width that can hold one. */
    min-height: 15rem;
    /* 28/24, the design's cell inset. At var(--s-4) all round the number row sat
       almost on the hairline above it. */
    padding: 1.75rem var(--s-5);
    color: var(--ink);
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

/* Each row keeps one artwork height even when a catalog name spans several
   lines. A square constraint lets the longest name steal space from its image;
   content height instead keeps the artwork and heading edges aligned. */
.cat-tile__media,
.cat-tile__glyph {
    height: clamp(5rem, 12vw, 9.5rem);
}

/* The whole cell is the target, so it inverts rather than underlining a word
   inside it. Focus gets the same treatment - the tile is the control. */
a.cat-tile:hover,
a.cat-tile:focus-visible {
    background-color: var(--ink);
    color: var(--page);
    outline: 0;
}

.cat-tile__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--s-2);
    white-space: nowrap;
}

/* The artwork fills the band the number and name rows leave it.

   cover, not contain: the source photographs are square and the band is wide
   and short, so contained they would sit as a ~101px island in the middle of a
   285px cell with the tile's ground either side of them. Cropping the frame is
   what makes a row of these read as one set.

   And it runs the full width of the cell, out through the inset the text keeps.
   Held inside that inset it was a dark rectangle floating in a light cell with
   a margin all round it - a picture pasted onto the page rather than part of
   it. Bled to the walls it is a band, and the hairline grid is what frames it,
   which is the same job .cell-grid is already doing for everything else here. */
.cat-tile__media {
    display: block;
    flex: 0 0 auto;
    min-height: 0;
    margin-block: var(--s-2);
    margin-inline: calc(var(--s-5) * -1);
}

.cat-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: .75;
    transition: opacity .2s ease;
    /* The photographs are the one cool object on a palette that was deliberately
       warmed. The page is #F4F1EC - red eight points over blue - and the studio
       backdrop these parts were shot on averages rgb(79, 79, 82), which leans
       the other way. Against a warm ground that reads as a foreign object, and
       no amount of layout fixes it.

       So they are mapped onto the ramp the rest of the page uses: grayscale
       first, to drop whatever cast each photograph came with and put them all on
       one axis, then a light sepia to sit them in the page's own hue, and
       brightness/contrast to close some of the gap between a very dark picture
       and a very light cell. Restrained on purpose - a heavier hand turns a
       parts photograph into a period one, and these have to stay legible as
       components. Done in the filter rather than with opacity so the image does
       not shift when the cell inverts under it on hover. */
    filter: grayscale(1) sepia(.22) brightness(1.18) contrast(.86);
}

a.cat-tile:hover .cat-tile__media img,
a.cat-tile:focus-visible .cat-tile__media img {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .cat-tile__media img {
        transition: none;
    }
}

/* The drawing stands in the photograph's band and takes its sizing from it, so
   a tile with a glyph and a tile with a photograph put their name and their
   BROWSE row on the same two lines.

   It also has to take the band's *shape* from it, which is what an earlier pass
   left out. The drawing was 56px, set to the left edge and to the foot of an
   otherwise untreated band, on the reasoning that the empty space would read as
   the air a photograph would have filled. In a grid where both kinds sit in the
   same eight cells it does not: the photographs bleed to the walls and carry the
   full weight of a band, so a row of them next to a row of small ink marks in
   open page reads as two different components, not one set with two kinds of
   artwork in it. The cells are equal height and the text still lands on the same
   lines - it is only the picture that breaks the set.

   So the band is the constant. It bleeds to the same walls the photograph does,
   it is grounded in --page-sunken so it is bounded whether or not a picture ever
   arrives, and the drawing is centred in it at a size that reads as artwork
   rather than as an icon left over from a toolbar. Well short of the
   photograph's crop, which is what keeps a drawing a drawing. */
.cat-tile__glyph {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    min-height: 0;
    margin-block: var(--s-2);
    margin-inline: calc(var(--s-5) * -1);
    background-color: var(--page-sunken);
    /* Pinned, not inherited. The tile inverts to --ink under the pointer and the
       drawing used to invert with it, which worked while it sat on the tile's
       own ground. On a band that stays put it would take the glyph to --page on
       a light band and erase it. The photograph's band does not invert either;
       this is the same rule applied to the other kind of picture. */
    color: var(--ink);
}

.cat-tile__glyph svg {
    /* Of the band, not of the tile, so the drawing holds its proportion as the
       cell reflows from four columns to two. Capped in rem because the band is
       wide and short at the narrow end of the range, where a percentage of the
       width would overrun the height. */
    width: min(46%, 5.5rem);
    height: auto;
    max-height: 72%;
}

.cat-tile__foot {
    display: flex;
    flex: 1;
    flex-direction: row;
    /* The name hangs from the top of the foot so every heading in a row starts
       at the same line whether it wraps to one line or three; the arrow below
       sits on the foot's bottom edge instead. Bottom-aligning both let a
       one-line name drift down beside a two-line neighbour. */
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--s-3);
}

.cat-tile__num {
    font-family: var(--f-mono);
    font-size: .6875rem;
    letter-spacing: .1em;
    color: var(--ink-muted);
}

a.cat-tile:hover .cat-tile__num,
a.cat-tile:focus-visible .cat-tile__num {
    color: var(--accent-on-dark);
}


/* Category names are navigation labels: show the full name, with natural
   wrapping. The grid supplies space instead of clipping the label to fit. */
.cat-tile__name {
    margin-bottom: 0;
    font-size: clamp(1.0625rem, .93rem + .55vw, 1.375rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.01em;
    /* An emergency break for unusually long imported identifiers. */
    overflow-wrap: break-word;
}

@media (max-width: 575.98px) {
    .cat-tile {
        padding-inline: var(--s-3);
    }

    .cat-tile__media,
    .cat-tile__glyph {
        margin-inline: calc(var(--s-3) * -1);
    }

    .cat-tile__name {
        font-size: clamp(1rem, .82rem + .8vw, 1.125rem);
        letter-spacing: 0;
    }
}

.cat-tile__go {
    display: inline-flex;
    flex-shrink: 0;
    align-self: flex-end;
    align-items: center;
    justify-content: center;
    transition: transform .15s ease;
}

a.cat-tile:hover .cat-tile__go,
a.cat-tile:focus-visible .cat-tile__go {
    transform: translateX(3px);
}



/* The card's add-to-quote is ink, not the accent. A catalog page is 36 of these
   at once, and in red the grid read as 36 primary actions competing with each
   other and with the page's own CTA. The design keeps its accent for the one
   action a page is asking for and puts the repeated, per-item action in ink.
   Remove stays outlined, so the pair still reads solid = add, outline = remove
   the way includes/product/information does. */
.js-card .js-add-product {
    /* .btn-danger carries !important (01-foundation.css), so the card's copy of
       it has to be answered with the same flag rather than out-specified. */
    background-color: var(--ink) !important;
    border-color: var(--ink);
    color: var(--page);
}

.js-card .js-add-product:hover,
.js-card .js-add-product:focus-visible {
    background-color: var(--accent) !important;
    border-color: var(--accent);
    color: #FFFFFF;
}

/* ---------------------------------------------------------------------------
   The hero band.

   The hero is now the page's opening surface rather than a plate on it: the
   dark runs the full width, and the plate inside gives up its own background
   and border because a bounded dark rectangle on a dark band is an edge that
   marks nothing.

   The 3px accent rule goes with it. That rule existed because the hero "has no
   heading above it - it opens the page itself - so its top edge is where the
   mark goes" (see the note on .hero-plate). The band is that mark now, and
   keeping both would be the double-marking the vocabulary warns about.
   --------------------------------------------------------------------------- */
.hero-band {
    padding-block: var(--band);
    background-color: var(--bar);
    color: #FFFFFF;
}

.hero-band .hero-plate {
    /* A hairline and corner marks rather than no edge at all. Without them the
       photograph sat on the band as a bare rectangle whose own dark corners
       almost - but not quite - matched --bar, so it read as a pasted-in image
       with a seam round it. This is the bounded panel the design puts opposite
       its headline, drawn in the vocabulary's own terms. */
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, .16);
    --mark-inset: 3px;
}

.hero-band .hero-plate__content,
.hero-band .hero-plate__media {
    background-color: transparent;
}

/* The promo plates are light surfaces sitting inside a dark band, so they must
   not inherit its inverse copy colour. They did: putting color:#FFFFFF on
   .hero-band left their headings white on a #D2CDC4 plate, which is 1.58:1 -
   invisible, and well under AA for large text. They keep the page's ink. */
.hero-band .promo-plate {
    color: var(--ink);
}

/* The first band under the hero opens against the dark rather than against the
   masthead, so it no longer needs the container's own top padding to clear it. */
.home-bands {
    padding-top: var(--s-7) !important;
}

/* The headline gets the display step the design gives it. --t-display tops out
   at 72px for a page title in a .band-invert; the homepage h1 is the one
   heading on the site that is the page, so it goes further. */
.hero-band .hero-plate h1,
.hero-band .hero-plate h1 > span {
    font-size: clamp(2.25rem, 1.1rem + 4.6vw, 4.75rem);
    line-height: 0.98;
}

/* ---------------------------------------------------------------------------
   The closing band.

   The page ends on the accent rather than on another dark plate. The design
   spends its accent exactly twice - the primary action, and the band that asks
   for it - and this is the second. It also gives the page a colour it does not
   otherwise carry at full width, so the argument visibly finishes rather than
   trailing off into the footer.
   --------------------------------------------------------------------------- */
.reference-cta-band {
    /* --accent-deep, not --accent: see the token's note. This is the only
       full-bleed flood of the accent on the site, and the mark colour does not
       survive being scaled up to a surface. */
    background-color: var(--accent-deep);
}

/* On the accent ground the action cannot also be the accent. Ink, the way the
   card's add-to-quote is ink on the page ground - the button is the darkest
   thing in the band and reads as the one place to press. */
.reference-cta-band .btn-danger {
    background-color: var(--ink) !important;
    border-color: var(--ink);
    color: var(--page);
}

.reference-cta-band .btn-danger:hover,
.reference-cta-band .btn-danger:focus-visible {
    background-color: #FFFFFF !important;
    border-color: #FFFFFF;
    color: var(--ink);
}

/* ---------------------------------------------------------------------------
   Hero layout: statement left, panel right.
   --------------------------------------------------------------------------- */
.hero-layout {
    display: grid;
    gap: var(--s-6);
    align-items: center;
}

@media (min-width: 992px) {
    .hero-layout {
        /* The design's proportion: the argument gets the wider column. */
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        gap: var(--s-7);
    }
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
}

.hero-copy__title {
    font-family: var(--f-condensed);
    font-size: clamp(2.25rem, 1.1rem + 4.6vw, 4.75rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -.03em;
    color: #FFFFFF;
}

.hero-copy__title > span {
    color: var(--accent);
}

/* Small text on the dark hero needs the brighter red from the inverse palette. */

.hero-eyebrow {
    color: var(--accent-on-dark);
    margin-bottom: 0;
}

.hero-facts {
    --band-rule: rgba(255, 255, 255, .18);
    --band-copy: #CFC9C0;
    padding-bottom: var(--s-6);
    color: var(--surface);
}

.site-ticker__contacts a {
    color: inherit;
    text-decoration: none;
}

.site-ticker__contacts a:hover {
    color: var(--surface);
    text-decoration: underline;
}

.hero-copy__lead {
    max-width: 46ch;
    margin-bottom: 0;
    color: #CFC9C0;
    font-size: var(--t-5);
    text-wrap: pretty;
}

.hero-copy__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-3);
    margin-top: var(--s-2);
}

@media (max-width: 575.98px) {
    .hero-copy__actions > .btn {
        width: 100%;
    }
}

/* The panel sits into the band rather than on it. The design's is #0F0E0C
   against a #1A1815 ground, so it reads as an inset plate holding the drawing.
   A photograph lighter than its band does the opposite - it floats forward and
   competes with the headline for the eye. */
/* The plate the photograph and its apparatus share. The corner marks and the
   hairline move here from the <picture>, which now holds only the image. */
.hero-figure-plate {
    display: block;
    position: relative;
    --mark-inset: 3px;
    color: #F0EBE2;
}

.hero-figure {
    display: block;
    position: relative;
    /* --ink, not --bar-raised.

       --bar-raised said "a plate lifted a step off the band", and it never once
       reached the screen: the photograph carries its own ground edge to edge and
       that ground measures #14130E, so the declared colour was covered by a
       value three points off --ink. What a visitor actually saw was a plate
       *darker* than the #1A1815 band around it - a recessed aperture, not a
       raised panel.

       Stating the colour the image really ships means the two are one surface
       rather than two that nearly match, which is the seam the hairline and the
       corner marks were added to hide. The aperture reading is also the right
       one: this is a window onto a part, like the product page's media well. */
    background-color: var(--ink);
    border: 1px solid rgba(255, 255, 255, .16);
    /* Preserve the illustration's full composition at every viewport size. */
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.hero-figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ---------------------------------------------------------------------------
   Hero apparatus.

   Markup rather than pixels, for the reason every other identifier on this site
   is markup: it translates, it stays sharp at any density, and it recolours with
   the surface. The v7 figure's decoration was baked into a JPEG and could do
   none of those.

   Positions are percentages of the plate, and the plate is exactly 3:2 holding a
   3:2 image under object-fit: contain - so there is no letterboxing and a
   balloon placed at 26.4% sits on the same rivet at 436px as at 672px.

   Type is fixed px, not a share of the plate. A balloon that scales with its
   frame is unreadable on the narrow renderings and enormous on the wide ones;
   what matters is that 9px is 9px. The cost of that choice is the breakpoint
   below: the apparatus is hidden under 768px, where the figure drops to 492px
   and then to about 342px on a phone, and nine-point mono in a 342px frame is
   decoration again rather than information. The amount of apparatus this figure
   can carry is set by its smallest rendering, not its largest.
   --------------------------------------------------------------------------- */
.hero-figure__apparatus {
    display: none;
    position: absolute;
    inset: 0;
    font-family: var(--f-mono);
    font-size: .5625rem;
    letter-spacing: .14em;
    line-height: 1;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .hero-figure__apparatus {
        display: block;
    }
}

/* The assembly's own axis. currentColor at 30%, so it reads as construction
   rather than as an edge of the part. */
.hero-figure__axis {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: #F0EBE2;
    opacity: .3;
}

.hero-figure__balloon {
    display: grid;
    position: absolute;
    place-items: center;
    width: 1.25rem;
    height: 1.25rem;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(240, 235, 226, .72);
    border-radius: 50%;
    background-color: rgba(20, 19, 17, .62);
    color: rgba(240, 235, 226, .94);
    font-weight: 500;
    letter-spacing: .06em;
}

.hero-figure__balloon--liner { top: 15.3%; left: 26.4%; }
.hero-figure__balloon--piston { top: 48.6%; left: 50.4%; }
.hero-figure__balloon--rod { top: 77%; left: 72.9%; }

.hero-figure__callouts {
    position: absolute;
    top: 4.2%;
    right: 3.5%;
    display: grid;
    gap: .5rem;
    margin: 0;
    padding: .5rem 0 0;
    border-top: 1px solid rgba(240, 235, 226, .26);
    color: rgba(240, 235, 226, .82);
    list-style: none;
}

/* The number in its own track, so the three labels start on one edge whatever
   they say - which they do not in Portuguese, where the longest of them is half
   as long again. */
.hero-figure__callouts li {
    display: grid;
    grid-template-columns: 1.4rem minmax(0, 1fr);
}

.hero-figure__callouts li > span:first-child {
    color: rgba(240, 235, 226, .58);
}

/* The title block. The most recognisable device on a drawing sheet, and the only
   one here every field of which is true: what is drawn, which figure it is, and
   that it is not to scale. AHDP's own name is deliberately not a fourth cell -
   the masthead says it 300px above. */
.hero-figure__block {
    display: grid;
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(240, 235, 226, .34);
    background-color: rgba(20, 19, 17, .86);
    color: rgba(240, 235, 226, .78);
    font-size: .5rem;
    letter-spacing: .18em;
}

.hero-figure__block > span {
    padding: .6rem .75rem;
    border-inline-start: 1px solid rgba(240, 235, 226, .2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-figure__block > span:first-child {
    border-inline-start: 0;
}

/* The accent, spent once on the whole plate - on the figure's own number, in the
   mono and the corner the product page already uses for FIG. 01. --accent is
   3.1:1 on this ground; the dark variant exists for exactly this. */
.hero-figure__block-ref {
    color: var(--accent-on-dark);
    font-weight: 500;
}

.hero-figure__block-note {
    color: rgba(240, 235, 226, .55);
}


/* The catalog's search, on the band beside its heading. Dark ground, so the
   field takes the raised charcoal the masthead's copy of it used. */
.catalog-search {
    max-width: 32rem;
    margin-top: var(--s-5);
}

.catalog-search .form-control {
    padding-block: var(--s-3);
    background-color: var(--bar-raised);
    border-color: rgba(255, 255, 255, .18);
    color: #FFFFFF;
}

.catalog-search .form-control::placeholder {
    color: #CFC9C0;
    opacity: 1;
}

.catalog-search .form-control:focus {
    background-color: var(--bar-raised);
    border-color: var(--accent-on-dark);
    color: #FFFFFF;
}

@media (min-width: 992px) {
    /* Beside the heading, not under it - the band has a whole empty half. */
    .catalog-page-head {
        display: grid;
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        gap: var(--s-6);
        align-items: end;
    }

    .catalog-search {
        margin-top: 0;
    }
}

/* ---------------------------------------------------------------------------
   Catalog filters, in the design's register.

   The rail already had the right structure - a legend, a scrolling option list,
   a count against each row. What it did not have was the design's voice: the
   reset was a bold red word, the checkboxes were Bootstrap's default blue, and
   the result count read as one flat grey sentence with nothing marking which
   number is the live one.

   No copy changes: every label here is the one already on the page.
   --------------------------------------------------------------------------- */

/* The tick is an action, so it uses the action colour - Bootstrap's own blue
   appears nowhere else in this palette. */
.filter-option .form-check-input {
    accent-color: var(--accent);
    border-color: var(--rule-strong);
}

.filter-option .form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

/* The live count is the one number on the toolbar that moves, so it carries the
   accent and the total stays quiet beside it. */
#nbProducts {
    color: var(--accent);
    font-weight: 600;
}

/* Mobile cards keep the quote action accessible without turning each result
   into a heavy black bar. The reference remains the strongest text. */
@media (max-width: 575.98px) {
    .js-card .js-card-actions .btn {
        min-height: 44px;
        font-size: .75rem;
        letter-spacing: .02em;
        white-space: normal;
    }

    .js-card .js-add-product {
        color: var(--ink) !important;
        background-color: var(--surface) !important;
        border-color: var(--rule-strong) !important;
    }

    .js-card .js-add-product:hover,
    .js-card .js-add-product:focus-visible {
        color: #FFFFFF !important;
        background-color: var(--ink) !important;
        border-color: var(--ink) !important;
    }

    .product-strip .product-image,
    .related-product-strip .product-image {
        width: 10rem;
        height: 10rem;
    }
}

/* About and Contact follow the sibling mockup's editorial proportions. The
   app keeps real catalog counts and contact details, and stacks the desktop
   compositions on phones rather than inheriting the mockup's fixed viewport. */
.about-hero {
    padding-block: var(--band) var(--s-6);
}

.about-hero .band-invert__title,
.contact-hero .band-invert__title {
    /* Catalog, About and Contact share one page-title scale. The homepage has
       its own larger campaign headline; these pages are utility destinations
       and should feel like one family. */
    font-size: clamp(2.25rem, 4.6vw, 4.75rem);
    line-height: .98;
    color: var(--page);
}

/* Keep the page-opening title rhythm identical across Catalog, About and
   Contact; the homepage campaign headline intentionally remains separate. */
.catalog-page-head .band-invert__title {
    line-height: .98;
}

.about-hero .storefront-facts {
    margin-top: 3.5rem;
    padding-top: var(--s-6);
}

.about-hero .storefront-facts dd {
    font-size: 2.625rem;
}

.about-introduction,
.about-directory {
    padding-block: 4.5rem;
    border-bottom: 1px solid var(--rule);
}

.about-directory {
    margin-block: 0;
}

.about-section-title {
    margin: 0;
    font-size: clamp(2rem, 3.4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.about-story {
    font-size: 1.0625rem;
    line-height: 1.65;
}

.about-story > p + p {
    margin-top: var(--s-5);
}

.about-story .about-signature {
    margin-top: var(--s-5);
    font-size: .6875rem;
}

.about-directory--categories,
.about-disclaimer {
    background-color: var(--page-sunken);
}

.about-directory .section-head {
    justify-content: space-between;
    align-items: end;
    margin-bottom: var(--s-6);
}

.about-directory .section-head__action {
    margin-left: 0;
}

.about-category {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-4);
    min-height: 10rem;
    padding: 1.75rem var(--s-5);
    background-color: var(--page);
}

.about-category__name {
    font-weight: 700;
    margin-top: auto;
    font-size: 1.0625rem;
    line-height: 1.35;
    text-transform: none;
}

.about-category__action {
    display: flex;
    justify-content: space-between;
    gap: var(--s-2);
    width: 100%;
    color: var(--accent);
    font-weight: 600;
    font-size: .6875rem;
}

.about-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--s-4) var(--s-3);
    font-family: var(--f-mono);
    font-size: .8125rem;
    font-weight: 600;
    text-align: center;
    min-height: 5rem;
    background-color: var(--page);
}

.about-disclaimer {
    padding-block: 4rem;
    color: var(--ink-muted);
}

.about-disclaimer ul {
    padding: 0;
    list-style: none;
}

.about-disclaimer li + li {
    margin-top: var(--s-2);
}

.contact-hero {
    padding-block: var(--band) var(--s-6);
}

.contact-hero .band-invert__lead {
    max-width: 56ch;
    margin-top: var(--s-4);
    font-size: 1.1875rem;
}

.policy-hero .band-invert__title {
    font-size: clamp(2.25rem, 4.6vw, 4.75rem);
    line-height: .98;
    color: var(--page);
}

.contact-page {
    padding-block: 3rem;
}

.contact-form-title {
    margin-bottom: var(--s-5);
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.15;
}

.contact-message .marker {
    font-size: .6875rem;
    margin-bottom: var(--s-2);
}

.contact-message .form-label {
    font-family: var(--f-sans);
    font-size: .875rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: normal;
    text-transform: none;
}

.contact-message .form-control {
    background-color: var(--surface);
    border-color: var(--rule-strong);
    font-size: .875rem;
}

.contact-message #submit-request {
    width: 100%;
}

.contact-details > .marker {
    margin-bottom: var(--s-5);
    font-size: .6875rem;
    font-weight: 400;
}

.contact-methods > div {
    border-bottom: 1px solid var(--rule);
    position: relative;
    padding: 0 0 16px 56px;
    margin-bottom: 24px;
}

.contact-method-icon {
    display: grid;
    place-items: center;
    position: absolute;
    inset: 0 auto auto 0;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--ink);
    color: var(--accent);
}

.contact-methods dt {
    color: var(--ink-muted);
    text-transform: uppercase;
    font-family: var(--f-mono);
    font-size: .6875rem;
    font-weight: 400;
    letter-spacing: .12em;
}

.contact-methods a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    max-width: 100%;
    color: var(--ink);
    overflow-wrap: anywhere;
    text-decoration: none;
    font-size: 1.0625rem;
    font-weight: 600;
}

.contact-details .contact-map {
    margin-block: 24px;
}

.contact-details .contact-map iframe {
    height: 13rem;
}

@media (min-width: 992px) {
    .about-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
        gap: 4rem;
    }

    .about-brand-grid {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
        gap: clamp(var(--s-6), 4vw, 3.5rem);
    }
}

@media (max-width: 767.98px) {
    .about-introduction,
    .about-directory,
    .about-disclaimer,
    .contact-page {
        padding-block: var(--s-7);
    }

    .about-hero .storefront-facts {
        margin-top: var(--s-6);
    }
}

.about-hero__location {
    color: var(--accent-on-dark);
}

.contact-location-row {
    position: relative;
    padding: 0 0 var(--s-4) 3.5rem;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--rule);
}

.contact-location-row .marker {
    margin-bottom: var(--s-2);
    font-size: .6875rem;
    font-weight: 400;
}

.contact-location-row p {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 600;
}

.contact-location-row:last-child {
    margin-bottom: 0;
}

.contact-layout.contact-layout--form-only {
    grid-template-areas: "message";
    grid-template-columns: minmax(0, 1fr);
    max-width: 48rem;
    margin-inline: auto;
}
