body {
  max-width: 1280px;
  /* max-width: 992px; */
  /* max-width: 1140px; */
  /* max-width: 1440px; */
  /* max-width: 1920px; */
  /* padding-top: 0.5rem; */
  padding-bottom: 0.5em;
  padding-left: 3px;
  padding-right: 3px;
  margin: auto;
}

a,
a:hover,
a:focus,
a:active {
  text-decoration: none;
  color: inherit;
}

body .btn-primary {
  color: white !important;
  background-color: #F47C00;
  border-color: #d46800;
}

/* Trust bar */

.trust-bar {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: center;
  gap: 2px 12px;
  padding: 6px 0 6px 1rem;
  max-width: 540px;
}

.trust-item {
  display: flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 500;
  color: #222;
  white-space: nowrap;
  line-height: 1.3;
  width: calc(50% - 6px);
}

.trust-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 6px;
  flex-shrink: 0;
}

.trust-dot-green  { background: #28a745; }
.trust-dot-orange { background: #F47C00; }
.trust-dot-blue   { background: #1a7fd4; }

.search-form {
  padding-top: 2px;
  padding-bottom: 2px;
}

.form-control:focus {
  border-color: inherit;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.motto p {
  color: #333;
  font-size: 0.95em;
  font-weight: 500;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 0px;
  padding-right: 1rem;
}

.motto-brand {
  color: #F47C00;
  font-weight: 700;
}

.main-menu {
  text-align: center;
}

.main-menu .btn {
  line-height: 1rem;
  height: 34px;
}

/* Equal-width top-level menu items. All visible children of the outer
   .btn-group.d-flex are uniform .btn-group wrappers (including the
   Shop/By Use dropdowns). flex: 1 1 0 distributes the row evenly;
   .dropdown-menu inside each wrapper gets min-width: 100% so it
   inherits the wrapper (= button) width exactly. */
.main-menu .btn-group.d-flex > * {
  flex: 1 1 0;
  min-width: 0;
}

.main-menu a,
.main-menu button {
  background: black;
  /* color: #f7ad36; */
  /* color: #f3ae37; */
  color: #F47C00;
  font-size: 1em;
  font-weight: 500;
  text-align: center;
  border-width: 2px;
  border-color: white;
  border-radius: 0px;
}

.main-menu a:hover,
.main-menu button:hover,
.main-menu button[aria-expanded="true"] {
  background: black;
  color: white;
}

/* Cart label tiers: full → "Cart 🛒 (0)" → "🛒 (0)" as viewport tightens */
@media (max-width: 1071px) {
  .main-menu .cart-view-word { display: none !important; }
}
@media (max-width: 815px) {
  .main-menu .cart-cart-word { display: none !important; }
}

/* Remove outer borders on the first and last visible top-level menu items
   (each is now a .btn-group wrapper). Inner borders stay as 2px separators. */
.main-menu .btn-group.d-flex > *:first-child .btn {
  border-left-width: 0;
}
.main-menu .btn-group.d-flex > *:last-child .btn {
  border-right-width: 0;
}

.main-menu .dropdown-menu {
  background: black;
  border: 2px solid white;
  border-radius: 0;
  margin-top: 0;
  padding: 0;
  min-width: 100%;
}
.main-menu .dropdown-item {
  color: #F47C00;
  font-weight: 500;
  padding: 0.5rem 1rem;
  background: black;
}
.main-menu .dropdown-item:hover,
.main-menu .dropdown-item:focus {
  color: white;
  background: #1a1a1a;
}
.main-menu .dropdown-divider {
  border-top: 1px solid #444;
  margin: 0;
}

.page-wrapper {
  align-items: stretch;
  padding-left: 0px;
  padding-right: 0px;
}

/* Sidebar */

.nowrap_truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar {
  order: -1;
  width: 30%;
  max-width: 320px;
  padding-left: 0px;
  padding-right: 1rem;
}

@media only screen and (min-width: 992px) {
  .sidebar {
    width: 320px;
  }
}

.sidebar .sidebar-lights {
  margin-bottom: 0.8em;
}

.sidebar .sidebar-accessories {
  margin-bottom: 0.8em;
}

.sidebar .sidebar-make {
  font-size: 0.9em;
  font-weight: 700;
  color: black;
}

.sidebar .sidebar-model {
  font-size: 0.9em;
  font-weight: 700;
  color: #F47C00;
}

.sidebar .sidebar-lumens {
  font-size: 0.9em;
  font-weight: 500;
  color: black;
}

.sidebar .sidebar-distance {
  font-size: 0.9em;
  font-weight: 500;
  color: black;
}

.sidebar .l-button {
  /* background: rgb(255, 150, 20); */
  /* background: #f3ae37; */
  background: #F47C00;
  /* background: #FFB500; */
  padding-left: 7px;
  padding-right: 7px;
  width: 100%;
  height: 34px;
  display: block;
  border-radius: 0px;
}

.sidebar .l-button-reverse {
  /* background: rgb(255, 150, 20); */
  /* background: #f3ae37; */
  background: red;
  /* background: #FFB500; */
  padding-left: 7px;
  padding-right: 7px;
  width: 100%;
  height: 34px;
  display: block;
  border-radius: 0px;
}

.sidebar .l-icon {
  vertical-align: 4px;
  display: inline-block;
}

.sidebar .l-icon img {
  height: 24px;
}

.sidebar .l-text {
  font-size: 1.1rem;
  font-weight: 900;
  font-family: Verdana, sans-serif;
  text-align: center;
  text-transform: capitalize;
  text-shadow: 0px 1px 3px rgba(0,0,0,0.5);
  color: white;
  padding-left: 5px;
  line-height: 34px;
  vertical-align: middle;
  display: inline-block;
  margin: auto;
}

.sidebar .l-text-reverse {
  font-size: 1.1rem;
  font-weight: 900;
  font-family: Verdana, sans-serif;
  text-align: center;
  text-transform: capitalize;
  /* text-shadow: 0px 0px 20px #fff, 0px 0px 20px #fff, 0px 0px 20px #fff,
    0px 0px 25px #fff, 0px 0px 25px #fff; */
  color: white;
  padding-left: 5px;
  line-height: 34px;
  vertical-align: middle;
  display: inline-block;
  margin: auto;
}

@media only screen and (max-width: 576px) {
  .sidebar .l-text {
    font-size: 0.7rem;
    font-weight: 900;
  }
}

.black-button {
  background: black;
  padding-left: 7px;
  padding-right: 7px;
  width: 100%;
  height: 34px;
  display: block;
  border-radius: 0px;
}

.black-button h1.w-text,
.black-button h2.w-text {
  font-size: 16px;
  font-weight: 500;
  font-family: Verdana, sans-serif;
  text-transform: uppercase;
  color: white;
  text-align: center;
  padding-left: 5px;
  line-height: 34px;
  vertical-align: middle;
  margin: 0;
}

.w-text {
  font-size: 1.1rem;
  font-weight: 500;
  font-family: Verdana, sans-serif;
  /* font-style: italic; */
  text-align: center;
  text-transform: uppercase;
  /* text-shadow: 0px 0px 10px white, 0px 0px 10px white, 0px 0px 10px white, */
  /* 0px 0px 15px white, 0px 0px 15px white; */
  color: white;
  padding-left: 5px;
  line-height: 34px;
  vertical-align: middle;
  display: inline-block;
  margin: auto;
}

/* Products Menu */

.products-menu .l-icon {
  vertical-align: 4px;
  display: inline-block;
}

.products-menu .l-icon img {
  height: 32px;
}

.products-menu .l-text {
  font-size: 1.4rem;
  font-weight: 900;
  font-family: Verdana, sans-serif;
  text-align: center;
  text-transform: capitalize;
  text-shadow: 0px 1px 3px rgba(0,0,0,0.5);
  color: white;
  padding-left: 5px;
  line-height: 46px;
  vertical-align: middle;
  display: inline-block;
  margin: auto;
}

.products-menu .l-button {
  /* background: rgb(243, 183, 37); */
  /* background: #FFB500; */
  background: #F47C00;
  padding-left: 7px;
  padding-right: 7px;
  width: 100%;
  height: 46px;
  display: block;
  border-radius: 0px;
}

.products-menu .sidebar-make {
  font-size: 1.2em;
  font-weight: 700;
  color: black;
}

.products-menu .sidebar-model {
  font-size: 1.2em;
  font-weight: 700;
  color: #F47C00;
}

.products-menu .sidebar-lumens {
  font-size: 1.2em;
  font-weight: 500;
  color: black;
}

.products-menu .sidebar-distance {
  font-size: 1.2em;
  font-weight: 500;
  color: black;
}

/* main */

.main {
  padding-left: 0px;
  padding-right: 0px;
  /* Establish a query container for product-grid; breakpoint is the
     right-panel width, not the viewport. */
  container-type: inline-size;
  container-name: product-list;
}

/* Product card grid: 1 column by default, 2 columns when the right
   panel is wide enough. Overrides Bootstrap .row inside .products. */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  --bs-gutter-x: 0;
  margin-left: 0;
  margin-right: 0;
}
.product-grid > [class*="col-"] {
  flex: none;
  width: auto;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

@container product-list (min-width: 700px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;
  }
  /* Image fills the column width; natural 4:3 aspect ratio sets the height */
  .product-grid img.img-fluid {
    width: 100%;
    height: auto;
    display: block;
  }
}


.input-group-text {
  font-weight: 600;
  opacity: .65;
}

.product-max-values {
  font-size: 1.25rem;
  font-weight: 700;
}

/* Marketing callout pills shown on the PDP under the product subtitle.
   Driven by callout_1 / callout_2 on curated v3 products; absent products
   simply don't render the block. */
.product-callouts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
}
.product-callout-pill {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
  background: #f1f1f1;
  border: 1px solid #e2e2e2;
  border-radius: 999px;
  line-height: 1.3;
}

/* Stacked max-values inside listing cards: small label on top, prominent
   value on bottom. Detail page keeps the inline format. */
.product-grid .product-max-values {
  font-size: 0.95rem;
}
.product-grid .product-max-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.product-grid .product-max-number {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.2;
  margin-top: 0.15rem;
}

/* Truncated description paragraph at the bottom of each listing card.
   Matches the .category-intro-secondary body size. */
.product-grid .product-card-description {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  color: #555;
}

.product-information-banner {
  font-weight: 600;
  text-align: left;
  display: inline-block;
  vertical-align: middle;
  font-size: 1rem;
  white-space: normal;
}

/* Price + CTA on the same row at md+; stacked on mobile.
   Single-currency CAD layout (USD render removed 2026-04-24). */
.product-price-row {
  width: 100%;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.product-price-currency {
  font-size: 0.55em;
  font-weight: 600;
  vertical-align: top;
  line-height: 1;
  margin-right: 1px;
  letter-spacing: 0.02em;
  color: #555;
  top: 0.3em;
}

.product-price-dollars,
.product-price-dollars_msrp {
  font-weight: 600;
}

.product-price-cents {
  font-size: 0.65em;
  font-weight: 600;
  vertical-align: top;
  line-height: 1;
}

.product-price .fa-shopping-cart {
  font-size: 0.7em;
  color: #F47C00;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.product-add-to-cart-btn {
  min-width: 11rem;
  font-weight: 600;
}

/* PDP trust micro-copy under CTA. */
.product-trust {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.6;
}
.product-trust-line {
  white-space: nowrap;
}
.product-trust .fa,
.product-trust .fas {
  color: #F47C00;
}

/* Scan-tier price for listing + related/accessories cards.
   PDP main price and PDP Packages keep hero-tier default. */
.product-grid .product-price,
.section-accessories-accessory .product-price {
  font-size: 1.3rem;
}
.product-grid .product-add-to-cart-btn,
.section-accessories-accessory .product-add-to-cart-btn {
  min-width: 9rem;
  font-size: 0.95rem;
}

@media only screen and (max-width: 767.98px) {
  .product-add-to-cart-btn {
    width: 100%;
    max-width: 18rem;
  }
}

.product-sku {
  font-size: 0.8rem;
  font-weight: 400;
}


/* Specs Table */

.table-container {
  width: 100%;
  overflow-y: auto;
}

.flashlight-data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8em;
}

.flashlight-data .row-1 td {
  background: lightgray;
  text-align: center;
  border: 1px solid #6c757d;
  padding: 3px;
}

.flashlight-data .row-2 td {
  background: #231f20;
  color: white;
  text-align: center;
  vertical-align: bottom;
  font-size: 0.6em;
  border: 1px solid #6c757d;
  padding: 3px;
}

.flashlight-data .row-x td {
  background: #dcdada;
  color: black;
  text-align: center;
  opacity: .65;
  vertical-align: middle;
  font-weight: 600;
  border: 1px solid #6c757d;
  padding: .25em .75em;
}

.flashlight-data .row-x .column-1 {
  background: darkgray;
}

@media only screen and (max-width: 768px) {
  .section-head {
    margin-top: 0;
  }
}

.section-head .btn {
  line-height: 0.8rem;
}

.section-head .btn:hover {
  background: black;
  color: #F47C00;
}

.section-title {
  color: #F47C00;
}

h1.section-title {
  font-size: calc(1.325rem + .9vw);
}

h2.section-title {
  font-size: 1.4rem;
  line-height: 1.3;
}

h3.section-title {
  font-size: calc(1.275rem + .3vw);
}

.product-package h4 {
  font-size: 1rem;
  font-weight: 600;
}

div .section-title {
  color: #F47C00;
  font-weight: 600;
}

.section-accessories-accessory .accessory-full-name {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.section-subtitle {
  color: #F47C00;
  font-size: 1.3em;
  font-weight: 600;
}

h1.section-title + .section-subtitle,
h1.section-title .section-subtitle {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.product-comparison {
  margin-bottom: 1.5rem;
}
.product-comparison p {
  font-size: 0.95rem;
  line-height: 1.6;
}
.product-comparison-table th[scope="row"] {
  font-weight: 600;
  white-space: nowrap;
}
.product-comparison-table thead th {
  font-size: 0.95rem;
  font-weight: 700;
  border-bottom: 2px solid #333;
}
.product-comparison-table td,
.product-comparison-table th {
  font-size: 0.9rem;
  vertical-align: middle;
}
.product-comparison-table a {
  color: inherit;
  text-decoration: underline;
}

.section-head div {
  background: black;
  color: white;
  font-size: 1em;
  text-align: left;
  border-width: 2px;
  border-color: black;
  border-radius: 0px;
}

.sections p {
  font-size: 1rem;
  font-weight: 500;
}

.section-accessories {
  font-size: 0.8rem;
}

/* product page : flashlight description text */
.product-top p {
  font-size: 1.1rem;
}

.product-package-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background-color: white;
  padding: 0;
}

@media (min-width: 768px) {
  .product-package-images {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-package-image {
  background-color: black;
  min-height: 1px;
}

.footer-line {
  min-height: 3rem;
}

.footer-line-small {
  min-height: 2rem;
}

.footer-line-small a {
  font-size: 0.8rem;
  opacity: 0.5;
}

#contactForm .form-group {
  margin-top: 1em;
}

#creditCardPaymentForm .form-group {
  margin-top: 1em;
}

/* Shopping cart */

.cart-items-head-price {
  padding-right: 2.5em;
}

.cart-items-head-qty {
  padding-right: 2.5em;
}

.cart-items-head-total {
  padding-right: 2.5em;
}

.cart-item-counter-container {
  text-align: right;
}

.cart-counter-button {
  min-width: 1.9em;
}

.cart-item-price-before-coupon {
  text-align: right;
  color: darkgray;
  text-decoration: red line-through;
}

.cart-item-coupon {
  font-size: 0.8em;
  color: gray;
}

.apply_coupon_container {
  display: inline-block;
  white-space: nowrap;
}

.proceed_to_checkout_container {
  display: inline-block;
}

.cart-item .btn-sm {
  line-height: 1;
}

.cart-item .cart-item-remove-button {
  font-size: 0.8em;
  color: gray;
}

.cart-total-value {
  font-weight: normal;
}

.for-printer-only {
  display: none;
}

@media print {
  #main-order {
    font-size: 0.8rem;
  }

  .for-printer-only {
    display: block;
  }

  .for-display-only {
    display: none;
  }

  #btnPrint {
    display: none;
  }
}

.discount-button {
  color: #F47C00;
  border: none;
}

.product-price-dollars_msrp {
  color: #F47C00;
  font-weight: 500;
}

.text-sale {
  background-color: #F47C00;
  color: white;
  font-weight: 700;
}

/* Troubleshooting Guide */
.tsg-step-result {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 6px;
  padding: 12px 16px;
  margin-top: 16px;
}

.tsg-step-result strong {
  color: #155724;
}

.tsg-step-continue {
  color: #856404;
  font-style: italic;
}

.tsg-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.tsg-photos img {
  border: 1px solid #ddd;
  border-radius: 4px;
}

.tsg-video {
  max-width: 512px;
  margin: 16px auto;
  text-align: center;
}

.tsg-video iframe {
  max-width: 100%;
}

.tsg-toc a {
  display: block;
  padding: 4px 0;
}

.tsg-final-box {
  background-color: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 6px;
  padding: 16px;
  margin-top: 24px;
}

/* Generic HowTo step + photo grid (maintenance-procedures, etc.) */
.howto-steps {
  list-style: none;
  padding-left: 0;
  counter-reset: none;
}

.howto-step {
  padding: 8px 0 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.howto-step:last-child {
  border-bottom: none;
}

.howto-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.howto-photos img {
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Repair page banner */
.repair-banner {
  display: block;
  color: white;
  text-align: center;
  padding: 44px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  text-decoration: none;
  transition: opacity 0.2s;
  font-size: 1.05rem;
  background-size: cover;
  background-position: center;
}

.repair-banner:hover {
  opacity: 0.9;
  color: white;
  text-decoration: none;
}

.repair-banner .repair-banner-icon {
  margin-right: 8px;
}

.repair-banner .repair-banner-cta {
  color: #F47C00;
  font-weight: 700;
}

/* Homepage intro block now reuses .page-hero (see below) for visual
   consistency with category pages. The old .homepage-intro rules were
   removed as unused. */

/* Page hero — top of every content page.
   Wide container with proper H1 and optional lead paragraph / secondary grid.
   (Previously named .category-hero when the pattern was only used on category pages.) */
.page-hero {
  padding: 0.5rem 1rem 1.25rem;
  margin: 0 0 1.5rem;
  background: #fafafa;
}
.page-hero-inner {
  max-width: 960px;
  margin: 0 auto;
}
/* Body content wrapper — restores a readable column after the full-width .page-hero
   on pages where <main> uses container-fluid px-0 so the hero can go edge-to-edge. */
.page-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}
.category-breadcrumbs {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  color: #777;
}
.category-breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.category-breadcrumbs li {
  display: inline-flex;
  align-items: center;
}
.category-breadcrumbs li + li::before {
  content: '/';
  color: #bbb;
  margin-right: 0.35rem;
}
.category-breadcrumbs a {
  color: #555;
  text-decoration: none;
}
.category-breadcrumbs a:hover {
  color: #c8102e;
  text-decoration: underline;
}
.category-breadcrumbs [aria-current="page"] {
  color: #333;
  font-weight: 600;
}
.blog-article-breadcrumbs {
  max-width: 960px;
  margin: 0 auto 0.75rem;
  padding: 0.75rem 1rem 0;
}
.support-faq {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.support-faq-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e6e6e6;
}
.support-faq-item {
  margin-bottom: 1.5rem;
}
.support-faq-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #222;
  margin: 0 0 0.35rem;
}
.support-faq-item p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.55;
  margin: 0;
}
.page-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.page-hero-title::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background: #c8102e;
  margin-top: 0.6rem;
}

/* Wrapper for the bottom-of-home article CTA. Adds breathing room after the
   last products section and before the footer. */
.home-article-cta-wrap {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Homepage hero CTA card linking to the Complete Fenix Lineup guide.
   Also reused below the product sections for "Introducing Fenix".
   Stacks on mobile, image-left + text-right on >=560px container width. */
.lineup-cta {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1.25rem;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.lineup-cta:hover,
.lineup-cta:focus-visible {
  border-color: #c8102e;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
  color: inherit;
  text-decoration: none;
}
.lineup-cta-image-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 800 / 340;
  overflow: hidden;
}
.lineup-cta-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lineup-cta-body {
  padding: 0.9rem 1rem 1rem;
}
.lineup-cta-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c8102e;
  margin-bottom: 0.35rem;
}
.lineup-cta-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}
.lineup-cta-blurb {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #444;
  margin: 0 0 0.65rem;
}
.lineup-cta-link {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #c8102e;
}
.lineup-cta-link span {
  display: inline-block;
  margin-left: 0.2rem;
  transition: transform 0.15s ease;
}
.lineup-cta:hover .lineup-cta-link span,
.lineup-cta:focus-visible .lineup-cta-link span {
  transform: translateX(3px);
}
@media (min-width: 560px) {
  .lineup-cta {
    flex-direction: row;
    align-items: stretch;
  }
  .lineup-cta-image-wrap {
    width: 40%;
    max-width: 320px;
    flex-shrink: 0;
    aspect-ratio: auto;
    align-self: stretch;
  }
  .lineup-cta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .lineup-cta-body {
    flex: 1;
    padding: 1rem 1.25rem;
    align-self: center;
  }
}

/* Category intro copy — SEO block below category H1.
   Allows multiple paragraphs, H2 subheadings, and inline links. */
.category-intro {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #555;
  padding: 0.5rem 0;
}
.category-intro p {
  margin-bottom: 0.9rem;
}
.category-intro p:last-child {
  margin-bottom: 0;
}
.category-intro h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #333;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.category-intro a {
  color: inherit;
  text-decoration: underline;
}
.category-intro a:hover {
  text-decoration: none;
}

/* Lead paragraph — primary category statement above secondary content. */
.category-intro .category-intro-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #222;
  margin-bottom: 1.25rem;
}

/* Secondary supporting content — "How to choose" + "Batteries" etc.
   Single column on mobile, two columns on desktop to reduce vertical stacking. */
.category-intro-secondary {
  margin-top: 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid #e5e5e5;
}
.category-intro-secondary > div {
  margin-bottom: 1.1rem;
}
.category-intro-secondary > div:last-child {
  margin-bottom: 0;
}
.category-intro-secondary h2 {
  font-size: 0.82rem;
  font-weight: 700;
  color: #777;
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.category-intro-secondary p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
}
@media (min-width: 768px) {
  .category-intro-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem 2.5rem;
  }
  .category-intro-secondary > div {
    margin-bottom: 0;
  }
}

/* Shop By hub — intro paragraph (shared by shop-by.hbs).
   The rest of the .shop-by-* rules land alongside the sections that use them. */
.shop-by-intro {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #555;
  margin: 0.5rem 0 2rem;
}

/* Shop By hub — section heading subtitle, tile cards.
   (.shop-by-intro lives further up, added with the template skeleton.) */
.shop-by-section {
  margin: 2.25rem 0;
}
.shop-by-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.25rem;
  letter-spacing: -0.005em;
}
.shop-by-section-subtitle {
  font-size: 0.9rem;
  color: #777;
  margin: 0 0 1.25rem;
}

/* Style B — tile cards for Shop by Category (7 cards, 4-col desktop, 2 mobile). */
.shop-by-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
@media (max-width: 767.98px) {
  .shop-by-tiles { grid-template-columns: repeat(2, 1fr); }
}
.shop-by-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  color: #1a1a1a;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 120px;
}
.shop-by-tile:hover,
.shop-by-tile:focus {
  border-color: #c8102e;
  text-decoration: none;
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}
.shop-by-tile-icon {
  font-size: 2rem;
  color: #c8102e;
  margin-bottom: 0.6rem;
}
.shop-by-tile-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}
/* Style C — horizontal row cards for Shop by Use (10 cards, 2-col desktop, 1 mobile). */
.shop-by-rows {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (max-width: 767.98px) {
  .shop-by-rows { grid-template-columns: 1fr; }
}
.shop-by-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.05rem;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  color: #1a1a1a;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.shop-by-row:hover,
.shop-by-row:focus {
  border-color: #c8102e;
  text-decoration: none;
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}
.shop-by-row-icon {
  flex: 0 0 2.25rem;
  font-size: 1.6rem;
  color: #c8102e;
  text-align: center;
}
.shop-by-row-body {
  flex: 1;
  min-width: 0;
}
.shop-by-row-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.15rem;
  line-height: 1.2;
}
.shop-by-row-desc {
  font-size: 0.8125rem;
  color: #666;
  margin: 0;
  line-height: 1.35;
}

/* Bootstrap 5.0.2 leaves hidden toasts with display:block + opacity:0, which
   keeps them in layout and lets Bootstrap's own .toast{pointer-events:auto}
   intercept clicks on the navbar behind. Hide them properly when not shown
   and only re-enable pointer-events while visible. Mirrors the CFS fix. */
.ft-toast-wrapper .toast:not(.show):not(.showing) {
  display: none !important;
}
.ft-toast-wrapper .toast.show,
.ft-toast-wrapper .toast.showing {
  pointer-events: auto;
}

/* Category FAQ block — currently used on /gun-lights.html (weapon-light hub).
   Renders only when the category config carries a seo_faq array. */
.category-faq {
  margin: 2.5rem auto 3rem;
  padding: 0 1rem;
  max-width: 880px;
}
.category-faq-inner {
  border-top: 1px solid #e5e5e5;
  padding-top: 1.5rem;
}
.category-faq-heading {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  color: #222;
}
.category-faq-list {
  margin: 0;
}
.category-faq-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid #ececec;
}
.category-faq-item:last-child {
  border-bottom: 0;
}
.category-faq-q {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin: 0 0 0.4rem;
  line-height: 1.4;
}
.category-faq-a {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #444;
  margin: 0;
}

/* ---------- Mobile menu (drawer + top bar) ---------- */

.ft-mobile-bar {
  background: #000;
  padding: 8px 12px;
  /* Cancel body padding (3px) + container-fluid gutter (12px) so bar
     spans full viewport edge-to-edge, matching other black sections. */
  margin: 0 -15px 8px;
  border-bottom: 2px solid #F47C00;
}

.ft-mobile-bar-row {
  min-height: 56px;
}

.ft-mobile-bar-search {
  margin-top: 6px;
  gap: 6px;
}

.ft-mobile-bar-search .form-control {
  background: #fff;
  border: 1px solid #fff;
  color: #1a1a1a;
  flex: 1;
  /* iOS Safari auto-zooms inputs with font-size < 16px, which scales
     the viewport wider than the device and clips the search button.
     Keep at 16px+ to prevent the zoom. */
  font-size: 16px;
  min-width: 0;
}

.ft-mobile-bar-search .form-control::placeholder { color: #6c6c6c; }

.ft-mobile-bar-search .form-control:focus {
  background: #fff;
  color: #1a1a1a;
  border-color: #F47C00;
  box-shadow: 0 0 0 2px rgba(244, 124, 0, 0.35);
}

.ft-mobile-bar-search-btn {
  background: #F47C00;
  border: 1px solid #F47C00;
  color: #000;
  padding: 6px 14px;
}

.ft-mobile-bar-search-btn:hover,
.ft-mobile-bar-search-btn:focus {
  background: #e07000;
  border-color: #e07000;
  color: #000;
}

.ft-mobile-hamburger {
  background: transparent;
  border: 0;
  color: #F47C00;
  font-size: 1.5rem;
  line-height: 1;
  padding: 8px 10px;
  cursor: pointer;
}

.ft-mobile-hamburger:focus {
  outline: 2px solid #F47C00;
  outline-offset: 2px;
}

.ft-mobile-logo {
  display: inline-flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.ft-mobile-logo img {
  max-height: 36px;
  width: auto;
  margin-top: -12px;
}

.ft-mobile-cart {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #F47C00 !important;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 10px;
}

.ft-mobile-cart i {
  font-size: 1.25rem;
}

.ft-mobile-cart-count {
  font-size: 0.85rem;
}

/* Drawer body */

.ft-offcanvas {
  background: #0a0a0a;
  color: #F47C00;
  width: 85vw;
  max-width: 360px;
}

.ft-offcanvas .offcanvas-header {
  background: #000;
  border-bottom: 2px solid #F47C00;
  padding: 14px 18px;
}

.ft-offcanvas .offcanvas-title {
  color: #F47C00;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.02em;
}

.ft-offcanvas-logo {
  height: 28px;
  width: auto;
  display: block;
}

.ft-offcanvas .offcanvas-body {
  padding: 16px;
}

.ft-offcanvas-link {
  display: block;
  padding: 14px 12px;
  color: #F47C00 !important;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid #1f1f1f;
  text-decoration: none;
}

.ft-offcanvas-link:hover,
.ft-offcanvas-link:focus {
  background: #1a1a1a;
  color: #fff !important;
}

.ft-offcanvas-link-cart {
  margin-top: 8px;
  background: #1a1a1a;
}

/* Accordion overrides inside drawer */

.ft-offcanvas-accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: #1f1f1f;
  --bs-accordion-active-bg: #1a1a1a;
  --bs-accordion-active-color: #fff;
  --bs-accordion-btn-color: #F47C00;
  --bs-accordion-color: #F47C00;
  --bs-accordion-btn-focus-box-shadow: 0 0 0 2px rgba(244, 124, 0, 0.35);
  border-radius: 0;
}

.ft-offcanvas-accordion .accordion-item {
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}

.ft-offcanvas-accordion .accordion-button {
  padding: 14px 12px;
  font-size: 1rem;
  font-weight: 500;
  background: transparent;
  color: #F47C00;
  box-shadow: none;
}

.ft-offcanvas-accordion .accordion-button:not(.collapsed) {
  background: #1a1a1a;
  color: #fff;
}

.ft-offcanvas-accordion .accordion-button::after {
  filter: invert(58%) sepia(94%) saturate(1740%) hue-rotate(2deg) brightness(102%) contrast(101%);
}

.ft-offcanvas-accordion .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.ft-offcanvas-accordion .accordion-body {
  padding: 4px 0 12px;
  background: #050505;
}

.ft-offcanvas-accordion .accordion-body a {
  display: block;
  padding: 11px 24px;
  font-size: 0.95rem;
  color: #d6d6d6;
  border-bottom: 1px solid #131313;
}

.ft-offcanvas-accordion .accordion-body a:hover,
.ft-offcanvas-accordion .accordion-body a:focus {
  background: #1a1a1a;
  color: #fff;
}

.ft-offcanvas-accordion .accordion-body a.ft-offcanvas-cta {
  color: #F47C00;
  font-weight: 600;
  border-bottom: 0;
}

.ft-offcanvas-trust {
  margin-top: 20px;
  padding: 14px 12px;
  background: #050505;
  border-top: 1px solid #1f1f1f;
}

.ft-offcanvas-trust .trust-item {
  width: 100%;
  color: #aaa;
  font-size: 0.78rem;
  margin-bottom: 6px;
}

.ft-offcanvas .btn-close {
  filter: invert(58%) sepia(94%) saturate(1740%) hue-rotate(2deg) brightness(102%) contrast(101%);
}

