/*
 * Homepage-only visual bundle.
 * Generated from the global/home sections of polish-v3.css and
 * support-pages-v1.css so internal-page and checkout CSS does not block LCP.
 */
/* CMC by SCULPT — final visual polish */
:root{--cmc-blue:#233b78;--cmc-red:#df202d;--cmc-ink:#07090d;--cmc-panel:#111722;--cmc-editorial:"Libre Baskerville",Georgia,serif;--cmc-surface:#fff;--cmc-surface-soft:#f3f5f7}
.announcement{background:#b30f24!important;border:0!important;box-shadow:none!important}
.announcement a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.search-panel{padding:26px 20px!important}
.search-panel form{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:10px;max-width:1120px!important}
.search-panel .search-field{width:100%;min-height:54px;padding:14px 18px!important}
.search-panel .search-submit{width:auto!important;min-width:124px;min-height:54px;padding:12px 22px!important;border:1px solid var(--cmc-red);background:var(--cmc-red);color:#fff;font-weight:800;cursor:pointer}
.search-panel .search-submit:hover,.search-panel .search-submit:focus-visible{background:var(--cmc-blue);border-color:var(--cmc-blue)}

/* Keep the mobile drawer out of document flow until it is intentionally opened. */
.mobile-drawer[hidden]{display:none!important}
body.drawer-open{overflow:hidden}

/* Buttons and text links */
.button--primary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button{color:#fff!important;text-shadow:none!important;box-shadow:0 14px 26px rgba(2,7,18,.24)!important}
.button--primary:hover,.button--primary:focus-visible,
.woocommerce a.button:hover,.woocommerce a.button:focus-visible,
.woocommerce button.button:hover,.woocommerce button.button:focus-visible,
.woocommerce input.button:hover,.woocommerce input.button:focus-visible{background:var(--cmc-blue)!important;color:#fff!important;box-shadow:0 16px 30px rgba(2,7,18,.34)!important}
.woocommerce a.button.disabled,.woocommerce a.button:disabled,.woocommerce a.button:disabled[disabled],
.woocommerce button.button.disabled,.woocommerce button.button:disabled,.woocommerce button.button:disabled[disabled]{background:#d9dce5!important;color:#fff!important;box-shadow:none!important;cursor:not-allowed}
.text-link{position:relative;text-decoration:none}
.text-link:after{content:"";position:absolute;left:0;bottom:-5px;width:0;height:2px;background:currentColor;transition:width .25s ease}
.text-link svg{transition:transform .25s ease}
.text-link:hover:after,.text-link:focus-visible:after{width:100%}
.text-link:hover svg,.text-link:focus-visible svg{transform:translateX(5px)}

/* Homepage video: self-hosted, responsive and readable. */
.video-story{min-height:clamp(520px,52vw,820px);background:#030406;overflow:hidden}
.video-story__media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 48%}
.video-story__shade{background:linear-gradient(90deg,rgba(2,4,9,.9) 0%,rgba(2,4,9,.58) 50%,rgba(2,4,9,.25) 100%),linear-gradient(0deg,rgba(2,4,9,.5),transparent 55%)}
@media(max-width:680px){.video-story{min-height:650px}.video-story__media{object-position:center center}.video-story__shade{background:linear-gradient(0deg,rgba(2,4,9,.9) 0%,rgba(2,4,9,.5) 70%,rgba(2,4,9,.32) 100%)}}

/* Square category tiles use crisp uploaded line icons with centered labels. */
.category-grid{gap:22px}
.category-card{position:relative;aspect-ratio:1/1;background:linear-gradient(145deg,#141a24,#06080c)!important;border:1px solid #29303c!important;border-radius:14px!important;padding:28px 20px 24px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;text-align:center!important;overflow:hidden;box-shadow:0 12px 30px rgba(2,7,18,.12);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease,background .25s ease}
.category-card:before{content:"";position:absolute;inset:auto -22% -38% 25%;height:70%;background:radial-gradient(circle,rgba(35,59,120,.38),transparent 68%);transition:transform .3s ease,opacity .3s ease}
.category-card>.category-card__icon{position:relative!important;inset:auto!important;z-index:1;display:grid!important;place-items:center!important;flex:0 0 80px!important;width:80px!important;height:80px!important;margin:0 auto!important;align-self:center!important;border-radius:20px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);color:#fff}
.category-card__icon svg{width:54px;height:54px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.category-card>.category-card__body{position:static!important;inset:auto!important;left:auto!important;right:auto!important;bottom:auto!important;z-index:1;width:100%!important;margin:clamp(24px,2.4vw,30px) 0 0!important;transform:none!important;text-align:center!important;align-self:center!important}
.category-card__body h3{display:block!important;width:100%!important;color:#fff!important;margin:0 0 10px!important;font-size:clamp(1.35rem,2vw,1.8rem);line-height:1.05;text-align:center!important}
.category-card__body span{color:#aeb6c5!important;font-size:.82rem;text-transform:uppercase;letter-spacing:.08em}
.category-card:hover,.category-card:focus-visible{transform:translateY(-8px)!important;border-color:#3b4d70!important;background:linear-gradient(145deg,#141a24,#06080c)!important;box-shadow:0 24px 48px rgba(2,7,18,.25)}
.category-card:hover .category-card__body h3,.category-card:focus-visible .category-card__body h3{color:var(--cmc-red)!important}
@media(max-width:720px){.category-card{padding:22px 16px 18px!important}.category-card>.category-card__icon{flex-basis:72px!important;width:72px!important;height:72px!important;border-radius:18px}.category-card__icon svg{width:44px;height:44px}.category-card>.category-card__body{margin-top:24px!important}.category-card__body span{display:none!important}}

/* Newsletter uses the actual Texas-outline CMC favicon. */
.cmc-newsletter__mark{background:transparent!important;border:0!important;box-shadow:none!important;width:90px!important;height:90px!important;padding:0!important}
.cmc-newsletter__mark:before,.cmc-newsletter__mark:after{display:none!important}
.cmc-newsletter__mark img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 10px 18px rgba(0,0,0,.3))}

/* Warranty promise icons */
.trust-strip__icon{background:rgba(255,255,255,.035)!important;border-color:rgba(255,255,255,.18)!important;box-shadow:none!important}
.trust-strip__icon svg{fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}

/* Full-bleed internal page-title media with a strong readability overlay. */
.page-hero{position:relative;isolation:isolate;overflow:hidden;min-height:clamp(360px,38vw,610px);display:flex;align-items:flex-end;background:#05070b!important;padding:clamp(72px,10vw,145px) 0 clamp(60px,8vw,110px)}
.page-hero__media{position:absolute;inset:0;z-index:-2}
.page-hero__media img,.page-hero__media video{width:100%;height:100%;object-fit:cover;object-position:center}
.page-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(3,5,9,.92) 0%,rgba(4,7,13,.66) 48%,rgba(4,7,13,.3) 100%),linear-gradient(0deg,rgba(2,3,6,.52),transparent 55%)}
.page-hero .shell{position:relative;z-index:1;width:100%}
.page-hero .eyebrow{color:#ef3a44;margin:0 0 12px}
.page-hero h1{color:#fff;font-size:clamp(4rem,9vw,8rem);line-height:.86;max-width:1050px;text-shadow:0 8px 30px rgba(0,0,0,.35)}
@media(max-width:680px){.page-hero{min-height:400px}.page-hero__media video{object-position:center}.page-hero h1{font-size:clamp(3.2rem,17vw,5.4rem)}}

/* Dealer locator: consistent, compact logo thumbnails with rollover feedback. */
.page-dealer-locator .entry-content{max-width:1240px}
.dealer-logo-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;margin:32px 0 64px}
.dealer-logo-grid figure{margin:0!important;min-width:0;background:#fff;border:1px solid #dde1e8;border-radius:12px;min-height:150px;padding:20px;display:grid;place-items:center;box-shadow:0 8px 24px rgba(8,15,30,.08);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.dealer-logo-grid figure:hover,.dealer-logo-grid figure:focus-within{transform:translateY(-7px);border-color:var(--cmc-blue);box-shadow:0 18px 36px rgba(8,15,30,.16)}
.dealer-logo-grid img{display:block!important;width:100%!important;max-width:185px!important;height:90px!important;object-fit:contain!important;margin:auto!important;filter:saturate(.88);transition:filter .25s ease,transform .25s ease}
.dealer-logo-grid figure:hover img{filter:saturate(1.1);transform:scale(1.04)}
@media(max-width:900px){.dealer-logo-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.dealer-logo-grid{grid-template-columns:repeat(2,1fr);gap:14px}.dealer-logo-grid figure{min-height:120px;padding:14px}}

/* Dark product media treatment for full-width internal product storytelling. */
.entry-content .wp-block-cover,.entry-content .wp-block-media-text{border-radius:12px;overflow:hidden}
.entry-content .wp-block-media-text__media{background:#050608}

/* Relevant mega-menu image cards stay clean and modern. */
.mega-menu-panel .menu-card__media,.primary-menu .sub-menu .menu-card__media{background:#080b10;border-color:#2a313d}
.mega-menu-panel .menu-card__media img,.primary-menu .sub-menu .menu-card__media img{object-fit:contain;padding:10px}

@media(prefers-reduced-motion:reduce){.video-story__media,.page-hero__media video{display:none}.category-card,.text-link svg,.dealer-logo-grid figure,.dealer-logo-grid img{transition:none!important}}

/* CMC-blue quick actions with the existing shadow and red interaction state. */
.sculpt-sticky-bar{background:rgba(23,61,120,.97)!important;box-shadow:0 18px 50px #000!important}
.sculpt-sticky-bar a:hover,.sculpt-sticky-bar a:focus-visible{background:var(--red)!important;color:#fff!important}

/* Small-screen wrapping safeguards for the review ribbon, announcement, and hero copy. */
@media(max-width:680px){
  .staging-ribbon,.announcement{height:auto;line-height:1.35;overflow-wrap:anywhere;white-space:normal}
  .announcement a{display:block;max-width:100%;overflow-wrap:anywhere;white-space:normal}
  .video-story__content{width:auto;max-width:100%}
  .video-story h2{max-width:100%;font-size:clamp(46px,13vw,52px);overflow-wrap:normal;word-break:normal}
}
.page-hero>.shell{width:min(calc(100% - 40px),var(--max))!important;margin-inline:auto!important}
@media(max-width:680px){.page-hero>.shell{width:min(calc(100% - 28px),var(--max))!important}}

/* Mega-menu parity: trigger links use the same clean lateral hover motion as Parts. */
.primary-menu .mega-menu--triggers .mega-menu-group a:hover,
.primary-menu .mega-menu--triggers .mega-menu-group a:focus-visible{transform:translateX(5px)!important}

/* Product actions stay crisp and flat on catalog pages. */
:is(.page-ar15-ar10,.page-ak47,.page-glock,.page-ruger,.page-receivers,.page-parts,.page-gear) .entry-content li[id^="woopack-product-"] :is(a.button,button,.button),
.woocommerce ul.products li.product :is(a.button,button,.button),
.products li.product :is(a.button,button,.button){box-shadow:none!important}
:is(.page-ar15-ar10,.page-ak47,.page-glock,.page-ruger,.page-receivers,.page-parts,.page-gear) .entry-content li[id^="woopack-product-"] :is(a.button,button,.button):hover,
.woocommerce ul.products li.product :is(a.button,button,.button):hover,
.products li.product :is(a.button,button,.button):hover{box-shadow:none!important}

/* Keep Credova visible on every single-product page. */
.single-product .summary.entry-summary>.credova-response-amount,
.single-product .summary.entry-summary>[class^="credova-response-amount-"],
.single-product .summary.entry-summary>[class*=" credova-response-amount-"]{
  display:block!important;
  width:100%;
  margin:18px 0 8px!important;
  padding:14px 16px!important;
  border:1px solid #d7dfeb;
  border-left:4px solid #9cdb19;
  border-radius:6px;
  background:#f5f7fa!important;
  color:#13233f!important;
  font:600 15px/1.45 Inter,system-ui,sans-serif!important;
  box-shadow:none!important;
}
.single-product .summary.entry-summary>.credova-response-amount a,
.single-product .summary.entry-summary>[class^="credova-response-amount-"] a,
.single-product .summary.entry-summary>[class*=" credova-response-amount-"] a{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:4px;
  color:#173d78!important;
  text-decoration:none;
}
.single-product .summary.entry-summary :is(.crdv-button-brand,.crdv-button-brand svg){display:inline-block;width:78px;height:auto}
.single-product .summary.entry-summary .crdv-learn-more{font-weight:800;text-decoration:underline;text-underline-offset:3px}

/* Legacy platform pages: turn imported builder product lists into a modern CMC catalog. */
:is(.page-ar15-ar10,.page-ak47,.page-glock,.page-ruger,.page-receivers,.page-parts,.page-gear),
body:is(.page-ar15-ar10,.page-ak47,.page-glock,.page-ruger,.page-receivers,.page-parts,.page-gear) #main-content{
  background:#eef1f4;
  color:#111827;
}
:is(.page-ar15-ar10,.page-ak47,.page-glock,.page-ruger,.page-receivers,.page-parts,.page-gear)>.entry-content{
  width:min(calc(100% - 40px),var(--max));
  max-width:var(--max);
  margin:0 auto;
  padding:clamp(42px,5vw,68px) 0 clamp(62px,7vw,105px);
  color:#344054;
}
:is(.page-ar15-ar10,.page-ak47,.page-glock,.page-ruger,.page-receivers,.page-parts,.page-gear)>.entry-content :is(p,li){color:#344054}
:is(.page-ar15-ar10,.page-ak47,.page-glock,.page-ruger,.page-receivers,.page-parts,.page-gear)>.entry-content h2{color:#101827}
body :is(.page-ar15-ar10,.page-ak47,.page-glock,.page-ruger,.page-receivers,.page-parts,.page-gear)>.entry-content>h2{
  margin:0 0 8px;
  color:#173d78;
  font:700 16px/1.2 var(--cmc-sans,"Poppins",sans-serif);
  font-family:var(--cmc-sans,"Poppins",sans-serif)!important;
  font-weight:700!important;
  letter-spacing:.1em!important;
  text-transform:uppercase!important;
}
:is(.page-ar15-ar10,.page-ak47,.page-glock,.page-ruger,.page-receivers,.page-parts,.page-gear)>.entry-content>h1:first-child{display:none}
:is(.page-ar15-ar10,.page-ak47,.page-glock,.page-ruger,.page-receivers,.page-parts,.page-gear)>.entry-content>h3{
  position:relative;
  margin:0 0 10px;
  padding:0 0 15px;
  color:var(--cmc-red);
  font:800 clamp(34px,4.5vw,54px)/1 "Barlow Condensed",sans-serif;
  letter-spacing:.01em;
  text-transform:uppercase;
}
:is(.page-ar15-ar10,.page-ak47,.page-glock,.page-ruger,.page-receivers,.page-parts,.page-gear)>.entry-content>h3:after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:78px;
  height:4px;
  background:linear-gradient(90deg,var(--cmc-red) 0 44%,#fff 44% 56%,var(--cmc-blue) 56% 100%);
}

/* Every CMC section accent carries the complete red, white and blue brand rule. */
.section-rule{
  background:linear-gradient(90deg,var(--cmc-red) 0 44%,#fff 44% 56%,var(--cmc-blue) 56% 100%)!important;
}
.category-card::before{display:none!important}

/* Use the open Glock editorial column for a relevant product image. */
.page-glock>.entry-content{position:relative;min-height:760px}
.page-glock>.entry-content:before{
  content:"";
  position:absolute;
  top:clamp(85px,8vw,135px);
  right:0;
  width:min(38%,510px);
  height:clamp(420px,38vw,590px);
  border:1px solid #252d3a;
  border-radius:16px;
  background:#fff url("https://cmctriggers.com/wp-content/uploads/2026/04/glockgen6cct.jpg") center/contain no-repeat;
  box-shadow:0 24px 60px rgba(0,0,0,.34);
}
.page-glock>.entry-content>h3,
.page-glock>.entry-content>p{
  max-width:min(58%,800px);
  padding-right:clamp(24px,3.5vw,58px);
  box-sizing:border-box;
}

/* CTA areas are a clean, solid CMC blue. */
.dealer-cta{background:#102d59!important}
.dealer-cta:before{display:none!important}

@media(max-width:900px){
  .page-glock>.entry-content{min-height:0}
  .page-glock>.entry-content:before{position:relative;display:block;top:auto;right:auto;width:100%;height:min(76vw,520px);margin:0 0 44px}
  .page-glock>.entry-content>h3,
  .page-glock>.entry-content>p{max-width:none;padding-right:0}
}

/* Staccato-inspired typography: editorial display faces with a clean modern sans. */
:root{
  --cmc-sans:"Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --cmc-editorial:"Playfair Display",Georgia,serif;
}
body,
button,
input,
select,
textarea,
.woocommerce,
.entry-content{font-family:var(--cmc-sans)!important}
p,
li,
.entry-content p,
.entry-content li{font-family:var(--cmc-sans);font-weight:400}
.section-heading h2,
.brand-proof h2,
.entry-content>h2:not(.woocommerce-loop-product__title),
.editorial-heading{font-family:var(--cmc-editorial)!important;font-weight:500!important;letter-spacing:-.025em;text-transform:none!important}
.primary-menu>li>a,
.mobile-menu a,
.mega-menu a,
.button,
.woocommerce a.button,
.woocommerce button.button{font-family:var(--cmc-sans)!important}

/* Sticky quick actions: compact line icons sit clearly above each label. */
.sculpt-sticky-bar{
  align-items:stretch;
  padding:6px 8px!important;
}
.sculpt-sticky-bar a{
  display:flex!important;
  min-width:112px;
  flex-direction:column;
  justify-content:center;
  gap:4px!important;
  padding:8px 18px!important;
  text-align:center;
}
.sculpt-sticky-bar__icon{
  display:grid;
  place-items:center;
  height:22px;
  color:#fff;
}
.sculpt-sticky-bar__icon svg{
  display:block;
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.sculpt-sticky-bar__label{display:block;line-height:1.15}

/* Product cards: crisp white surfaces with only a subtle corner radius. */
:is(.page-ar15-ar10,.page-ak47,.page-glock,.page-ruger,.page-receivers,.page-parts,.page-gear) .entry-content>ul:has(>li[id^="woopack-product-"])>li,
.woocommerce ul.products li.product,
.products li.product{
  background:#fff!important;
  border:1px solid #e4e7ec!important;
  border-radius:4px!important;
  box-shadow:none!important;
}
:is(.page-ar15-ar10,.page-ak47,.page-glock,.page-ruger,.page-receivers,.page-parts,.page-gear) .entry-content li[id^="woopack-product-"]>a:first-child,
.woocommerce ul.products li.product a img,
.products li.product a img{
  background:#fff!important;
  border-radius:2px!important;
  box-shadow:none!important;
}
:is(.page-ar15-ar10,.page-ak47,.page-glock,.page-ruger,.page-receivers,.page-parts,.page-gear) .entry-content li[id^="woopack-product-"]>a:first-child{
  background:#fff!important;
}
:is(.page-ar15-ar10,.page-ak47,.page-glock,.page-ruger,.page-receivers,.page-parts,.page-gear) .entry-content>ul:has(>li[id^="woopack-product-"])>li:hover,
.woocommerce ul.products li.product:hover,
.products li.product:hover{
  border-color:#c9d1dc!important;
  box-shadow:none!important;
}

@media(max-width:680px){
  .sculpt-sticky-bar a{min-width:0;flex:1;padding:7px 8px!important}
  .sculpt-sticky-bar__icon svg{width:18px;height:18px}
}
/* 2026-11 header, mega-menu, and catalog surface refinements. */
.staging-ribbon{display:none!important}
.site-header{
  background:transparent!important;
  border:0!important;
  box-shadow:none;
  backdrop-filter:none;
}
.site-header__utility{
  background:#103b6d!important;
  border:0!important;
}
.site-header__inner{
  width:min(calc(100% - 56px),1440px);
  height:76px;
  grid-template-columns:minmax(190px,230px) minmax(320px,1fr) auto;
  gap:24px;
}
.site-header__notice,
.site-header__notice .announcement{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  height:auto;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:14px;
  line-height:1.35;
  text-align:center;
}
.site-header__notice .announcement a{
  color:#fff!important;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
.header-actions{display:flex;justify-content:flex-end;justify-self:end;gap:10px}
.header-actions .icon-button{
  width:44px;
  height:44px;
  border:0;
  border-radius:0;
  background:transparent;
  color:#fff;
}
.header-actions .icon-button:hover,.header-actions .icon-button:focus-visible{
  background:rgba(255,255,255,.1);
  border-color:transparent;
  color:#fff;
  transform:none;
}
.header-actions .icon-button svg{width:24px;height:24px}
.header-actions .search-toggle{display:grid}
.cmc-cart-count{background:#fff;color:#103b6d;font-weight:800}
.site-header__nav-row{
  background:rgba(5,10,17,.62)!important;
  border:0!important;
  backdrop-filter:blur(10px);
  transition:background-color .2s ease,color .2s ease;
}
.site-header__nav-inner{height:66px;justify-content:center}
.site-header__nav-row:hover,.site-header__nav-row:focus-within{background:#fff!important}
.site-header__nav-row:hover .primary-menu>li>a,
.site-header__nav-row:focus-within .primary-menu>li>a{color:#111827}
.site-header__nav-row .primary-menu>li>a{color:#fff;transition:color .2s ease}
.site-header__nav-row .primary-menu>li>a::after{background:#173d78}
.site-header__nav-row:hover .primary-menu>li:hover>a,
.site-header__nav-row:focus-within .primary-menu>li:focus-within>a{color:#173d78}

/* Desktop mega menus open as one clean white editorial surface. */
.primary-menu>li>.sub-menu,
.primary-menu>li>.sub-menu.mega-menu-groups{
  background:#fff!important;
  border-color:#d7deea!important;
  color:#111827;
}
.primary-menu .mega-menu-group a{color:#173d78!important}
.primary-menu .mega-menu-group a:hover,.primary-menu .mega-menu-group a:focus-visible{color:#d51f2b!important}

/* Gear cards stay compact and run horizontally across the dropdown. */
.primary-menu>li>.sub-menu.mega-menu--gear{
  grid-template-columns:minmax(210px,.62fr) minmax(0,2.38fr)!important;
  align-items:start;
}
.primary-menu .mega-menu--gear>.mega-menu-intro{max-width:280px}
.primary-menu .mega-menu--gear>.mega-menu-gear-cards{grid-column:2!important;max-width:none!important}
.primary-menu .mega-menu-gear-cards>ul{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(120px,1fr))!important;
  gap:14px!important;
}
.primary-menu .mega-menu-gear-cards li>a{
  display:grid!important;
  min-height:112px!important;
  grid-template-rows:70px auto!important;
  gap:8px!important;
  padding:10px!important;
  background:#f3f5f7!important;
  border:1px solid #d51f2b!important;
  border-radius:3px!important;
}
.primary-menu .mega-menu-gear-cards img{height:70px!important;background:#fff!important}
.primary-menu .mega-menu-gear-cards span{color:#111827!important}
.primary-menu .mega-menu-gear-cards li>a:hover,.primary-menu .mega-menu-gear-cards li>a:focus-visible{
  background:#fff!important;
  border-color:#173d78!important;
  transform:translateY(-2px);
}

/* Brand destinations use compact light-gray logo buttons with red outlines. */
.primary-menu>li>.sub-menu.mega-menu--our-brands{
  grid-template-columns:minmax(210px,.58fr) repeat(2,minmax(240px,1fr))!important;
  gap:20px!important;
}
.primary-menu .mega-menu--our-brands>.mega-menu-intro{max-width:280px}
.primary-menu .mega-brand-card>a{
  min-height:142px!important;
  padding:16px 24px!important;
  background:#f3f5f7!important;
  border:1px solid #d51f2b!important;
  border-radius:3px!important;
}
.primary-menu .mega-brand-card>a:hover,.primary-menu .mega-brand-card>a:focus-visible{
  background:#fff!important;
  border-color:#173d78!important;
  transform:translateY(-2px);
}
.mega-brand-card__logo{height:96px!important}
.mega-brand-card__logo--stt{height:112px!important;flex-direction:column;gap:1px!important}
.mega-brand-card__logo--stt img{height:62px!important;mix-blend-mode:multiply}
.mega-brand-card__stt-word{display:flex;flex-direction:column;align-items:center;color:#050608;line-height:1;text-align:center}
.mega-brand-card__stt-word strong{font:800 29px/.82 "Barlow Condensed",sans-serif;letter-spacing:.02em}
.mega-brand-card__stt-word small{margin-top:5px;font:800 11px/1 Inter,sans-serif;letter-spacing:.32em}
.mega-brand-card__logo--sousa{height:104px!important;gap:4px!important}
.mega-brand-card__sousa-mark{width:58px!important;height:58px!important;background-size:284px 58px!important;background-position:0 center!important}
.mega-brand-card__sousa-word{width:236px!important;height:42px!important;background-size:284px 58px!important;background-position:-58px center!important;filter:brightness(0) saturate(100%)!important}

/* Product grids: pure white cards and images with a fine CMC-blue outline. */
body .woocommerce ul.products li.product,
body .products li.product,
body .product-section .woocommerce ul.products li.product,
:is(.page-ar15-ar10,.page-ak47,.page-glock,.page-ruger,.page-receivers,.page-parts,.page-gear) .entry-content>ul:has(>li[id^="woopack-product-"])>li{
  padding:16px!important;
  background:#fff!important;
  border:1px solid #9eb2d2!important;
  border-radius:3px!important;
  box-shadow:none!important;
}
body .woocommerce ul.products li.product a img,
body .products li.product a img,
:is(.page-ar15-ar10,.page-ak47,.page-glock,.page-ruger,.page-receivers,.page-parts,.page-gear) .entry-content li[id^="woopack-product-"]>a:first-child,
:is(.page-ar15-ar10,.page-ak47,.page-glock,.page-ruger,.page-receivers,.page-parts,.page-gear) .entry-content li[id^="woopack-product-"]>a:first-child img{
  background:#fff!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

@media(max-width:1000px){
  .site-header__utility{background:#103b6d!important}
  .site-header__inner{
    width:100%;
    height:auto;
    min-height:0;
    padding:0 14px 10px;
    grid-template-columns:minmax(96px,1fr) auto;
    grid-template-rows:auto 58px;
    gap:0 8px;
  }
  .site-header__notice{
    display:flex!important;
    grid-column:1/-1;
    grid-row:1;
    min-height:40px;
    padding:7px 10px!important;
    font-size:11px;
    line-height:1.3;
    white-space:normal;
  }
  .site-header__notice .announcement{
    width:100%;
    font-size:inherit;
    line-height:inherit;
    white-space:normal;
  }
  .site-branding{grid-column:1;grid-row:2;align-self:center;min-width:0}
  .header-actions{grid-column:2;grid-row:2;align-self:center}
  .header-actions .search-toggle,.header-actions .menu-toggle{display:grid}
  .site-header__nav-row{display:none}
  .mobile-menu .mega-menu-gear-cards>ul{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .mobile-menu .mega-menu-gear-cards li>a,.mobile-menu .mega-brand-card>a{background:#f3f5f7!important;border-color:#d51f2b!important}
  .mobile-menu .mega-brand-card__sousa-word{filter:brightness(0) saturate(100%)!important}
}
@media(max-width:560px){
  .site-header__inner{height:auto;grid-template-rows:auto 54px;padding:0 10px 8px}
  .site-header__notice{min-height:38px;padding:6px 2px!important;font-size:10px;line-height:1.25}
  .site-branding .custom-logo,.site-title--logo img{max-width:106px;max-height:38px}
  .header-actions{gap:0}
  .header-actions .icon-button{width:36px;height:36px}
  .header-actions .icon-button svg{width:20px;height:20px}
  .mobile-menu .mega-menu-gear-cards>ul{grid-template-columns:1fr!important}
}

/* Final header direction: restore the notice, keep both header rows black,
   center the navigation, and reserve light gray for mega-menu panels. */
.site-header,
.site-header__utility,
.site-header__nav-row,
.site-header__nav-row:hover,
.site-header__nav-row:focus-within{
  background:#050608!important;
  border-color:rgba(255,255,255,.1)!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.site-header__utility{border-bottom:1px solid rgba(255,255,255,.08)!important}
.site-header__inner>.header-product-search{display:none!important}
.site-header__inner{grid-template-columns:minmax(190px,230px) minmax(320px,1fr) minmax(190px,230px)}
.site-header__notice,
.site-header__notice .announcement{color:#fff!important}
.site-header__notice .announcement{
  width:min(100%,780px);
  min-height:42px;
  padding:9px 24px!important;
  background:#b50f22!important;
}
.site-header__notice .announcement a{color:#fff!important}
.site-header__nav-row .primary-menu>li>a,
.site-header__nav-row:hover .primary-menu>li>a,
.site-header__nav-row:focus-within .primary-menu>li>a{color:#fff!important}
.site-header__nav-row .primary-menu>li:hover>a,
.site-header__nav-row .primary-menu>li:focus-within>a{color:#e3202d!important}
.site-header__nav-row .primary-menu>li>a::after{background:#e3202d!important}
.header-actions .icon-button,
.header-actions .icon-button:hover,
.header-actions .icon-button:focus-visible{
  background:transparent!important;
  border:0!important;
  color:#e3202d!important;
  box-shadow:none!important;
}
.header-actions .icon-button:hover,
.header-actions .icon-button:focus-visible{color:#fff!important}
.header-actions{
  position:absolute;
  right:max(28px,calc((100vw - 1440px)/2));
  bottom:11px;
  z-index:3;
}
.cmc-cart-count{background:#e3202d!important;color:#fff!important}
.primary-menu>li>.sub-menu,
.primary-menu>li>.sub-menu.mega-menu-groups{
  background:#eef1f4!important;
  border-color:#cfd6df!important;
  color:#222a35!important;
  box-shadow:0 18px 42px rgba(0,0,0,.18)!important;
}
.primary-menu .mega-menu-intro{border-color:#c4cbd5!important}
.primary-menu .mega-menu-intro>p:not(.mega-menu-intro__eyebrow){color:#4b5563!important}
.primary-menu .mega-menu-group{background:#eef1f4!important;border-color:#cfd6df!important}
.primary-menu .mega-menu-group__title{color:#e3202d!important}
.primary-menu .mega-menu-group a{color:#111827!important}
.primary-menu .sub-menu .mega-menu-intro__link{color:#173d78!important}
.primary-menu .mega-menu-group a:hover,
.primary-menu .mega-menu-group a:focus-visible{color:#173d78!important}
.primary-menu .sub-menu .mega-menu-intro__link:hover,
.primary-menu .sub-menu .mega-menu-intro__link:focus-visible{color:#173d78!important}

@media(min-width:1001px){
  .primary-menu>li>.sub-menu.mega-menu--events,
  .primary-menu>li>.sub-menu.mega-menu--the-vault{
    grid-template-columns:280px 340px minmax(0,1fr)!important;
    gap:28px!important;
  }
  .primary-menu .mega-menu--events>.mega-menu-intro,
  .primary-menu .mega-menu--the-vault>.mega-menu-intro{
    width:280px!important;
    max-width:280px!important;
  }
  .primary-menu .mega-menu--events>.mega-menu-group,
  .primary-menu .mega-menu--the-vault>.mega-menu-group{
    width:340px!important;
    max-width:340px!important;
  }
}

/* Header layout: announcement above; logo, centered menu, and actions on one row. */
.site-header__notice-row{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0;
  background:#b50f22;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.site-header__notice-row .site-header__notice{
  width:100%;
  max-width:none;
  min-height:0;
  margin-inline:auto;
  padding:0!important;
}
.site-header__notice-row .announcement{
  display:block!important;
  width:100%;
  min-height:40px;
  padding:9px 24px!important;
  text-align:center;
}
.site-header__utility{border-bottom:1px solid rgba(255,255,255,.1)!important}
.site-header__inner{
  height:78px;
  grid-template-columns:minmax(170px,220px) minmax(0,1fr) minmax(170px,220px)!important;
  align-items:center;
  gap:24px;
}
.site-header__inner .primary-nav{
  display:block;
  min-width:0;
  justify-self:center;
}
.site-header__inner .primary-menu{justify-content:center}
.site-header__inner .primary-menu>li>a{
  display:flex;
  align-items:center;
  min-height:78px;
  padding:0;
  color:#fff!important;
}
.site-header__inner .primary-menu>li>a::after{bottom:17px;background:#e3202d!important}
.site-header__inner .primary-menu>li:hover>a,
.site-header__inner .primary-menu>li:focus-within>a{color:#e3202d!important}
.site-header__inner .header-actions{
  position:static;
  right:auto;
  bottom:auto;
  z-index:auto;
  align-items:center;
  justify-self:end;
}
.site-header__inner .header-actions .icon-button,
.site-header__inner .header-actions .icon-button:focus-visible{color:#fff!important}
.site-header__inner .header-actions .icon-button:hover{color:#e3202d!important}
.site-header__inner .cmc-cart-count{background:#e3202d!important;color:#fff!important}

/* Triggers mega menu: text-only brand-blue state with the same lateral motion as Parts. */
.primary-menu .mega-menu--triggers .mega-menu-group a:hover,
.primary-menu .mega-menu--triggers .mega-menu-group a:focus,
.primary-menu .mega-menu--triggers .mega-menu-group a:focus-visible{
  background:transparent!important;
  color:#173d78!important;
  border:0!important;
  box-shadow:none!important;
  transform:translateX(5px)!important;
}
.mobile-menu .mega-menu--triggers .mega-menu-group a:hover,
.mobile-menu .mega-menu--triggers .mega-menu-group a:focus,
.mobile-menu .mega-menu--triggers .mega-menu-group a:focus-visible{
  background:transparent!important;
  color:#173d78!important;
  box-shadow:none!important;
  transform:none!important;
}

/* Keep mouse and keyboard focus clean across the mega menu. The existing
   red type and underline states provide the focus cue without a dark box. */
.primary-menu a:focus,
.primary-menu a:focus-visible,
.primary-menu a:active{
  outline:none!important;
}
.primary-menu>li>a:focus,
.primary-menu>li>a:focus-visible,
.primary-menu>li>a:active{
  background:transparent!important;
  box-shadow:none!important;
}
.primary-menu .mega-menu-intro__link:focus,
.primary-menu .mega-menu-intro__link:active,
.primary-menu .mega-menu--triggers .mega-menu-group a:focus,
.primary-menu .mega-menu--firearm-parts .mega-menu-group a:focus,
.primary-menu .mega-menu--gear .mega-menu-group:not(.mega-menu-gear-cards) a:focus{
  background:transparent!important;
  box-shadow:none!important;
}
.primary-menu .mega-menu--events>.mega-menu-group a:focus,
.primary-menu .mega-menu--the-vault>.mega-menu-group a:focus{
  background:#f7f8fa!important;
  box-shadow:none!important;
}
.primary-menu .mega-menu-gear-cards li>a:focus,
.primary-menu .mega-brand-card>a:focus{
  background:#fff!important;
  box-shadow:none!important;
}

/* Sticky quick actions: white line icons above each label. */
.sculpt-sticky-bar a{
  flex-direction:column!important;
  justify-content:center;
  gap:4px!important;
  min-width:108px;
  padding:8px 16px!important;
  text-align:center;
}
.sculpt-sticky-bar a::before{
  content:"";
  display:block;
  width:21px;
  height:21px;
  margin-inline:auto;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
}
.sculpt-sticky-bar a:nth-child(1)::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 13H6L5 8Z'/%3E%3Cpath d='M9 9V6a3 3 0 0 1 6 0v3'/%3E%3C/svg%3E");
}
.sculpt-sticky-bar a:nth-child(2)::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}
.sculpt-sticky-bar a:nth-child(3)::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4v8Z'/%3E%3C/svg%3E");
}
.sculpt-sticky-bar a:nth-child(-n+2)::before{display:none!important}
@media(max-width:680px){
  .sculpt-sticky-bar a{min-width:0;padding:7px 8px!important}
  .sculpt-sticky-bar a::before{width:18px;height:18px}
}

@media(max-width:1000px){
  .site-header__notice-row{min-height:0;padding:0 10px}
  .site-header__notice-row .site-header__notice{width:100%}
  .site-header__notice-row .announcement{min-height:38px;padding:7px 10px!important;font-size:11px;line-height:1.3}
  .site-header__inner{
    height:62px;
    min-height:62px;
    padding:0 14px!important;
    grid-template-columns:minmax(96px,1fr) auto!important;
    grid-template-rows:62px!important;
  }
  .site-header__inner .site-branding{grid-column:1;grid-row:1}
  .site-header__inner .primary-nav{display:none}
  .site-header__inner .header-actions{grid-column:2;grid-row:1}
}
@media(max-width:560px){
  .site-header__notice-row{padding-inline:6px}
  .site-header__notice-row .announcement{min-height:36px;padding:6px 8px!important;font-size:10px;line-height:1.25}
  .site-header__inner{height:58px;min-height:58px;padding:0 10px!important;grid-template-rows:58px!important}
}

