/* ==========================================================================
   RCF Tactical: phone and tablet pass (2026-11-27, after Brad on his iPhone: "jacked up on mobile").
   Decision record: 2adata-secure/design-decisions/2026-11-27-rcftactical-mobile.md (committee: Claude, GPT, Gemini).

   Scope: the desktop HOMEPAGE (approved Creation Station design) does not move: phone/tablet rules sit in max-width
   media queries, and the inner-page block skips the homepage. Inner pages are themed at all widths (Brad 22:50).

   Specificity: header.php carries inline <style> blocks with !important that print AFTER this file, and
   professional-fixes.min.css / product-page.css load after it too. Every rule here therefore wins on specificity
   (html body + element-qualified selectors) as well as !important; check with getComputedStyle, not by reading.
   Palette: olive #3a3c12, dark olive #2b2d0d, cream #eceae6, card cream #f5f3ee, ink #1a1a18, muted #5b5b52.
   ========================================================================== */

/* ---- all widths: product page contrast (was #999 2.85:1 and white on green 2.87:1) -------------------------------
   Savings uses the cards' own markdown red (the store's rule: red means "this is a markdown", nothing else). */
html body span.original-price { color: #6b7280 !important; }
html body span.savings-badge { background: #c41e3a !important; color: #fff !important; }

/* ==========================================================================
   INNER PAGES, ALL WIDTHS (Brad 22:50: "make it work like a premium site", desktop inner pages included; the desktop
   HOMEPAGE stays as approved, so every rule here skips any page with the homepage hero: body:not(:has(section.rcf-hero)))
   ========================================================================== */
/* ---------- category / search pages ---------- */
html body:not(:has(section.rcf-hero)) button.sr-filter-btn,
html body:not(:has(section.rcf-hero)) button.filter-submit,
html body:not(:has(section.rcf-hero)) .filter-sidebar .filter-submit { background: #3a3c12 !important; color: #fff !important; border-color: #3a3c12 !important; }
html body:not(:has(section.rcf-hero)) .content-page a.cat-chip:not(.btn):not([class*="btn-"]), html body:not(:has(section.rcf-hero)) a.cat-chip:not(.btn):not([class*="btn-"]) { color: #2b2d0d !important; border-color: #b8b5a6 !important; background: #fff !important; }
html body:not(:has(section.rcf-hero)) .content-page a.cat-chip:not(.btn):not([class*="btn-"]):hover { border-color: #3a3c12 !important; background: #f5f3ee !important; }
html body:not(:has(section.rcf-hero)) .cat-chip .chip-count, html body:not(:has(section.rcf-hero)) span.chip-count { color: #5b5b52 !important; }
html body:not(:has(section.rcf-hero)) span.pagination-btn.pagination-current { background: #3a3c12 !important; border-color: #3a3c12 !important; color: #fff !important; }
html body:not(:has(section.rcf-hero)) a.pagination-btn { color: #2b2d0d !important; }

/* ---------- product page ---------- */
html body:not(:has(section.rcf-hero)) button.add-to-cart-btn,
html body:not(:has(section.rcf-hero)) .buybox__cta button.add-to-cart-btn { background: #3a3c12 !important; color: #fff !important; border-color: #3a3c12 !important; }
html body:not(:has(section.rcf-hero)) button.add-to-cart-btn:hover, html body:not(:has(section.rcf-hero)) button.add-to-cart-btn:active { background: #2b2d0d !important; }
html body:not(:has(section.rcf-hero)) div.current-price, html body:not(:has(section.rcf-hero)) .buybox__price div.current-price { color: #1a1a1a !important; }
html body:not(:has(section.rcf-hero)) a.shop-brand-link, html body:not(:has(section.rcf-hero)) a.action-link, html body:not(:has(section.rcf-hero)) .product-breadcrumb a { color: #3a3c12 !important; }
html body:not(:has(section.rcf-hero)) a.action-link { text-decoration: underline !important; text-underline-offset: 3px; }
html body:not(:has(section.rcf-hero)) button.details-tab.active { color: #2b2d0d !important; border-bottom-color: #3a3c12 !important; }
html body:not(:has(section.rcf-hero)) div.thumbnail.active { border-color: #3a3c12 !important; }
html body:not(:has(section.rcf-hero)) div.ffl-notice { background: #f5f3ee !important; border: 1px solid #d5d1c4 !important; border-left: 4px solid #3a3c12 !important; }
html body:not(:has(section.rcf-hero)) div.ffl-notice h4 { color: #1a1a18 !important; }
html body:not(:has(section.rcf-hero)) div.ffl-notice p { color: #3b3b35 !important; }
html body:not(:has(section.rcf-hero)) div.ffl-notice a { color: #2b2d0d !important; text-decoration: underline !important; }
html body:not(:has(section.rcf-hero)) div.tactical-specs { border-left-color: #6b6e2a !important; }
html body:not(:has(section.rcf-hero)) .pdp-stickybar .psb-btn { background: #3a3c12 !important; color: #fff !important; }
html body:not(:has(section.rcf-hero)) .pdp-stickybar .psb-btn:active { background: #2b2d0d !important; }

/* ---------- checkout / cart / account ---------- */
html body:not(:has(section.rcf-hero)) .step.active .step-number, html body:not(:has(section.rcf-hero)) div.step-number.active,
html body:not(:has(section.rcf-hero)) .checkout-steps .active .step-number { background: #3a3c12 !important; border-color: #3a3c12 !important; color: #fff !important; }
html body:not(:has(section.rcf-hero)) label.shipping-option { border-color: #d5d1c4 !important; }
html body:not(:has(section.rcf-hero)) label.shipping-option:has(input:checked) { border-color: #3a3c12 !important; background: #fff !important; box-shadow: 0 0 0 1px #3a3c12 inset !important; }
html body:not(:has(section.rcf-hero)) a.login-link, html body:not(:has(section.rcf-hero)) p.guest-signin a, html body:not(:has(section.rcf-hero)) .guest-checkout-banner a { color: #2b2d0d !important; }
html body:not(:has(section.rcf-hero)) button.tgd-ps-bar-btn, html body:not(:has(section.rcf-hero)) button.tgd-ps-promo-btn { color: #2b2d0d !important; }
html body:not(:has(section.rcf-hero)) div.guest-checkout-banner { background: #f5f3ee !important; border-color: #b8b5a6 !important; }
html body:not(:has(section.rcf-hero)) div.guest-checkout-banner p { color: #2b2d0d !important; }

/* ---------- info pages: About / FAQ / contact (navy, orange, blue leftovers) ---------- */
html body:not(:has(section.rcf-hero)) div.about-hero { background: #2b2d0d !important; border-bottom-color: #3a3c12 !important; }
html body:not(:has(section.rcf-hero)) .about-body h2, html body:not(:has(section.rcf-hero)) section h2 { border-bottom-color: #3a3c12 !important; }
html body:not(:has(section.rcf-hero)) div.value-item { border-left-color: #3a3c12 !important; }
html body:not(:has(section.rcf-hero)) div.value-num, html body:not(:has(section.rcf-hero)) div.cred-headline { color: #3a3c12 !important; }
html body:not(:has(section.rcf-hero)) div.cred-card { border-top-color: #3a3c12 !important; }
html body:not(:has(section.rcf-hero)) div.faq-hero, html body:not(:has(section.rcf-hero)) div.faq-contact { background: #2b2d0d !important; }
html body:not(:has(section.rcf-hero)) div.faq-hero p.subtitle { color: #d9d6cc !important; }
html body:not(:has(section.rcf-hero)) section.content-page a:not(.btn):not([class*="btn-"]):not(.cat-chip), html body:not(:has(section.rcf-hero)) .content-article a:not(.btn):not([class*="btn-"]), html body:not(:has(section.rcf-hero)) .store-content a:not(.btn):not([class*="button"]) { color: #2b2d0d !important; }
html body:not(:has(section.rcf-hero)) div.captcha-question { border-color: #3a3c12 !important; }

/* checkout progress steps (inline red gradient) */
html body:not(:has(section.rcf-hero)) .progress-step.active .step-number,
html body:not(:has(section.rcf-hero)) .progress-step.completed .step-number { background: #3a3c12 !important; border-color: #3a3c12 !important; color: #fff !important; }
html body:not(:has(section.rcf-hero)) .about-container h2 { border-bottom-color: #3a3c12 !important; }

/* page title band: inner pages open on a full-bleed dark olive band like the homepage's olive nav and badge bar
   (skill technique: clip the 100vw overshoot on the section so no sideways scroll appears) */
html body:not(:has(section.rcf-hero)) section.content-page:has(> .container > h1:first-child) { overflow-x: clip; padding-top: 0 !important; }
html body:not(:has(section.rcf-hero)) section.content-page > .container:has(> h1:first-child) { overflow: visible !important; }
html body:not(:has(section.rcf-hero)) section.content-page > .container > h1:first-child,
html body:not(:has(section.rcf-hero)) .cart-page > .container > h1.page-title:first-child {
  margin: 0 calc(50% - 50vw) 26px !important; padding: 30px 20px 26px !important;
  background: #2b2d0d !important; color: #fff !important; border-bottom: 4px solid #3a3c12 !important;
  box-shadow: inset 0 -1px 0 rgba(205,208,138,.35);
  font-family: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif !important; font-weight: 900 !important;
  font-size: clamp(26px, 3vw, 40px) !important; line-height: 1.1 !important; letter-spacing: .4px !important;
  text-transform: uppercase !important; text-align: center !important;
}
html body:not(:has(section.rcf-hero)) .cart-page { overflow-x: clip; padding-top: 0 !important; }

/* card badges on inner pages (the homepage gets the same from 900px down) */
html body:not(:has(section.rcf-hero)) .products-grid .product-card .map-badge { background: #2b2d0d !important; color: #fff !important; }
html body:not(:has(section.rcf-hero)) span.badge-inline.badge-ffl-inline { background: #2b2d0d !important; color: #fff !important; }

/* ==========================================================================
   PHONES + TABLETS (<= 900px: the band where the menu button and drawer show)
   ========================================================================== */
@media (max-width: 900px) {

  /* ---------- header: theme red/blue leftovers to olive ---------- */
  html body header.site-header button#mobileMenuBtn.mobile-menu-toggle,
  html body button#mobileMenuBtn.mobile-menu-toggle {
    background: #3a3c12 !important;
    box-shadow: 0 2px 6px rgba(43,45,13,.28) !important;
    -webkit-tap-highlight-color: rgba(58,60,18,.25) !important;
  }
  html body button#mobileMenuBtn.mobile-menu-toggle:active { background: #2b2d0d !important; }
  html body header.site-header .header-main .search-bar button[type="submit"],
  html body header.site-header .header-main #tgdSearchBar.search-bar button[type="submit"] {
    background: #3a3c12 !important; color: #fff !important; border-color: #3a3c12 !important;
  }
  html body header.site-header .header-main .search-bar button[type="submit"]:active { background: #2b2d0d !important; }
  html body header.site-header .header-main .search-bar input[name="q"]:focus { border-color: #3a3c12 !important; outline: 2px solid rgba(58,60,18,.35) !important; outline-offset: -1px; }
  html body header.site-header .header-main .mobile-account-link,
  html body header.site-header .header-main .mobile-logout-link,
  html body header.site-header .header-main .mobile-cart-link { color: #1a1a18 !important; }
  html body header.site-header .header-main .mobile-cart-link .cart-badge { background: #3a3c12 !important; color: #fff !important; }

  /* ---------- menu drawer: navy + blue to dark olive ---------- */
  html body ul#mobileNavMenu{ background: #2b2d0d !important; }
  html body ul#mobileNavMenu > li { border-color: rgba(236,234,230,.14) !important; }
  html body ul#mobileNavMenu > li > a.nav-link { color: #f5f3ee !important; border-bottom-color: rgba(236,234,230,.14) !important; }
  html body ul#mobileNavMenu > li > a.nav-link:hover,
  html body ul#mobileNavMenu > li > a.nav-link:focus-visible { background: rgba(236,234,230,.08) !important; border-bottom-color: #cdd08a !important; }
  html body ul#mobileNavMenu .dropdown-menu { background: #3a3c12 !important; border-top-color: #cdd08a !important; border-color: transparent !important; }
  html body ul#mobileNavMenu .dropdown-menu a { color: #f5f3ee !important; }
  html body ul#mobileNavMenu .dropdown-menu a:hover { background: rgba(0,0,0,.18) !important; color: #fff !important; }
  html body ul#mobileNavMenu li.mobile-only-nav {
    border-top: 2px solid #cdd08a !important; background: #3a3c12 !important;
  }
  html body ul#mobileNavMenu li.mobile-only-nav > a.nav-link { background: #3a3c12 !important; color: #fff !important; }
  html body ul#mobileNavMenu li.mobile-only-nav .dropdown-menu { background: #2b2d0d !important; }
  html body ul#mobileNavMenu .mobile-close-menu,
  html body ul#mobileNavMenu button.mobile-close-menu {
    background: #3a3c12 !important; color: #fff !important; border: 1px solid rgba(236,234,230,.25) !important;
  }

  /* ---------- quick links under the search bar (header.php, phones/tablets, NFA stores only) ---------- */
  html body .rcf-quick { display: block !important; background: #fff; border-bottom: 1px solid #ddd9d0; }
  html body .rcf-quick ul {
    display: flex; gap: 8px; margin: 0; padding: 8px 12px 10px; list-style: none;
    overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  html body .rcf-quick ul::-webkit-scrollbar { display: none; }
  html body .rcf-quick li { flex: 0 0 auto; margin: 0; }
  html body .rcf-quick a {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
    border: 1.5px solid #3a3c12; border-radius: 3px; background: #f5f3ee;
    color: #2b2d0d !important; text-decoration: none !important; white-space: nowrap;
    font-family: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif; font-size: 14px; font-weight: 800;
    letter-spacing: .4px; text-transform: uppercase;
  }
  html body .rcf-quick a.rcf-quick__lead { background: #3a3c12; color: #fff !important; }
  html body .rcf-quick a:focus-visible { outline: 3px solid #1a1a18; outline-offset: 2px; }

  /* ---------- product cards (homepage tabs, category, search, "more from") ---------- */
  html body .products-grid { gap: 12px !important; }
  html body .products-grid .product-card {
    padding: 8px !important; border-radius: 8px !important; border: 1px solid #dedbd2 !important;
    display: flex !important; flex-direction: column !important; min-height: 0 !important; height: auto !important;
  }
  html body .products-grid .product-card > a { display: flex !important; flex-direction: column !important; flex: 1 1 auto !important; text-decoration: none !important; }
  /* square photo box that does not rely on height:100% inside an aspect-ratio box (older iOS Safari): the classic
     padding-top:100% square with the picture and image absolutely filling it */
  html body .products-grid .product-card .product-image {
    position: relative !important; height: 0 !important; min-height: 0 !important; padding-top: 100% !important;
    display: block !important; background: #fff !important; overflow: hidden;
  }
  html body .products-grid .product-card .product-image picture { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: block; }
  html body .products-grid .product-card .product-image picture img,
  html body .products-grid .product-card .product-image > img {
    position: absolute !important; top: 0 !important; left: 0 !important; right: auto !important; bottom: auto !important;
    width: 100% !important; height: 100% !important; max-height: none !important;
    object-fit: contain !important; padding: 4px !important; transform: none !important; margin: 0 !important;
  }
  html body .products-grid .product-card .product-info { padding: 8px 2px 6px !important; gap: 0 !important; flex: 1 1 auto !important; }
  html body .products-grid .product-card .product-title {
    font-size: 14px !important; line-height: 1.25 !important; min-height: 2.5em; margin: 0 0 4px !important;
    display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden !important;
    white-space: normal !important;
  }
  html body .products-grid .product-card .product-brand {
    font-size: 12px !important; line-height: 1.3 !important; margin: 0 0 4px !important; color: #5b5b52 !important;
    white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important;
  }
  html body .products-grid .product-card .product-meta-info { display: none !important; }
  html body .products-grid .product-card .product-caliber { font-size: 12px !important; color: #5b5b52 !important; margin: 0 0 4px !important; line-height: 1.3 !important; }
  html body .products-grid .product-card .product-price { margin: auto 0 0 !important; padding: 0 !important; font-size: 18px !important; line-height: 1.2 !important; min-height: 0 !important; }
  html body .products-grid .product-card .product-price .product-price { margin: 0 !important; }
  html body .products-grid .product-card .price-flags { min-height: 0 !important; margin: 0 0 3px !important; }
  html body .products-grid .product-card .price-flags:empty { display: none !important; }
  html body .products-grid .product-card .price-save {
    display: inline-block !important; margin: 0 !important; font-size: 11px !important; padding: 2px 6px !important;
    letter-spacing: 0 !important; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
  }
  html body .products-grid .product-card .price-main { display: flex !important; flex-wrap: wrap !important; align-items: baseline !important; gap: 0 6px !important; }
  html body .products-grid .product-card .price-now { white-space: nowrap !important; font-size: 18px !important; }
  html body .products-grid .product-card .price-was { white-space: nowrap !important; margin-left: 0 !important; font-size: 12.5px !important; color: #5b5b52 !important; }
  html body .products-grid .product-card .map-badge { background: #2b2d0d !important; color: #fff !important; font-size: 10.5px !important; }
  html body .products-grid .product-card .financing-teaser:empty { display: none !important; }
  html body .products-grid .product-card > .btn,
  html body .products-grid .product-card > button.btn,
  html body .products-grid .product-card > form .btn {
    width: 100% !important; min-height: 44px !important; margin: 8px 0 0 !important; padding: 8px 6px !important;
    font-size: 13px !important; letter-spacing: .4px !important; border-radius: 3px !important;
  }
  html body .products-grid .product-card .badge-ffl-inline,
  html body span.badge-inline.badge-ffl-inline { background: #2b2d0d !important; color: #fff !important; }

  /* ---------- homepage product tabs: orange to olive ---------- */
  html body .products-section .product-tab-btn { color: #5b5b52 !important; }
  html body .products-section .product-tab-btn.active { color: #2b2d0d !important; border-bottom-color: #3a3c12 !important; }
  html body .products-section .product-tab-btn.active::after { background: #3a3c12 !important; }
  html body .products-section .load-more-btn { background: #f5f3ee !important; color: #2b2d0d !important; border: 1.5px solid #3a3c12 !important; }
  /* phones: cards past the first 12 per tab wait for "Show More Products" (index.php script; no JS = all shown) */
  html body .products-section .products-grid > .product-card.rcf-later { display: none !important; }

  /* ---------- homepage trust row: 2 x 2 instead of four tall stacked blocks ---------- */
  html body .features-section { padding: 22px 0 !important; }
  html body .features-section .features-grid,
  html body .features-section .features-grid-5col { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 18px 12px !important; }
  html body .features-section .feature { max-width: none !important; }
  html body .features-section .feature h3 { font-size: 14px !important; }
  html body .features-section .feature p { font-size: 12.5px !important; }

  /* ---------- footer: layout only (its colours are the approved desktop's) ---------- */
  html body footer.site-footer .footer-row {
    display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 22px 16px !important;
  }
  html body footer.site-footer .footer-row > .footer-col-about,
  html body footer.site-footer .footer-row > .footer-col:last-child { grid-column: 1 / -1 !important; }
  html body footer.site-footer .footer-row > .footer-col:last-child ul { columns: 2; column-gap: 16px; }
  html body footer.site-footer .footer-row > .footer-col:last-child ul li { break-inside: avoid; }
  html body footer.site-footer .footer-trust-row {
    display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 14px 10px !important;
  }
  html body footer.site-footer .footer-trust-row .trust-badge { width: auto !important; min-height: 0 !important; padding: 4px 0 !important; }
  html body footer.site-footer .footer-bottom { flex-direction: column !important; align-items: center !important; text-align: center !important; gap: 10px !important; }
  html body footer.site-footer .payment-methods { justify-content: center !important; flex-wrap: wrap !important; }
  html body footer.site-footer .payment-methods img { max-width: 215px !important; height: auto !important; }
  html body footer.site-footer .footer-powered-by { overflow: hidden; }
}

/* ---------- tablets (761-900): three product columns instead of two very tall ones ---------- */
@media (min-width: 761px) and (max-width: 900px) {
  html body .products-grid,
  html body .products-grid.products-grid-4col { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

/* ---------- phones (<= 760) ---------- */
@media (max-width: 760px) {
  /* two columns down to 320px: at 360 the grid used to drop to one column (35,000px homepage) */
  html body .products-grid,
  html body .products-grid.products-grid-4col { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  html body .products-section .section-header { margin-bottom: 14px !important; }
  html body .products-section .section-header h2 { font-size: 26px !important; }
  html body .products-section .section-header p { font-size: 14px !important; margin-top: 4px !important; }
  html body .products-section .product-tabs-nav { margin-bottom: 16px !important; }
  html body .products-section .product-tab-btn { font-size: 13px !important; padding: 10px 4px !important; min-height: 44px !important; }

  /* homepage category tiles: ~230px to ~150px each, same order (tab order stays visual order) */
  html body section.rcf-cats { padding: 26px 0 30px !important; }
  html body section.rcf-cats .rcf-cats__head { margin-bottom: 14px !important; }
  html body section.rcf-cats .rcf-cat { padding: 6px 6px 10px !important; }
  html body section.rcf-cats .rcf-cat__plate img { aspect-ratio: 166 / 100 !important; object-position: center 50% !important; }
  html body section.rcf-cats .rcf-cat__icon { margin: 7px 0 4px !important; }
  html body section.rcf-cats .rcf-cat__icon svg { width: 18px; height: 18px; }
  html body section.rcf-cats .rcf-cat__cta { margin-top: 4px !important; }
  html body section.rcf-cats .rcf-cats__ribbon { margin-top: 18px !important; font-size: 12px !important; }

  /* footer 2AData tag: the img carries inline height:111px !important (unbeatable from a stylesheet), so the link is
     zoomed: 487px plate x .68 = ~330px, centred, nothing clipped */
  html body footer.site-footer .footer-powered-by > a { zoom: .68; max-width: none !important; width: auto !important; }
  html body footer.site-footer .footer-powered-by { padding: 12px 0 18px !important; }

  /* info pages: cards a little tighter */
  html body section.content-page .content-article { padding: 20px 16px !important; }
}
@media (max-width: 350px) {
  html body footer.site-footer .footer-powered-by > a { zoom: .6; }
}

/* ==========================================================================
   PREMIUM POLISH, INNER PAGES (design consult 2026-11-27, gpt-5.5: 2adata-secure/design-decisions/
   2026-11-27-rcftactical-inner-polish-gpt55.md; values mapped from its generic selectors onto this store's markup)
   ========================================================================== */
/* product page: buy box */
html body:not(:has(section.rcf-hero)) .product-info-section h1.product-title {
  font-family: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif !important; color: #1a1a18 !important; line-height: 1.08 !important;
}
html body:not(:has(section.rcf-hero)) .product-info-codes > * {
  background: #f5f3ee !important; border: 1px solid #dedbd2 !important; border-radius: 6px !important; color: #4a4a42 !important;
}
html body:not(:has(section.rcf-hero)) .stock-sku-row { border-top-color: #eceae6 !important; }
html body:not(:has(section.rcf-hero)) button.add-to-cart-btn {
  min-height: 50px !important; border-radius: 6px !important; font-family: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif !important;
  font-weight: 700 !important; letter-spacing: .04em !important; text-transform: uppercase !important;
}
html body:not(:has(section.rcf-hero)) div.ffl-notice { border-radius: 7px !important; }
/* description / specs tabs: a spec panel instead of a washed-out block */
html body:not(:has(section.rcf-hero)) .details-tabs { background: #f5f3ee !important; border: 1px solid #dedbd2 !important; border-bottom: 0 !important; border-radius: 10px 10px 0 0 !important; padding: 0 12px !important; }
html body:not(:has(section.rcf-hero)) button.details-tab {
  font-family: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif !important; font-weight: 700 !important; letter-spacing: .03em !important;
  text-transform: uppercase !important; color: #5b5b52 !important; border-bottom: 3px solid transparent !important; background: transparent !important;
}
html body:not(:has(section.rcf-hero)) button.details-tab.active { color: #1a1a18 !important; border-bottom-color: #3a3c12 !important; }
html body:not(:has(section.rcf-hero)) .details-content { margin-top: 0 !important; background: #fff !important; border: 1px solid #dedbd2 !important; border-radius: 0 0 10px 10px !important; box-shadow: 0 10px 26px rgba(26,26,24,.06) !important; }
html body:not(:has(section.rcf-hero)) .product-details-section { background: transparent !important; }
/* category / search: toolbar strip, sidebar, cards */
html body:not(:has(section.rcf-hero)) .products-toolbar { background: #f5f3ee !important; border: 1px solid #e6e3da !important; border-radius: 8px !important; }
html body:not(:has(section.rcf-hero)) .products-toolbar select { border: 1px solid #cfcbc2 !important; border-radius: 5px !important; background-color: #fff !important; color: #1a1a18 !important; }
html body:not(:has(section.rcf-hero)) aside.filter-sidebar { border: 1px solid #dedbd2 !important; border-radius: 10px !important; box-shadow: 0 8px 22px rgba(26,26,24,.06) !important; }
html body:not(:has(section.rcf-hero)) aside.filter-sidebar > h3:first-child,
html body:not(:has(section.rcf-hero)) aside.filter-sidebar h3 {
  font-family: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif !important; text-transform: uppercase !important; letter-spacing: .03em !important;
  color: #1a1a18 !important; border-bottom-color: #dedbd2 !important;
}
html body:not(:has(section.rcf-hero)) aside.filter-sidebar label.filter-label,
html body:not(:has(section.rcf-hero)) aside.filter-sidebar .filter-group > label { color: #2b2d0d !important; }
html body:not(:has(section.rcf-hero)) aside.filter-sidebar select { border: 1px solid #cfcbc2 !important; border-radius: 6px !important; }
html body:not(:has(section.rcf-hero)) .products-grid .product-card {
  border: 1px solid #dedbd2 !important; border-radius: 8px !important; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
@media (hover: hover) {
  html body:not(:has(section.rcf-hero)) .products-grid .product-card:hover { border-color: #3a3c12 !important; box-shadow: 0 12px 28px rgba(26,26,24,.12) !important; transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) { html body .products-grid .product-card { transition: none !important; } html body .products-grid .product-card:hover { transform: none !important; } }

@media (min-width: 901px) {
  html body:not(:has(section.rcf-hero)) .product-info-section {
    background: #fff !important; border: 1px solid #dedbd2 !important; border-radius: 10px !important;
    box-shadow: 0 14px 34px rgba(26,26,24,.08) !important; padding: 28px 32px !important; align-self: start;
  }
  html body:not(:has(section.rcf-hero)) .product-info-section h1.product-title { font-size: 34px !important; }
  html body:not(:has(section.rcf-hero)) .details-content ul { columns: 2; column-gap: 48px; }
  html body:not(:has(section.rcf-hero)) .details-content ul li { break-inside: avoid; }
}

/* secondary pages: template red / navy / orange leftovers (blog, rebates, brands, no-results, FFL finder, policy FAQ lists) */
html body:not(:has(section.rcf-hero)) section.blog-hero { background: #2b2d0d linear-gradient(135deg, #1f200a 0%, #2b2d0d 55%, #3a3c12 100%) !important; border-bottom-color: #3a3c12 !important; }
html body:not(:has(section.rcf-hero)) section.blog-hero .blog-hero-label { color: #e3e5b8 !important; background: rgba(205,208,138,.14) !important; border-color: rgba(205,208,138,.45) !important; }
html body:not(:has(section.rcf-hero)) section.blog-hero h1 span { color: #cdd08a !important; }
html body:not(:has(section.rcf-hero)) section.blog-hero .blog-hero-search button { background: #3a3c12 !important; border-color: #6b6e2a !important; color: #fff !important; }
html body:not(:has(section.rcf-hero)) .category-list a.active, html body:not(:has(section.rcf-hero)) .category-list a.active span.count { color: #2b2d0d !important; }
html body:not(:has(section.rcf-hero)) div.page-header { background: #2b2d0d !important; border-color: #3a3c12 !important; }
html body:not(:has(section.rcf-hero)) .letter-nav a.active,
html body:not(:has(section.rcf-hero)) span.brands-page-num.active { background: #3a3c12 !important; border-color: #3a3c12 !important; color: #fff !important; }
html body:not(:has(section.rcf-hero)) div.zr-box { border-left-color: #3a3c12 !important; }
html body:not(:has(section.rcf-hero)) .content-article div.faq-item, html body:not(:has(section.rcf-hero)) section.content-page div.faq-item { border-left-color: #3a3c12 !important; }
html body:not(:has(section.rcf-hero)) main a[href*="join_ffl_network"] { color: #2b2d0d !important; }
/* blog newsletter box (inline red gradient; a later rule turned its heading dark: 3.29:1) and How to Buy trust badges
   (reuse the footer's white-text class on a white card: 1.00:1) */
html body:not(:has(section.rcf-hero)) .sidebar-widget[style*="dc2626"] { background: #2b2d0d !important; }
html body:not(:has(section.rcf-hero)) .sidebar-widget[style*="dc2626"] h3,
html body:not(:has(section.rcf-hero)) .sidebar-widget[style*="dc2626"] p,
html body:not(:has(section.rcf-hero)) .sidebar-widget[style*="dc2626"] label { color: #fff !important; }
html body:not(:has(section.rcf-hero)) .sidebar-widget[style*="dc2626"] button { background: #cdd08a !important; color: #1a1a18 !important; }
html body:not(:has(section.rcf-hero)) .trust-indicators .trust-badge,
html body:not(:has(section.rcf-hero)) .trust-indicators .trust-badge span { color: #1a1a18 !important; }
html body:not(:has(section.rcf-hero)) .trust-indicators .trust-badge svg { color: #3a3c12 !important; }
html body:not(:has(section.rcf-hero)) .blog-hero-search label { color: #fff !important; } /* off-screen label; keeps the contrast probe honest */
html body:not(:has(section.rcf-hero)) section.blog-hero::after { background: #3a3c12 !important; background-image: none !important; }
html body:not(:has(section.rcf-hero)) section.blog-hero::before { background-image: radial-gradient(ellipse at 15% 50%, rgba(205,208,138,.10) 0%, transparent 60%) !important; }
/* product page states beyond "in stock": Make an Offer (amber 2.15:1), its hint and divider (2.54:1), Notify Me (red 3.82:1) */
html body:not(:has(section.rcf-hero)) button.make-offer-btn { background: #f5f3ee !important; color: #2b2d0d !important; border: 1.5px solid #3a3c12 !important; }
html body:not(:has(section.rcf-hero)) button.make-offer-btn:hover { background: #eceae6 !important; }
html body:not(:has(section.rcf-hero)) .make-offer-section .offer-divider span,
html body:not(:has(section.rcf-hero)) .make-offer-section p.offer-hint { color: #5b5b52 !important; }
html body:not(:has(section.rcf-hero)) button.notify-btn { background: #3a3c12 !important; color: #fff !important; border-color: #3a3c12 !important; }
html body:not(:has(section.rcf-hero)) p.notify-disclaimer { color: #5b5b52 !important; }
html body:not(:has(section.rcf-hero)) .notify-stock-section { border-color: #3a3c12 !important; }
html body:not(:has(section.rcf-hero)) section.content-page p a:not(.btn):not([class*="btn-"]) { text-decoration: underline !important; text-underline-offset: 3px; }
