/*
Theme Name: STX Bullseye
Theme URI: https://stxbullseye.com/
Author: STX Bullseye
Description: WooCommerce storefront theme for STX Bullseye. Presentation-only; pairs with FFL Cockpit + WC products, FFL Checkout, membership, and promotions. stx-bullseye-catalog is DEPRECATED — do not require it.
Version: 3.3.63
Requires at least: 6.0
Tested up to: 6.5
Text Domain: stx-bullseye
*/


/* STX Bullseye — Retail header / footer */
:root {
  --stx-bg: #0d1117;
  --stx-card: #161b22;
  --stx-border: #30363d;
  --stx-accent: #d97706;
  --stx-accent-2: #c9a66b;
  --stx-text: #f8fafc;
  --stx-top-yellow: #c9a66b;
  --stx-navy: #0d1117;
  --stx-navy-2: #161b22;
  --stx-navy-3: #1c2129;
  --stx-orange: #d97706;
}

.stx-retail-promo-bar,
.stx-retail-v2-bar {
  background: linear-gradient(90deg, #1a1208, #2a1a08 50%, #1a1208);
  border-bottom: 1px solid var(--stx-border);
  color: var(--stx-accent-2);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  padding: 7px 12px;
}

.stx-retail-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.94);
  color: var(--stx-text);
  border-bottom: 1px solid var(--stx-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.stx-retail-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.stx-retail-main {
  display: grid;
  grid-template-columns: 200px minmax(280px, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 16px 0;
}

.stx-retail-logo {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  letter-spacing: -0.04em;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}

.stx-retail-logo img {
  max-height: 50px;
  width: auto;
  display: block;
}

.stx-retail-logo-mark {
  color: var(--stx-accent);
}

.stx-retail-search {
  display: flex;
  width: 100%;
  border: 1px solid var(--stx-border);
  border-radius: 0.65rem;
  overflow: hidden;
  background: var(--stx-card);
}

.stx-retail-search input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--stx-text);
  font-size: 15px;
  padding: 0 14px;
  outline: none;
}

.stx-retail-search input::placeholder {
  color: #94a3b8;
}

.stx-retail-search button {
  width: 52px;
  height: 40px;
  border: 0;
  background: linear-gradient(135deg, var(--stx-accent), #b45309);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}

.stx-retail-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  white-space: nowrap;
}

.stx-retail-mini {
  display: flex;
  flex-direction: column;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
}

.stx-retail-mini strong {
  color: #fff;
  font-size: 13px;
}

.stx-retail-account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--stx-navy-3);
  border: 1px solid var(--stx-border);
  color: #fff;
  text-decoration: none;
  padding: 11px 14px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.stx-retail-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 0.55rem;
  background: linear-gradient(135deg, var(--stx-accent), #ea580c);
  color: #fff !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 0.65rem 1rem;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.28);
}

.stx-retail-nav-wrap {
  background: var(--stx-card);
  border-top: 1px solid var(--stx-border);
  border-bottom: 1px solid var(--stx-border);
}

.stx-retail-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.stx-retail-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.stx-retail-nav::-webkit-scrollbar {
  display: none;
}

.stx-retail-nav a {
  color: var(--stx-text);
  text-decoration: none;
  padding: 14px 12px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.stx-retail-nav a:hover {
  color: var(--stx-accent);
  background: rgba(217, 119, 6, 0.08);
}

.stx-retail-special {
  border: 1px solid rgba(217, 119, 6, 0.45);
  color: var(--stx-accent) !important;
  margin-left: 4px;
}

.stx-mobile-menu-toggle {
  display: none;
  border: 1px solid var(--stx-border);
  background: var(--stx-navy-3);
  color: #fff;
  padding: 10px 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.stx-mobile-menu {
  display: none;
  background: var(--stx-navy-2);
  border-top: 1px solid var(--stx-border);
}

.stx-mobile-menu.is-open {
  display: block;
}

.stx-mobile-menu a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 13px 24px;
  border-bottom: 1px solid var(--stx-border);
  font-weight: 800;
  text-transform: uppercase;
}

.page-contact #main-content > section:first-child,
.page-services #main-content > section:first-child,
#main-content .stx-form-shell {
  margin-top: 32px;
}

.stx-form-shell {
  border: 1px solid rgba(217, 119, 6, 0.22);
  background: rgba(22, 27, 34, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.stx-footer {
  background: #0a0e14;
  border-top: 1px solid var(--stx-border);
  color: #cbd5e1;
}

.stx-footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  gap: 28px;
  padding: 44px 0;
}

.stx-footer h3,
.stx-footer h4 {
  color: #fff;
  margin: 0 0 14px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.stx-footer p,
.stx-footer li {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.7;
}

.stx-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stx-footer a {
  color: #cbd5e1;
  text-decoration: none;
}

.stx-footer a:hover {
  color: var(--stx-accent);
}

.stx-footer-bottom {
  border-top: 1px solid var(--stx-border);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 13px;
}

.stx-footer-cta .stx-section-kicker {
  color: var(--stx-accent);
}

.stx-footer-cta h2 {
  color: #fff;
}

@media (max-width: 1024px) {
  .stx-retail-main {
    grid-template-columns: 170px 1fr auto;
    gap: 14px;
  }

  .stx-retail-mini,
  .stx-retail-account {
    display: none;
  }
}

@media (max-width: 760px) {
  .stx-retail-container {
    padding: 0 14px;
  }

  .stx-retail-main {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 13px 0;
  }

  .stx-retail-logo {
    font-size: 22px;
  }

  .stx-retail-search {
    grid-column: 1 / -1;
    order: 3;
  }

  .stx-retail-cta {
    display: none;
  }

  .stx-retail-nav-wrap {
    display: none;
  }

  .stx-mobile-menu-toggle {
    display: inline-flex;
  }

  .stx-footer-top {
    grid-template-columns: 1fr;
  }
}
/* STX GrabAGun-style header/footer refresh */
.site-shell .stx-retail-v2-bar {
  background: #f28c18;
  border-bottom: 0;
  color: #111827;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  padding: 0;
}

.site-shell .stx-retail-promo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 36px;
  overflow-x: auto;
  white-space: nowrap;
}

.site-shell .stx-retail-promo-inner a {
  color: #111827;
  text-decoration: none;
}

.site-shell .stx-retail-header.stx-retail-v2 {
  background: #111820;
  border-bottom: 1px solid #2d3744;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
  backdrop-filter: none;
}

.site-shell .stx-retail-utility {
  background: #0a0f15;
  border-bottom: 1px solid #26313d;
  color: #cbd5e1;
  font-size: 12px;
}

.site-shell .stx-retail-utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 34px;
}

.site-shell .stx-retail-utility__links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-shell .stx-retail-utility a {
  color: #cbd5e1;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.site-shell .stx-retail-utility a:hover {
  color: #f28c18;
}

.site-shell .stx-retail-utility__phone {
  color: #fff !important;
}

.site-shell .stx-retail-main {
  grid-template-columns: 210px minmax(340px, 1fr) auto;
  gap: 18px;
  padding: 18px 0;
}

.site-shell .stx-retail-logo img {
  max-height: 56px;
}

.site-shell .stx-retail-search {
  background: #fff;
  border: 2px solid #f28c18;
  border-radius: 3px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.site-shell .stx-retail-search input {
  color: #111827;
  font-size: 15px;
  height: 40px;
}

.site-shell .stx-retail-search input::placeholder {
  color: #64748b;
}

.site-shell .stx-retail-search button {
  background: #f28c18;
  color: #111827;
  font-size: 22px;
  height: 40px;
  width: 52px;
}

.site-shell .stx-retail-actions {
  gap: 10px;
}

.site-shell .stx-retail-mini {
  border-left: 1px solid #334155;
  color: #94a3b8;
  padding-left: 12px;
}

.site-shell .stx-retail-mini strong {
  color: #fff;
  font-size: 14px;
}

.site-shell .stx-retail-account {
  background: #202a35;
  border: 1px solid #3a4654;
  border-radius: 3px;
  min-height: 42px;
}

.site-shell .stx-retail-cta {
  background: #f28c18;
  border-radius: 3px;
  box-shadow: none;
  color: #111827 !important;
  min-height: 42px;
}

.site-shell .stx-retail-nav-wrap {
  background: #27313d;
  border-bottom: 3px solid #f28c18;
  border-top: 1px solid #3a4654;
  position: relative;
}

.site-shell .stx-retail-nav-row {
  justify-content: flex-start;
  position: relative;
}

.site-shell .stx-retail-nav {
  flex: 1;
  overflow: visible;
}

.site-shell .stx-retail-nav a {
  color: #f8fafc;
  font-size: 13px;
  letter-spacing: 0.03em;
  padding: 16px 13px;
}

.site-shell .stx-retail-nav a:hover {
  background: rgba(242, 140, 24, 0.16);
  color: #fff;
}

.site-shell .stx-retail-special {
  background: rgba(242, 140, 24, 0.12);
  border: 1px solid rgba(242, 140, 24, 0.55);
  color: #fbbf24 !important;
}

.site-shell .stx-firearms-menu,
.site-shell .stx-optics-menu,
.site-shell .stx-ammo-menu,
.site-shell .stx-mags-menu,
.site-shell .stx-accessories-menu {
  display: flex;
}

.site-shell .stx-firearms-trigger,
.site-shell .stx-optics-trigger,
.site-shell .stx-ammo-trigger,
.site-shell .stx-mags-trigger,
.site-shell .stx-accessories-trigger {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.site-shell .stx-firearms-trigger span,
.site-shell .stx-optics-trigger span,
.site-shell .stx-ammo-trigger span,
.site-shell .stx-mags-trigger span,
.site-shell .stx-accessories-trigger span {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  display: inline-block;
  height: 0;
  width: 0;
}

.site-shell .stx-firearms-mega,
.site-shell .stx-optics-mega,
.site-shell .stx-ammo-mega,
.site-shell .stx-accessories-mega {
  background: #fff;
  border: 1px solid #d9dde3;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.24);
  color: #202733;
  display: none;
  grid-template-columns: 230px minmax(0, 1fr);
  left: 0;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 1002;
}

.site-shell .stx-firearms-menu:hover .stx-firearms-mega,
.site-shell .stx-firearms-menu:focus-within .stx-firearms-mega,
.site-shell .stx-optics-menu:hover .stx-optics-mega,
.site-shell .stx-optics-menu:focus-within .stx-optics-mega,
.site-shell .stx-ammo-menu:hover .stx-ammo-mega,
.site-shell .stx-ammo-menu:focus-within .stx-ammo-mega,
.site-shell .stx-accessories-menu:hover .stx-accessories-mega,
.site-shell .stx-accessories-menu:focus-within .stx-accessories-mega {
  display: grid;
}

.site-shell .stx-mags-mega {
  background: #fff;
  border: 1px solid #d9dde3;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.24);
  color: #202733;
  display: none;
  left: 0;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 1002;
}

.site-shell .stx-mags-menu:hover .stx-mags-mega,
.site-shell .stx-mags-menu:focus-within .stx-mags-mega {
  display: block;
}

.site-shell .stx-mags-panel {
  padding: 22px 28px 26px;
}

.site-shell .stx-mags-card-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.site-shell .stx-mags-card-grid a,
.site-shell .stx-retail-nav .stx-mags-card-grid a {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dfe4ea;
  color: #27313d;
  display: flex;
  font-size: 14px;
  font-weight: 850;
  justify-content: flex-end;
  letter-spacing: 0;
  min-height: 72px;
  padding: 12px 16px;
  text-align: right;
  text-decoration: none;
  text-transform: none;
  white-space: normal;
}

.site-shell .stx-mags-card-grid a:hover,
.site-shell .stx-mags-card-grid a:focus {
  background: #eef7ff;
  border-color: #1580c4;
  color: #0f5f96;
}

.site-shell .stx-mags-view-all,
.site-shell .stx-retail-nav .stx-mags-view-all {
  background: #087bc1;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.03em;
  margin-top: 20px;
  padding: 12px 16px;
  text-decoration: none;
  text-transform: uppercase;
}

.site-shell .stx-mags-view-all::after {
  content: "->";
  margin-left: 12px;
}

.site-shell .stx-mags-view-all:hover,
.site-shell .stx-mags-view-all:focus {
  background: #05659f;
  color: #fff;
}

.site-shell .stx-firearms-rail,
.site-shell .stx-optics-rail,
.site-shell .stx-ammo-rail,
.site-shell .stx-accessories-rail {
  background: #343945;
  border-right: 1px solid #242a34;
  padding: 0;
}

.site-shell .stx-firearms-rail a,
.site-shell .stx-retail-nav .stx-firearms-rail a,
.site-shell .stx-optics-rail a,
.site-shell .stx-retail-nav .stx-optics-rail a,
.site-shell .stx-ammo-rail a,
.site-shell .stx-retail-nav .stx-ammo-rail a,
.site-shell .stx-accessories-rail a,
.site-shell .stx-retail-nav .stx-accessories-rail a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  display: block;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  padding: 16px 18px;
  text-decoration: none;
  text-transform: none;
}

.site-shell .stx-firearms-rail a:hover,
.site-shell .stx-firearms-rail a:focus,
.site-shell .stx-firearms-rail a.is-emphasized,
.site-shell .stx-optics-rail a:hover,
.site-shell .stx-optics-rail a:focus,
.site-shell .stx-ammo-rail a:hover,
.site-shell .stx-ammo-rail a:focus,
.site-shell .stx-accessories-rail a:hover,
.site-shell .stx-accessories-rail a:focus {
  background: #fff;
  color: #111827;
}

.site-shell .stx-firearms-panel,
.site-shell .stx-optics-panel,
.site-shell .stx-ammo-panel,
.site-shell .stx-accessories-panel {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: min(70vh, 640px);
  overflow-y: auto;
  padding: 22px 28px 26px;
}

.site-shell .stx-firearms-panel section,
.site-shell .stx-optics-panel section,
.site-shell .stx-ammo-panel section,
.site-shell .stx-accessories-panel section {
  min-width: 0;
}

.site-shell .stx-firearms-panel h3,
.site-shell .stx-optics-panel h3,
.site-shell .stx-ammo-panel h3,
.site-shell .stx-accessories-panel h3 {
  border-bottom: 2px solid #e6e9ee;
  color: #111827;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
  padding-bottom: 9px;
  text-transform: uppercase;
}

.site-shell .stx-firearms-card-grid,
.site-shell .stx-optics-card-grid,
.site-shell .stx-ammo-card-grid,
.site-shell .stx-accessories-card-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-shell .stx-firearms-card-grid a,
.site-shell .stx-retail-nav .stx-firearms-card-grid a,
.site-shell .stx-optics-card-grid a,
.site-shell .stx-retail-nav .stx-optics-card-grid a,
.site-shell .stx-ammo-card-grid a,
.site-shell .stx-retail-nav .stx-ammo-card-grid a,
.site-shell .stx-accessories-card-grid a,
.site-shell .stx-retail-nav .stx-accessories-card-grid a {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dfe4ea;
  color: #27313d;
  display: flex;
  font-size: 14px;
  font-weight: 850;
  justify-content: flex-end;
  letter-spacing: 0;
  min-height: 58px;
  padding: 12px 14px;
  text-align: right;
  text-decoration: none;
  text-transform: none;
  white-space: normal;
}

.site-shell .stx-firearms-card-grid a:hover,
.site-shell .stx-firearms-card-grid a:focus,
.site-shell .stx-optics-card-grid a:hover,
.site-shell .stx-optics-card-grid a:focus,
.site-shell .stx-ammo-card-grid a:hover,
.site-shell .stx-ammo-card-grid a:focus,
.site-shell .stx-accessories-card-grid a:hover,
.site-shell .stx-accessories-card-grid a:focus {
  background: #eef7ff;
  border-color: #1580c4;
  color: #0f5f96;
}

.site-shell .stx-accessories-panel {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-shell .stx-accessories-link-group {
  border-bottom: 1px solid #e5e7eb;
  margin-top: 18px;
  padding-bottom: 18px;
}

.site-shell .stx-accessories-link-group h4 {
  color: #111827;
  font-size: 12px;
  font-weight: 950;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.site-shell .stx-accessories-link-group div {
  display: grid;
  gap: 9px 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-shell .stx-accessories-link-group a {
  color: #087bc1;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
}

.site-shell .stx-accessories-link-group a:hover {
  color: #055f96;
}

.site-shell .stx-accessories-view-all,
.site-shell .stx-retail-nav .stx-accessories-view-all {
  background: #087bc1;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.03em;
  margin-top: 20px;
  padding: 12px 16px;
  text-decoration: none;
  text-transform: uppercase;
}

.site-shell .stx-accessories-view-all::after {
  content: "->";
  margin-left: 12px;
}

.site-shell .stx-accessories-view-all:hover,
.site-shell .stx-accessories-view-all:focus {
  background: #05659f;
  color: #fff;
}

.site-shell .stx-ammo-also {
  border-bottom: 1px solid #e5e7eb;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
  padding-bottom: 18px;
}

.site-shell .stx-ammo-also span {
  color: #111827;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.site-shell .stx-ammo-also a {
  color: #087bc1;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.site-shell .stx-ammo-also a:hover {
  color: #055f96;
}

.site-shell .stx-ammo-view-all,
.site-shell .stx-retail-nav .stx-ammo-view-all {
  background: #087bc1;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.03em;
  margin-top: 20px;
  padding: 12px 16px;
  text-decoration: none;
  text-transform: uppercase;
}

.site-shell .stx-ammo-view-all::after {
  content: "->";
  margin-left: 12px;
}

.site-shell .stx-ammo-view-all:hover,
.site-shell .stx-ammo-view-all:focus {
  background: #05659f;
  color: #fff;
}

.site-shell .stx-firearms-receivers {
  background: #fff7ed;
  border: 1px solid rgba(242, 140, 24, 0.42);
  padding: 16px;
}

.site-shell .stx-firearms-receivers p {
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 12px;
}

.site-shell .stx-firearms-view-all,
.site-shell .stx-retail-nav .stx-firearms-view-all {
  background: #087bc1;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.03em;
  margin-top: 14px;
  padding: 12px 16px;
  text-decoration: none;
  text-transform: uppercase;
}

.site-shell .stx-firearms-view-all:hover,
.site-shell .stx-firearms-view-all:focus {
  background: #05659f;
  color: #fff;
}

.site-shell .stx-mobile-menu-toggle {
  align-items: center;
  border-radius: 3px;
  gap: 4px;
  height: 44px;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  padding: 0;
  width: 46px;
}

.site-shell .stx-mobile-menu-toggle span {
  background: #fff;
  display: block;
  height: 2px;
  width: 20px;
}

.site-shell .stx-footer-cta {
  background: #171f29;
  border-top: 1px solid #303c49;
}

.site-shell .stx-footer {
  background: #0b1016;
  border-top: 0;
}

.site-shell .stx-footer-service-band {
  background: #f28c18;
  color: #111827;
}

.site-shell .stx-footer-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-shell .stx-footer-service-grid a,
.site-shell .stx-footer-service-grid .stx-footer-service-item {
  color: #111827;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 74px;
  justify-content: center;
  padding: 14px 20px;
  text-decoration: none;
  cursor: default;
  pointer-events: none;
  user-select: text;
}

.site-shell .stx-footer-service-grid a + a,
.site-shell .stx-footer-service-grid .stx-footer-service-item + .stx-footer-service-item {
  border-left: 1px solid rgba(17, 24, 39, 0.24);
}

.site-shell .stx-footer-service-grid strong {
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.site-shell .stx-footer-service-grid span {
  font-size: 12px;
  font-weight: 700;
}

.site-shell .stx-footer-top.stx-footer-top--retail {
  grid-template-columns: 1.2fr 0.72fr 0.9fr 0.72fr 1.1fr;
  gap: 32px;
  padding: 48px 0;
}

.site-shell .stx-footer-brand-panel p {
  max-width: 32rem;
}

.site-shell .stx-footer-contact-list {
  margin-top: 16px;
}

.site-shell .stx-footer-newsletter-panel {
  background: #121a23;
  border: 1px solid #2a3643;
  border-radius: 6px;
  padding: 18px;
}

.site-shell .stx-footer-newsletter {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.site-shell .stx-footer-newsletter input {
  background: #fff;
  border: 0;
  border-radius: 3px;
  color: #111827;
  flex: 1;
  min-height: 42px;
  min-width: 0;
  padding: 0 12px;
}

.site-shell .stx-footer-newsletter button {
  background: #f28c18;
  border: 0;
  border-radius: 3px;
  color: #111827;
  cursor: pointer;
  font-size: 12px;
  font-weight: 950;
  min-height: 42px;
  padding: 0 16px;
  text-transform: uppercase;
}

.site-shell .stx-footer-note {
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.55;
  margin-top: 14px;
}

.site-shell .stx-footer-bottom {
  background: #070b10;
  border-top: 1px solid #202a35;
  margin: 0 -24px;
  padding: 18px 24px;
  max-width: none;
  box-sizing: border-box;
  width: auto;
}

/* Keep desktop mega menu panels hidden until their parent nav item is active. */
.site-shell .stx-retail-nav-wrap {
  isolation: isolate;
}

.site-shell .stx-retail-nav {
  overflow: visible !important;
}

.site-shell .stx-firearms-menu,
.site-shell .stx-optics-menu,
.site-shell .stx-ammo-menu,
.site-shell .stx-mags-menu,
.site-shell .stx-accessories-menu {
  align-self: stretch;
  display: flex;
  position: static;
}

.site-shell .stx-firearms-mega,
.site-shell .stx-optics-mega,
.site-shell .stx-ammo-mega,
.site-shell .stx-mags-mega,
.site-shell .stx-accessories-mega {
  display: none !important;
  left: 0 !important;
  max-width: 100%;
  opacity: 0;
  pointer-events: none;
  position: absolute !important;
  right: 0 !important;
  top: 100% !important;
  visibility: hidden;
  z-index: 1003;
}

.site-shell .stx-firearms-menu:hover .stx-firearms-mega,
.site-shell .stx-firearms-menu:focus-within .stx-firearms-mega,
.site-shell .stx-optics-menu:hover .stx-optics-mega,
.site-shell .stx-optics-menu:focus-within .stx-optics-mega,
.site-shell .stx-ammo-menu:hover .stx-ammo-mega,
.site-shell .stx-ammo-menu:focus-within .stx-ammo-mega,
.site-shell .stx-accessories-menu:hover .stx-accessories-mega,
.site-shell .stx-accessories-menu:focus-within .stx-accessories-mega {
  display: grid !important;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.site-shell .stx-mags-menu:hover .stx-mags-mega,
.site-shell .stx-mags-menu:focus-within .stx-mags-mega {
  display: block !important;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

@media (max-width: 1180px) {
  .site-shell .stx-retail-main {
    grid-template-columns: 180px minmax(260px, 1fr) auto;
  }

  .site-shell .stx-retail-mini,
  .site-shell .stx-retail-account {
    display: none;
  }

  .site-shell .stx-footer-top.stx-footer-top--retail {
    grid-template-columns: 1.2fr 0.8fr 0.9fr;
  }

  .site-shell .stx-firearms-mega,
  .site-shell .stx-optics-mega,
  .site-shell .stx-ammo-mega,
  .site-shell .stx-accessories-mega {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .site-shell .stx-firearms-panel,
  .site-shell .stx-optics-panel,
  .site-shell .stx-ammo-panel,
  .site-shell .stx-accessories-panel {
    grid-template-columns: 1fr;
  }

  .site-shell .stx-mags-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-shell .stx-retail-utility {
    display: none;
  }

  /*
   * Mobile header row: [ LOGO ] … [ CART ] [ MENU ]
   * Search stays full-width on the row below. Flex avoids the prior 2-col grid
   * that forced the hamburger into column 2 and displaced the header cart.
   */
  .site-shell .stx-retail-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 12px;
  }

  .site-shell .stx-retail-logo {
    flex: 1 1 auto;
    min-width: 0;
    order: 1;
  }

  .site-shell .stx-retail-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    order: 2;
    margin-left: auto;
  }

  /* Hide secondary actions; keep header Cart icon beside hamburger. */
  .site-shell .stx-retail-actions .stx-retail-mini:not(.stx-retail-cart),
  .site-shell .stx-retail-actions .stx-retail-account {
    display: none;
  }

  .site-shell .stx-retail-nav-wrap {
    display: none;
  }

  .site-shell .stx-mobile-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    flex: 0 0 auto;
    order: 3;
  }

  .site-shell .stx-retail-search {
    order: 4;
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .site-shell .stx-firearms-card-grid,
  .site-shell .stx-optics-card-grid,
  .site-shell .stx-ammo-card-grid,
  .site-shell .stx-accessories-card-grid {
    grid-template-columns: 1fr;
  }

  .site-shell .stx-ammo-also {
    grid-template-columns: 1fr;
  }

  .site-shell .stx-accessories-link-group div {
    grid-template-columns: 1fr;
  }

  .site-shell .stx-mags-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-shell .stx-footer-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-shell .stx-footer-service-grid a:nth-child(odd),
  .site-shell .stx-footer-service-grid .stx-footer-service-item:nth-child(odd) {
    border-left: 0;
  }

  .site-shell .stx-footer-top.stx-footer-top--retail {
    grid-template-columns: 1fr 1fr;
  }

  .site-shell .stx-footer-newsletter-panel,
  .site-shell .stx-footer-brand-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .site-shell .stx-retail-promo-inner {
    justify-content: flex-start;
    padding: 0 14px;
  }

  /* Compact cart icon beside hamburger on phones */
  .site-shell .stx-retail-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .site-shell .stx-retail-actions .stx-retail-cart {
    display: inline-flex;
    min-height: 44px;
    min-width: 44px;
    padding: 8px 10px;
  }

  /*
   * Footer full-bleed uses margin: 0 -24px assuming 24px container padding.
   * Below 760px container padding is 14px — negative gutters overflow the viewport.
   */
  .site-shell .stx-footer-bottom {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
    padding-left: max(14px, env(safe-area-inset-left, 0px));
    padding-right: max(14px, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
  }
}

@media (max-width: 560px) {
  .site-shell .stx-mags-card-grid {
    grid-template-columns: 1fr;
  }

  .site-shell .stx-footer-service-grid,
  .site-shell .stx-footer-top.stx-footer-top--retail {
    grid-template-columns: 1fr;
  }

  .site-shell .stx-footer-service-grid a + a,
  .site-shell .stx-footer-service-grid .stx-footer-service-item + .stx-footer-service-item {
    border-left: 0;
    border-top: 1px solid rgba(17, 24, 39, 0.24);
  }

  .site-shell .stx-footer-newsletter {
    flex-direction: column;
  }

  /* Negative gutters were bleeding past the viewport on 320–375. */
  .site-shell .stx-footer-bottom {
    margin-left: 0;
    margin-right: 0;
    padding-left: max(14px, env(safe-area-inset-left, 0px));
    padding-right: max(14px, env(safe-area-inset-right, 0px));
    flex-direction: column;
    align-items: flex-start;
  }
}
/* End STX GrabAGun-style header/footer refresh */

/* Mega menu rail tabs: show only the active rail section. */
.site-shell .stx-firearms-panel > section,
.site-shell .stx-optics-panel > section,
.site-shell .stx-ammo-panel > section,
.site-shell .stx-accessories-panel > section {
  display: none;
}

.site-shell .stx-firearms-panel > section.is-active,
.site-shell .stx-optics-panel > section.is-active,
.site-shell .stx-ammo-panel > section.is-active,
.site-shell .stx-accessories-panel > section.is-active {
  display: block;
}

.site-shell .stx-firearms-rail a.is-active,
.site-shell .stx-optics-rail a.is-active,
.site-shell .stx-ammo-rail a.is-active,
.site-shell .stx-accessories-rail a.is-active {
  background: #fff;
  color: #070b10;
}

/* Final desktop/mobile navigation polish. */
.site-shell .stx-firearms-mega,
.site-shell .stx-optics-mega,
.site-shell .stx-ammo-mega,
.site-shell .stx-accessories-mega {
  background: #f8fafc;
  border: 1px solid rgba(242, 140, 24, 0.38);
  border-top: 3px solid #f28c18;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.36);
  grid-template-columns: 232px minmax(0, 1fr);
  overflow: hidden;
}

.site-shell .stx-mags-mega {
  background: #f8fafc;
  border: 1px solid rgba(242, 140, 24, 0.38);
  border-top: 3px solid #f28c18;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.36);
  overflow: hidden;
}

.site-shell .stx-firearms-rail,
.site-shell .stx-optics-rail,
.site-shell .stx-ammo-rail,
.site-shell .stx-accessories-rail {
  background: #222a35;
}

.site-shell .stx-firearms-rail a,
.site-shell .stx-retail-nav .stx-firearms-rail a,
.site-shell .stx-optics-rail a,
.site-shell .stx-retail-nav .stx-optics-rail a,
.site-shell .stx-ammo-rail a,
.site-shell .stx-retail-nav .stx-ammo-rail a,
.site-shell .stx-accessories-rail a,
.site-shell .stx-retail-nav .stx-accessories-rail a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  font-size: 15px;
  padding: 15px 18px;
}

.site-shell .stx-firearms-rail a:hover,
.site-shell .stx-firearms-rail a:focus,
.site-shell .stx-firearms-rail a.is-active,
.site-shell .stx-firearms-rail a.is-emphasized:hover,
.site-shell .stx-firearms-rail a.is-emphasized:focus,
.site-shell .stx-optics-rail a:hover,
.site-shell .stx-optics-rail a:focus,
.site-shell .stx-optics-rail a.is-active,
.site-shell .stx-ammo-rail a:hover,
.site-shell .stx-ammo-rail a:focus,
.site-shell .stx-ammo-rail a.is-active,
.site-shell .stx-accessories-rail a:hover,
.site-shell .stx-accessories-rail a:focus,
.site-shell .stx-accessories-rail a.is-active {
  background: #fff;
  color: #0b1016;
}

.site-shell .stx-firearms-panel,
.site-shell .stx-optics-panel,
.site-shell .stx-ammo-panel,
.site-shell .stx-accessories-panel {
  background: #fff;
  display: block;
  max-height: min(68vh, 620px);
  overflow-y: auto;
  padding: 24px 28px 26px;
}

.site-shell .stx-firearms-panel > section,
.site-shell .stx-optics-panel > section,
.site-shell .stx-ammo-panel > section,
.site-shell .stx-accessories-panel > section {
  display: none !important;
}

.site-shell .stx-firearms-panel > section.is-active,
.site-shell .stx-optics-panel > section.is-active,
.site-shell .stx-ammo-panel > section.is-active,
.site-shell .stx-accessories-panel > section.is-active {
  display: block !important;
}

.site-shell .stx-firearms-card-grid,
.site-shell .stx-optics-card-grid,
.site-shell .stx-ammo-card-grid,
.site-shell .stx-accessories-card-grid,
.site-shell .stx-mags-card-grid {
  gap: 12px;
}

.site-shell .stx-firearms-card-grid a,
.site-shell .stx-retail-nav .stx-firearms-card-grid a,
.site-shell .stx-optics-card-grid a,
.site-shell .stx-retail-nav .stx-optics-card-grid a,
.site-shell .stx-ammo-card-grid a,
.site-shell .stx-retail-nav .stx-ammo-card-grid a,
.site-shell .stx-accessories-card-grid a,
.site-shell .stx-retail-nav .stx-accessories-card-grid a,
.site-shell .stx-mags-card-grid a,
.site-shell .stx-retail-nav .stx-mags-card-grid a {
  background: #f4f7fb;
  border: 1px solid #d7dee8;
  border-radius: 4px;
  box-shadow: none;
  color: #1f2937;
  justify-content: flex-start;
  min-height: 62px;
  padding: 14px 16px;
  text-align: left;
}

.site-shell .stx-firearms-card-grid a:hover,
.site-shell .stx-firearms-card-grid a:focus,
.site-shell .stx-optics-card-grid a:hover,
.site-shell .stx-optics-card-grid a:focus,
.site-shell .stx-ammo-card-grid a:hover,
.site-shell .stx-ammo-card-grid a:focus,
.site-shell .stx-accessories-card-grid a:hover,
.site-shell .stx-accessories-card-grid a:focus,
.site-shell .stx-mags-card-grid a:hover,
.site-shell .stx-mags-card-grid a:focus {
  background: #fff7ed;
  border-color: rgba(242, 140, 24, 0.72);
  color: #0b1016;
}

.site-shell .stx-firearms-panel h3,
.site-shell .stx-optics-panel h3,
.site-shell .stx-ammo-panel h3,
.site-shell .stx-accessories-panel h3 {
  border-bottom: 2px solid #dce3ed;
  color: #101820;
  font-size: 14px;
  margin-bottom: 14px;
}

.site-shell .stx-firearms-view-all,
.site-shell .stx-retail-nav .stx-firearms-view-all,
.site-shell .stx-optics-view-all,
.site-shell .stx-retail-nav .stx-optics-view-all,
.site-shell .stx-ammo-view-all,
.site-shell .stx-retail-nav .stx-ammo-view-all,
.site-shell .stx-mags-view-all,
.site-shell .stx-retail-nav .stx-mags-view-all,
.site-shell .stx-accessories-view-all,
.site-shell .stx-retail-nav .stx-accessories-view-all {
  align-items: center;
  background: linear-gradient(135deg, #d97706, #f97316);
  border-radius: 4px;
  color: #0b1016;
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  margin-top: 18px;
  padding: 12px 16px;
  text-decoration: none;
  text-transform: uppercase;
}

.site-shell .stx-firearms-view-all::after,
.site-shell .stx-optics-view-all::after,
.site-shell .stx-ammo-view-all::after,
.site-shell .stx-mags-view-all::after,
.site-shell .stx-accessories-view-all::after {
  content: "->";
  margin-left: 12px;
}

.site-shell .stx-firearms-view-all:hover,
.site-shell .stx-firearms-view-all:focus,
.site-shell .stx-optics-view-all:hover,
.site-shell .stx-optics-view-all:focus,
.site-shell .stx-ammo-view-all:hover,
.site-shell .stx-ammo-view-all:focus,
.site-shell .stx-mags-view-all:hover,
.site-shell .stx-mags-view-all:focus,
.site-shell .stx-accessories-view-all:hover,
.site-shell .stx-accessories-view-all:focus {
  background: #ff9f1a;
  color: #070b10;
}

.site-shell .stx-mobile-menu {
  background: #0f151d;
  border-top: 1px solid rgba(242, 140, 24, 0.34);
  /* Fallback 92px until JS sets --stx-mobile-header-height */
  max-height: calc(100dvh - var(--stx-mobile-header-height, 92px));
  max-height: calc(100vh - var(--stx-mobile-header-height, 92px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 12px 14px 18px;
}

.site-shell .stx-mobile-menu a {
  border-bottom: 0;
  color: #f8fafc;
  padding: 0;
  text-transform: none;
}

.site-shell .stx-mobile-feature-link,
.site-shell .stx-mobile-menu .stx-mobile-feature-link {
  align-items: center;
  background: linear-gradient(135deg, #d97706, #f97316);
  border-radius: 6px;
  color: #0b1016;
  display: flex;
  font-weight: 950;
  justify-content: center;
  margin-bottom: 10px;
  min-height: 46px;
  text-transform: uppercase;
}

.site-shell .stx-mobile-group {
  background: #171f29;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 6px;
  margin: 0 0 10px;
  overflow: hidden;
}

.site-shell .stx-mobile-group summary {
  align-items: center;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-weight: 950;
  justify-content: space-between;
  letter-spacing: 0.03em;
  list-style: none;
  min-height: 48px;
  padding: 0 16px;
  text-transform: uppercase;
}

.site-shell .stx-mobile-group summary::-webkit-details-marker {
  display: none;
}

.site-shell .stx-mobile-group summary::after {
  color: #f28c18;
  content: "+";
  font-size: 20px;
  line-height: 1;
}

.site-shell .stx-mobile-group[open] summary {
  background: #222b37;
  border-bottom: 1px solid rgba(242, 140, 24, 0.28);
}

.site-shell .stx-mobile-group[open] summary::after {
  content: "-";
}

.site-shell .stx-mobile-subnav {
  display: grid;
  gap: 1px;
  padding: 8px;
}

.site-shell .stx-mobile-subnav a {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  color: #dbe3ed;
  font-size: 14px;
  font-weight: 800;
  padding: 12px 14px;
}

.site-shell .stx-mobile-subnav > a:first-child {
  color: #f28c18;
  font-weight: 950;
}

/* Nested Handguns / Rifles / Shotguns panels inside Firearms */
.site-shell .stx-mobile-subgroup {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 4px;
  margin: 0;
  overflow: hidden;
}

.site-shell .stx-mobile-subgroup summary {
  align-items: center;
  color: #f8fafc;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 900;
  justify-content: space-between;
  list-style: none;
  min-height: 44px;
  padding: 0 14px;
}

.site-shell .stx-mobile-subgroup summary::-webkit-details-marker {
  display: none;
}

.site-shell .stx-mobile-subgroup summary::after {
  color: #f28c18;
  content: "+";
  font-size: 18px;
  line-height: 1;
}

.site-shell .stx-mobile-subgroup[open] summary {
  background: rgba(242, 140, 24, 0.12);
  border-bottom: 1px solid rgba(242, 140, 24, 0.22);
}

.site-shell .stx-mobile-subgroup[open] summary::after {
  content: "-";
}

.site-shell .stx-mobile-subnav--nested {
  padding: 6px;
}

.site-shell .stx-mobile-subnav--nested a {
  font-size: 13px;
  font-weight: 700;
  padding: 11px 12px;
}

.site-shell .stx-mobile-subnav--nested > a:first-child {
  color: #f28c18;
  font-weight: 950;
}

.site-shell .stx-mobile-feature-link--cart {
  background: #1e5a8a;
  color: #fff;
}

body.stx-mobile-nav-open {
  overflow: hidden;
}

.site-shell .stx-mobile-action-row {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 4px;
}

.site-shell .stx-mobile-action-row a {
  align-items: center;
  background: #222b37;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 6px;
  color: #fff;
  display: flex;
  font-size: 12px;
  font-weight: 950;
  justify-content: center;
  min-height: 42px;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .site-shell .stx-firearms-mega,
  .site-shell .stx-optics-mega,
  .site-shell .stx-ammo-mega,
  .site-shell .stx-accessories-mega {
    grid-template-columns: 210px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .site-shell .stx-retail-main {
    gap: 10px;
    padding: 8px 0;
  }

  .site-shell .stx-retail-logo img {
    max-height: 52px;
  }

  .site-shell .stx-retail-search {
    order: 3;
  }

  .site-shell .stx-retail-search input {
    min-height: 40px;
    height: 40px;
  }

  .site-shell .stx-retail-search button {
    min-height: 40px;
    height: 40px;
    width: 48px;
  }
}

@media (max-width: 520px) {
  .site-shell .stx-mobile-action-row {
    grid-template-columns: 1fr;
  }

  .site-shell .stx-retail-logo img {
    max-width: 160px;
  }
}

/* Mobile storefront shell: compact, consistent header geometry. */
@media (max-width: 767px) {
  .site-shell .stx-retail-main {
    gap: 7px 9px;
    padding: 6px 0;
  }

  .site-shell .stx-retail-logo img {
    width: auto;
    max-width: 142px;
    max-height: 40px;
  }

  .site-shell .stx-retail-cart,
  .site-shell .stx-mobile-menu-toggle {
    min-width: 42px;
    min-height: 42px;
  }

  .site-shell .stx-retail-search input,
  .site-shell .stx-retail-search button {
    height: 38px;
    min-height: 38px;
  }

  .site-shell .stx-retail-search button {
    width: 46px;
  }
}

/* Actual final professional header pass. */
.site-shell .stx-retail-v2-bar {
  background: #090e14;
  border-bottom: 1px solid rgba(249, 115, 22, 0.32);
  color: #dbe3ed;
  letter-spacing: 0.045em;
}

.site-shell .stx-retail-promo-inner {
  gap: clamp(18px, 3vw, 34px);
  min-height: 34px;
}

.site-shell .stx-retail-promo-inner a {
  color: #dbe3ed;
  position: relative;
}

.site-shell .stx-retail-promo-inner a:hover,
.site-shell .stx-retail-promo-inner a:focus {
  color: #f59e0b;
}

.site-shell .stx-retail-header.stx-retail-v2 {
  background: rgba(13, 17, 23, 0.98);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.site-shell .stx-retail-utility {
  background: rgba(7, 11, 16, 0.86);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.site-shell .stx-retail-main {
  grid-template-columns: 210px minmax(340px, 1fr) auto;
  padding: 10px 0;
}

.site-shell .stx-retail-search {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(249, 115, 22, 0.88);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.site-shell .stx-retail-search:focus-within {
  border-color: #ff9f1a;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18), 0 14px 30px rgba(0, 0, 0, 0.24);
}

.site-shell .stx-retail-search button {
  background: linear-gradient(135deg, #d97706, #f97316);
  color: #0b1016;
  min-height: 40px;
  min-width: 40px;
  height: 40px;
  width: 48px;
}

.site-shell .stx-retail-mini {
  border-left: 1px solid rgba(148, 163, 184, 0.22);
  color: #9aa8b7;
}

.site-shell .stx-retail-mini:hover strong,
.site-shell .stx-retail-mini:focus strong {
  color: #f59e0b;
}

.site-shell .stx-retail-account {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  color: #f8fafc;
}

.site-shell .stx-retail-account:hover,
.site-shell .stx-retail-account:focus {
  background: rgba(249, 115, 22, 0.14);
  border-color: rgba(249, 115, 22, 0.48);
  color: #fff;
}

.site-shell .stx-retail-account--login {
  border-color: rgba(249, 115, 22, 0.42);
  color: #fdba74;
}

.site-shell .stx-retail-account--login:hover,
.site-shell .stx-retail-account--login:focus {
  background: rgba(249, 115, 22, 0.22);
  border-color: rgba(249, 115, 22, 0.7);
  color: #fff;
}

.site-shell .stx-retail-nav-wrap {
  background: rgba(31, 41, 55, 0.92);
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  border-bottom: 2px solid #f97316;
}

.site-shell .stx-retail-nav {
  gap: 2px;
}

.site-shell .stx-retail-nav > a,
.site-shell .stx-retail-nav > div > a {
  align-items: center;
  background: transparent;
  border-radius: 0;
  display: inline-flex;
  min-height: 48px;
  padding: 0 15px;
  position: relative;
}

.site-shell .stx-retail-nav > a::after,
.site-shell .stx-retail-nav > div > a::after {
  background: #f97316;
  bottom: 0;
  content: "";
  height: 2px;
  left: 14px;
  opacity: 0;
  position: absolute;
  right: 14px;
  transform: scaleX(0.6);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.site-shell .stx-retail-nav > a:hover,
.site-shell .stx-retail-nav > a:focus,
.site-shell .stx-retail-nav > div:hover > a,
.site-shell .stx-retail-nav > div:focus-within > a {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.site-shell .stx-retail-nav > a:hover::after,
.site-shell .stx-retail-nav > a:focus::after,
.site-shell .stx-retail-nav > div:hover > a::after,
.site-shell .stx-retail-nav > div:focus-within > a::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-shell .stx-retail-special {
  background: rgba(249, 115, 22, 0.1) !important;
  border: 1px solid rgba(249, 115, 22, 0.34);
  border-radius: 7px !important;
  color: #fbbf24 !important;
  margin: 5px 0 5px 8px;
  min-height: 38px !important;
}

.site-shell .stx-firearms-mega,
.site-shell .stx-optics-mega,
.site-shell .stx-ammo-mega,
.site-shell .stx-accessories-mega,
.site-shell .stx-mags-mega {
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-top: 2px solid #f97316;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.site-shell .stx-firearms-mega,
.site-shell .stx-optics-mega,
.site-shell .stx-ammo-mega,
.site-shell .stx-accessories-mega {
  grid-template-columns: 220px minmax(0, 1fr);
}

.site-shell .stx-firearms-rail,
.site-shell .stx-optics-rail,
.site-shell .stx-ammo-rail,
.site-shell .stx-accessories-rail {
  background: linear-gradient(180deg, #151d27, #111820);
  border-right: 1px solid rgba(15, 23, 42, 0.12);
  padding: 12px;
}

.site-shell .stx-firearms-rail a,
.site-shell .stx-retail-nav .stx-firearms-rail a,
.site-shell .stx-optics-rail a,
.site-shell .stx-retail-nav .stx-optics-rail a,
.site-shell .stx-ammo-rail a,
.site-shell .stx-retail-nav .stx-ammo-rail a,
.site-shell .stx-accessories-rail a,
.site-shell .stx-retail-nav .stx-accessories-rail a {
  border: 0;
  border-radius: 8px;
  color: #dbe3ed;
  font-size: 14px;
  font-weight: 850;
  margin: 2px 0;
  padding: 12px 13px;
  position: relative;
}

.site-shell .stx-firearms-rail a::before,
.site-shell .stx-optics-rail a::before,
.site-shell .stx-ammo-rail a::before,
.site-shell .stx-accessories-rail a::before {
  background: #f97316;
  border-radius: 999px;
  bottom: 10px;
  content: "";
  left: 0;
  opacity: 0;
  position: absolute;
  top: 10px;
  width: 3px;
}

.site-shell .stx-firearms-rail a:hover,
.site-shell .stx-firearms-rail a:focus,
.site-shell .stx-firearms-rail a.is-active,
.site-shell .stx-optics-rail a:hover,
.site-shell .stx-optics-rail a:focus,
.site-shell .stx-optics-rail a.is-active,
.site-shell .stx-ammo-rail a:hover,
.site-shell .stx-ammo-rail a:focus,
.site-shell .stx-ammo-rail a.is-active,
.site-shell .stx-accessories-rail a:hover,
.site-shell .stx-accessories-rail a:focus,
.site-shell .stx-accessories-rail a.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.site-shell .stx-firearms-rail a:hover::before,
.site-shell .stx-firearms-rail a:focus::before,
.site-shell .stx-firearms-rail a.is-active::before,
.site-shell .stx-optics-rail a:hover::before,
.site-shell .stx-optics-rail a:focus::before,
.site-shell .stx-optics-rail a.is-active::before,
.site-shell .stx-ammo-rail a:hover::before,
.site-shell .stx-ammo-rail a:focus::before,
.site-shell .stx-ammo-rail a.is-active::before,
.site-shell .stx-accessories-rail a:hover::before,
.site-shell .stx-accessories-rail a:focus::before,
.site-shell .stx-accessories-rail a.is-active::before {
  opacity: 1;
}

.site-shell .stx-firearms-panel,
.site-shell .stx-optics-panel,
.site-shell .stx-ammo-panel,
.site-shell .stx-accessories-panel {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  padding: 28px 32px 30px;
}

.site-shell .stx-mags-panel {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  padding: 28px 32px 30px;
}

.site-shell .stx-firearms-panel h3,
.site-shell .stx-optics-panel h3,
.site-shell .stx-ammo-panel h3,
.site-shell .stx-accessories-panel h3 {
  border-bottom: 1px solid #dbe3ed;
  color: #0f172a;
  font-size: 15px;
  letter-spacing: 0.055em;
  margin-bottom: 16px;
  padding-bottom: 12px;
}

.site-shell .stx-firearms-card-grid,
.site-shell .stx-optics-card-grid,
.site-shell .stx-ammo-card-grid,
.site-shell .stx-accessories-card-grid,
.site-shell .stx-mags-card-grid {
  gap: 0 26px;
}

.site-shell .stx-firearms-card-grid a,
.site-shell .stx-retail-nav .stx-firearms-card-grid a,
.site-shell .stx-optics-card-grid a,
.site-shell .stx-retail-nav .stx-optics-card-grid a,
.site-shell .stx-ammo-card-grid a,
.site-shell .stx-retail-nav .stx-ammo-card-grid a,
.site-shell .stx-accessories-card-grid a,
.site-shell .stx-retail-nav .stx-accessories-card-grid a,
.site-shell .stx-mags-card-grid a,
.site-shell .stx-retail-nav .stx-mags-card-grid a {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e5eaf0;
  border-radius: 0;
  color: #1f2937;
  min-height: 46px;
  padding: 12px 2px;
  position: relative;
}

.site-shell .stx-firearms-card-grid a::after,
.site-shell .stx-optics-card-grid a::after,
.site-shell .stx-ammo-card-grid a::after,
.site-shell .stx-accessories-card-grid a::after,
.site-shell .stx-mags-card-grid a::after {
  color: #f97316;
  content: ">";
  font-size: 13px;
  margin-left: auto;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.site-shell .stx-firearms-card-grid a:hover,
.site-shell .stx-firearms-card-grid a:focus,
.site-shell .stx-optics-card-grid a:hover,
.site-shell .stx-optics-card-grid a:focus,
.site-shell .stx-ammo-card-grid a:hover,
.site-shell .stx-ammo-card-grid a:focus,
.site-shell .stx-accessories-card-grid a:hover,
.site-shell .stx-accessories-card-grid a:focus,
.site-shell .stx-mags-card-grid a:hover,
.site-shell .stx-mags-card-grid a:focus {
  background: transparent;
  border-color: #f97316;
  color: #b45309;
}

.site-shell .stx-firearms-card-grid a:hover::after,
.site-shell .stx-firearms-card-grid a:focus::after,
.site-shell .stx-optics-card-grid a:hover::after,
.site-shell .stx-optics-card-grid a:focus::after,
.site-shell .stx-ammo-card-grid a:hover::after,
.site-shell .stx-ammo-card-grid a:focus::after,
.site-shell .stx-accessories-card-grid a:hover::after,
.site-shell .stx-accessories-card-grid a:focus::after,
.site-shell .stx-mags-card-grid a:hover::after,
.site-shell .stx-mags-card-grid a:focus::after {
  opacity: 1;
  transform: translateX(0);
}

.site-shell .stx-accessories-link-group {
  border-bottom: 1px solid #e5eaf0;
}

.site-shell .stx-accessories-link-group a,
.site-shell .stx-ammo-also a {
  color: #2563a8;
}

.site-shell .stx-firearms-receivers {
  background: linear-gradient(135deg, #fff7ed, #ffffff);
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-radius: 10px;
  padding: 18px;
}

.site-shell .stx-firearms-view-all,
.site-shell .stx-retail-nav .stx-firearms-view-all,
.site-shell .stx-optics-view-all,
.site-shell .stx-retail-nav .stx-optics-view-all,
.site-shell .stx-ammo-view-all,
.site-shell .stx-retail-nav .stx-ammo-view-all,
.site-shell .stx-mags-view-all,
.site-shell .stx-retail-nav .stx-mags-view-all,
.site-shell .stx-accessories-view-all,
.site-shell .stx-retail-nav .stx-accessories-view-all {
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.18);
  color: #111827;
  padding: 11px 18px;
}

.site-shell .stx-mobile-menu {
  background: rgba(10, 15, 21, 0.98);
}

.site-shell .stx-mobile-group {
  border-radius: 10px;
}

.site-shell .stx-accessories-link-group h4 a {
  color: #0f172a;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-shell .stx-accessories-link-group h4 a:hover,
.site-shell .stx-accessories-link-group h4 a:focus {
  color: #b45309;
}

/* Promo bar: edge fade cue when links scroll horizontally on narrow phones */
.site-shell .stx-retail-v2-bar {
  position: relative;
}

@media (max-width: 760px) {
  .site-shell .stx-retail-v2-bar::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 2.25rem;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(242, 140, 24, 0), #f28c18 85%);
    z-index: 1;
  }

  .site-shell .stx-retail-promo-inner {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
    padding-right: 1.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .site-shell .stx-retail-promo-inner::-webkit-scrollbar {
    display: none;
  }

  .site-shell .stx-retail-promo-inner a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 6px;
  }

  .site-shell .stx-retail-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 12px;
  }

  .site-shell .stx-retail-logo {
    flex: 1 1 auto;
    min-width: 0;
    order: 1;
  }

  .site-shell .stx-retail-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    order: 2;
    margin-left: auto;
  }

  .site-shell .stx-mobile-menu-toggle {
    flex: 0 0 auto;
    order: 3;
  }

  .site-shell .stx-retail-search {
    order: 4;
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .site-shell .stx-mobile-menu.is-open {
    max-height: calc(100dvh - var(--stx-mobile-header-height, 92px));
    max-height: calc(100vh - var(--stx-mobile-header-height, 92px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-shell .stx-mobile-menu a,
  .site-shell .stx-mobile-group summary {
    min-height: 44px;
  }
}

/* RC 3.3.16 — global overflow / ultra-narrow polish (safe, non-behavioral). */
html {
  overflow-x: clip;
}

body.site-shell,
.site-shell {
  overflow-x: clip;
  max-width: 100%;
}

.site-shell .stx-retail-container,
.site-shell .stx-container,
.site-shell .stx-footer .stx-retail-container {
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 375px) {
  .site-shell .stx-retail-container,
  .site-shell .stx-container {
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
  }

  .site-shell .stx-retail-hero h1,
  .site-shell .stx-page-intro__title,
  .site-shell .stx-page-hero h1 {
    font-size: clamp(1.55rem, 8vw, 2.1rem);
    overflow-wrap: anywhere;
  }

  .site-shell .stx-btn,
  .site-shell .stx-retail-search button,
  .site-shell .stx-mobile-menu-toggle {
    min-height: 44px;
  }

  .site-shell .stx-product-card,
  .site-shell .stx-home-category-card {
    max-width: 100%;
  }
}

@media (max-width: 320px) {
  .site-shell .stx-retail-actions .stx-retail-cart {
    min-width: 40px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .site-shell .stx-footer-contact-list {
    overflow-wrap: anywhere;
  }
}
