/* ============================================================================
   LS FABRICATION — WOOCOMMERCE
   Shop archive, single product, cart, checkout, account.
   Everything here consumes tokens from style.css and components from
   components.css. No color literals below this line.
   ========================================================================= */

/* ============================================================================
   1. SHOP ARCHIVE
   ========================================================================= */

.woocommerce ul.products {
    display: grid;
    gap: var(--ls-space-6) var(--ls-space-5);
    margin: 0;
    padding: 0;
    list-style: none;
}
.woocommerce ul.products:before,
.woocommerce ul.products:after { display: none; }

/* Divi sets product columns with percentage widths and margins. A grid gives
   equal-height cards without the flex gymnastics the old overrides needed. */
body.product-columns-4 ul.products { grid-template-columns: repeat(4, 1fr); }
body.product-columns-3 ul.products { grid-template-columns: repeat(3, 1fr); }

.woocommerce ul.products li.product,
.et-db #et-boc .et-l .woocommerce ul.products li.product {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
    float: none;
    background-color: var(--ls-surface-1);
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-lg);
    overflow: hidden;
    transition: border-color var(--ls-transition), transform var(--ls-transition);
}
.woocommerce ul.products li.product:hover { border-color: var(--ls-hairline-strong); }

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
}

/* Divi wraps the loop image in .et_shop_image and hangs a hover overlay off
   it. The overlay ("Shop Now" pill, or the magnifier it was overridden to)
   is not generated by this theme at all, so there is nothing to hide. */
.woocommerce ul.products li.product .et_shop_image {
    position: relative;
    margin: 0 0 var(--ls-space-4);
    border: none;
    border-bottom: var(--ls-card-line-h) solid transparent;
    /* --ls-gradient-steel, deliberately neutral. This line sits 6px above the
       red SELECT OPTIONS button; anything with colour in it competes with the
       CTA for the same glance, which is what both the purple->cyan brand
       gradient and the red->coral UI one did here. Grey lets the product
       photo and the button carry the card. Sep 7 2026. */
    border-image: var(--ls-gradient-steel) 1;
    overflow: hidden;
}
.woocommerce ul.products li.product img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
    flex-grow: 1;
    margin: 0;
    padding: 0 var(--ls-space-4) var(--ls-space-3);
    font-family: var(--ls-font-display);
    font-size: var(--ls-h4);
    font-weight: 600;
    line-height: var(--ls-leading-h4);
    color: var(--ls-text);
}

/* Title clamp, Sep 7 2026. Three lines, not two: measured against the live
   catalogue, 453 of 513 titles already fit in two, 57 need three and 3 need
   four. Clamping at two would have cut 60 products mid-title, and the part
   that falls off the end is the fitment ("- 67-72 GMC Chevy C10 Truck"), which
   is exactly what tells two similar parts apart on an archive. Three caps the
   worst case at a cost of 3 products.

   The clamp sits on the inner span, not the <h2>: the heading is a flex item
   of the card link and Chrome blockifies a flex item's display, so
   -webkit-box on the heading computes to flow-root and nothing clamps.
   lsfab_loop_product_title() emits the span. */
.woocommerce ul.products li.product .woocommerce-loop-product__title .lsfab-loop-title__text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

body .woocommerce ul.products li.product .price {
    display: block;
    padding: 0 var(--ls-space-4);
    margin: 0 0 var(--ls-space-3);
    font-family: var(--ls-font-body);
    font-size: var(--ls-price-card);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
    color: var(--ls-text);
}
.woocommerce ul.products li.product .price del {
    margin-right: var(--ls-space-2);
    color: var(--ls-text-ghost);
    font-weight: 400;
}
.woocommerce ul.products li.product .price ins {
    background: none;
    color: var(--ls-text);
    text-decoration: none;
}

/* CARD METADATA, Sep 7 2026.
   Two text lines came off the card in this pass: ".lsfab-loop-versions"
   ("N options available", redundant beside a button already reading SELECT
   OPTIONS) and ".lsfab-loop-stock" ("In stock", printed on 499 of 513 cards
   and therefore read on none). The availability signal moved onto the image
   as .lsfab-loop-badge below, where it appears only in the two states that
   change a decision. Card order is now title, rating, price, button. */

/* Rating row. The stars alone were unreadable as evidence -- five gold stars
   with no number look the same whether twelve people rated the part or one --
   so the count sits beside them. No reviews, no row: lsfab_loop_rating()
   prints nothing rather than an empty rail. */
.woocommerce ul.products li.product .lsfab-loop-rating {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 var(--ls-space-4);
    margin: 0 0 var(--ls-space-3);
    line-height: 1;
}
/* Beats the !important margin on .star-rating below, which exists to outrank
   Divi and would otherwise put the card inset on the stars a second time. */
.woocommerce ul.products li.product .lsfab-loop-rating .star-rating {
    margin: 0 !important;
    float: none;
}
/* SP-21 -- the 303 products with no reviews.
   They used to print no row at all, which lifted the price and the button on
   those cards ~28px above the reviewed card beside them: in a row of four,
   two button heights. This is a spacer of exactly the row's height (stars are
   0.875em of the card's 16px = 14px, line-height 1) plus the row's own 12px
   bottom margin, which the rule above already supplies. Nothing is drawn and
   nothing is announced -- the point is alignment, not a "no reviews yet"
   label on 60% of the catalogue. */
.woocommerce ul.products li.product .lsfab-loop-rating--empty {
    height: 14px;
}

.woocommerce ul.products li.product .lsfab-loop-rating__count {
    font-family: var(--ls-font-body);
    font-size: var(--ls-caption);
    font-weight: 400;
    line-height: 1;
    color: var(--ls-text-soft);
}

/* AVAILABILITY BADGE, on the image rather than under the title.
   Rendered by lsfab_loop_stock_badge_html() and spliced into .et_shop_image,
   which is already position:relative and overflow:hidden, so the badge needs
   no positioned ancestor of its own. .lsfab-loop-media is the fallback
   wrapper for a grid where Divi did not wrap the thumbnail. */
.woocommerce ul.products li.product .lsfab-loop-media {
    position: relative;
    display: block;
}
.woocommerce ul.products li.product .lsfab-loop-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 3;
    display: inline-block;
    padding: 5px 10px;
    border-radius: var(--ls-radius-pill);
    background: rgba(0, 0, 0, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-family: var(--ls-font-body);
    font-size: var(--ls-caption);
    font-weight: 600;
    line-height: 1;
    letter-spacing: var(--ls-tracking-eyebrow);
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
    pointer-events: none;
}
/* Sold out is a hard stop, so it takes the fill rather than a hairline.
   --ls-red-btn is the AA-safe red (white on #E00038 is 4.97:1). Red INK on
   the translucent pill would have been fine over a black photo and 2.9:1
   over a light one, and product shots here are both. */
.woocommerce ul.products li.product .lsfab-loop-badge--out {
    background: var(--ls-red-btn);
    border-color: var(--ls-red-btn);
}

/* SP-17 -- the "From:" label on a variable product's card price.
   The number is the thing being read; the label only qualifies it, so it is
   set a size down, at body weight, in the soft ink -- loud enough to change
   what "$299.99" means, quiet enough that a row of cards still scans as a
   column of prices. Without this it inherits the price's 1.375rem/700 and the
   word competes with the figure beside it. */
.woocommerce ul.products li.product .price .lsfab-loop-price__from {
    font-family: var(--ls-font-body);
    font-size: var(--ls-small);
    font-weight: 400;
    letter-spacing: 0;
    color: var(--ls-text-soft);
}

/* SP-18 -- "Fits your 1970 Chevy C10", top-left, added by js/archive-ux.js
   from the saved garage vehicle. TOP left, because the availability badge owns
   the bottom left and the two can appear on the same card. Green because it is
   the only unambiguously good news on a card: red is the sold-out badge and
   the buttons, so green cannot be confused with either. It inherits the base
   badge rule above, so it is the same pill, the same type, and equally
   click-through. */
.woocommerce ul.products li.product .lsfab-loop-badge--fits {
    top: 10px;
    bottom: auto;
    max-width: calc(100% - 20px);
    overflow: hidden;
    text-overflow: ellipsis;
    background: var(--ls-green-btn);
    border-color: var(--ls-green-btn);
}

/* Divi's style-static.min.css ships
       .woocommerce .products .star-rating { margin: 4px 0 .3em !important }
   at (0,2,0). Without a matching `!important` the stars lose the card's 16px
   inset and hang off the left edge, tight against the price -- visible on the
   related-products grid of every product page. */
.woocommerce ul.products li.product .star-rating {
    margin: 0 var(--ls-space-4) var(--ls-space-3) !important;
    font-size: 0.875em;
}

.woocommerce ul.products li.product .button {
    margin: 0 var(--ls-space-4) var(--ls-space-4);
    width: calc(100% - (var(--ls-space-4) * 2));
}

/* Out of stock: the card stays legible, the action recedes. */

@media (max-width: 980px) {
    body.product-columns-4 ul.products,
    body.product-columns-3 ul.products { grid-template-columns: repeat(2, 1fr); }
}

/* Divi prints per-breakpoint product widths into an inline <style> block using
   `!important` and a `:nth-child(n)` specificity bump, e.g.
       .woocommerce-page ul.products li.product:nth-child(n) { width: 28.333% !important }
   Those percentages are sized for its float layout and collapse the items to a
   fraction of their track once the list is a grid. Reclaiming the width has to
   happen at matching weight — hence the mirrored :nth-child(n) and !important.
   This is the only place in the theme that needs them. */
body.product-columns-4 ul.products li.product:nth-child(n),
body.product-columns-3 ul.products li.product:nth-child(n) {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
}

/* ============================================================================
   2. SINGLE PRODUCT
   ========================================================================= */

.woocommerce div.product .product_title { margin-bottom: var(--ls-space-3); }

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    margin-bottom: var(--ls-space-5);
    font-family: var(--ls-font-body);
    font-size: var(--ls-price-product);
    font-weight: 700;
    color: var(--ls-text);
    line-height: 1;
}

.woocommerce div.product form.cart { margin-bottom: var(--ls-space-6); }

.woocommerce div.product form.cart .variations {
    width: 100%;
    margin-bottom: var(--ls-space-4);
    border: none;
    background: none;
}
.woocommerce div.product form.cart .variations tr { border: none; }
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td {
    display: block;
    width: 100%;
    padding: 0 0 var(--ls-space-3);
    background: none;
    border: none;
}
.woocommerce div.product form.cart .variations th.label label {
    margin-bottom: var(--ls-space-2);
    font-family: var(--ls-font-body);
    font-size: var(--ls-micro);
    font-weight: 400;
    letter-spacing: var(--ls-tracking-eyebrow);
    text-transform: uppercase;
    color: var(--ls-text-faint);
}

/* ---------------------------------------------------------------------------
   PRODUCT TABS
   Markup comes from inc/lsfab-product-tabs.php via [ls_product_tabs]. It
   replaced Divi's et_pb_wc_tabs module on 2026-09-04, which is why nothing
   here doubles a class any more: there is no Divi tab chrome left to outweigh.

   Two controls exist for every panel at all times - a strip button and an
   accordion header. Which one is visible is decided here, at 767px, and
   js/product-tabs.js keeps their state in sync.

   The rhythm block below is the reason this section exists at all. Divi's
   reset zeroes the margins on headings, lists and tables inside a module, so
   product descriptions rendered with h4 sitting flush against the ul under it
   and the ul flush against the paragraph after that - measured 0px, while
   paragraphs alone kept 16px. Descriptions are author-written and use h3, h4
   and h5 interchangeably across the catalogue, so the rhythm has to come from
   the container, not from the copy.
   ------------------------------------------------------------------------ */

/* The component is a bounded block again (2026-09-07). Losing the box with
   the rail left the section reading as loose copy on the page rather than as
   one thing; the border is back, but around the WHOLE component - rail and
   panel inside one card - instead of the old arrangement where the tabs sat
   outside a box that started under them. */
.ls-tabs {
    margin: 0 0 var(--ls-space-7);
    background-color: var(--ls-surface-2);
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-lg);
}

/* --- the tab bar ---------------------------------------------------------
   2026-09-07, third pass. It was folder tabs with a solid purple active slab;
   then an underline rail with no fills, which was cleaner but [stated] Tay:
   "I want these to still be obvious tabs ... make it obviously a tab setup" —
   a row of labels over a hairline reads as a heading row, not as a control.

   So it is a real tab bar again, built on the one thing that makes tabs read
   as tabs: THE ACTIVE TAB IS THE SAME SURFACE AS THE PANEL AND THE INACTIVE
   ONES ARE NOT. The strip sits on --ls-surface-2, the active tab takes the
   panel's --ls-surface-1 and covers the strip's bottom hairline with a 1px
   patch, so it merges into the content below it and the others stay a step
   back. Hairline dividers separate the segments, and the brand gradient is a
   2px cap across the top of the active one.

   The purple slab is not coming back: the marker is 2px of gradient, not 62px
   of fill, so the red Add to cart is still the loudest thing on the page.
   ------------------------------------------------------------------------ */

.ls-tabs .ls-tabs__strip {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: transparent;
    border-bottom: 1px solid var(--ls-hairline);
    border-radius: 7px 7px 0 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.ls-tabs .ls-tabs__strip::-webkit-scrollbar {
    display: none;
}

.ls-tabs .ls-tabs__tab {
    position: relative;
    display: grid;
    align-content: center;
    gap: 3px;
    min-height: 56px;
    margin: 0;
    padding: 0 var(--ls-space-5);
    background-color: transparent;
    border: 0;
    border-right: 1px solid var(--ls-hairline-faint);
    border-radius: 0;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
    font-family: var(--ls-font-display);
    transition: background-color var(--ls-transition);
}

.ls-tabs .ls-tabs__tab:first-child {
    border-top-left-radius: 7px;
}

/* No divider after the last tab — the strip runs on past it to the card's
   edge, and a rule hanging in that empty run reads as a fifth, empty tab. */
.ls-tabs .ls-tabs__tab:last-child {
    border-right: 0;
}

/* Set like the product price — same face, same weight, sentence case; only the
   size and the tracking differ. Barlow Condensed is narrow, so title case at
   18px reads tight at the price's 0.2px. 0.02em opens the word shapes without
   reading as a tracked-out label; uppercase would want 4-6x this. */
.ls-tabs .ls-tabs__tab-label {
    font-size: var(--ls-nav);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ls-text-soft);
    transition: color var(--ls-transition);
}

/* min-height keeps a tab with no sub-line on the same baseline as one that
   has it, without printing a placeholder word. */
.ls-tabs .ls-tabs__tab-meta {
    min-height: 16px;
    font-family: var(--ls-font-body);
    font-size: var(--ls-micro);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: var(--ls-tracking-eyebrow);
    text-transform: uppercase;
    color: var(--ls-text-faint);
    transition: color var(--ls-transition);
}

.ls-tabs .ls-tabs__tab:hover:not(.is-active) {
    background-color: var(--ls-surface-raised);
}

.ls-tabs .ls-tabs__tab:hover .ls-tabs__tab-label {
    color: var(--ls-text);
}

/* The selected tab IS the panel's surface. */
.ls-tabs .ls-tabs__tab.is-active {
    background-color: var(--ls-surface-1);
}

.ls-tabs .ls-tabs__tab.is-active .ls-tabs__tab-label {
    color: var(--ls-text);
}

.ls-tabs .ls-tabs__tab.is-active .ls-tabs__tab-meta {
    color: var(--ls-cyan);
}

/* The 2px brand marker sits along the BOTTOM of the selected tab.

   [stated] Tay: "put the border gradient at the bottom instead so it isnt cut
   off" — on top it ran into the strip's 7px corner radius on the first tab and
   lost its left end. At the bottom it has a straight edge to sit on for every
   tab in the row.

   At bottom:-1px it also covers the strip's own hairline underneath the tab,
   which is the job the separate 1px surface patch used to do — so there is no
   line between the selected tab and the panel, only the gradient. */
.ls-tabs .ls-tabs__tab.is-active::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background-image: var(--ls-gradient-brand);
}

.ls-tabs .ls-tabs__tab:focus-visible {
    outline: none;
    box-shadow: var(--ls-focus-ring);
}

/* --- the panels --------------------------------------------------------- */

/* The frame is the lighter surface and the content well inside it is the
   darker one (2026-09-07) — [stated] Tay wanted the outside of the box lighter
   and the inside darker, after the artifact mockup. The selected tab still
   takes the WELL's colour, so it reads as a hole cut in the lighter bar. */
.ls-tabs .ls-tabs__panels {
    background-color: var(--ls-surface-1);
    border: 0;
    border-radius: 0 0 7px 7px;
}

/* Divi's reset carries `article, aside, footer, header, hgroup, nav, section
   { display: block }`. An author rule beats the user-agent's
   `[hidden] { display: none }`, so the hidden attribute on a <section> did
   nothing and every panel rendered at once - all four tabs' content stacked
   down the page, on desktop and phone alike. Restate it. */
.ls-tabs .ls-tabs__panel[hidden] {
    display: none !important;
}

.ls-tabs .ls-tabs__acc {
    display: none;
}

.ls-tabs .ls-tabs__panel {
    padding: var(--ls-space-6);
    font-family: var(--ls-font-body);
    font-size: var(--ls-body);
    line-height: var(--ls-leading-body);
    color: var(--ls-text-muted);
}

/* NO max-width on the panel copy. A measure was added when the panel had no
   box; with the card back it left a 1,140px card holding a 720px column and
   ~420px of empty card beside it, which is what a reader notices first. The
   card's own 30px padding is the only inset the copy gets. */

.ls-tabs .ls-tabs__panel:focus-visible {
    outline: none;
    box-shadow: var(--ls-focus-ring);
    border-radius: var(--ls-radius-md);
}

/* --- content rhythm ------------------------------------------------------
   One scale for author-written copy, whatever heading level it happens to
   use. Space above a heading is larger than the space below it so a heading
   binds to the block it introduces rather than floating between two. */

.ls-tabs .ls-tabs__panel h1,
.ls-tabs .ls-tabs__panel h2,
.ls-tabs .ls-tabs__panel h3,
.ls-tabs .ls-tabs__panel h4,
.ls-tabs .ls-tabs__panel h5,
.ls-tabs .ls-tabs__panel h6 {
    margin: var(--ls-space-6) 0 var(--ls-space-3);
    font-family: var(--ls-font-display);
    font-weight: 700;
    line-height: var(--ls-leading-snug);
    color: var(--ls-text);
}

/* Descriptions run h3/h4/h5 more or less at random across the catalogue.
   Flatten the two smallest to one size so a section header is the same
   weight on every product page. */
.ls-tabs .ls-tabs__panel h2 { font-size: var(--ls-h3); }
.ls-tabs .ls-tabs__panel h3,
.ls-tabs .ls-tabs__panel h4,
.ls-tabs .ls-tabs__panel h5,
.ls-tabs .ls-tabs__panel h6 { font-size: var(--ls-h4); font-weight: 600; }

.ls-tabs .ls-tabs__panel p,
.ls-tabs .ls-tabs__panel ul,
.ls-tabs .ls-tabs__panel ol,
.ls-tabs .ls-tabs__panel table,
.ls-tabs .ls-tabs__panel blockquote {
    margin: 0 0 var(--ls-space-4);
}

/* Divi ships bare `p { padding-bottom: 1em }`, `h1-h6 { padding-bottom: 10px }`
   and `ul,ol { padding-bottom: 23px }`. Left alone each stacks on top of the
   margin above it, so two paragraphs sat 32px apart, a list ended 39px above
   whatever followed, and a heading sat 22px above its own list - the single
   biggest reason these panels read as unevenly spaced. Margin owns the rhythm
   here; every one of those paddings is zeroed. Measured before: gaps of
   12/22/30/32/39px in one description. After: 12 under a heading, 16 between
   blocks, 30 above a heading. */
.ls-tabs .ls-tabs__panel p,
.ls-tabs .ls-tabs__panel ul,
.ls-tabs .ls-tabs__panel ol,
.ls-tabs .ls-tabs__panel h1,
.ls-tabs .ls-tabs__panel h2,
.ls-tabs .ls-tabs__panel h3,
.ls-tabs .ls-tabs__panel h4,
.ls-tabs .ls-tabs__panel h5,
.ls-tabs .ls-tabs__panel h6 {
    padding-bottom: 0;
}

/* Divi's global `li { list-style: none }` outranks a list-style set on the ul,
   so the marker has to be named on the item itself. */
.ls-tabs .ls-tabs__panel ul > li {
    list-style: disc outside;
}

.ls-tabs .ls-tabs__panel ol > li {
    list-style: decimal outside;
}

.ls-tabs .ls-tabs__panel ul,
.ls-tabs .ls-tabs__panel ol {
    padding-left: 1.35em;
    list-style: disc outside;
}

.ls-tabs .ls-tabs__panel ol {
    list-style: decimal outside;
}

.ls-tabs .ls-tabs__panel li {
    margin: 0 0 var(--ls-space-2);
}

.ls-tabs .ls-tabs__panel li:last-child {
    margin-bottom: 0;
}

.ls-tabs .ls-tabs__panel img,
.ls-tabs .ls-tabs__panel iframe {
    display: block;
    max-width: 100%;
    margin: var(--ls-space-5) 0;
    border-radius: var(--ls-radius-lg);
}

.ls-tabs .ls-tabs__panel > *:first-child {
    margin-top: 0;
}

.ls-tabs .ls-tabs__panel > *:last-child {
    margin-bottom: 0;
}

.ls-tabs .ls-tabs__panel a {
    color: var(--ls-red);
}

.ls-tabs .ls-tabs__panel a:hover {
    color: var(--ls-red-hover);
}

/* Woo prints its own "Additional information" / "Reviews" heading inside a
   panel. The tab already says so. */
/* 2026-09-07 (SEO-02): .ls-tabs__panel-head is the section H2 each panel now
   opens with. It is hidden on screen because the tab strip already prints the
   same word, and it is named explicitly here rather than relying on
   :first-child, which a third-party tab could displace. */
.ls-tabs .ls-tabs__panel > .ls-tabs__panel-head,
.ls-tabs .ls-tabs__panel > h2:first-child,
.ls-tabs .ls-tabs__panel > .woocommerce-Reviews-title {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

/* --- fitment ------------------------------------------------------------ */

.ls-fitment {
    margin-bottom: var(--ls-space-6);
    padding: var(--ls-space-5);
    background-color: var(--ls-surface-2);
    border: 1px solid var(--ls-hairline-faint);
    border-radius: var(--ls-radius-lg);
}

.ls-tabs .ls-tabs__panel .ls-fitment__head {
    margin: 0 0 var(--ls-space-2);
    font-size: var(--ls-h4);
}

.ls-fitment__years {
    margin: 0 0 var(--ls-space-4);
    font-family: var(--ls-font-display);
    font-size: var(--ls-h2);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
    color: var(--ls-red);
}

.ls-fitment__row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--ls-space-2) var(--ls-space-3);
    padding: var(--ls-space-3) 0;
    border-top: 1px solid var(--ls-hairline-faint);
}

.ls-fitment__row .ls-eyebrow {
    flex: 0 0 64px;
    padding-top: 3px;
}

.ls-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ls-space-2);
}

.ls-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 var(--ls-space-3);
    background-color: var(--ls-surface-raised);
    border: 1px solid var(--ls-hairline-faint);
    border-radius: var(--ls-radius-pill);
    font-family: var(--ls-font-body);
    font-size: var(--ls-small);
    font-weight: 500;
    line-height: 1;
    color: var(--ls-text) !important;
    transition: border-color var(--ls-transition), background-color var(--ls-transition);
}

a.ls-chip:hover {
    background-color: var(--ls-purple);
    border-color: var(--ls-purple);
}

.ls-tabs .ls-tabs__panel .ls-fitment__note {
    margin: var(--ls-space-4) 0 0;
    padding-top: var(--ls-space-3);
    border-top: 1px solid var(--ls-hairline-faint);
    font-size: var(--ls-small);
    color: var(--ls-text-soft);
}

/* --- specs -------------------------------------------------------------- */

.ls-tabs .ls-tabs__panel .ls-specs__head {
    margin: 0 0 var(--ls-space-3);
    font-size: var(--ls-h4);
}

.ls-specs__list {
    margin: 0;
    border: 1px solid var(--ls-hairline-faint);
    border-radius: var(--ls-radius-md);
    overflow: hidden;
}

.ls-specs__row {
    display: grid;
    grid-template-columns: minmax(140px, 30%) 1fr;
    gap: 0;
    border-bottom: 1px solid var(--ls-hairline-faint);
}

.ls-specs__row:last-child {
    border-bottom: 0;
}

.ls-specs__list dt,
.ls-specs__list dd {
    margin: 0;
    padding: var(--ls-space-3) var(--ls-space-4);
}

.ls-specs__list dt {
    background-color: var(--ls-surface-2);
    font-family: var(--ls-font-body);
    font-size: var(--ls-small);
    font-weight: 600;
    letter-spacing: var(--ls-tracking-eyebrow);
    text-transform: uppercase;
    color: var(--ls-text-faint);
}

.ls-specs__list dd {
    color: var(--ls-text);
}

/* --- installation ------------------------------------------------------- */

.ls-install__video {
    margin: var(--ls-space-5) 0;
}

.ls-video {
    position: relative;
    display: block;
    width: 100%;
    max-width: 640px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: var(--ls-radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.ls-tabs .ls-tabs__panel .ls-video img {
    display: block;
    width: 100%;
    margin: 0;
    border-radius: 0;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.ls-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 68px;
    height: 68px;
    transform: translate(-50%, -50%);
    background-color: var(--ls-red-btn);
    border-radius: 50%;
    transition: transform var(--ls-transition), background-color var(--ls-transition);
}

.ls-video__play:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    border-left: 20px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.ls-video:hover .ls-video__play {
    transform: translate(-50%, -50%) scale(1.08);
    background-color: var(--ls-red-btn-hover);
}

/* Bottom LEFT, not right: YouTube burns its own watermark into the bottom
   right of every hqdefault thumbnail, and the two labels sat on top of one
   another. */
.ls-video__label {
    position: absolute;
    left: var(--ls-space-3);
    bottom: var(--ls-space-3);
    padding: 6px var(--ls-space-3);
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: var(--ls-radius-sm);
    font-family: var(--ls-font-display);
    font-size: var(--ls-small);
    font-weight: 600;
    letter-spacing: var(--ls-tracking-button);
    text-transform: uppercase;
    color: var(--ls-text);
}

.ls-video:focus-visible {
    outline: none;
    box-shadow: var(--ls-focus-ring);
}

.ls-tabs .ls-tabs__panel .ls-install__video iframe {
    width: 100%;
    max-width: 640px;
    aspect-ratio: 16 / 9;
    margin: 0;
    border: 0;
}

/* --- Installation guide card ---------------------------------------------
   Carries the brand red on purpose. It is the only link in the tab that goes
   somewhere else, and it is what a buyer looks for once they have decided to
   buy, so it gets a tinted ground, a red hairline, a solid red icon chip and
   an arrow that slides on hover.

   This treatment came off the .lsfab-guide-card that used to sit in the
   summary column beside add-to-cart (retired 2026-09-04, see
   inc/lsfab-install-guides.php). Keep the two in step if that one ever
   returns; do not quieten this back down to surface-2.

   min-height, not height: a guide title that wraps to two lines still grows
   the card.
   ---------------------------------------------------------------------- */

.ls-install__guide {
    display: flex;
    position: relative;
    align-items: center;
    gap: var(--ls-space-3);
    min-height: 80px;
    margin-top: var(--ls-space-5);
    padding: var(--ls-space-3) var(--ls-space-4);
    background-color: rgba(255, 0, 68, 0.09);
    border: 1px solid rgba(255, 0, 68, 0.42);
    border-radius: var(--ls-radius-lg);
    color: var(--ls-text) !important;
    text-decoration: none !important;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.ls-install__guide:hover,
.ls-install__guide:focus-visible {
    background-color: rgba(255, 0, 68, 0.16);
    border-color: var(--ls-red);
}

.ls-install__guide:focus-visible {
    outline: none;
    box-shadow: var(--ls-focus-ring);
}

/* Solid red chip, not the pale wash the informational cards use. */
.ls-install__guide-icon {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: var(--ls-red-btn);
    border-radius: var(--ls-radius-lg);
    font-size: 20px;
    line-height: 1;
    color: #fff;
}

.ls-install__guide-text {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

/* "Installation Guide" is the label, the post title is the payload: the label
   drops to a small uppercase eyebrow so the guide name carries the card. */
.ls-install__guide-text strong {
    display: block;
    font-family: var(--ls-font-body);
    font-size: var(--ls-micro);
    font-weight: 600;
    letter-spacing: var(--ls-tracking-eyebrow);
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--ls-red);
}

.ls-install__guide-text span {
    display: block;
    font-size: var(--ls-body);
    font-weight: 600;
    line-height: var(--ls-leading-snug);
    color: var(--ls-text);
}

.ls-install__guide-go {
    flex: 0 0 auto;
    margin-left: auto;
    padding-left: var(--ls-space-3);
    font-size: 14px;
    line-height: 1;
    color: var(--ls-red);
    transition: transform 0.15s ease, color 0.15s ease;
}

.ls-install__guide:hover .ls-install__guide-go,
.ls-install__guide:focus-visible .ls-install__guide-go {
    transform: translateX(3px);
    color: var(--ls-coral);
}

/* --- the gas spring calculator card -------------------------------------

   Same card as the install guide above it, in the neutral treatment. The tab
   should carry ONE red card - the guide - so a second red block does not
   compete with it for the same eye. The chip keeps the red glyph so the two
   still read as a set.
   ---------------------------------------------------------------------- */

.ls-install__guide.ls-install__tool {
    background-color: var(--ls-surface-2);
    border-color: var(--ls-hairline);
}

.ls-install__guide.ls-install__tool:hover,
.ls-install__guide.ls-install__tool:focus-visible {
    background-color: var(--ls-surface-raised);
    border-color: var(--ls-hairline-strong);
}

.ls-install__tool .ls-install__guide-icon {
    background-color: rgba(255, 0, 68, 0.12);
    color: var(--ls-red);
}

/* --- tablet ------------------------------------------------------------- */

@media (max-width: 980px) {
    .ls-tabs .ls-tabs__tab {
        min-height: 52px;
        padding: 0 var(--ls-space-4);
    }
    .ls-tabs .ls-tabs__panel {
        padding: var(--ls-space-5);
    }
}

/* --- phone: accordion ----------------------------------------------------
   The strip stops being a good control before it stops fitting: three
   full-width stacked pills above a panel put the panel's first line most of a
   screen below the tab that opened it. Each panel carries its own header
   instead, so the label a person tapped stays next to what it revealed.

   2026-09-07: the header used to fill solid --ls-purple when open, which put
   the loudest colour on the page into a control that only says which section
   you are in. It now speaks the rail's language - the open section is marked
   by the same 2px gradient rule under its header and a white label - and the
   cards are gone, so the sections read as one list rather than four boxes.
   ------------------------------------------------------------------------ */

@media (max-width: 767px) {
    .ls-tabs .ls-tabs__strip {
        display: none;
    }

    /* Headers sit on the lighter frame, each open section's content on the
       darker well — the same relationship the desktop bar and panel have. */
    .ls-tabs .ls-tabs__panels {
        display: flex;
        flex-direction: column;
        gap: 0;
        background-color: transparent;
        border: 0;
        border-radius: 0;
    }

    .ls-tabs .ls-tabs__panel {
        background-color: var(--ls-surface-1);
    }

    .ls-tabs .ls-tabs__item:last-child .ls-tabs__panel {
        border-radius: 0 0 7px 7px;
    }

    /* Rows of the one card, not four cards: the container draws the outside
       edge and each item only draws the rule under itself. The last one drops
       it so it does not double with the container's own bottom border. */
    .ls-tabs .ls-tabs__item {
        background-color: transparent;
        border: 0;
        border-bottom: 1px solid var(--ls-hairline-faint);
        border-radius: 0;
        overflow: visible;
    }

    .ls-tabs .ls-tabs__item:last-child {
        border-bottom: 0;
    }

    .ls-tabs .ls-tabs__acc {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--ls-space-3);
        width: 100%;
        min-height: 52px;
        margin: 0;
        padding: var(--ls-space-3) var(--ls-space-4);
        background-color: transparent;
        border: 0;
        text-align: left;
        cursor: pointer;
        font-family: var(--ls-font-display);
        color: var(--ls-text-soft);
        transition: color var(--ls-transition);
    }

    .ls-tabs .ls-tabs__acc-text {
        display: grid;
        gap: 3px;
        min-width: 0;
    }

    /* The label inherits from the button rather than setting its own colour,
       so the open state is one declaration on the element the script actually
       changes. A descendant selector off the item was not reliably restyling
       the second section opened. */
    .ls-tabs .ls-tabs__acc-label {
        font-size: var(--ls-nav);
        font-weight: 700;
        line-height: 1.15;
        letter-spacing: 0;
        text-transform: none;
        color: inherit;
    }

    .ls-tabs .ls-tabs__acc-meta {
        font-family: var(--ls-font-body);
        font-size: var(--ls-micro);
        font-weight: 600;
        line-height: 1.3;
        letter-spacing: var(--ls-tracking-eyebrow);
        text-transform: uppercase;
        color: var(--ls-text-ghost);
        transition: color var(--ls-transition);
    }

    /* Same marker as the desktop rail, drawn between the header and what it
       opened rather than under a tab. */
    .ls-tabs .ls-tabs__acc::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        height: 2px;
        border-radius: 2px;
        background-image: var(--ls-gradient-brand);
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Keyed on the is-active CLASS that setOpen() writes on the item, not on
       the aria-expanded attribute it writes on the button. Both are accurate,
       but an attribute selector flipped by script did not restyle reliably
       here — the second section opened with the right aria-expanded and the
       old colours, repeatably. The class does restyle. Style state off the
       class; keep the attribute for assistive tech. */
    .ls-tabs .ls-tabs__item.is-active .ls-tabs__acc,
    .ls-tabs .ls-tabs__acc[aria-expanded="true"] {
        color: var(--ls-text);
    }

    .ls-tabs .ls-tabs__item.is-active .ls-tabs__acc::after,
    .ls-tabs .ls-tabs__acc[aria-expanded="true"]::after {
        transform: scaleX(1);
    }

    .ls-tabs .ls-tabs__item.is-active .ls-tabs__acc .ls-tabs__acc-meta,
    .ls-tabs .ls-tabs__acc[aria-expanded="true"] .ls-tabs__acc-meta {
        color: var(--ls-cyan);
    }

    .ls-tabs .ls-tabs__acc:focus-visible {
        outline: none;
        border-radius: var(--ls-radius-sm);
        box-shadow: var(--ls-focus-ring);
    }

    /* Chevron drawn from borders rather than an icon font: this block has to
       render correctly before Font Awesome has loaded. */
    .ls-tabs .ls-tabs__acc-icon {
        flex: 0 0 10px;
        width: 10px;
        height: 10px;
        margin-right: 4px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        color: var(--ls-text-faint);
        transform: translateY(-3px) rotate(45deg);
        transition: transform var(--ls-transition), color var(--ls-transition);
    }

    .ls-tabs .ls-tabs__acc[aria-expanded="true"] .ls-tabs__acc-icon {
        color: var(--ls-text);
        transform: translateY(2px) rotate(225deg);
    }

    .ls-tabs .ls-tabs__panel {
        padding: var(--ls-space-2) var(--ls-space-4) var(--ls-space-5);
    }

    .ls-tabs .ls-tabs__panel:focus-visible {
        border-radius: var(--ls-radius-sm);
    }

    .ls-fitment {
        padding: var(--ls-space-4);
    }

    .ls-fitment__row {
        flex-direction: column;
        gap: var(--ls-space-2);
    }

    .ls-fitment__row .ls-eyebrow {
        flex: 0 0 auto;
        padding-top: 0;
    }

    .ls-specs__row {
        grid-template-columns: 1fr;
    }

    .ls-specs__list dt {
        padding-bottom: 0;
        background-color: transparent;
    }

    .ls-specs__list dd {
        padding-top: 4px;
    }

    .ls-specs__row {
        background-color: var(--ls-surface-2);
    }

    .ls-install__guide {
        align-items: flex-start;
    }
}

/* ---------------------------------------------------------------------------
   PRODUCT SUMMARY COLUMN
   The right-hand column beside the gallery: title, rating, price, add to cart,
   feature cards. Every module in it is spaced by Divi, and Divi's answer was
   not one answer - measured 18px between most modules, 26px under the star
   rating and a -4px pull on the price block, which is what makes the column
   look hand-nudged rather than laid out.

   One value for the whole column, from the space scale. The class is set on
   the column in body layouts 604711 and 605296.
   ------------------------------------------------------------------------ */

/* Divi's gutter sheet sets `.et_pb_gutters2 .et_pb_column_1_2 .et_pb_module
   { margin-bottom: 3.093% }` - a PERCENTAGE of the column. So the gap between
   the price and the add-to-cart form is a different number of pixels at every
   viewport, and never the same number as the gaps anywhere else on the page.
   That is the root of the "inconsistent spacing" on this column. Specificity
   there is (0,3,0) and it lives in a media query, so this restates the value
   with !important rather than trying to out-specify a moving target.

   The selector is `> *` rather than `> .et_pb_module` on purpose: plugins drop
   their own blocks into this column (the fitment pill sits between the price
   and the add-to-cart form and carried a -4px pull), and anything landing here
   should inherit the column's rhythm rather than bring its own.

   The selector doubles up on the column (.et_pb_column.ls-product-summary) to
   reach (0,2,0). Divi's Theme Builder prints per-module design CSS into the
   head AFTER the enqueued sheets - `.et_pb_wc_rating_0_tb_body { margin-bottom:
   1.618em !important }` is one of them - so at equal specificity Divi wins on
   source order even between two !important declarations. */
.et_pb_column.ls-product-summary > * {
    margin-top: 0 !important;
    margin-bottom: var(--ls-space-5) !important;
}

.et_pb_column.ls-product-summary > *:last-child {
    margin-bottom: 0 !important;
}

/* Divi's divider is a 23px-tall SPACER that draws its line across the top of
   the box, so the rule ends up with the gap above it plus 23px of empty box
   below - measured 22px above and 35px below the same hairline. Collapsing the
   box to nothing puts the line on the boundary, with the column's own gap on
   both sides. */
.et_pb_column.ls-product-summary > .et_pb_divider {
    height: 0 !important;
    min-height: 0 !important;
    overflow: visible;
}

.et_pb_column.ls-product-summary > .et_pb_divider .et_pb_divider_internal {
    display: none;
}

/* WooCommerce's own `.woocommerce-product-rating { margin-bottom: 1.618em }`
   sits inside the rating module, which has no padding or border of its own -
   so that margin COLLAPSES THROUGH the module and beats the column's gap from
   the inside. Measured 25.875px under the stars where every other gap was 22.
   A margin set on a module is not always the margin you get; check the module's
   last child too. */
/* !important because WooCommerce's own selector is
   `.woocommerce div.product .woocommerce-product-rating` at (0,3,1). */
.et_pb_column.ls-product-summary .woocommerce-product-rating {
    margin-bottom: 0 !important;
}

/* ============================================================================
   3. QUANTITY STEPPER
   Shared by cart and single product.
   ========================================================================= */

.woocommerce .quantity,
.woocommerce div.product form.cart .quantity {
    display: inline-flex;
    align-items: center;
    background-color: var(--ls-surface-2);
    border: 1px solid var(--ls-hairline-input);
    border-radius: var(--ls-radius-md);
    overflow: hidden;
}
.woocommerce .quantity input.qty,
.woocommerce div.product form.cart .quantity input.qty {
    width: 64px;
    min-height: var(--ls-control-h-sm);
    padding: 0 var(--ls-space-2);
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: var(--ls-text);
    font-family: var(--ls-font-body);
    font-size: var(--ls-body);
    font-weight: 600;
    text-align: center;
    -moz-appearance: textfield;
}
.woocommerce .quantity input.qty::-webkit-outer-spin-button,
.woocommerce .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.woocommerce .quantity input.qty:focus { box-shadow: none; }
.woocommerce .quantity:focus-within {
    border-color: var(--ls-red);
    box-shadow: var(--ls-focus-ring);
}

/* ============================================================================
   4. CART
   ========================================================================= */

/* The cart table becomes a card. Its header row is the only place the eyebrow
   treatment appears at table scale, which is what makes the columns readable
   without heavy rules between them. */
.woocommerce table.shop_table.cart { margin-bottom: var(--ls-space-5); }

.woocommerce table.shop_table.cart td.product-remove { width: 52px; text-align: center; }
.woocommerce table.shop_table.cart td.product-remove a.remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background-color: transparent;
    border: 1px solid var(--ls-hairline);
    border-radius: 50%;
    color: var(--ls-text-faint);
    font-size: 1.125rem;
    line-height: 1;
    transition: background-color var(--ls-transition), border-color var(--ls-transition),
                color var(--ls-transition);
}
.woocommerce table.shop_table.cart td.product-remove a.remove:hover {
    background-color: var(--ls-red-btn);
    border-color: var(--ls-red-btn);
    color: #ffffff;
}

.woocommerce table.shop_table.cart td.product-thumbnail { width: 92px; }
.woocommerce table.shop_table.cart td.product-thumbnail img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--ls-radius-md);
    border: 1px solid var(--ls-hairline-faint);
}

.woocommerce table.shop_table.cart td.product-name a {
    font-family: var(--ls-font-display);
    font-size: var(--ls-h4);
    font-weight: 600;
    color: var(--ls-text);
    line-height: var(--ls-leading-h4);
}
.woocommerce table.shop_table.cart td.product-name a:hover { color: var(--ls-red); }
.woocommerce table.shop_table.cart td.product-name .variation {
    margin: var(--ls-space-1) 0 0;
    font-size: var(--ls-small);
    color: var(--ls-text-soft);
}

.woocommerce table.shop_table.cart td.product-price,
.woocommerce table.shop_table.cart td.product-subtotal {
    font-variant-numeric: tabular-nums;
    color: var(--ls-text);
}
.woocommerce table.shop_table.cart td.product-subtotal { font-weight: 600; }

/* The actions row: coupon on the left, update on the right, on one line.
   The old build stacked them full-width because a global rule forced
   `width: 100%` on every button on the site.

   DO NOT put `display: flex` on this cell. It carries colspan="6", and a
   flex container is no longer a table cell — the colspan is dropped and the
   cell collapses to the width of column 1. That was 327px of a 1200px table:
   the coupon field, a two-line "Apply coupon" and a full-width "Update cart"
   all crushed into one column. Worse, because the cell's content then sized
   column 1, the 52px "remove" column was dragged out to 327px too, which is
   what pushed every product photo and title into the middle of the table.

   The row is laid out with floats instead, which leaves the cell a cell. */
.woocommerce table.shop_table.cart td.actions {
    display: table-cell;
    padding: var(--ls-space-4);
    background-color: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--ls-hairline);
    text-align: right;
    vertical-align: middle;
}
.woocommerce table.shop_table.cart td.actions:after {
    content: "";
    display: table;
    clear: both;
}
.woocommerce table.shop_table.cart td.actions .coupon {
    float: left;
    display: flex;
    align-items: center;
    gap: var(--ls-space-2);
    margin: 0;
    padding: 0;
    border: none;
    width: auto;
}
.woocommerce table.shop_table.cart td.actions .coupon label { display: none; }
.woocommerce table.shop_table.cart td.actions .coupon input#coupon_code {
    width: 190px;
    min-height: var(--ls-btn-h-sm);
    margin: 0;
    float: none;
}
/* Button size and shape come from the component layer (.ls-btn--sm names the
   cart actions row), so nothing about them is restated here. */

/* --- Cart totals --------------------------------------------------------- */
.woocommerce .cart-collaterals .cart_totals {
    position: relative;
    width: 100%;
    padding: var(--ls-space-5);
    background-color: var(--ls-surface-1);
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-lg);
    float: none;
}
.woocommerce .cart-collaterals .cart_totals:before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: var(--ls-card-line-h);
    background-image: var(--ls-gradient-ui);
    border-radius: var(--ls-radius-lg) var(--ls-radius-lg) 0 0;
}
.woocommerce .cart_totals h2 {
    margin: 0 0 var(--ls-space-4);
    font-size: var(--ls-h3);
    font-weight: 600;
    line-height: var(--ls-leading-h3);
}
.woocommerce .cart_totals table.shop_table {
    background: none;
    border: none;
    border-radius: 0;
}
.woocommerce .cart_totals table.shop_table th,
.woocommerce .cart_totals table.shop_table td {
    padding: var(--ls-space-3) 0;
    background: none;
    border-bottom: 1px solid var(--ls-hairline-faint);
    vertical-align: top;
}
.woocommerce .cart_totals table.shop_table th { width: 38%; }
.woocommerce .cart_totals table.shop_table td { text-align: right; color: var(--ls-text); }
.woocommerce .cart_totals table.shop_table tr.order-total th,
.woocommerce .cart_totals table.shop_table tr.order-total td {
    border-bottom: none;
    padding-top: var(--ls-space-4);
}
.woocommerce .cart_totals table.shop_table tr.order-total td .amount {
    font-family: var(--ls-font-body);
    font-size: var(--ls-price-total);
    font-weight: 700;
    color: var(--ls-text);
    line-height: 1.2;
}

/* Shipping choices read as selectable rows, not a bare radio list. */
.woocommerce ul#shipping_method,
.woocommerce-checkout-review-order-table ul#shipping_method {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}
.woocommerce ul#shipping_method li {
    display: flex;
    align-items: flex-start;
    gap: var(--ls-space-2);
    margin: 0 0 var(--ls-space-2);
    padding: var(--ls-space-3);
    background-color: var(--ls-surface-2);
    border: 1px solid var(--ls-hairline-faint);
    border-radius: var(--ls-radius-md);
    font-size: var(--ls-small);
    color: var(--ls-text-muted);
    transition: border-color var(--ls-transition), background-color var(--ls-transition);
}
.woocommerce ul#shipping_method li:hover { border-color: var(--ls-hairline); }
.woocommerce ul#shipping_method li:has(input:checked) {
    border-color: var(--ls-red);
    background-color: rgba(255, 0, 68, 0.06);
}
.woocommerce ul#shipping_method li label { margin: 0; cursor: pointer; }
.woocommerce ul#shipping_method .amount { color: var(--ls-text); font-weight: 600; }

.woocommerce .woocommerce-shipping-destination { margin: var(--ls-space-2) 0 0; font-size: var(--ls-small); color: var(--ls-text-soft); }
.woocommerce .shipping-calculator-button { font-size: var(--ls-small); }

.woocommerce .wc-proceed-to-checkout a.checkout-button { margin-bottom: var(--ls-space-3); }

/* --- Empty cart ---------------------------------------------------------- */
.woocommerce .empty-cart {
    padding: var(--ls-space-8) var(--ls-space-5);
    text-align: center;
}
.woocommerce .empty-cart h1 { margin-bottom: var(--ls-space-3); font-size: var(--ls-h2); }
.woocommerce .empty-cart p { color: var(--ls-text-soft); }

@media (max-width: 980px) {
    .woocommerce table.shop_table.cart td.actions { text-align: left; }
    .woocommerce table.shop_table.cart td.actions .coupon {
        float: none;
        flex-wrap: wrap;
        margin-bottom: var(--ls-space-3);
    }
    .woocommerce table.shop_table.cart td.actions .coupon input#coupon_code { flex: 1 1 auto; width: auto; }
    .woocommerce table.shop_table.cart td.actions .coupon .button,
    .woocommerce table.shop_table.cart td.actions > .button { width: 100%; }
    .woocommerce table.shop_table.cart td.actions > .button { margin-left: 0; }
}

/* --- Commit colour -------------------------------------------------------
   One commit colour for the whole purchase path: Proceed to checkout and
   Place order are both --ls-red. Until 2026-09-04 the cart's two commits were
   green (#059D58) while Place order at the end of the same flow was red, so a
   shopper met a different "yes" colour on consecutive screens.

   Apply coupon and Update cart are utilities, not commits, and both are now
   outline buttons. Apply coupon in particular was the loudest thing in the
   cart table — a filled green block beside a plain field — which made a
   coupon look like the way forward.

   !important is required, not decorative. Section 1 of components.css colours
   buttons through `.et-db #et-boc .et-l .woocommerce a.button`, and an ID
   outranks any number of classes, so a plain rule here loses even though it
   comes later in the cascade. That is also why the outline treatment is
   restated here rather than left to .ls-btn--outline: the component-layer
   rule carries no !important and loses the same tie, which is why Update cart
   has been rendering solid red rather than as the ghost it was written to be. */
.woocommerce .wc-proceed-to-checkout a.checkout-button {
    background-color: var(--ls-red-btn) !important;
    color: #ffffff !important;
}
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce .wc-proceed-to-checkout a.checkout-button:focus {
    background-color: var(--ls-red-btn-hover) !important;
    color: #ffffff !important;
}

.woocommerce table.cart td.actions button[name="apply_coupon"],
.woocommerce table.cart td.actions input[name="apply_coupon"],
.woocommerce table.cart td.actions button[name="update_cart"],
.woocommerce table.cart td.actions input[name="update_cart"] {
    background-color: transparent !important;
    border: 1px solid var(--ls-hairline-strong) !important;
    color: var(--ls-text) !important;
}
.woocommerce table.cart td.actions button[name="apply_coupon"]:hover,
.woocommerce table.cart td.actions button[name="apply_coupon"]:focus,
.woocommerce table.cart td.actions input[name="apply_coupon"]:hover,
.woocommerce table.cart td.actions input[name="apply_coupon"]:focus,
.woocommerce table.cart td.actions button[name="update_cart"]:hover:not(:disabled),
.woocommerce table.cart td.actions button[name="update_cart"]:focus:not(:disabled),
.woocommerce table.cart td.actions input[name="update_cart"]:hover:not(:disabled),
.woocommerce table.cart td.actions input[name="update_cart"]:focus:not(:disabled) {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border-color: var(--ls-hairline-strong) !important;
    color: var(--ls-text) !important;
}
/* The base button group in components.css section 1 carries
   `.et-db #et-boc .et-l .woocommerce button.button { border: 1px solid
   transparent !important }`. That is (1,3,2), and an id beats any number of
   classes, so the outline treatment above computed a 1px TRANSPARENT border —
   the right box, invisible. Repeating Divi's own wrapper is the only way to
   put an id on our side of the comparison. */
.et-db #et-boc .et-l .woocommerce table.cart td.actions button[name="apply_coupon"],
.et-db #et-boc .et-l .woocommerce table.cart td.actions input[name="apply_coupon"],
.et-db #et-boc .et-l .woocommerce table.cart td.actions button[name="update_cart"],
.et-db #et-boc .et-l .woocommerce table.cart td.actions input[name="update_cart"] {
    background-color: transparent !important;
    border: 1px solid var(--ls-hairline-strong) !important;
    color: var(--ls-text) !important;
}
.et-db #et-boc .et-l .woocommerce table.cart td.actions button[name="apply_coupon"]:hover,
.et-db #et-boc .et-l .woocommerce table.cart td.actions input[name="apply_coupon"]:hover,
.et-db #et-boc .et-l .woocommerce table.cart td.actions button[name="update_cart"]:hover:not(:disabled),
.et-db #et-boc .et-l .woocommerce table.cart td.actions input[name="update_cart"]:hover:not(:disabled) {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border-color: var(--ls-hairline-strong) !important;
}

/* Update cart is disabled until a quantity actually changes. Say so, rather
   than painting a live-looking button that does nothing when tapped. */
.woocommerce table.cart td.actions button[name="update_cart"]:disabled,
.woocommerce table.cart td.actions input[name="update_cart"]:disabled {
    opacity: .45;
    cursor: not-allowed;
}


/* ============================================================================
   5. CHECKOUT
   ========================================================================= */

/* The stock coupon prompt and its form are no longer rendered at the top of
   the page - functions.php section 7 moves the coupon UI into the order
   summary. Its styling is the PROMO CODE block at the end of this section. */


/* Billing and shipping each get their own panel so the form has structure
   instead of running as one long column. */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
    margin-bottom: var(--ls-space-5);
    padding: var(--ls-space-5);
    background-color: var(--ls-surface-1);
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-lg);
}
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3 {
    margin: 0 0 var(--ls-space-4);
    font-size: var(--ls-h3);
    font-weight: 600;
    line-height: var(--ls-leading-h3);
}
.woocommerce-checkout #ship-to-different-address {
    display: flex;
    align-items: center;
    margin: 0 0 var(--ls-space-4);
}
.woocommerce-checkout #ship-to-different-address label {
    display: flex;
    align-items: center;
    gap: var(--ls-space-2);
    margin: 0;
    /* Was 1.25rem. "Create an account?" above it and the terms line below it
       are both body copy; at 20px this one read as a section heading with a
       checkbox stuck to it. Unified in section 5b. */
    font-size: var(--ls-body);
    cursor: pointer;
}

.woocommerce form .form-row { margin: 0 0 var(--ls-space-4); padding: 0; }

/* --- Order review -------------------------------------------------------- */
/* The heading sits INSIDE the panel -- see the child theme's
   woocommerce/checkout/form-checkout.php, which moves it there. It reads as
   the panel's own title, so it gets the panel's inset and a hairline under it
   rather than floating above the card. */
.woocommerce-checkout #order_review_heading {
    margin: 0 0 var(--ls-space-4);
    padding: 0;
    font-family: var(--ls-font-display);
    font-size: var(--ls-h3);
    font-weight: 600;
    color: var(--ls-text);
    line-height: var(--ls-leading-h3);
}
.woocommerce-checkout #order_review {
    position: relative;
    padding: var(--ls-space-5);
    background-color: var(--ls-surface-1);
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-lg);
}
.woocommerce-checkout #order_review:before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: var(--ls-card-line-h);
    background-image: var(--ls-gradient-ui);
    border-radius: var(--ls-radius-lg) var(--ls-radius-lg) 0 0;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table {
    /* !important for the same reason the cart totals table needs it (see
       section 12): Divi's generated et-divi-dynamic-tb-* sheet marks its
       WooCommerce table margins important at 30px, and the checkout renders
       inside a Theme Builder template. Specificity cannot reach it. */
    margin: 0 0 var(--ls-space-5) !important;
    background: none;
    border: none;
    border-radius: 0;
}

/* PayPal's Pay Later message and the payment box are one unit. */
.woocommerce-checkout #order_review .ppcp-messages { margin: 0 0 var(--ls-space-2); }
.woocommerce-checkout #order_review #payment { margin-top: 0; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td {
    padding: var(--ls-space-3) 0;
    background: none;
    border-bottom: 1px solid var(--ls-hairline-faint);
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table td { text-align: right; color: var(--ls-text); }
.woocommerce-checkout table.woocommerce-checkout-review-order-table .product-name { text-align: left; color: var(--ls-text-muted); }
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total td { border-bottom: none; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total .amount {
    font-size: var(--ls-price-total);
    font-weight: 700;
    color: var(--ls-text);
    line-height: 1.2;
}

/* --- Payment ------------------------------------------------------------- */
.woocommerce-checkout #payment {
    margin-top: var(--ls-space-5);
    background-color: var(--ls-surface-2);
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-lg);
    color: var(--ls-text-muted);
}
.woocommerce-checkout #payment ul.wc_payment_methods {
    margin: 0;
    padding: var(--ls-space-4);
    border-bottom: 1px solid var(--ls-hairline);
    list-style: none;
}
.woocommerce-checkout #payment ul.wc_payment_methods li {
    margin: 0 0 var(--ls-space-2);
    padding: 0;
    list-style: none;
}
.woocommerce-checkout #payment ul.wc_payment_methods li label {
    display: inline-flex;
    align-items: center;
    gap: var(--ls-space-2);
    font-size: var(--ls-body);
    color: var(--ls-text);
    cursor: pointer;
}
.woocommerce-checkout #payment div.payment_box {
    margin: var(--ls-space-3) 0 0;
    padding: var(--ls-space-4);
    background-color: var(--ls-surface-3);
    border-radius: var(--ls-radius-md);
    color: var(--ls-text-muted);
    font-size: var(--ls-small);
}
.woocommerce-checkout #payment div.payment_box:before { display: none; }
.woocommerce-checkout #payment .place-order { padding: var(--ls-space-4); margin: 0; }
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper { margin-bottom: var(--ls-space-4); }

@media (max-width: 980px) {
    .woocommerce form .form-row-first,
    .woocommerce form .form-row-last { width: 100%; }
}

/* --- Prompts --------------------------------------------------------------
   The cyan left rule reads as an alert. "Returning customer?" is an offer, so
   it gets the same hairline as every other panel on the page. The site-wide
   .woocommerce-info accent in components.css section 5 is left alone. */
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info {
    border-left: 1px solid var(--ls-hairline) !important;
}

/* --- Promo code -----------------------------------------------------------
   Rendered under the order total by lsfab_checkout_promo_block() in
   functions.php section 7, and driven by js/checkout.js.

   The selectors are anchored on #order_review for weight: components.css
   section 1 sizes every button through `.et-db #et-boc .et-l .woocommerce
   button.button`, and an ID is the only thing that outranks it - without one
   the Apply button computes 50px next to a 48px field. */
/* Even air on both sides. It ran 30px above and ~70px below, because the table
   carried a 30px margin and PayPal's Pay Later message block (invisible on
   this dark panel, but 26px tall) sat between the row and #payment on top of
   #payment's own 22px. The message belongs against the payment box, so it is
   pulled down there and the promo row keeps a symmetric 22px. */
.ls-promo {
    margin: 0 0 var(--ls-space-5);
    background-color: var(--ls-surface-1);
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-lg);
    overflow: hidden;
}

.ls-promo__toggle {
    display: flex;
    align-items: center;
    gap: var(--ls-space-2);
    padding: 14px var(--ls-space-4);
    color: var(--ls-text-muted);
    font-size: var(--ls-small);
    font-weight: 600;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}
.ls-promo__toggle:hover,
.ls-promo__toggle:focus {
    color: var(--ls-text);
    background-color: var(--ls-surface-raised);
    text-decoration: none;
}

.ls-promo__icon {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    /* Was --ls-green. It is a tag glyph on a collapsed row, not a status, and
       green now means nothing anywhere else in the flow. */
    color: var(--ls-text-faint);
}

.ls-promo__chev {
    margin-left: auto;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform .2s ease;
    opacity: .6;
}
.ls-promo.is-open .ls-promo__chev { transform: rotate(45deg); }

/* slideToggle writes display:block on this element, so the flex row is one
   level in rather than on the panel itself. */
.ls-promo__form { padding: 0 var(--ls-space-4) var(--ls-space-4); }
.ls-promo__row {
    display: flex;
    align-items: stretch;
    gap: var(--ls-space-2);
}

#order_review .ls-promo .ls-promo__row input.ls-promo__input {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    height: var(--ls-control-h) !important;
    min-height: var(--ls-control-h) !important;
    margin: 0 !important;
    padding: 0 var(--ls-control-pad-x) !important;
    background-color: var(--ls-surface-2) !important;
    border: 1px solid var(--ls-hairline-input) !important;
    border-radius: var(--ls-radius-md) !important;
    color: var(--ls-text) !important;
    font-size: var(--ls-body) !important;
    line-height: 46px !important;
}
#order_review .ls-promo .ls-promo__row input.ls-promo__input:focus {
    border-color: var(--ls-red) !important;
    box-shadow: var(--ls-focus-ring);
    outline: none;
}
#order_review .ls-promo .ls-promo__row input.ls-promo__input::placeholder { color: var(--ls-text-faint); }

#order_review .ls-promo .ls-promo__row button.button.ls-promo__apply {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 104px;
    height: var(--ls-control-h) !important;
    min-height: var(--ls-control-h) !important;
    margin: 0 !important;
    padding: 0 var(--ls-space-5) !important;
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: var(--ls-radius-md) !important;
    color: #ffffff !important;
    font-size: var(--ls-small) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}
#order_review .ls-promo .ls-promo__row button.button.ls-promo__apply:hover,
#order_review .ls-promo .ls-promo__row button.button.ls-promo__apply:focus {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}
#order_review .ls-promo .ls-promo__row button.button.ls-promo__apply.is-busy {
    opacity: .55;
    cursor: default;
}

@media (max-width: 480px) {
    .ls-promo__row { flex-wrap: wrap; }
    #order_review .ls-promo .ls-promo__row input.ls-promo__input { flex: 1 1 100%; }
    #order_review .ls-promo .ls-promo__row button.button.ls-promo__apply {
        flex: 1 1 100%;
        width: 100% !important;
    }
}


/* ============================================================================
   6. MY ACCOUNT
   ========================================================================= */

.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 24%;
    margin-right: 4%;
    padding: var(--ls-space-4);
    background-color: var(--ls-surface-1);
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-lg);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin: 0 0 var(--ls-space-1);
    padding: 0;
    list-style: none;
    border: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: var(--ls-space-3) var(--ls-space-3);
    border-radius: var(--ls-radius-md);
    font-family: var(--ls-font-display);
    font-size: var(--ls-h5);
    font-weight: 600;
    letter-spacing: var(--ls-tracking-caps);
    text-transform: uppercase;
    color: var(--ls-text-muted);
    transition: background-color var(--ls-transition), color var(--ls-transition);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--ls-text);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background-color: rgba(255, 0, 68, 0.12);
    color: var(--ls-red);
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 72%;
    padding: var(--ls-space-6);
    background-color: var(--ls-surface-1);
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-lg);
}
.woocommerce-account .woocommerce-MyAccount-content > h2:first-child,
.woocommerce-account .woocommerce-MyAccount-content > h3:first-child { margin-top: 0; }

/* Addresses side by side, each in its own panel. */
.woocommerce-account .woocommerce-Addresses { display: flex; flex-wrap: wrap; gap: var(--ls-space-5); }
.woocommerce-account .woocommerce-Address {
    flex: 1 1 260px;
    width: auto;
    padding: var(--ls-space-5);
    background-color: var(--ls-surface-2);
    border: 1px solid var(--ls-hairline-faint);
    border-radius: var(--ls-radius-lg);
}
.woocommerce-account .woocommerce-Address-title h3 { margin: 0 0 var(--ls-space-3); font-size: var(--ls-h5); }
.woocommerce-account .woocommerce-Address address { font-style: normal; line-height: var(--ls-leading-body); }

/* Login / register, shown when logged out.
   2026-09-08: the two columns are gone. Side by side they never fit a phone --
   each Cloudflare Turnstile widget refuses to render below 300px, so the pair
   held a ~660px floor and the forms ran into each other under it. The panel is
   now ONE card at a readable measure with a SIGN IN / CREATE ACCOUNT tab pair
   written by js/account.js, and exactly one form is in flow at any width.
   With JS off both forms are still printed, stacked and ruled off from each
   other -- the same page without the switching. */
.woocommerce-account:not(.logged-in) .woocommerce > .u-columns {
    display: block;
    max-width: 460px;
    margin: 0 auto;
    padding: var(--ls-space-6);
    background-color: var(--ls-surface-1);
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-lg);
}
.woocommerce-account:not(.logged-in) .woocommerce > .u-columns > .u-column1,
.woocommerce-account:not(.logged-in) .woocommerce > .u-columns > .u-column2 {
    float: none;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
}
/* No-JS fallback separator. */
.woocommerce-account:not(.logged-in) .woocommerce > .u-columns > .u-column2 {
    margin-top: var(--ls-space-6);
    padding-top: var(--ls-space-6);
    border-top: 1px solid var(--ls-hairline-faint);
}
.woocommerce-account:not(.logged-in) .woocommerce > .u-columns > div > h2 {
    margin: 0 0 var(--ls-space-5);
    font-size: var(--ls-h3);
}
.woocommerce-account:not(.logged-in) .cf-turnstile { margin: var(--ls-space-4) 0; }
/* The Turnstile plugin prints a <br> after every widget as its spacer, which
   on top of the widget's own margin left 67px between the challenge and the
   button under it. The margin is the spacing. */
.woocommerce-account:not(.logged-in) br.cf-turnstile-br { display: none; }
.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form button[type="submit"] {
    width: 100%;
}
.woocommerce-account:not(.logged-in) #customer_login .woocommerce-LostPassword {
    margin: var(--ls-space-4) 0 0;
    text-align: center;
}
.woocommerce-account:not(.logged-in) #customer_login .woocommerce-LostPassword a { font-size: var(--ls-small); }
.woocommerce-account:not(.logged-in) #customer_login .woocommerce-privacy-policy-text p {
    margin: 0 0 var(--ls-space-4);
    font-size: var(--ls-small);
    line-height: var(--ls-leading-small);
    color: var(--ls-text-soft);
}
.woocommerce-account:not(.logged-in) #customer_login form.woocommerce-form > p:last-child { margin-bottom: 0; }

/* The card is still wanted where these forms stand alone, as on checkout. */
.woocommerce .woocommerce-form-login,
.woocommerce .woocommerce-form-register {
    max-width: 480px;
    margin: 0 auto;
    padding: var(--ls-space-6);
    background-color: var(--ls-surface-1);
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-lg);
}
/* Inside the account panel they would be a card within a card. */
.woocommerce-account:not(.logged-in) .woocommerce-form-login,
.woocommerce-account:not(.logged-in) .woocommerce-form-register {
    max-width: none;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
}

/* Tabbed state -- only once js/account.js has built the tab bar, so the
   no-JS rules above stay true if the file never loads. */
#customer_login.ls-acct--tabbed > .u-column1,
#customer_login.ls-acct--tabbed > .u-column2 {
    margin: 0;
    padding: 0;
    border-top: 0;
}
#customer_login.ls-acct--tabbed > .u-column1[hidden],
#customer_login.ls-acct--tabbed > .u-column2[hidden] { display: none !important; }
/* The tab label is the heading now; the h2 stays for screen readers. */
#customer_login.ls-acct--tabbed > div > h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
#customer_login .ls-acct-tabs {
    display: flex;
    gap: var(--ls-space-1);
    margin: 0 0 var(--ls-space-6);
    padding: var(--ls-space-1);
    background-color: var(--ls-surface-2);
    border: 1px solid var(--ls-hairline-faint);
    border-radius: var(--ls-radius-md);
}
#customer_login .ls-acct-tabs__btn {
    flex: 1 1 0;
    min-height: 44px;
    padding: var(--ls-space-2) var(--ls-space-3) !important;
    background: none !important;
    border: 0 !important;
    border-radius: var(--ls-radius-sm) !important;
    font-family: var(--ls-font-display) !important;
    font-size: var(--ls-h5) !important;
    font-weight: 700 !important;
    letter-spacing: var(--ls-tracking-button) !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    color: var(--ls-text-muted) !important;
    cursor: pointer;
    transition: background-color var(--ls-transition), color var(--ls-transition);
}
#customer_login .ls-acct-tabs__btn:hover { color: var(--ls-text) !important; }
#customer_login .ls-acct-tabs__btn[aria-selected="true"] {
    background-color: var(--ls-red-btn) !important;
    color: #fff !important;
}
#customer_login .ls-acct-tabs__btn:focus-visible {
    outline: 2px solid var(--ls-cyan);
    outline-offset: 2px;
}

@media (max-width: 520px) {
    .woocommerce-account:not(.logged-in) .woocommerce > .u-columns { padding: var(--ls-space-5); }
    #customer_login .ls-acct-tabs { margin-bottom: var(--ls-space-5); }
    /* "CREATE ACCOUNT" takes two lines on a 360px phone at full tracking. */
    #customer_login .ls-acct-tabs__btn {
        padding: var(--ls-space-2) !important;
        font-size: var(--ls-h6) !important;
        letter-spacing: var(--ls-tracking-caps) !important;
    }
}

/* Turnstile refuses to draw its widget under 300px wide, and a 360px phone
   leaves 263px inside the card. Below 420px the box bleeds out into the card
   padding instead of clipping the challenge. */
@media (max-width: 420px) {
    .woocommerce-account:not(.logged-in) #customer_login .cf-turnstile {
        min-width: 300px;
        margin-left: calc(var(--ls-space-5) * -1);
        margin-right: calc(var(--ls-space-5) * -1);
    }
}

/* Lost password / reset password: the same card as the login panel, so the
   whole logged-out account flow is one shape. WooCommerce prints this form
   bare, full width against the page. (2026-09-08) */
.woocommerce-account:not(.logged-in) form.woocommerce-ResetPassword {
    max-width: 460px;
    margin: 0 auto;
    padding: var(--ls-space-6);
    background-color: var(--ls-surface-1);
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-lg);
}
.woocommerce-account:not(.logged-in) form.woocommerce-ResetPassword > p:first-child {
    margin: 0 0 var(--ls-space-5);
    color: var(--ls-text-muted);
    line-height: var(--ls-leading-body);
}
.woocommerce-account:not(.logged-in) form.woocommerce-ResetPassword .form-row-first {
    float: none;
    width: 100%;
}
.woocommerce-account:not(.logged-in) form.woocommerce-ResetPassword button[type="submit"] { width: 100%; }
.woocommerce-account:not(.logged-in) form.woocommerce-ResetPassword > p:last-of-type { margin-bottom: 0; }
.woocommerce-account:not(.logged-in) form.woocommerce-ResetPassword .cf-turnstile { margin: var(--ls-space-4) 0; }

@media (max-width: 520px) {
    .woocommerce-account:not(.logged-in) form.woocommerce-ResetPassword { padding: var(--ls-space-5); }
}
@media (max-width: 420px) {
    .woocommerce-account:not(.logged-in) form.woocommerce-ResetPassword .cf-turnstile {
        min-width: 300px;
        margin-left: calc(var(--ls-space-5) * -1);
        margin-right: calc(var(--ls-space-5) * -1);
    }
}

/* Dealer callout printed below the login form by the Distributor Login snippet.
   Matches the panel above it so the two read as one column of content. */
.lsfab-dealer {
    clear: both;
    max-width: 460px;
    margin: var(--ls-space-6) auto 0;
    padding: var(--ls-space-6);
    background-color: var(--ls-surface-2);
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-lg);
    text-align: center;
}
/* Divi's Theme Builder sheet sizes every h2 at (2,4,1), so the callout's
   heading came out at 40px inside a 460px card. Same id weight, one more
   class. */
.et-db #page-container #et-boc .et-l .lsfab-dealer .lsfab-dealer__title,
.lsfab-dealer .lsfab-dealer__title {
    font-size: var(--ls-h3) !important;
    line-height: var(--ls-leading-h3) !important;
}
.lsfab-dealer__title {
    margin: 0 0 var(--ls-space-2);
    font-size: var(--ls-h3);
    line-height: 1.1;
    letter-spacing: 1px;
    color: #fff;
}
.lsfab-dealer__copy {
    margin: 0 0 var(--ls-space-5);
    line-height: var(--ls-leading-body);
}
.lsfab-dealer__btn {
    display: inline-block;
    padding: var(--ls-space-3) var(--ls-space-6);
    background-color: var(--ls-red-btn);
    border-radius: var(--ls-radius-sm);
    color: #fff !important;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}
.lsfab-dealer__btn:hover,
.lsfab-dealer__btn:focus-visible {
    background-color: #d1003a;
}
.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme { margin: var(--ls-space-3) 0; }

/* --- Orders table (2026-09-08) ------------------------------------------
   WooCommerce marks the order-number cell up as <th scope="row">, so
   components.css section 4 gave it the column-heading treatment: the 0.03
   tint, 12px eyebrow type with 1.44px tracking, 12px padding against the
   16px of the cells beside it, and a hairline under it that the last row's
   <td>s drop. One dark cell with its own bottom rule in an otherwise flat
   row. Row headers read as body cells here; the link keeps its weight. */
.woocommerce table.woocommerce-orders-table tbody th {
    padding: var(--ls-space-4);
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--ls-hairline-faint);
    font-family: var(--ls-font-body);
    font-size: var(--ls-small);
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    vertical-align: middle;
    color: var(--ls-text-muted);
}
.woocommerce table.woocommerce-orders-table tbody tr:last-child th { border-bottom: none; }
.woocommerce table.woocommerce-orders-table tbody td { font-size: var(--ls-small); }
.woocommerce table.woocommerce-orders-table tbody th a {
    font-weight: 700;
    color: var(--ls-red);
    text-decoration: none;
}
.woocommerce table.woocommerce-orders-table tbody th a:hover { color: var(--ls-text); }

/* View / Invoice: two buttons on one line with a gap, not one fused block.
   The date holds one line too -- "July 20," over "2026" at tablet widths. */
.woocommerce table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions,
.woocommerce table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-date { white-space: nowrap; }
.woocommerce table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .button + .button {
    margin-left: var(--ls-space-2);
}

/* The panel's last block sits on the panel padding. Divi's Theme Builder
   sheet puts `margin-bottom: 30px !important` on every shop_table, which
   left 63px under the orders table against 33px above the notice. */
.woocommerce-account .woocommerce-MyAccount-content > :last-child { margin-bottom: 0 !important; }

/* Stacked layout (woocommerce-smallscreen.css, <=768px). That sheet hides
   every tbody <th> in a responsive table, which on this template is the
   order number itself, so a phone showed date, status and total with no way
   to tell which order they belonged to. The th gets the same "Label: value"
   treatment Woo gives the <td>s. Cell rules go, rows separate on a hairline
   so several orders read as several groups rather than one long list. */
@media (max-width: 768px) {
    .woocommerce table.woocommerce-orders-table.shop_table_responsive tbody th {
        display: block;
        text-align: right;
    }
    .woocommerce table.woocommerce-orders-table.shop_table_responsive tbody th::before {
        content: attr(data-title) ": ";
        float: left;
        font-weight: 700;
    }
    .woocommerce table.woocommerce-orders-table.shop_table_responsive tbody th,
    .woocommerce table.woocommerce-orders-table.shop_table_responsive tbody td {
        padding: var(--ls-space-2) var(--ls-space-4);
        border-bottom: none;
    }
    .woocommerce table.woocommerce-orders-table.shop_table_responsive tbody tr { padding: var(--ls-space-2) 0; }
    .woocommerce table.woocommerce-orders-table.shop_table_responsive tbody tr + tr { border-top: 1px solid var(--ls-hairline); }
}

@media (max-width: 980px) {
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        width: 100%;
        margin-right: 0;
        margin-bottom: var(--ls-space-5);
    }
    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: flex;
        flex-wrap: wrap;
        gap: var(--ls-space-1);
    }
}

/* ============================================================================
   7. ORDER RECEIVED / VIEW ORDER
   ========================================================================= */

.woocommerce .woocommerce-order-details,
.woocommerce .woocommerce-customer-details {
    margin-bottom: var(--ls-space-6);
    padding: var(--ls-space-6);
    background-color: var(--ls-surface-1);
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-lg);
}
.woocommerce ul.woocommerce-order-overview {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ls-space-5);
    margin: 0 0 var(--ls-space-6);
    padding: var(--ls-space-5);
    background-color: var(--ls-surface-1);
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-lg);
    list-style: none;
}
.woocommerce ul.woocommerce-order-overview li {
    flex: 1 1 auto;
    margin: 0;
    padding: 0;
    border: none;
    font-family: var(--ls-font-body);
    font-size: var(--ls-micro);
    letter-spacing: var(--ls-tracking-eyebrow);
    text-transform: uppercase;
    color: var(--ls-text-faint);
}
.woocommerce ul.woocommerce-order-overview li strong {
    display: block;
    margin-top: var(--ls-space-2);
    font-family: var(--ls-font-body);
    font-size: var(--ls-body);
    font-weight: 600;
    letter-spacing: normal;
    text-transform: none;
    color: var(--ls-text);
}

/* ============================================================================
   8. SHOP SIDEBAR
   The widget area registered as `woocomerce-sidebar` (one m — the original
   theme's typo, carried forward so existing widget assignments survive).
   ========================================================================= */

/* Full column width. absorbed.css carries a blanket
   `.widget_block { width: 90% !important }`, which left every card in this
   sidebar 25px short on the right while the logo above it ran the full
   width -- the cards looked inset for no reason. Scoped to this sidebar and
   restated at !important because that is the only way past a (0,1,0)
   !important declaration. */
.dfw-sidebar-03 .et_pb_widget.widget_block,
.dfw-sidebar-03 > .et_pb_widget {
    width: 100% !important;
}

#sidebar .et_pb_widget {
    position: relative;
    margin-bottom: var(--ls-space-5);
    padding: var(--ls-space-4) var(--ls-space-5) var(--ls-space-5);
    background-color: var(--ls-surface-1);
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-lg);
}
/* No accent bar on these cards. --ls-red is the primary action colour, and
   the Year/Make/Model widget's own FIND MY PARTS button sits a few rows
   below the card's top edge in exactly that red — four stacked cards each
   wearing a red->coral stripe put decoration and action at the same weight,
   and in the narrow column the stripe reads as a divider floating in the gap
   rather than as the top of a card. The surface, hairline and radius carry
   the card on their own. Cart totals and checkout order review keep their
   stripe: one panel per page, marking the one that matters. */
#sidebar .et_pb_widget .widgettitle,
#sidebar .et_pb_widget h4 {
    margin: 0 0 var(--ls-space-3);
    padding: 0;
    font-family: var(--ls-font-display);
    font-size: var(--ls-h4);
    font-weight: 600;
    letter-spacing: normal;
    text-transform: none;
    color: var(--ls-text);
    line-height: var(--ls-leading-h4);
}

/* ============================================================================
   9. OUTRANKING lsfab.com's ADDITIONAL CSS — CATALOG CARD

   Two blocks in Appearance > Additional CSS were written to fight the OLD
   Divi Ecommerce child theme, and now fight this one instead. Divi minifies
   that CSS into et-divi-customizer-global.css and loads it after every theme
   sheet, with !important on nearly every declaration, so the card rules in
   section 1 lose to it:

     • `padding-right: 0 !important` on card titles, prices and star ratings.
       Text ends up inset 16px on the left and hard against the right edge —
       barely visible on a desktop card, obvious on a phone where the title
       wraps three or four times.

     • `width: 100% !important` on catalog add-to-cart buttons. That is 100%
       of the card, and the theme also gives the button 16px side margins, so
       it lands 32px wider than the card it sits in. `overflow: hidden` on the
       card clips the overhang, which is why the button looks cut off on the
       right and its label reads off-centre.

   Only those two declarations are restated, at a weight that wins: Divi's own
   scope supplies an ID, and `.instock` / `.outofstock` supply one class more
   than the Additional CSS selectors carry. Nothing here changes the card's
   layout or order — it only removes the overhang and puts the right-hand
   padding back.

   DELETE THIS SECTION once the Additional CSS is absorbed into the theme the
   way it was on staging. It is a workaround, not a design layer.
   ========================================================================= */

.woocommerce.et-db #et-boc .et-l .woocommerce ul.products li.product.instock .woocommerce-loop-product__title,
.woocommerce.et-db #et-boc .et-l .woocommerce ul.products li.product.instock h3,
.woocommerce.et-db #et-boc .et-l .woocommerce ul.products li.product.outofstock .woocommerce-loop-product__title,
.woocommerce.et-db #et-boc .et-l .woocommerce ul.products li.product.outofstock h3 {
    padding: 0 var(--ls-space-4) var(--ls-space-3) !important;
}

.woocommerce.et-db #et-boc .et-l .woocommerce ul.products li.product.instock .price,
.woocommerce.et-db #et-boc .et-l .woocommerce ul.products li.product.outofstock .price {
    padding: 0 var(--ls-space-4) !important;
}

/* The card inset moved from the stars to the .lsfab-loop-rating row that wraps
   them (Sep 7 2026). Left on .star-rating it was applied twice -- once as the
   wrapper's padding, once as this margin -- and the stars sat 32px in while
   the title and the price sat at 16px. Measured before the fix: title and
   price left edges 398.6, stars 430.6. */
.woocommerce.et-db #et-boc .et-l .woocommerce ul.products li.product.instock .lsfab-loop-rating,
.woocommerce.et-db #et-boc .et-l .woocommerce ul.products li.product.outofstock .lsfab-loop-rating {
    padding-left: var(--ls-space-4) !important;
    padding-right: var(--ls-space-4) !important;
}
.woocommerce.et-db #et-boc .et-l .woocommerce ul.products li.product.instock .lsfab-loop-rating .star-rating,
.woocommerce.et-db #et-boc .et-l .woocommerce ul.products li.product.outofstock .lsfab-loop-rating .star-rating {
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce.et-db #et-boc .et-l .woocommerce ul.products li.product.instock .button,
.woocommerce.et-db #et-boc .et-l .woocommerce ul.products li.product.outofstock .button {
    width: calc(100% - (var(--ls-space-4) * 2)) !important;
    max-width: calc(100% - (var(--ls-space-4) * 2)) !important;
}

/* ============================================================================
   10. PHONE — ONE CARD PER ROW

   Divi is set to `product-columns-mobile-2`, and section 1 followed it: two
   columns all the way down. On a 375px phone that leaves each card about
   169px wide, so a title like "Billet Dash Glove Box & Speaker Grille — 47-53
   GMC Chevy Truck" wraps four lines at 20px, the photo renders about 120px
   tall, and the add-to-cart button has ~137px of inner width. Everything is
   legible and everything is tiny.

   Below 600px the grid drops to a single column instead. Nothing between 481
   and 600 is a real device in portrait, so this is effectively the phone
   layout: full-bleed photo, title on one or two lines, a full-width button.
   ========================================================================= */

@media (max-width: 600px) {
    body.product-columns-4 ul.products,
    body.product-columns-3 ul.products,
    body.product-columns-2 ul.products,
    .et-db #et-boc .et-l body.product-columns-4 ul.products,
    .et-db #et-boc .et-l .woocommerce ul.products {
        grid-template-columns: 1fr;
        gap: var(--ls-space-5);
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title,
    .woocommerce.et-db #et-boc .et-l .woocommerce ul.products li.product.instock .woocommerce-loop-product__title,
    .woocommerce.et-db #et-boc .et-l .woocommerce ul.products li.product.outofstock .woocommerce-loop-product__title {
        font-size: var(--ls-h4);
        line-height: var(--ls-leading-h4);
    }

    /* A full-width card gives the photo the whole viewport width, which is
       taller than it needs to be for a parts thumbnail. Cap it and let the
       image sit centred in the frame. */
    .woocommerce ul.products li.product .et_shop_image,
    .et-db #et-boc .et-l .woocommerce ul.products li.product .et_shop_image {
        display: flex;
        align-items: center;
        justify-content: center;
        max-height: 320px;
        overflow: hidden;
    }
    .woocommerce ul.products li.product .et_shop_image img,
    .et-db #et-boc .et-l .woocommerce ul.products li.product .et_shop_image img {
        max-height: 320px;
        width: 100%;
        object-fit: contain;
    }
}

/* ============================================================================
   CHECKOUT — ORDER SUMMARY IN A RIGHT-HAND COLUMN

   WooCommerce ships the checkout as billing and shipping side by side with the
   order review full width underneath. This lays the form out as a grid instead:
   customer details on the left, "Your order" and the payment box on the right,
   which is the shape people expect from a modern checkout and keeps the total
   in view while the address is filled in.

   Below 981px the grid is off and everything stacks in source order.
   ========================================================================= */

@media (min-width: 981px) {
    .woocommerce-checkout form.checkout.woocommerce-checkout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
        grid-template-areas:
            "msg     msg"
            "details review";
        column-gap: var(--ls-space-6);
        align-items: start;
    }

    .woocommerce-checkout form.checkout > .wc_coupon_message_wrap { grid-area: msg; }
    .woocommerce-checkout form.checkout > #customer_details        { grid-area: details; }
    .woocommerce-checkout form.checkout > #order_review            { grid-area: review; }

    /* Billing and shipping stack down the left column rather than sitting in
       WooCommerce's two floated halves. */
    .woocommerce-checkout #customer_details.col2-set > .col-1,
    .woocommerce-checkout #customer_details.col2-set > .col-2 {
        float: none;
        width: 100%;
        margin: 0 0 var(--ls-space-5);
    }
}

/* ----------------------------------------------------------------------------
   Shipping address is opt-in

   `woocommerce_ship_to_different_address_checked` (functions.php) leaves the box
   unticked, so the shipping fields must start hidden. WooCommerce's own JS
   slideToggles them with an inline style once anything is clicked, and an inline
   style outranks this rule -- which is exactly right: this only governs the
   first paint, before any interaction.
   ------------------------------------------------------------------------- */

.woocommerce-checkout .woocommerce-shipping-fields:not(:has(#ship-to-different-address-checkbox:checked)) .shipping_address {
    display: none;
}

/* ----------------------------------------------------------------------------
   One Place Order button

   PayPal Payments renders its own button for the card fields and hides
   WooCommerce's with `#place_order.ppcp-hidden { display: none !important }`.
   components.css carries `.et-db #et-boc .et-l .woocommerce button.button
   { display: inline-flex !important }` -- one ID and four classes, which
   outranks it, so both buttons showed. Restated above that weight.
   ------------------------------------------------------------------------- */

body.woocommerce-checkout #payment #place_order.ppcp-hidden {
    display: none !important;
}

/* ----------------------------------------------------------------------------
   Terms line reads as a sentence, not a label
   ------------------------------------------------------------------------- */

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text {
    text-transform: none;
    letter-spacing: normal;
    font-size: var(--ls-small);
    line-height: var(--ls-leading-small);
}

/* ============================================================================
   CROSS-SELLS, RELATED PRODUCTS AND UP-SELLS

   "You may be interested in…" on the cart and "People also ordered…" on a
   product page both render `ul.products` outside Divi's `body.product-columns-*`
   class -- which is the only place section 1 sets a track list. So the list got
   `display: grid` with no columns and collapsed to a single 1200px track: one
   card per row, images blown up to match.

   The same gap meant section 1's width reclaim never ran for these lists
   either, so Divi's `.woocommerce-page ul.products li.product:nth-child(n)
   { width: … !important }` percentages still squashed the cards on tablet and
   phone. Both are restated below, scoped to these three lists.

   The button rule is a third casualty of the same split: Appearance >
   Additional CSS forces `width: 100% !important` on the loop button, which
   fights the 16px side margins section 1 gives it and pushes the button 14px
   past the right edge of the card. Capping max-width lets the margins size it.
   ========================================================================= */

.woocommerce .cross-sells ul.products,
.woocommerce .related ul.products,
.woocommerce .up-sells ul.products {
    grid-template-columns: repeat(3, 1fr);
}

.woocommerce .cross-sells ul.products li.product:nth-child(n),
.woocommerce .related ul.products li.product:nth-child(n),
.woocommerce .up-sells ul.products li.product:nth-child(n) {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
}

.woocommerce .cross-sells ul.products li.product .button,
.woocommerce .related ul.products li.product .button,
.woocommerce .up-sells ul.products li.product .button {
    /* max-width rather than width: Additional CSS reaches the button through
       `.woocommerce.et-db #et-boc .et-l ul.products li.product .button
       .add_to_cart_button` -- an ID and six classes -- so a width here loses.
       Nothing sets max-width, so this caps the 100% at whatever the margins
       leave and lands the button inside the card whatever its classes. */
    max-width: calc(100% - (var(--ls-space-4) * 2)) !important;
}

@media (max-width: 980px) {
    .woocommerce .cross-sells ul.products,
    .woocommerce .related ul.products,
    .woocommerce .up-sells ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .woocommerce .cross-sells ul.products,
    .woocommerce .related ul.products,
    .woocommerce .up-sells ul.products {
        gap: var(--ls-space-4) var(--ls-space-3);
    }
}

/* ============================================================================
   SINGLE PRODUCT — VARIATION DROPDOWNS

   HISTORY, because this block has been inverted once and the reason matters.
   It used to paint the field WHITE with dark text. That was a workaround, not
   a design: `select { background: var(--ls-surface-2) }` from components.css
   painted the control near-black while Divi's add-to-cart module set the
   dropdown text to #1C1C1C, so the chosen option read as dark-on-dark and
   looked blank. White text on a white field is the same bug with the colours
   swapped, and flipping the module's own colour settings without flipping this
   block is exactly how you get there.

   2026-09-07: the module's field and dropdown colours were changed to the dark
   palette (fields #1A1A1A, text #FFFFFF, border rgba(255,255,255,.18)) so that
   the one or two attributes that still use a <select> — anything with more
   than four values — match the option cards beside them. [stated] Tay caught
   the mismatch on the quantity box: "you had me switch variation boxes so they
   werent white. Shouldnt that be the same for the quantity box?"

   The chevron is drawn here because Divi's module CSS zeroes the arrow the
   theme normally draws, so without it the control has no affordance at all.
   `!important` is needed because `.et-db #et-boc .et-l select` in
   components.css carries an ID and outranks any plain selector here.
   ========================================================================= */

.woocommerce div.product form.cart .variations select,
.woocommerce div.product form.cart .variations td select {
    min-height: 48px !important;
    padding: 0 40px 0 var(--ls-space-4) !important;
    background-color: var(--ls-surface-2) !important;
    color: var(--ls-text) !important;
    border-color: var(--ls-hairline-input) !important;
    border-radius: var(--ls-radius-md) !important;
    font-family: var(--ls-font-body) !important;
    font-size: var(--ls-body) !important;
    font-weight: 600 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 6.5L8 10.5 12 6.5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px 16px !important;
}
.woocommerce div.product form.cart .variations select:hover {
    border-color: var(--ls-hairline-strong) !important;
    background-color: var(--ls-surface-raised) !important;
}
.woocommerce div.product form.cart .variations select:focus-visible {
    outline: none;
    border-color: var(--ls-red) !important;
    box-shadow: var(--ls-focus-ring);
}

/* The native option list is painted by the OS from these two, on every
   platform that lets CSS near it. Leave them dark or the open menu is white
   text on white. */
.woocommerce div.product form.cart .variations select option {
    background-color: var(--ls-surface-2);
    color: var(--ls-text);
}

/* ============================================================================
   11. SHOP FILTER PANEL
   The sidebar on every product archive: saved vehicle, search, availability,
   department, price, brand, material, interior/exterior. Rendered by
   [ls_shop_filters] (inc/lsfab-shop-filters.php) into the 1/4 column of body
   layouts 459878 and 462894, and enhanced by js/shop-filters.js.

   Replaced, on 2026-09-06, the four WooCommerce Product Search widgets AND the
   `dl-slide-sidebar` mobile drawer. Both are gone from the layouts; the CSS
   that drove them was deleted with this rewrite.

   ---------------------------------------------------------------------------
   ONE PANEL, TWO PRESENTATIONS

     >= 981px   the panel is the sidebar. It sits in the column and sticks.
     <= 980px   the same markup becomes a bottom sheet: `.ls-filters__bar`
                shows the Filter button, and `body.ls-filters-open` slides
                `.ls-filters__panel` up over the page.

   The sheet does NOT scroll. It is a fixed, non-scrolling box holding a static
   header, a scrolling body (`.ls-filters__scroll`) and a static footer. That
   is deliberate and was learned the hard way on the drawer this replaces: on
   iOS a `position: fixed` footer inside a scrolling, transformed ancestor
   rides the scroll and ends up halfway down the list. Keep the scroll on the
   inner element.

   Nothing here overrides `display` on a Divi module. The panel is plain markup
   inside a code module, so the specificity war the old drawer needed does not
   apply -- except on form controls, where components.css claims
   `.et-db #et-boc .et-l input/select` at (1,3,1). Those rules carry the same
   prefix plus `.ls-filters` to outrank it. Do not strip the prefix.
   ========================================================================= */

.ls-filters {
    --ls-filters-gap: var(--ls-space-4);      /* between cards */
    --ls-filters-pad: var(--ls-space-4);      /* inside a card */
    --ls-filters-top: 104px;                  /* sticky offset, clears the header */
    display: block;
    position: relative;
}

/* --- cards ---------------------------------------------------------------- */

.ls-filters__card {
    position: relative;
    background: var(--ls-surface-1);
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-lg);
}

.ls-filters__card + .ls-filters__card {
    margin-top: var(--ls-filters-gap);
}

/* The brand line is the same 3px purple->cyan edge the About block and the
   old sidebar widgets carried, so the panel still reads as part of the set. */
.ls-filters__card--brand::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ls-gradient-brand);
    border-radius: var(--ls-radius-lg) var(--ls-radius-lg) 0 0;
}

.ls-filters__eyebrow {
    display: block;
    font-family: var(--ls-font-body);
    font-size: var(--ls-micro);
    font-weight: 600;
    letter-spacing: var(--ls-tracking-eyebrow);
    text-transform: uppercase;
    color: var(--ls-text-faint);
}

/* --- panel box ------------------------------------------------------------ */

.ls-filters__panel {
    display: block;
    margin: 0;
}

.ls-filters__head,
.ls-filters__foot,
.ls-filters__bar,
.ls-filters__scrim {
    display: none;
}

/* --- the garage ----------------------------------------------------------- */

.ls-garage {
    padding: var(--ls-filters-pad);
}

.ls-garage__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ls-space-2);
    margin-bottom: var(--ls-space-3);
}

.ls-garage__flag {
    font-size: var(--ls-micro);
    font-weight: 600;
    letter-spacing: var(--ls-tracking-eyebrow);
    text-transform: uppercase;
    color: var(--ls-green);
}

.ls-garage__vehicle {
    display: flex;
    align-items: center;
    gap: var(--ls-space-3);
    margin: 0 0 var(--ls-space-3);
    padding: 10px 12px;
    border: 1px solid rgba(124, 0, 255, 0.45);
    border-radius: var(--ls-radius-md);
    background: linear-gradient(180deg, rgba(124, 0, 255, 0.16), rgba(0, 222, 239, 0.07));
    color: var(--ls-cyan);
}

.ls-garage__vehicle svg {
    flex: none;   /* the icon is wider than the old one; without this the flex row squeezes it */
}

.ls-garage__vehicle > span {
    color: var(--ls-text);
}

.ls-garage__vehicle strong {
    display: block;
    font-family: var(--ls-font-display);
    font-size: var(--ls-h5);
    font-weight: 700;
    line-height: var(--ls-leading-tight);
    text-transform: uppercase;
    letter-spacing: var(--ls-tracking-caps);
}

.ls-garage__vehicle span span,
.ls-garage__vehicle > span > span {
    font-size: var(--ls-caption);
    color: var(--ls-text-soft);
}

.ls-garage__switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ls-space-3);
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--ls-hairline-input);
    border-radius: var(--ls-radius-md);
    background: var(--ls-surface-2);
    cursor: pointer;
}

.ls-garage__switch-label {
    font-size: var(--ls-small);
    color: var(--ls-text);
}

.ls-garage__track {
    position: relative;
    flex: 0 0 auto;
    width: 38px;
    height: 22px;
    border-radius: var(--ls-radius-pill);
    background: #333;
    transition: background 0.15s ease;
}

.ls-garage__track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.15s ease;
}

.et-db #et-boc .et-l .ls-garage__switch input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
}

.ls-garage__switch input:checked ~ .ls-garage__track {
    background: var(--ls-green);
}

.ls-garage__switch input:checked ~ .ls-garage__track::after {
    transform: translateX(16px);
}

.ls-garage__switch input:focus-visible ~ .ls-garage__track {
    box-shadow: var(--ls-focus-ring);
}

.ls-garage__links {
    display: flex;
    gap: var(--ls-space-4);
    margin: var(--ls-space-3) 0 0;
}

.ls-garage__links button {
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--ls-font-body);
    font-size: var(--ls-small);
    color: var(--ls-text-soft);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    min-height: 32px;
}

.ls-garage__links button:hover {
    color: var(--ls-text);
}

/* "All parts for this truck" -- the vehicle archive, offered on category,
   tag and brand archives where the switch only narrows the current listing.
   Same white-text / red-underline treatment as body-copy links; the doubled
   prefix beats Divi's #FF0044 on every <a> inside a layout. */
.ls-garage__all {
    display: inline-flex;
    align-items: center;
    margin: var(--ls-space-3) 0 0;
    font-family: var(--ls-font-body);
    font-size: var(--ls-small);
    line-height: var(--ls-leading-snug);
    min-height: 32px;
}

.ls-garage__all[hidden] {
    display: none;
}

.et-db #et-boc .et-l .ls-garage__all {
    color: var(--ls-text) !important;
    text-decoration: underline !important;
    text-decoration-color: var(--ls-red) !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.et-db #et-boc .et-l .ls-garage__all:hover,
.et-db #et-boc .et-l .ls-garage__all:focus-visible {
    color: var(--ls-red) !important;
}

.ls-garage__fields {
    display: flex;
    flex-direction: column;
    gap: var(--ls-space-2);
}

.ls-garage__note {
    margin: var(--ls-space-3) 0 0;
    font-size: var(--ls-caption);
    line-height: var(--ls-leading-snug);
    color: var(--ls-text-soft);
}

/* --- applied filters ------------------------------------------------------ */

.ls-filters__applied {
    padding: var(--ls-filters-pad);
}

.ls-filters__applied-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ls-space-2);
    margin-bottom: var(--ls-space-3);
}

.ls-filters__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.ls-fchip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-pill);
    background: var(--ls-surface-2);
    font-family: var(--ls-font-body);
    font-size: var(--ls-small);
    color: var(--ls-text-muted);
    cursor: pointer;
}

.ls-fchip:hover {
    border-color: var(--ls-red);
    color: var(--ls-text);
}

.ls-fchip--clear {
    background: var(--ls-surface-raised);
    border-color: var(--ls-hairline-strong);
    color: var(--ls-text);
}

.ls-fchip__x {
    font-size: var(--ls-small);
    line-height: 1;
    color: var(--ls-text-faint);
}

.ls-fchip:hover .ls-fchip__x {
    color: var(--ls-red);
}

/* --- facets --------------------------------------------------------------- */

.ls-facet {
    position: relative;
    border-top: 1px solid var(--ls-hairline-faint);
}

.ls-facet:first-child {
    border-top: 0;
}

.ls-facet--search {
    padding: var(--ls-filters-pad);
}

.ls-facet--search label {
    margin-bottom: 7px;
}

.ls-facet__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ls-space-2);
    width: 100%;
    min-height: 48px;
    padding: 14px var(--ls-filters-pad);
    border: 0;
    background: none;
    color: var(--ls-text);
    text-align: left;
    cursor: pointer;
}

.ls-facet__title {
    font-family: var(--ls-font-display);
    font-size: var(--ls-h5);
    font-weight: 700;
    letter-spacing: var(--ls-tracking-caps);
    text-transform: uppercase;
}

.ls-facet__selected {
    margin-right: auto;
    font-size: var(--ls-caption);
    color: var(--ls-text-faint);
}

.ls-facet__caret {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    margin-top: -4px;
    border-right: 1.6px solid var(--ls-text-soft);
    border-bottom: 1.6px solid var(--ls-text-soft);
    transform: rotate(45deg);
    transition: transform 0.18s ease;
}

.ls-facet[data-open="false"] .ls-facet__caret {
    margin-top: 2px;
    transform: rotate(-45deg);
}

.ls-facet__body {
    padding: 0 var(--ls-filters-pad) var(--ls-filters-pad);
}

.ls-facet[data-open="false"] .ls-facet__body {
    display: none;
}

.ls-facet__find {
    margin-bottom: var(--ls-space-2);
}

/* Options. The checkbox itself is taken out of the flow and drawn as
   `.ls-facet__box`, so the whole row is the hit area. */
.ls-facet__opt {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    padding: 7px 0;
    font-size: var(--ls-small);
    color: var(--ls-text-muted);
    cursor: pointer;
}

.ls-facet__opt:hover {
    color: var(--ls-text);
}

.et-db #et-boc .et-l .ls-facet__opt input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
}

.ls-facet__box {
    position: relative;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border: 1px solid var(--ls-hairline-strong);
    border-radius: var(--ls-radius-sm);
    background: var(--ls-surface-2);
}

.ls-facet__opt input:checked + .ls-facet__box {
    border-color: var(--ls-red-btn);
    background: var(--ls-red-btn);
}

.ls-facet__opt input:checked + .ls-facet__box::after {
    content: "";
    position: absolute;
    top: 1px;
    left: 5px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.ls-facet__opt input:focus-visible + .ls-facet__box {
    box-shadow: var(--ls-focus-ring);
}

.ls-facet__label {
    flex: 1 1 auto;
}

.ls-facet__opt input:checked ~ .ls-facet__label {
    color: var(--ls-text);
    font-weight: 500;
}

.ls-facet__count {
    font-size: var(--ls-caption);
    color: var(--ls-text-faint);
    font-variant-numeric: tabular-nums;
}

.ls-facet__opt.is-empty {
    opacity: 0.35;
    pointer-events: none;
}

.ls-facet__more {
    padding: var(--ls-space-2) 0 0;
    border: 0;
    background: none;
    font-family: var(--ls-font-body);
    font-size: var(--ls-small);
    color: var(--ls-cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    min-height: 32px;
}

/* Interior / Exterior is two options, so it reads better as a pair of
   buttons than as two checkboxes with a lot of empty row beside them. */
.ls-facet__seg {
    display: flex;
    gap: 6px;
}

.ls-facet__segbtn {
    flex: 1 1 0;
    cursor: pointer;
}

.et-db #et-boc .et-l .ls-facet__segbtn input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.ls-facet__segbtn > span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-md);
    background: var(--ls-surface-2);
    font-size: var(--ls-small);
    color: var(--ls-text-muted);
}

.ls-facet__segbtn i {
    font-style: normal;
    color: var(--ls-text-ghost);
}

.ls-facet__segbtn input:checked + span {
    border-color: var(--ls-purple);
    background: rgba(124, 0, 255, 0.18);
    color: var(--ls-text);
}

.ls-facet__segbtn input:focus-visible + span {
    box-shadow: var(--ls-focus-ring);
}

.ls-facet--apply {
    padding: 0 var(--ls-filters-pad) var(--ls-filters-pad);
}

/* --- price ---------------------------------------------------------------- */

.ls-price__rail {
    position: relative;
    height: 26px;
    margin-bottom: var(--ls-space-2);
}

.ls-price__track,
.ls-price__fill {
    position: absolute;
    top: 11px;
    height: 4px;
    border-radius: 4px;
}

.ls-price__track {
    left: 0;
    right: 0;
    background: var(--ls-surface-raised);
}

.ls-price__fill {
    background: var(--ls-gradient-brand);
}

/* Two overlaid range inputs. Only the thumbs take pointer events, so the one
   underneath is still reachable everywhere along the track. */
.et-db #et-boc .et-l .ls-price__rail input[type="range"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 26px;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    appearance: none;
    -webkit-appearance: none;
    pointer-events: none;
}

.ls-price__rail input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid var(--ls-purple);
    border-radius: 50%;
    background: #fff;
    cursor: grab;
    pointer-events: auto;
}

.ls-price__rail input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border: 2px solid var(--ls-purple);
    border-radius: 50%;
    background: #fff;
    cursor: grab;
    pointer-events: auto;
}

.ls-price__rail input[type="range"]:focus-visible::-webkit-slider-thumb {
    box-shadow: var(--ls-focus-ring);
}

.ls-price__fields {
    display: flex;
    align-items: center;
    gap: var(--ls-space-2);
}

.ls-price__fields span {
    color: var(--ls-text-faint);
}

.et-db #et-boc .et-l .ls-price__fields input[type="number"] {
    width: 100%;
    text-align: center;
    -moz-appearance: textfield;
}

.ls-price__fields input::-webkit-outer-spin-button,
.ls-price__fields input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ls-price__bands {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.ls-price__bands button {
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-pill);
    background: var(--ls-surface-2);
    font-family: var(--ls-font-body);
    font-size: var(--ls-small);
    color: var(--ls-text-muted);
    cursor: pointer;
}

.ls-price__bands button i {
    font-style: normal;
    color: var(--ls-text-ghost);
}

.ls-price__bands button[aria-pressed="true"] {
    border-color: var(--ls-red);
    color: var(--ls-text);
}

/* --- related + help ------------------------------------------------------- */

.ls-filters__related {
    padding: var(--ls-filters-pad);
}

.ls-filters__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: var(--ls-space-3);
}

.ls-filters__links a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 11px;
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-pill);
    background: var(--ls-surface-2);
    font-size: var(--ls-small);
    color: var(--ls-text-muted);
    text-decoration: none;
}

.ls-filters__links a:hover {
    border-color: var(--ls-cyan);
    color: var(--ls-text);
}

/* Divi paints every link in the layout #FF0044 from `.et-db #et-boc .et-l a`.
   These two are doubled behind that prefix for the same reason the About
   block's links are -- see section 14. Without it the era chips read as a
   column of red alerts. */
.et-db #et-boc .et-l .ls-filters__links a {
    color: var(--ls-text-muted) !important;
}

.et-db #et-boc .et-l .ls-filters__links a:hover {
    color: var(--ls-text) !important;
}

/* --- era rows ------------------------------------------------------------
   2026-09-08. The "Browse other eras" block was a wrapped row of plain text
   chips; Tay: "do what you did in the mega menu here. era pics with the text
   and sub text". These rows are the Shop mega panel's own treatment at the
   sidebar's width -- 60x44 illustration, display-font year range, keyword
   line under it -- so the two places a shopper picks an era look the same.

   Sizes and hover behaviour are lifted from header.css's `.ls-mega
   .et_pb_blurb` rules on purpose. The one deliberate difference is the
   sublabel: 12px here, and the generation name without the trailing "Truck
   Parts", because the text column is only ~110px wide against the mega
   menu's ~180px. The full mega labels wrapped to three ragged lines and made
   the block 820px tall -- messier than the chips it replaced.

   `.ls-filters__links` is left in place above -- the browse-block chips on
   the shop and attribute archives still use it. */

.ls-eras {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: var(--ls-space-3);
}

/* The negative margin lets the hover fill sit wider than the text column
   without the rows breaking out of the card's 16px padding. */
.ls-era {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 calc(var(--ls-space-2) * -1);
    padding: 5px var(--ls-space-2);
    border-radius: var(--ls-radius-lg);
    text-decoration: none;
    transition: background-color 150ms ease, transform 150ms ease;
}

.ls-era:hover,
.ls-era:focus-visible {
    background-color: var(--ls-surface-raised);
    transform: translateX(3px);
}

.ls-era__img {
    flex: none;
    width: 56px;
    height: 42px;
    object-fit: cover;
    border-radius: var(--ls-radius-sm);
    border: 1px solid var(--ls-hairline-faint);
    transition: border-color 150ms ease;
}

.ls-era:hover .ls-era__img {
    border-color: var(--ls-red);
}

.ls-era__text {
    min-width: 0;
}

.ls-era__title {
    display: block;
    font-family: var(--ls-font-display);
    font-weight: 600;
    font-size: var(--ls-h5);
    letter-spacing: var(--ls-tracking-caps);
    line-height: 1.15;
    color: var(--ls-text);
}

.ls-era__sub {
    display: block;
    margin-top: 2px;
    font-family: var(--ls-font-body);
    font-size: var(--ls-micro);
    line-height: 1.35;
    color: var(--ls-text-soft);
}

/* Same Divi red-link trap as the chips above. */
.et-db #et-boc .et-l .ls-era,
.et-db #et-boc .et-l .ls-era:hover {
    color: var(--ls-text) !important;
    text-decoration: none !important;
}

.et-db #et-boc .et-l .ls-filters__help a {
    color: var(--ls-cyan) !important;
}

.ls-filters__help {
    display: flex;
    align-items: flex-start;
    gap: var(--ls-space-3);
    padding: var(--ls-filters-pad);
    color: var(--ls-cyan);
}

.ls-filters__help strong {
    display: block;
    font-family: var(--ls-font-display);
    font-size: var(--ls-h6);
    letter-spacing: var(--ls-tracking-caps);
    text-transform: uppercase;
    color: var(--ls-text);
}

.ls-filters__help p {
    margin: 2px 0 0;
    font-size: var(--ls-small);
    line-height: var(--ls-leading-small);
    color: var(--ls-text-soft);
}

.ls-filters__help a {
    color: var(--ls-cyan);
}

/* --- form controls -------------------------------------------------------- */
/* components.css claims `.et-db #et-boc .et-l input` and `select` at (1,3,1).
   The prefix plus .ls-filters is (1,4,1), which is what makes these hold. */

.et-db #et-boc .et-l .ls-filters input[type="search"],
.et-db #et-boc .et-l .ls-filters input[type="number"],
.et-db #et-boc .et-l .ls-filters select {
    width: 100%;
    height: var(--ls-control-h-sm);
    min-height: 0;
    padding: 0 12px;
    border: 1px solid var(--ls-hairline-input);
    border-radius: var(--ls-radius-md);
    background-color: var(--ls-surface-2);
    color: var(--ls-text);
    font-family: var(--ls-font-body);
    font-size: var(--ls-body);
    line-height: normal;
}

.et-db #et-boc .et-l .ls-filters select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='white' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.et-db #et-boc .et-l .ls-filters select:disabled {
    opacity: 0.45;
}

.ls-filters .ls-btn {
    width: 100%;
}

/* --- loading -------------------------------------------------------------- */

.ls-filters.is-loading .ls-filters__scroll {
    opacity: 0.55;
    pointer-events: none;
}

.ls-product-loop {
    transition: opacity 0.15s ease;
}


/* --- the column the panel lives in ---------------------------------------- */
/* The Builder held these as `custom_css_main_element` plus a right border on
   the column, and could only ever apply them at one breakpoint because the
   column itself was desktop-only. The column now renders at every width -- it
   carries the mobile Filter button -- so the width and the divider live here,
   where they can be scoped. Do not put them back in the Builder. */

@media (min-width: 981px) {
    .et-db #et-boc .et-l .et_pb_column.ls-filters-col {
        width: 20% !important;
        max-width: 300px;
        border-right: 3px solid #1C1C1C;
    }
}

@media (max-width: 980px) {
    .et-db #et-boc .et-l .et_pb_column.ls-filters-col {
        width: 100% !important;
        max-width: none;
        border-right: 0;
        margin-bottom: 0;
    }
}

/* --- desktop ------------------------------------------------------------- */
/* The panel deliberately does NOT stick, and does NOT scroll inside itself.

   Both were tried on 2026-09-06 and measured: the panel is ~2,000px tall with
   every group open and ~1,400px with the secondary ones collapsed, while the
   viewport it has to fit in is 780-950px. `position: sticky` on a box taller
   than the viewport pins it at the top and makes its lower half unreachable;
   adding `max-height` + `overflow-y: auto` fixes that by putting a second
   scrollbar inside the page, which is worse -- the chips and the facets end up
   hidden behind a scroll nobody knows is there.

   So the column scrolls with the page, the way it did before. If the panel
   ever gets short enough to fit a viewport, sticky becomes worth revisiting. */

/* --- phones and tablets: the same markup as a bottom sheet ----------------- */

@media (max-width: 980px) {
    .ls-filters {
        --ls-filters-pad: var(--ls-space-4);
    }

    /* No margin of its own: the column's own 20px bottom padding is the gap,
       which keeps the rhythm the archive already had -- 20 to the result
       count, then 12 to the sort select, then 12 to the grid. Adding a margin
       here made it 42, and the odd one out. */
    .ls-filters__bar {
        display: block;
        margin-bottom: 0;
    }

    .ls-filters__open {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        width: 100%;
        min-height: 48px;
        padding: 0 var(--ls-space-5);
        border: 1px solid var(--ls-hairline-strong);
        border-radius: var(--ls-radius-md);
        background: var(--ls-surface-1);
        color: var(--ls-text);
        font-family: var(--ls-font-display);
        font-size: var(--ls-btn-font);
        font-weight: 700;
        letter-spacing: var(--ls-tracking-button);
        word-spacing: -0.05em;
        text-transform: uppercase;
        cursor: pointer;
    }

    .ls-filters__badge {
        min-width: 22px;
        padding: 1px 7px;
        border-radius: var(--ls-radius-pill);
        background: var(--ls-red-btn);
        font-family: var(--ls-font-body);
        font-size: var(--ls-caption);
        font-weight: 700;
        letter-spacing: 0;
    }

    .ls-filters__scrim {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 999998;
        background: rgba(0, 0, 0, 0.65);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.28s ease;
    }

    body.ls-filters-open .ls-filters__scrim {
        opacity: 1;
        pointer-events: auto;
    }

    /* Divi gives every column `position: relative; z-index: 2`, which makes the
       column a stacking context. A `position: fixed` sheet inside it is
       therefore stacked INSIDE that context no matter how high its own
       z-index goes, and the 3/4 column next to it -- same z-index, later in
       the DOM -- paints straight over the top. Measured on 2026-09-06: the
       product grid was drawn over the open sheet.

       Raising the column itself is what lifts the sheet clear. It is scoped to
       the open state so the column goes back to Divi's z-index: 2 the moment
       the sheet closes.

       Divi claims the column's z-index from `.et-db #et-boc .et-l .et_pb_column`
       -- (1,3,0) -- so the override has to carry the same prefix or it loses
       on specificity and the sheet stays buried. */
    body.et-db.ls-filters-open #et-boc .et-l .et_pb_column.ls-filters-col,
    body.ls-filters-open .et_pb_column.ls-filters-col {
        z-index: 999999;
    }

    /* The sheet itself never scrolls -- .ls-filters__scroll does. A fixed
       footer inside a scrolling, transformed ancestor rides the scroll on iOS,
       which is exactly how the drawer this replaced broke. */
    .ls-filters__panel {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999999;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        border-top: 1px solid var(--ls-hairline);
        border-radius: var(--ls-radius-xl) var(--ls-radius-xl) 0 0;
        background: var(--ls-surface-1);
        box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.55);
        transform: translateY(100%);
        transition: transform 0.28s ease;
        visibility: hidden;
    }

    body.ls-filters-open .ls-filters__panel {
        transform: none;
        visibility: visible;
    }

    body.admin-bar .ls-filters__panel {
        top: 110px;
    }

    .ls-filters__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex: 0 0 auto;
        padding: var(--ls-space-3) var(--ls-space-4);
        border-bottom: 1px solid var(--ls-hairline-faint);
        font-family: var(--ls-font-display);
        font-size: var(--ls-h5);
        font-weight: 700;
        letter-spacing: var(--ls-tracking-caps);
        text-transform: uppercase;
    }

    .ls-filters__close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin-right: -10px;
        border: 0;
        background: none;
        color: var(--ls-text-soft);
        font-size: 1.75rem;
        line-height: 1;
        cursor: pointer;
    }

    .ls-filters__scroll {
        flex: 1 1 auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        padding: var(--ls-space-4) var(--ls-space-4) var(--ls-space-6);
    }

    .ls-filters__foot {
        display: flex;
        gap: 10px;
        flex: 0 0 auto;
        padding: var(--ls-space-3) var(--ls-space-4);
        padding-bottom: calc(var(--ls-space-3) + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid var(--ls-hairline);
        background: var(--ls-surface-1);
    }

    .ls-filters__foot .ls-btn {
        min-height: 52px;
    }

    .ls-filters__foot .ls-btn--outline {
        flex: 0 0 38%;
    }

    /* Everything tappable clears 44px inside the sheet -- the same rule the
       tap-target layer in mobile.css section 8 applies sitewide, and the same
       --ls-tap token. The chips, price bands and era links used to sit at 38px
       here, which is where a Sep 6 audit caught them. */
    .ls-facet__opt,
    .ls-facet__more,
    .ls-garage__links button,
    .ls-garage__all,
    .ls-fchip,
    .ls-price__bands button,
    .ls-filters__links a,
    .ls-era,
    .ls-facet__segbtn > span {
        min-height: var(--ls-tap, 44px);
    }

    .ls-facet__head {
        min-height: 52px;
    }

    /* Form controls in the panel are height-locked to --ls-control-h-sm (40px)
       by the form-controls block further up, which also sets `min-height: 0`.
       A min-height here would lose to that `height`, so the height itself is
       raised -- behind the same `.et-db #et-boc .et-l` prefix that rule uses,
       or it never lands. Covers search-in-category, find-a-brand, the two
       price number fields and the three Garage selects. */
    .et-db #et-boc .et-l .ls-filters input[type="search"],
    .et-db #et-boc .et-l .ls-filters input[type="number"],
    .et-db #et-boc .et-l .ls-filters select {
        height: var(--ls-tap, 44px);
    }

    /* Price slider. `pointer-events: none` on the input means the rail is not
       the hit area -- the THUMB is, and it was 16px. The thumb box goes to
       26 x 44 and is painted transparent, with the visible 18px dot drawn as a
       radial-gradient inside it: full tap height, no change to how the control
       looks. Width stays 26 on purpose -- a 44px-wide thumb shifts the range
       inset far enough that the thumb visibly desyncs from `.ls-price__fill`,
       which JS positions from percentages. */
    .ls-price__rail {
        height: var(--ls-tap, 44px);
    }

    .ls-price__track,
    .ls-price__fill {
        top: 20px;
    }

    .et-db #et-boc .et-l .ls-price__rail input[type="range"] {
        height: var(--ls-tap, 44px);
    }

    .ls-price__rail input[type="range"]::-webkit-slider-thumb {
        width: 26px;
        height: 44px;
        border: 0;
        border-radius: 0;
        background: transparent;
        background-image: radial-gradient(circle at 50% 50%,
            #fff 0 7px,
            var(--ls-purple) 7px 9px,
            transparent 9px);
    }

    .ls-price__rail input[type="range"]::-moz-range-thumb {
        width: 26px;
        height: 44px;
        border: 0;
        border-radius: 0;
        background: transparent;
        background-image: radial-gradient(circle at 50% 50%,
            #fff 0 7px,
            var(--ls-purple) 7px 9px,
            transparent 9px);
    }

    /* "Ask about fitment" is an inline link inside a paragraph. Vertical
       padding on an inline box does not contribute to line height, so this
       reaches 44px without moving the help card one pixel -- the technique the
       review-count link uses. Verify it with elementFromPoint(), not
       getBoundingClientRect(): the anchor's own box stays 15px. */
    .ls-filters__help a,
    .et-db #et-boc .et-l .ls-filters__help a {
        padding: 15px 0;
    }
}

/* --- archive result count / sorting row ----------------------------------- */
/* WooCommerce floats the count left and the sort select right. Below 768px
   there is not room for both on one line, so they overlap awkwardly under the
   filter button. Stack them instead. */

@media (max-width: 767px) {
    .woocommerce .woocommerce-result-count,
    .woocommerce .woocommerce-ordering {
        float: none;
        width: 100%;
        margin: 0 0 var(--ls-space-3);
    }
    /* layout.css now claims this select at `.woocommerce .woocommerce-ordering
       select.orderby` (and again behind the `.et-db #et-boc .et-l` prefix) to
       get past Divi's generated `.orderby` rule. Match that weight here or the
       desktop `width: auto` wins and the select stops filling the row. */
    .woocommerce .woocommerce-ordering select,
    .woocommerce .woocommerce-ordering select.orderby,
    .et-db #et-boc .et-l .woocommerce .woocommerce-ordering select.orderby {
        width: 100%;
        min-width: 0;
    }
}

/* ============================================================================
   12. HOSTED CARD FIELDS (PayPal)

   The three inputs a customer types into are cross-origin PayPal iframes, held
   in `div[id^="zoid-paypal-card-"]` containers. Their white interior is not
   reachable from this sheet and never will be. Rather than fight that, the
   fields are GROUPED into one labelled block so the white reads as the
   deliberate secure area -- the pattern Stripe and Shopify use -- instead of
   three mismatched boxes floating on a dark form.

   NOTHING HERE TOUCHES A PAYPAL CODE PATH. Container, label and spacing only.

   Verified against the live checkout, 1 Sep 2026:

   - The zoid containers compute `border-radius: 0` yet the fields render with
     rounded corners, so the rounding is PayPal's own, from inside the iframe.
     Do NOT add a radius or `overflow: hidden` here; it is a no-op, and dead
     rules do not belong on a payment form.
   - Text colour inside the iframes is set by mu-plugins/lsfab-checkout-card-
     fields.php, which forces the three hidden template <input> elements dark so
     PayPal copies a dark `color` onto its white background. Without it the
     typing is invisible. LEAVE THAT PLUGIN ALONE.
   - absorbed.css carries no ppcp, credit-card or payment_box rules, so nothing
     loading after this sheet can outrank the block. No `!important` is used or
     needed: specificity alone beats the shared .payment_box rule in section 5
     (1,2,1) and the shared payment-method label rule (1,3,2).
   - The zoid container ids carry a random per-load uid suffix -- only the
     `zoid-paypal-card-` prefix is stable. Nothing below depends on them.
   - Section 5 already sets .form-row-first/.form-row-last to 100% below 980px,
     so expiry and CVV stack full width and this padding cannot squeeze them.
   - This file is served as `text/css` with NO charset, so the separator is a
     CSS escape, not a literal UTF-8 character.
   ========================================================================= */

/* Flatten this gateway's shared box so the fieldset below is the only frame.
   Scoped to the card gateway; the PayPal and Google Pay boxes are untouched. */
.woocommerce-checkout #payment li.payment_method_ppcp-credit-card-gateway div.payment_box {
    background-color: transparent;
    padding: var(--ls-space-1) 0 0;
    margin-top: var(--ls-space-2);
}

/* PALETTE FLIPPED TO LIGHT, 2026-09-04.
   The grouping above was right and the dark ground was not: three white
   PayPal frames on a barely-lighter dark panel still read as a rendering
   fault, because the panel disagreed with the only part of it a shopper
   actually looks at. The panel now carries the light ground the frames were
   always going to have, and the caption and labels flip to dark with it. The
   frames are unchanged and untouched — this is still container, label and
   spacing only, and the mu-plugin that forces the template inputs dark is
   still what colours the typing inside them. LEAVE THAT PLUGIN ALONE. */
.woocommerce-checkout #payment #wc-ppcp-credit-card-gateway-cc-form {
    background-color: #f4f4f6;
    border: 1px solid #d5d5de;
    border-radius: var(--ls-radius-md);
    padding: var(--ls-space-4);
    margin: var(--ls-space-3) 0 0;
}

.woocommerce-checkout #payment #wc-ppcp-credit-card-gateway-cc-form::before {
    content: "Card details \00b7\00a0secured by PayPal";
    display: block;
    font-family: var(--ls-font-display);
    font-weight: 600;
    font-size: var(--ls-micro);
    letter-spacing: var(--ls-tracking-button);
    text-transform: uppercase;
    color: #6b6b78;
    margin: 0 0 var(--ls-space-3);
}

/* These were 14px at button tracking (.12em) while every other field label on
   the checkout is 11px at the eyebrow tracking from components.css. Two
   things came of that: the card labels did not match the billing labels a few
   inches to their left, and "EXPIRY (MM/YY)" was 150px wide in a 157px column,
   so it wrapped to two lines while "CVV" beside it took one — which left the
   two fields sitting at different heights. Same treatment as every other
   field label now, recoloured for the light ground. */
.woocommerce-checkout #payment #wc-ppcp-credit-card-gateway-cc-form label {
    font-size: var(--ls-micro);
    letter-spacing: var(--ls-tracking-eyebrow);
    line-height: 1;
    color: #3a3a45;
    margin-bottom: var(--ls-space-2);
}

/* The red required asterisk is --ls-red on a dark ground everywhere else;
   at 4.0:1 on #f4f4f6 it needs the darker step to stay readable here. */
.woocommerce-checkout #payment #wc-ppcp-credit-card-gateway-cc-form .required,
.woocommerce-checkout #payment #wc-ppcp-credit-card-gateway-cc-form abbr.required {
    color: var(--ls-red-hover);
    text-decoration: none;
    border: 0;
}

/* Each frame sits in a zoid container whose id carries a per-load uid, so the
   `zoid-paypal-card-` prefix is the only stable hook (noted above). They were
   three different widths and two different heights; one box for all three. */
.woocommerce-checkout #payment #wc-ppcp-credit-card-gateway-cc-form div[id^="zoid-paypal-card-"] {
    display: block;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #c3c3cf;
    border-radius: var(--ls-radius-sm);
}
/* No `height` here on purpose. PayPal sizes these containers from inside the
   frame — the three measure 54px and agree with each other, and a height set
   from this side is either ignored or clips the field. Same rule as the
   border-radius note above: do not add one back. */

/* One 12px step between all three fields. Card number carried it and the
   other two did not, so on a phone — where section 5 stacks first/last full
   width — there was 26px under the card number and 14px under the expiry.
   Above 981px expiry and CVV share a line and only need the space below it. */
.woocommerce-checkout #payment #wc-ppcp-credit-card-gateway-cc-form p.form-row {
    margin-bottom: var(--ls-space-3);
}
@media (min-width: 981px) {
    .woocommerce-checkout #payment #wc-ppcp-credit-card-gateway-cc-form p.form-row.form-row-first,
    .woocommerce-checkout #payment #wc-ppcp-credit-card-gateway-cc-form p.form-row.form-row-last {
        margin-bottom: 0;
    }
}


/* ============================================================================
   13. TAP TARGETS

   Five controls the 1 Sep probe sweep measured under the 44px minimum. None
   of them were broken; one of them was.

   ⚠️ THE CART CAROUSEL WAS ACTUALLY BROKEN, not just small. Its nav row is
   [prev][25 bullets][next]. The bullet strip is `flex-wrap: nowrap` with 25
   children that will not shrink far enough, so at 375px it measured 497px
   wide, ran 239px past the nav, squashed the prev arrow from 25px to 7px and
   pushed the next arrow to x=577 -- entirely off-screen. Both arrows were
   unreachable on a phone. The bullets are hidden below 980px rather than
   wrapped: 25 five-pixel bars wrap to five rows and are still not individually
   tappable, so they cost layout and buy nothing. Arrows plus swipe remain.
   Reversible in one line if the dots are wanted back.

   ⚠️ `height` DOES NOT TAKE on .wc-nav-prev / .wc-nav-next, not even with
   !important -- verified on live, the element stays 25px. `min-height` works.
   Do not "simplify" these to `height`.

   The gallery pager is a hit-area fix, not a visual one: the dots keep their
   10px look and gain a transparent 24x44 box on the <li>, which is where slick
   binds its click. The <ul> is absolutely positioned over the image, so the
   taller box costs no layout. Spacing goes 3px to 7px so the boxes abut at a
   24px pitch instead of overlapping -- overlapping targets are worse than
   small ones, because the wrong dot fires.

   24px, not 44px, is the bar for the gallery dots and the review expanders:
   WCAG 2.2 AA (2.5.8) asks for 24x24 or equivalent spacing, and both controls
   sit beside a larger alternative (swipe the gallery, tap the review body).
   Spending 34px of vertical layout to reach AAA on a decorative pager is a bad
   trade. The share row and the carousel arrows have no alternative, so those
   go to a full 44.
   ========================================================================= */

/* --- WooThumbs gallery pager, all widths -------------------------------- */

.iconic-woothumbs-images ul.slick-dots li {
    position: relative;
    margin: 0 7px;
}
.iconic-woothumbs-images ul.slick-dots li::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 44px;
    transform: translate(-50%, -50%);
}

/* --- CusRev's "..." expanders in the reviews block, all widths ---------- */

.sb-expand-on-click {
    min-width: 24px;
}

@media (max-width: 980px) {

    /* --- SHARE THIS BUILD row --------------------------------------------
       ls-social is token-driven, so the size class is the way in rather than
       fighting its rules: .lssoc-size-small sets --lssoc-btn: 36px at (0,1,0)
       and this restates it at (0,2,0). The icon has its own token and stays
       16px, so the buttons get airier rather than bigger-looking. Desktop
       keeps 36px, which already clears the AA minimum for a mouse. */
    .lssoc.lssoc-size-small {
        --lssoc-btn: 44px;
    }

}


/* ============================================================================
   14. CATEGORY "ABOUT" BLOCK

   Moved out of Divi body layout 459878 ("All Product Category Pages") on
   2026-09-01. It was the last of the three inline blocks the theme rebuild set
   out to retire: 5,887 bytes printed into the body of every product category
   page, after every stylesheet on the page.

   ⚠️ WHY EVERY RULE CARRIES !important (53 of them). This block styles Divi
   Theme Builder modules, and Divi emits its own per-module CSS inline with
   !important of its own. These are not defensive habit -- strip them and Divi
   wins. See section 9's notes on the same problem.

   ⚠️ THE SQUARE-BRACKET RULE NO LONGER APPLIES. While this lived in an
   [et_pb_code] module the shortcode parser mangled square brackets, so it had
   to avoid attribute selectors entirely. In a real stylesheet that constraint
   is gone -- if a rule here would read better as [data-…], it can be.

   Moving it EARLIER in the cascade (from end-of-body to a priority-10 theme
   sheet) was verified rather than assumed: computed styles for every element
   on a category page, inline block enabled vs this section, must diff to zero.
   ========================================================================= */

/* LS FABRICATION - CATEGORY "ABOUT" BLOCK
   Lives in Divi body layout 459878 (All Product Category Pages), so one edit
   covers every product category. Fold into lsfab/css/woocommerce.css when the
   mount is up. No square brackets in here - the shortcode parser mangles them
   inside an et_pb_code module. */

.ls-catabout{background:var(--ls-bg) !important;}

.ls-catabout .et_pb_row.ls-catabout__card{
position:relative;
background:var(--ls-surface-1);
border:1px solid var(--ls-hairline);
border-radius:var(--ls-radius-xl);
overflow:hidden;
}
/* NOTE: the card's PADDING and WIDTH are set in the Divi row settings, not here.
   Divi emits row custom_padding as
   .et-db #et-boc .et-l .et_pb_row_N_tb_body.et_pb_row{padding-top:Xpx !important}
   at specificity (1,4,1), which beats any .ls-catabout .et_pb_row rule written
   here. Setting padding in this block silently loses top and bottom. */
.ls-catabout .et_pb_row.ls-catabout__card::before{
content:"";position:absolute;top:0;left:0;right:0;height:3px;
background:var(--ls-gradient-brand);
}
.ls-catabout .et_pb_column{width:100% !important;margin:0 !important;}
.ls-catabout .et_pb_module{margin-bottom:0 !important;}

.ls-catabout .ls-catabout__head{width:100% !important;margin:0 0 var(--ls-space-5) !important;padding:0 !important;}
.ls-catabout .ls-catabout__head h2{
font-family: var(--ls-font-display) !important;
font-weight: 700 !important;
font-size: var(--ls-h2) !important;
line-height: var(--ls-leading-tight) !important;
text-transform: none !important;
letter-spacing: 0 !important;
color: var(--ls-text) !important;
text-shadow: none !important;
margin: 0 !important;
padding: 0 !important;
}

.ls-catabout .ls-catabout__body{position:relative;width:100% !important;margin:0 !important;padding:0 !important;}
/* MULTI-COLUMN BODY COPY.
   The card runs the full 95% shop width (~1700px on a desktop), and a single
   74ch measure filled barely a third of it. The description now flows into
   newspaper columns: one below the Divi tablet breakpoint, two above it,
   three on wide screens. Every line still sits inside a readable measure -
   roughly 44-55ch per column - and the block fills the card. */
.ls-catabout .ls-catabout__body .et_pb_text_inner{
max-width:74ch;
column-gap:var(--ls-space-7);
column-rule:1px solid var(--ls-hairline-faint);
}
@media (min-width:981px){
.ls-catabout .ls-catabout__body .et_pb_text_inner{max-width:none;column-count:2;}
}
@media (min-width:1600px){
.ls-catabout .ls-catabout__body .et_pb_text_inner{column-count:3;}
}
/* Nothing may straddle a column break, and a heading never ends a column. */
.ls-catabout .ls-catabout__body h3,.ls-catabout .ls-catabout__body h4{break-after:avoid;break-inside:avoid;}
/* Only list ITEMS stay whole. Paragraphs and lists must be breakable: a
   description that is one long paragraph cannot fill three columns unless it
   is allowed to flow across them, and an unbreakable long list jumps to the
   next column and leaves a hole behind it.
   RE-TESTED Sep 4 2026 with the 17 heading+list collection descriptions, and
   the original call holds: break-inside:avoid on ul balances perfectly on
   paper but measured a 332px dead column on /lighting/ at 1920 and 184-210px
   on /universal/ at 1440-1920, i.e. the empty-column look this layout exists
   to fix. break-after:avoid on h3 already keeps a heading with the first item
   of its list, so nothing is left stranded alone. Do not "fix" this again. */
.ls-catabout .ls-catabout__body li{break-inside:avoid;}
/* A heading landing at the top of a column must not carry its stacking margin. */
.ls-catabout .ls-catabout__body > .et_pb_text_inner > *:first-child{margin-top:0 !important;}
.ls-catabout .ls-catabout__body p{
font-family: var(--ls-font-body) !important;
font-size: var(--ls-body) !important;
line-height: var(--ls-leading-body) !important;
color: var(--ls-text-muted) !important;
margin: 0 0 var(--ls-space-5) !important;
padding: 0 !important;
}
.ls-catabout .ls-catabout__body p:last-child{margin-bottom:0 !important;padding:0 !important;}
.ls-catabout .ls-catabout__body h3,.ls-catabout .ls-catabout__body h4{
font-family: var(--ls-font-display) !important;
font-weight: 700 !important;
font-size: var(--ls-h3) !important;
text-transform: none !important;
letter-spacing: 0 !important;
color: var(--ls-text) !important;
text-shadow: none !important;
margin: var(--ls-space-6) 0 var(--ls-space-3) !important;
line-height: var(--ls-leading-h3);
}
.ls-catabout .ls-catabout__body a,.et-db #et-boc .et-l .ls-catabout .ls-catabout__body a{
color:var(--ls-text) !important;text-decoration:underline;text-decoration-color:var(--ls-red);text-decoration-thickness:1px;text-underline-offset:3px;
}
.ls-catabout .ls-catabout__body a:hover,.et-db #et-boc .et-l .ls-catabout .ls-catabout__body a:hover{
color:var(--ls-red) !important;text-decoration-color:var(--ls-red);
}
.ls-catabout .ls-catabout__body a:focus-visible{outline:2px solid var(--ls-red);outline-offset:3px;border-radius:2px;}
/* Bottom spacing matches a paragraph (24px margin, no padding). Divi's own text-module ul padding-bottom stacked on top and left a list 16px further from the next heading than a paragraph was. */
.ls-catabout .ls-catabout__body ul{margin:0 0 var(--ls-space-5) !important;padding:0 0 0 20px !important;}
.ls-catabout .ls-catabout__body li{ position: relative; color: var(--ls-text-muted) !important; font-size: var(--ls-body) !important; line-height: var(--ls-leading-body) !important; margin-bottom: 6px !important; list-style: none !important; }
.ls-catabout .ls-catabout__body li::before{content:"";position:absolute;left:-14px;top:12px;width:5px;height:5px;border-radius:50%;background:var(--ls-red-btn);}

.ls-catabout .ls-catabout__body.is-clamped .et_pb_text_inner{max-height:220px;overflow:hidden;}
.ls-catabout .ls-catabout__body.is-clamped::after{
content:"";position:absolute;left:0;right:0;bottom:0;height:96px;pointer-events:none;
background:linear-gradient(180deg,rgba(17,17,17,0) 0%,var(--ls-surface-1) 92%);
}
/* The "Read more" clamp existed because a single 74ch column of 350 words was a
   very tall wall of text. In columns the same copy is roughly 590px tall, so the
   clamp only truncates columns mid-sentence for no gain - it stays for the
   single-column phone and tablet view only. The button is still injected by the
   layout's script; it is simply not needed here. */
@media (min-width:981px){
.ls-catabout .ls-catabout__body.is-clamped .et_pb_text_inner{max-height:none;overflow:visible;}
.ls-catabout .ls-catabout__body.is-clamped::after{display:none;}
.ls-catabout .ls-catabout__toggle{display:none;}
}

.ls-catabout__toggle{
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 40px;
padding: 0 20px;
margin-top: var(--ls-space-5);
background: transparent;
border: 1px solid var(--ls-hairline-strong);
border-radius: var(--ls-radius-md);
cursor: pointer;
font-family: var(--ls-font-display);
font-weight: 700;
font-size: var(--ls-btn-font-sm);
text-transform: uppercase;
letter-spacing: var(--ls-tracking-button);
color: var(--ls-text);
transition: background var(--ls-transition),border-color var(--ls-transition);
}
.ls-catabout__toggle:hover{background:var(--ls-surface-2);border-color:var(--ls-text);}
.ls-catabout__toggle:focus-visible{outline:2px solid var(--ls-red);outline-offset:2px;}

.ls-catabout__rel{margin-top:var(--ls-space-6);padding-top:var(--ls-space-5);border-top:1px solid var(--ls-hairline-faint);}
.ls-catabout__rel-label{
font-family: var(--ls-font-body);
font-weight: 600;
font-size: var(--ls-micro);
text-transform: uppercase;
letter-spacing: var(--ls-tracking-eyebrow);
color: var(--ls-text-faint);
margin: 0 0 var(--ls-space-3) !important;
line-height: 1.3;
}
.ls-catabout__chips{display:flex;flex-wrap:wrap;gap:8px;}
.ls-catabout__chips a,.et-db #et-boc .et-l .ls-catabout__chips a{
display: inline-flex;
align-items: center;
min-height: 36px;
padding: 0 14px;
background: var(--ls-surface-2);
border: 1px solid var(--ls-hairline);
border-radius: var(--ls-radius-pill);
font-family: var(--ls-font-body);
font-size: var(--ls-small);
line-height: 1;
color: var(--ls-text-muted) !important;
text-decoration: none !important;
transition: border-color var(--ls-transition),color var(--ls-transition);
}
.ls-catabout__chips a:hover,.et-db #et-boc .et-l .ls-catabout__chips a:hover{
border-color:var(--ls-red);color:var(--ls-text) !important;
}
.ls-catabout__chips a:focus-visible{outline:2px solid var(--ls-red);outline-offset:2px;}

@media (max-width:600px){
.ls-catabout .ls-catabout__body p,.ls-catabout .ls-catabout__body li{ font-size: var(--ls-body) !important; line-height: var(--ls-leading-body) !important; }
.ls-catabout .ls-catabout__body.is-clamped .et_pb_text_inner{max-height:180px;}
.ls-catabout__toggle{width:100%;}
}
@media (prefers-reduced-motion:reduce){
.ls-catabout__toggle,.ls-catabout__chips a{transition:none !important;}
}


/* ============================================================================
   15. SHOP BREADCRUMB ON THE SHOP ROOT

   Moved out of the `ls-shop-breadcrumb-fix` code module in Divi body layout
   459878 on 2026-09-01, alongside section 14.

   The Theme Builder body layout prints a WooCommerce breadcrumb module, which
   is right on a product category page and pointless on the shop root, where
   the crumb trail would read "Home / Shop" and nothing else. The :not() keeps
   it on /?post_type=product archives.
   ========================================================================= */

/* UPDATED 2026-09-06: the old selector was
   `body.woocommerce-shop:not(.post-type-archive-product)`, which never matched
   anything — WooCommerce puts BOTH classes on the shop root, so the :not()
   cancelled the rule it was attached to and the "Home / LS Fabrication Shop"
   trail showed anyway. Category archives carry tax-product_cat and not
   woocommerce-shop, so the bare class is enough on its own and keeps their
   trails intact. */
/* REVERSED 2026-09-08 (SP-24): the rule below hid the shop page's crumb at
   every width, not just where it was redundant, and that is what the audit
   measured as "crumb height 0 at 388px". Hiding it also left the shop page as
   the one archive whose BreadcrumbList JSON-LD described a trail no visitor
   could see -- the exact mismatch Google flags on Breadcrumb enhancements.
   The trail is one hop, "Home / LS Fabrication Shop", but it is a real link
   back out and it is what every other archive on the site now shows. */
body.woocommerce-shop .ls-crumbbar {
    display: block;
}

/* ==========================================================================
   PRODUCT COMPLIANCE WARNINGS
   The "For Off Road Use Only" card printed at the end of the Description tab
   by inc/lsfab-product-warnings.php. The California Prop 65 card that sat
   beside it was removed 2026-09-07 (Prop 65 applies only at 10+ employees). Values carried over
   verbatim from the retired Divi code module in body layout 604711, which used
   inline styles; the cascade inside .et_pb_tab_content is why the type and
   colour declarations are stated explicitly rather than inherited.
   ========================================================================== */
.ls-product-warnings {
	display: flex;
	flex-direction: column;
	gap: var(--ls-space-2);
	margin: var(--ls-space-6) 0 0;
}

.ls-product-warnings .ls-warning {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	background: #1a1a1a;
	border: 1px solid #2a2a2a;
	border-radius: 10px;
}

.ls-product-warnings .ls-warning__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	border-radius: 8px;
	font-size: 20px;
	line-height: 1;
}

.ls-product-warnings .ls-warning--offroad .ls-warning__icon {
	background: #fffbeb;
	color: #f59e0b;
}

.ls-product-warnings .ls-warning__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ls-product-warnings .ls-warning__title {
	display: block;
	margin: 0;
	color: #fff;
	font-size: var(--ls-body);
	font-weight: 600;
	line-height: var(--ls-leading-snug);
}

.ls-product-warnings .ls-warning__text {
	display: block;
	color: rgba( 255, 255, 255, 0.55 );
	font-size: var(--ls-small);
	line-height: var(--ls-leading-small);
}

@media (max-width: 480px) {
	.ls-product-warnings .ls-warning {
		align-items: flex-start;
		gap: 12px;
		padding: 14px;
	}

	.ls-product-warnings .ls-warning__icon {
		width: 36px;
		height: 36px;
		font-size: 17px;
	}
}


/* ============================================================================
   14. CART & CHECKOUT UX PASS — 2026-09-04
   --------------------------------------------------------------------------
   Everything below came out of measuring the two pages at 386px and 1200px
   rather than reading them. Each block says what was measured.

   Width-independent rules live here; the ones that only apply below 981px are
   in mobile.css sections 6 and 7, because mobile.css is the last stylesheet on
   the page (lsfab-mobile.php, priority 110) and several of them have to beat
   woocommerce-smallscreen.css.
   ========================================================================= */

/* --- 14a. Cart totals: the dead space above Proceed to checkout -----------
   Measured 30px (table margin) + 16px (wc-proceed padding) + 26px of empty
   .ppcp-messages = 72px of nothing between the total and the commit button,
   and more on a phone. .ppcp-messages is PayPal's Pay Later banner: it is
   always in the DOM, its iframe measures 0px high when there is no message to
   show, and the height that remains is the line-box of the inline <span>
   around it. line-height:0 collapses that line box; the iframe still gets its
   own height back when PayPal does render a message. */
.woocommerce .wc-proceed-to-checkout .ppcp-messages {
    margin: 0;
    line-height: 0;
}
.woocommerce .wc-proceed-to-checkout .ppcp-messages:not(:empty) > * { line-height: normal; }

/* The wrapper's own line box is not the only one — PayPal nests the iframe in
   a <span>, and restoring line-height there put the 20px straight back. Both
   go to zero; the iframe is a replaced element and reports its own height the
   moment PayPal renders a message into it. */
.woocommerce .wc-proceed-to-checkout .ppcp-messages,
.woocommerce .wc-proceed-to-checkout .ppcp-messages > span {
    line-height: 0;
    font-size: 0;
}
.woocommerce .wc-proceed-to-checkout .ppcp-messages iframe { display: block; }

/* One rhythm through the totals card: the table ends, a hairline separates,
   the commit button follows at the same 22px step used everywhere else.
   .cart-collaterals is in the selector for weight — WooCommerce's own sheet
   carries `.woocommerce table.shop_table { margin: 0 -1px 24px 0 }` and Divi
   raises it to 30px, both at the same class count. */
.woocommerce .cart-collaterals .cart_totals table.shop_table,
.woocommerce .cart-collaterals .cart_totals table.shop_table.shop_table_responsive {
    /* !important because the winning declaration is
       `table.cart td { margin-bottom: 30px !important }` in Divi's generated
       et-divi-dynamic-tb-183054-tb-183058 sheet — the cart and checkout both
       render inside Theme Builder templates, and that sheet marks its
       WooCommerce table rules important. Specificity cannot reach it. */
    margin-bottom: 0 !important;
}
.woocommerce .wc-proceed-to-checkout {
    margin-top: var(--ls-space-5);
    padding: var(--ls-space-5) 0 0;
    border-top: 1px solid var(--ls-hairline-faint);
}

/* PayPal's own button renders inside a cross-origin iframe that sizes itself,
   so it was finishing 400px short of the checkout button above it on desktop.
   Capping the wrapper to the same measure keeps the two right edges together. */
.woocommerce .wc-proceed-to-checkout .ppc-button-wrapper {
    max-width: 100%;
    margin-top: var(--ls-space-2);
}

/* --- 14b. Cart actions row: card edges ------------------------------------
   The line-item rows are cards (mobile.css section 4b) at x=38..333 on a
   390px screen. The actions row underneath is a plain <td> of the responsive
   table and landed at x=43..324 — 5px in on the left, 9px on the right. Two
   different left edges down one column is the thing that reads as "off" even
   when nothing is obviously broken. */
.woocommerce table.shop_table.cart tr:last-child td.actions,
.woocommerce table.shop_table.cart td.actions {
    border-radius: 0 0 var(--ls-radius-lg) var(--ls-radius-lg);
}

/* --- 14c. Coupon field and its button share a baseline -------------------
   The field is 48px (--ls-control-h) and the button 40px (--ls-btn-h-sm from
   the component layer), so the row had a 4px step in it at either end. The
   field comes down to the button rather than the other way round: this is a
   utility row, not a form. */
.woocommerce table.shop_table.cart td.actions .coupon input#coupon_code {
    height: var(--ls-btn-h-sm);
    min-height: var(--ls-btn-h-sm);
    line-height: var(--ls-btn-h-sm);
}

/* --- 14d. Empty cart -----------------------------------------------------
   functions.php filters wc_empty_cart_message into its own .empty-cart block,
   which is what prints "Your cart is empty". WooCommerce still renders the
   .cart-empty.woocommerce-info element it would normally have put the message
   in, and that element is now empty — but it keeps the notice styling, so an
   empty 1200px bordered slab sat between the message and Return to shop on an
   otherwise bare page. Hidden only when it has no content of its own, so a
   real notice (a removed-item message, a coupon error) still shows.

   :not(:has(*)) rather than :empty. WooCommerce leaves a newline and two tabs
   inside the div, and :empty counts whitespace as content, so it never
   matched. Testing for "contains no element" is the check that holds: the
   message, whenever WooCommerce does put one back in here, arrives wrapped in
   a <p> and the slab styles itself again. */
.woocommerce .wc-empty-cart-message .cart-empty:not(:has(*)),
.woocommerce .cart-empty.woocommerce-info:not(:has(*)) { display: none !important; }
.woocommerce .return-to-shop { margin-top: var(--ls-space-5); text-align: center; }

/* ============================================================================
   14e. CHECKOUT — one checkbox, three places
   --------------------------------------------------------------------------
   Measured on a guest checkout: "Subscribe to our newsletter" was 11px
   uppercase and letterspaced inside the billing card, "Create an account?"
   was 16px sentence case loose on the page background with no card at all,
   and "Ship to a different address?" was 20px inside its own card. Three
   controls that do the same thing, in three sizes, in three containers.

   They are one component now. The container each one sits in is not changed —
   that is WooCommerce's own markup order — only the control itself.
   ========================================================================= */
.woocommerce-checkout .woocommerce-form__label-for-checkbox,
.woocommerce-checkout #ship-to-different-address label,
.woocommerce-checkout .create-account label,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label.woocommerce-form__label-for-checkbox,
.woocommerce-checkout p.mailchimp-newsletter label,
.woocommerce-checkout #mailchimp_woocommerce_newsletter_field label {
    display: block;
    position: relative;
    padding-left: 32px;
    margin: 0;
    font-family: var(--ls-font-body);
    font-size: var(--ls-body);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: normal;
    text-transform: none;
    color: var(--ls-text-muted);
    cursor: pointer;
}

.woocommerce-checkout .woocommerce-form__input-checkbox,
.woocommerce-checkout #ship-to-different-address input[type="checkbox"],
.woocommerce-checkout .create-account input[type="checkbox"],
.woocommerce-checkout #payment input#terms,
.woocommerce-checkout #mailchimp_woocommerce_newsletter input[type="checkbox"] {
    position: absolute;
    left: 0;
    /* 3px of optical lead-in so a 20px box centres on a 24px line box. */
    top: 3px;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--ls-surface-2);
    border: 1px solid var(--ls-hairline-input);
    border-radius: var(--ls-radius-sm);
    cursor: pointer;
    transition: background-color var(--ls-transition), border-color var(--ls-transition);
}
.woocommerce-checkout .woocommerce-form__input-checkbox:checked,
.woocommerce-checkout #ship-to-different-address input[type="checkbox"]:checked,
.woocommerce-checkout .create-account input[type="checkbox"]:checked,
.woocommerce-checkout #payment input#terms:checked,
.woocommerce-checkout #mailchimp_woocommerce_newsletter input[type="checkbox"]:checked {
    background-color: var(--ls-red-btn);
    border-color: var(--ls-red-btn);
    /* Tick drawn as a background image so it does not depend on Font Awesome
       having loaded — the same reasoning as the tabs chevron in section 2. */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
}
.woocommerce-checkout .woocommerce-form__input-checkbox:focus-visible,
.woocommerce-checkout #ship-to-different-address input[type="checkbox"]:focus-visible,
.woocommerce-checkout .create-account input[type="checkbox"]:focus-visible,
.woocommerce-checkout #payment input#terms:focus-visible {
    outline: none;
    box-shadow: var(--ls-focus-ring);
}

/* "Create an account?" is the only one of the three with no panel of its own,
   which is why it looked like it had been left behind by the layout. It gets
   the same inset as the fields above it. */
.woocommerce-checkout .woocommerce-account-fields {
    margin: 0 0 var(--ls-space-5);
    padding: var(--ls-space-4) var(--ls-space-5);
    background-color: var(--ls-surface-1);
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-lg);
}
.woocommerce-checkout .woocommerce-account-fields .create-account { margin: var(--ls-space-4) 0 0; }
.woocommerce-checkout .woocommerce-account-fields > .form-row:last-child { margin-bottom: 0; }

/* Ship-to-different-address is a heading in WooCommerce's markup, so it keeps
   the panel heading's spacing while the label itself is now body copy. */
.woocommerce-checkout #ship-to-different-address {
    margin: 0 0 var(--ls-space-4);
    padding: 0;
    font-size: var(--ls-body);
}
.woocommerce-checkout .woocommerce-shipping-fields:has(#ship-to-different-address-checkbox:not(:checked)) { padding-bottom: var(--ls-space-4); }

/* --- 14f. Terms line: contrast -------------------------------------------
   Measured rgb(69,69,69) on the #1a1a1a payment panel: 1.9:1. The label
   inside it was rgba(255,255,255,.4), 3.4:1. This is the one line on the page
   a shopper is legally being asked to agree to, and it was the least legible
   text in the flow. --ls-text-muted is 11.6:1 on the same panel. */
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper,
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper label,
.woocommerce-checkout #payment .woocommerce-privacy-policy-text p {
    color: var(--ls-text-muted);
}
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper a { color: var(--ls-red); }
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper a:hover { color: var(--ls-coral); }
.woocommerce-checkout #payment .required { color: var(--ls-red); }

/* --- 14g. Payment method rows --------------------------------------------
   The four gateways were bare radios in a list: no hit area beyond the label
   text, and no visual state for the selected one beyond the dot itself. They
   become selectable rows, the same component as the shipping choices in the
   totals — a shopper meets that pattern in the cart first. */
.woocommerce-checkout #payment ul.wc_payment_methods li {
    margin: 0 0 var(--ls-space-2);
    padding: var(--ls-space-3) var(--ls-space-4);
    background-color: var(--ls-surface-1);
    border: 1px solid var(--ls-hairline-faint);
    border-radius: var(--ls-radius-md);
    transition: border-color var(--ls-transition), background-color var(--ls-transition);
}
.woocommerce-checkout #payment ul.wc_payment_methods li:last-child { margin-bottom: 0; }
.woocommerce-checkout #payment ul.wc_payment_methods li:hover { border-color: var(--ls-hairline); }
.woocommerce-checkout #payment ul.wc_payment_methods li:has(input.input-radio:checked) {
    border-color: var(--ls-red);
    background-color: rgba(255, 0, 68, 0.06);
}
.woocommerce-checkout #payment ul.wc_payment_methods li label {
    display: flex;
    align-items: center;
    gap: var(--ls-space-3);
    width: 100%;
    margin: 0;
    font-size: var(--ls-body);
}
/* The gateway logos ship at four different intrinsic heights — the PayPal
   mark was 14px next to a 24px Google Pay pill. */
.woocommerce-checkout #payment ul.wc_payment_methods li label img {
    max-height: 22px;
    width: auto;
    margin: 0 0 0 auto;
    padding: 0;
    vertical-align: middle;
}

/* --- 14h. PayPal card fields --------------------------------------------
   The card panel is section 12 of this sheet, written 1 Sep. It already
   groups the three PayPal frames into one labelled block for exactly the
   reason below; on 2026-09-04 its palette was flipped from dark to light.
   Everything about the card fields lives there, not here — see section 12.

   The one thing added here is the bot check, which ships in its light theme
   and was the last unexplained white rectangle on the page once the card
   panel above became deliberate. */
.woocommerce-checkout #payment .cf-turnstile,
.woocommerce-checkout #payment .cf-turnstile iframe,
.woocommerce-checkout #payment .g-recaptcha {
    margin: 0 0 var(--ls-space-4);
    max-width: 100%;
    border-radius: var(--ls-radius-md);
    overflow: hidden;
}

/* --- 14i. Place order ----------------------------------------------------
   The commit button had 25px above it and 16px below inside a panel whose own
   step is 22px. */
.woocommerce-checkout #payment .place-order { padding: var(--ls-space-5); }
.woocommerce-checkout #payment #place_order { margin: 0; }

/* --- 14j. Cart quantity stepper ------------------------------------------
   Buttons added by js/cart.js. The wrapper is already an inline-flex box with
   a border and overflow:hidden (section 3), so the two buttons only need to
   be sized and given a divider — nothing about the input changes. */
/* The wrapper is width:100px elsewhere in the cascade with overflow:hidden,
   which sized correctly around a lone input and clipped the "+" clean off
   once there were three children. It sizes to its content now. */
.woocommerce .quantity.ls-qty {
    flex-wrap: nowrap;
    width: auto !important;
    max-width: none;
}
.woocommerce .quantity.ls-qty .ls-qty-btn {
    flex: 0 0 auto;
    /* 40px square: the smallest comfortable touch target that still fits the
       40px control height used across the cart. */
    width: 40px;
    height: var(--ls-control-h-sm);
    min-height: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    color: var(--ls-text-soft);
    font-family: var(--ls-font-body);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background-color var(--ls-transition), color var(--ls-transition);
}
.woocommerce .quantity.ls-qty .ls-qty-btn:hover { background-color: rgba(255, 255, 255, 0.08); color: var(--ls-text); }
.woocommerce .quantity.ls-qty .ls-qty-btn:focus-visible { outline: none; box-shadow: inset var(--ls-focus-ring); color: var(--ls-text); }
.woocommerce .quantity.ls-qty .ls-qty-btn:first-child { border-right: 1px solid var(--ls-hairline-input); }
.woocommerce .quantity.ls-qty .ls-qty-btn:last-child  { border-left:  1px solid var(--ls-hairline-input); }
.woocommerce .quantity.ls-qty input.qty { width: 48px; }

/* The component layer forces width:100% and a 48px min-height on anything
   matching `.woocommerce button`, which would blow both buttons out to the
   width of the row. This is inside a control, not a button in its own right. */
.et-db #et-boc .et-l .woocommerce .quantity.ls-qty button.ls-qty-btn,
.woocommerce .quantity.ls-qty button.ls-qty-btn {
    width: 40px !important;
    min-width: 40px !important;
    min-height: var(--ls-control-h-sm) !important;
    padding: 0 !important;
    font-size: 1.125rem !important;
    letter-spacing: normal !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}
.et-db #et-boc .et-l .woocommerce .quantity.ls-qty button.ls-qty-btn:hover,
.woocommerce .quantity.ls-qty button.ls-qty-btn:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
}

/* --- 14k. Cart totals: shipping block ------------------------------------
   Two things measured on the live totals card.

   "Change address" renders a ::after from the WooCommerce icon font. That
   font is not being served on this site, so the glyph fell back to a solid
   red block sitting against the link — the small red artifact visible beside
   it on both cart and checkout. Replaced with a caret drawn from borders,
   which is the same approach the tabs and promo chevrons use for exactly this
   reason: it renders before, and without, any icon font.

   The label column is 38% of the card, which is right for a one-line
   Subtotal and leaves a 440px void beside a two-option shipment. The
   shipping row gets a narrower label and its destination lines stop being
   right-aligned against nothing. */
/* WooCommerce core owns this pseudo at
   `.woocommerce-cart .cart-collaterals .shipping-calculator-button::after`
   (0,3,1), so the selector below has to match that reach rather than the
   (0,2,1) it started at. */
.woocommerce-cart .cart-collaterals .shipping-calculator-button::after,
.woocommerce-checkout .cart-collaterals .shipping-calculator-button::after,
#add_payment_method .cart-collaterals .shipping-calculator-button::after,
.woocommerce .woocommerce .shipping-calculator-button::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 0 2px 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform var(--ls-transition);
    font-family: inherit;
}
.woocommerce-cart .cart-collaterals .shipping-calculator-button[aria-expanded="true"]::after,
.woocommerce-checkout .cart-collaterals .shipping-calculator-button[aria-expanded="true"]::after { transform: rotate(225deg); }

.woocommerce .cart_totals table.shop_table tr.woocommerce-shipping-totals th { width: 22%; }
.woocommerce .cart_totals table.shop_table tr.woocommerce-shipping-totals td { text-align: left; }
.woocommerce .cart_totals .woocommerce-shipping-destination,
.woocommerce .cart_totals .shipping-calculator-button { text-align: left; }
.woocommerce .cart_totals .shipping-calculator-button { display: inline-block; margin-top: var(--ls-space-2); }

/* --- 14l. Which items are in which shipment ------------------------------
   `.woocommerce-shipping-contents small` names the products in a package
   when a cart splits across shipments — a caption under the options, not a
   heading. It was rendering at 16px in full white, the same weight as the
   shipping prices above it, and on a phone it took two lines at the top of
   the eye's path through the block. */
.woocommerce .woocommerce-shipping-contents,
.woocommerce .woocommerce-shipping-contents small {
    display: block;
    margin-top: var(--ls-space-2);
    font-size: var(--ls-small);
    line-height: 1.4;
    color: var(--ls-text-soft);
}

/* --- 14m. Order review: the shipping row stacks at every width -----------
   The review table sits in the narrow column of a two-column checkout — 356px
   at 1200px viewport, narrower still on a laptop. Giving "SHIPMENT 1" its own
   120px label column left the two rate options 230px to sit in, so every rate
   wrapped onto a second line beside a column with one short word in it. The
   label goes above and the options get the full width of the card. This is
   the same shape mobile.css section 7 gives it below 981px; the row is narrow
   enough at every width that there is no reason to have two answers. */
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td {
    display: block;
    width: auto;
    text-align: left;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th {
    padding: var(--ls-space-3) 0 var(--ls-space-2);
    border-bottom: 0;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td {
    padding: 0 0 var(--ls-space-3);
}

/* The product tabs are the last module in their section, and that section
   already carries the 60px rhythm. The tabs' own trailing margin stacked on
   top of it, so the gap under the tabs measured 104px where everything else
   on the page is 60px — visible now that the upsell blocks sit below it. */
.ls-product-tabs .ls-tabs {
    margin-bottom: 0;
}

/* LS Upsell's Frequently Bought Together block sits ABOVE the tabs now, at the
   top of the same code module (Sep 7 2026, CVR-06: under the tabs only 205 of
   5,404 product-page sessions ever scrolled it into view). The plugin zeroes
   its top margin so it starts on the section padding; its own 32px bottom
   margin was then the gap to the tab strip - the one gap on the page that
   was not the section rhythm. Divi's section padding here, read off the
   rules that actually match: 4% above 980px, capped at 60px from 1500px
   (customizer), 50px at 980px and below. 4vw stands in for the 4%, which
   is of the full-width section, not of this 1200px row. */
.ls-product-tabs .lsups-anchored--before > .lsups:last-child {
    margin-bottom: 4vw;
}
@media (min-width: 1500px) {
    .ls-product-tabs .lsups-anchored--before > .lsups:last-child {
        margin-bottom: 60px;
    }
}
@media (max-width: 980px) {
    .ls-product-tabs .lsups-anchored--before > .lsups:last-child {
        margin-bottom: 50px;
    }
}

/* --- 14n. Cart actions row: one line, one baseline -----------------------
   absorbed.css (the old Additional CSS, enqueued last at priority 100) still
   carries `.woocommerce button.button { width: 100% !important; margin-top:
   25px !important; padding: 20px 10px !important }`. It was written for the
   single-product add to cart, but it matches every Woo button on the site, so
   on the cart it (a) pushed "Apply coupon" 25px down from the field it belongs
   to, (b) rendered that button 50px tall against a 40px field, and (c) forced
   "Update cart" to full width on a line of its own. Measured before: the
   actions cell was 178px tall to hold two 40px controls, and the field and
   its button shared neither a top nor a bottom edge.

   Size has to be restated with an id in the selector. components.css sets the
   base 48px height through `.et-db #et-boc .et-l .woocommerce button.button`;
   `.ls-btn--sm` names this row but is class-only, so it lost the height even
   though both are !important. Same trap as the border rule in section 4.

   Desktop only. Below 981px mobile.css section 6 deliberately runs these
   buttons full width, and an id-weighted rule would beat it at every width. */
@media (min-width: 981px) {
    .et-db #et-boc .et-l .woocommerce table.shop_table.cart td.actions .button,
    .et-db #et-boc .et-l .woocommerce table.shop_table.cart td.actions button.button,
    .et-db #et-boc .et-l .woocommerce table.shop_table.cart td.actions input.button {
        width: auto !important;
        min-height: var(--ls-btn-h-sm) !important;
        height: var(--ls-btn-h-sm) !important;
        margin: 0 !important;
        padding: 0 var(--ls-btn-pad-x-sm) !important;
        line-height: 1 !important;
    }
    /* Coupon left, Update cart right, both on the cell's single baseline —
       the layout the float in section 4 was always for. */
    .woocommerce table.shop_table.cart td.actions > button.button,
    .woocommerce table.shop_table.cart td.actions > input.button {
        float: right;
    }
}


/* ============================================================================
   12. SUMMARY COLUMN ABOVE THE FOLD (desktop, 2026-09-05)

   At 1080p the Add to cart button began at 1,129px — off-screen at load. The
   title (55px, three lines), rating, price, the viewing pill and four stacked
   variation selects filled the first screen on their own. Everything below is
   desktop-only (981px and up); phones keep the stacked layout and the sticky
   bar handles the fold there.

   What moves:
     - title 55px/66px -> 38px/42px, two lines instead of three
     - the viewing pill (.lsv--pill, LS Social Proof) shares the price row
     - variation selects sit in a 2-column grid; a lone last row spans both
     - the feature cards (#ls-features-wrap, [ls_features]) go 3-up
     - the availability line (.ls-ship-note, inc/lsfab-ship-note.php) sits
       under the button on every viewport

   The title rule needs !important: Divi prints the module's header_font_size
   into the head after this sheet, prefixed with the #et-boc ID. The feature
   card rules double up on the column class because absorbed.css (enqueued at
   priority 100, after this sheet) restyles the same cards.
   ========================================================================= */

/* Availability line — all viewports */
.ls-ship-note {
    display: flex;
    align-items: center;
    gap: var(--ls-space-2);
    margin: var(--ls-space-3) 0 0;
    padding: 0;
    font-family: var(--ls-font-body);
    font-size: var(--ls-small);
    line-height: var(--ls-leading-small);
    color: var(--ls-text-soft);
}
.ls-ship-note strong { color: var(--ls-text); font-weight: 600; }
.ls-ship-note__dot {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ls-green);
}
.ls-ship-note.is-out .ls-ship-note__dot { background: var(--ls-red); }
/* Variable product with at least one sold-out option: no claim either way
   until a variation is chosen. */
.ls-ship-note.is-pending .ls-ship-note__dot { background: var(--ls-text-ghost); }
.ls-ship-note.is-pending strong { color: var(--ls-text-muted); font-weight: 500; }
.et_pb_column.ls-product-summary form.cart:has(+ .ls-ship-note) { margin-bottom: 0; }

@media (min-width: 981px) {

    /* Title: two lines instead of three */
    body.et-db #et-boc .et-l .et_pb_column.ls-product-summary .et_pb_text h1 {
        font-size: var(--ls-h1) !important;
        line-height: var(--ls-leading-h1) !important;
    }

    /* Rating row, one compact line */
    .et_pb_column.ls-product-summary .woocommerce-product-rating {
        display: flex;
        align-items: center;
        gap: var(--ls-space-2);
        line-height: 20px;
    }
    .et_pb_column.ls-product-summary .woocommerce-product-rating .star-rating {
        margin: 0;
        font-size: 16px;
    }
    .et_pb_column.ls-product-summary .woocommerce-review-link { font-size: var(--ls-small); }

    /* The price + pill shared row is GONE (2026-09-08). Neither element is a
       child of this column any more: the price is captured out of the Divi
       module and re-printed under the option cards, and the pill mounts under
       the rating. The column is a plain block stack again. */

    /* Variation selects: two columns */
    .woocommerce div.product form.cart table.variations {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--ls-space-3) var(--ls-space-4);
    }
    .woocommerce div.product form.cart table.variations tbody { display: contents; }
    .woocommerce div.product form.cart table.variations tr {
        display: flex;
        flex-direction: column;
        min-width: 0;
        padding: 0 !important;
    }
    /* !important: Divi's add-to-cart module prints its own tr/th/td padding
       and line-height after this sheet (the tr carried 15px on top). */
    .woocommerce div.product form.cart table.variations th,
    .woocommerce div.product form.cart table.variations td {
        display: block;
        height: auto;
        padding: 0 !important;
        line-height: 1.4 !important;
    }
    .woocommerce div.product form.cart table.variations th.label label {
        display: block;
        margin-bottom: var(--ls-space-2);
    }
    .woocommerce div.product form.cart table.variations tr:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .woocommerce div.product form.cart table.variations select { width: 100%; }

    /* Feature cards: side by side. Back to auto-fit on 2026-09-07 when the
       returns / final-sale card was removed — with a maximum of three cards
       again they fit one row and the two-column variant it briefly used has
       nothing left to solve. */
    .et_pb_column.ls-product-summary #ls-features-wrap {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 10px;
        margin: 0;
    }
    .et_pb_column.ls-product-summary .ls-feature-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px;
    }
    .et_pb_column.ls-product-summary .ls-feature-icon {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
    /* A single card keeps the original one-line row layout. */
    .et_pb_column.ls-product-summary .ls-feature-card:only-child {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding: 14px 18px;
    }
    .et_pb_column.ls-product-summary .ls-feature-title { margin-bottom: 4px; font-size: var(--ls-small); line-height: var(--ls-leading-snug); }
    .et_pb_column.ls-product-summary .ls-feature-sub { display: block; font-size: var(--ls-caption); line-height: var(--ls-leading-snug); }
}

/* ============================================================================
 * 16. NATIVE ARCHIVE LOOP (.ls-product-loop)
 * [ls_product_loop] (functions.php, section 3b) replaced the Divi Shop module
 * in the "All Product Category Pages" and "All Product Brand Pages" Theme
 * Builder layouts in Sep 2026. The module's design settings used to be emitted
 * as inline .et_pb_shop_0_tb_body rules; they are restated here, on the same
 * .et-db #et-boc .et-l prefix, so the grid renders exactly as before.
 * ======================================================================== */
/* 2026-09-08: this was `width: 100%` alongside the 50px left margin, carried
   over from the Divi module's inline rules. 100% of the column PLUS a 50px
   margin is 50px wider than the column, so every row's fourth card ran past
   the content edge and was clipped by `html { overflow-x: clip }`. A block
   element sizes itself around its margins on its own. */
.et-db #et-boc .et-l .ls-product-loop {
    margin: 0 0 0 50px;
    width: auto;
}
/* SP-23 (2026-09-07): the card title left the heading outline and is now a
   div.woocommerce-loop-product__title. The bare `h2` here was the one selector
   in the theme that keyed on the tag rather than the class, so it is named
   explicitly -- the h2 is kept alongside it for the two Divi Shop modules that
   still render Woo's own title markup (page 606025, layout 606346). */
.et-db #et-boc .et-l .ls-product-loop .woocommerce ul.products li.product h2,
.et-db #et-boc .et-l .ls-product-loop .woocommerce ul.products li.product .woocommerce-loop-product__title,
.et-db #et-boc .et-l .ls-product-loop .woocommerce ul.products li.product .price,
.et-db #et-boc .et-l .ls-product-loop .woocommerce ul.products li.product .price .amount {
    color: #fff !important;
    text-align: left;
}
.et-db #et-boc .et-l .ls-product-loop .woocommerce ul.products li.product .price ins .amount {
    font-weight: 600;
    color: #ff0044 !important;
}
.et-db #et-boc .et-l .ls-product-loop .star-rating {
    letter-spacing: 3px;
    text-align: left;
    width: calc(5.4em + (3px * 4));
}
.et-db #et-boc .et-l .ls-product-loop .star-rating > span:before {
    color: #ffbb00 !important;
}
.et-db #et-boc .et-l .ls-product-loop .et_shop_image {
    background-color: #000;
}
.et-db #et-boc .et-l .ls-product-loop .et_shop_image > img,
.et-db #et-boc .et-l .ls-product-loop .et_shop_image .et_overlay {
    border-radius: 3px 3px 0 0;
    overflow: hidden;
}
/* The Divi Shop module's hover setting used to punch the image to
   contrast(187%) and it was restated here with the rest of its design when
   the module was replaced. Removed Sep 7 2026 at Tay's request -- the card
   already has a hover treatment it does not fight with (the installed-photo
   crossfade and 1.045 zoom from the "Install Image Hover" snippet). */
.et-db #et-boc .et-l .ls-product-loop .et_overlay {
    background-color: rgba(255, 255, 255, 0) !important;
    border-color: rgba(255, 255, 255, 0) !important;
}
.et-db #et-boc .et-l .ls-product-loop .et_overlay:before {
    color: #000 !important;
}
.et-db #et-boc .et-l .ls-product-loop li.product .onsale {
    z-index: 100;
    color: #fff !important;
    background-color: #2b2b2b !important;
    padding: 6px 18px !important;
    margin: 0 !important;
}
@media only screen and (max-width: 980px) {
    .et-db #et-boc .et-l .ls-product-loop {
        margin-left: 0;
        margin-right: 0;
    }
}
@media only screen and (max-width: 767px) {
    .et-db #et-boc .et-l .ls-product-loop .woocommerce ul.products li.product .onsale {
        font-size: var(--ls-caption);
    }
}

/* Hidden on desktop: the button only exists for the <= 980px batching below. */
.ls-product-loop .ls-loadmore {
    display: none;
}

/* Load more (phones + tablets). Cards past the first batch are hidden by the
   inline script in lsfab_product_loop_load_more(); desktop never hides. */
@media only screen and (max-width: 980px) {
    .et-db #et-boc .et-l .ls-product-loop ul.products > li.product.ls-more-hidden {
        display: none !important;
    }
    .ls-product-loop .ls-loadmore {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: var(--ls-space-2);
        margin: var(--ls-space-5) 0 0;
    }
    .ls-product-loop .ls-loadmore.is-active {
        display: flex;
    }
    .ls-product-loop .ls-loadmore__btn {
        width: 100%;
        max-width: 360px;
    }
    .ls-product-loop .ls-loadmore__count {
        font-size: var(--ls-small);
        color: rgba(255, 255, 255, 0.55);
    }
}

/* ABOUT BLOCK ON PRODUCT TAG ARCHIVES.
   The category version takes its card padding and width from the Divi row
   settings, which do not exist here because this block is emitted by the
   theme rather than by Divi. Divi's own row rule lands at specificity
   (1,4,1), so the padding below is written through the same .et-db #et-boc
   .et-l prefix to beat it. Scoped to the --tag modifier throughout, so
   product category pages are untouched. */
.ls-catabout--tag{margin-top:var(--ls-space-7);}
.ls-catabout--tag .et_pb_row.ls-catabout__card,
.et-db #et-boc .et-l .ls-catabout--tag .et_pb_row.ls-catabout__card{
width:100% !important;
max-width:none !important;
padding:var(--ls-space-7) var(--ls-space-6) !important;
}
/* The card sits inside the 3/4 content column here rather than running the
   full shop width, so the newspaper columns the category card uses would be
   too narrow. Single column at a 74ch measure instead. */
.ls-catabout--tag .ls-catabout__body .et_pb_text_inner{
column-count:1 !important;
column-rule:none !important;
}
@media (max-width:980px){
.ls-catabout--tag .et_pb_row.ls-catabout__card,
.et-db #et-boc .et-l .ls-catabout--tag .et_pb_row.ls-catabout__card{
padding:var(--ls-space-6) var(--ls-space-5) !important;
}
}


/* ============================================================================
   16. BREADCRUMB IN THE HERO, UNDER THE H1

   Placement history, because this has moved four times and the reasons
   matter:

     - to 2026-09-06 the trail sat inside the PRODUCT column of body layout
       459878, below the mobile Filter button and on top of the result count.
     - 2026-09-06 it was given its own black section ABOVE the hero. That
       section carried Divi's default section padding, so it was ~100px of
       slab to show one line of 13px type.
     - 2026-09-08 it was moved INTO the hero row, under the H1.
     - 2026-09-08 it was moved OUT again into its own `ls-crumbband` section
       between the hero and the content, on the content row's 95% gutter --
       which put the trail on a different left edge from the title above it.
     - 2026-09-09 (this block) Tay asked for it back under the heading, in the
       hero. The `ls-crumbband` section is gone from both layouts.

   The `et_pb_wc_breadcrumb` module now sits in the HERO ROW of layouts
   459878 (shop + all product categories) and 462894 (tag, brand and
   attribute archives), directly after the title module, so the trail starts
   on the same left edge as the eyebrow and the H1 -- one left rail inside
   the band.

   EVERY box value here is stated in CSS with `!important` and the full Divi
   scope on purpose. Divi does not reliably emit module margins or the
   module's own colours on TAXONOMY archives -- after any clear of
   wp-content/et-cache the regenerated term stylesheet comes back without
   them (documented on .ls-page-hero in site.css). The title module's own
   `custom_margin="||0px"` and the crumb's `custom_margin="16px||0px"` are
   set in the Builder too, so the source agrees, but the CSS is what holds.

   Vertical rhythm inside the band, measured rather than guessed:
     desktop  eyebrow | 12 | H1 | 16 | trail | 48 (hero padding) | rule
     <=980px  eyebrow | 12 | H1 | 12 | trail | 32 (hero padding) | rule
   The 44px tap targets the crumb links carry below 980px (mobile.css §8)
   are inline-flex boxes with a min-height, which DOES grow the line box, so
   the phone margin is trimmed to keep the visual gap the same.

   CONTRAST. The hero photo is darkened with an inset rgba(0,0,0,.80) shadow,
   so the brightest pixel under the trail is ~#333. Links are pure white
   (>= 12:1 there). The current-page label and the separators use
   --ls-text-muted (70% white) rather than --ls-text-soft (55%): 55% white
   over #333 is 5.0:1 at best and the trail is 14px regular Inter, which
   needs 4.5:1 -- too little margin on a photo. 70% white over #333 is 7.1:1
   and over the black it mostly sits on, 10:1. Still visibly quieter than the
   white links, so the trail reads as links + current page.
   ========================================================================= */

/* The title module is no longer the last child of the hero column, so Divi's
   default module gap (2.75% of the column) would open under it. Zeroed here
   and in the module's own settings. :has() is supported everywhere the site
   already relies on it (header.css mega panel). */
.ls-page-hero .et_pb_text:has(+ .ls-crumbbar),
body.et-db #page-container #et-boc .et-l .ls-page-hero .et_pb_text:has(+ .ls-crumbbar) {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.ls-page-hero .ls-crumbbar.et_pb_module,
body.et-db #page-container #et-boc .et-l .ls-page-hero .ls-crumbbar.et_pb_module {
    position: relative;
    z-index: 3;                 /* above the hero's ::after gradient rule (z 2) */
    margin: var(--ls-space-4) 0 0 !important;
    padding: 0 !important;
}

/* The colour carries the doubled scope and !important for the same reason as
   the links: the module's own body_text_color survives some cache states and
   not others, and a trail that changes shade between them is a bug nobody can
   reproduce on demand. */
.ls-crumbbar .woocommerce-breadcrumb,
body.et-db #page-container #et-boc .et-l .ls-crumbbar .woocommerce-breadcrumb {
    margin: 0 !important;
    padding: 0 !important;
    font-family: var(--ls-font-body);
    font-size: var(--ls-small);
    font-weight: 400;
    line-height: var(--ls-leading-small);
    letter-spacing: 0;
    text-align: left !important;
    text-shadow: none !important;
    color: var(--ls-text-muted) !important;
}

/* Divi paints every link inside a Theme Builder layout #FF0044 from
   `.et-db #et-boc .et-l a` -- (1,3,0) -- and the module's own link colour is
   one of the declarations Divi drops from the regenerated taxonomy stylesheet
   after an et-cache clear, so the trail came back red. The doubled scope plus
   !important is the same treatment the era chips needed. Links read white
   against the muted current-page label, which is what makes the trail legible
   as links at all. */
.ls-crumbbar .woocommerce-breadcrumb a,
body.et-db #page-container #et-boc .et-l .ls-crumbbar .woocommerce-breadcrumb a {
    color: var(--ls-text) !important;
    text-decoration: none;
    text-underline-offset: 3px;
    text-decoration-color: var(--ls-red);
    text-decoration-thickness: 1px;
    transition: color 150ms ease;
}

.ls-crumbbar .woocommerce-breadcrumb a:hover,
.ls-crumbbar .woocommerce-breadcrumb a:focus-visible,
body.et-db #page-container #et-boc .et-l .ls-crumbbar .woocommerce-breadcrumb a:hover,
body.et-db #page-container #et-boc .et-l .ls-crumbbar .woocommerce-breadcrumb a:focus-visible {
    color: var(--ls-text) !important;
    text-decoration: underline;
}

@media (max-width: 980px) {
    /* The links become 44px inline-flex tap targets here (mobile.css §8),
       which adds ~11px of slack above the glyphs; 12 - 11 keeps the visible
       gap under the H1 at 12px. The `- 1px` is the rounding on a 21px line
       centred in 44. */
    .ls-page-hero .ls-crumbbar.et_pb_module,
    body.et-db #page-container #et-boc .et-l .ls-page-hero .ls-crumbbar.et_pb_module {
        margin-top: 1px !important;
    }

    /* The trail can outrun the viewport on a deep category name. Scroll it
       rather than wrapping to a second line. */
    .ls-crumbbar .woocommerce-breadcrumb {
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .ls-crumbbar .woocommerce-breadcrumb::-webkit-scrollbar {
        display: none;
    }
}


/* ============================================================================
   BROWSE BLOCK ON SHOP + ATTRIBUTE ARCHIVES - 2026-09-06

   Chip rows linking the year / model / department / brand archives, which
   until now had no internal links pointing at them anywhere on the site. The
   chips themselves reuse .ls-filters__links from the filter panel, so only
   the row rhythm is defined here. The card shell borrows .ls-catabout--tag,
   which already carries the Divi row-padding override.
   ============================================================================ */
.ls-browse,
.et-db #et-boc .et-l .ls-browse{margin-top:0 !important;margin-bottom:var(--ls-space-8, 60px) !important;padding:0 !important;}
.ls-browse__row + .ls-browse__row{margin-top:var(--ls-space-6);}
.ls-browse .ls-filters__links{margin-top:var(--ls-space-3);}
/* The About card forces a single text column on tag archives; the browse card
   holds chip rows rather than prose, so it must not inherit that measure. */
.ls-browse .et_pb_text_inner{column-count:1 !important;max-width:none !important;}

/* SP-28 -- the count on each chip. The sidebar facets have carried counts
   since the panel was rebuilt; these chips asked the shopper to choose between
   60 years and 39 models with no idea which of them had anything behind them.
   Set one weight below the label so the chip still reads name-first: the
   number qualifies the choice, it does not compete with it. Tabular figures
   so a column of chips does not jitter, and its own colour because Divi paints
   every descendant of a layout link and the chip's own override does not
   reach a nested element. */
.ls-browse__n,
.et-db #et-boc .et-l .ls-browse__n {
    margin-left: 7px;
    font-size: var(--ls-caption);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--ls-text-faint, rgba(255, 255, 255, 0.42));
}

.ls-filters__links a:hover .ls-browse__n,
.et-db #et-boc .et-l .ls-filters__links a:hover .ls-browse__n {
    color: var(--ls-cyan);
}

/* =========================================================================
 * COMMON QUESTIONS  (inc/lsfab-product-faq.php)
 *
 * Sits directly under the product tabs. Native <details>, no script, so the
 * answers are in the DOM whether or not they are open.
 * ====================================================================== */

/* Outside the Theme Builder layout there is no Divi row to inherit a width
   from, so the wrapper restates the measure the product template's rows
   actually resolve to: 90% capped at 1200px. MEASURED, not assumed - the Divi
   stylesheet's own .et_pb_row default is 80%/1080, but the Theme Builder rows
   on this template carry their own width and compute to 1200px at 1352px
   viewport and 1200px at 1920px. The LS Upsell fallback block directly above
   uses the same pair, so the two foot-of-page sections share both edges with
   each other and with the tab strip above them at every width. */
.ls-faq-outer {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.ls-faq {
    margin: 0;
    padding: 0;
}

/* Divi puts padding-bottom:10px on every heading, which lands under the text
   on top of the margin below it. Measured at 375: it made the gap under the
   section head 32px where the design says 20px, and it pushed the question
   text off centre in its own row (16px above, 26px below). Zeroed on both. */
.ls-faq h2.ls-faq__head {
    padding: 0;
}

.ls-faq__head {
    font-family: var(--ls-font-display);
    font-size: var(--ls-h3);
    line-height: var(--ls-leading-tight);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--ls-text);
    margin: 0 0 var(--ls-space-5);
}

.ls-faq__list {
    display: flex;
    flex-direction: column;
    gap: var(--ls-space-2);
}

.ls-faq__item {
    /* Same well as the tab panels above it — the two blocks sit one under the
       other, so a different grey read as a mistake. */
    background: var(--ls-surface-1);
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-lg);
    overflow: hidden;
    transition: border-color var(--ls-transition);
}

.ls-faq__item[open],
.ls-faq__item:hover {
    border-color: var(--ls-hairline-strong);
}

/* summary is the click target: pad it, kill the native marker, keep 44px. */
.ls-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ls-space-4);
    min-height: 44px;
    padding: var(--ls-space-4) var(--ls-space-5);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.ls-faq__q::-webkit-details-marker,
.ls-faq__q::marker {
    display: none;
    content: "";
}

.ls-faq__q:focus-visible {
    outline: var(--ls-focus-ring);
    outline-offset: -2px;
}

/* The h3 carries the outline weight; the type is body type on purpose - these
   read as questions, not as section headings. The doubled class is there to
   outweigh the global h3 rule, which otherwise puts them in Barlow Condensed. */
.ls-faq .ls-faq__q h3.ls-faq__q-text.ls-faq__q-text {
    margin: 0;
    padding: 0;
    font-family: var(--ls-font-display);
    font-size: var(--ls-h4);
    font-weight: 600;
    line-height: var(--ls-leading-h4);
    letter-spacing: normal;
    text-transform: none;
    color: var(--ls-text);
}

.ls-faq__icon {
    position: relative;
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
}

.ls-faq__icon::before,
.ls-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 14px;
    height: 2px;
    margin-top: -1px;
    background: var(--ls-red);
    transition: transform var(--ls-transition);
}

.ls-faq__icon::after {
    transform: rotate(90deg);
}

.ls-faq__item[open] .ls-faq__icon::after {
    transform: rotate(0deg);
}

.ls-faq__a {
    padding: 0 var(--ls-space-5) var(--ls-space-5);
    color: var(--ls-text-soft);
    font-size: var(--ls-body);
    line-height: var(--ls-leading-body);
}

.ls-faq__a p {
    margin: 0 0 var(--ls-space-3);
}

.ls-faq__a p:last-child {
    margin-bottom: 0;
}

.ls-faq__a a {
    color: var(--ls-text);
    text-decoration: underline;
    text-decoration-color: var(--ls-red);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.ls-faq__a a:hover {
    text-decoration-color: var(--ls-text);
}

.ls-faq__note {
    margin: var(--ls-space-5) 0 0;
    font-size: var(--ls-small);
    color: var(--ls-text-muted);
}

.ls-faq__note a {
    color: var(--ls-text);
    text-decoration: underline;
    text-decoration-color: var(--ls-red);
    text-underline-offset: 3px;
}

@media (max-width: 767px) {

    /* width stays 90% - it is what the tab row and the LS Upsell block above
       both resolve to at this width, and 92% put this block 4px wider on each
       side than everything else on the page. Only the trailing space changes. */
    .ls-faq-outer {
        margin-bottom: 40px;
    }

    .ls-faq__q {
        padding: var(--ls-space-4);
    }

    .ls-faq__a {
        padding: 0 var(--ls-space-4) var(--ls-space-4);
    }
}

/* =========================================================================
 * 17. MY ACCOUNT > YOUR TRUCKS
 *
 * The account copy of the garage. Account pages are never page-cached, so
 * unlike the sidebar these are rendered server-side.
 *
 * Every control clears 44px on mobile, FIELDS INCLUDED — that is exactly the
 * rule the sidebar's first pass broke by listing rows and buttons but not
 * fields, and shipping 40px selects onto a phone.
 * ====================================================================== */

.et-db #et-boc .et-l .ls-garage-account__intro {
	margin: 0 0 22px;
	color: var(--ls-text-muted, rgba(255, 255, 255, .7));
}

.et-db #et-boc .et-l .ls-garage-account__list {
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
}

.et-db #et-boc .et-l .ls-garage-account__item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px;
	margin: 0 0 12px;
	background: var(--ls-surface-1, #111);
	border: 1px solid rgba(255, 255, 255, .15);
	border-radius: var(--ls-radius-lg, 8px);
}

.et-db #et-boc .et-l .ls-garage-account__item.is-active {
	border-color: var(--ls-red, #FF0044);
}

.et-db #et-boc .et-l .ls-garage-account__icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, .15);
	border-radius: var(--ls-radius-sm, 4px);
	color: var(--ls-text-faint, rgba(255, 255, 255, .4));
}

.et-db #et-boc .et-l .ls-garage-account__body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.et-db #et-boc .et-l .ls-garage-account__name {
	font-size: var(--ls-body);
	font-weight: 600;
	line-height: var(--ls-leading-snug);
}

.et-db #et-boc .et-l .ls-garage-account__flag {
	font-size: var(--ls-caption);
	letter-spacing: var(--ls-tracking-eyebrow);
	text-transform: uppercase;
	color: var(--ls-red, #FF0044);
}

.et-db #et-boc .et-l .ls-garage-account__tools {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.et-db #et-boc .et-l .ls-garage-account__inline {
	margin: 0;
	display: inline-flex;
}

/* Divi paints every link in a layout #FF0044 from .et-db #et-boc .et-l a, so
   these need the same prefix to hold their own colour. */
.et-db #et-boc .et-l .ls-garage-account__shop,
.et-db #et-boc .et-l .ls-garage-account__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ls-text, #fff);
	font: 500 14px/1.4 var(--ls-font-body, Inter, sans-serif);
	text-decoration: underline;
	text-underline-offset: 3px;
	/* The theme uppercases links inside a layout, so the anchor and the two
	   buttons beside it were rendering in different cases. */
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}

.et-db #et-boc .et-l .ls-garage-account__shop:hover,
.et-db #et-boc .et-l .ls-garage-account__link:hover {
	color: var(--ls-red, #FF0044);
}

.et-db #et-boc .et-l .ls-garage-account__link--quiet {
	color: var(--ls-text-faint, rgba(255, 255, 255, .4));
}

.et-db #et-boc .et-l .ls-garage-account__empty,
.et-db #et-boc .et-l .ls-garage-account__full {
	margin: 0 0 22px;
	padding: 18px;
	background: var(--ls-surface-1, #111);
	border: 1px dashed rgba(255, 255, 255, .18);
	border-radius: var(--ls-radius-lg, 8px);
	color: var(--ls-text-muted, rgba(255, 255, 255, .7));
}

.et-db #et-boc .et-l .ls-garage-account__heading {
	margin: 0 0 14px;
	font-family: var(--ls-font-display, "Barlow Condensed", sans-serif);
	font-size: var(--ls-h4);
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	line-height: var(--ls-leading-h4);
}

.et-db #et-boc .et-l .ls-garage-account__add {
	padding: 20px;
	background: var(--ls-surface-1, #111);
	border: 1px solid rgba(255, 255, 255, .15);
	border-radius: var(--ls-radius-lg, 8px);
}

.et-db #et-boc .et-l .ls-garage-account__fields {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.et-db #et-boc .et-l .ls-garage-account__fields select {
	flex: 1 1 160px;
	height: 48px;
	padding: 0 14px;
	background: var(--ls-surface-2, #1a1a1a);
	border: 1px solid rgba(255, 255, 255, .15);
	border-radius: var(--ls-radius-md, 6px);
	color: var(--ls-text, #fff);
	font: 400 15px/1 var(--ls-font-body, Inter, sans-serif);
	font-size: var(--ls-body);
}

.et-db #et-boc .et-l .ls-garage-account__fields select:disabled {
	opacity: .5;
}

.et-db #et-boc .et-l .ls-garage-account__fields select:focus {
	outline: none;
	border-color: var(--ls-red, #FF0044);
	box-shadow: var(--ls-focus-ring, 0 0 0 3px rgba(255, 0, 68, .25));
}

.et-db #et-boc .et-l .ls-garage-account__save {
	flex: 0 0 auto;
	min-height: 48px;
	padding: 0 26px;
	border: 0;
	border-radius: var(--ls-btn-radius, 6px);
	background: var(--ls-red, #FF0044);
	color: #fff;
	font: 700 15px/1 var(--ls-font-body, Inter, sans-serif);
	cursor: pointer;
}

.et-db #et-boc .et-l .ls-garage-account__save:hover {
	background: var(--ls-red-hover, #D9003A);
}

.et-db #et-boc .et-l .ls-garage-account__save:disabled {
	opacity: .45;
	cursor: not-allowed;
}

@media (max-width: 980px) {
	.et-db #et-boc .et-l .ls-garage-account__fields select,
	.et-db #et-boc .et-l .ls-garage-account__save,
	.et-db #et-boc .et-l .ls-garage-account__shop,
	.et-db #et-boc .et-l .ls-garage-account__link {
		min-height: 48px;
	}

	.et-db #et-boc .et-l .ls-garage-account__fields select {
		height: 48px;
		font-size: var(--ls-body);
	}

	.et-db #et-boc .et-l .ls-garage-account__item {
		flex-wrap: wrap;
	}

	.et-db #et-boc .et-l .ls-garage-account__body {
		flex: 1 1 calc(100% - 60px);
	}

	.et-db #et-boc .et-l .ls-garage-account__tools {
		flex: 1 1 100%;
		justify-content: flex-start;
		gap: 18px;
	}

	.et-db #et-boc .et-l .ls-garage-account__fields select,
	.et-db #et-boc .et-l .ls-garage-account__save {
		flex: 1 1 100%;
	}
}

/* =========================================================================
 * FITS ALONGSIDE  (inc/lsfab-product-tabs.php)
 *
 * The internal-link row at the foot of the Truck Compatibility + Specs panel:
 * era hub and department as cards, then the co-purchase companions as a list.
 * ====================================================================== */

.ls-alongside {
    margin-top: var(--ls-space-6);
    padding-top: var(--ls-space-5);
    border-top: 1px solid var(--ls-hairline);
}

.ls-tabs .ls-tabs__panel .ls-alongside__head {
    font-family: var(--ls-font-display);
    font-size: var(--ls-h4);
    line-height: var(--ls-leading-tight);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--ls-text);
    margin: 0 0 var(--ls-space-4);
}

.ls-alongside__hubs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ls-space-3);
}

.ls-alongside__hub {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 220px;
    min-height: 44px;
    padding: var(--ls-space-3) var(--ls-space-4);
    background: var(--ls-surface-2);
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-md);
    text-decoration: none;
    transition: border-color var(--ls-transition), background-color var(--ls-transition);
}

.ls-alongside__hub:hover,
.ls-alongside__hub:focus-visible {
    background: var(--ls-surface-3);
    border-color: var(--ls-red);
}

.ls-alongside__kicker {
    font-family: var(--ls-font-body);
    font-size: var(--ls-micro);
    font-weight: 600;
    line-height: 1;
    letter-spacing: var(--ls-tracking-eyebrow);
    text-transform: uppercase;
    color: var(--ls-red);
}

.ls-alongside__label {
    font-family: var(--ls-font-body);
    font-size: var(--ls-small);
    font-weight: 600;
    line-height: var(--ls-leading-snug);
    color: var(--ls-text);
}

.ls-tabs .ls-tabs__panel .ls-alongside__intro {
    margin: var(--ls-space-5) 0 var(--ls-space-2);
    font-size: var(--ls-small);
    color: var(--ls-text-muted);
}

.ls-tabs .ls-tabs__panel ul.ls-alongside__parts {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ls-tabs .ls-tabs__panel ul.ls-alongside__parts li {
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid var(--ls-hairline-faint);
}

.ls-tabs .ls-tabs__panel ul.ls-alongside__parts li:last-child {
    border-bottom: 0;
}

.ls-tabs .ls-tabs__panel ul.ls-alongside__parts a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: var(--ls-space-2) 0;
    font-size: var(--ls-body);
    line-height: var(--ls-leading-snug);
    color: var(--ls-text-soft);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    transition: color var(--ls-transition), text-decoration-color var(--ls-transition);
}

.ls-tabs .ls-tabs__panel ul.ls-alongside__parts a:hover,
.ls-tabs .ls-tabs__panel ul.ls-alongside__parts a:focus-visible {
    color: var(--ls-text);
    text-decoration-color: var(--ls-red);
}

@media (max-width: 767px) {

    .ls-alongside__hub {
        flex: 1 1 100%;
    }
}

/* ============================================================================
   17. THE BUY BOX — 2026-09-07
   Markup: inc/lsfab-buy-box.php. Behaviour: js/variation-ui.js, js/cart.js.

   Four teardown items land here:
     CVR-01  the quantity control, switched back on store-wide, on one line
             with the button instead of stacked above it
     CVR-02  a price delta on every option, and the page's one price made
             live (a second total above the button was tried and removed)
     CVR-08  cards instead of a <select> for anything with four values or fewer
     CVR-03  the returns / final-sale reassurance line

   Nothing here needs the #et-boc prefix except where noted: the option cards
   are plain <button> elements with no `.button` class, so the component layer's
   button block (which is keyed on `.button`) never reaches them.
   ========================================================================= */

/* --- 17a. Quantity + button on one row ------------------------------------
   The row wrapper is printed by inc/lsfab-buy-box.php around exactly the
   quantity input and the submit button. Divi's module gives the button
   width:100%, which is why it stacked; the row makes it a flex item instead
   and the width is overridden at a specificity that beats the module CSS
   Divi prints into the head after this sheet. */

.woocommerce div.product form.cart .ls-buyrow {
    display: flex;
    align-items: stretch;
    gap: var(--ls-space-2);
    margin: 0;
}

/* The quantity control matches the LARGE button beside it, not the 40px
   control height the cart uses — a 40px box against a 56px button reads as a
   mistake. */
/* Both controls carry an EXPLICIT height rather than min-height and a hope
   that flex stretch equalises them. Measured before that change: the quantity
   box came out 60px against the button's 58 — the button was sizing to its own
   line-height plus padding and not stretching, and the two sat on visibly
   different baselines. Do not go back to min-height here. */
.woocommerce div.product form.cart .ls-buyrow .quantity {
    flex: 0 0 auto;
    align-self: stretch;
    height: var(--ls-btn-h-lg);
    min-height: 0;
    background-color: var(--ls-surface-2);
}
.woocommerce div.product form.cart .ls-buyrow .quantity input.qty {
    width: 52px;
    height: 100%;
    min-height: 0;
    font-size: var(--ls-body);
}
.et-db #et-boc .et-l .woocommerce div.product form.cart .ls-buyrow .quantity.ls-qty button.ls-qty-btn,
.woocommerce div.product form.cart .ls-buyrow .quantity.ls-qty button.ls-qty-btn {
    /* 44px wide × 56px tall: the WCAG 2.5.5 minimum in both directions, which
       the 40px cart stepper does not have to meet because it is not the
       primary action on its page. */
    width: 44px !important;
    min-width: 44px !important;
    height: 100% !important;
    min-height: 0 !important;
    font-size: 1.25rem !important;
}

/* The #et-boc prefix is not optional here. Divi's Theme Builder prints the
   add-to-cart module's own button design into the head AFTER this sheet at
   roughly (1,4,1) — `body.et-db #et-boc .et-l .et_pb_wc_add_to_cart_0_tb_body
   .single_add_to_cart_button` — carrying width:100%, 5px top/bottom padding
   and a 2px top margin from the module settings. Without an ID in the selector
   this block loses on specificity no matter how many !importants it carries,
   and the measured result was a 58px button sitting 2px low beside a 56px
   quantity box. */
.woocommerce div.product form.cart .ls-buyrow .single_add_to_cart_button,
body.et-db #et-boc .et-l .woocommerce div.product form.cart .ls-buyrow .single_add_to_cart_button {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    height: var(--ls-btn-h-lg) !important;
    min-height: var(--ls-btn-h-lg) !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: var(--ls-btn-h-lg) !important;
}

/* Sold individually: WooCommerce prints a hidden input and there is no control
   to sit beside, so the button takes the whole row on its own. */
.woocommerce div.product form.cart .ls-buyrow .quantity.hidden,
.woocommerce div.product form.cart .ls-buyrow input.qty[type="hidden"] {
    display: none;
}

/* --- 17b. THE price ------------------------------------------------------
   There is one price on a product page and this is it: the Divi price module
   at the top of the summary column, sharing its row with the viewing pill.
   js/variation-ui.js rewrites its contents as options change, so it is the
   live figure, not the opening one.

   A second "your price" block above the Add to cart button shipped first and
   came straight back out — two prices in one column read as a bug. This one
   survives because it is above the fold on a 1366px laptop, where a price
   beside the button is not, and because the sticky bar already carries the
   live figure on every phone screen.

   Colour comes from the module itself (body_text_color, changed from the old
   #00ff55 to #FFFFFF in layouts 604711 / 605296 / 603809) so the Builder
   still owns it. Everything below is size and rhythm. */

.et_pb_wc_price .price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 var(--ls-space-2);
    margin: 0;
    padding: 0;
}

/*
 * Size and family need BOTH a longer selector and !important, for two separate
 * reasons, and it took measuring both to get here:
 *
 *   1. WooCommerce core ships `.woocommerce:where(body:not(...)) div.product
 *      p.price { font-size: 1.25em }`. :where() contributes nothing, so that
 *      is (0,3,2) and it outranks a plain `.et_pb_wc_price .price`.
 *   2. Divi's own woocommerce module CSS, emitted into the per-page
 *      et-divi-dynamic file, carries `.et_pb_wc_price .price {
 *      font-size: 26px !important }`. No amount of specificity beats that —
 *      only a matching !important does. It is the reason section 2's
 *      `1.75rem` price rule above has never had any effect on a product page.
 *
 * Only font-size needs the !important; family, weight, line-height and
 * tracking win on specificity alone.
 */
.woocommerce div.product .et_pb_wc_price p.price,
body.et-db #et-boc .et-l .woocommerce div.product .et_pb_wc_price p.price {
    font-family: var(--ls-font-display);
    font-size: var(--ls-price-product) !important;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}
.et_pb_wc_price .price .amount,
.et_pb_wc_price .price bdi { font: inherit; letter-spacing: inherit; }

/* The dollar sign rides high and small — at 40px a full-size symbol is as
   wide as a digit and the eye reads it as part of the number. */
.et_pb_wc_price .price .woocommerce-Price-currencySymbol {
    font-size: 0.58em;
    font-weight: 600;
    vertical-align: 0.42em;
    margin-right: 1px;
    color: var(--ls-text-muted);
}

/* The store appends a styled "USD" inside every amount through the price
   format filter. Its inline font-size is an em value, so it scaled with the
   bigger price and came out at 24px; pinned here instead. */
.et_pb_wc_price .price .amount span:not(.woocommerce-Price-currencySymbol) {
    font-family: var(--ls-font-body) !important;
    font-size: var(--ls-caption) !important;
    font-weight: 600 !important;
    letter-spacing: var(--ls-tracking-eyebrow);
    text-transform: uppercase;
    color: var(--ls-text-faint) !important;
    vertical-align: 0.25em !important;
}

/* On sale: the old price first, small and struck, then the live one in red. */
.et_pb_wc_price .price del {
    font-size: 0.5em;
    font-weight: 600;
    color: var(--ls-text-faint);
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.et_pb_wc_price .price del .woocommerce-Price-currencySymbol { color: inherit; }
/* The struck price carries its own "USD" too, so a sale item read
   "$119.99 USD $99.99 USD". Once is enough, on the price being charged. */
.et_pb_wc_price .price del .amount span:not(.woocommerce-Price-currencySymbol) { display: none !important; }
.et_pb_wc_price .price ins {
    text-decoration: none;
    color: var(--ls-red);
}

/* --- 17c. Option cards ----------------------------------------------------
   The real <select> stays in the DOM as the source of truth. It is taken out
   of the tab order and hidden from assistive tech by the script, and hidden
   visually here — not with display:none, because a hidden form control still
   has to be reachable for WooCommerce's own validation messages. */

.woocommerce div.product form.cart .variations select.ls-varui-native {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/*
 * ONE CARD PER ROW, always. Two-up was tried first and measured badly: on
 * desktop the summary column is ~583px and the variations grid halves it to
 * 283px per attribute, so a 138px column wrapped "Add Reverse Lights (2)" to
 * two lines and "+$200.00" to a third — group heights came out 52 / 69 / 69 /
 * 101px in the same block. A full-width row with the name left and the price
 * right fits every label on this catalogue on one line, costs no more vertical
 * space than the wrapped two-up did, and every card is the same height.
 */
.ls-varui {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--ls-space-2);
    width: 100%;
}

.ls-varui__opt {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--ls-space-2);
    min-height: 48px;
    margin: 0;
    padding: 8px 14px;
    background-color: var(--ls-surface-2);
    border: 1px solid var(--ls-hairline-input);
    border-radius: var(--ls-radius-md);
    color: var(--ls-text-muted);
    font-family: var(--ls-font-body);
    text-align: left;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color var(--ls-transition), background-color var(--ls-transition), color var(--ls-transition);
}
.ls-varui__opt:hover:not(:disabled) {
    border-color: var(--ls-hairline-strong);
    background-color: var(--ls-surface-raised);
    color: var(--ls-text);
}
.ls-varui__opt:focus-visible {
    outline: none;
    border-color: var(--ls-red);
    box-shadow: var(--ls-focus-ring);
}
/*
 * SELECTED IS TONAL, NOT RED (2026-09-07). It was a red border over a 10% red
 * tint, and on a product where every attribute has a default that put four
 * red-outlined boxes directly above the red Add to cart — the button stopped
 * being the loudest thing in the buy box, and a red-outlined box on a dark
 * ground reads closer to an error than to a choice. --ls-red is the primary
 * ACTION colour and now means only that. Chosen is carried by the radio dot
 * below plus a tonal step: raised surface, white text, a stronger hairline.
 */
.ls-varui__opt.is-selected {
    border-color: var(--ls-text-soft);
    background-color: var(--ls-surface-raised);
    color: var(--ls-text);
}
.ls-varui__opt.is-unavailable,
.ls-varui__opt:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}
.ls-varui__opt.is-soldout { opacity: 0.72; }

.ls-varui__name {
    display: flex;
    align-items: center;
    gap: var(--ls-space-2);
    flex: 1 1 auto;
    min-width: 0;
    font-size: var(--ls-body);
    font-weight: 600;
    line-height: var(--ls-leading-snug);
}

/* The indicator. 14px with an 8px gap is what the 283px card can spare: at
   16/10 the reverse-lights label wraps and that group grows to 54px while the
   rest stay 48px. The filled state punches its centre with the card's own
   background, so it reads the same in the page and in the sticky drawer. */
.ls-varui__name::before {
    content: '';
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    border: 1px solid var(--ls-text-ghost);
    border-radius: 50%;
    background-color: transparent;
    background-image: none;
    transition: border-color var(--ls-transition), background-color var(--ls-transition), box-shadow var(--ls-transition);
}
.ls-varui__opt:hover:not(:disabled) .ls-varui__name::before { border-color: var(--ls-text-soft); }
/* Chosen is a green tick that DRAWS ITSELF (2026-09-07). The empty state stays
   a hollow ring so the rows never go ragged; picking one pops the ring into a
   green disc and strokes a white check over it. The check is the card's own
   ::after — a rotated box with two borders, animated from 0 — so it needs no
   extra markup, does not depend on the body font's tick metrics, and is
   absolutely positioned, so the card is still exactly 48px. Green is the
   site's low-risk affirmative (the in-stock dot under the button is the same
   colour) and leaves --ls-red to mean Add to cart alone. */
.ls-varui__opt.is-selected .ls-varui__name::before {
    border-color: var(--ls-green);
    background-color: var(--ls-green);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.2 4.9 8.5 9.4 4' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 10px;
    box-shadow: none;
    animation: ls-varui-pop 260ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* THE TICK IS PAINTED INTO THE RING, NOT LAID OVER IT (2026-09-07).

   It was a separate ::after — a rotated box with two white borders, animated
   from zero — and it was wrong twice over, then unfixable in place:

   1. Too big. 4x7 with 2px borders is 8x11 outside, and rotated 45 degrees that
      spans 13.4px across a 14px ring. It reached the rim on every side and read
      as a white blob. [Tay: "the checkmark is messed"]
   2. Hung off the CARD at a hard-coded left:21px ("14px padding plus half the
      indicator"), forgetting the card's own 1px border, so it also sat a pixel
      left of the ring's real centre.
   3. Moving it onto .ls-varui__name — whose box starts AT the ring, so the
      centre needs no arithmetic — fixed the maths and then would not paint at
      all: .ls-varui__opt is a <button>, and an absolutely positioned pseudo on
      a span inside it renders nothing in Chrome. Verified by forcing width,
      height, opacity and a red border by hand and still getting a bare green
      dot. Do not try that placement again.

   So the check is now a background SVG on the ring itself. It is centred by
   construction at any padding, in the page and in the sticky drawer, needs no
   positioning context inside the button, and cannot be lost by an animation
   that does not fire. The ring still pops; only the check's draw-on is gone. */

@keyframes ls-varui-pop {
    0%   { transform: scale(0.7); }
    60%  { transform: scale(1.12); }
    100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .ls-varui__opt.is-selected .ls-varui__name::before { animation: none; }
}
.ls-varui__opt.is-selected .ls-varui__name { color: var(--ls-text); }

.ls-varui__delta {
    flex: 0 0 auto;
    text-align: right;
    white-space: nowrap;
    font-family: var(--ls-font-body);
    font-size: var(--ls-small);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
}
.ls-varui__delta:empty { display: none; }
/* BOTH DIRECTIONS ARE NEUTRAL (2026-09-07).

   The surcharge lost its amber first: amber is rating chrome (see the token
   block), the star rating sits ~150px above these cards, so one colour carried
   two meanings in one view — and yellow is the universal caution cue, which
   framed every add-on as a risk.

   The saving then lost its green for the mirror-image reason. [stated] Tay:
   "you left this green which would green light people to not purchase the more
   expensive stuff." A green figure beside the cheaper option is a
   recommendation, and the only recommendation this page should be making is Add
   to cart. A price difference is information; it reads in the label colour and
   the buyer decides. Green now belongs to the selected ring and the in-stock
   dot, nothing else in the buy box. */
.ls-varui__delta.is-up,
.ls-varui__delta.is-down { color: var(--ls-text-soft); font-weight: 500; }
.ls-varui__delta.is-note {
    color: var(--ls-text-faint);
    font-weight: 500;
    text-transform: uppercase;
    font-size: var(--ls-caption);
    letter-spacing: var(--ls-tracking-eyebrow);
}

/* The variations table stops being a table once the cards are in it: a card
   grid inside a <td> cannot use the full row width otherwise. */
.woocommerce div.product form.cart table.variations td.value { width: 100%; }

/* --- 17d. The reassurance line ------------------------------------------- */

.woocommerce div.product .ls-reassure {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--ls-space-1) var(--ls-space-3);
    margin: var(--ls-space-2) 0 0;
    padding: 0;
    font-family: var(--ls-font-body);
    font-size: var(--ls-small);
    line-height: var(--ls-leading-small);
    color: var(--ls-text-soft);
}
/* --- One line under Add to cart -----------------------------------------
   The availability line and the reassurance line are two components from two
   files; inc/lsfab-buy-box.php buffers the pair and wraps them in .ls-buyline
   so they share a row. Each keeps its own internals — the ship note still has
   its 8px dot gap and its per-variation rewrite — and the row's own gap only
   separates the two halves. If the column is too narrow the second half wraps
   as a unit, which is the old two-line layout.
   ---------------------------------------------------------------------- */

.woocommerce div.product .ls-buyline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--ls-space-1) var(--ls-space-3);
    margin: var(--ls-space-3) 0 0;
}

.woocommerce div.product .ls-buyline .ls-ship-note,
.woocommerce div.product .ls-buyline .ls-reassure {
    margin: 0;
    font-size: var(--ls-small);
    line-height: var(--ls-leading-small);
}

/* The separator between the two halves, matching the dot the reassurance line
   already draws between its own items.

   ONLY where the two halves actually fit on one row. Measured: the pair is
   244 + 232px, so it needs about 500px of column — which the summary column
   only has above roughly a 1200px viewport. Below that the second half wraps,
   and a dot that came with it would sit at the START of the new line looking
   like a bullet. Under 1200 there is no dot and the wider column gap does the
   separating. */
@media (min-width: 1200px) {

    .woocommerce div.product .ls-buyline .ls-reassure::before {
        content: "";
        flex: 0 0 auto;
        width: 3px;
        height: 3px;
        border-radius: 50%;
        background-color: var(--ls-text-ghost);
    }
}

@media (max-width: 1199px) {

    .woocommerce div.product .ls-buyline {
        gap: var(--ls-space-1) var(--ls-space-4);
    }
}

.ls-reassure__item { display: inline-flex; align-items: center; gap: 6px; }
/* A dot between items rather than a separator character in the markup, so the
   line wraps without leaving an orphan bullet at the start of a row. */
.ls-reassure__item + .ls-reassure__item::before {
    content: "";
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: var(--ls-text-ghost);
}
.woocommerce div.product .ls-reassure a {
    color: var(--ls-text-muted);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.28);
    text-underline-offset: 3px;
    transition: color var(--ls-transition), text-decoration-color var(--ls-transition);
}
.woocommerce div.product .ls-reassure a:hover,
.woocommerce div.product .ls-reassure a:focus-visible {
    color: var(--ls-text);
    text-decoration-color: var(--ls-red);
}
.woocommerce div.product .ls-reassure.is-final a { color: var(--ls-amber); }

/* --- 17f. Phone ----------------------------------------------------------- */

@media (max-width: 600px) {

    /* 44 + 44 + 44 = 132px of quantity control against a ~337px content width
       leaves the button 195px, and the large button's 34px side padding would
       take 68 of those before the label. */
    .woocommerce div.product form.cart .ls-buyrow .quantity input.qty { width: 44px; }
    .woocommerce div.product form.cart .ls-buyrow .single_add_to_cart_button,
    body.et-db #et-boc .et-l .woocommerce div.product form.cart .ls-buyrow .single_add_to_cart_button {
        padding-left: var(--ls-space-3) !important;
        padding-right: var(--ls-space-3) !important;
    }

    .woocommerce div.product .et_pb_wc_price p.price,
    body.et-db #et-boc .et-l .woocommerce div.product .et_pb_wc_price p.price { font-size: var(--ls-price-product) !important; line-height: 1; letter-spacing: 0; }
    .et_pb_wc_price .price .amount span:not(.woocommerce-Price-currencySymbol) {
        font-size: var(--ls-caption) !important;
        letter-spacing: var(--ls-tracking-eyebrow);
        font-weight: 600;
    }
}

/* ============================================================================
   18. CUSTOMER PHOTOS IN THE GALLERY — 2026-09-07 (CVR-09)
   Markup: inc/lsfab-review-photos.php. The badge text is in CSS rather than
   the markup because it is the same five words on every slide, and WooThumbs
   gives a filter for slide CLASSES but not for slide content.
   ========================================================================= */

.iconic-woothumbs-images__slide.ls-ugc { position: relative; }
.iconic-woothumbs-images__slide.ls-ugc::after {
    content: "From a customer";
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 3;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--ls-radius-pill);
    color: #ffffff;
    font-family: var(--ls-font-body);
    font-size: var(--ls-micro);
    font-weight: 600;
    letter-spacing: var(--ls-tracking-eyebrow);
    text-transform: uppercase;
    pointer-events: none;
    line-height: 1.3;
}

/* The thumbnail strip has no class filter, so the marker is an element the
   PHP prints into iconic_woothumbs_before_thumbnail. */
.iconic-woothumbs-thumbnails__slide .ls-ugc-dot {
    position: absolute;
    left: 5px;
    top: 5px;
    z-index: 3;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--ls-amber);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.55);
}
.iconic-woothumbs-thumbnails__slide { position: relative; }

/* A 76-character option label exists on this catalogue (a Type value). It gets
   two lines and the price still holds its own column.

   The is-long class is on the GROUP, not the card, so `align-items: flex-start`
   here used to top-align EVERY card in that group — including the single-line
   ones. On the tailgate saver that left "Stock Latches" sitting 9px from the top
   of its card and 20px from the bottom, while "None" in the column beside it was
   an even 15/15. [stated] Tay: "spacing is messed up on this block". Cards now
   centre their content whatever the label length, in every group, so the two
   columns keep the same rhythm; only the line-height stays, for the wrapped
   label's own two lines. */
.ls-varui.is-long .ls-varui__name { line-height: 1.35; }




/* ============================================================================
   19. ARCHIVE UX — RUN 2 OF THE SHOP PAGE TEARDOWN (2026-09-07)

   SP-14 the lead copy above the grid, SP-16 the no-results page, SP-19 the
   filter and sort controls docked and sticky on phones. Markup for all three
   comes from inc/lsfab-archive-ux.php and js/archive-ux.js.
   ========================================================================= */

/* --- SP-14: the two-sentence lead above the grid -- RETIRED 2026-09-09 ------
   Tay asked for the lead paragraph to go from the category and archive pages.
   inc/lsfab-archive-ux.php no longer hooks lsfab_archive_intro_render and
   inc/lsfab-era-department.php no longer prints lsfab_ed_lead, so nothing
   emits .ls-archive-intro any more; its rules (lead, links, phone clamp and
   the Read-more toggle) were removed here. js/archive-ux.js still carries the
   clamp code, which is a no-op when the element is absent. */

/* --- SP-19: the docked filter + sort bar ---------------------------------
   js/archive-ux.js moves .ls-filters__bar (and the sort select with it) into
   the .woocommerce wrapper below 980px and adds .is-docked. That wrapper is
   the full height of the grid, which is what gives `sticky` something to
   stick against -- the sidebar column it came from is only as tall as the
   button.

   `top: 0`, and that was MEASURED rather than assumed. header.css line 9 sets
   the site header `position: sticky; top: 0` at z-index 500, so the obvious
   value here is the header's 69px height. But the header does not actually
   stick: its containing block is `.et_builder_inner_content`, which is 69px
   tall -- exactly the header -- so there is no travel for it to stick over,
   and it scrolls away like any static element. Verified on live at 1920 and
   at 390: after scrolling 1500px the header's rect top reads -1468.

   Docking at 69px therefore left a 69px strip of product card showing ABOVE
   the bar. If the header is ever made genuinely sticky (its wrapper would
   need to be the tall element, not the header itself), this becomes 69px. */
@media (max-width: 980px) {
    .ls-filters__bar.is-docked {
        position: sticky;
        top: 0;
        z-index: 60;
        display: flex;
        gap: var(--ls-space-3);
        align-items: center;
        /* Full width of the product column, so cards scroll UNDER it and none
           shows past its edge. The column has no side padding on a phone, so
           no negative inline margin is needed -- an earlier version used one
           and pushed the bar 7px off the left of the viewport. */
        width: 100%;
        margin: 0 0 var(--ls-space-4);
        padding: var(--ls-space-3) 0;
        /* The section this sits in is #111111, not the page ground -- the
           bar must match what the cards scroll over or it reads as a slab. */
        background: var(--ls-surface-1);
        border-bottom: 1px solid var(--ls-hairline-faint);
    }

    /* Two equal halves. The Filter button already carries min-height 48px from
       section 11; the select is matched to it so the row has one baseline. */
    .ls-filters__bar.is-docked .ls-filters__open {
        flex: 1 1 50%;
        width: auto;
        margin: 0;
    }

    .ls-filters__bar.is-docked .woocommerce-ordering,
    .et-db #et-boc .et-l .ls-filters__bar.is-docked .woocommerce-ordering {
        flex: 1 1 50%;
        float: none;
        width: auto;
        min-width: 0;
        margin: 0;
    }

    .ls-filters__bar.is-docked .woocommerce-ordering select,
    .ls-filters__bar.is-docked .woocommerce-ordering select.orderby,
    .et-db #et-boc .et-l .ls-filters__bar.is-docked .woocommerce-ordering select.orderby {
        width: 100%;
        min-width: 0;
        height: 48px;
        margin: 0;
    }

    /* The result count now sits BELOW the docked bar rather than above the
       grid on its own; it keeps its own line and its own rhythm. */
    .ls-filters__bar.is-docked ~ .woocommerce-result-count {
        margin-bottom: var(--ls-space-3);
    }
}

/* --- SP-16: the no-results page ------------------------------------------
   Replaces Woo's single grey "No products were found matching your selection."
   info box. Every link in here is a real href to an indexable archive: an
   empty page still gets crawled, and a dead end for a crawler is as bad as one
   for a shopper. */
.ls-noresults {
    margin: 0 0 var(--ls-space-7);
    text-align: left;
}

.ls-noresults__head {
    padding: 0 0 var(--ls-space-6);
    border-bottom: 1px solid var(--ls-hairline-faint);
}

.ls-noresults__title,
.et-db #et-boc .et-l .ls-noresults__title {
    margin: 0 0 var(--ls-space-3);
    padding: 0;
    font-family: var(--ls-font-display);
    font-size: var(--ls-h2);
    font-weight: 700;
    line-height: var(--ls-leading-tight);
    text-transform: none;
    color: var(--ls-text);
    overflow-wrap: anywhere;
}

.ls-noresults__sub,
.et-db #et-boc .et-l .ls-noresults__sub {
    max-width: 68ch;
    margin: 0;
    padding: 0;
    font-size: var(--ls-body);
    line-height: var(--ls-leading-body);
    color: var(--ls-text-soft);
}

.ls-noresults__cta {
    margin: var(--ls-space-5) 0 0;
    padding: 0;
}

.ls-noresults__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ls-space-5);
    margin: var(--ls-space-6) 0 0;
}

.ls-noresults__card {
    position: relative;
    padding: var(--ls-space-5);
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-xl);
    background: var(--ls-surface-1);
    overflow: hidden;
}

/* The same 3px brand rule the sidebar cards and the About block carry, so this
   page looks like part of the site rather than an error screen. */
.ls-noresults__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-image: var(--ls-gradient-brand);
}

.ls-noresults__card h3,
.et-db #et-boc .et-l .ls-noresults__card h3 {
    margin: 0 0 var(--ls-space-3);
    padding: 0;
    font-family: var(--ls-font-display);
    font-size: var(--ls-h4);
    font-weight: 700;
    line-height: var(--ls-leading-h4);
    text-transform: none;
    letter-spacing: 0;
    color: var(--ls-text);
}

.ls-noresults__card p,
.et-db #et-boc .et-l .ls-noresults__card p {
    margin: 0 0 var(--ls-space-4);
    padding: 0;
    font-size: var(--ls-small);
    line-height: var(--ls-leading-small);
    color: var(--ls-text-soft);
}

.ls-noresults__search {
    display: flex;
    gap: var(--ls-space-2);
    margin: 0 0 var(--ls-space-4);
}

.ls-noresults__search input[type="search"],
.et-db #et-boc .et-l .ls-noresults__search input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    margin: 0;
}

.ls-noresults__search .ls-btn {
    flex: none;
    height: 44px;
    padding: 0 var(--ls-space-4);
}

.ls-noresults__eyebrow {
    margin: 0 0 var(--ls-space-3) !important;
    font-family: var(--ls-font-body);
    font-size: var(--ls-micro);
    font-weight: 600;
    letter-spacing: var(--ls-tracking-eyebrow);
    text-transform: uppercase;
    color: var(--ls-cyan);
    line-height: 1.3;
}

.ls-noresults__chips,
.ls-noresults__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ls-noresults__chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ls-space-2);
}

.ls-noresults__chips li { margin: 0; padding: 0; }

.ls-noresults__chips a,
.et-db #et-boc .et-l .ls-noresults__chips a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--ls-hairline-strong);
    border-radius: var(--ls-radius-pill);
    background: transparent;
    font-size: var(--ls-small);
    line-height: 1;
    color: var(--ls-text) !important;
    text-decoration: none;
}

.ls-noresults__chips a:hover,
.et-db #et-boc .et-l .ls-noresults__chips a:hover {
    border-color: var(--ls-red);
    color: var(--ls-red) !important;
}

.ls-noresults__links li {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--ls-hairline-faint);
}

.ls-noresults__links li:first-child { border-top: 0; }

.ls-noresults__links a,
.et-db #et-boc .et-l .ls-noresults__links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 4px 0;
    font-size: var(--ls-body);
    line-height: 1.4;
    color: var(--ls-text) !important;
    text-decoration: none;
}

.ls-noresults__links a:hover,
.et-db #et-boc .et-l .ls-noresults__links a:hover {
    color: var(--ls-red) !important;
}

.ls-noresults__help,
.et-db #et-boc .et-l .ls-noresults__help {
    margin: var(--ls-space-6) 0 0;
    padding: 0;
    font-size: var(--ls-body);
    line-height: var(--ls-leading-body);
    color: var(--ls-text-soft);
}

.ls-noresults__help a,
.et-db #et-boc .et-l .ls-noresults__help a {
    color: var(--ls-text) !important;
    text-decoration: underline;
    text-decoration-color: var(--ls-red);
    text-underline-offset: 3px;
}

@media (max-width: 1100px) {
    .ls-noresults__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .ls-noresults__grid {
        grid-template-columns: 1fr;
        gap: var(--ls-space-4);
    }

    /* 44px everywhere on a phone, per the standing rule. */
    .ls-noresults__chips a,
    .et-db #et-boc .et-l .ls-noresults__chips a {
        min-height: 44px;
    }

    .ls-noresults__search input[type="search"],
    .et-db #et-boc .et-l .ls-noresults__search input[type="search"],
    .ls-noresults__search .ls-btn {
        height: 48px;
    }
}

/* ============================================================================
   THE TOP OF AN ARCHIVE — LEAD, RESULT BAR, GRID   (2026-09-07)

   Tay: "the spacing at the top of this bar sucks fix that" and then "there has
   to be a better way to do this. this looks awful."

   He was right on both counts. What was there, measured on
   /truck-parts-accessories-chevy-gmc-ford/ at 1920:

     hero gradient rule ends            y = 308
     filter card starts                 y = 308   <- flush, zero gap
     lead paragraph starts              y = 308   <- flush, zero gap
     lead -> result count                    15px
     result count top                   y = 405, height 22
     sort select top                    y = 405, height 40
     result count -> grid                    40px

   Three separate faults. Both columns butted straight into the gradient rule
   with no air at all, so the filter card's border and the lead's first line
   sat ON the line. The count and the select shared a top edge but not a
   centre, so a 22px line of text hung 9px above the middle of a 40px control
   -- the specific thing that reads as "unfinished". And the vertical rhythm
   ran 0 / 15 / 40, three different gaps in four elements.

   The 36px under the hero is set on the Divi ROW in layouts 459878 and 462894,
   not here: box spacing on a section or row is emitted by Divi with
   !important at (1,4,1) and cannot be won from a stylesheet. That trap is
   documented in section 14 and it is the reason this comment exists.

   What is below is the rest of it -- one rhythm, and a result bar that reads
   as a bar:

     hero rule -> lead        36px   (Divi row, both columns together)
     lead -> hairline         22px
     hairline -> bar          22px
     bar                      40px   count and select on one centre line
     bar -> hairline          22px
     hairline -> grid         22px

   SEO: the lead is the only copy above 120 product cards and the only place
   the page says what it is in prose. It was rgba(255,255,255,0.55) at 16px --
   4.4:1 on this ground, technically a pass, but it read as a caption and got
   skimmed past. It is now 17px at 0.78, which is the same relationship the
   About block's body has to its heading.

   Conversion: the result count and the sort control are the two things a
   shopper uses to decide whether this page is worth their time. Putting them
   on one centred line between two hairlines makes them read as a control
   surface rather than as two stray bits of text.

   NOT DONE, deliberately: the count and the select are NOT wrapped in a
   container div. js/archive-ux.js docks the sort control into the mobile
   filter bar with wrap.insertBefore( bar, count ), which needs the count to
   stay a DIRECT child of the loop wrapper. Wrapping them would throw a
   DOM exception on every phone. The band is drawn with borders on the
   neighbours instead -- the lead's bottom edge and the grid's top edge.
   ========================================================================= */

/* (The lead's own hairline rule that sat here was removed 2026-09-09 with the
   lead itself -- see the SP-14 retirement note above.) */
@media (min-width: 981px) {

    /* The count is 14px type next to a 40px control. Matching its line box to
       the control height is what puts the two on one centre line -- floats
       cannot be centred against each other any other way. */
    .woocommerce .woocommerce-result-count,
    .et-db #et-boc .et-l .woocommerce .woocommerce-result-count {
        margin: 0;
        line-height: var(--ls-control-h-sm);
        padding-bottom: var(--ls-space-5);
    }

    .woocommerce .woocommerce-ordering,
    .et-db #et-boc .et-l .woocommerce .woocommerce-ordering {
        margin: 0;
        padding-bottom: var(--ls-space-5);
    }
}

/* The 22px above the closing rule is PADDING on the two floats, not a margin
   on the grid. `clear` resolves by computing clearance, and clearance replaces
   the cleared box's own top margin -- margin-top on ul.products measured 0
   effect in the browser, which is how this was caught. Padding on the floats
   makes their boxes taller, and the clearance follows. Both floats get the
   same amount so the count and the select keep the shared centre line. */

/* The grid's top edge closes the bar. `clear` is load-bearing: the count and
   the select are floats, and without it the rule can be drawn beside them
   rather than beneath. Scoped to the native archive loop so the related and
   upsell grids on a product page are untouched. */
.ls-product-loop ul.products,
.et-db #et-boc .et-l .ls-product-loop ul.products {
    clear: both;
    margin-top: var(--ls-space-5);
    padding-top: var(--ls-space-5);
    border-top: 1px solid var(--ls-hairline-faint);
}

/* ============================================================================
   THE 36px UNDER THE HERO IS PINNED HERE   (2026-09-08)

   Read this before changing the archive row's padding in the Divi layouts.

   The gap between the hero's gradient rule and the top of both columns was set
   on the ROW in body layouts 459878 and 462894, because Divi emits row padding
   as `.et-db #et-boc .et-l .et_pb_row_N_tb_body.et_pb_row{padding-top:X
   !important}` and a normal stylesheet cannot win that. It was set to 36px and
   verified. It came back as 20px, and Tay reported the spacing as still wrong
   -- correctly, because 20px is what was live by then.

   So the value now lives HERE as well, at a specificity Divi's generated rule
   cannot beat. `.et-db` is repeated deliberately: that is one more class than
   Divi's selector carries, so this wins on specificity rather than on source
   order -- and source order is not winnable, since the et-cache dynamic CSS is
   emitted late in the head, after the theme's sheets.

   `:has(> .ls-filters-col)` targets the row by what it CONTAINS rather than by
   Divi's generated index, so it keeps working if a module is added above it
   and the row becomes _3_tb_body.

   TO CHANGE THE GAP: change it here. Changing it in the layout will do
   nothing.
   ========================================================================= */
.et-db.et-db #et-boc .et-l .et_pb_row:has(> .ls-filters-col) {
    padding-top: 36px !important;
}

@media (max-width: 980px) {

    /* The 3/4 column carries its own 20px top padding on tablet and phone, so
       the row only needs the remainder to land near 28px total -- measured at
       390, where the fold is tight enough that 36 would cost a card row. */
    .et-db.et-db #et-boc .et-l .et_pb_row:has(> .ls-filters-col) {
        padding-top: 8px !important;
    }
}

/* The SECTION above that row is pinned the same way, for the same reason.
   Sep 8 2026: the section carried custom_padding="0px||60px" in both layouts
   until the breadcrumb-bar rebuild earlier today re-wrote the shortcode
   without it. With no attribute, Divi's customizer rule `.et_pb_section
   {padding:60px 0}` (50px below 981px) took over and the hero-to-content gap
   went 36 -> 96 on desktop and 28 -> 78 on phones. The attribute was put
   back, but this rule is what actually holds the value: it targets the
   section by what it contains, so it survives the next layout rewrite too.
   The bottom padding is left to Divi on purpose -- 60/50 is what the
   attribute gave anyway. TO CHANGE THE GAP: change it here. */
.et-db.et-db #et-boc .et-l .et_pb_section:has(> .et_pb_row > .ls-filters-col) {
    padding-top: 0 !important;
}


/* ============================================================================
   19. BUY-BOX ORDER, SPACING AND THE TRANSLUCENT CARD SURFACE
   2026-09-08. Ships the "B" column of the side-by-side mockup Tay approved.

   Three things happen here, and this section is LAST in the file on purpose:
   several of these rules restate a surface set earlier in the sheet, so they
   need source order as well as specificity.
   ========================================================================= */

/* --- the product section ground ------------------------------------------
   [stated] Tay: "make this section background #080808". It was --ls-surface-1
   #111. Divi prints the Theme Builder section's own background with
   !important from an inline <style>, so no amount of specificity alone wins —
   this has to answer in kind. :has() keys it to the section that actually
   holds the summary column, so it survives Divi renumbering et_pb_section_N.
   ---------------------------------------------------------------------- */
.et_pb_section.et_pb_section:has(.ls-product-summary) {
    background-color: #080808 !important;
}

/* --- one card surface, taken from the viewing pill -----------------------
   [stated] Tay: "make all the cards on this the same code as the people are
   viewing this pill". The pill is a translucent white wash over whatever it
   sits on rather than a fixed grey, which is why it sat right on both the old
   #111 ground and the new #080808 one. Every boxed surface in the buy box now
   uses the same two values, so they tint together if the ground moves again.
   ---------------------------------------------------------------------- */
:root {
    --ls-card-bg: rgba(255, 255, 255, 0.05);
    --ls-card-bg-hover: rgba(255, 255, 255, 0.08);
    --ls-card-bg-active: rgba(255, 255, 255, 0.10);
    --ls-card-line: rgba(255, 255, 255, 0.10);
}

.ls-varui__opt,
.et_pb_column.ls-product-summary .ls-feature-card,
.et_pb_column.ls-product-summary .quantity,
.woocommerce div.product form.cart .quantity,
.woocommerce div.product form.cart .ls-buyrow .quantity,
.et_pb_section:has(.ls-product-summary) .lssoc {
    background-color: var(--ls-card-bg);
    border-color: var(--ls-card-line);
}

.ls-varui__opt:hover:not(:disabled) {
    background-color: var(--ls-card-bg-hover);
    border-color: var(--ls-hairline-strong);
}

/* Selected still has to win a glance: one more step of the same wash plus a
   brighter hairline, rather than a different material. */
.ls-varui__opt.is-selected {
    background-color: var(--ls-card-bg-active);
    border-color: var(--ls-text-soft);
}

/* The share buttons keep their own token API — set the tokens, not the box. */
.et_pb_section:has(.ls-product-summary) .lssoc {
    --lssoc-surface: rgba(255, 255, 255, 0.05);
    --lssoc-line: rgba(255, 255, 255, 0.10);
}
.et_pb_section:has(.ls-product-summary) .lssoc .lssoc-btn {
    border-color: var(--ls-card-line);
}

/* --- the price moves below the options -----------------------------------
   The slot is printed by inc/lsfab-buy-box.php from the captured Divi module,
   so every rule in section 18 that names .et_pb_wc_price still applies. Only
   the box around it is new.
   ---------------------------------------------------------------------- */
.ls-price-slot {
    margin: var(--ls-space-5) 0 var(--ls-space-4);
}
.ls-price-slot .et_pb_wc_price,
.ls-price-slot .et_pb_module_inner,
.ls-price-slot .price {
    margin: 0 !important;
    padding: 0 !important;
}

/* Woo's own `form.cart table { margin-bottom: 1em }` sat under the cards and
   stacked with the slot's own top margin. The slot owns that gap now. */
.woocommerce div.product form.cart table.variations {
    margin-bottom: 0 !important;
}

/* --- spacing -------------------------------------------------------------
   Measured on the live page before the change: 22 / 22 / 39 / 8 / 16 / 12.
   The 39 was the real defect — Divi puts 15px of padding on the variations
   ROW, above the attribute label, so "TYPE" floated 39px clear of the cards
   it labels and read as a heading rather than as a label.
   ---------------------------------------------------------------------- */

/* Title and its rating are one unit; 22px read as two separate blocks. */
.et_pb_column.ls-product-summary > .et_pb_text {
    margin-bottom: 14px !important;
}

/* The viewing pill now mounts inside the rating module, under the stars. */
.et_pb_column.ls-product-summary .lsv {
    margin: var(--ls-space-2) 0 0 !important;
}

/* Label sits 8px above its own cards, at every width. */
.woocommerce div.product form.cart table.variations tr {
    padding-top: 0 !important;
}
.woocommerce div.product form.cart table.variations th.label {
    padding: 0 !important;
}
.woocommerce div.product form.cart table.variations th.label label {
    display: block;
    margin: 0 0 var(--ls-space-2) !important;
}
/* Below 981px the table is still a real table, so the row cannot carry a
   margin — the separation between attribute groups goes on the label cell of
   every row but the first. */
@media (max-width: 980px) {
    .woocommerce div.product form.cart table.variations tr + tr th.label {
        padding-top: var(--ls-space-5) !important;
    }
}

/* =========================================================================
 * SP-34 -- "MOST ORDERED" RAIL  (inc/lsfab-bestsellers.php)
 *
 * Sits between the archive lead and the result bar. Everything here is
 * doubled behind `.et-db #et-boc .et-l` for the usual reason: the rail is
 * printed inside a Divi text module, so Divi's own `a`, `h2` and `img` rules
 * reach it and win on specificity from a plain selector.
 *
 * The rail must not read as a second product grid -- it is a recommendation,
 * and if it looks like the listing the shopper thinks the listing started and
 * then hits a heading again. So: no card borders, no buttons, a smaller image
 * and a lighter title than the grid below it.
 * ========================================================================= */
.ls-best,
.et-db #et-boc .et-l .ls-best {
    margin: 0 0 var(--ls-space-5);
    padding: 0;
    clear: both;
    /* The loop wrapper carries Divi's .et_pb_text_align_center, which the
       product cards want and this rail does not: centred two-line names in a
       72px-image row read as a caption block, and the heading floats away
       from the lead it sits under. Reset it for the rail only. */
    text-align: left;
}

.ls-best__head,
.et-db #et-boc .et-l .ls-best__head {
    margin: 0 0 var(--ls-space-3);
    padding: 0;
    font-family: var(--ls-font-display);
    font-size: var(--ls-h5);
    font-weight: 700;
    letter-spacing: var(--ls-tracking-caps);
    text-transform: uppercase;
    color: var(--ls-text-faint);
    line-height: 1;
}

.ls-best__row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--ls-space-4);
}

.ls-best__card,
.et-db #et-boc .et-l .ls-best__card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-items: center;
    gap: 2px var(--ls-space-3);
    padding: var(--ls-space-3);
    border: 1px solid transparent;
    border-radius: var(--ls-radius);
    background: var(--ls-surface-2);
    text-decoration: none !important;
    color: var(--ls-text) !important;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.ls-best__card:hover,
.et-db #et-boc .et-l .ls-best__card:hover {
    border-color: var(--ls-cyan);
    background: var(--ls-surface-3, var(--ls-surface-2));
}

.ls-best__img {
    grid-row: 1 / 4;
    display: block;
    width: 72px;
    height: 72px;
    border-radius: var(--ls-radius-sm, 4px);
    overflow: hidden;
    background: #000;
}

.ls-best__img img,
.et-db #et-boc .et-l .ls-best__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    border-radius: 0;
}

.ls-best__name,
.et-db #et-boc .et-l .ls-best__name {
    font-family: var(--ls-font-body);
    font-size: var(--ls-small);
    font-weight: 500;
    line-height: var(--ls-leading-small);
    color: var(--ls-text) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ls-best__rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ls-best__rating .star-rating {
    font-size: var(--ls-caption);
    margin: 0;
}

.ls-best__n {
    font-size: var(--ls-caption);
    color: var(--ls-text-faint);
    font-variant-numeric: tabular-nums;
}

.ls-best__price,
.et-db #et-boc .et-l .ls-best__price {
    font-family: var(--ls-font-body);
    font-size: var(--ls-small);
    font-weight: 700;
    color: var(--ls-text) !important;
    line-height: 1.2;
}

.ls-best__price del { display: none; }
.ls-best__price ins { text-decoration: none; }

/* A rail that costs four card heights on a phone is not a rail, it is a
   second listing in front of the first. One card height, swiped. */
@media (max-width: 980px) {
    .ls-best__row {
        display: flex;
        gap: var(--ls-space-3);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        /* 2026-09-08: this bled 16px past the container on each side to reach
           the viewport edge, but the page gutter here is only ~9px on a
           375px phone, so the rail sat 7px off-screen on both sides and gave
           the whole page 7px of horizontal overflow. The peek affordance does
           not need the bleed -- the row is narrower than its cards either
           way, so the next card is still cut off at the content edge. */
        margin: 0;
        padding: 0 0 2px;
        scrollbar-width: none;
    }

    .ls-best__row::-webkit-scrollbar { display: none; }

    .ls-best__card,
    .et-db #et-boc .et-l .ls-best__card {
        flex: 0 0 78%;
        max-width: 300px;
        scroll-snap-align: start;
    }
}

/* =========================================================================
 * SP-32 -- CATEGORY TILE GRID ON THE SHOP PAGE  (inc/lsfab-shop-grid.php)
 *
 * Sits between the archive lead and the result bar, shop page only. Doubled
 * behind `.et-db #et-boc .et-l` throughout, and text-align reset, for the same
 * two reasons the "most ordered" rail above needs both: it renders inside the
 * loop wrapper, which carries Divi's centred-text class and its link colours.
 *
 * The image box is a fixed 1:1 with the aspect-ratio property rather than a
 * padding hack, so 28 tiles reserve their full height before a single image
 * decodes. 273 desktop URLs are already rated Poor for CLS -- a grid this size
 * without reserved boxes would have been the new top cause of it.
 * ========================================================================= */
.ls-shopgrid,
.et-db #et-boc .et-l .ls-shopgrid {
    margin: 0 0 var(--ls-space-6);
    padding: 0;
    clear: both;
    text-align: left;
}

.ls-shopgrid__group + .ls-shopgrid__group {
    margin-top: var(--ls-space-6);
}

.ls-shopgrid__head,
.et-db #et-boc .et-l .ls-shopgrid__head {
    margin: 0 0 var(--ls-space-3);
    padding: 0;
    font-family: var(--ls-font-display);
    font-size: var(--ls-h5);
    font-weight: 700;
    letter-spacing: var(--ls-tracking-caps);
    text-transform: uppercase;
    color: var(--ls-text-faint);
    line-height: 1;
}

.ls-shopgrid__row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--ls-space-4);
}

.ls-shopgrid__tile,
.et-db #et-boc .et-l .ls-shopgrid__tile {
    display: block;
    padding: 0;
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius);
    background: var(--ls-surface-2);
    overflow: hidden;
    text-decoration: none !important;
    color: var(--ls-text) !important;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.ls-shopgrid__tile:hover,
.et-db #et-boc .et-l .ls-shopgrid__tile:hover {
    border-color: var(--ls-cyan);
    transform: translateY(-2px);
}

.ls-shopgrid__img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #000;
    overflow: hidden;
}

.ls-shopgrid__pic,
.et-db #et-boc .et-l .ls-shopgrid__pic {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    border-radius: 0;
}

.ls-shopgrid__name,
.et-db #et-boc .et-l .ls-shopgrid__name {
    display: block;
    padding: var(--ls-space-3) var(--ls-space-3) 2px;
    font-family: var(--ls-font-display);
    font-size: var(--ls-h4);
    font-weight: 600;
    line-height: var(--ls-leading-h4);
    color: var(--ls-text) !important;
}

.ls-shopgrid__n,
.et-db #et-boc .et-l .ls-shopgrid__n {
    display: block;
    padding: 0 var(--ls-space-3) var(--ls-space-3);
    font-family: var(--ls-font-body);
    font-size: var(--ls-caption);
    color: var(--ls-text-faint) !important;
    font-variant-numeric: tabular-nums;
}

/* The two groups are not peers. "Shop by truck" is the decision the whole
   catalogue is organised around and the ten era illustrations are the best
   art on the site, so those tiles get the room. The collections are a
   secondary index -- same tile, denser grid, so the pair reads as a hierarchy
   rather than as 28 equal choices, and the product loop stays reachable. */
.ls-shopgrid__group--collection .ls-shopgrid__row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--ls-space-3);
}

.ls-shopgrid__group--collection .ls-shopgrid__name,
.et-db #et-boc .et-l .ls-shopgrid__group--collection .ls-shopgrid__name {
    font-size: var(--ls-h4);
}

@media (max-width: 1400px) {
    .ls-shopgrid__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ls-shopgrid__group--collection .ls-shopgrid__row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
    .ls-shopgrid__row,
    .ls-shopgrid__group--collection .ls-shopgrid__row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--ls-space-3);
    }
}

/* Two up on a phone, not one: at one tile per row the ten era tiles alone are
   ten screens of scrolling before the shopper reaches a single product. */
@media (max-width: 600px) {
    .ls-shopgrid__row,
    .ls-shopgrid__group--collection .ls-shopgrid__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .ls-shopgrid__name,
    .et-db #et-boc .et-l .ls-shopgrid__name { font-size: var(--ls-h4); line-height: var(--ls-leading-h4); }
}

/* ============================================================================
   20. THE PHONE HEADER BLOCK - teardown UX-01 / UX-02 / UX-03   2026-09-08

   Three teardown items fixed together because they are one strip of the page:
   the run-up between the site header and the gallery on a phone.

   WHAT WAS THERE. The header ended, then 51px of nothing, then the gallery.
   The 51 is 50px of Divi's default section padding plus a 1px row whose only
   module - the breadcrumb - was switched off on phone in the Builder
   (disabled_on="on|off|off", and Divi's field order is phone|tablet|desktop).
   The title under it then ran at 45px on a 375px screen, BIGGER than the 38px
   it uses at 1920, three lines, 172px tall.

   NOTE ON THE 83px IN THE TEARDOWN. That figure double-counted a 32px offset
   the desktop browser pane adds at the top of the document; no stylesheet on
   the site sets it. The real gap for a visitor is 51px. Measure a gap from the
   header's BOTTOM, never by subtracting its height from the next element's top.

   WHAT IT IS NOW. The breadcrumb is back on below 980px (disabled_on flipped
   to off|off|off on the module in layouts 604711 and 605296) and it occupies
   that space: 4px above it, the 44px tap-target line the crumb links already
   carry from mobile.css section 8, 6px below. 54px of navigation replacing
   51px of nothing, and the title clamp gives back roughly 104px.

   BREAKPOINTS, and why they differ. The title ladder runs at 980 and 600
   because the fault it corrects - phone type larger than desktop type - also
   applies on a tablet, where Divi's own rule says 50px. The header-strip
   changes run at 767 only, Divi's phone breakpoint and the one disabled_on
   was keyed to, so the tablet layout is left exactly as it was.

   The desktop half of the title sizing is section 17's (min-width:981px)
   block. Move the two together.
   ========================================================================= */

/* --- UX-01: the product title ------------------------------------------- */

@media (max-width: 980px) {
    body.et-db #et-boc .et-l .et_pb_column.ls-product-summary .et_pb_text h1 {
        font-size: var(--ls-h1) !important;
        line-height: var(--ls-leading-h1) !important;
    }
}

@media (max-width: 600px) {
    body.et-db #et-boc .et-l .et_pb_column.ls-product-summary .et_pb_text h1 {
        font-size: var(--ls-h1) !important;
        line-height: var(--ls-leading-h1) !important;
    }
}

/* --- UX-02 + UX-03: the breadcrumb, in the space the padding was using --- */

@media (max-width: 767px) {

    /* Divi's default .et_pb_section padding is 50px top. The layout only ever
       set the bottom (custom_padding="||0px|||"), so the top is untouched
       Divi. Scoped to single-product: the same _0_tb_body class exists on the
       shop and category body layouts, which are not this. */
    body.single-product #et-boc .et-l .et_pb_section_0_tb_body {
        padding-top: 4px !important;
    }

    /* The module carries custom_margin="||40px|||" for the desktop layout.
       40px under a 44px line is most of a phone's first screen.

       TWO NODES, and the module is the wrong one on its own. Divi does not
       put custom_margin on the module - it emits
       `.et_pb_wc_breadcrumb_0_tb_body .woocommerce-breadcrumb{margin-bottom:
       40px!important}`, i.e. on the nav INSIDE it. The module box stayed 44px
       tall while its column measured 84, because that margin escapes the
       module and lands on the column. Both have to be set. */
    body.single-product #et-boc .et-l .et_pb_module.et_pb_wc_breadcrumb {
        margin-bottom: 6px !important;
    }
    body.single-product #et-boc .et-l .et_pb_wc_breadcrumb .woocommerce-breadcrumb {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* One line that scrolls, never two that wrap - the same treatment the
       category crumb bar gets in section 16. A product trail is
       Home / Era / Department / Product and will outrun 375px on most parts. */
    body.single-product .woocommerce-breadcrumb {
        font-size: var(--ls-small);
        line-height: var(--ls-leading-small);
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    body.single-product .woocommerce-breadcrumb::-webkit-scrollbar {
        display: none;
    }
}

/* SP-31 -- the era x department landing pages.
   The layout's "About {term}" heading is removed server-side; this is the
   belt to that filter's braces, in case a Divi update renames the module
   output hook. Everything else on these pages reuses the archive's own
   components, so there is nothing further to style. */
.ls-ed-page .et_pb_text.ls-catabout__head { display: none; }

/* The About block's Read-more button only renders below 981px, so it is a
   touch control by definition: 44px, the site's tap-target minimum. */
.ls-catabout .ls-catabout__toggle,
.et-db #et-boc .et-l .ls-catabout .ls-catabout__toggle {
    min-height: 44px;
}

/* ============================================================================
 * 19. CART & CHECKOUT UX PASS 2 (Sep 11 2026)
 * ----------------------------------------------------------------------------
 * Measured at 1920 and in a 390px same-origin iframe on the live pages.
 * ========================================================================== */

/* --- 19a. Checkout section spans the page --------------------------------
   The checkout page's Divi section carries width:95% from its own page
   settings. At 1920 that left a 95px dark band down the right edge and put
   the form 48px left of centre. */
body.woocommerce-checkout #page-container .et_pb_section_0,
body.woocommerce-checkout #page-container .et_pb_section:has(.woocommerce) { width: 100% !important; }

/* --- 19b. Payment rows: radio and title on one line -----------------------
   14g made the label width:100%, so it wrapped onto its own line under the
   radio and every row was two lines tall. Not done with display:flex on the
   li - PPCP hides the Apple Pay row with a stylesheet display:none in
   browsers that cannot use it, and a flex rule here would show it again. */
.woocommerce-checkout #payment ul.wc_payment_methods li > input.input-radio {
    margin: 0 12px 0 0 !important;
    vertical-align: middle;
}
.woocommerce-checkout #payment ul.wc_payment_methods li > label {
    display: inline-flex;
    width: calc(100% - 40px);
    vertical-align: middle;
}

/* --- 19c. Wallet buttons --------------------------------------------------
   PPCP keeps a 45px Apple Pay slot (plus a 14px margin) even in browsers
   where Apple Pay cannot render; it holds only hidden inputs there. Hidden
   inputs still submit from a zero-height box. */
.ppc-button-wrapper #ppc-button-applepay-container:not(:has(> :not(input))) {
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}
/* With PayPal chosen, its buttons replace Place order but render after the
   payment panel, touching its bottom border. */
.woocommerce-checkout #order_review > .ppc-button-wrapper > #ppc-button-ppcp-gateway { margin-top: var(--ls-space-4); }

/* Cart: checkout, PayPal and Google/Apple Pay as one centred stack at one
   width. PayPal's button caps itself at 750px inside its own iframe, so that
   is the measure the other two come down to. The id-weighted selectors are
   needed: 12's `.wc-proceed-to-checkout .ppc-button-wrapper { max-width:100% }`
   and the site-wide `.et-db #et-boc .et-l .woocommerce a.button` height both
   outrank a plain class selector. */
.woocommerce .wc-proceed-to-checkout {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.et-db #et-boc .et-l .woocommerce .wc-proceed-to-checkout > a.checkout-button,
.et-db #et-boc .et-l .woocommerce .wc-proceed-to-checkout > .ppc-button-wrapper,
.woocommerce .wc-proceed-to-checkout > a.checkout-button,
.woocommerce .wc-proceed-to-checkout > .ppc-button-wrapper {
    width: 100% !important;
    max-width: 750px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.et-db #et-boc .et-l .woocommerce .wc-proceed-to-checkout > a.checkout-button,
.woocommerce .wc-proceed-to-checkout > a.checkout-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 55px !important;
    min-height: 55px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
}
.woocommerce .wc-proceed-to-checkout > .ppc-button-wrapper { margin-top: 12px !important; }
/* lsfab.ca shows PayPal's Pay in 4 line above the stack (lsfab.com's USD
   account gets none); it sat flush on the checkout button. */
.woocommerce .wc-proceed-to-checkout > .ppcp-messages:not(:empty) { margin: 0 0 12px !important; }
.woocommerce .wc-proceed-to-checkout > .ppc-button-wrapper > .ppcp-button-apm:not(#ppc-button-applepay-container) {
    width: 100% !important;
    max-width: none !important;
    margin-top: 12px !important;
}
/* Checkout: the Google Pay / Apple Pay button that replaces Place order sits
   14px under the payment panel (PPCP's margin); PayPal's is 16 above. */
.woocommerce-checkout #order_review > #ppc-button-ppcp-googlepay,
.woocommerce-checkout #order_review > #ppc-button-ppcp-applepay { margin-top: var(--ls-space-4) !important; }

/* --- 19d. Order review: one hairline per row ------------------------------
   Every cell carried its own border (WooCommerce's border-top plus the
   theme's border-bottom). Once rows became flex label/value pairs the cells
   shrank to their content and each rule broke into two short stubs - one
   under the label, one over the price. The shipping row, a block inside a
   table, was also sized to the first column: its options stopped 93px short
   of the card's right edge. Rows are flex at every width now and the row
   carries the hairline. */
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table,
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tbody,
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tfoot {
    display: block;
    width: 100%;
}
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tr {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    column-gap: 16px;
    border-bottom: 1px solid var(--ls-hairline-faint);
}
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tr.order-total { border-bottom: 0; }
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table th,
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table td {
    display: block;
    width: auto;
    border-top: 0 !important;
    border-bottom: 0 !important;
}
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .product-name {
    flex: 1 1 0;
    min-width: 0;
    text-align: left !important;
}
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .product-total,
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tfoot > tr:not(.woocommerce-shipping-total):not(.woocommerce-shipping-totals) > td {
    flex: 0 0 auto;
    text-align: right !important;
    white-space: nowrap;
}
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th,
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td {
    flex: 0 0 100%;
    text-align: left !important;
    white-space: normal;
}
@media (min-width: 981px) {
    body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table thead { display: block; width: 100%; }
}

/* lsfab.ca runs Local Pickup Plus, which wraps the shipping row in a table
   of its own (tr.woocommerce-shipping-total > th "Shipping" + td > table >
   tr.woocommerce-shipping-totals "Shipment") and adds a row that holds only
   two hidden inputs. The outer label repeats the inner one, the hidden-input
   row was 49px of blank space under the product, and the nested table sized
   to its text — the "no shipping options" notice ran off the card. */
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table > tbody > tr:has(#wc-local-pickup-plus-packages-to-ship) { display: none !important; }
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-total > th { display: none; }
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-total > td {
    flex: 0 0 100%;
    min-width: 0;
    padding: 0 !important;
    text-align: left !important;
    white-space: normal;
}
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table table.lpp-shipping-package-wrapper {
    display: block;
    width: 100%;
    margin: 0 !important;
    border: 0 !important;
}
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table table.lpp-shipping-package-wrapper tbody { display: block; width: 100%; }
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table table.lpp-shipping-package-wrapper tr { border-bottom: 0; }

/* Same Local Pickup Plus wrapper in the cart totals: the inner "Shipment"
   label repeated the row's own "Shipping" label and the nested table drew a
   box of its own around the options. */
.woocommerce .cart_totals table.shop_table table.lpp-shipping-package-wrapper {
    width: 100%;
    margin: 0 !important;
    border: 0 !important;
    background: none;
}
.woocommerce .cart_totals table.shop_table table.lpp-shipping-package-wrapper tr { border: 0 !important; }
.woocommerce .cart_totals table.shop_table table.lpp-shipping-package-wrapper th { display: none !important; }
.woocommerce .cart_totals table.shop_table table.lpp-shipping-package-wrapper td {
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
}

/* --- 19e. Ship to a different address: even padding -----------------------
   Closed, the card measured 24px above the checkbox and 33px below it: the
   heading kept its 16px bottom margin with nothing under it. */
.woocommerce-checkout .woocommerce-shipping-fields:has(#ship-to-different-address-checkbox:not(:checked)) { padding-bottom: 24px; }
.woocommerce-checkout .woocommerce-shipping-fields:has(#ship-to-different-address-checkbox:not(:checked)) #ship-to-different-address { margin-bottom: 0; }

/* --- 19f. Cart actions row: promo toggle, no Update cart ------------------
   js/cart.js updates the cart itself when a quantity changes and adds
   body.ls-cart-autoupdate, so the Update cart button goes. Without the script
   the class is never added and the button stays. The coupon field moves into
   the checkout's "Have a promo code?" row (.ls-promo, section 13). */
body.ls-cart-autoupdate form.woocommerce-cart-form td.actions [name="update_cart"],
body.woocommerce-cart.ls-cart-autoupdate.et-db #et-boc .et-l .woocommerce table.shop_table.cart td.actions > [name="update_cart"] { display: none !important; }
.woocommerce table.shop_table.cart td.actions .ls-promo--cart {
    float: none;
    margin: 0 !important;
    text-align: left;
}
.woocommerce table.shop_table.cart td.actions .ls-promo--cart:not(.is-open) .coupon { display: none !important; }
.woocommerce table.shop_table.cart td.actions .ls-promo--cart .coupon {
    float: none !important;
    display: flex !important;
    align-items: stretch;
    gap: var(--ls-space-2);
    width: auto !important;
    margin: 0 !important;
    padding: 0 var(--ls-space-4) var(--ls-space-4) !important;
}
.woocommerce table.shop_table.cart td.actions .ls-promo--cart .coupon input#coupon_code {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
}
@media (min-width: 981px) {
    .woocommerce table.shop_table.cart td.actions .ls-promo--cart { max-width: 420px; }
    .et-db #et-boc .et-l .woocommerce table.shop_table.cart td.actions .ls-promo--cart .coupon input#coupon_code,
    .et-db #et-boc .et-l .woocommerce table.shop_table.cart td.actions .ls-promo--cart .coupon .button {
        height: var(--ls-btn-h-sm) !important;
        min-height: var(--ls-btn-h-sm) !important;
    }
}

/* --- 19g. Terms line: the required mark follows the words ----------------
   On a phone the label is a flex row (tap-target rule), so the <abbr> became
   its own flex item and sat alone at the far right edge, detached from the
   sentence it marks. The mark is drawn after the text instead; the checkbox
   itself still carries `required`. */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label > abbr.required { display: none; }
.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text::after {
    content: " *";
    color: var(--ls-red);
}

@media (max-width: 980px) {
    /* 19h. Card panel on a phone. The three captions were 44px tall each —
       the tap-target minimum meant for radio and checkbox labels also caught
       these, which are captions over PayPal's frames, not controls. Expiry
       and CVV share one row as they do on desktop. The nested padding around
       the panel comes down a step so the fields get the width back. */
    body.woocommerce-checkout #payment #wc-ppcp-credit-card-gateway-cc-form label {
        display: block !important;
        min-height: 0 !important;
        height: auto !important;
        line-height: 1.4 !important;
    }
    /* Inline, so a caption that wraps keeps its mark on the last word. */
    body.woocommerce-checkout #payment #wc-ppcp-credit-card-gateway-cc-form label .required {
        display: inline !important;
        margin-left: 4px;
    }
    /* A grid rather than floats: "EXPIRY (MM/YY)" wraps to two lines in a
       half-width column and CVV does not, so the two fields have to be
       aligned on their bottom edge, which floats cannot do. The panel's
       caption is the fieldset's ::before, so it gets a full row too. */
    body.woocommerce-checkout #payment #wc-ppcp-credit-card-gateway-cc-form {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        column-gap: 12px;
    }
    body.woocommerce-checkout #payment #wc-ppcp-credit-card-gateway-cc-form::before,
    body.woocommerce-checkout #payment #wc-ppcp-credit-card-gateway-cc-form .form-row-wide { grid-column: 1 / -1; }
    body.woocommerce-checkout #payment #wc-ppcp-credit-card-gateway-cc-form .form-row-first,
    body.woocommerce-checkout #payment #wc-ppcp-credit-card-gateway-cc-form .form-row-last {
        display: flex !important;
        flex-direction: column;
        justify-content: flex-end;
        width: auto !important;
        min-width: 0;
        float: none !important;
        clear: none !important;
    }
    body.woocommerce-checkout #payment #wc-ppcp-credit-card-gateway-cc-form > .clear { display: none; }
    body.woocommerce-checkout #payment ul.wc_payment_methods { padding: 12px !important; }
    body.woocommerce-checkout #payment ul.wc_payment_methods li { padding: 12px !important; }

    /* 19f on a phone: field and Apply stack full width inside the open row. */
    body.woocommerce-cart.et-db #et-boc .et-l .woocommerce table.shop_table.cart td.actions .ls-promo--cart .coupon {
        display: block !important;
    }
    body.woocommerce-cart.et-db #et-boc .et-l .woocommerce table.shop_table.cart td.actions .ls-promo--cart .coupon .button {
        margin-bottom: 0 !important;
    }
    body.woocommerce-cart.et-db #et-boc .et-l .woocommerce table.shop_table.cart td.actions .ls-promo--cart:not(.is-open) .coupon {
        display: none !important;
    }

    /* Cart totals on a phone: same broken-hairline problem as 19d. */
    body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table th,
    body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table td {
        border-top: 0 !important;
        border-bottom: 0 !important;
    }
    body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table tr { border-bottom: 1px solid var(--ls-hairline-faint); }
    body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table tr.order-total { border-bottom: 0; }
    /* Tax and fee lines are one short label/value pair like the subtotal
       (mobile.css section 6 only lists subtotal and total). */
    body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table tr.tax-rate,
    body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table tr.tax-total,
    body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table tr.fee {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 16px;
    }
    body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table tr.tax-rate > *,
    body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table tr.tax-total > *,
    body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table tr.fee > * {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }
    body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table tr.tax-rate td,
    body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table tr.tax-total td,
    body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table tr.fee td { text-align: right !important; }
    body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table table.lpp-shipping-package-wrapper tr { border-bottom: 0 !important; }

    /* PayPal and Google Pay render 45px tall at phone widths (their own
       iframes decide); the checkout button matches them. */
    .et-db #et-boc .et-l .woocommerce .wc-proceed-to-checkout > a.checkout-button,
    .woocommerce .wc-proceed-to-checkout > a.checkout-button {
        height: 45px !important;
        min-height: 45px !important;
    }
}


/* ============================================================================
 * 20. THANK-YOU PAGE (order received) — Sep 11 2026
 * ----------------------------------------------------------------------------
 * Markup from woocommerce/checkout/thankyou.php. The page hero is stripped on
 * this endpoint (inc/lsfab-checkout-focus.php); the confirmation header below
 * carries the H1. One reading column, the same card language as checkout.
 * ========================================================================== */
.woocommerce .ls-thanks {
    max-width: 820px;
    margin: 0 auto;
}

/* Confirmation header */
.woocommerce .ls-thanks__head {
    display: flex;
    align-items: flex-start;
    gap: var(--ls-space-5);
    margin: 0 0 var(--ls-space-5);
}
.woocommerce .ls-thanks__icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--ls-red);
    color: #fff;
}
.woocommerce .ls-thanks__icon svg { width: 28px; height: 28px; }
.woocommerce .ls-thanks__intro { min-width: 0; }
.woocommerce .ls-thanks__eyebrow {
    margin: 0 0 var(--ls-space-2);
    padding: 0;
    font-family: var(--ls-font-body);
    font-size: var(--ls-micro);
    font-weight: 600;
    letter-spacing: var(--ls-tracking-eyebrow);
    text-transform: uppercase;
    color: var(--ls-text-soft);
}
.woocommerce .ls-thanks h1.ls-thanks__title {
    margin: 0;
    padding: 0;
    font-family: var(--ls-font-display);
    font-size: var(--ls-h2);
    font-weight: 700;
    line-height: 1.15;
    color: var(--ls-text);
}
.woocommerce .ls-thanks__lede {
    margin: var(--ls-space-3) 0 0;
    padding: 0;
    font-size: var(--ls-body);
    line-height: 1.5;
    color: var(--ls-text-muted);
}
.woocommerce .ls-thanks__lede strong { color: var(--ls-text); font-weight: 600; }

/* Order facts: a grid instead of a wrapping flex row, so the four cells line
   up and wrap two-by-two on a phone. */
.woocommerce .ls-thanks ul.woocommerce-order-overview.ls-thanks__facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--ls-space-4) var(--ls-space-5);
    margin: 0 0 var(--ls-space-5);
    padding: var(--ls-space-5);
}
/* WooCommerce's clearfix ::before/::after would become grid items. */
.woocommerce .ls-thanks ul.woocommerce-order-overview.ls-thanks__facts::before,
.woocommerce .ls-thanks ul.woocommerce-order-overview.ls-thanks__facts::after { content: none; display: none; }
.woocommerce .ls-thanks ul.woocommerce-order-overview.ls-thanks__facts li {
    min-width: 0;
    color: var(--ls-text-soft);
}
.woocommerce .ls-thanks ul.woocommerce-order-overview.ls-thanks__facts li strong {
    overflow-wrap: anywhere;
}

/* What happens next */
.woocommerce .ls-thanks__next {
    margin: 0 0 var(--ls-space-5);
    padding: var(--ls-space-5);
    background-color: var(--ls-surface-1);
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-lg);
}
.woocommerce .ls-thanks h2.ls-thanks__subhead {
    margin: 0 0 var(--ls-space-4);
    padding: 0;
    font-family: var(--ls-font-display);
    font-size: var(--ls-h4);
    font-weight: 700;
    line-height: 1.25;
    color: var(--ls-text);
}
.woocommerce .ls-thanks__steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: lsthanks;
}
.woocommerce .ls-thanks__steps li {
    position: relative;
    margin: 0 0 var(--ls-space-4);
    padding: 0 0 0 44px;
    min-height: 28px;
    font-size: var(--ls-body);
    line-height: 1.5;
    color: var(--ls-text-muted);
    counter-increment: lsthanks;
}
.woocommerce .ls-thanks__steps li:last-child { margin-bottom: 0; }
.woocommerce .ls-thanks__steps li::before {
    content: counter(lsthanks);
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ls-hairline);
    border-radius: 50%;
    font-size: var(--ls-small);
    font-weight: 700;
    line-height: 1;
    color: var(--ls-text);
}
.woocommerce .ls-thanks__steps li strong {
    display: block;
    font-weight: 600;
    color: var(--ls-text);
}
.woocommerce .ls-thanks__steps a { color: var(--ls-text); text-decoration: underline; text-decoration-color: var(--ls-red); text-underline-offset: 3px; }
.woocommerce .ls-thanks__steps a:hover { color: var(--ls-coral); }
.woocommerce .ls-thanks__actions {
    margin: var(--ls-space-5) 0 0;
    padding: var(--ls-space-5) 0 0;
    border-top: 1px solid var(--ls-hairline-faint);
}

/* Order details: same card, one hairline per row, labels as captions and the
   values right-aligned under the TOTAL column. absorbed.css (loaded last)
   pads this card 25px on #161616, hence the extra class for weight. */
.woocommerce .ls-thanks .woocommerce-order-details,
.woocommerce .ls-thanks .woocommerce-customer-details {
    margin: 0 0 var(--ls-space-5);
    padding: var(--ls-space-5);
    background-color: var(--ls-surface-1);
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-lg);
}
.woocommerce .ls-thanks .woocommerce-order-details__title,
.woocommerce .ls-thanks .woocommerce-customer-details h2,
.woocommerce .ls-thanks .woocommerce-column__title {
    margin: 0 0 var(--ls-space-4);
    padding: 0;
    font-family: var(--ls-font-display);
    font-size: var(--ls-h4);
    font-weight: 700;
    line-height: 1.25;
}
.woocommerce .ls-thanks table.woocommerce-table--order-details {
    width: 100%;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: collapse;
    background: none;
}
.woocommerce .ls-thanks table.woocommerce-table--order-details th,
.woocommerce .ls-thanks table.woocommerce-table--order-details td {
    padding: var(--ls-space-3) 0 !important;
    background: none !important;
    border: 0 !important;
    border-bottom: 1px solid var(--ls-hairline-faint) !important;
    font-size: var(--ls-body);
    color: var(--ls-text);
    vertical-align: top;
}
.woocommerce .ls-thanks table.woocommerce-table--order-details thead th {
    padding-top: 0 !important;
    font-size: var(--ls-micro);
    font-weight: 600;
    letter-spacing: var(--ls-tracking-eyebrow);
    text-transform: uppercase;
    color: var(--ls-text-soft);
}
.woocommerce .ls-thanks table.woocommerce-table--order-details .product-total,
.woocommerce .ls-thanks table.woocommerce-table--order-details tfoot td { text-align: right; }
.woocommerce .ls-thanks table.woocommerce-table--order-details .product-name a { color: var(--ls-text); }
.woocommerce .ls-thanks table.woocommerce-table--order-details .product-quantity { font-weight: 600; color: var(--ls-text-muted); }
.woocommerce .ls-thanks table.woocommerce-table--order-details .wc-item-meta {
    margin: var(--ls-space-1) 0 0;
    padding: 0;
    list-style: none;
    font-size: var(--ls-small);
    color: var(--ls-text-muted);
}
.woocommerce .ls-thanks table.woocommerce-table--order-details .wc-item-meta p { display: inline; margin: 0; }
.woocommerce .ls-thanks table.woocommerce-table--order-details tfoot th {
    font-size: var(--ls-small);
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    color: var(--ls-text-muted);
}
.woocommerce .ls-thanks table.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce .ls-thanks table.woocommerce-table--order-details tfoot tr:last-child td { border-bottom: 0 !important; padding-bottom: 0 !important; }
.woocommerce .ls-thanks table.woocommerce-table--order-details tfoot td:has(a.button),
.woocommerce .ls-thanks table.woocommerce-table--order-details tfoot th.order-actions--heading { vertical-align: middle; }
.et-db #et-boc .et-l .woocommerce .ls-thanks table.woocommerce-table--order-details tfoot a.button,
.woocommerce .ls-thanks table.woocommerce-table--order-details tfoot a.button {
    display: inline-flex !important;
    align-items: center;
    width: auto !important;
    height: var(--ls-btn-h-sm, 40px) !important;
    min-height: var(--ls-btn-h-sm, 40px) !important;
    margin: 0 0 0 var(--ls-space-2) !important;
    padding: 0 var(--ls-space-4) !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
    font-size: var(--ls-small) !important;
    line-height: 1 !important;
}
.et-db #et-boc .et-l .woocommerce .ls-thanks table.woocommerce-table--order-details tfoot a.button:hover,
.woocommerce .ls-thanks table.woocommerce-table--order-details tfoot a.button:hover {
    border-color: rgba(255, 255, 255, 0.6) !important;
    background-color: rgba(255, 255, 255, 0.06) !important;
}
.woocommerce .ls-thanks .woocommerce-customer-details address {
    padding: 0;
    border: 0;
    font-style: normal;
    font-size: var(--ls-body);
    line-height: 1.6;
    color: var(--ls-text-muted);
}
.woocommerce .ls-thanks .woocommerce-order-details .order-again { margin: var(--ls-space-4) 0 0; }
/* Billing / shipping columns (shown to the buyer, not to staff viewing the
   order). Two columns on a desktop, stacked on a phone; the phone/email
   lines lose WooCommerce's icon-font glyphs, which this site does not serve
   (the phone rendered as a paperclip). */
.woocommerce .ls-thanks .woocommerce-customer-details .woocommerce-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ls-space-5);
    margin: 0 !important;
}
.woocommerce .ls-thanks .woocommerce-customer-details .woocommerce-columns::before,
.woocommerce .ls-thanks .woocommerce-customer-details .woocommerce-columns::after { content: none; display: none; }
.woocommerce .ls-thanks .woocommerce-customer-details .woocommerce-column {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}
.woocommerce .ls-thanks .woocommerce-customer-details address p {
    margin: var(--ls-space-2) 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
.woocommerce .ls-thanks .woocommerce-customer-details address p::before { content: none !important; display: none !important; }

/* Returning to the page later without the session: WooCommerce asks for the
   order email first. One small card instead of bare text on the page. */
body.woocommerce-order-received .woocommerce:has(> form.woocommerce-verify-email) {
    max-width: 520px;
    margin: 0 auto;
    padding: var(--ls-space-5);
    background-color: var(--ls-surface-1);
    border: 1px solid var(--ls-hairline);
    border-radius: var(--ls-radius-lg);
}
body.woocommerce-order-received .woocommerce:has(> form.woocommerce-verify-email) > .woocommerce-notice {
    margin: 0 0 var(--ls-space-3);
    padding: 0;
    background: none;
    border: 0;
    font-family: var(--ls-font-display);
    font-size: var(--ls-h4);
    font-weight: 700;
    line-height: 1.25;
    color: var(--ls-text);
}
body.woocommerce-order-received form.woocommerce-verify-email > p:first-of-type { color: var(--ls-text-muted); }
body.woocommerce-order-received form.woocommerce-verify-email .form-row:last-child { margin-bottom: 0; }

@media (max-width: 767px) {
    /* The Divi row runs edge to edge on a phone; the page keeps a gutter. */
    .woocommerce .ls-thanks { padding: 0 var(--ls-space-4); }
    .woocommerce .ls-thanks__head { gap: var(--ls-space-4); }
    .woocommerce .ls-thanks__icon { flex-basis: 44px; width: 44px; height: 44px; }
    .woocommerce .ls-thanks__icon svg { width: 22px; height: 22px; }
    .woocommerce .ls-thanks ul.woocommerce-order-overview.ls-thanks__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: var(--ls-space-4);
    }
    .woocommerce .ls-thanks__next,
    .woocommerce .ls-thanks .woocommerce-order-details,
    .woocommerce .ls-thanks .woocommerce-customer-details { padding: var(--ls-space-4); }
    .woocommerce .ls-thanks__actions .ls-btn { width: 100%; }
    .woocommerce .ls-thanks .woocommerce-customer-details .woocommerce-columns { grid-template-columns: 1fr; }
    body.woocommerce-order-received .woocommerce:has(> form.woocommerce-verify-email) { margin: 0 var(--ls-space-4); padding: var(--ls-space-4); }
    /* woocommerce-smallscreen prints th captions as td::before; the table
       here has real header cells. */
    .woocommerce .ls-thanks table.woocommerce-table--order-details td::before { content: none !important; }
}

/* --- sold out (2026-11-10) ------------------------------------------------
   Printed by inc/lsfab-buy-box.php inside the add-to-cart module when there
   is no cart form: the captured price, the layout's out-of-stock card
   (drawn by its own script into #ls-stock-container) and the Back In Stock
   button, in the slot the button row would otherwise fill.
   ---------------------------------------------------------------------- */
.ls-soldout .ls-price-slot { margin-top: 0; }
.ls-soldout #ls-stock-container:empty { display: none; }
.ls-soldout .lsbis-wrap { margin-top: var(--ls-space-3); }
