/* =====================================================================
   ICB Firearms — 10/22 Day web takeover · production stylesheet (deploy copy)
   Everything is scoped under .icb-1022 so it cannot leak into the
   theme, Elementor kit or WooCommerce styles. Upload to /wp-content/uploads/icb-1022/css/icb-1022.css
   ===================================================================== */

@font-face { font-family: "ICB Grobold"; src: url("/wp-content/uploads/icb-1022/fonts/grobold.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "ICB Titan One"; src: url("/wp-content/uploads/icb-1022/fonts/titan-one-400.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "ICB Barlow Condensed"; src: url("/wp-content/uploads/icb-1022/fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

.icb-1022 {
  /* ---- design tokens (campaign palette, same as the email + social) ---- */
  --icb-black:  #0a0707;
  --icb-red:    #d71d29;
  --icb-orange: #ee7f21;
  --icb-yellow: #ffd21f;
  --icb-white:  #ffffff;
  --icb-card:   #15100f;   /* card surface */
  --icb-line:   #2c2523;   /* card border / hairlines */
  --icb-text:   #e9e4e2;   /* body text on dark */
  --icb-muted:  #9d9491;   /* spec lines, captions */

  --font-display: "ICB Grobold", "ICB Titan One", "Arial Black", sans-serif;
  --font-label:   "ICB Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body:    Arial, Helvetica, sans-serif; /* or inherit the site body font */

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --hz: repeating-linear-gradient(-45deg, var(--icb-red) 0 14px, var(--icb-black) 14px 28px);

  background: var(--icb-black);
  color: var(--icb-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
}
.icb-1022 *, .icb-1022 *::before, .icb-1022 *::after { box-sizing: border-box; }
.icb-1022 img { max-width: 100%; height: auto; display: block; }
.icb-1022 a { text-decoration: none; }
.icb-1022 .wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---- hazard stripe divider ---- */
.icb-1022 .hz { height: 18px; background: var(--hz); border-bottom: 3px solid var(--icb-red); }
.icb-1022 .hz.bottom { border-bottom: 0; border-top: 3px solid var(--icb-red); }

/* ---- eyebrow / labels ---- */
.icb-1022 .eyebrow { font-family: var(--font-label); font-weight: 700; font-size: 18px; letter-spacing: 4px; text-transform: uppercase; color: var(--icb-red); margin: 0 0 14px; }
.icb-1022 .eyebrow.on-photo { color: var(--icb-yellow); text-shadow: 0 2px 8px rgba(0,0,0,.9); }

/* ---- HERO ---- */
.icb-1022 .hero { position: relative; overflow: hidden; color: var(--icb-white);
  background: var(--icb-black) url("/wp-content/uploads/icb-1022/images/bg-store-1920x1080.jpg") center / cover no-repeat; }
.icb-1022 .hero::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 70% at 35% 50%, rgba(10,7,7,.35) 0, rgba(10,7,7,.62) 60%, rgba(10,7,7,.88) 100%); }
.icb-1022 .hero .wrap { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: center; min-height: 620px; padding-top: 56px; padding-bottom: 64px; }
.icb-1022 .hero.short .wrap { min-height: 540px; }
.icb-1022 .hero h1 { margin: 40px 0 0; line-height: .9; font-weight: 400; }
.icb-1022 .t1022 { display: block; font-family: var(--font-display); font-size: clamp(96px, 13vw, 210px); color: var(--icb-yellow); letter-spacing: 1px; transform: rotate(-4deg); transform-origin: left center;
  text-shadow: 1px 1px 0 var(--icb-red), 2px 2px 0 var(--icb-red), 3px 3px 0 var(--icb-red), 4px 4px 0 var(--icb-red), 5px 5px 0 var(--icb-red), 6px 6px 0 var(--icb-red), 7px 7px 0 var(--icb-red), 8px 8px 0 var(--icb-red), 12px 14px 22px rgba(0,0,0,.8); }
.icb-1022 .daybox { display: inline-block; margin: 6px 0 0 18px; padding: 6px 34px 0; background: var(--icb-white); transform: rotate(-4deg);
  box-shadow: 7px 7px 0 var(--icb-red), 0 12px 28px rgba(0,0,0,.6); }
.icb-1022 .daybox span { display: block; font-family: var(--font-display); font-size: clamp(56px, 7.5vw, 116px); color: var(--icb-red); line-height: 1; }
.icb-1022 .tagline { display: inline-block; margin: 30px 0 0 6px; padding: 10px 20px 8px; background: var(--icb-black); border: 3px solid var(--icb-yellow); transform: rotate(-4deg);
  font-family: var(--font-label); font-weight: 700; font-size: clamp(18px, 2.2vw, 30px); letter-spacing: 3px; text-transform: uppercase; color: var(--icb-white); box-shadow: 0 10px 24px rgba(0,0,0,.6); }
.icb-1022 .tagline b { color: var(--icb-yellow); font-weight: 700; }
.icb-1022 .hero .lede { max-width: 560px; margin: 34px 0 0; font-size: 18px; color: var(--icb-text); text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.icb-1022 .hero .ctas { display: flex; flex-wrap: wrap; gap: 18px 22px; align-items: center; margin-top: 30px; }
.icb-1022 .brandlock { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.icb-1022 .brandlock .logos { display: flex; align-items: center; justify-content: center; gap: 28px; }
.icb-1022 .brandlock .icb { width: 260px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.8)); }
.icb-1022 .brandlock .ruger { width: 140px; filter: drop-shadow(0 0 2px rgba(255,255,255,.35)) drop-shadow(0 8px 16px rgba(0,0,0,.85)); }
.icb-1022 .badge1964 { width: 150px; height: 150px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.6)); }

/* ---- buttons ---- */
.icb-1022 .btn { display: inline-block; text-decoration: none; cursor: pointer; border: 0; }
.icb-1022 .btn-primary { background: var(--icb-yellow); transform: skewX(-8deg); padding: 16px 34px 12px; box-shadow: -6px 6px 0 var(--icb-red), 0 10px 22px rgba(0,0,0,.5); }
.icb-1022 .btn-primary span { display: block; transform: skewX(8deg); font-family: var(--font-display); font-size: 26px; color: var(--icb-black); line-height: 1.05; white-space: nowrap; }
.icb-1022 .btn-primary:hover { background: #ffe066; }
.icb-1022 .btn-red { background: var(--icb-red); color: var(--icb-white); font-family: var(--font-label); font-weight: 700; font-size: 18px; letter-spacing: 2.5px; text-transform: uppercase; padding: 14px 30px; text-align: center; }
.icb-1022 .btn-red:hover { background: #b8141f; }
.icb-1022 .btn-ghost { color: var(--icb-white); font-family: var(--font-label); font-weight: 700; font-size: 18px; letter-spacing: 2.5px; text-transform: uppercase; padding: 12px 26px; border: 2px solid rgba(255,255,255,.75); }
.icb-1022 .btn-ghost:hover { border-color: var(--icb-yellow); color: var(--icb-yellow); }

/* ---- section shell ---- */
.icb-1022 .section { padding: 72px 0; }
.icb-1022 .section.alt { background: #110c0b; border-top: 1px solid var(--icb-line); border-bottom: 1px solid var(--icb-line); }
.icb-1022 .h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; color: var(--icb-white); margin: 0 0 18px; text-transform: uppercase; }
.icb-1022 .h2 .y { color: var(--icb-yellow); }
.icb-1022 .center { text-align: center; }
.icb-1022 .intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.icb-1022 .intro p { margin: 0 0 14px; }

/* ---- stat tiles ---- */
.icb-1022 .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.icb-1022 .stat { background: var(--icb-card); border: 1px solid var(--icb-line); padding: 22px 10px 18px; text-align: center; }
.icb-1022 .stat .n { font-family: var(--font-display); font-size: 48px; line-height: 1; color: var(--icb-yellow); }
.icb-1022 .stat .l { font-family: var(--font-label); font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--icb-white); margin-top: 8px; }

/* ---- featured pick cards ---- */
.icb-1022 .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 34px; }
.icb-1022 .card { display: flex; flex-direction: column; background: var(--icb-card); border: 1px solid var(--icb-line); }
.icb-1022 .card .img { display: block; aspect-ratio: 1120 / 454; background: #1a1412; }
.icb-1022 .card .body { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 18px 22px; flex: 1; }
.icb-1022 .card .name { font-family: var(--font-label); font-weight: 700; font-size: 24px; letter-spacing: 1px; line-height: 1.15; text-transform: uppercase; color: var(--icb-white); text-decoration: none; }
.icb-1022 .card .specs { font-family: var(--font-label); font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--icb-muted); margin-top: 6px; }
.icb-1022 .card .rule { width: 70%; height: 2px; background: var(--icb-red); margin: 14px 0 12px; }
.icb-1022 .card .price { font-family: var(--font-label); font-weight: 700; font-size: 36px; color: var(--icb-yellow); line-height: 1.1; min-height: 44px; }
.icb-1022 .card .price del { font-size: 17px; color: #8d8280; margin-right: 8px; font-weight: 400; }
.icb-1022 .card .price ins { text-decoration: none; }
.icb-1022 .card .stock { font-family: var(--font-label); font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--icb-yellow); margin-top: 2px; }
.icb-1022 .card .btn-red { margin-top: auto; width: 100%; }
.icb-1022 .card .spacer { flex: 1; min-height: 14px; }

/* ---- visit band ---- */
.icb-1022 .visit { position: relative; background: var(--icb-black) url("/wp-content/uploads/icb-1022/images/bg-store-1920x1080.jpg") center 60% / cover no-repeat; }
.icb-1022 .visit::before { content: ""; position: absolute; inset: 0; background: rgba(10,7,7,.78); }
.icb-1022 .visit .wrap { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.icb-1022 .visit .addr { font-family: var(--font-label); font-weight: 700; font-size: 22px; letter-spacing: 2px; text-transform: uppercase; color: var(--icb-white); }

/* ---- fine print / compliance slot ---- */
.icb-1022 .fine { padding: 28px 0 34px; font-size: 13px; color: #8d8280; text-align: center; }

/* ---- cartridge divider ---- */
.icb-1022 .cartridges { height: 28px; background: var(--icb-black) url("/wp-content/uploads/icb-1022/images/cartridge-row.svg") center / auto 22px repeat-x; border-top: 3px solid var(--icb-red); border-bottom: 3px solid var(--icb-red); }

/* ---- full-bleed: break out of the theme content container ---- */
.icb-1022.fullbleed { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); overflow: hidden; }

/* ---- WooCommerce [products] grid, restyled to match the campaign ----
   Standard WooCommerce loop classes. Inspect the live markup in Step 0;
   if Elementor/theme styles win, raise specificity, do not edit theme files. */
.icb-1022 .icb-woo .woocommerce ul.products { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 34px 0 0 !important; padding: 0 !important; list-style: none; }
.icb-1022 .icb-woo .woocommerce ul.products::before,
.icb-1022 .icb-woo .woocommerce ul.products::after { display: none !important; }
.icb-1022 .icb-woo ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; display: flex; flex-direction: column; text-align: center;
  background: var(--icb-card); border: 1px solid var(--icb-line); padding: 0 0 22px !important; position: relative; }
.icb-1022 .icb-woo ul.products li.product a img, .icb-1022 .icb-woo ul.products li.product > img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #ffffff; padding: 14px; margin: 0 0 16px !important; }
.icb-1022 .icb-woo ul.products li.product .product-image-tags { display: none !important; }
.icb-1022 .icb-woo ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-label); font-weight: 700; font-size: 22px !important; letter-spacing: 1px; line-height: 1.15;
  text-transform: uppercase; color: var(--icb-white) !important; padding: 0 16px !important; margin: 0 0 8px; }
.icb-1022 .icb-woo ul.products li.product .price { display: block; font-family: var(--font-label); font-weight: 700; font-size: 30px !important; color: var(--icb-yellow) !important; margin: 4px 0 14px; }
.icb-1022 .icb-woo ul.products li.product .price del { font-size: 16px; color: #8d8280 !important; font-weight: 400; margin-right: 6px; opacity: 1; }
.icb-1022 .icb-woo ul.products li.product .price ins { text-decoration: none; }
.icb-1022 .icb-woo ul.products li.product a { color: inherit; text-decoration: none; }
.icb-1022 .icb-woo ul.products li.product .onsale { position: absolute !important; z-index: 2; background: var(--icb-yellow) !important; color: var(--icb-black) !important; font-family: var(--font-label); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; border-radius: 0 !important; min-height: 0; line-height: 1; padding: 8px 12px !important; top: 10px !important; left: 10px !important; right: auto !important; margin: 0 !important; }
.icb-1022 .icb-woo ul.products li.product .button { margin: auto 16px 0 !important; display: block; background: var(--icb-red) !important; color: var(--icb-white) !important; border-radius: 0 !important;
  font-family: var(--font-label); font-weight: 700; font-size: 17px; letter-spacing: 2.5px; text-transform: uppercase; padding: 14px 18px !important; }
.icb-1022 .icb-woo ul.products li.product .button:hover { background: #b8141f !important; }
.icb-1022 .icb-woo ul.products li.product .added_to_cart { color: var(--icb-yellow); margin-top: 8px; display: inline-block; }

/* ---- responsive ---- */
@media (max-width: 960px) {
  .icb-1022 .hero .wrap { grid-template-columns: 1fr; min-height: 0; text-align: center; padding-top: 34px; }
  .icb-1022 .hero { background-image: url("/wp-content/uploads/icb-1022/images/bg-store-mobile-1080x1350.jpg"); }
  .icb-1022 .t1022 { transform-origin: center; }
  .icb-1022 .hero h1 { margin-top: 8px; }
  .icb-1022 .daybox { margin-left: 0; }
  .icb-1022 .hero .lede { margin-left: auto; margin-right: auto; }
  .icb-1022 .hero .ctas { justify-content: center; }
  .icb-1022 .brandlock { order: -1; gap: 18px; }
  .icb-1022 .brandlock .icb { width: 200px; }
  .icb-1022 .brandlock .ruger { width: 104px; }
  .icb-1022 .badge1964 { display: none; }
  .icb-1022 .intro { grid-template-columns: 1fr; gap: 28px; }
  .icb-1022 .grid, .icb-1022 .icb-woo .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 600px) {
  .icb-1022 { font-size: 16px; }
  .icb-1022 .section { padding: 52px 0; }
  .icb-1022 .grid { grid-template-columns: 1fr; }
  .icb-1022 .icb-woo .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px !important; }
  .icb-1022 .icb-woo ul.products li.product { padding-bottom: 14px !important; }
  .icb-1022 .icb-woo ul.products li.product a img, .icb-1022 .icb-woo ul.products li.product > img { padding: 8px; margin-bottom: 10px !important; }
  .icb-1022 .icb-woo ul.products li.product .woocommerce-loop-product__title { font-size: 16px !important; letter-spacing: .5px; padding: 0 8px !important; }
  .icb-1022 .icb-woo ul.products li.product .price { font-size: 22px !important; margin-bottom: 10px; }
  .icb-1022 .icb-woo ul.products li.product .price del { font-size: 13px; display: block; margin: 0; }
  .icb-1022 .icb-woo ul.products li.product .button { font-size: 13px; letter-spacing: 1.5px; line-height: 1.25; min-height: 44px; padding: 14px 6px !important; margin: auto 8px 0 !important; }
  .icb-1022 .icb-woo ul.products li.product .onsale { font-size: 11px; padding: 5px 8px !important; top: 6px !important; left: 6px !important; }
  .icb-1022 .stat .n { font-size: 36px; }
  .icb-1022 .btn-primary span { font-size: 22px; }
  .icb-1022 .tagline { font-size: 16px; letter-spacing: 2px; white-space: nowrap; padding: 9px 14px 7px; }
  .icb-1022 .visit .wrap { flex-direction: column; text-align: center; }
}
