/* Center Convert Forms in Contact page */
.center-contact-form .com-content-article__body {
    display: flex;
    justify-content: center;
    margin-top: 40px; /* space above form */
}

/* Form width control */
.center-contact-form .convertforms {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

/* Better spacing top and bottom of whole page */
.center-contact-form {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Remove white space below footer */
body {
    background-color: #000;
}

footer,
.footer,
#footer {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Hide white bottom strip */
.bottom,
#sp-bottom {
    background-color: #000;
}
/* Category + Tags style (Article page) */
.com-content-article .category-name a,
.com-content-article .tags a {
    font-weight: 700 !important;
    font-size: 15px !important;
    line-height: 24px !important;
    color: #0BBCCA !important;
    background-color: #FFFFFF !important;
    padding: 2px 6px;
    border-radius: 4px;
}
.com-content-article .category-name a:hover,
.com-content-article .tags a:hover {
    color: #39c5b9 !important;
}

/* Remove white background added by template wrapper */
.inner.clearfix {
    background: transparent !important;
}

.news-raxo {
  background: #ffffff !important;
  padding: 15px !important;
  border-radius: 12px;
  color: #000 !important;
}

/* ==========================================
   RAXO NEWS MODULE
   ========================================== */
.moduletable.my-raxo-news {
    background: #ffffff !important;
    padding: 20px;
    max-width: 1200px;
    width: 100%;
    margin: 30px auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
}
.moduletable.my-raxo-news .inner,
.moduletable.my-raxo-news .inner.clearfix,
.moduletable.my-raxo-news .module-inner {
    background: #ffffff !important;
    width: 100%;
    display: flex;
    justify-content: center;
}
.my-raxo-news .raxo-item-nor {
    background: #ffffff !important;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 10px;
}
.my-raxo-news .raxo-title a {

    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #000000 !important;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
}
.my-raxo-news .raxo-title a:hover {
    color: #0BBCCA !important;
}
.my-raxo-news .raxo-text {
    font-size: 15px;
    line-height: 20px;
    color: #333333 !important;
}

/* ==========================================================================
   NEWS PAGE -- RAXO GRID   (was ARTICLE PAGE - WHITE CARD; restyled 2026-08-19)

   HOOK: the article page that CONTAINS a RAXO Content Spotlight grid. Only
   /news does -- verified 2026-08-19 by fetching four pages:
     /news      .item-page yes, .raxo-content-spotlight yes  -> matches
     /          .item-page no,  .raxo-content-spotlight yes  -> no match
     /contact   .item-page yes, .raxo-content-spotlight no   -> no match
     /store     .item-page yes, .raxo-content-spotlight no   -> no match
   No itemid, no module id, no TCK block id anywhere in this block -- nothing
   here renumbers on a rebuild or a migration. The HOMEPAGE raxo module
   (.my-raxo-news) keeps its white card: it has no .item-page ancestor, so
   nothing below reaches it.

   WAS: a #ffffff card carrying `* { color:#000000 !important }`. On a #000
   page that was the only white surface on the site and the harshest contrast
   on it, and the blanket `*` rule killed every link colour inside (the old
   comment here recorded that as "KNOWN DEAD"). Now the page sits on the black
   background and reuses the STORE -- CATEGORY BROWSE card language further
   down this file: #0d0d0d card, #262626 hairline, #0BBCCA accent, #9a9a9a
   body copy. No `*` rule, so links keep their own colours.

   COLOURS come from RAXO's own custom properties -- raxo-grid.css declares
   them in its "COLOR Schemes" block and every rule in that stylesheet reads
   them. Setting the tokens rather than overriding the rules means a RAXO
   update cannot orphan this styling. Only tokens raxo-grid.css actually
   consumes are set here.

   SPECIFICITY: template.css:6356 has `#maincontent a { color:#ffffff;
   text-decoration:underline }` at (1,0,1). An id beats any number of classes,
   so every rule that touches a link colour or underline below carries
   `#maincontent`; the rest do not need it. raxo-grid.css sets its hover colour
   with !important, so the cyan hover survives without help from here.

   template.css:5969 `h2 { color:#000000 }` and template.css:6341
   `#maincontent > .inner { color:#555555 }` are both aimed at the old white
   card. Black-on-black and dark-grey-on-black respectively, so the page title
   and the base text colour are both set explicitly.
   ========================================================================== */

/* --- page shell: no card, sit on the black page --- */
body .tck-article.com-content-article.item-page:has(.raxo-content-spotlight) {
    background: transparent;
    color: #9a9a9a;                /* was inheriting #555555 from #maincontent > .inner */
    margin: 0 auto !important;     /* width and padding come from the SITE-WIDE
                                      CONTENT WIDTH block on #maincontent > .inner;
                                      the old card set its own and double-padded */
}

/* --- page title --- */
body .tck-article.com-content-article.item-page:has(.raxo-content-spotlight) .page-header h2 {
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 4px;
}

/* --- article tools (the Edit link, admins only) --- */
body #maincontent .tck-article.com-content-article.item-page:has(.raxo-content-spotlight) .tck-article-tools a {
    color: #8a8a8a;
    text-decoration: none;
}
body #maincontent .tck-article.com-content-article.item-page:has(.raxo-content-spotlight) .tck-article-tools a:hover {
    color: #0BBCCA;
}

/* --- the module's colour tokens.
       Left at RAXO's defaults on purpose: --raxo-gray-500 (#9a9a9a here) is
       the body-copy grey, and gray-100/200/300 carry the whole card surface. */
body .tck-article.com-content-article.item-page:has(.raxo-content-spotlight) .raxo-grid {
    --raxo-color-base:  #0BBCCA;
    --raxo-theme-color: #0BBCCA;   /* set flat, not via oklch(from ...), so the
                                      accent is the exact site cyan */

    --raxo-gray-100: #161616;      /* image mat, header bar, active switch btn */
    --raxo-gray-200: #1a1a1a;      /* idle switch button */
    --raxo-gray-300: #262626;      /* every hairline */
    --raxo-gray-400: #6f6f6f;
    --raxo-gray-500: #9a9a9a;
    --raxo-gray-600: #3a3a3a;      /* category flag / comment bubble ground */
    --raxo-gray-900: #262626;      /* the module's own top and bottom rules */

    --raxo-text-deep:  #ffffff;    /* item titles */
    --raxo-text-base:  #9a9a9a;    /* intro text */
    --raxo-text-muted: #8a8a8a;    /* meta line */
    --raxo-text-light: #6f6f6f;
    --raxo-text-above: #ffffff;    /* text sitting ON --raxo-gray-600 */

    --col-min-width: 240px;
    --title-size: 18px;
}

/* --- header bar --- */
body .tck-article.com-content-article.item-page:has(.raxo-content-spotlight) .raxo-header {
    padding: 10px 12px 10px 16px;
}

/* view switch: RAXO's own rule paints the idle button's hover with
   --raxo-gray-900, which is a hairline colour here and would be invisible. */
body .tck-article.com-content-article.item-page:has(.raxo-content-spotlight) .raxo-switch button {
    border-radius: 4px;
}
body .tck-article.com-content-article.item-page:has(.raxo-content-spotlight) .raxo-switch button[aria-pressed="true"] {
    color: #0BBCCA;
    border-color: #0BBCCA;
}
body .tck-article.com-content-article.item-page:has(.raxo-content-spotlight) .raxo-switch button[aria-pressed="false"]:hover {
    color: #ffffff;
    border-color: #0BBCCA;
}

/* --- the card.
       RAXO gives .raxo-wrap a single 2px edge whose side depends on the view
       (bottom in grid, right in list). One bordered card in both views instead,
       so switching views does not change the shape of the thing. */
body .tck-article.com-content-article.item-page:has(.raxo-content-spotlight) .raxo-wrap {
    background: #0d0d0d;
    border: 1px solid #262626;
    border-width: 1px;
    border-radius: 8px;
    padding: 16px;
    gap: 14px 20px;
    transition: border-color 0.18s ease, transform 0.18s ease;
}
body .tck-article.com-content-article.item-page:has(.raxo-content-spotlight) .raxo-wrap:hover {
    border-color: #0BBCCA;
    transform: translateY(-2px);
}

/* --- thumbnail: the mat reads one step lighter than the card, and RAXO turns
       it cyan on hover (its own rule, via --raxo-theme-color) --- */
body .tck-article.com-content-article.item-page:has(.raxo-content-spotlight) .raxo-image {
    border-radius: 4px;
}
body .tck-article.com-content-article.item-page:has(.raxo-content-spotlight) .raxo-image img {
    border-radius: 2px;
}

/* --- item title --- */
body .tck-article.com-content-article.item-page:has(.raxo-content-spotlight) .raxo-title {
    font-family: inherit;          /* RAXO defaults to Georgia; take the site face */
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
}
body #maincontent .tck-article.com-content-article.item-page:has(.raxo-content-spotlight) .raxo-grid a {
    text-decoration: none;         /* beats #maincontent a { text-decoration:underline } */
}
body #maincontent .tck-article.com-content-article.item-page:has(.raxo-content-spotlight) .raxo-title a {
    color: #ffffff;
}

/* --- intro text (grid view hides it; list view shows it) --- */
body .tck-article.com-content-article.item-page:has(.raxo-content-spotlight) .raxo-text {
    font-size: 15px;
    line-height: 1.55;
}

/* ==========================================
   RAXO GRID HOVER COLOR
   ========================================== */
.my-raxo-news .raxo-wrap:hover .raxo-image {
    background-color: #0BBCCA !important;
    border-color: #0BBCCA !important;
}
.my-raxo-news .raxo-wrap:hover .raxo-title a {
    color: #0BBCCA !important;
}
.my-raxo-news .raxo-wrap:hover {
    border-color: #0BBCCA !important;
}
.my-raxo-news .raxo-normal.raxo-items-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    width: 100%;
}

.my-raxo-news .raxo-item-nor {
    flex: 0 0 282px;   /* lock card width to thumbnail size, prevents stretch */
    max-width: 282px;
}
/* === VirtueMart product detail page background -- restored 2026-06-30 === */
.product-container.productdetails-view.productdetails {
    background-color: #ffffff;
}

/* === VirtueMart maincontent -- centered white content card (2026-07-20; was full-width edge-to-edge) ===
   2026-08-01: excluded .view-category, .view-cart and .view-user so those can go dark (see blocks below). */
body.com_virtuemart:not(.view-category):not(.view-cart):not(.view-user) div#maincontent {
    background-color: #ffffff;
    max-width: 1200px;
    margin: 30px auto;
    padding: 24px;
    border-radius: 8px;
    box-sizing: border-box;
}

/* ==========================================================================
   STORE -- CATEGORY BROWSE VIEW  (2026-08-01)

   Scope:  body.com_virtuemart.view-category  -- category listings only.
           Cart, checkout and product-detail keep the white card above.

   Cascade notes for future edits:
   - template.css:5992 sets `.btn { background:#e8e8e8; color:#333 }` as a plain
     declaration AFTER bootstrap.css, which defeats Bootstrap's --bs-btn-* vars.
     So buttons here set background/color directly at higher specificity.
   - template.css:6019 does the same to `input[type="text"]`.
   - !important below appears ONLY where a Bootstrap utility class in the markup
     (.text-center, .text-secondary, .fw-normal, .pb-2, .pb-3) is itself
     !important and cannot be beaten by specificity.
   ========================================================================== */

/* --- page shell: drop the white card, sit on the black page --- */
body.com_virtuemart.view-category div#maincontent {
    background-color: transparent;
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 24px 80px;
    box-sizing: border-box;
}

/* --- category header --- */
.view-category .vm-vendor-store-desc {
    color: #0BBCCA;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.view-category h1.vm-category-title {
    color: #ffffff;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.04;
    text-transform: uppercase;
    font-weight: 900 !important;   /* beats .fw-normal utility on the h1 */
}

.view-category .vm-category-description {
    color: #a8a8a8;
    font-size: 16px;
    line-height: 1.6;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* --- sort / results bar --- */
.view-category .orderby-displaynumber {
    --bs-border-color: #262626;   /* .border-top / .border-bottom read this var */
}

.view-category .orderby-displaynumber .form-label {
    color: #8a8a8a;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.view-category .vm-order-list .btn-link.text-dark {
    color: #bdbdbd !important;   /* .text-dark is !important; would vanish on black */
}

/* --- product grid --- */
.view-category .vm-product-grid.container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.view-category .vm-product-grid > .row {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 24px;
}

/* --- the card --- */
.view-category .product-container {
    background: #0d0d0d;
    border: 1px solid #262626;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.view-category .product:hover .product-container {
    border-color: #0BBCCA;
    transform: translateY(-2px);
}

/* image panel -- light, flush to the card top.
   Thumbnails are only 135x90 (VirtueMart writes *_0x90.jpg), so they sit at
   natural size rather than being upscaled and going soft. */
.view-category .vm-product-media-container {
    background: #ffffff;
    height: 240px;
    padding: 16px;
    align-items: center;
}

.view-category .vm-product-media-container img.browseProductImage {
    width: auto;
    max-height: 100%;
}

/* --- stock row (ratings hidden: nothing is rated, so the empty stars are noise) --- */
.view-category .vm-product-rating-container {
    --bs-border-color: #262626;
    padding: 14px 20px 12px !important;   /* beats .pb-2 */
    margin: 0 !important;                 /* beats .my-3 */
    min-height: 42px;
}

.view-category .vm-ratingbox-unrated {
    display: none;
}

.view-category .vm-stock-status {
    color: #6f6f6f;
}

.view-category .vm-stock-status.nostock {
    color: #e0463c;
}

/* --- title --- */
.view-category h2.vm-product-title {
    text-align: left !important;          /* beats .text-center */
    padding: 10px 20px 10px !important;   /* beats .pb-2 */
    margin: 0 !important;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 700;
    text-transform: uppercase;
}

/* Link rules must carry #maincontent: template.css:6363 has
   `#maincontent a { color:#fff; text-decoration:underline }` at (1,0,1),
   which outranks any plain class selector here. */
body.view-category #maincontent .product-container a {
    text-decoration: none;
}

body.view-category #maincontent h2.vm-product-title a {
    color: #ffffff;
}

body.view-category #maincontent h2.vm-product-title a:hover,
body.view-category #maincontent h2.vm-product-title a:focus {
    color: #0BBCCA;
    text-decoration: none;
}

/* --- short description --- */
.view-category p.vm-product-s-desc {
    color: #9a9a9a !important;   /* beats .text-secondary */
    text-align: left !important; /* beats .text-center */
    padding: 0 20px;
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.55;
}

/* --- price --- */
.view-category .product-price {
    padding: 14px 20px 16px !important;   /* beats .pb-3 */
    margin-top: 10px;
    border-top: 1px solid #262626;
}

.view-category .product-price div.PricesalesPrice {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.view-category .product-price .vm-price-desc {
    color: #8a8a8a;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.view-category .product-price span.PricesalesPrice {
    color: #0BBCCA;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}

/* --- quantity + add to cart --- */
.view-category .addtocart-area {
    padding: 0 20px 20px;
}

.view-category .quantity-box {
    background: #000000;
    border: 1px solid #333333;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 12px;
}

.view-category .quantity-box .quantity-input,
.view-category .quantity-box .quantity-input:focus {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #ffffff;
    width: 44px;
}

.view-category .quantity-box .quantity-controls {
    color: #9a9a9a;
    background: transparent;
    text-decoration: none;
}

.view-category .quantity-box .quantity-controls:hover,
.view-category .quantity-box .quantity-controls:focus {
    color: #0BBCCA;
    background: transparent;
}

.view-category .addtocart-button {
    background: #0BBCCA;
    color: #00171a;
    border: 0;
    border-radius: 6px;
    padding: 10px 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.view-category .addtocart-button:hover,
.view-category .addtocart-button:focus {
    background: #3ad4e2;
    color: #00171a;
}

.view-category .addtocart-button:active {
    background: #089aa6;
    color: #00171a;
}

/* --- narrow screens (mobile.css breakpoints: 758 / 524) --- */
@media screen and (max-width: 758px) {
    body.com_virtuemart.view-category div#maincontent {
        padding: 28px 16px 56px;
    }

    .view-category .vm-product-media-container {
        height: 180px;
    }
}

@media screen and (max-width: 524px) {
    .view-category .vm-product-grid .product.col-6 {
        width: 100%;
    }
}

/* ==========================================================================
   STORE -- CART / CHECKOUT  (2026-08-01)

   Scope:  body.com_virtuemart.view-cart

   Same cascade traps as the category block, plus two more:
   - .bg-light sits on #form-login, .output-billto and .vm-checkout-subtotals
     and is !important. Overridden by setting --bs-light-rgb, not !important.
   - Links need a #maincontent prefix to clear template.css:6363
     (`#maincontent a { color:#fff; text-decoration:underline }` at (1,0,1)).

   Two labels below are generated by CSS (::before): "Secure Checkout" and
   "Order Summary". They are NOT in the HTML and will not translate. Delete
   those two rules if you would rather not have invented text on the page.
   ========================================================================== */

/* --- page shell --- */
body.com_virtuemart.view-cart div#maincontent {
    background-color: transparent;
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 24px 80px;
    box-sizing: border-box;
}

/* one declaration retints every .border-top/-end/-bottom utility in the cart */
.view-cart #cart-view,
.view-cart .vm-cart-header-container {
    --bs-border-color: #262626;
}

/* --- page title --- */
.view-cart .vm-cart-header .vm-page-title {
    color: #ffffff;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.05;
    text-transform: uppercase;
    text-align: left !important;   /* beats .text-center */
}

/* CSS-generated eyebrow -- scoped to .vm-cart-header so it never appears
   above the "Cart empty" heading, which sits in .vm-continue-shopping. */
.view-cart .vm-cart-header .vm-page-title::before {
    content: "Secure Checkout";
    display: block;
    color: #0BBCCA;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* --- section headings (Shipping details / Select shipment / Select payment) --- */
.view-cart #cart-view h2 {
    color: #0BBCCA;
    font-size: 15px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700 !important;   /* beats .fw-normal */
}

/* --- light panels ---
   .bg-light is `background-color: rgba(var(--bs-light-rgb), ...) !important`
   at (0,1,0). Retinting via --bs-light-rgb alone did NOT take on this site
   (cause not identified), so these override background-color directly:
   !important at (1,1,0) beats !important at (0,1,0). */
.view-cart #maincontent #form-login,
.view-cart #maincontent .output-billto,
.view-cart #maincontent .vm-checkout-subtotals {
    background-color: #111111 !important;
    border: 1px solid #262626;
    border-radius: 8px;
    color: #cfcfcf;
}

/* the panels' inner text: labels left, values right */
.view-cart #maincontent .output-billto .col-6,
.view-cart #maincontent .vm-checkout-subtotals .col {
    color: #cfcfcf;
}

.view-cart #maincontent .output-billto .col-6:first-child {
    color: #8a8a8a;
}

.view-cart #maincontent #form-login {
    color: #cfcfcf;
}

/* VirtueMart emits ~14 empty .row divs above the E-Mail line; collapse them */
.view-cart .output-billto > .row:not(:has(> *)) {
    display: none;
}

/* --- shipment / payment option rows --- */
.view-cart #cart-view .list-group-item {
    --bs-list-group-bg: #0d0d0d;
    --bs-list-group-color: #d8d8d8;
    --bs-list-group-border-color: #262626;
    background-color: #0d0d0d;
    color: #d8d8d8;
    border-color: #262626;
    border-radius: 8px;
}

.view-cart #cart-view .list-group-item.list-group-item-primary {
    border-color: #0BBCCA;
}

.view-cart .vmshipment_name,
.view-cart .vmpayment_name {
    color: #ffffff;
    font-weight: 700;
}

.view-cart .vmshipment_description,
.view-cart .vmpayment_description {
    color: #8a8a8a;
    font-size: 13px;
}

.view-cart .vmshipment .fee,
.view-cart .vmpayment .fee {
    color: #0BBCCA;
    font-weight: 700;
}

/* --- radios / checkbox --- */
.view-cart #cart-view .form-check-input {
    background-color: #000000;
    border-color: #444444;
}

.view-cart #cart-view .form-check-input:checked {
    background-color: #0BBCCA;
    border-color: #0BBCCA;
}

.view-cart #cart-view .form-check-input:focus {
    border-color: #0BBCCA;
    box-shadow: 0 0 0 0.2rem rgba(11, 188, 202, 0.25);
}

/* --- text inputs --- */
.view-cart #maincontent .form-control {
    background-color: #0d0d0d;
    border: 1px solid #333333;
    color: #ffffff;
}

.view-cart #maincontent .form-control:focus {
    background-color: #0d0d0d;
    border-color: #0BBCCA;
    color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(11, 188, 202, 0.2);
}

.view-cart #maincontent .form-control::placeholder {
    color: #6a6a6a;
}

.view-cart #cart-view .form-label {
    color: #9a9a9a;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* --- order summary card (products + coupon + totals live in this fieldset) --- */
.view-cart .vm-fieldset-pricelist {
    background: #0d0d0d;
    border: 1px solid #262626;
    border-radius: 10px;
    padding: 24px;
}

/* CSS-generated heading -- see note at top of this block */
.view-cart .vm-fieldset-pricelist::before {
    content: "Order Summary";
    display: block;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding-bottom: 14px;
    margin-bottom: 20px;
    border-bottom: 1px solid #262626;
}

/* --- cart line item --- */
.view-cart .cart-images .img-thumbnail {
    background-color: #ffffff;
    border-color: #262626;
    padding: 4px;
}

.view-cart #maincontent .vm-cart-item-name a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.view-cart #maincontent .vm-cart-item-name a:hover {
    color: #0BBCCA;
}

.view-cart .vm-cart-item-sku,
.view-cart .vm-cart-item-cfields {
    color: #7a7a7a;
}

.view-cart .vm-cart-item-basicprice span.PricesalesPrice {
    color: #0BBCCA;
    font-size: 18px;
    font-weight: 700;
}

.view-cart .vm-cart-item-quantity .input-group {
    background: #000000;
    border: 1px solid #333333;
    border-radius: 6px;
    overflow: hidden;
}

.view-cart #maincontent .vm-cart-item-quantity .form-control {
    background: transparent;
    border: 0;
    color: #ffffff;
}

.view-cart .vm-cart-item-quantity .btn-link {
    color: #9a9a9a;
    background: transparent;
    text-decoration: none;
}

.view-cart .vm-cart-item-quantity .btn-link:hover {
    color: #0BBCCA;
    background: transparent;
}

.view-cart .vm2-remove_from_cart {
    color: #e0463c;
    background: transparent;
    padding: 0;
    font-size: 12px;
}

.view-cart .vm2-remove_from_cart:hover {
    color: #ff8a80;
    background: transparent;
    text-decoration: underline;
}

/* --- totals --- */
.view-cart .vm-checkout-subtotals .row {
    color: #b0b0b0;
    font-size: 14px;
}

.view-cart .vm-checkout-subtotals .fw-bold {
    color: #ffffff;
}

.view-cart .vm-checkout-subtotals span.PricebillTotal {
    color: #0BBCCA;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}

/* --- terms of service --- */
.view-cart .vm-fieldset-tos .form-label.tos {
    color: #cfcfcf;
    letter-spacing: normal;
    text-transform: none;
    font-size: 14px;
}

.view-cart .vm-fieldset-tos .asterisk {
    color: #e0463c;
}

.view-cart #maincontent a#terms-of-service {
    color: #0BBCCA;
    font-size: 13px;
}

/* --- "Add/Edit Billing details" / "Edit current shipping address" --- */
.view-cart #maincontent a.details {
    color: #0BBCCA;
    font-size: 13px;
    text-decoration: none;
}

.view-cart #maincontent a.details:hover {
    text-decoration: underline;
}

/* --- buttons ---
   template.css:5992 `.btn { background:#e8e8e8; color:#333 }` lands after
   bootstrap, so these set background/color directly rather than --bs-btn-*. */
.view-cart #maincontent #checkoutFormSubmit {
    background: #0BBCCA;
    color: #00171a;
    border: 0;
    border-radius: 6px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.view-cart #maincontent #checkoutFormSubmit:hover,
.view-cart #maincontent #checkoutFormSubmit:focus {
    background: #3ad4e2;
    color: #00171a;
}

.view-cart #maincontent #checkoutFormSubmit:disabled {
    background: #14555c;
    color: #7fb3b8;
}

.view-cart #cart-view .btn-secondary,
.view-cart #form-login .btn-primary {
    background: transparent;
    color: #0BBCCA;
    border: 1px solid #0BBCCA;
    border-radius: 6px;
}

.view-cart #cart-view .btn-secondary:hover,
.view-cart #form-login .btn-primary:hover {
    background: #0BBCCA;
    color: #00171a;
}

/* --- narrow screens --- */
@media screen and (max-width: 758px) {
    body.com_virtuemart.view-cart div#maincontent {
        padding: 28px 16px 56px;
    }

    .view-cart .vm-fieldset-pricelist {
        padding: 18px;
    }

    /* left column keeps a divider only when the two columns sit side by side */
    .view-cart #checkoutForm > .border-end {
        border-right: 0 !important;
    }
}

/* ==========================================================================
   STORE -- ACCOUNT / ADDRESS FORMS  (2026-08-01)

   Scope:  body.com_virtuemart.view-user
   Covers /component/virtuemart/user/editaddresscartBT and the ST (shipping)
   variant, which share the same markup.

   Notes:
   - Three .bg-light panels here too (.vm-login, #form-login, the billing
     fieldset). Same !important override as the cart, same reason.
   - Title / Country / State are select.vm-chzn-select, replaced at runtime by
     Choices.js 11.2.1 (/media/vendor/choicesjs/css/choices.css). Styling
     .form-select alone would miss them, so .choices__* is handled below.
   ========================================================================== */

/* --- page shell --- */
body.com_virtuemart.view-user div#maincontent {
    background-color: transparent;
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 24px 80px;
    box-sizing: border-box;
}

.view-user #maincontent {
    --bs-border-color: #262626;
}

/* --- headings --- */
.view-user #maincontent .vm-page-title {
    color: #ffffff;
    font-size: clamp(30px, 4.5vw, 46px);
    line-height: 1.06;
    text-transform: uppercase;
    text-align: left !important;   /* beats .text-center */
}

.view-user #maincontent .vm-section-title,
.view-user #maincontent legend.userfields_info {
    color: #0BBCCA;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.view-user #maincontent .lead {
    color: #cfcfcf;
    font-size: 16px;
}

/* --- light panels ---
   Targets .bg-light itself rather than named containers: the logged-in and
   logged-out versions of this view use different wrappers (`p-4 bg-light`
   vs `py-3 px-4 bg-light`), so anything structural misses one of them.
   .bg-light is !important at (0,1,0); this is !important at (1,1,0). */
.view-user #maincontent .bg-light {
    background-color: #111111 !important;
    border: 1px solid #262626;
    border-radius: 8px;
    color: #cfcfcf;
}

/* --- form column: VirtueMart wraps the fields in .col-lg-6 (and .col-lg-8
   .offset-lg-2 when logged out), which leaves the form at half width.
   Force the single field column to span the row. --- */
.view-user #maincontent .vm-form-row > [class*="col-lg-"],
.view-user #maincontent .vm-form-row > .col {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    margin-left: 0;   /* cancels .offset-lg-2 */
    margin-right: 0;
}

/* --- field labels --- */
.view-user #maincontent .form-label {
    color: #9a9a9a;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.view-user #maincontent .asterisk {
    color: #e0463c;
}

/* --- text inputs --- */
.view-user #maincontent .form-control,
.view-user #maincontent .form-select {
    background-color: #0d0d0d;
    border: 1px solid #333333;
    color: #ffffff;
}

.view-user #maincontent .form-control:focus,
.view-user #maincontent .form-select:focus {
    background-color: #0d0d0d;
    border-color: #0BBCCA;
    color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(11, 188, 202, 0.2);
}

.view-user #maincontent .form-control::placeholder {
    color: #6a6a6a;
}

.view-user #maincontent .form-control.is-invalid,
.view-user #maincontent .form-control.invalid {
    border-color: #e0463c;
}

/* --- Choices.js selects (Title / Country / State) --- */
.view-user #maincontent .choices__inner {
    background-color: #0d0d0d;
    border: 1px solid #333333;
    color: #ffffff;
}

.view-user #maincontent .choices.is-focused .choices__inner,
.view-user #maincontent .choices.is-open .choices__inner {
    border-color: #0BBCCA;
}

.view-user #maincontent .choices__list--single .choices__item {
    color: #ffffff;
}

.view-user #maincontent .choices__placeholder {
    color: #6a6a6a;
    opacity: 1;
}

.view-user #maincontent .choices[data-type*="select-one"]::after {
    border-top-color: #9a9a9a;
}

.view-user #maincontent .choices__list--dropdown,
.view-user #maincontent .choices__list[aria-expanded] {
    background-color: #111111;
    border: 1px solid #333333;
    color: #e0e0e0;
}

.view-user #maincontent .choices__list--dropdown .choices__item--selectable.is-highlighted,
.view-user #maincontent .choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
    background-color: #0BBCCA;
    color: #00171a;
}

.view-user #maincontent .choices__input {
    background-color: #0d0d0d;
    color: #ffffff;
}

/* --- checkbox (Remember me) --- */
.view-user #maincontent .form-check-input {
    background-color: #000000;
    border-color: #444444;
}

.view-user #maincontent .form-check-input:checked {
    background-color: #0BBCCA;
    border-color: #0BBCCA;
}

.view-user #maincontent .form-check-label {
    color: #cfcfcf;
}

/* --- links (Forgot your username / password) --- */
.view-user #maincontent .vm-login a {
    color: #0BBCCA;
    font-size: 13px;
    text-decoration: none;
}

.view-user #maincontent .vm-login a:hover {
    text-decoration: underline;
}

/* your edit, kept: indents the shipment/payment option lists */
fieldset.vm-payment-shipment-select ul, fieldset.vm-shipment-select ul {
    margin-left: 15px;
}

/* --- buttons ---
   template.css:5992 `.btn { background:#e8e8e8; color:#333 }` again. */
.view-user #maincontent .btn-primary {
    background: #0BBCCA;
    color: #00171a;
    border: 0;
    border-radius: 6px;
    padding: 10px 22px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.view-user #maincontent .btn-primary:hover,
.view-user #maincontent .btn-primary:focus {
    background: #3ad4e2;
    color: #00171a;
}

.view-user #maincontent .btn-secondary {
    background: transparent;
    color: #9a9a9a;
    border: 1px solid #333333;
    border-radius: 6px;
    padding: 10px 22px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.view-user #maincontent .btn-secondary:hover {
    background: transparent;
    color: #ffffff;
    border-color: #6a6a6a;
}

.view-user #maincontent .control-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    margin-top: 8px;
}

/* --- narrow screens --- */
@media screen and (max-width: 758px) {
    body.com_virtuemart.view-user div#maincontent {
        padding: 28px 16px 56px;
    }

    .view-user #maincontent .vm-form-row .col-lg-8 {
        margin-left: 0;
    }
}

/* ==========================================================================
   NEWSLETTER SIGNUP -- Convert Forms (module 202, position ourcontact, #cf_2)
   2026-08-05

   Convert Forms is variable-driven: .convertforms reads --background-color,
   --label-color, --input-* etc. The module prints its own `#cf_2 { ... }` block
   in <head><meta charset="utf-8"> around line 606; custom.css loads at ~843, so equal-specificity
   overrides here win on source order. No !important needed anywhere below.

   Three structural fixes, all caused by the plugin's own classes:
   - .cf-labelpos-left makes every .cf-control-group a flex row and caps
     .cf-control-label at max-width:30%. Undone so labels stack above inputs.
   - .cf-one-third is on the description block (data-key 6) AND the Email group
     (data-key 0), so they render 33.3% wide while Full Name is 100%.
   - .cf-input.cf-one-half puts both inputs at 50% of their own group, so they
     end up at different absolute widths.
   ========================================================================== */

/* --- the module container, NOT the form ---
   template.css:6519 sets `#block11 > .inner { background:#ffffff }`. That is the
   white band either side of the form -- the form itself was already dark. Same
   specificity (1,1,0), and custom.css loads later, so no !important needed. */
#block11 > .inner {
    background: transparent;
}

/* --- theme variables ---
   Form is transparent and borderless: it should read as part of the black page,
   not as a card sitting on it. Inputs are #111 so they stay visible against it. */
#cf_2 {
    --max-width: 900px;
    --padding: 30px 26px;
    --background-color: transparent;
    --border: 0;
    --border-radius: 0;
    --control-gap: 12px;
    --label-color: #9a9a9a;
    --label-size: 12px;
    --label-weight: 700;
    --input-color: #ffffff;
    --input-placeholder-color: #6a6a6a;
    --input-background-color: #111111;
    --input-border-color: #333333;
    --input-border-radius: 6px;
    --input-text-align: left;
    --input-padding: 12px 14px;
}

/* #block11 > .inner also sets text-align:center, which inherits down and was
   centring the field labels over left-aligned inputs. Heading, intro copy and
   the Subscribe button stay centred; only the field labels go left. */
#cf_2 .cf-control-label,
#cf_2 .cf-control-label .cf-label,
#cf_2 legend.cf-label,
#cf_2 .cf-radio-group {
    text-align: left;
}

/* --- heading + intro copy --- */
#cf_2 .cf-heading {
    color: #ffffff;
    margin: 0 0 4px;
}

#cf_2 .cf-control-group[data-type="html"] {
    color: #a8a8a8;
    font-size: 15px;
}

/* --- stack labels above inputs (undo .cf-labelpos-left row layout) --- */
#cf_2.cf-labelpos-left .cf-control-group:not(.cf-hide) {
    display: block;
}

#cf_2.cf-labelpos-left .cf-control-group:not(.cf-hide) > * {
    flex: none;
}

#cf_2.cf-labelpos-left .cf-control-group:not(.cf-hide) .cf-control-label {
    max-width: 100%;
    padding-right: 0;
}

/* submit + turnstile stay centred -- must come after the display:block above,
   and match its (1,3,0) specificity to win on source order */
#cf_2.cf-labelpos-left .cf-control-group[data-type="submit"],
#cf_2.cf-labelpos-left .cf-control-group[data-type="turnstile"] {
    display: flex;
    justify-content: center;
}

/* --- full-width fields --- */
#cf_2 .cf-control-group.cf-one-third,
#cf_2 .cf-control-group.cf-one-half,
#cf_2 .cf-control-group.cf-two-sixths {
    width: 100%;
}

#cf_2 .cf-input.cf-one-half,
#cf_2 .cf-input.cf-one-third {
    width: 100%;
}

/* --- field labels --- */
#cf_2 .cf-control-label .cf-label {
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#cf_2 legend.cf-label {
    color: #9a9a9a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* --- driver radios: two columns ---
   NOTE: .cf-input applies padding/border/background to EVERY input, and the
   plugin only resets `width` for radios -- so each radio was carrying
   12px 14px of padding plus a border. Reset here. */
#cf_2 .cf-control-group[data-type="radio"] .cf-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 24px;
}

#cf_2 .cf-input[type="radio"] {
    padding: 0;
    border: 0;
    background: transparent;
    accent-color: #0BBCCA;
    width: auto;
}

#cf_2 .cf-radio-group .cf-label {
    color: #d8d8d8;
    text-transform: none;
    letter-spacing: normal;
}

/* --- input focus (plugin reuses --input-border-color on :focus) --- */
#cf_2 .cf-input:focus {
    border-color: #0BBCCA;
}

#cf_2 .cf-input::placeholder {
    color: #6a6a6a;
}

/* --- submit button (module already sets #0bbcca bg / #000 text) --- */
#cf_2 .cf-btn {
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* --- narrow screens --- */
@media screen and (max-width: 524px) {
    #cf_2 .cf-control-group[data-type="radio"] .cf-list {
        grid-template-columns: 1fr;
    }
}

/* === Hide the RAXO module header in position latestnewsarticles (2026-08-05) === */
#block7 .raxo-header {
    display: none;
}

/* ==========================================================================
   STORE -- COLLECTIBLES CATEGORY   2026-08-05
   re-hooked off the layout it fixes, 2026-08-19

   HOOK: `.spacer.product-container` / `.product.floatleft`. That is VirtueMart's
   legacy (non-grid) category layout, and Collectibles is the only category
   rendering it -- verified 2026-08-19 by fetching all three:
     /store/collectibles  4x .spacer.product-container, 4x .product.floatleft,
                          0x .vm-product-grid
     /store/apparel       0 / 0 / 1
     /store/accessories   0 / 0 / 1
   So the itemid is not needed to tell them apart, and the block is now keyed
   to the markup it is actually correcting: if Collectibles is switched to the
   grid layout these rules stop matching (correct -- the grid block above takes
   over), and if another category is switched to the legacy layout it inherits
   the same fixes (also correct). Survives the menu item being renumbered or
   rebuilt and the site being migrated. See the PAGE HOOK note in the STORE
   LANDING PAGE block below.

   `.spacer` is load-bearing in rules 3-5: without it they would also hit the
   grid categories' .product-container and strip their 20px side padding.
   ========================================================================== */

/* gap between rows.
   `.floatleft` is load-bearing here: the class "product" is ALSO on the inner
   <form class="product js-recalculate ...">, which must not receive margin. */
body.view-category #maincontent .row > .product.floatleft {
    margin-bottom: 24px;
}

/* inner padding, so the image, title and "Product details" clear the card edge */
body.view-category #maincontent .spacer.product-container {
    padding: 20px;
}

/* The shared category block above already pads .product-price and
   .addtocart-area to 20px left/right. Inside a card that is now itself padded
   20px, that would double to 40px -- so drop the side padding here only. */
body.view-category #maincontent .spacer.product-container .product-price {
    padding: 14px 0 16px !important;   /* beats .pb-3 */
}

body.view-category #maincontent .spacer.product-container .addtocart-area {
    padding: 0;
}

body.view-category #maincontent .spacer.product-container .vm-details-button {
    padding-top: 14px;
}

/* ==========================================================================
   CONTACT FORM -- Convert Forms #cf_1  (/contact, body.itemid-2185)
   2026-08-05

   Matches the newsletter form (#cf_2) above: transparent, borderless, dark
   inputs, small uppercase grey labels, cyan button. Same mechanism -- the
   module prints its own `#cf_1 { ... }` var block in <head>, custom.css loads
   later, so equal-specificity overrides win on source order.

   This form already uses .cf-labelpos-top, so unlike #cf_2 there is no
   flex-row label layout to undo.
   ========================================================================== */

#cf_1 {
    --max-width: 600px;
    --padding: 30px 26px;
    --background-color: transparent;
    --border: 0;
    --border-radius: 0;
    --control-gap: 12px;
    --label-color: #9a9a9a;
    --label-size: 12px;
    --label-weight: 700;
    --input-color: #ffffff;
    --input-placeholder-color: #6a6a6a;
    --input-background-color: #111111;
    --input-border-color: #333333;
    --input-border-radius: 6px;
    --input-text-align: left;
    --input-padding: 12px 14px;
}

/* labels: small uppercase, left aligned (the article wrapper centres text) */
#cf_1 .cf-control-label,
#cf_1 .cf-control-label .cf-label {
    text-align: left;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* the module's own CSS sets .cf-required-label to #ffffff; make the asterisk
   read as "required" instead of as part of the label */
#cf_1 .cf-label .cf-required-label {
    color: #e0463c;
}

/* message box: give it real height now that it is not a white block */
#cf_1 textarea.cf-input {
    min-height: 130px;
    resize: vertical;
}

#cf_1 .cf-input:focus {
    border-color: #0BBCCA;
}

#cf_1 .cf-input::placeholder {
    color: #6a6a6a;
}

/* submit button: red -> brand cyan, to match Subscribe.
   The module sets these two vars on the submit group at (1,2,0); this rule is
   the same specificity and lands later, so it wins.
   DELETE THIS RULE to keep the original red #e21e22 button. */
#cf_1 .cf-control-group[data-type="submit"] {
    --button-background-color: #0BBCCA;
    --button-color: #00171a;
    --button-border-radius: 6px;
    --button-padding: 14px 20px;
}

#cf_1 .cf-btn {
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* The form carries its own heading field ("Contact Us", data-key 7) on top of
   the "CONTACT US" heading already hard-coded in the article body. It is an
   <h2>, so template.css:5976 `h2 { color:#000 }` paints it black on the black
   form -- invisible, but still occupying roughly 45px at the top of the card.
   That is the unexplained gap above the Name field.
   PROPER FIX: delete the heading field in Convert Forms -> form 1. */
#cf_1 .cf-control-group[data-type="heading"] {
    display: none;
}

/* ==========================================================================
   SITE-WIDE CONTENT WIDTH   2026-08-17

   Nothing in template.css constrains #maincontent > .inner -- grep it, there is
   no width on that element anywhere -- so every page ran edge to edge. This
   centres the content column at the same 1280px the /store landing page uses.

   SCOPE: body.com_content, minus the home page.
   - `.homepage` is the body class Joomla puts on the featured view that the
     home menu item renders. Keying on it rather than itemid-101 means the rule
     survives the home menu item being rebuilt or renumbered.
   - com_virtuemart views are excluded ON PURPOSE. The category, cart and user
     blocks earlier in this file already set their own max-width on
     div#maincontent (1280 / 1280 / 900) each with its own padding; adding
     padding here too would double it on those views.

   SPECIFICITY, and why the /store block below got shorter:
   this selector is (1,3,1), which OUTRANKS the per-page
   `body.itemid-XXXX #maincontent > .inner` pattern at (1,2,1). A page-specific
   block therefore cannot narrow itself just by adding an itemid rule -- it
   would need at least equal weight (e.g. add `body` or a second class). The
   /store block no longer sets max-width or padding for exactly this reason:
   it takes both from here and overrides only colours.
   ========================================================================== */

body.com_content:not(.homepage) #maincontent > .inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px 90px;
    border: 0;              /* template.css:6341 puts a 1px #000 border here */
    box-sizing: border-box;
}

@media screen and (max-width: 758px) {
    body.com_content:not(.homepage) #maincontent > .inner {
        padding: 24px 16px 60px;
    }
}

/* ==========================================================================
   MAIN / SIDEBAR GUTTER   2026-08-17

   main#center and aside#right are floated siblings inside #main > .inner:
       #maincontent > .inner > #main.column.main > .inner.clearfix
           > main#center.column.center      template.css:83  .noleft -> 80%
           > aside#right.column.column2     template.css:87  .noleft -> 20%
   Those widths total exactly 100%, so the two columns butt together with no
   gutter at all.

   The gutter therefore CANNOT be a margin on either column: .column is
   `float: left` (template.css:99) and .column is NOT border-box, so any margin
   is added on top of the percentage width and pushes the sidebar down onto the
   next float line. Padding on the columns themselves has the same problem.

   So the space is put on the inner wrappers instead. Those are ordinary block
   divs at width:auto, so padding shrinks their content box and changes no
   column geometry. 16px each side = a 32px gutter.

   The :has() guard means the main column is only indented when a sidebar is
   actually present -- pages rendered .noright would otherwise carry a stray
   16px on the right. :has() is already relied on elsewhere in this file (the
   empty-row collapse in the cart block); where it is unsupported the rule is
   simply dropped and the gutter falls back to the sidebar's 16px alone.
   ========================================================================== */

#maincontent #main > .inner:has(> #right) > #center > .inner {
    padding-right: 16px;
}

#maincontent #main > .inner > #right > .inner {
    padding-left: 16px;
}

/* mobile.css:216 makes every .column full width at this breakpoint, so the
   columns stack and a side gutter would just look like a stray indent */
@media screen and (max-width: 758px) {
    #maincontent #main > .inner:has(> #right) > #center > .inner,
    #maincontent #main > .inner > #right > .inner {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ==========================================================================
   STORE LANDING PAGE  --  /store   (article 95, menu item 2471)
   2026-08-17, re-hooked off the article markup 2026-08-19

   PAGE HOOK -- read this before adding a rule here.
   Every selector in this block is prefixed `body:has(.store-lp)`, NOT
   `body.itemid-2471`. `.store-lp` is the wrapper div inside article 95 itself,
   so the hook travels with the content that the rules style:

     survives   menu item renamed, re-aliased, moved in the tree, unpublished
                and republished, deleted and rebuilt with a new id, the site
                migrated or restored into a fresh database (menu ids are
                auto-increment and DO get reassigned), Joomla / VirtueMart /
                template updates, and the /store URL changing
     breaks     only if article 95 loses its `.store-lp` wrapper -- which would
                break every rule below anyway, since they all target markup
                inside it. The hook cannot rot separately from what it hooks.

   `body.itemid-NNNN` has none of that: it is Joomla's `#__menu.id`, and a
   delete-and-recreate or a rebuild renumbers it. The failure is silent -- the
   page just renders unstyled, no error anywhere.

   SPECIFICITY IS UNCHANGED by the swap. `:has()` takes the weight of its most
   specific argument, so `body:has(.store-lp)` is (0,1,1), exactly what
   `body.itemid-2471` was. Every count quoted in the comments below still holds.

   `:has()` is already load-bearing elsewhere in this file (the main / sidebar
   gutter guard, the cart empty-row collapse). Where it is unsupported the whole
   rule is dropped, same as those.

   Do NOT tighten the hook to `body:has(#maincontent .store-lp)` -- an id inside
   :has() drags the prefix to (1,0,1) and the SITE-WIDE CONTENT WIDTH block
   above stops outranking the shell rules here.

   As of 2026-08-19 NO selector in this file uses an itemid. /news and the
   Collectibles category were converted the same day -- see the hook notes on
   the NEWS PAGE -- RAXO GRID and STORE -- COLLECTIBLES CATEGORY blocks.
   Numbers that DO remain in selectors, and why they are a different problem:
     #cf_1 / #cf_2      Convert Forms form ids. They travel with the database,
                        so a migration is fine; they change only if a form is
                        deleted and rebuilt.
     #block7 / #block11 Template Creator CK layout block ids. These renumber if
                        the template layout is rebuilt.
   .my-raxo-171 is gone as of 2026-08-19: the /news rules that used it were
   folded into the NEWS PAGE -- RAXO GRID block, which hooks the markup
   instead. The moduleclass_sfx is still typed into module 171 and can stay
   there; no CSS depends on it now.

   What this styles: a Single Article menu item whose body is five sections,
   four of them holding a {loadmoduleid} tag:
     210  mod_virtuemart_category  -> ul.VMmenu   (TEXT LINKS ONLY -- this
          module emits no images and no descriptions, and all four VirtueMart
          categories still use the noimage placeholder, so the "category tiles"
          in the mockup are rendered as text cards here.)
     211  mod_virtuemart_product   product_group=latest
     213  mod_virtuemart_product   product_group=topten
     214  mod_virtuemart_product   product_group=random
   Module 212 (product_group=featured) exists but is deliberately NOT in the
   article: no product in VirtueMart carries the Featured flag, so it rendered
   completely empty. Flag some products, then add back to article 95:
       <section class="store-section store-section-featured" id="store-featured">
       <p class="store-eyebrow">Hand Picked</p>
       <h2 class="store-section-title">Featured</h2>
       {loadmoduleid 212}
       </section>
   No new CSS needed for it -- .store-section covers it.

   Card markup emitted by mod_virtuemart_product. It is NOT the same markup as
   the category browse view, which is why none of the .view-category rules
   earlier in this file apply here and the card is rebuilt from scratch:
     div[class*="vmgroup"]
       > div[class*="vmproduct"]
           > div.product-container.width25.floatleft
               > div.spacer
                   > a > img.featuredProductImage    FIRST anchor  = image
                   > div.clear
                   > a                               SECOND anchor = title,
                                                     carries NO class at all
                   > div.clear
                   > div.productdetails
                       > div.product-price > span.PricesalesPrice
                       > div.addtocart-area > form.product > .addtocart-bar
   Hence :first-of-type / :nth-of-type(2) on .spacer > a below. If a product
   ever renders with no image anchor at all, its title would pick up the image
   panel styling -- VirtueMart always emits a placeholder, so this has not
   happened, but that is the failure mode to look for.

   Why [class*="vmgroup"] and not a clean class: moduleclass_sfx is empty on
   all five modules ON PURPOSE. VirtueMart concatenates the suffix directly
   onto "vmgroup"/"vmproduct" with no separator, and Joomla strips a leading
   space, so any suffix can only ever produce "vmgroupmy-class". Setting one
   breaks these selectors -- leave it blank.

   Layout comes from CSS grid; VirtueMart's own .width25 / .floatleft are
   neutralised rather than used, so changing products_per_row on the modules
   will NOT change the column count -- change it here.

   Cascade traps in template.css (line numbers verified against 2026-08-17):
     5969  h2 { color:#000000 }
           -> every heading below sets color explicitly or it is black on black
     5985  .button, button, button.btn, input.btn, .btn { background:#e8e8e8;
           color:#333333 }  lands after bootstrap.css, so --bs-btn-* vars are
           already defeated -> buttons set background/color directly
     6339  #maincontent > .inner { background:#ffffff; border:1px solid #000000;
           color:#555555 }  -> overridden for this page only
     6356  #maincontent a { color:#ffffff; text-decoration:underline }  at
           (1,0,1) -> EVERY link rule below carries a #maincontent prefix
   Article chrome (title, category, author, dates, hits, tags) is switched off
   in the menu item params, not here.
   ========================================================================== */

/* --- page shell: drop the white content card, sit on the black page --- */
body:has(.store-lp) #maincontent {
    background-color: transparent;
}

/* Width, padding and border now come from the SITE-WIDE CONTENT WIDTH block
   above, which is (1,3,1) and outranks this (1,2,1) rule -- repeating them here
   would be dead weight that silently stops taking effect. Colours only. */
body:has(.store-lp) #maincontent > .inner {
    background: transparent;
    color: #cfcfcf;
}

/* --- shared: eyebrow label with the cyan rule from the mockups --- */
body:has(.store-lp) .store-lp .store-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    color: #0BBCCA;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

body:has(.store-lp) .store-lp .store-eyebrow::before {
    content: "";
    flex: none;
    width: 34px;
    height: 2px;
    background: #0BBCCA;
}

/* --- hero ---
   The mockup hero sits on a photo of the hauler. There is no such image in the
   article, so this is a gradient plus the cyan corner wedge. To use a real
   photo, add a background-image line to .store-hero, e.g.
       background-image: url("/images/your-hero.jpg");
       background-size: cover;
       background-position: center;
   and keep the linear-gradient first in the list so text stays readable.
   The hero is contained to the 1280px column rather than full-bleed: a
   100vw full-bleed overflows horizontally whenever a scrollbar is present. */
body:has(.store-lp) .store-hero {
    position: relative;
    overflow: hidden;
    margin: 0 0 76px;
    padding: clamp(40px, 7vw, 92px) clamp(24px, 5vw, 60px);
    background: linear-gradient(120deg, #0d0d0d 0%, #101416 55%, #0a1214 100%);
    border: 1px solid #1c1c1c;
    border-radius: 10px;
}

body:has(.store-lp) .store-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 38%;
    height: 74%;
    background: linear-gradient(135deg, transparent 50%, rgba(11, 188, 202, 0.16) 50%);
    pointer-events: none;
}

body:has(.store-lp) .store-hero > * {
    position: relative;
    z-index: 1;
}

body:has(.store-lp) .store-hero-title {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(36px, 6.2vw, 72px);
    line-height: 1.02;
    font-weight: 900;
    text-transform: uppercase;
}

body:has(.store-lp) .store-hero-title span {
    color: #0BBCCA;
}

body:has(.store-lp) .store-hero-sub {
    max-width: 560px;
    margin: 0 0 30px;
    color: #a8a8a8;
    font-size: 16px;
    line-height: 1.6;
}

body:has(.store-lp) .store-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0;
}

/* buttons: background/color set directly -- see template.css:5985 note above */
body:has(.store-lp) #maincontent .store-btn {
    display: inline-block;
    padding: 14px 26px;
    border: 0;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
}

body:has(.store-lp) #maincontent .store-btn-primary {
    background: #0BBCCA;
    color: #00171a;
}

body:has(.store-lp) #maincontent .store-btn-primary:hover,
body:has(.store-lp) #maincontent .store-btn-primary:focus {
    background: #3ad4e2;
    color: #00171a;
    text-decoration: none;
}

body:has(.store-lp) #maincontent .store-btn-ghost {
    background: transparent;
    color: #ffffff;
    border: 1px solid #3a3a3a;
}

body:has(.store-lp) #maincontent .store-btn-ghost:hover,
body:has(.store-lp) #maincontent .store-btn-ghost:focus {
    border-color: #0BBCCA;
    color: #0BBCCA;
    text-decoration: none;
}

/* --- section header: title left, optional note right on one baseline --- */
body:has(.store-lp) .store-lp .store-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 24px;
    align-items: end;
    margin: 0 0 76px;
}

body:has(.store-lp) .store-lp .store-section > .store-eyebrow {
    grid-column: 1 / -1;
}

body:has(.store-lp) .store-lp .store-section-title {
    grid-column: 1;
    margin: 0 0 26px;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.04;
    font-weight: 900;
    text-transform: uppercase;
}

body:has(.store-lp) .store-lp .store-section-note {
    grid-column: 2;
    margin: 0 0 31px;
    color: #8a8a8a;
    font-size: 14px;
    text-align: right;
}

/* the module output always spans the full section width */
body:has(.store-lp) .store-lp .store-section > ul.VMmenu,
body:has(.store-lp) .store-lp .store-section > [class*="vmgroup"] {
    grid-column: 1 / -1;
}

/* ==========================================================================
   SHOP BY CATEGORY  (module 210)

   mod_virtuemart_category output is ul.VMmenu > li.VmClose > div > a and
   nothing else -- no image, no description, no product count. These are text
   cards, not the photo tiles in the mockup. To get photo tiles you would have
   to upload a category image in VirtueMart -> Categories AND override the
   module layout (a .php file, which the MCP write tool cannot touch).
   ========================================================================== */

body:has(.store-lp) .store-section-categories ul.VMmenu {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body:has(.store-lp) .store-section-categories ul.VMmenu li,
body:has(.store-lp) .store-section-categories ul.VMmenu li > div {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

body:has(.store-lp) #maincontent .store-section-categories ul.VMmenu a {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 100%;
    min-height: 150px;
    padding: 22px 20px;
    background: #0d0d0d;
    border: 1px solid #262626;
    border-radius: 8px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.25;
    text-transform: uppercase;
    text-decoration: none;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

/* cyan corner tick, top right -- the detail the mockup puts on each tile */
body:has(.store-lp) .store-section-categories ul.VMmenu a::before {
    content: "";
    position: absolute;
    top: 14px;
    right: 14px;
    width: 20px;
    height: 20px;
    border-top: 2px solid #0BBCCA;
    border-right: 2px solid #0BBCCA;
}

body:has(.store-lp) #maincontent .store-section-categories ul.VMmenu a:hover,
body:has(.store-lp) #maincontent .store-section-categories ul.VMmenu a:focus {
    border-color: #0BBCCA;
    color: #0BBCCA;
    transform: translateY(-2px);
    text-decoration: none;
}

/* ==========================================================================
   PRODUCT ROWS  (modules 211 / 213 / 214, and 212 when it comes back)
   ========================================================================== */

/* the row wrapper -- VirtueMart's float layout is replaced by grid */
body:has(.store-lp) .store-lp [class*="vmproduct"] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

body:has(.store-lp) .store-lp .product-container {
    float: none;
    width: auto;
    position: relative;
    background: #0d0d0d;
    border: 1px solid #262626;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

body:has(.store-lp) .store-lp .product-container:hover {
    border-color: #0BBCCA;
    transform: translateY(-2px);
}

body:has(.store-lp) .store-lp .product-container > .spacer {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* VirtueMart sprinkles empty <div class="clear"> between the parts; in a flex
   column they only add stray gaps */
body:has(.store-lp) .store-lp .product-container .clear {
    display: none;
}

/* --- image panel (first anchor in .spacer) ---
   VirtueMart serves these at 90px tall (_0x90.jpg thumbnails), so the image is
   centred at its natural size instead of being upscaled and going soft. To get
   sharp full-size cards, raise the thumbnail height in
   VirtueMart -> Configuration -> Images and regenerate, then set
   width:100% / object-fit:cover on the img below. */
body:has(.store-lp) #maincontent .store-lp .spacer > a:first-of-type {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    padding: 16px;
    background: #ffffff;
    text-decoration: none;
}

body:has(.store-lp) .store-lp .spacer > a:first-of-type img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
}

/* --- title (second anchor -- it has no class of its own) --- */
body:has(.store-lp) #maincontent .store-lp .spacer > a:nth-of-type(2) {
    display: block;
    padding: 16px 18px 10px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
    text-decoration: none;
}

body:has(.store-lp) #maincontent .store-lp .spacer > a:nth-of-type(2):hover,
body:has(.store-lp) #maincontent .store-lp .spacer > a:nth-of-type(2):focus {
    color: #0BBCCA;
    text-decoration: none;
}

/* push price + cart to the bottom so cards of unequal title length line up */
body:has(.store-lp) .store-lp .spacer > .productdetails {
    margin-top: auto;
}

/* --- price --- */
body:has(.store-lp) .store-lp .product-container .product-price {
    margin: 8px 18px 0;
    padding: 14px 0 14px;
    border-top: 1px solid #262626;
}

body:has(.store-lp) .store-lp .product-container span.PricesalesPrice {
    color: #0BBCCA;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

/* --- quantity + add to cart ---
   The bar is `<div class="row gx-0">` holding `.col-auto` (quantity) and
   `.vm-addtocart-button-col.col` (button). `gx-0` zeroes Bootstrap's gutter, so
   the two controls touch: side by side in a wide card, and stacked with zero
   space once the card is narrow enough for the button to wrap. A margin on the
   quantity box only fixes the side-by-side case, so the row is re-declared as
   a flex container with a real `gap`, which applies in both directions. */
body:has(.store-lp) .store-lp .addtocart-area {
    padding: 0 18px 18px;
}

body:has(.store-lp) .store-lp .addtocart-bar > .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
    margin: 0;
}

body:has(.store-lp) .store-lp .addtocart-bar > .row > .col-auto {
    flex: 0 0 auto;
    padding: 0;
}

/* the button keeps the remaining width when it fits beside the stepper, and
   takes the full card width once it wraps below it */
body:has(.store-lp) .store-lp .addtocart-bar > .row > .vm-addtocart-button-col {
    flex: 1 1 140px;
    padding: 0;
}

body:has(.store-lp) .store-lp .vm-addtocart-button-wrapper {
    height: 100%;
}

body:has(.store-lp) .store-lp .quantity-box {
    background: #000000;
    border: 1px solid #333333;
    border-radius: 6px;
    overflow: hidden;
    min-height: 42px;
}

body:has(.store-lp) #maincontent .store-lp .quantity-box .quantity-input,
body:has(.store-lp) #maincontent .store-lp .quantity-box .quantity-input:focus {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #ffffff;
    width: 40px;
}

body:has(.store-lp) .store-lp .quantity-box .quantity-controls {
    background: transparent;
    color: #9a9a9a;
    text-decoration: none;
}

body:has(.store-lp) .store-lp .quantity-box .quantity-controls:hover,
body:has(.store-lp) .store-lp .quantity-box .quantity-controls:focus {
    background: transparent;
    color: #0BBCCA;
}

/* .addtocart-button also carries .btn.btn-primary; template.css:1473 paints
   .btn-primary #010156 and template.css:5985 paints .btn #e8e8e8, so this sets
   background and color directly at higher specificity. */
body:has(.store-lp) #maincontent .store-lp .addtocart-button {
    background: #0BBCCA;
    color: #00171a;
    border: 0;
    border-radius: 6px;
    padding: 10px 14px;
    min-height: 42px;   /* matches .quantity-box so the two line up when side by side */
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body:has(.store-lp) #maincontent .store-lp .addtocart-button:hover,
body:has(.store-lp) #maincontent .store-lp .addtocart-button:focus {
    background: #3ad4e2;
    color: #00171a;
}

body:has(.store-lp) #maincontent .store-lp .addtocart-button:active {
    background: #089aa6;
    color: #00171a;
}

/* --- custom fields (apparel "Size" picker) ---
   Markup: .vm-customfields-wrap > .product-fields > .product-field
             > .product-fields-title-wrapper > .product-fields-title > span.fw-semibold
             > .product-field-display > select.vm-chzn-select.form-select

   /store does NOT load Choices.js (verified: no /media/vendor/choicesjs/*
   asset on this page, unlike /store/apparel), so this stays a native <select>.
   It therefore falls through to template.css:6011, which paints bare `select`
   white with a #c7c7c7 border. The site's own fallback style -- the injected
   `body.com_virtuemart select.vm-chzn-select:not(.choices__input)` block that
   forces white/45px with !important -- cannot reach this page either, because
   /store is com_content, not com_virtuemart. Hence the rules below.

   background is set as background-color + background-image (not the shorthand)
   so Bootstrap's .form-select arrow survives; the arrow itself is replaced
   because Bootstrap's is #343a40 and would be invisible on #0d0d0d. */
body:has(.store-lp) .store-lp .vm-customfields-wrap {
    padding: 0 0 14px;
}

body:has(.store-lp) .store-lp .product-fields-title {
    color: #9a9a9a;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body:has(.store-lp) .store-lp .product-fields-title .bi-info-circle {
    color: #6a6a6a;
}

body:has(.store-lp) #maincontent .store-lp select.vm-chzn-select {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 42px;
    padding: 8px 34px 8px 12px;
    background-color: #0d0d0d;
    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='%239a9a9a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px 11px;
    border: 1px solid #333333;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
}

body:has(.store-lp) #maincontent .store-lp select.vm-chzn-select:focus {
    border-color: #0BBCCA;
    box-shadow: 0 0 0 0.2rem rgba(11, 188, 202, 0.2);
    outline: 0;
}

/* the native dropdown list is painted by the OS, not the page -- these keep the
   option rows legible in browsers that do honour author colors on <option> */
body:has(.store-lp) #maincontent .store-lp select.vm-chzn-select option {
    background-color: #111111;
    color: #ffffff;
}

/* ==========================================================================
   SIZE BUTTON GROUP  --  paired with the script in _live/custom.js   2026-08-17

   That script lives in ONE of two places; check both before assuming it is
   missing:
     1. the Template Creator CK JavaScript field -- preferred, same paste
        workflow as this file; or
     2. module 215 "TR - Size buttons", mod_custom, position footer, all
        pages -- the fallback used when TCK has no JS field.
   Running both at once is harmless (the marker attribute below makes the
   script idempotent) but pointless; keep one.

   The dropdown approach was abandoned: VirtueMart renders the size picker as a
   <select>, which cannot be restyled into buttons with CSS alone, and inside a
   ~250px product card the Choices.js dropdown was unusable (see the block
   below for why). Module 215 converts every
   `.product-field-display > select` into a button group at runtime.

   HOW THE TWO HALVES FIT TOGETHER -- read before editing either:
   The script stamps `data-tr-sizebuttons="1"` on the wrapper only AFTER it has
   successfully appended a button group. The hide rule below is keyed to that
   attribute, so if the script is removed, blocked or errors, the original
   <select> stays visible and fully usable. Never change the hide rule to
   target the select unconditionally -- that is what would turn a JS failure
   into an unsellable product.

   The original <select> is hidden, NOT removed or disabled: display:none still
   submits, `disabled` would not, and it is the element VirtueMart reads on add
   to cart. The script writes to select.value and dispatches a bubbling
   `change`, so VirtueMart's own js-recalculate handler on the form still fires
   for price-modifying variants.

   Where it applies: everywhere a VirtueMart custom field renders -- the /store
   landing page, category listings, product detail, and the sidebar module. The
   classes below are ours, so no page scoping is needed.

   VirtueMart's "Pick a size" placeholder (value="0") is deliberately NOT given
   a button; nothing selected is shown as nothing pressed.
   ========================================================================== */

/* Hide the original control ONLY once the script has replaced it. Covers both
   renderings: the bare select on /store, and the .choices wrapper Choices.js
   builds around it on category pages.

   THE DOUBLED ATTRIBUTE SELECTOR IS LOAD-BEARING -- do not "tidy" it away.
   A <style> block injected into the page body (the 2026-07-14 VirtueMart
   checkout fallback, findable by searching the rendered HTML for
   "belt-and-braces CSS fallback") contains:

       body.com_virtuemart select.vm-chzn-select:not(.choices__input) {
           display: block !important; visibility: visible !important; ... }

   That is specificity (0,3,2) carrying !important. Two !important declarations
   are resolved on specificity, so the obvious rule --
   `.product-field-display[data-tr-sizebuttons] > select` at (0,2,1) -- LOSES,
   and the select is forced back into view. Source order cannot save us either:
   that block is inline in the body and so lands after this file.

   Its `:not(.choices__input)` guard disables it wherever Choices.js has wrapped
   a select, which is why the main product grid looked correct while the sidebar
   module -- whose select Choices does not wrap -- kept showing a dropdown.

   Repeating [data-tr-sizebuttons] adds a specificity point without changing
   what matches, giving (0,4,2), which beats (0,3,2). `.vm-chzn-select` is NOT
   relied on for the win, so a custom field rendered without that class is still
   covered. */
body .product-field-display[data-tr-sizebuttons][data-tr-sizebuttons] > select,
body .product-field-display[data-tr-sizebuttons][data-tr-sizebuttons] > .choices {
    display: none !important;
}

.tr-size-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

/* template.css:5985 paints bare `button` #e8e8e8/#333 at (0,0,1); this class
   selector is (0,1,0) and wins, so background/color are set directly. */
.tr-size-btn {
    min-width: 46px;
    min-height: 38px;
    padding: 8px 12px;
    background: #0d0d0d;
    border: 1px solid #333333;
    border-radius: 4px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.tr-size-btn:hover,
.tr-size-btn:focus {
    background: #0d0d0d;
    border-color: #0BBCCA;
    color: #0BBCCA;
}

.tr-size-btn:focus-visible {
    outline: 2px solid #0BBCCA;
    outline-offset: 2px;
}

.tr-size-btn.is-selected,
.tr-size-btn.is-selected:hover,
.tr-size-btn.is-selected:focus {
    background: #0BBCCA;
    border-color: #0BBCCA;
    color: #00171a;
}

.tr-size-btn:disabled {
    background: #0d0d0d;
    border-color: #262626;
    color: #4a4a4a;
    cursor: not-allowed;
}

/* the sidebar column is much narrower -- tighten so a row still fits */
#right .tr-size-group {
    gap: 6px;
}

#right .tr-size-btn {
    min-width: 38px;
    min-height: 34px;
    padding: 6px 8px;
    font-size: 12px;
}

/* ==========================================================================
   CHOICES.JS SIZE DROPDOWN -- narrow-card fix
   Scope: .view-category (apparel/collectibles/etc listings, where Joomla DOES
   load /media/vendor/choicesjs/*) plus body:has(.store-lp) as insurance in case
   the store landing page ever starts loading it too.

   THE BUG: choices.min.css sets
       .choices__list--dropdown .choices__item--selectable { padding-right: 100px }
   to reserve room for the `data-select-text` hint ("Press to select"), which it
   renders as an absolutely-positioned ::after on hover. Inside a product card
   the dropdown is only ~250px wide, so 100px of reserved padding leaves roughly
   10px of text column -- every option wraps to one character per line and the
   hint overlaps the option text. Choices' own stylesheet drops this padding
   under a 640px media query, but that is a VIEWPORT width test, and here it is
   the CONTAINER that is narrow, so the media query never fires.

   FIX: drop the reservation and hide the hint. The hint is decorative -- the
   options stay keyboard-selectable without it.
   ========================================================================== */

.view-category .choices__list--dropdown .choices__item--selectable,
body:has(.store-lp) .choices__list--dropdown .choices__item--selectable {
    padding-right: 14px;
}

.view-category .choices__list--dropdown .choices__item--selectable::after,
body:has(.store-lp) .choices__list--dropdown .choices__item--selectable::after {
    display: none;
}

/* stop a long option ("3X Large") from forcing a horizontal scrollbar */
.view-category .choices__list--dropdown,
body:has(.store-lp) .choices__list--dropdown {
    overflow-x: hidden;
}

.view-category .choices__list--dropdown .choices__item,
body:has(.store-lp) .choices__list--dropdown .choices__item {
    white-space: normal;
    word-break: normal;
    line-height: 1.4;
}

/* --- dark theming, matching the account/address block further up --- */
.view-category .choices__inner,
body:has(.store-lp) .choices__inner {
    background-color: #0d0d0d;
    border: 1px solid #333333;
    border-radius: 6px;
    color: #ffffff;
    min-height: 42px;
    padding: 6px 8px 4px;
    font-size: 14px;
}

.view-category .choices.is-focused .choices__inner,
.view-category .choices.is-open .choices__inner,
body:has(.store-lp) .choices.is-focused .choices__inner,
body:has(.store-lp) .choices.is-open .choices__inner {
    border-color: #0BBCCA;
}

.view-category .choices__list--single .choices__item,
body:has(.store-lp) .choices__list--single .choices__item {
    color: #ffffff;
}

.view-category .choices[data-type*="select-one"]::after,
body:has(.store-lp) .choices[data-type*="select-one"]::after {
    border-top-color: #9a9a9a;
}

.view-category .choices__list--dropdown,
.view-category .choices__list[aria-expanded],
body:has(.store-lp) .choices__list--dropdown,
body:has(.store-lp) .choices__list[aria-expanded] {
    background-color: #111111;
    border: 1px solid #333333;
    color: #e0e0e0;
}

.view-category .choices__list--dropdown .choices__item--selectable.is-highlighted,
.view-category .choices__list[aria-expanded] .choices__item--selectable.is-highlighted,
body:has(.store-lp) .choices__list--dropdown .choices__item--selectable.is-highlighted,
body:has(.store-lp) .choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
    background-color: #0BBCCA;
    color: #00171a;
}

/* the search box Choices injects at the top of the dropdown */
.view-category .choices__input,
body:has(.store-lp) .choices__input {
    background-color: #0d0d0d;
    color: #ffffff;
}

/* --- MOST POPULAR: rank numerals ---
   This is real data, not decoration: product_group=topten returns products in
   best-selling order, so position 1..4 IS the ranking. Nothing else in the
   mockup's "best seller" treatment (units sold, badges, star ratings) exists in
   this module's output, so none of it is faked here. */
body:has(.store-lp) .store-section-topten [class*="vmproduct"] {
    counter-reset: tr-rank;
}

body:has(.store-lp) .store-section-topten .product-container {
    counter-increment: tr-rank;
}

body:has(.store-lp) .store-section-topten .product-container > .spacer::before {
    content: counter(tr-rank, decimal-leading-zero);
    position: absolute;
    top: 152px;
    right: 14px;
    z-index: 2;
    color: rgba(13, 13, 13, 0.32);
    font-size: 44px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    pointer-events: none;
}

/* --- narrow screens (mobile.css breakpoints: 1024 / 950 / 758 / 524) --- */
@media screen and (max-width: 950px) {
    body:has(.store-lp) .store-lp [class*="vmproduct"],
    body:has(.store-lp) .store-section-categories ul.VMmenu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 758px) {
    body:has(.store-lp) .store-lp .store-section {
        display: block;
        margin-bottom: 56px;
    }

    body:has(.store-lp) .store-lp .store-section-note {
        margin: -14px 0 24px;
        text-align: left;
    }

    body:has(.store-lp) .store-hero {
        margin-bottom: 56px;
    }

    body:has(.store-lp) #maincontent .store-lp .spacer > a:first-of-type {
        height: 170px;
    }

    body:has(.store-lp) .store-section-topten .product-container > .spacer::before {
        top: 122px;
    }
}

@media screen and (max-width: 524px) {
    body:has(.store-lp) .store-lp [class*="vmproduct"],
    body:has(.store-lp) .store-section-categories ul.VMmenu {
        grid-template-columns: minmax(0, 1fr);
    }

    body:has(.store-lp) .store-hero-actions .store-btn {
        flex: 1 1 auto;
        text-align: center;
    }
}

/* ==========================================================================
   SIDEBAR STORE LIST  --  module 189 "VM - Featured products"
   position sidebar-right, mod_virtuemart_product, product_group=random,
   max_items=6, products_per_row=1, display_style=list, Show Title = No.
   2026-08-17

   Where it renders: aside#right.column.column2 inside #maincontent, on every
   page that has that column -- verified 2026-08-17 on /store, /store/apparel,
   /store/collectibles, a product detail page, /contact and /news. NOT on the
   home page (no sidebar-right there). So this block is deliberately NOT
   scoped to an itemid.

   Markup (products_per_row=1 makes VirtueMart emit ONE ul PER PRODUCT, with a
   stray div.clear between them):
     aside#right > div.inner > div.sidebar-right.tck-module
       > div.tck-module-text > div.vmgroup
           > ul.vmproduct.productdetails            <- one per product
               > li.product-container.width100.center
                   > a > img.featuredProductImage   FIRST anchor  = image
                   > div.clear
                   > a                              SECOND anchor = title,
                                                    carries NO class at all
                   > div.clear
                   > div.productdetails
                       > div.product-price > span.PricesalesPrice
                       > div.addtocart-area > form.product
                           > div.vm-customfields-wrap  (Size select, apparel)
                           > div.addtocart-bar > div.row.gx-0
   Hence :first-of-type / :nth-of-type(2) on .product-container > a below --
   same technique as the /store landing page block above, and the same failure
   mode: a product with no image anchor would pick up the image panel styling.
   VirtueMart always emits a placeholder, so it has not happened.

   Scope prefix is #right rather than a module class: moduleclass_sfx is empty
   and VirtueMart concatenates any suffix straight onto "vmgroup"/"vmproduct"
   with no separator, so a suffix cannot produce a usable extra class. Leave it
   blank.

   Cascade traps (template.css line numbers verified 2026-08-17):
     6339  #maincontent > .inner { color:#555555 }  -> inherits into the
           sidebar, so the card sets its own colours
     6356  #maincontent a { color:#ffffff; text-decoration:underline }  and
     6362  #maincontent a:hover/:focus { color:#ffffff }  both at (1,0,1)
           -> every link rule below carries a #maincontent prefix
     5985  .button, button, button.btn, input.btn, .btn { background:#e8e8e8;
           color:#333333 }  lands after bootstrap.css, so the --bs-btn-* vars
           are already defeated -> buttons set background/color directly
     6010  select / input[type="text"] { background:#ffffff; border:1px solid
           #c7c7c7 }  -> the Size select and quantity input are re-set here
   Size select: rendered as a NATIVE select.vm-chzn-select.form-select on these
   pages -- Choices.js is NOT loaded here (unlike the account/address views),
   so there are no .choices__* rules in this block.
   ========================================================================== */

/* --- column shell --- */
#right .sidebar-right.tck-module {
    color: #cfcfcf;
}

/* CSS-generated heading. The module has Show Title = No and its admin title
   ("VM - Featured products") is not customer-facing, so this label is invented
   in CSS and will not translate.
   DELETE THIS RULE for no heading, or set a real module title and switch
   Show Title on instead. */
#right .vmgroup::before {
    content: "From The Store";
    display: block;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #262626;
    color: #0BBCCA;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

/* --- one ul per product: strip list chrome, space them as cards --- */
#right .vmgroup ul.vmproduct {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

#right .vmgroup ul.vmproduct:last-of-type {
    margin-bottom: 0;
}

/* VirtueMart's empty spacer divs -- between products AND inside each card */
#right .vmgroup .clear {
    display: none;
}

/* --- the card --- */
#right .vmproduct > li.product-container {
    display: flex;
    flex-direction: column;
    float: none;
    width: auto;
    height: 100%;
    margin: 0;
    padding: 0;
    background: #0d0d0d;
    border: 1px solid #262626;
    border-radius: 8px;
    overflow: hidden;
    text-align: left;   /* the li carries a bare .center class */
    transition: border-color 0.18s ease;
}

#right .vmproduct > li.product-container:hover {
    border-color: #0BBCCA;
}

/* --- image panel (first anchor) ---
   Thumbnails come through at mixed sizes (120x90 for sheet metal, 165x200 for
   apparel), so the image is centred at its natural size in a fixed-height
   white panel rather than being stretched. */
#maincontent #right .product-container > a:first-of-type {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    padding: 12px;
    background: #ffffff;
    text-decoration: none;
}

#right .product-container > a:first-of-type img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
}

/* --- title (second anchor -- it has no class of its own) --- */
#maincontent #right .product-container > a:nth-of-type(2) {
    display: block;
    padding: 14px 14px 10px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    text-decoration: none;
}

#maincontent #right .product-container > a:nth-of-type(2):hover,
#maincontent #right .product-container > a:nth-of-type(2):focus {
    color: #0BBCCA;
    text-decoration: none;
}

/* push price + cart to the bottom so cards of unequal title length line up */
#right .product-container > .productdetails {
    margin-top: auto;
}

/* --- price --- */
#right .product-container .product-price {
    margin: 0 14px;
    padding: 10px 0;
    border-top: 1px solid #262626;
}

#right .product-container span.PricesalesPrice {
    color: #0BBCCA;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

/* --- custom fields (the apparel "Size" dropdown) --- */
#right .vm-customfields-wrap {
    padding: 0 14px;
}

#right .product-fields-title span {
    color: #9a9a9a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#right .product-fields-title svg {
    color: #6a6a6a;
}

#right .product-field-display select,
#right .product-field-display .form-select {
    width: 100%;
    padding: 8px 10px;
    background-color: #111111;
    border: 1px solid #333333;
    border-radius: 6px;
    color: #ffffff;
    font-size: 13px;
}

#right .product-field-display select:focus,
#right .product-field-display .form-select:focus {
    border: 1px solid #0BBCCA;
    box-shadow: none;
}

/* --- add-to-cart bar ---
   .row.gx-0 zeroes Bootstrap's gutter, so the stepper and the button touch --
   side by side while they fit, and stacked with zero space once the column is
   too narrow. Re-declared as a flex container with a real gap so the spacing
   holds in both directions. */
#right .addtocart-area {
    padding: 12px 14px 14px;
}

#right .addtocart-bar > .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
    margin: 0;
}

#right .addtocart-bar > .row > .col-auto {
    flex: 0 0 auto;
    padding: 0;
}

/* the button keeps the remaining width beside the stepper, and takes the full
   card width once it wraps below it */
#right .addtocart-bar > .row > .vm-addtocart-button-col {
    flex: 1 1 110px;
    padding: 0;
}

#right .vm-addtocart-button-wrapper {
    height: 100%;
}

/* --- quantity stepper --- */
#right .quantity-box {
    background: #000000;
    border: 1px solid #333333;
    border-radius: 6px;
    overflow: hidden;
    min-height: 38px;
}

#maincontent #right .quantity-box .quantity-input,
#maincontent #right .quantity-box .quantity-input:focus {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #ffffff;
    width: 34px;
    font-size: 13px;
}

#right .quantity-box .quantity-controls {
    background: transparent;
    color: #9a9a9a;
    text-decoration: none;
}

#right .quantity-box .quantity-controls:hover,
#right .quantity-box .quantity-controls:focus {
    background: transparent;
    color: #0BBCCA;
}

/* the inline SVGs are authored at 24x24, too wide for this column */
#right .quantity-box .quantity-controls svg {
    width: 16px;
    height: 16px;
}

/* --- add to cart button ---
   .addtocart-button also carries .btn.btn-primary; template.css:1473 paints
   .btn-primary #010156 and template.css:5985 paints .btn #e8e8e8, so this sets
   background and color directly at higher specificity. */
#maincontent #right .addtocart-button {
    background: #0BBCCA;
    color: #00171a;
    border: 0;
    border-radius: 6px;
    padding: 9px 10px;
    min-height: 38px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

#maincontent #right .addtocart-button:hover,
#maincontent #right .addtocart-button:focus {
    background: #3ad4e2;
    color: #00171a;
}

#maincontent #right .addtocart-button:active {
    background: #089aa6;
    color: #00171a;
}

/* --- narrow screens ---
   mobile.css:216 (inside its max-width:758px block) sets
   `#maincontent .column { width:100% !important; clear:both; float:left }`,
   so at 758px and below the sidebar stops being a column and sits full width
   under the main content. Six stacked cards there is a very long tail, so the
   product list becomes a responsive grid instead. */
@media screen and (max-width: 758px) {
    #right .vmgroup {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 16px;
    }

    #right .vmgroup::before {
        grid-column: 1 / -1;
        margin-bottom: 0;
    }

    #right .vmgroup ul.vmproduct {
        margin: 0;
        height: 100%;
    }

    #maincontent #right .product-container > a:first-of-type {
        height: 170px;
    }
}

/* ==========================================================================
   HEADER SEARCH  --  module 172 "Finder" (mod_finder)   2026-08-17

   Where it renders: position-0, inside
     div#bannerrowcolumn1.flexiblecolumn > div#search > div.inner
       > div.position-0.tck-module > div.tck-module-text
         > search > form.mod-finder.js-finder-searchform.form-search
             > label.visually-hidden.finder   (screen-reader only)
             > input#mod-finder-searchword172.js-finder-search-query.form-control
             > input[type=hidden][name=Itemid]
   Site-wide (menu assignment "all"); verified 2026-08-17 on /, /store,
   /contact and /news.

   Module params that shape the markup -- change these in the module, not here:
     show_button      0  -> there is NO submit button and NO icon element in
                            the HTML. The magnifier below is a background-image
                            on the input, which is why no markup change was
                            needed to add it.
     show_label       0  -> the <label> is .visually-hidden
     show_autosuggest 1  -> finder.min.js wraps the input at runtime in
                            <div class="awesomplete"> and appends a <ul> of
                            suggestions. That wrapper is NOT in the server HTML,
                            so it is styled blind against
                            /media/vendor/awesomplete/css/awesomplete.css 1.1.7.
     alt_label        ""  -> the placeholder is Joomla's default "Search ..."
                            (with an ellipsis). Set alt_label on module 172 if
                            you want it to read exactly "Search".

   Cascade notes:
   - awesomplete.css is stylesheet 6 of 20, custom.css is 16, so equal
     specificity here wins on source order -- no !important needed.
   - template.css:4897 `.mod-finder input.js-finder-search-query { padding:8px }`
     at (0,2,1), and template.css:6010 `input[type="text"] { background:#ffffff;
     border:1px solid #c7c7c7 }` are both beaten by the (1,2,1) selectors below.
   - template.css:4902 `.awesomplete > input { max-width:200px }` is only
     lifted by a `min-width:758px` media query, so the width is re-set here.
   - template.css:6294 `#search > .inner { border-radius:10px }` is left alone:
     that wrapper has no background or border, so its radius is invisible. The
     pill shape lives on the input.

   Colour choice: the reference screenshot showed a light grey pill. This is
   the same shape in the site's palette instead -- #111 field, #3a3a3a rim,
   cyan #0BBCCA on focus, matching every other input on the site. To go back to
   a light pill, swap background-color to #f2f2f2, color to #1a1a1a, and the
   two SVG stroke colours to a dark grey.
   ========================================================================== */

/* the form and the runtime .awesomplete wrapper are inline by default, which
   leaves the pill sized to its text instead of the column */
#search .mod-finder,
#search .awesomplete {
    display: block;
    position: relative;
    width: 100%;
}

/* --- the field ---
   The magnifier is an inline SVG data URI, so there is no extra HTTP request
   and no markup dependency. Keep background-color and background-image as
   separate declarations -- the `background` shorthand would wipe the icon. */
#search input.js-finder-search-query.form-control {
    width: 100%;
    max-width: 250px;
    height: 42px;
    margin: 0;
    padding: 8px 18px 8px 42px;
    background-color: #111111;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9a9a' stroke-width='2' stroke-linecap='round'%3e%3ccircle cx='11' cy='11' r='7'/%3e%3cpath d='m20 20-3.6-3.6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 15px center;
    background-size: 16px 16px;
    border: 1px solid #3a3a3a;
    border-radius: 999px;
    box-shadow: none;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.4;
}

#search input.js-finder-search-query.form-control::placeholder {
    color: #6a6a6a;
    opacity: 1;
}

#search input.js-finder-search-query.form-control:hover {
    border-color: #4f4f4f;
}

/* template.css:6021 `input[type="text"]:focus { border:1px solid #7d7d7d }`
   is (0,1,1); this is (1,2,1). The icon goes cyan with the rim. */
#search input.js-finder-search-query.form-control:focus {
    background-color: #111111;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230BBCCA' stroke-width='2' stroke-linecap='round'%3e%3ccircle cx='11' cy='11' r='7'/%3e%3cpath d='m20 20-3.6-3.6'/%3e%3c/svg%3e");
    border-color: #0BBCCA;
    box-shadow: 0 0 0 0.2rem rgba(11, 188, 202, 0.2);
    color: #ffffff;
    outline: 0;
}

/* --- autosuggest dropdown (built by Awesomplete at runtime) --- */
#search .awesomplete > ul {
    margin-top: 6px;
    padding: 4px 0;
    background: #111111;
    border: 1px solid #333333;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    color: #e0e0e0;
    overflow: hidden;
    text-shadow: none;
}

/* awesomplete.css draws a white rotated square as a speech-bubble tail; it
   reads as a stray white notch against the dark panel */
#search .awesomplete > ul::before {
    display: none;
}

#search .awesomplete > ul > li {
    padding: 9px 14px;
    font-size: 14px;
    line-height: 1.35;
}

#search .awesomplete > ul > li:hover,
#search .awesomplete > ul > li[aria-selected="true"] {
    background: #0BBCCA;
    color: #00171a;
}

/* awesomplete highlights the matched substring with a yellow <mark>; bold is
   enough and does not fight the palette */
#search .awesomplete mark,
#search .awesomplete li:hover mark,
#search .awesomplete li[aria-selected="true"] mark {
    background: transparent;
    color: inherit;
    font-weight: 700;
}

/* --- narrow screens ---
   mobile.css:199 already sets `#search { height:auto !important }` and the
   flexible columns stack, so the pill just needs to fill the row. */
@media screen and (max-width: 758px) {
    #search > .inner {
        padding: 0 10px;
    }

    #search input.js-finder-search-query.form-control {
        max-width: 100%;
    }
}

/* ==========================================================================
   PARTNERS PAGE  --  /partners   (article 3)
   2026-08-21

   PAGE HOOK -- read this before adding a rule here.
   Every selector below is prefixed `body:has(.partners-lp)`, NOT
   `body.itemid-2183`. `.partners-lp` is the wrapper div inside article 3, so
   the hook travels with the content the rules style. Same reasoning, same
   specificity, as the STORE LANDING PAGE block above -- read that comment for
   the full argument. (0,1,1). Do NOT put an id inside :has().

   WHAT THIS STYLES -- three module outputs inside four article sections:

     partner grid    mod_articles_category, layout override `partners_grid`
                     -> .partner-grid-wrap > [h3.partner-tier-title]
                                           > ul.partner-grid > li.partner-cell
                                             > a.partner-tile > img.partner-logo
                     Tier headings appear only when a partner has a tier set.
                     A partner with no logo renders span.partner-wordmark
                     instead of the img, so half-finished entries are visible.

     people slider   mod_random_image, layout override `partners_slider`
                     -> .partner-slider > .partner-slider-viewport
                                          > ul.partner-slider-track > li.partner-slide
                                        > button.partner-slider-arrow x2
                                        > .partner-slider-dots

     partner form    mod_convertforms inside .partner-form-shell. Styled off
                     Convert Forms' generic .cf-* classes, NOT off a form id --
                     so whichever form Shahbaz builds picks this up with no new
                     CSS. Contrast #cf_1 / #cf_2 elsewhere in this file, which
                     are id-hooked and would need editing per form.

   THE SLIDER IS NOT A JS WIDGET. It is a native CSS scroll-snap strip; the
   browser owns scrolling, momentum and touch swipe. tr-partners.js only adds
   arrows and dots on top. Those controls are hidden until the script stamps
   [data-tr-slider-ready] on the wrapper, so a JS failure leaves a working
   scrollable gallery rather than dead buttons -- the same safety property as
   the SIZE BUTTON GROUP block. Never make them visible unconditionally.

   PARTNER LOGOS ARE NOT RECOLOURED. The obvious trick for a logo wall is
   `filter: grayscale(1) brightness(0) invert(1)` to force every mark white.
   Deliberately not done: partner brand guidelines routinely forbid recolouring,
   and Dr. Sheffields and GTECHNIQ both have colour marks. Logos sit at 0.82
   opacity and come to full on hover instead, which reads as a set without
   touching anyone's colours. Upload transparent PNG or SVG.

   Cascade traps in template.css (line numbers verified against 2026-08-17):
     5969  h2 { color:#000000 }
           -> every heading below sets colour explicitly or it is black on black
     5985  .button, button, button.btn, input.btn, .btn { background:#e8e8e8;
           color:#333333 }  lands after bootstrap.css, so --bs-btn-* is already
           defeated -> the slider arrows and dots set background/color directly,
           and so must any button added here
     6339  #maincontent > .inner { background:#ffffff; border:1px solid #000000;
           color:#555555 }  -> overridden for this page only
     6356  #maincontent a { color:#ffffff; text-decoration:underline }  at
           (1,0,1) -> EVERY link rule below carries a #maincontent prefix, which
           puts it at (1,2,1)
   Article chrome (title, category, author, dates, hits, tags) is switched off
   in menu item 2183's params, not here -- matching how /store does it.
   ========================================================================== */

/* --- page shell: drop the white content card, sit on the black page --- */
body:has(.partners-lp) #maincontent {
    background-color: transparent;
}

/* Width, padding and border come from the SITE-WIDE CONTENT WIDTH block, which
   is (1,3,1) and outranks this (1,2,1) rule. Colours only -- repeating the
   geometry here would be dead weight that silently stops taking effect. */
body:has(.partners-lp) #maincontent > .inner {
    background: transparent;
    color: #cfcfcf;
}

/* --- shared: eyebrow label with the cyan rule, matching /store --- */
body:has(.partners-lp) .partners-lp .partner-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    color: #0BBCCA;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

body:has(.partners-lp) .partners-lp .partner-eyebrow::before {
    content: "";
    flex: none;
    width: 34px;
    height: 2px;
    background: #0BBCCA;
}

/* --- hero ---
   Contained to the 1280px column rather than full-bleed: a 100vw full-bleed
   overflows horizontally whenever a scrollbar is present. To drop a real photo
   behind it, add a background-image and keep the linear-gradient first in the
   list so the text stays readable. */
body:has(.partners-lp) .partner-hero {
    position: relative;
    overflow: hidden;
    margin: 0 0 76px;
    padding: clamp(40px, 7vw, 92px) clamp(24px, 5vw, 60px);
    background: linear-gradient(120deg, #0d0d0d 0%, #101416 55%, #0a1214 100%);
    border: 1px solid #1c1c1c;
    border-radius: 10px;
}

body:has(.partners-lp) .partner-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 38%;
    height: 74%;
    background: linear-gradient(135deg, transparent 50%, rgba(11, 188, 202, 0.16) 50%);
    pointer-events: none;
}

body:has(.partners-lp) .partner-hero > * {
    position: relative;
    z-index: 1;
}

body:has(.partners-lp) .partner-hero-title {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(36px, 6.2vw, 72px);
    line-height: 1.02;
    font-weight: 900;
    text-transform: uppercase;
}

body:has(.partners-lp) .partner-hero-title span {
    color: #0BBCCA;
}

body:has(.partners-lp) .partner-hero-sub {
    max-width: 560px;
    margin: 0;
    color: #a8a8a8;
    font-size: 16px;
    line-height: 1.6;
}

/* --- section header: title left, optional note right on one baseline --- */
body:has(.partners-lp) .partners-lp .partner-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 24px;
    align-items: end;
    margin: 0 0 76px;
}

body:has(.partners-lp) .partners-lp .partner-section > .partner-eyebrow {
    grid-column: 1 / -1;
}

body:has(.partners-lp) .partners-lp .partner-section-title {
    grid-column: 1;
    margin: 0 0 26px;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.04;
    font-weight: 900;
    text-transform: uppercase;
}

body:has(.partners-lp) .partners-lp .partner-section-note {
    grid-column: 2;
    margin: 0 0 31px;
    color: #8a8a8a;
    font-size: 14px;
    text-align: right;
}

/* Module output and any other block always spans the full section width.
   `> div` is broad on purpose: {loadmoduleid} emits a bare wrapper div whose
   class depends on the module's style setting, so matching the tag is the only
   hook that survives someone changing that setting in the module edit screen. */
body:has(.partners-lp) .partners-lp .partner-section > div,
body:has(.partners-lp) .partners-lp .partner-section > .partner-cta-copy {
    grid-column: 1 / -1;
}

/* ==========================================================================
   PARTNER LOGO GRID  (mod_articles_category, layout partners_grid)

   THREE PER ROW, ALWAYS -- this is a client-specified size, not a default.
   The tile must stay the same size no matter how many partners a tier holds:
   a tier with one partner gets one third-width tile, not one full-width slab.

   That rules out repeat(auto-fit, ...) and repeat(auto-fill, ...) alike.
   auto-fit collapses empty tracks, so a short tier stretches its tiles across
   the whole width -- and because the tile is aspect-ratio 3/2, the height goes
   with it (one partner measured 1230x820 at a 1440 viewport). auto-fill keeps
   the tracks but sizes them off the minmax floor, which gave roughly six
   187px columns at that width, far smaller than asked for. Only an explicit
   track count pins the size.

   minmax(0, 1fr) rather than 1fr: the 0 floor stops a wide logo's min-content
   width from pushing a track past its third and overflowing the row.

   The size follows the viewport, it is not pinned in px. At a 1440 viewport
   the content column is 1230, so (1230 - 2*18 gap) / 3 = 398 wide, and
   aspect-ratio 3/2 makes that 265 tall -- the requested 398x265. Narrower
   viewports scale the same three columns down. Pinning 398px instead would
   overflow below about 830px of content width.

   Tiles are a fixed aspect ratio rather than a fixed height so a row of very
   different logo proportions still reads as a grid of equal cards.
   ========================================================================== */

body:has(.partners-lp) .partner-grid-wrap {
    width: 100%;
}

body:has(.partners-lp) .partner-tier-title {
    margin: 0 0 18px;
    color: #9a9a9a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

/* Tier headings after the first need air above them; :first-of-type keeps the
   top one flush with the section title. */
body:has(.partners-lp) .partner-tier-title + .partner-grid {
    margin-bottom: 44px;
}

body:has(.partners-lp) .partner-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body:has(.partners-lp) .partner-grid:last-child {
    margin-bottom: 0;
}

body:has(.partners-lp) .partner-cell {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* #maincontent prefix is required -- template.css:6356 sets
   `#maincontent a { color:#ffffff; text-decoration:underline }` at (1,0,1).
   This is (1,2,1). The unlinked variant is a div, and is matched by the same
   .partner-tile class so both look identical. */
body:has(.partners-lp) #maincontent .partner-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 2;
    padding: 22px;
    background: #101416;
    border: 1px solid #1c1c1c;
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    transition: border-color 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}

body:has(.partners-lp) #maincontent a.partner-tile:hover,
body:has(.partners-lp) #maincontent a.partner-tile:focus-visible {
    background: #131a1c;
    border-color: #0BBCCA;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* The tile is the focus target and it has no text of its own when a logo is
   present, so the ring has to be unmistakable. */
body:has(.partners-lp) #maincontent a.partner-tile:focus-visible {
    outline: 2px solid #0BBCCA;
    outline-offset: 3px;
}

/* Height-constrained, width-free: that is what lets a square badge and a wide
   wordmark sit in the same row without one dwarfing the other. */
body:has(.partners-lp) .partner-logo {
    max-width: 100%;
    max-height: 62px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.82;
    transition: opacity 0.18s ease;
}

body:has(.partners-lp) #maincontent a.partner-tile:hover .partner-logo,
body:has(.partners-lp) #maincontent a.partner-tile:focus-visible .partner-logo {
    opacity: 1;
}

/* Fallback tile for a partner whose logo has not been uploaded yet. */
body:has(.partners-lp) .partner-wordmark {
    color: #cfcfcf;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
}

/* ==========================================================================
   PEOPLE SLIDER  (mod_random_image, layout partners_slider)

   scroll-snap does the work. The JS sets scrollLeft and nothing else, so
   everything here has to stand up on its own with the script absent.
   ========================================================================== */

body:has(.partners-lp) .partner-slider {
    position: relative;
    width: 100%;
}

body:has(.partners-lp) .partner-slider-viewport {
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    /* The strip is tabbable so it is reachable without a pointer; suppress the
       default ring only far enough to replace it below. */
    outline: none;
    /* Firefox / IE-era scrollbar hiding. The bar is redundant once the dots
       exist and it clips the bottom of the photos on Windows. */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body:has(.partners-lp) .partner-slider-viewport::-webkit-scrollbar {
    display: none;
}

body:has(.partners-lp) .partner-slider-viewport:focus-visible {
    outline: 2px solid #0BBCCA;
    outline-offset: 4px;
}

body:has(.partners-lp) .partner-slider-track {
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 3 up on desktop. flex-basis carries the gap subtraction because
   grid-template-columns is not available on a scroll-snap flex strip. */
body:has(.partners-lp) .partner-slide {
    flex: 0 0 calc((100% - 36px) / 3);
    margin: 0;
    padding: 0;
    list-style: none;
    scroll-snap-align: start;
}

body:has(.partners-lp) .partner-slide img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid #1c1c1c;
    border-radius: 8px;
}

/* --- arrows and dots: hidden until tr-partners.js proves it attached --- */
body:has(.partners-lp) .partner-slider-arrow,
body:has(.partners-lp) .partner-slider-dots {
    display: none;
}

body:has(.partners-lp) .partner-slider[data-tr-slider-ready] .partner-slider-arrow {
    display: flex;
}

body:has(.partners-lp) .partner-slider[data-tr-slider-ready] .partner-slider-dots {
    display: flex;
}

/* background/color set directly -- see the template.css:5985 note at the top of
   this block; --bs-btn-* is already defeated by the time it lands. */
body:has(.partners-lp) #maincontent .partner-slider-arrow {
    position: absolute;
    top: calc(50% - 22px);
    z-index: 2;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(13, 13, 13, 0.88);
    border: 1px solid #2a2a2a;
    border-radius: 50%;
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

body:has(.partners-lp) #maincontent .partner-slider-arrow:hover:not(:disabled) {
    background: #0BBCCA;
    border-color: #0BBCCA;
    color: #00171a;
}

body:has(.partners-lp) #maincontent .partner-slider-arrow:focus-visible {
    outline: 2px solid #0BBCCA;
    outline-offset: 3px;
}

/* Disabled rather than removed at the ends: a control that vanishes shifts the
   photos under the pointer mid-click. */
body:has(.partners-lp) #maincontent .partner-slider-arrow:disabled {
    opacity: 0.28;
    cursor: default;
}

body:has(.partners-lp) #maincontent .partner-slider-prev {
    left: -8px;
}

body:has(.partners-lp) #maincontent .partner-slider-next {
    right: -8px;
}

body:has(.partners-lp) .partner-slider-dots {
    justify-content: center;
    gap: 8px;
    margin: 20px 0 0;
}

body:has(.partners-lp) #maincontent .partner-slider-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    background: #333333;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.18s ease, transform 0.18s ease;
}

body:has(.partners-lp) #maincontent .partner-slider-dot.is-active {
    background: #0BBCCA;
    transform: scale(1.25);
}

body:has(.partners-lp) #maincontent .partner-slider-dot:focus-visible {
    outline: 2px solid #0BBCCA;
    outline-offset: 3px;
}

/* ==========================================================================
   PARTNER WITH US  (article copy + mod_convertforms in .partner-form-shell)

   Hooked on Convert Forms' generic .cf-* classes on purpose, so any form
   Shahbaz builds inherits this. Do not narrow these to a #cf_N id.
   ========================================================================== */

body:has(.partners-lp) .partner-cta {
    padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px);
    background: linear-gradient(120deg, #0d0d0d 0%, #101416 60%, #0a1214 100%);
    border: 1px solid #1c1c1c;
    border-radius: 10px;
}

body:has(.partners-lp) .partner-cta-copy {
    max-width: 640px;
    margin: 0 0 30px;
    color: #a8a8a8;
    font-size: 16px;
    line-height: 1.7;
}

body:has(.partners-lp) .partner-form-shell {
    max-width: 640px;
}

/* Convert Forms ships its own convertforms.css; these only re-skin it for the
   dark page. Anything not listed here is inherited from that file on purpose --
   keep this list short so a Convert Forms update does not silently fight it. */
body:has(.partners-lp) .partner-form-shell .cf-label {
    color: #cfcfcf;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body:has(.partners-lp) .partner-form-shell input[type="text"],
body:has(.partners-lp) .partner-form-shell input[type="email"],
body:has(.partners-lp) .partner-form-shell input[type="tel"],
body:has(.partners-lp) .partner-form-shell input[type="url"],
body:has(.partners-lp) .partner-form-shell select,
body:has(.partners-lp) .partner-form-shell textarea {
    width: 100%;
    padding: 12px 14px;
    background: #0d0d0d;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    color: #ffffff;
    font-size: 15px;
}

body:has(.partners-lp) .partner-form-shell input:focus,
body:has(.partners-lp) .partner-form-shell select:focus,
body:has(.partners-lp) .partner-form-shell textarea:focus {
    border-color: #0BBCCA;
    outline: none;
}

body:has(.partners-lp) .partner-form-shell ::placeholder {
    color: #6a6a6a;
    opacity: 1;
}

/* Convert Forms' submit is a <button class="cf-btn">; template.css:5985 would
   otherwise leave it grey on grey. */
body:has(.partners-lp) #maincontent .partner-form-shell .cf-btn,
body:has(.partners-lp) #maincontent .partner-form-shell button[type="submit"] {
    padding: 14px 26px;
    background: #0BBCCA;
    border: 0;
    border-radius: 4px;
    color: #00171a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
}

body:has(.partners-lp) #maincontent .partner-form-shell .cf-btn:hover,
body:has(.partners-lp) #maincontent .partner-form-shell button[type="submit"]:hover {
    background: #3ad4e2;
    color: #00171a;
}

/* Placeholder shown until the Convert Forms module is published. It is styled
   rather than hidden so the seam is obvious to whoever picks the page up --
   delete the .partner-form-todo paragraph from article 3 once the form is in. */
body:has(.partners-lp) .partner-form-todo {
    margin: 0;
    padding: 18px 20px;
    background: rgba(11, 188, 202, 0.06);
    border: 1px dashed #2a4a4e;
    border-radius: 6px;
    color: #8a8a8a;
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================================================
   PARTNERS -- RESPONSIVE
   Breakpoints match the mobile.css set (1024 / 950 / 758 / 524) so this page
   steps at the same places as the rest of the site.
   ========================================================================== */

@media screen and (max-width: 1024px) {
    /* 2 up */
    body:has(.partners-lp) .partner-slide {
        flex: 0 0 calc((100% - 18px) / 2);
    }
}

@media screen and (max-width: 950px) {
    /* Still three across -- only the gap tightens. The three-up rule is the
       client's, so it holds until the tiles get genuinely too narrow to read a
       logo in, which is the 758 step below. */
    body:has(.partners-lp) .partner-grid {
        gap: 14px;
    }

    /* The arrows overhang the viewport edge on desktop; once the content column
       loses its side gutter there is nothing for them to hang into, so pull
       them inside the photos. */
    body:has(.partners-lp) #maincontent .partner-slider-prev {
        left: 6px;
    }

    body:has(.partners-lp) #maincontent .partner-slider-next {
        right: 6px;
    }
}

@media screen and (max-width: 758px) {
    /* Three across finally breaks here. The content column is about 730 at this
       width, so a third is ~234 -- too narrow for a wide wordmark once the tile
       padding is taken off. Two up keeps the logo legible. This is the only
       place the client's three-up rule is deliberately overridden. */
    body:has(.partners-lp) .partner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Stack the section header: the note has nowhere to sit on one baseline. */
    body:has(.partners-lp) .partners-lp .partner-section {
        grid-template-columns: minmax(0, 1fr);
        margin-bottom: 52px;
    }

    body:has(.partners-lp) .partners-lp .partner-section-title {
        margin-bottom: 12px;
    }

    body:has(.partners-lp) .partners-lp .partner-section-note {
        grid-column: 1;
        margin-bottom: 22px;
        text-align: left;
    }

    body:has(.partners-lp) .partner-hero {
        margin-bottom: 52px;
    }

    body:has(.partners-lp) .partner-logo {
        max-height: 48px;
    }

    /* 1 up. Swipe is the primary control at this width, so the arrows are
       dropped rather than shrunk -- they would sit on top of the photo. */
    body:has(.partners-lp) .partner-slide {
        flex: 0 0 100%;
    }

    body:has(.partners-lp) .partner-slider[data-tr-slider-ready] .partner-slider-arrow {
        display: none;
    }
}

@media screen and (max-width: 524px) {
    body:has(.partners-lp) .partner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    body:has(.partners-lp) #maincontent .partner-tile {
        padding: 16px;
    }

    body:has(.partners-lp) .partner-logo {
        max-height: 40px;
    }
}

/* Kill the snap animation for anyone who asked for less motion. The JS already
   switches its own scrollTo to behavior:auto; this covers the CSS half. */
@media (prefers-reduced-motion: reduce) {
    body:has(.partners-lp) .partner-slider-viewport {
        scroll-behavior: auto;
    }

    body:has(.partners-lp) #maincontent .partner-tile,
    body:has(.partners-lp) .partner-logo,
    body:has(.partners-lp) #maincontent .partner-slider-arrow,
    body:has(.partners-lp) #maincontent .partner-slider-dot {
        transition: none;
    }

    body:has(.partners-lp) #maincontent a.partner-tile:hover,
    body:has(.partners-lp) #maincontent a.partner-tile:focus-visible {
        transform: none;
    }
}


/* ==== CS-PREVIEW-READABLE-v1 : plain-article text readable on dark template (GT4/Mustang/STEM preview) 2026-09-10 ==== */
body.itemid-2858 .item-page, body.itemid-2858 .blog, body.itemid-2858 .items-row, body.itemid-2858 .items-leading,
body.itemid-2859 .item-page, body.itemid-2859 .blog, body.itemid-2859 .items-row, body.itemid-2859 .items-leading,
body.itemid-2860 .item-page, body.itemid-2860 .blog, body.itemid-2860 .items-row, body.itemid-2860 .items-leading { color:#f2f2f2; }
body.itemid-2858 .item-page p, body.itemid-2858 .blog p, body.itemid-2858 .item-page li, body.itemid-2858 .blog li, body.itemid-2858 .item-page td, body.itemid-2858 .blog td,
body.itemid-2859 .item-page p, body.itemid-2859 .blog p, body.itemid-2859 .item-page li, body.itemid-2859 .blog li, body.itemid-2859 .item-page td, body.itemid-2859 .blog td,
body.itemid-2860 .item-page p, body.itemid-2860 .blog p, body.itemid-2860 .item-page li, body.itemid-2860 .blog li, body.itemid-2860 .item-page td, body.itemid-2860 .blog td { color:#f2f2f2 !important; }
body.itemid-2858 .item-page h1, body.itemid-2858 .item-page h2, body.itemid-2858 .item-page h3, body.itemid-2858 .item-page h4, body.itemid-2858 .blog h1, body.itemid-2858 .blog h2, body.itemid-2858 .blog h3, body.itemid-2858 .page-header h1, body.itemid-2858 .page-header h2,
body.itemid-2859 .item-page h1, body.itemid-2859 .item-page h2, body.itemid-2859 .item-page h3, body.itemid-2859 .item-page h4, body.itemid-2859 .blog h1, body.itemid-2859 .blog h2, body.itemid-2859 .blog h3, body.itemid-2859 .page-header h1, body.itemid-2859 .page-header h2,
body.itemid-2860 .item-page h1, body.itemid-2860 .item-page h2, body.itemid-2860 .item-page h3, body.itemid-2860 .item-page h4, body.itemid-2860 .blog h1, body.itemid-2860 .blog h2, body.itemid-2860 .blog h3, body.itemid-2860 .page-header h1, body.itemid-2860 .page-header h2 { color:#ffffff !important; }
body.itemid-2858 .item-page a, body.itemid-2858 .blog a,
body.itemid-2859 .item-page a, body.itemid-2859 .blog a,
body.itemid-2860 .item-page a, body.itemid-2860 .blog a { color:#4fd4e6 !important; }
/* ==== end CS-PREVIEW-READABLE-v1 ==== */


/* ==== CS-ARTICLE-READABLE-v2 : ALL plain Joomla article/blog/category content readable on the dark teamreaume template (site-wide) 2026-09-10 ==== */
.tck-wrapper .item-page, .tck-wrapper .blog, .tck-wrapper .items-row, .tck-wrapper .items-leading, .tck-wrapper .item-page .content { color:#f2f2f2; }
.tck-wrapper .item-page p, .tck-wrapper .blog p, .tck-wrapper .item-page li, .tck-wrapper .blog li, .tck-wrapper .item-page td, .tck-wrapper .blog td, .tck-wrapper .item-page dd, .tck-wrapper .item-page dt, .tck-wrapper .item-page blockquote { color:#f2f2f2 !important; }
.tck-wrapper .item-page h1, .tck-wrapper .item-page h2, .tck-wrapper .item-page h3, .tck-wrapper .item-page h4, .tck-wrapper .blog h1, .tck-wrapper .blog h2, .tck-wrapper .blog h3, .tck-wrapper .blog h4, .tck-wrapper .page-header h1, .tck-wrapper .page-header h2 { color:#ffffff !important; }
.tck-wrapper .item-page a, .tck-wrapper .blog a { color:#4fd4e6 !important; }
/* note: intentionally does NOT target span, so inline-coloured spans (e.g. STEM cyan answers) keep their colour; does NOT touch .convertforms (form has its own white card) */
/* ==== end CS-ARTICLE-READABLE-v2 ==== */

/* Cybersalt 2026-11-17 SEO: article titles are now <h1> (TCK_ARTICLE_TITLE_TAG). Keep the old <h2> look. */
.tck-wrapper .page-header h1.tck-article-title, h1.tck-article-title { font-size:40px; font-weight:700; line-height:36px; }

/* cs-sr-heading: Cybersalt 2026-11-17 SEO. These pages hide the article title, so the menu Page Heading gives them an H1.
   Kept for search engines and screen readers, visually hidden so the design doesn't change. */
body.itemid-2180 .item-page > .page-header,
body.itemid-2182 .item-page > .page-header,
body.itemid-2185 .tck-article > .page-header,
body.itemid-2437 .item-page > .page-header,
body.itemid-101 .blog-featured > .page-header { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }


/* ==========================================================================
   CS-DRIVERS-v1 : driver profile pages + Our Drivers carousel (Cybersalt 2026-11-18)
   Markup: html/com_content/article/default_driver.php (.tr-driver)
           html/mod_articles_category/drivers_carousel.php (.tr-drivers-carousel)
   Look copied from the Smart Slider bio blocks (SS 76 etc.) and cards (SS 24).
   ========================================================================== */

/* ---- Driver page ---- */
.tck-wrapper .item-page.tr-driver { color:#f2f2f2; }
.tr-driver__inner { display:flex; align-items:flex-start; gap:110px; max-width:1025px; margin:0 auto; padding:42px 20px 60px; }
.tr-driver__photo { flex:0 0 270px; }
.tr-driver__photo img { display:block; width:270px; aspect-ratio:2/3; height:auto; object-fit:cover; border-radius:8px; }
.tr-driver__info { flex:1 1 auto; min-width:0; max-width:600px; padding-top:10px; }
.tr-driver__flag { display:block; width:28px; height:auto; margin:0 0 6px; }
.tck-wrapper .item-page h1.tr-driver__name,
h1.tr-driver__name { margin:0 0 6px; font-family:"akzidenz-grotesk pro bold cnd", "new science", sans-serif; font-size:45px; font-weight:700; line-height:67.5px; color:#fff !important; text-transform:none; letter-spacing:normal; }
.tr-driver__first { margin-right:.35em; }
.tr-driver__last { position:relative; display:inline-block; white-space:nowrap; }
.tr-driver__last svg { position:absolute; left:-14%; bottom:-6px; width:128%; max-width:none; height:42px; overflow:visible; pointer-events:none; }
.tr-driver__last svg path { fill:none; stroke:#00ccbb; stroke-width:10px; stroke-linecap:round; stroke-dasharray:547; stroke-dashoffset:547; animation:tr-driver-swoosh 1s .3s ease-out forwards; }
@keyframes tr-driver-swoosh { to { stroke-dashoffset:0; } }
.tck-wrapper .item-page .tr-driver__bio,
.tck-wrapper .item-page .tr-driver__bio p { font-family:"new science", sans-serif; font-size:18px; line-height:32.4px; color:#f2f2f2 !important; }
.tr-driver__bio p { margin:0 0 12px; }
.tr-driver__bio p:last-child { margin-bottom:0; }
.tr-driver__social { display:flex; gap:22px; list-style:none; margin:20px 0 0; padding:0; }
.tr-driver__social li { margin:0; padding:0; }
.tck-wrapper .item-page .tr-driver__social a { display:block; color:#fff !important; line-height:0; transition:color .2s; }
.tck-wrapper .item-page .tr-driver__social a:hover,
.tck-wrapper .item-page .tr-driver__social a:focus-visible { color:#00ccbb !important; }
.tr-driver__social svg { width:24px; height:24px; fill:currentColor; }
@media (prefers-reduced-motion: reduce) { .tr-driver__last svg path { animation:none; stroke-dashoffset:0; } }

@media (max-width: 991px) {
  .tr-driver__inner { gap:48px; }
}
@media (max-width: 767px) {
  .tr-driver__inner { flex-direction:column; align-items:center; gap:28px; padding:28px 16px 40px; }
  .tr-driver__photo { flex:none; width:100%; max-width:300px; }
  .tr-driver__photo img { width:100%; }
  .tr-driver__info { padding-top:0; }
  .tck-wrapper .item-page h1.tr-driver__name,
  h1.tr-driver__name { font-size:38px; line-height:54px; }
  .tck-wrapper .item-page .tr-driver__bio,
  .tck-wrapper .item-page .tr-driver__bio p { font-size:16px; line-height:28px; }
}

/* Card row under a driver's bio (position driver-profile-bottom). */
.tr-driver__more { border-top:1px solid #1f1f1f; padding:56px 0 20px; }
.tck-wrapper .item-page h2.tr-driver__more-title,
h2.tr-driver__more-title { margin:0; font-family:"new science extended", "new science", sans-serif; font-size:40px; font-weight:700; line-height:1.2; text-align:center; color:#fff !important; }
.tr-driver__more .tr-drivers-carousel { padding-top:48px; }
@media (max-width: 767px) {
  .tr-driver__more { padding-top:40px; }
  .tck-wrapper .item-page h2.tr-driver__more-title,
  h2.tr-driver__more-title { font-size:30px; }
  .tr-driver__more .tr-drivers-carousel { padding-top:28px; }
}

/* ---- Our Drivers carousel ---- */
.tr-drivers-carousel { --tr-dc-gap:40px; --tr-dc-per:4; max-width:1120px; margin:0 auto; padding:98px 0 24px; box-sizing:content-box; }
.tr-dc__track { display:flex; gap:var(--tr-dc-gap); margin:0; padding:0; list-style:none; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.tr-dc__track::-webkit-scrollbar { display:none; }
.tr-dc__item { flex:0 0 calc((100% - (var(--tr-dc-per) - 1) * var(--tr-dc-gap)) / var(--tr-dc-per)); margin:0; padding:0; scroll-snap-align:start; }
.tr-dc__card { display:block; text-decoration:none !important; color:#fff !important; }
.tr-dc__img { display:block; aspect-ratio:2/3; overflow:hidden; border-radius:8px; background:#151515; }
.tr-dc__img img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.tr-dc__name { display:block; background:#151515; color:#fff; font-family:"New Science", "new science", sans-serif; font-size:20px; font-weight:700; line-height:30px; text-align:center; transition:background-color .2s; }
.tr-dc__card:hover .tr-dc__img img,
.tr-dc__card:focus-visible .tr-dc__img img { transform:scale(1.05); }
.tr-dc__card:hover .tr-dc__name,
.tr-dc__card:focus-visible .tr-dc__name { background:#0bbccd; }
.tr-dc__card:focus-visible { outline:2px solid #00ccbb; outline-offset:4px; }
.tr-dc__dots { display:flex; justify-content:center; gap:8px; margin-top:70px; }
.tr-dc__dots[hidden] { display:none; }
.tr-dc__dot { width:16px; height:16px; padding:0; border:0; border-radius:0; background:#2a2a2a; cursor:pointer; }
.tr-dc__dot.is-active { background:#2fb5c9; }
.tr-dc__dot:focus-visible { outline:2px solid #fff; outline-offset:2px; }

@media (max-width: 1199px) {
  .tr-drivers-carousel { max-width:none; padding-left:40px; padding-right:40px; }
}
@media (max-width: 991px) {
  .tr-drivers-carousel { --tr-dc-per:3; --tr-dc-gap:28px; padding-top:60px; }
}
@media (max-width: 767px) {
  .tr-drivers-carousel { --tr-dc-per:2; --tr-dc-gap:16px; padding:40px 16px 16px; }
  .tr-dc__name { font-size:16px; line-height:28px; }
  .tr-dc__dots { margin-top:32px; }
}
@media (max-width: 420px) {
  /* One and a bit cards, so it's obvious the row swipes. */
  .tr-drivers-carousel { --tr-dc-per:1.35; }
}
/* ==== end CS-DRIVERS-v1 ==== */

/* ==== CS-CART-20261124 (Cybersalt): cart fixes after VirtueMart 4.8.10 ==== */
/* template.css `.mb-2 { display:inline-block }` squeezed the totals rows */
.view-cart #maincontent .vm-checkout-subtotals > .row {
    display: flex;
}

/* template.css paints every .btn #e8e8e8; "Login" was white on it */
.view-cart #maincontent .vm-checkout-login a.btn-primary {
    background: transparent;
    color: #0BBCCA;
    border: 1px solid #0BBCCA;
    border-radius: 6px;
}

.view-cart #maincontent .vm-checkout-login a.btn-primary:hover,
.view-cart #maincontent .vm-checkout-login a.btn-primary:focus {
    background: #0BBCCA;
    color: #00171a;
}

/* 4.8.10 puts shipping straight under the order card */
.view-cart #maincontent .vm-fieldset-pricelist {
    margin-bottom: 28px;
}
/* ==== end CS-CART-20261124 ==== */

/* ==== CS-THUMBS-20261130 (Cybersalt): store product photos fill their tiles ==== */
/* VirtueMart thumbnails raised 0x90 -> 0x400 (Configuration, 30 Nov; same as TR Direct 25 Nov).
   The white photo panel is now square on the store page and the category pages, and the photo
   fills it; "contain" so shirts and sheet metal are never cropped. Replaces the fixed
   200px / 240px panel heights (170px / 180px on phones) set further up. */
body:has(.store-lp) #maincontent .store-lp .spacer > a:first-of-type {
    height: auto;
    aspect-ratio: 1 / 1;
    min-height: 0;
    overflow: hidden;
    padding: 12px;
}

body:has(.store-lp) .store-lp .spacer > a:first-of-type img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Most Popular rank number (01, 02...) sat at top:152px / 122px, the bottom corner of the old
   200px / 170px panel. The panel is now as tall as the card is wide, so measure from that. */
body:has(.store-lp) .store-section-topten .product-container {
    container-type: inline-size;
}

body:has(.store-lp) .store-section-topten .product-container > .spacer::before {
    top: calc(100cqw - 48px);
}

/* !important only to beat VirtueMart's inline style="min-height:400px" (it copies the thumbnail height). */
.view-category .vm-product-media-container {
    height: auto;
    aspect-ratio: 1 / 1;
    min-height: 0 !important;
    overflow: hidden;
    padding: 12px;
}

.view-category .vm-product-media-container > a {
    display: block;
    width: 100%;
    height: 100%;
}

.view-category .vm-product-media-container img.browseProductImage {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
}
/* ==== end CS-THUMBS-20261130 ==== */
