/* IPSC4You v2 (TEC-02). Every colour, size and space comes from tokens.css. */

@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- base ---------- */
body.ipsc-v2 { font-family: var(--font); color: var(--c-ink); background: var(--c-paper); line-height: var(--lh-body); -webkit-font-smoothing: antialiased; }
.ipsc-v2 h1, .ipsc-v2 h2, .ipsc-v2 h3, .ipsc-v2 .section-title { font-family: var(--font); font-weight: var(--weight-head); font-stretch: var(--stretch-head); text-transform: uppercase; color: var(--c-ink); letter-spacing: 0; line-height: 1.02; text-wrap: balance; }
.ipsc-v2 a { color: var(--c-brand-action); }
.ipsc-v2 a:focus-visible, .ipsc-v2 button:focus-visible, .ipsc-v2 input:focus-visible, .ipsc-v2 select:focus-visible { outline: var(--focus); outline-offset: var(--focus-offset); }
.ipsc-v2 .col-full { max-width: var(--container); padding-left: var(--gutter); padding-right: var(--gutter); box-sizing: border-box; }
.ipsc-ico { flex: none; }
.ipsc-eyebrow { margin: 0 0 var(--s-2); font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-brand-action); }

/* buttons: WooCommerce and ours */
.ipsc-v2 button:not(.menu-toggle):not(.ipsc-filter-toggle), .ipsc-v2 .button, .ipsc-v2 input[type="submit"], .ipsc-v2 .added_to_cart,
.ipsc-btn { font-family: var(--font); font-weight: 700; border-radius: var(--r-control); min-height: var(--target-min); padding: 0.7em 1.4em; border: 1px solid transparent; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); cursor: pointer; line-height: 1.2; }
.ipsc-v2 .button, .ipsc-v2 button:not(.menu-toggle):not(.ipsc-filter-toggle), .ipsc-v2 input[type="submit"] { background: var(--c-ink); color: var(--c-paper); }
.ipsc-v2 .button:hover, .ipsc-v2 button:not(.menu-toggle):not(.ipsc-filter-toggle):hover { background: var(--c-ink-2); color: var(--c-paper); }
.ipsc-v2 .button.alt, .ipsc-v2 button.alt, .ipsc-v2 .single_add_to_cart_button, .ipsc-v2 .checkout-button, .ipsc-v2 #place_order, .ipsc-btn--primary, .ipsc-v2 a.ipsc-btn--primary { background: var(--c-brand-action); color: #fff; }
.ipsc-v2 .button.alt:hover, .ipsc-v2 button.alt:hover, .ipsc-v2 .single_add_to_cart_button:hover, .ipsc-v2 a.ipsc-btn--primary:hover { background: #b82400; color: #fff; }
.ipsc-btn--dark, .ipsc-v2 a.ipsc-btn--dark { background: var(--c-ink); color: var(--c-paper); }
.ipsc-btn--ghost, .ipsc-v2 a.ipsc-btn--ghost { background: transparent; color: var(--c-paper); border-color: var(--c-paper); }
.ipsc-v2 a.ipsc-btn--ghost:hover { background: var(--c-paper); color: var(--c-ink); }

/* ---------- top bar and header ---------- */
.ipsc-topbar { background: #0a0b0c; color: var(--c-muted-dark); font-size: var(--fs-small); }
.ipsc-topbar .col-full { display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between; align-items: center; padding-top: var(--s-2); padding-bottom: var(--s-2); }
.ipsc-topbar a { color: var(--c-muted-dark); text-decoration: none; } .ipsc-topbar a:hover { color: var(--c-paper); }

.ipsc-v2 .site-header { background: var(--c-ink); color: var(--c-paper); border-bottom: 1px solid var(--c-line-dark); padding-top: 0; margin-bottom: 0; }
.ipsc-v2 .site-header > .col-full { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); padding-top: var(--s-4); padding-bottom: var(--s-4); }
.ipsc-v2 .site-header > .col-full::before, .ipsc-v2 .site-header > .col-full::after { display: none; }
.ipsc-v2 .site-header .site-branding { order: 1; float: none; width: auto; margin: 0; }
.ipsc-v2 .site-header .site-branding img { max-height: 34px; width: auto; filter: brightness(0) invert(1); }
.ipsc-v2 .site-header .site-search { order: 2; flex: 1 1 320px; float: none; width: auto; margin: 0; clear: none; }
.ipsc-v2 .site-header .site-search .widget_product_search form input[type="search"] { background: var(--c-ink-2); border: 1px solid var(--c-line-dark); color: var(--c-paper); border-radius: var(--r-control); height: 46px; padding-left: 2.6em; }
.ipsc-v2 .site-header .site-search .widget_product_search form::before { color: var(--c-muted-dark); top: 50%; transform: translateY(-50%); }
.ipsc-v2 .site-header .site-search input::placeholder { color: var(--c-muted-dark); }
.ipsc-mygun { order: 3; display: inline-flex; align-items: center; gap: var(--s-2); height: 46px; padding: 0 var(--s-4); border: 1px solid var(--c-brand-on-dark); border-radius: var(--r-pill); color: var(--c-paper) !important; font-weight: 600; font-size: 0.875rem; text-decoration: none; }
.ipsc-mygun .ipsc-ico { color: var(--c-brand-on-dark); }
.ipsc-mygun:hover { background: var(--c-ink-2); }
.ipsc-account { order: 4; display: inline-flex; width: var(--target-min); height: var(--target-min); align-items: center; justify-content: center; color: var(--c-paper) !important; }
.ipsc-v2 .site-header .ipsc-langs { order: 5; float: none; margin: 0; }
.ipsc-v2 .site-header .ipsc-langs a { color: var(--c-muted-dark); }
/* Desktop: the header row never wraps. A long "My gun" label (gun and division, longer in German or Italian) pushed the
   last item, the language switcher, under the logo (Hervé, 2026-11-13). The label is cut with "…" instead; the full text
   is in its tooltip and in the panel. Tablets (768 to 1023 px) keep the two-row header. */
@media (min-width: 1024px) {
  .ipsc-v2 .site-header > .col-full { flex-wrap: nowrap; }
  .ipsc-v2 .site-header .site-search { flex: 1 1 200px; min-width: 160px; }
  .ipsc-v2 .site-header .site-branding, .ipsc-v2 .site-header .ipsc-langs, .ipsc-account { flex: none; }
  details.ipsc-mygun { flex: 0 1 auto; min-width: 0; }
  details.ipsc-mygun > summary { max-width: 300px; box-sizing: border-box; }
  details.ipsc-mygun > summary > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .ipsc-v2 .site-header .ipsc-langs { white-space: nowrap; }
}

.ipsc-v2 .storefront-primary-navigation { background: var(--c-ink); }
.ipsc-v2 .storefront-primary-navigation .col-full { display: flex; align-items: center; }
.ipsc-v2 .main-navigation { flex: 1; width: auto; float: none; margin: 0; }
.ipsc-v2 .main-navigation ul.menu > li > a, .ipsc-v2 .main-navigation ul.nav-menu > li > a { color: var(--c-paper); font-weight: 700; font-stretch: 85%; text-transform: uppercase; letter-spacing: 0.04em; padding: 0.9em 1em; border-bottom: 3px solid transparent; }
.ipsc-v2 .main-navigation ul.menu > li.current-menu-item > a, .ipsc-v2 .main-navigation ul.menu > li.current-menu-ancestor > a, .ipsc-v2 .main-navigation ul.menu > li > a:hover { color: var(--c-paper); border-bottom-color: var(--c-brand-on-dark); }
.ipsc-v2 .main-navigation ul.menu ul.sub-menu { background: var(--c-ink-2); }
.ipsc-v2 .main-navigation ul.menu ul a { color: var(--c-paper); }
.ipsc-v2 .main-navigation ul.menu > li.menu-item-has-children::after { color: var(--c-muted-dark); }
.ipsc-v2 .site-header-cart { width: auto; float: none; margin: 0; }
.ipsc-v2 .site-header-cart .cart-contents, .ipsc-v2 a.cart-contents { color: var(--c-paper); }
.ipsc-v2 .site-header-cart .cart-contents .count { opacity: 1; background: var(--c-brand-action); color: #fff; border-radius: var(--r-pill); padding: 0 0.5em; }
.ipsc-v2 .site-header-cart .widget_shopping_cart { background: var(--c-ink-2); color: var(--c-paper); }
.ipsc-v2 .site-header-cart .widget_shopping_cart a { color: var(--c-paper); }
.ipsc-v2 button.menu-toggle { color: var(--c-paper); border-color: var(--c-line-dark); background: transparent; }
@media (min-width: 768px) { .ipsc-v2 button.menu-toggle { display: none; } }
.ipsc-v2 button.menu-toggle::before, .ipsc-v2 button.menu-toggle::after, .ipsc-v2 button.menu-toggle span::before { background-color: var(--c-paper); }
.ipsc-v2 .handheld-navigation { background: var(--c-ink); }
.ipsc-v2 .handheld-navigation a { color: var(--c-paper); }
.ipsc-v2 .woocommerce-breadcrumb { background: var(--c-paper-2); color: var(--c-text-2); margin-bottom: var(--s-8); }
.ipsc-v2 .woocommerce-breadcrumb a { color: var(--c-text-2); }

/* ---------- home ---------- */
.home.ipsc-v2 .site-content { padding-top: 0; }
.home.ipsc-v2 .site-main { margin-bottom: 0; padding-top: 0; }
.home.ipsc-v2 .woocommerce-breadcrumb, .home.ipsc-v2 .storefront-breadcrumb { display: none; }
.ipsc-hero { position: relative; left: 50%; right: 50%; width: 100vw; margin-left: -50vw; margin-right: -50vw; background: var(--c-ink); color: var(--c-paper);
  background-image: radial-gradient(circle at 85% 20%, rgba(239,48,0,0.18), transparent 45%); }
.ipsc-hero-inner { max-width: var(--container); margin: 0 auto; padding: var(--s-18) var(--gutter); display: flex; flex-wrap: wrap; gap: var(--s-12); align-items: flex-end; justify-content: space-between; box-sizing: border-box; }
.ipsc-hero-text { flex: 1 1 520px; max-width: 680px; min-width: 0; }
.ipsc-hero .ipsc-eyebrow { color: var(--c-brand-on-dark); }
.ipsc-hero h1 { color: var(--c-paper); font-size: clamp(2.6rem, 6vw, var(--fs-display)); margin: 0 0 var(--s-6); }
.ipsc-hero-intro p { color: #d6d8dc; font-size: var(--fs-body-l); max-width: 600px; }
.ipsc-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.ipsc-picker { flex: 0 1 380px; background: var(--c-paper); color: var(--c-ink); border-radius: var(--r-card); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-3); box-shadow: 0 20px 50px rgba(0,0,0,0.35); }
.ipsc-picker-title { margin: 0; font-size: 1.375rem; font-weight: 800; font-stretch: 80%; text-transform: uppercase; }
.ipsc-picker label { font-size: var(--fs-small); font-weight: 600; margin: 0; }
.ipsc-picker select { height: var(--field-h); border: 1px solid #c9cbc6; border-radius: var(--r-control); padding: 0 var(--s-3); font: inherit; background: var(--c-paper); }
.ipsc-trust { position: relative; left: 50%; right: 50%; width: 100vw; margin-left: -50vw; margin-right: -50vw; background: var(--c-paper-2); border-bottom: 1px solid var(--c-line); margin-bottom: var(--s-12); }
.ipsc-trust ul { max-width: var(--container); margin: 0 auto; padding: var(--s-6) var(--gutter); list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s-6); box-sizing: border-box; }
.ipsc-trust li { display: flex; gap: var(--s-3); align-items: flex-start; margin: 0; }
.ipsc-trust .ipsc-ico { color: var(--c-brand-action); margin-top: 2px; }
.ipsc-trust strong { display: block; }
.ipsc-trust span { font-size: 0.9375rem; color: var(--c-text-2); }
.ipsc-trust strong { color: var(--c-ink); }
.ipsc-v2 .storefront-product-section, .ipsc-section { margin-bottom: var(--s-18); }
.ipsc-v2 .section-title { font-size: clamp(2rem, 4vw, var(--fs-h2)); text-align: left; margin: 0 0 var(--s-6); padding: 0; }
.ipsc-v2 .storefront-product-section .section-title::after { display: none; }
.ipsc-tiles { list-style: none; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s-4); }
.ipsc-tile { position: relative; display: block; height: 300px; border-radius: var(--r-card); overflow: hidden; background: var(--c-ink); text-decoration: none; }
.ipsc-tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: transform .3s ease; }
.ipsc-tile:hover .ipsc-tile-img { transform: scale(1.04); }
.ipsc-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,18,20,0) 35%, var(--c-ink) 100%); }
.ipsc-tile-label { position: absolute; left: var(--s-6); right: var(--s-6); bottom: var(--s-6); z-index: 1; color: var(--c-paper); font-size: 1.75rem; font-weight: 800; font-stretch: 75%; text-transform: uppercase; line-height: 1; }
.ipsc-tile-label small { display: block; margin-top: var(--s-2); font-size: 0.875rem; font-weight: 400; font-stretch: 100%; text-transform: none; color: #d6d8dc; }
.ipsc-greg { display: flex; flex-wrap: wrap; background: var(--c-ink); color: var(--c-paper); border-radius: 16px; overflow: hidden; }
.ipsc-greg-photo { flex: 1 1 420px; min-height: 380px; background: var(--c-ink-2) repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,0.03) 18px 36px); }
.ipsc-greg-text { flex: 1 1 420px; padding: var(--s-12); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--s-4); }
.ipsc-greg-text h2 { color: var(--c-paper); font-size: clamp(2.2rem, 4vw, 3rem); margin: 0; }
.ipsc-greg-text p { color: #d6d8dc; font-size: 1.0625rem; margin: 0; }
.ipsc-greg .ipsc-eyebrow { color: var(--c-brand-on-dark); }
.ipsc-gm .ipsc-eyebrow { margin-bottom: 0; }

/* ---------- product cards (all grids) ---------- */
.ipsc-v2 ul.products li.product { background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r-card); padding: var(--s-4); box-sizing: border-box; text-align: left; display: flex; flex-direction: column; }
.ipsc-v2 ul.products li.product img { border-radius: var(--r-control); background: var(--c-paper); aspect-ratio: 1 / 1; object-fit: contain; margin-bottom: var(--s-3); }
.ipsc-v2 ul.products li.product .woocommerce-loop-product__title { font-size: 0.9375rem; font-weight: 600; line-height: 1.3; color: var(--c-ink); text-transform: none; font-stretch: 100%; min-height: 2.6em; }
.ipsc-v2 ul.products li.product .price { color: var(--c-ink); font-weight: 800; font-size: 1.125rem; margin-top: auto; }
.ipsc-v2 ul.products li.product .button { margin-top: var(--s-3); width: 100%; }
.ipsc-v2 ul.products li.product-category { padding: 0; overflow: hidden; }
.ipsc-v2 ul.products li.product-category h2 { padding: var(--s-4); font-size: 1.25rem; }
.ipsc-v2 .onsale { border-color: var(--c-brand-action); color: var(--c-brand-action); border-radius: var(--r-badge); }

/* brands grid (moved from the Customizer CSS of v1) */
.storefront-woocommerce-brands ul.brand-thumbnails { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2em; align-items: center; }
.storefront-woocommerce-brands ul.brand-thumbnails::before, .storefront-woocommerce-brands ul.brand-thumbnails::after { display: none; }
.storefront-woocommerce-brands ul.brand-thumbnails li { float: none; width: auto; margin: 0; text-align: center; }
.storefront-woocommerce-brands ul.brand-thumbnails img { display: block; margin: 0 auto; height: 72px; width: auto; max-width: 100%; object-fit: contain; }
.storefront-wc-brands-single-product img { max-height: 1.1453em; width: auto; }

/* ---------- newsletter (mu-plugin) and footer ---------- */
.ipsc-v2 .ipsc-nl { background: var(--c-brand-action); color: #fff; }
.ipsc-v2 .ipsc-nl h2 { color: #fff; }
.ipsc-v2 .ipsc-nl p { color: #fff; }
.ipsc-v2 .ipsc-nl input[type="submit"], .ipsc-v2 .ipsc-nl button, .ipsc-v2 .ipsc-nl .tnp-submit { background: var(--c-ink) !important; color: #fff !important; border: 0; }
.ipsc-v2 .ipsc-nl label, .ipsc-v2 .ipsc-nl .tnp-privacy-field, .ipsc-v2 .ipsc-nl a { color: #fff; }
.ipsc-v2 .site-footer { background: var(--c-ink); color: var(--c-muted-dark); padding: var(--s-12) 0 var(--s-6); }
.ipsc-v2 .site-footer a:not(.button) { color: var(--c-muted-dark); text-decoration: none; }
.ipsc-v2 .site-footer a:not(.button):hover { color: var(--c-paper); }
.ipsc-v2 .site-info { padding: 0; }
.ipsc-footer { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s-8); }
.ipsc-footer h2 { color: var(--c-paper); font-size: 0.875rem; letter-spacing: 0.08em; font-stretch: 100%; margin: 0 0 var(--s-3); }
.ipsc-footer ul { list-style: none; margin: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.ipsc-footer p { font-size: 0.875rem; margin: var(--s-3) 0 0; }
.ipsc-footer-logo img { max-height: 28px; width: auto; filter: brightness(0) invert(1); }
.ipsc-footer-base { margin-top: var(--s-8); padding-top: var(--s-4); border-top: 1px solid var(--c-line-dark); display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between; font-size: var(--fs-small); }
.ipsc-v2 .storefront-handheld-footer-bar, .ipsc-v2 .storefront-handheld-footer-bar ul li > a { background: var(--c-ink); color: var(--c-paper); }
.ipsc-v2 .storefront-handheld-footer-bar ul li.cart .count { background: var(--c-brand-action); color: #fff; border-color: var(--c-ink); }

/* ---------- phones ---------- */
@media (max-width: 767px) {
  .ipsc-v2 .col-full { padding-left: var(--s-4); padding-right: var(--s-4); }
  .ipsc-topbar .ipsc-topbar-links { display: none; }
  .ipsc-v2 .site-header > .col-full { gap: var(--s-3); }
  .ipsc-v2 .site-header .site-search { display: block !important; order: 6; flex-basis: 100%; }
  .ipsc-mygun { order: 7; height: var(--target-min); }
  .ipsc-account { margin-left: auto; }
  .ipsc-hero-inner { padding: var(--s-12) var(--s-4); gap: var(--s-8); }
  .ipsc-picker { flex-basis: 100%; }
  .ipsc-tile { height: 180px; }
  .ipsc-tile-label { font-size: 1.25rem; left: var(--s-3); right: var(--s-3); bottom: var(--s-3); }
  .ipsc-greg-text { padding: var(--s-6); }
  .ipsc-greg-photo { min-height: 220px; }
  .storefront-woocommerce-brands ul.brand-thumbnails { grid-template-columns: repeat(2, 1fr); gap: 1.2em; }
  .storefront-woocommerce-brands ul.brand-thumbnails img { height: 56px; }
}
@media (prefers-reduced-motion: reduce) { .ipsc-tile-img { transition: none; } }

/* ---------- product page (DSN-04) ---------- */
.single-product.ipsc-v2 div.product .product_title { font-size: clamp(2rem, 3.6vw, 2.75rem); margin: var(--s-2) 0 var(--s-3); }
.single-product.ipsc-v2 div.product p.price, .single-product.ipsc-v2 div.product span.price { color: var(--c-ink); font-size: 2rem; font-weight: 800; }
.single-product.ipsc-v2 div.product .woocommerce-product-gallery { border: 1px solid var(--c-line); border-radius: var(--r-card); padding: var(--s-4); box-sizing: border-box; background: var(--c-paper); }
.single-product.ipsc-v2 div.product .woocommerce-product-gallery img { border-radius: var(--r-control); }
.single-product.ipsc-v2 .flex-control-thumbs li img { border: 2px solid transparent; border-radius: var(--r-control); }
.single-product.ipsc-v2 .flex-control-thumbs li img.flex-active { border-color: var(--c-ink); }
.ipsc-gm-badge { display: inline-flex; align-items: center; gap: var(--s-2); background: var(--c-ink); color: var(--c-paper) !important; padding: 6px 14px 6px 6px; border-radius: var(--r-pill); font-size: var(--fs-small); font-weight: 700; text-decoration: none; }
.ipsc-gm-badge span { width: 26px; height: 26px; border-radius: var(--r-pill); background: var(--c-brand); color: var(--c-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 0.6875rem; font-weight: 800; }
.ipsc-fits { display: flex; gap: var(--s-3); align-items: flex-start; border: 2px solid var(--c-fit); background: #f2f8f4; border-radius: var(--r-card); padding: var(--s-4); margin: var(--s-4) 0 var(--s-6); color: var(--c-ink); font-size: 0.9375rem; line-height: 1.5; }
.ipsc-fits .ipsc-ico { color: var(--c-fit); margin-top: 2px; }
.ipsc-fits strong { color: var(--c-fit); }
.ipsc-fits-cal { display: block; color: var(--c-text-2); font-size: var(--fs-small); margin-top: var(--s-1); }
.single-product.ipsc-v2 div.product form.cart { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: stretch; margin-bottom: var(--s-4); }
.single-product.ipsc-v2 div.product form.variations_form { display: block; }
.single-product.ipsc-v2 .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.single-product.ipsc-v2 table.variations { margin-bottom: var(--s-4); }
.single-product.ipsc-v2 table.variations th, .single-product.ipsc-v2 table.variations td { background: transparent; padding: 0 0 var(--s-3); display: block; }
.single-product.ipsc-v2 table.variations label { font-weight: 700; color: var(--c-ink); }
.single-product.ipsc-v2 table.variations select { width: 100%; height: var(--field-h); border: 1px solid #c9cbc6; border-radius: var(--r-control); padding: 0 var(--s-3); font: inherit; background: var(--c-paper); }
.single-product.ipsc-v2 .quantity .qty { height: 54px; width: 4.5em; border: 1px solid #c9cbc6; border-radius: var(--r-control); text-align: center; font-weight: 700; }
.single-product.ipsc-v2 .single_add_to_cart_button { flex: 1 1 220px; min-height: 54px; font-size: 1.0625rem; }
.single-product.ipsc-v2 .stock.in-stock { color: var(--c-fit); font-weight: 600; }
.ipsc-ptrust { list-style: none; margin: var(--s-4) 0; padding: var(--s-4) 0 0; border-top: 1px solid var(--c-line); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s-3); font-size: 0.875rem; }
.ipsc-ptrust li { display: flex; gap: var(--s-2); align-items: flex-start; margin: 0; }
.ipsc-ptrust strong { color: var(--c-ink); }
.single-product.ipsc-v2 .product_meta { font-size: var(--fs-small); color: var(--c-text-2); border-top: 1px solid var(--c-line); }
.single-product.ipsc-v2 .woocommerce-tabs { border-top: 1px solid var(--c-line); padding-top: var(--s-6); }
.single-product.ipsc-v2 .woocommerce-tabs ul.tabs li a { color: var(--c-ink); font-weight: 700; }
.single-product.ipsc-v2 .woocommerce-tabs ul.tabs li.active a { color: var(--c-brand-action); }
.single-product.ipsc-v2 .woocommerce-tabs .panel h2:first-of-type { font-size: 1.75rem; }
.single-product.ipsc-v2 table.woocommerce-product-attributes th { width: 30%; background: var(--c-paper-2); color: var(--c-text-2); font-weight: 600; }
.single-product.ipsc-v2 table.woocommerce-product-attributes td { background: var(--c-paper); }
.single-product.ipsc-v2 .upsells.products, .single-product.ipsc-v2 .related.products { clear: both; padding-top: var(--s-8); }
.single-product.ipsc-v2 .upsells.products > h2, .single-product.ipsc-v2 .related.products > h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); text-align: left; }
.ipsc-v2 .storefront-sticky-add-to-cart { background: var(--c-paper); border-top: 1px solid var(--c-line); box-shadow: 0 -8px 24px rgba(17,18,20,0.12); }
.ipsc-v2 .storefront-sticky-add-to-cart__content-title { color: var(--c-ink); }
.ipsc-v2 .storefront-sticky-add-to-cart__content-button { background: var(--c-brand-action); color: #fff; border-radius: var(--r-control); }
@media (max-width: 767px) {
  .single-product.ipsc-v2 div.product p.price { font-size: 1.75rem; }
  .ipsc-ptrust { grid-template-columns: 1fr; }
}
.single-product.ipsc-v2 div.product .ipsc-gm-badge ~ .storefront-wc-brands-single-product { display: none; }
.single-product.ipsc-v2 div.product .product_meta .tagged_as { display: none; }
.single-product.ipsc-v2 .woocommerce-breadcrumb { margin-bottom: var(--s-6); }
.single-product.ipsc-v2 .site-main { padding-top: 0; }
.single-product.ipsc-v2 div.product .woocommerce-product-details__short-description { margin-bottom: var(--s-6); }

/* ---------- category pages, first pass (DSN-05) ---------- */
.ipsc-v2.archive .site-main { padding-top: 0; }
.ipsc-v2 .woocommerce-products-header__title, .ipsc-v2.archive h1.page-title { font-size: clamp(2.4rem, 5vw, 3.5rem); margin-bottom: var(--s-3); }
.ipsc-v2 .term-description { max-width: 820px; color: #33363c; }
.ipsc-v2 .woocommerce-ordering select, .ipsc-v2 select.orderby { height: var(--target-min); border: 1px solid #c9cbc6; border-radius: var(--r-control); padding: 0 var(--s-3); font: inherit; font-size: 0.9375rem; background: var(--c-paper); }
.ipsc-v2 .woocommerce-result-count { color: var(--c-text-2); }
.ipsc-v2 .widget-area .widget { margin-bottom: var(--s-8); }
.ipsc-v2 .widget-area .widget .widget-title, .ipsc-v2 .widget-area .widget h2 { font-size: 0.8125rem; letter-spacing: 0.08em; font-stretch: 100%; border-bottom: 1px solid var(--c-line); padding-bottom: var(--s-2); }
.ipsc-v2 .widget-area .widget a, .ipsc-v2 .widget_layered_nav li a { color: var(--c-ink); text-decoration: none; }
.ipsc-v2 .widget-area .widget a:hover { color: var(--c-brand-action); }
.ipsc-v2 .widget_layered_nav li .count { color: var(--c-text-2); }
.ipsc-v2 .widget_layered_nav li.chosen a { font-weight: 700; }
.ipsc-v2 .widget_price_filter .ui-slider .ui-slider-range, .ipsc-v2 .widget_price_filter .ui-slider .ui-slider-handle { background: var(--c-brand-action); }
.ipsc-v2 .woocommerce-pagination .page-numbers li .page-numbers { border-radius: var(--r-control); }
.ipsc-v2 .woocommerce-pagination .page-numbers li .page-numbers.current { background: var(--c-ink); color: var(--c-paper); }
.ipsc-v2 .storefront-breadcrumb { margin: 0 0 var(--s-6); padding: var(--s-3) 0; }
.ipsc-v2 .woocommerce-breadcrumb { margin-bottom: 0; background: transparent; padding: 0; }

.ipsc-subcats ul { list-style: none; margin: var(--s-4) 0 var(--s-6); padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.ipsc-subcats a { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 40px; padding: 0 var(--s-4); border: 1px solid #d6d7d2; border-radius: var(--r-pill); background: var(--c-paper); color: var(--c-ink); font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.ipsc-subcats a:hover { border-color: var(--c-ink); color: var(--c-ink); }
.ipsc-subcats a span { color: var(--c-text-2); font-weight: 400; }
.ipsc-active-filters { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; margin: 0 0 var(--s-4); width: 100%; }
.ipsc-chip { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 36px; padding: 0 var(--s-3); border-radius: var(--r-pill); background: var(--c-ink); color: var(--c-paper) !important; font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.ipsc-chip:hover { background: var(--c-ink-2); }
.ipsc-clear { font-size: 0.875rem; font-weight: 700; color: var(--c-ink); margin-left: var(--s-2); }
.ipsc-v2 ul.products li.product { position: relative; }
.ipsc-card-gm { position: absolute; top: var(--s-4); left: var(--s-4); z-index: 1; background: var(--c-ink); color: var(--c-paper); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; padding: 3px 7px; border-radius: var(--r-badge); }
@media (max-width: 767px) {
  .ipsc-v2 .ipsc-filter-toggle { background: var(--c-ink) !important; border-radius: var(--r-control) !important; min-height: var(--target-min); }
  .ipsc-v2 .ipsc-filter-toggle[aria-expanded="true"] { background: var(--c-brand-action) !important; }
  .ipsc-subcats ul { flex-wrap: nowrap; overflow-x: auto; padding-bottom: var(--s-1); }
  .ipsc-subcats li { flex: none; }
  .ipsc-card-gm { top: var(--s-2); left: var(--s-2); }
}

/* ---------- "My gun" selector (FEA-01) ---------- */
details.ipsc-mygun { position: relative; height: auto; padding: 0; border: 0; }
details.ipsc-mygun > summary { list-style: none; display: inline-flex; align-items: center; gap: var(--s-2); height: 46px; padding: 0 var(--s-4); border: 1px solid var(--c-brand-on-dark); border-radius: var(--r-pill); color: var(--c-paper); font-weight: 600; font-size: 0.875rem; cursor: pointer; }
details.ipsc-mygun > summary::-webkit-details-marker { display: none; }
details.ipsc-mygun > summary .ipsc-ico { color: var(--c-brand-on-dark); }
details.ipsc-mygun[open] > summary { background: var(--c-ink-2); }
.ipsc-mygun-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; width: min(340px, 90vw); background: var(--c-paper); color: var(--c-ink); border-radius: var(--r-card); box-shadow: 0 20px 50px rgba(0,0,0,0.35); padding: var(--s-6); }
.ipsc-mygun-panel p { margin: 0 0 var(--s-3); font-size: 0.875rem; color: var(--c-text-2); }
.ipsc-gunform { display: flex; flex-direction: column; gap: var(--s-2); }
.ipsc-gunform label { font-size: var(--fs-small); font-weight: 600; margin: var(--s-1) 0 0; color: var(--c-ink); }
.ipsc-gunform select { height: var(--field-h); border: 1px solid #c9cbc6; border-radius: var(--r-control); padding: 0 var(--s-3); font: inherit; background: var(--c-paper); color: var(--c-ink); }
.ipsc-gunform .ipsc-gf-go { margin-top: var(--s-2); background: var(--c-ink) !important; color: var(--c-paper) !important; }
.ipsc-gunform--hero .ipsc-gf-go { background: var(--c-brand-action) !important; }
.ipsc-gunform-clear { font-size: var(--fs-small); color: var(--c-text-2) !important; text-align: center; }
.ipsc-gun-notice { width: 100%; background: #f2f8f4; border: 1px solid var(--c-fit); border-radius: var(--r-control); padding: var(--s-3) var(--s-4); font-size: 0.9375rem; margin: 0 0 var(--s-4); }
.ipsc-gun-notice a { font-weight: 700; color: var(--c-ink); }
.ipsc-fit { display: block; font-size: 0.8125rem; font-weight: 600; margin: calc(-1 * var(--s-2)) 0 var(--s-2); }
.ipsc-fit--yes { color: var(--c-fit); }
.ipsc-fit--check { color: var(--c-text-2); }
.ipsc-fits-you { margin: 0 0 var(--s-2); font-weight: 700; color: var(--c-fit); font-size: 1rem; }
.ipsc-fits--check { border-color: #8a8f98; background: var(--c-paper-2); }
.ipsc-fits--check .ipsc-fits-you, .ipsc-fits--check .ipsc-ico { color: var(--c-ink); }
.ipsc-fits--no { border-color: var(--c-brand-action); background: #fff4f1; }
.ipsc-fits--no .ipsc-fits-you, .ipsc-fits--no .ipsc-ico { color: var(--c-brand-action); }
@media (max-width: 767px) { .ipsc-mygun-panel { right: auto; left: 0; } details.ipsc-mygun { order: 7; } }

/* ---------- cart, checkout, account ---------- */
.ipsc-v2.woocommerce-cart .site-main, .ipsc-v2.woocommerce-checkout .site-main, .ipsc-v2.woocommerce-account .site-main { padding-top: 0; }
.ipsc-v2.woocommerce-cart h1.entry-title, .ipsc-v2.woocommerce-checkout h1.entry-title, .ipsc-v2.woocommerce-account h1.entry-title { font-size: clamp(2.2rem, 4vw, 3rem); }
.ipsc-v2 table.shop_table { border: 1px solid var(--c-line); border-radius: var(--r-card); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.ipsc-v2 table.shop_table th { background: var(--c-paper-2); color: var(--c-ink); font-weight: 700; }
.ipsc-v2 table.shop_table td { background: var(--c-paper); border-top: 1px solid var(--c-line); }
.ipsc-v2 table.cart td.product-name a { color: var(--c-ink); font-weight: 600; text-decoration: none; }
.ipsc-v2 table.cart td.product-remove a.remove { color: var(--c-text-2) !important; }
.ipsc-v2 table.cart td.product-remove a.remove:hover { background: var(--c-brand-action); color: #fff !important; }
.ipsc-v2 table.cart img { border-radius: var(--r-control); }
.ipsc-v2 .cart-collaterals .cart_totals, .ipsc-v2 #order_review { background: var(--c-paper-2); border-radius: var(--r-card); padding: var(--s-6); box-sizing: border-box; }
.ipsc-v2 .cart-collaterals .cart_totals h2, .ipsc-v2 #order_review_heading { font-size: 1.5rem; }
.ipsc-v2 .order-total .amount { font-size: 1.5rem; font-weight: 800; color: var(--c-ink); }
.ipsc-v2 .wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 56px; font-size: 1.125rem; }
.ipsc-v2 .coupon input#coupon_code { height: var(--target-min); border-radius: var(--r-control); border: 1px solid #c9cbc6; }
.ipsc-v2 form .form-row label { font-weight: 600; color: var(--c-ink); font-size: 0.875rem; }
.ipsc-v2 form .form-row input.input-text, .ipsc-v2 form .form-row textarea, .ipsc-v2 form .form-row select, .ipsc-v2 .select2-container .select2-selection--single { min-height: var(--field-h); border: 1px solid #c9cbc6; border-radius: var(--r-control); background: var(--c-paper); box-shadow: none; padding-left: var(--s-3); font: inherit; box-sizing: border-box; }
.ipsc-v2 .select2-container .select2-selection--single .select2-selection__rendered { line-height: 46px; padding-left: 0; }
.ipsc-v2 .select2-container .select2-selection--single .select2-selection__arrow { height: 46px; }
.ipsc-v2 form .form-row input.input-text:focus, .ipsc-v2 form .form-row textarea:focus { border-color: var(--c-ink); outline: var(--focus); outline-offset: 1px; }
.ipsc-v2 .woocommerce-checkout h3, .ipsc-v2 .woocommerce-billing-fields h3, .ipsc-v2 .woocommerce-additional-fields h3 { font-size: 1.5rem; }
.ipsc-v2 #payment { background: transparent; }
.ipsc-v2 #payment .payment_methods > li:not(.woocommerce-notice) { background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r-control); margin-bottom: var(--s-2); }
.ipsc-v2 #payment .payment_methods > li .payment_box { background: var(--c-paper-2); color: var(--c-ink); }
.ipsc-v2 #payment .place-order { background: transparent; padding: var(--s-4) 0 0; }
.ipsc-v2 #place_order { width: 100%; min-height: 56px; font-size: 1.125rem; }
.ipsc-v2 .woocommerce-info, .ipsc-v2 .woocommerce-message, .ipsc-v2 .woocommerce-noreviews { background: var(--c-ink); color: var(--c-paper); border-radius: var(--r-control); border-left: 0; }
.ipsc-v2 .woocommerce-info a, .ipsc-v2 .woocommerce-message a, .ipsc-v2 .woocommerce-message .button { color: var(--c-paper); }
.ipsc-v2 .woocommerce-error { background: var(--c-brand-action); color: #fff; border-radius: var(--r-control); border-left: 0; }
.ipsc-v2 .woocommerce-MyAccount-navigation ul { border-top: 1px solid var(--c-line); }
.ipsc-v2 .woocommerce-MyAccount-navigation ul li { border-bottom: 1px solid var(--c-line); }
.ipsc-v2 .woocommerce-MyAccount-navigation ul li a { color: var(--c-ink); font-weight: 600; padding: var(--s-3) 0; display: block; text-decoration: none; }
.ipsc-v2 .woocommerce-MyAccount-navigation ul li.is-active a { color: var(--c-brand-action); }
.ipsc-v2 .woocommerce-form-login, .ipsc-v2 .woocommerce-form-register { border: 1px solid var(--c-line); border-radius: var(--r-card); padding: var(--s-6); }
.ipsc-v2 .woocommerce-form-login .button, .ipsc-v2 .woocommerce-form-register .button { width: 100%; }
.ipsc-v2 .woocommerce-order-overview { background: var(--c-paper-2); border-radius: var(--r-card); padding: var(--s-4); }

/* ---------- content pages (DSN-06) ---------- */
.ipsc-page { padding-bottom: var(--s-12); }
.ipsc-page > h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); margin: 0 0 var(--s-3); }
.ipsc-page h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin: var(--s-8) 0 var(--s-4); }
.ipsc-lead { font-size: var(--fs-body-l); color: #33363c; max-width: 720px; }
.ipsc-band { position: relative; left: 50%; right: 50%; width: 100vw; margin: 0 -50vw var(--s-12); }
.ipsc-band-inner { max-width: var(--container); margin: 0 auto; padding: var(--s-12) var(--gutter); box-sizing: border-box; }
.ipsc-band--dark { background: var(--c-ink); color: var(--c-paper); }
.ipsc-band--dark h1, .ipsc-band--dark h2 { color: var(--c-paper); margin-top: 0; }
.ipsc-band--dark h1 { font-size: clamp(2.6rem, 6vw, 4.25rem); margin: 0 0 var(--s-4); }
.ipsc-band--dark .ipsc-lead, .ipsc-band--dark p { color: #d6d8dc; }
.ipsc-band--dark .ipsc-eyebrow { color: var(--c-brand-on-dark); }
.ipsc-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--s-8); margin-bottom: var(--s-8); }
.ipsc-grid2--top { align-items: start; }
.ipsc-grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s-8); }
.ipsc-grid3 h2 { font-size: 1.5rem; }
.ipsc-person h2 { margin: var(--s-4) 0 var(--s-1); }
.ipsc-person-role { color: var(--c-brand-action); font-weight: 700; font-size: 0.875rem; margin: 0 0 var(--s-3); }
.ipsc-person-sub { font-weight: 700; margin: 0 0 var(--s-3); }
.ipsc-person-motto { font-weight: 700; color: var(--c-ink); }
.ipsc-photo-todo { aspect-ratio: 4 / 3; border-radius: var(--r-card); background: var(--c-ink-2) repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,0.04) 18px 36px); }
.ipsc-boxed { border: 1px solid var(--c-line); border-radius: var(--r-card); padding: var(--s-6); }
.ipsc-boxed h2 { margin-top: 0; }
.ipsc-inline-form { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: flex-end; margin: var(--s-6) 0; }
.ipsc-inline-form label { flex-basis: 100%; font-weight: 700; font-size: 0.875rem; }
.ipsc-inline-form select { flex: 0 1 340px; height: var(--field-h); border: 1px solid #c9cbc6; border-radius: var(--r-control); padding: 0 var(--s-3); font: inherit; background: var(--c-paper); }
.ipsc-cards4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s-4); margin-bottom: var(--s-8); }
.ipsc-card { border: 1px solid var(--c-line); border-radius: var(--r-card); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-2); }
.ipsc-card span { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-text-2); }
.ipsc-card strong { font-size: 1.25rem; }
.ipsc-card small { color: var(--c-text-2); }
.ipsc-card--dark { background: var(--c-ink); color: var(--c-paper); border-color: var(--c-ink); }
.ipsc-card--dark span { color: var(--c-muted-dark); }
.ipsc-zones th { width: 30%; }
.ipsc-pickups { list-style: none; margin: 0; display: grid; gap: var(--s-2); }
.ipsc-pickups li { background: var(--c-ink-2); border-radius: var(--r-control); padding: var(--s-3) var(--s-4); }
.ipsc-pickups strong { color: var(--c-paper); margin-right: var(--s-2); }
.ipsc-steps { list-style: none; margin: 0 0 var(--s-8); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s-4); counter-reset: s; }
.ipsc-steps li { counter-increment: s; border: 1px solid var(--c-line); border-radius: var(--r-card); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-2); color: #33363c; font-size: 0.9375rem; }
.ipsc-steps li::before { content: counter(s, decimal-leading-zero); font-size: 2.25rem; font-weight: 800; font-stretch: 72%; color: var(--c-brand-action); }
.ipsc-steps strong { color: var(--c-ink); font-size: 1.0625rem; }
.ipsc-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.ipsc-form p { margin: 0; display: flex; flex-direction: column; gap: var(--s-1); }
.ipsc-form label { font-weight: 600; font-size: 0.875rem; }
.ipsc-form input, .ipsc-form textarea { min-height: var(--field-h); border: 1px solid #c9cbc6; border-radius: var(--r-control); padding: var(--s-2) var(--s-3); font: inherit; box-sizing: border-box; width: 100%; }
.ipsc-form-wide { grid-column: 1 / -1; }
.ipsc-form small { color: var(--c-text-2); }
.ipsc-hp { position: absolute !important; left: -9999px; }
.ipsc-subcats a[aria-current="page"] { background: var(--c-ink); color: var(--c-paper); border-color: var(--c-ink); }
.ipsc-events { list-style: none; margin: var(--s-4) 0; display: flex; flex-direction: column; gap: var(--s-3); }
.ipsc-event { display: flex; gap: var(--s-6); align-items: center; border: 1px solid var(--c-line); border-radius: var(--r-card); padding: var(--s-4) var(--s-6); }
.ipsc-event-date { flex: none; width: 84px; display: flex; flex-direction: column; align-items: center; background: var(--c-ink); color: var(--c-paper); border-radius: var(--r-control); padding: var(--s-2) 0; }
.ipsc-event-date span { color: var(--c-brand-on-dark); font-weight: 700; font-size: 0.8125rem; }
.ipsc-event-date strong { font-size: 1.625rem; font-weight: 800; }
.ipsc-event-date small { color: var(--c-muted-dark); font-size: 0.75rem; }
.ipsc-event-body { display: flex; flex-direction: column; gap: var(--s-1); min-width: 0; }
.ipsc-event-body > strong { font-size: 1.25rem; }
.ipsc-event-body > span { color: var(--c-text-2); }
.ipsc-tags { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.ipsc-tags em { font-style: normal; font-size: 0.75rem; font-weight: 700; background: var(--c-paper-2); padding: 3px 10px; border-radius: var(--r-pill); color: var(--c-ink); }
.ipsc-build { display: flex; flex-wrap: wrap; gap: var(--s-8); align-items: flex-start; }
.ipsc-build-list { flex: 999 1 600px; min-width: 0; list-style: none; margin: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.ipsc-build-item { display: flex; gap: var(--s-4); align-items: center; border: 1px solid var(--c-line); border-radius: var(--r-card); padding: var(--s-4); flex-wrap: wrap; }
.ipsc-build-n { flex: none; width: 40px; height: 40px; border-radius: var(--r-pill); background: var(--c-ink); color: var(--c-paper); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ipsc-build-img { flex: none; width: 110px; }
.ipsc-build-img img { width: 110px; height: 90px; object-fit: contain; }
.ipsc-build-text { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: var(--s-1); }
.ipsc-build-text a { color: var(--c-ink); font-weight: 700; text-decoration: none; }
.ipsc-build-brand { font-size: 0.75rem; font-weight: 700; color: var(--c-text-2); text-transform: uppercase; letter-spacing: 0.06em; }
.ipsc-build-buy { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: var(--s-2); }
.ipsc-build-price { font-weight: 800; font-size: 1.125rem; }
.ipsc-build-total { flex: 1 1 280px; max-width: 360px; position: sticky; top: var(--s-6); background: var(--c-ink); color: var(--c-paper); border-radius: 14px; padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-3); }
.ipsc-build-total strong { font-size: 2.25rem; font-weight: 800; }
.ipsc-build-total small { color: var(--c-muted-dark); }
.ipsc-prose { max-width: 760px; margin-top: var(--s-8); font-size: 1.0625rem; }
.ipsc-gmstory { background: var(--c-ink); color: var(--c-paper); border-radius: var(--r-card); padding: var(--s-6); margin: var(--s-4) 0 var(--s-6); }
.ipsc-gmstory .ipsc-eyebrow { color: var(--c-brand-on-dark); }
.ipsc-gmstory-lead { font-size: var(--fs-body-l); margin: 0 0 var(--s-3); }
.ipsc-gmstory-todo { color: var(--c-muted-dark); font-size: 0.9375rem; }
.ipsc-short-answer { background: var(--c-paper-2); border-radius: var(--r-card); padding: var(--s-6); margin: 0 0 var(--s-8); font-size: 1.0625rem; }
@media (max-width: 767px) {
  .ipsc-form { grid-template-columns: 1fr; }
  .ipsc-event { padding: var(--s-4); gap: var(--s-4); }
  .ipsc-build-total { position: static; max-width: none; }
  .ipsc-build-buy { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
}

/* ---------- home hero with the gun bar (wireframe) ---------- */
.ipsc-hero-inner--bar { display: block; padding-top: var(--s-12); padding-bottom: var(--s-12); }
.ipsc-hero-inner--bar h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); text-transform: none; font-stretch: 85%; margin: 0 0 var(--s-3); }
.ipsc-hero-sub { color: #d6d8dc; font-size: var(--fs-body-l); margin: 0 0 var(--s-8); max-width: 820px; }
.ipsc-gunform--hero { flex-direction: row; flex-wrap: wrap; gap: var(--s-3); align-items: stretch; }
.ipsc-gunform--hero .ipsc-gf-field { flex: 1 1 200px; background: var(--c-paper); border-radius: var(--r-control); padding: var(--s-2) var(--s-3); display: flex; flex-direction: column; justify-content: center; min-height: 60px; box-sizing: border-box; }
.ipsc-gunform--hero .ipsc-gf-field label { margin: 0; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-text-2); }
.ipsc-gunform--hero .ipsc-gf-field label span { text-transform: none; letter-spacing: 0; font-weight: 400; }
.ipsc-gunform--hero .ipsc-gf-field select { border: 0; height: 30px; padding: 0; font-size: 1rem; font-weight: 600; background: transparent; color: var(--c-ink); }
.ipsc-gunform--hero .ipsc-gf-go { flex: 0 1 200px; min-height: 60px; margin: 0; background: var(--c-brand-action) !important; color: #fff !important; font-size: 1.0625rem; border-radius: var(--r-control); }
.ipsc-gunform--hero .ipsc-gf-go:hover { background: #b82400 !important; }
/* five fields in the bar since brand and model are two lists */
.ipsc-gunform--hero .ipsc-gf-field { min-width: 0; }
.ipsc-gunform--hero .ipsc-gf-field select { width: 100%; min-width: 0; }
.ipsc-gunform select:disabled { opacity: 0.5; }
.ipsc-gunform--header .ipsc-gf-field { display: flex; flex-direction: column; gap: var(--s-1); }
.ipsc-gunform--header .ipsc-gf-field label span { font-weight: 400; color: var(--c-text-2); }
.ipsc-gunform--header .ipsc-gf-go { background: var(--c-brand-action) !important; }
.ipsc-discs { margin: calc(-1 * var(--s-6)) 0 var(--s-12); position: relative; z-index: 1; }
.ipsc-discs ul { list-style: none; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.ipsc-discs a { display: flex; flex-direction: column; gap: var(--s-1); height: 100%; box-sizing: border-box; background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r-card); padding: var(--s-4) var(--s-4) var(--s-6); color: var(--c-ink); text-decoration: none; box-shadow: 0 6px 20px rgba(17,18,20,0.06); }
.ipsc-discs a:hover { border-color: var(--c-ink); color: var(--c-ink); }
.ipsc-discs strong { font-size: 1.0625rem; }
.ipsc-discs span { color: #33363c; font-size: 0.9375rem; }
.home.ipsc-v2 .ipsc-trust { margin-top: 0; }
@media (max-width: 900px) { .ipsc-discs ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .ipsc-gunform--hero .ipsc-gf-field, .ipsc-gunform--hero .ipsc-gf-go { flex-basis: 100%; }
  .ipsc-discs { margin-top: var(--s-4); }
}

/* ---------- gun pages (FEA-02) ---------- */
.ipsc-gun-group { margin: var(--s-8) 0; }
.ipsc-gun-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); border-bottom: 1px solid var(--c-line); margin-bottom: var(--s-4); }
.ipsc-gun-group-head h2 { margin: 0 0 var(--s-2); }
.ipsc-gun-group-head span { color: var(--c-text-2); font-size: 0.875rem; }
.ipsc-gun-page-link { width: 100%; margin: calc(-1 * var(--s-2)) 0 var(--s-4); font-size: 0.9375rem; }
.ipsc-gun-page-link a { font-weight: 700; color: var(--c-ink); }
.ipsc-guns { list-style: none; margin: 0 0 var(--s-6); display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--s-3); }
.ipsc-guns a { display: flex; flex-direction: column; gap: var(--s-1); border: 1px solid var(--c-line); border-radius: var(--r-card); padding: var(--s-4); color: var(--c-ink); text-decoration: none; }
.ipsc-guns a:hover { border-color: var(--c-ink); color: var(--c-ink); }
.ipsc-guns span { color: var(--c-text-2); font-size: 0.875rem; }

/* ---------- home hero with photo (v2.1: photo left of centre, copy right half, gun bar at the bottom) ---------- */
.ipsc-hero--photo { overflow: hidden; background: var(--c-ink); }
.ipsc-hero-photo { display: block; }
.ipsc-hero--photo .ipsc-hero-photo img { position: absolute; top: 0; right: calc(50% - 80px); height: 100%; width: auto; max-width: max(calc(50vw + 80px), 600px); object-fit: cover; object-position: left center;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 82%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 82%, transparent 100%); }
.ipsc-hero--photo .ipsc-hero-inner--bar { position: relative; z-index: 1; min-height: 600px; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-10); padding-top: 56px; padding-bottom: var(--s-12); }
.ipsc-hero--photo .ipsc-hero-copy { margin-left: 50%; width: 50%; padding-left: 72px; box-sizing: border-box; }
.ipsc-hero--photo .ipsc-hero-sub { margin-bottom: 0; }
.ipsc-hero--photo .ipsc-gunform--hero { width: 100%; max-width: none; margin: 0; box-sizing: border-box; flex-wrap: nowrap; background: rgba(17,18,20,0.78); padding: var(--s-3); border-radius: var(--r-card); box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.home.ipsc-v2 .ipsc-discs { margin-top: var(--s-8); }
@media (max-width: 900px) {
  .ipsc-hero--photo .ipsc-hero-photo img { position: relative; right: auto; width: 100%; max-width: none; height: 260px; object-position: 25% center; display: block; -webkit-mask-image: none; mask-image: none; }
  .ipsc-hero--photo .ipsc-hero-inner--bar { min-height: 0; padding-top: var(--s-6); gap: var(--s-6); }
  .ipsc-hero--photo .ipsc-hero-copy { width: auto; margin-left: 0; padding-left: 0; }
  .ipsc-hero--photo .ipsc-gunform--hero { flex-wrap: wrap; background: transparent; padding: 0; box-shadow: none; }
}
.ipsc-hero-tagline { display: block; margin-top: var(--s-3); font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.25; font-stretch: 100%; font-weight: 700; color: var(--c-paper); }
.ipsc-hero--photo .ipsc-hero-sub { margin-top: var(--s-4); }
.ipsc-hero-cta { margin: var(--s-6) 0 0; }
.ipsc-v2 .ipsc-hero a.ipsc-btn--ghost { color: var(--c-paper); border-color: var(--c-paper); }
.ipsc-v2 .ipsc-hero a.ipsc-btn--ghost:hover { background: var(--c-paper); color: var(--c-ink); }

/* gun picker panel (hero, wide screens): every gun of the discipline in columns, no scrolling */
.ipsc-gunform--hero { position: relative; }
.ipsc-gf-pickbtn, .ipsc-gf-pick { display: none; }
@media (min-width: 901px) {
  .ipsc-gunform--hero.is-enhanced [data-ipsc-gun] { display: none; }
  .ipsc-v2 .ipsc-gunform--hero .ipsc-gf-pickbtn { display: block; margin: 0; min-height: 0; box-shadow: none; letter-spacing: 0; text-transform: none; width: 100%; height: 30px; padding: 0 24px 0 0; border: 0; border-radius: 0; text-align: left; font: inherit; font-size: 1rem; font-weight: 600; color: var(--c-ink) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111214' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 4px center !important; }
  .ipsc-v2 .ipsc-gunform--hero .ipsc-gf-pickbtn:focus-visible { outline: 2px solid var(--c-brand-action); outline-offset: 4px; }
  .ipsc-gf-pick:not([hidden]) { display: block; position: absolute; left: 0; max-width: 100%; box-sizing: border-box; bottom: calc(100% + 8px); z-index: 20; background: var(--c-paper); color: var(--c-ink); border-radius: var(--r-card); padding: var(--s-4) var(--s-4) var(--s-2); box-shadow: 0 18px 50px rgba(0,0,0,0.45); column-count: 4; column-gap: var(--s-4); }
  .ipsc-gf-pickgroup { break-inside: avoid; margin: 0 0 var(--s-3); display: flex; flex-direction: column; }
  .ipsc-gf-pickgroup p { margin: 0 0 var(--s-1); padding: 0 8px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-text-2); }
  .ipsc-v2 .ipsc-gunform--hero .ipsc-gf-pickgroup button { display: block; min-height: 0; box-shadow: none; letter-spacing: 0; text-transform: none; width: 100%; text-align: left; margin: 0; padding: 6px 8px; border: 0; border-radius: 6px; background: transparent !important; color: var(--c-ink) !important; font: inherit; font-size: 0.9375rem; font-weight: 500; line-height: 1.3; cursor: pointer; }
  .ipsc-v2 .ipsc-gunform--hero .ipsc-gf-pickgroup button:hover, .ipsc-v2 .ipsc-gunform--hero .ipsc-gf-pickgroup button:focus { background: #f1f1ef !important; outline: none; }
  .ipsc-v2 .ipsc-gunform--hero .ipsc-gf-pickgroup button[aria-pressed="true"] { background: var(--c-ink) !important; color: var(--c-paper) !important; }
}
@media (min-width: 901px) {
  .ipsc-v2 .ipsc-gunform--hero .ipsc-gf-pickbtn { text-align: left !important; justify-content: flex-start !important; padding: 0 24px 0 0 !important; height: 30px !important; line-height: 30px !important; min-height: 0 !important; min-width: 0; }
  .ipsc-v2 .ipsc-gunform--hero .ipsc-gf-pickgroup button { text-align: left !important; justify-content: flex-start !important; min-height: 0 !important; }
}

/* "Customize and optimize" (home section title, category tagline) */
.ipsc-discs-head { margin: var(--s-12) 0 var(--s-4); }
.ipsc-discs-head h2 { margin: 0 0 var(--s-1); font-size: clamp(1.75rem, 3vw, 2.5rem); }
.ipsc-discs-head p { margin: 0; color: var(--c-text-2); font-size: var(--fs-body-l); }
.home.ipsc-v2 .ipsc-discs-head + .ipsc-discs { margin-top: 0; }
.ipsc-cat-tagline { margin: 0 0 var(--s-4); font-size: var(--fs-body-l); font-weight: 600; color: var(--c-ink); }

/* category page: one gun line, text under the products */
.ipsc-gun-notice { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-4); align-items: center; }
.ipsc-gun-notice-links a { font-weight: 700; }
.ipsc-cat-about { clear: both; margin: var(--s-12) 0 var(--s-6); padding-top: var(--s-8); border-top: 1px solid var(--c-line); max-width: 820px; color: var(--c-text-2); }
.ipsc-cat-about .term-description p { color: inherit; }

/* My gun panel: close button */
.ipsc-v2 .ipsc-mygun-panel > p { padding-right: 36px; }
.ipsc-v2 .ipsc-mygun-panel .ipsc-mygun-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; min-height: 0 !important; padding: 0 !important; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent !important; color: var(--c-text-2) !important; font-size: 1.75rem; line-height: 1; cursor: pointer; }
.ipsc-v2 .ipsc-mygun-panel .ipsc-mygun-close:hover, .ipsc-v2 .ipsc-mygun-panel .ipsc-mygun-close:focus-visible { background: #f1f1ef !important; color: var(--c-ink) !important; outline: none; }

/* sub-category chips on wide screens: an even grid, name left and count right (phones keep the scrolling strip) */
@media (min-width: 768px) {
  .ipsc-subcats ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); grid-auto-rows: 1fr; gap: var(--s-2); }
  .ipsc-subcats li { min-width: 0; }
  .ipsc-subcats a { display: flex; width: 100%; height: 100%; box-sizing: border-box; justify-content: space-between; gap: var(--s-3); min-height: 44px; padding: var(--s-2) var(--s-4); border-radius: var(--r-control); line-height: 1.25; }
  .ipsc-subcats a span { flex: none; font-variant-numeric: tabular-nums; }
}

/* ---------- phones: compact header (logo, My gun, menu on one row; search on the next) ---------- */
@media (max-width: 767px) {
  .ipsc-topbar { font-size: 0.75rem; }
  .ipsc-topbar .col-full { padding-top: 6px; padding-bottom: 6px; justify-content: center; }
  .ipsc-topbar-extra { display: none; }
  .ipsc-v2 .site-header { position: relative; padding-top: 0; padding-bottom: 0; }
  .ipsc-v2 .site-header .site-search .widget, .ipsc-v2 .site-header .site-search form { margin-bottom: 0; }
  .ipsc-v2 .site-header > .col-full { position: static; margin-left: 0; margin-right: 0; padding-left: var(--s-4); gap: var(--s-2) var(--s-3); padding-top: var(--s-3); padding-bottom: var(--s-3); padding-right: calc(var(--s-4) + 44px + var(--s-3)); }
  .ipsc-v2 .site-header .site-branding { flex: 0 1 auto; min-width: 0; min-height: 44px; display: flex; align-items: center; }
  .ipsc-v2 .site-header .site-branding img { max-height: 24px; }
  .ipsc-mygun-pre, .ipsc-mygun-div { display: none; }
  .ipsc-account { display: none; }
  .ipsc-mygun { order: 2; margin-left: auto; }
  details.ipsc-mygun { position: static; order: 2; margin-left: auto; }
  details.ipsc-mygun > summary { height: 44px; padding: 0 var(--s-3); max-width: calc(100vw - 225px); box-sizing: border-box; }
  details.ipsc-mygun > summary span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .ipsc-v2 .ipsc-mygun-panel { left: var(--s-4); right: var(--s-4); top: calc(var(--s-3) + 44px + var(--s-2)); width: auto; }
  .ipsc-v2 .site-header .site-search { order: 6; flex: 1 1 100%; margin-right: calc(-1 * (44px + var(--s-3))); }
  .ipsc-v2 .site-header .site-search .widget_product_search form input[type="search"] { height: 44px; }
  .ipsc-v2 .site-header .ipsc-langs { order: 7; margin-right: calc(-1 * (44px + var(--s-3))); }
  /* the menu button lives in the navigation block: lift it to the first row, icon only */
  .ipsc-v2 .storefront-primary-navigation { position: static; }
  .ipsc-v2 .storefront-primary-navigation .col-full { position: static; display: block; padding-top: 0; padding-bottom: 0; }
  .ipsc-v2 .main-navigation { position: static; }
  .ipsc-v2 button.menu-toggle { position: absolute; top: var(--s-3); right: var(--s-4); width: 44px; height: 44px; min-height: 0; padding: 0; margin: 0; border-radius: var(--r-control); float: none; max-width: none; }
  .ipsc-v2 button.menu-toggle span { font-size: 0; line-height: 0; color: transparent; }
  .ipsc-v2 button.menu-toggle:focus-visible { outline: 2px solid var(--c-brand-on-dark); outline-offset: 2px; }
  .ipsc-v2 button.menu-toggle::before, .ipsc-v2 button.menu-toggle::after, .ipsc-v2 button.menu-toggle span::before { left: 12px; width: 18px; }
  .ipsc-v2 .site-header-cart { display: none; }
}

/* selector: note when some divisions are not open to the chosen gun */
.ipsc-gf-note { margin: 0; font-size: 0.8125rem; line-height: 1.4; color: var(--c-text-2); }
.ipsc-gunform--hero .ipsc-gf-note { order: 9; flex: 1 1 100%; color: #d6d8dc; padding: 0 var(--s-1); }
@media (min-width: 901px) { .ipsc-gunform--hero .ipsc-gf-note { position: absolute; left: 40%; right: var(--s-3); top: calc(100% + 6px); text-align: right; } }
@media (max-width: 767px) { .ipsc-v2 button.menu-toggle:focus { outline: 2px solid var(--c-brand-on-dark); outline-offset: 2px; } }

/* ---------- product grid: CSS grid instead of Storefront's floated columns (4 / 3 / 2) ---------- */
.ipsc-v2 ul.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); margin-left: 0; margin-right: 0; }
.ipsc-v2 ul.products::before, .ipsc-v2 ul.products::after { display: none; }
.ipsc-v2 ul.products li.product, .ipsc-v2 ul.products li.product-category { width: auto !important; float: none !important; margin: 0 !important; min-width: 0; }
@media (min-width: 768px) { .ipsc-v2 ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); } }
@media (min-width: 1100px) { .ipsc-v2 ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ipsc-v2 ul.products li.product .button { padding-left: var(--s-2); padding-right: var(--s-2); }
.ipsc-card-opts { display: block; margin: 0 0 var(--s-2); font-size: 0.8125rem; line-height: 1.35; color: var(--c-text-2); }
/* "Show 12 / 24 / 48" beside the sorting */
.ipsc-perpage { float: left; display: inline-flex; align-items: center; gap: var(--s-2); margin: 0 var(--s-4) var(--s-4) 0; font-size: 0.9375rem; color: var(--c-text-2); }
.ipsc-perpage label { margin: 0; font-weight: 400; }
.ipsc-perpage select { height: var(--target-min); border: 1px solid #c9cbc6; border-radius: var(--r-control); padding: 0 var(--s-3); font: inherit; font-size: 0.9375rem; background: var(--c-paper); color: var(--c-ink); }
@media (min-width: 768px) { .ipsc-v2.ipsc-parts-tiles ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* sorting bar: sort, show, count, then pages on the right, on one line */
.ipsc-v2 .storefront-sorting { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); margin-bottom: var(--s-6); }
.ipsc-v2 .storefront-sorting::before, .ipsc-v2 .storefront-sorting::after { display: none; }
.ipsc-v2 .storefront-sorting > * { float: none !important; margin: 0 !important; }
.ipsc-v2 .storefront-sorting .woocommerce-ordering { order: 1; }
.ipsc-v2 .storefront-sorting .ipsc-perpage { order: 2; }
.ipsc-v2 .storefront-sorting .woocommerce-result-count { order: 3; padding: 0; }
.ipsc-v2 .storefront-sorting .woocommerce-pagination { order: 4; margin-left: auto !important; padding: 0; border: 0; }
.ipsc-v2 .storefront-sorting .woocommerce-notices-wrapper { order: 0; flex: 1 1 100%; }
.ipsc-v2 .storefront-sorting .woocommerce-notices-wrapper:empty { display: none; }

.ipsc-gun-notice-rule { flex: 1 1 100%; font-size: 0.8125rem; color: var(--c-text-2); }

/* product cards: same structure on every card (title up to 3 lines, one options line, price and button at the bottom) */
.ipsc-v2 ul.products li.product { height: 100%; }
.ipsc-v2 ul.products li.product > a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.ipsc-v2 ul.products li.product .woocommerce-loop-product__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; min-height: 0; margin-bottom: var(--s-1); }
.ipsc-v2 ul.products li.product .ipsc-fit { display: block; margin-bottom: var(--s-1); }
.ipsc-v2 ul.products li.product .ipsc-card-opts { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: var(--s-2); }
.ipsc-v2 ul.products li.product .price { margin-top: auto; padding-top: var(--s-2); margin-bottom: 0; }
.ipsc-v2 ul.products li.product > .button, .ipsc-v2 ul.products li.product > a.added_to_cart { margin-top: var(--s-3); flex: none; }

/* fit lines in the cart and at checkout */
.ipsc-v2 .cart_item .ipsc-fit, .ipsc-v2 .woocommerce-checkout-review-order-table .ipsc-fit { display: block; margin-top: 2px; font-size: 0.8125rem; font-weight: 600; }
.ipsc-fit--no { color: #8a4b00; }
/* checkout: payment choice in the brand colour */
.ipsc-v2 #payment .payment_methods > li > input[type="radio"]:checked + label::before, .ipsc-v2 #payment .payment_methods li input[type="radio"]:first-child:checked + label::before { color: var(--c-brand-action); }

/* an item note without a label (backorder delay) no longer leaves a lone colon */
.ipsc-v2 dl.variation dt.variation- { display: none; }
.ipsc-v2 dl.variation dd.variation- { margin-left: 0; padding-left: 0; }
.ipsc-v2 ul.products li.product .ipsc-fit { margin-top: 0; }

/* ---------- search suggestions ---------- */
.ipsc-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; background: var(--c-paper); color: var(--c-ink); border-radius: var(--r-card); box-shadow: 0 20px 50px rgba(0,0,0,0.35); padding: var(--s-2); max-height: 70vh; overflow-y: auto; text-align: left; }
.ipsc-v2 .ipsc-suggest a.ipsc-suggest-row { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-2) var(--s-3); border-radius: 8px; color: var(--c-ink); text-decoration: none; font-size: 0.9375rem; line-height: 1.3; }
.ipsc-v2 .ipsc-suggest a.ipsc-suggest-row:hover, .ipsc-v2 .ipsc-suggest a.ipsc-suggest-row:focus { background: #f1f1ef; outline: none; color: var(--c-ink); }
.ipsc-suggest img { width: 40px; height: 40px; object-fit: contain; flex: none; border-radius: 6px; background: #fff; }
.ipsc-suggest-title { flex: 1 1 auto; min-width: 0; }
.ipsc-suggest-price { flex: none; font-weight: 700; white-space: nowrap; }
.ipsc-suggest-kind { flex: none; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-text-2); }
.ipsc-suggest-cat strong { flex: 1 1 auto; }
.ipsc-suggest-n { color: var(--c-text-2); }
.ipsc-v2 .ipsc-suggest a.ipsc-suggest-gun { background: #f2f8f4; color: var(--c-fit); }
.ipsc-v2 .ipsc-suggest a.ipsc-suggest-all { justify-content: center; font-weight: 700; color: var(--c-brand-action); border-top: 1px solid var(--c-line); border-radius: 0 0 8px 8px; margin-top: var(--s-1); }
.ipsc-suggest-none { margin: 0; padding: var(--s-3); color: var(--c-text-2); }
/* product grids inside narrow blocks (404 page, widgets): as many columns as fit */
.ipsc-v2 .error-404 ul.products, .ipsc-v2 .widget ul.products { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }

/* ---------- customer reviews ---------- */
.ipsc-v2 .star-rating span::before, .ipsc-v2 p.stars a::before, .ipsc-v2 p.stars a:hover ~ a::before, .ipsc-v2 p.stars.selected a.active::before, .ipsc-v2 p.stars.selected a:not(.active)::before { color: var(--c-brand-action); }
.ipsc-v2 p.stars.selected a.active ~ a::before { color: #c9cbc6; }
.ipsc-v2 .star-rating::before { color: #c9cbc6; opacity: 1; }
.ipsc-v2 .woocommerce-product-rating { margin: var(--s-2) 0 var(--s-3); display: flex; align-items: center; gap: var(--s-2); }
.ipsc-v2 .woocommerce-product-rating .woocommerce-review-link { color: var(--c-text-2); font-size: var(--fs-small); }
.ipsc-v2 ul.products li.product .star-rating { margin: 0 0 var(--s-2); font-size: 0.8125rem; }
.ipsc-v2 #reviews .commentlist { list-style: none; margin: 0 0 var(--s-6); padding: 0; }
.ipsc-v2 #reviews .commentlist li.review { border: 1px solid var(--c-line); border-radius: var(--r-card); padding: var(--s-4); margin: 0 0 var(--s-3); }
.ipsc-v2 #reviews .commentlist .comment_container { display: flex; gap: var(--s-4); }
.ipsc-v2 #reviews .commentlist .comment-text { flex: 1 1 auto; width: auto; float: none; padding: 0; border: 0; }
.ipsc-v2 #reviews .commentlist .avatar { float: none; width: 44px; height: 44px; border-radius: 50%; margin: 0; }
.ipsc-v2 #reviews .woocommerce-review__verified { color: var(--c-fit); font-style: normal; font-weight: 600; }
.ipsc-v2 #review_form #respond { background: var(--c-paper-2); border-radius: var(--r-card); padding: var(--s-6); margin: 0; }
.ipsc-v2 #review_form textarea, .ipsc-v2 #review_form input[type="text"], .ipsc-v2 #review_form input[type="email"] { border: 1px solid #c9cbc6; border-radius: var(--r-control); background: var(--c-paper); box-shadow: none; }
.ipsc-v2 #reviews .woocommerce-verification-required, .ipsc-v2 #reviews .woocommerce-noreviews { background: var(--c-paper-2); border-radius: var(--r-control); padding: var(--s-4); color: var(--c-text-2); margin: 0; }

/* ---------- match calendar: photos of the stand ---------- */
.ipsc-stand { margin: var(--s-6) 0 var(--s-10); scroll-margin-top: 160px; }
.ipsc-stand-text h2 { margin: 0 0 var(--s-1); font-size: clamp(1.5rem, 2.6vw, 2rem); }
.ipsc-stand-text p { margin: 0 0 var(--s-4); color: var(--c-text-2); font-size: var(--fs-body-l); max-width: 720px; }
.ipsc-stand-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 1fr; gap: var(--s-2); }
.ipsc-stand-grid picture { display: block; border-radius: var(--r-card); overflow: hidden; background: var(--c-paper-2); aspect-ratio: 4 / 3; }
.ipsc-stand-grid picture.ipsc-stand-big { grid-row: span 2; aspect-ratio: auto; }
.ipsc-stand-grid img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
@media (max-width: 767px) {
  .ipsc-stand-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .ipsc-stand-grid picture.ipsc-stand-big { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
}
.ipsc-footer-credit a { color: inherit; text-decoration: underline; }
.ipsc-footer-credit a:hover { color: var(--c-paper); }

/* ================= warmer site (2026-11-11): tinted page, white blocks, bands, brand triangles, faces ================= */
:root { --c-page: #f6f3ee; }
body.ipsc-v2 { background: var(--c-page); }
.ipsc-v2 .site-content, .ipsc-v2 .site-main { background: transparent; }
.ipsc-v2 .woocommerce-breadcrumb { background: transparent; }
/* blocks that were grey on white become white on the tinted page */
.ipsc-v2 .cart-collaterals .cart_totals, .ipsc-v2 #order_review, .ipsc-v2 #review_form #respond, .ipsc-short-answer, .ipsc-boxed, .ipsc-card:not(.ipsc-card--dark), .ipsc-event, .ipsc-build-item,
.ipsc-v2 .woocommerce-form-login, .ipsc-v2 .woocommerce-form-register, .ipsc-v2 .woocommerce-order-overview, .ipsc-v2 table.shop_table, .ipsc-steps li, .ipsc-guns a,
.ipsc-v2 #reviews .woocommerce-verification-required, .ipsc-v2 #reviews .woocommerce-noreviews { background: var(--c-paper); border: 1px solid var(--c-line); }
.ipsc-tags em { background: var(--c-page); }
.ipsc-trust { background: var(--c-paper); border-top: 1px solid var(--c-line); }
.ipsc-v2 #secondary .widget { background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r-card); padding: var(--s-4); margin-bottom: var(--s-4); }
.ipsc-v2 .woocommerce-ordering select, .ipsc-v2 .ipsc-perpage select { background-color: var(--c-paper); }
/* product page: the buying block and the tabs are white cards */
.single-product.ipsc-v2 div.product .woocommerce-product-gallery { background: var(--c-paper); }
.single-product.ipsc-v2 div.product .summary { background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r-card); padding: var(--s-6); box-sizing: border-box; }
.single-product.ipsc-v2 .woocommerce-tabs { background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r-card); padding: var(--s-6); box-sizing: border-box; margin-bottom: var(--s-12); }
.single-product.ipsc-v2 .woocommerce-tabs ul.tabs { border-top: 0; }
/* brand triangles (the pattern of the stand banner) on every dark area */
.ipsc-band--tri, .ipsc-v2 .site-footer, .ipsc-band--dark, .ipsc-greg { background-image: url("../img/tri.svg"); background-size: 360px 360px; }
/* ask Lilia */
.ipsc-ask { display: flex; align-items: center; gap: var(--s-4); margin: var(--s-4) 0 0; padding: var(--s-4); background: var(--c-page); border-radius: var(--r-card); }
.ipsc-ask picture { flex: none; }
.ipsc-ask img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; display: block; }
.ipsc-ask p { margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: 0.9375rem; line-height: 1.4; }
.ipsc-ask span { color: var(--c-text-2); }
/* Gregory band on GM products */
.ipsc-gregband { clear: both; margin-top: var(--s-8); margin-bottom: var(--s-8); overflow: hidden; }
.ipsc-gregband .ipsc-band-inner { display: flex; align-items: center; gap: var(--s-12); padding-top: 0; padding-bottom: 0; min-height: 280px; }
.ipsc-gregband-photo { flex: 0 0 38%; align-self: stretch; display: block; margin-left: calc(-1 * var(--gutter)); }
.ipsc-gregband-photo img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; object-position: 20% 30%; display: block; border-radius: 0; }
.ipsc-gregband-text { padding: var(--s-8) 0; }
.ipsc-gregband-text h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin: 0 0 var(--s-3); }
.ipsc-gregband-text p { margin: 0 0 var(--s-4); max-width: 560px; }
.ipsc-v2 .ipsc-gregband a.ipsc-btn--ghost { color: var(--c-paper); border-color: var(--c-paper); }
/* trust band with icons */
.ipsc-trustband { clear: both; margin-bottom: var(--s-12); }
.ipsc-trustband .ipsc-band-inner { padding-top: var(--s-8); padding-bottom: var(--s-8); }
.ipsc-trustband ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-8); }
.ipsc-trustband li { display: flex; gap: var(--s-4); align-items: flex-start; margin: 0; }
.ipsc-trustband .ipsc-ico { flex: none; width: 32px; height: 32px; color: var(--c-brand-on-dark); }
.ipsc-trustband li span { display: flex; flex-direction: column; gap: 2px; color: #d6d8dc; font-size: 0.9375rem; }
.ipsc-trustband strong { color: var(--c-paper); font-size: 1.0625rem; }
.ipsc-v2 .ipsc-trustband a { color: var(--c-paper); text-decoration: underline; }
@media (max-width: 767px) {
  .ipsc-gregband .ipsc-band-inner { flex-direction: column; align-items: stretch; gap: 0; padding-left: 0; padding-right: 0; }
  .ipsc-gregband-photo { flex: none; margin-left: 0; }
  .ipsc-gregband-photo img { height: 200px; min-height: 0; }
  .ipsc-gregband-text { padding: var(--s-6) var(--s-4); }
  .ipsc-trustband ul { grid-template-columns: 1fr; gap: var(--s-4); }
  .single-product.ipsc-v2 div.product .summary, .single-product.ipsc-v2 .woocommerce-tabs { padding: var(--s-4); }
}
/* product page bands sit inside the page as rounded dark cards (the product container clips full-width bands) */
.single-product.ipsc-v2 .ipsc-gregband, .single-product.ipsc-v2 .ipsc-trustband { left: auto; right: auto; width: auto; margin-left: 0; margin-right: 0; border-radius: var(--r-card); overflow: hidden; }
.single-product.ipsc-v2 .ipsc-gregband .ipsc-band-inner { padding-left: 0; padding-right: var(--s-8); max-width: none; }
.single-product.ipsc-v2 .ipsc-gregband-photo { margin-left: 0; }
.single-product.ipsc-v2 .ipsc-trustband .ipsc-band-inner { padding-left: var(--s-8); padding-right: var(--s-8); max-width: none; }
@media (max-width: 767px) { .single-product.ipsc-v2 .ipsc-gregband .ipsc-band-inner { padding-right: 0; } .single-product.ipsc-v2 .ipsc-trustband .ipsc-band-inner { padding-left: var(--s-4); padding-right: var(--s-4); } }
/* a widget with nothing in it shows no empty white block */
.ipsc-v2 #secondary .widget:not(:has(img, ul, ol, form, p, a, h2, h3, h4, span, input, select)) { display: none; }
/* cross-sells in the cart: as many cards as fit, not four squeezed ones */
.ipsc-v2 .cart-collaterals .cross-sells ul.products { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

/* ---------- deals and new ---------- */
.ipsc-v2 .main-navigation ul.menu > li.ipsc-menu-deals > a, .ipsc-v2 .main-navigation ul.nav-menu > li.ipsc-menu-deals > a, .ipsc-v2 .handheld-navigation li.ipsc-menu-deals > a { color: var(--c-brand-on-dark); }
.ipsc-v2 ul.products li.product .onsale { position: absolute; top: var(--s-4); right: var(--s-4); left: auto; z-index: 1; margin: 0; min-height: 0; min-width: 0; padding: 3px 8px; line-height: 1.4; background: var(--c-brand-action); color: #fff; border: 0; border-radius: var(--r-badge); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.02em; text-transform: none; }
.ipsc-card-new { position: absolute; top: var(--s-4); right: var(--s-4); z-index: 1; padding: 3px 8px; line-height: 1.4; background: var(--c-paper); color: var(--c-ink); border: 1px solid var(--c-ink); border-radius: var(--r-badge); font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.ipsc-v2 ul.products li.product.sale .ipsc-card-new { top: calc(var(--s-4) + 30px); }
.ipsc-deal-end { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--c-brand-action); margin-top: 2px; }
.ipsc-v2 ul.products li.product .price del { color: var(--c-text-2); font-weight: 400; font-size: 0.875rem; margin-right: var(--s-1); }
.ipsc-v2 ul.products li.product .price ins { text-decoration: none; color: var(--c-brand-action); }
.ipsc-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-4); }
.ipsc-section-head .section-title { margin-bottom: 0; }
.ipsc-section-head a { font-weight: 700; color: var(--c-brand-action); }
.ipsc-deal-note { background: var(--c-paper); border: 2px solid var(--c-brand-action); border-radius: var(--r-card); padding: var(--s-4) var(--s-6); margin: 0 0 var(--s-6); font-size: 1.0625rem; }
.ipsc-deal-note > :last-child { margin-bottom: 0; }
.single-product.ipsc-v2 div.product > .onsale { background: var(--c-brand-action); color: #fff; border: 0; border-radius: var(--r-badge); font-weight: 800; padding: 4px 10px; }
@media (max-width: 767px) { .ipsc-v2 ul.products li.product .onsale, .ipsc-card-new { top: var(--s-2); right: var(--s-2); } .ipsc-v2 ul.products li.product.sale .ipsc-card-new { top: calc(var(--s-2) + 28px); } }
/* Gear page: the "View all" link sits under its row of cards (the old negative margin hid it behind the last card) */
.ipsc-v2 .ipsc-view-all { clear: both; text-align: right; margin: var(--s-3) 0 var(--s-8); }
.ipsc-v2 .ipsc-view-all a { font-weight: 700; color: var(--c-brand-action); }

/* photos of Gregory (2026-11-12): home block, About, Rifle and PCC category */
picture.ipsc-greg-photo { display: block; background: var(--c-ink-2); }
picture.ipsc-greg-photo img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; object-position: 60% 30%; display: block; border-radius: 0; }
.ipsc-person-photo { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden; background: var(--c-ink-2); }
.ipsc-person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; border-radius: 0; }
.ipsc-cat-photo { display: block; margin: 0 0 var(--s-4); border-radius: var(--r-card); overflow: hidden; max-width: 750px; aspect-ratio: 5 / 2; }
.ipsc-cat-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; border-radius: 0; }
@media (max-width: 767px) { picture.ipsc-greg-photo img { min-height: 220px; max-height: 300px; } }

/* ---------- /guns/: one card per maker, in a grid ---------- */
.ipsc-makers { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: var(--s-4); margin: var(--s-6) 0 var(--s-12); align-items: start; }
.ipsc-maker { background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r-card); overflow: hidden; }
.ipsc-v2 .ipsc-maker-head { margin: 0; height: 96px; display: flex; align-items: center; justify-content: center; padding: var(--s-4) var(--s-6); border-bottom: 1px solid var(--c-line); box-sizing: border-box; }
.ipsc-maker-head img { max-height: 56px; max-width: 80%; width: auto; height: auto; object-fit: contain; border-radius: 0; }
.ipsc-maker-name { font-size: 1.75rem; line-height: 1; }
.ipsc-maker-guns { list-style: none; margin: 0; padding: var(--s-2); }
.ipsc-maker-guns li { margin: 0; }
.ipsc-v2 .ipsc-maker-guns a { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); padding: var(--s-3); border-radius: var(--r-control); color: var(--c-ink); text-decoration: none; }
.ipsc-v2 .ipsc-maker-guns a:hover, .ipsc-v2 .ipsc-maker-guns a:focus-visible { background: var(--c-page); color: var(--c-ink); }
.ipsc-maker-guns span { flex: none; color: var(--c-text-2); font-size: 0.875rem; }

/* /guns/ cards: clickable head with the maker's total, then every model */
.ipsc-v2 .ipsc-maker-head { height: auto; padding: 0; display: block; }
.ipsc-v2 .ipsc-maker-head a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-2); min-height: 112px; padding: var(--s-4); box-sizing: border-box; color: var(--c-ink); text-decoration: none; }
.ipsc-v2 .ipsc-maker-head a:hover, .ipsc-v2 .ipsc-maker-head a:focus-visible { background: var(--c-page); }
.ipsc-maker-head img { max-height: 44px; }
.ipsc-maker-all { font-family: var(--font); font-stretch: 100%; font-size: 0.875rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--c-brand-action); }
.ipsc-maker-guns span { font-variant-numeric: tabular-nums; }
.ipsc-maker-head img { max-height: 64px; max-width: 62%; }
.ipsc-v2 .ipsc-maker-head a { min-height: 136px; }
.ipsc-maker-note { margin: 0; padding: var(--s-4); color: var(--c-text-2); font-size: 0.9375rem; }
.ipsc-maker-head img[src$=".svg"] { height: 40px; width: auto; }
.ipsc-maker-sub { font-family: var(--font); font-stretch: 100%; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-text-2); }

/* /guns/: cards of one row share the same height; the logo sits in a fixed zone so the totals line up */
.ipsc-makers { align-items: stretch; }
.ipsc-maker { display: flex; flex-direction: column; }
.ipsc-v2 .ipsc-maker-head a { min-height: 0; height: 150px; justify-content: flex-end; gap: var(--s-1); padding-bottom: var(--s-4); }
.ipsc-maker-head img, .ipsc-maker-head .ipsc-maker-name { margin: auto 0; }
.ipsc-maker-head img { max-height: 60px; }

/* /guns/: three models per card, the rest behind "Show all N models" */
.ipsc-maker-more { display: flex; flex-direction: column-reverse; margin-top: auto; }
.ipsc-maker-more > .ipsc-maker-guns { padding-top: 0; margin-top: calc(-1 * var(--s-2)); }
.ipsc-maker-more > summary { list-style: none; cursor: pointer; margin: 0 var(--s-2) var(--s-2); padding: var(--s-2) var(--s-3); border-radius: var(--r-control); font-size: 0.875rem; font-weight: 700; color: var(--c-brand-action); }
.ipsc-maker-more > summary::-webkit-details-marker { display: none; }
.ipsc-maker-more > summary:hover, .ipsc-maker-more > summary:focus-visible { background: var(--c-page); outline: none; }
.ipsc-maker-more .ipsc-more-open, .ipsc-maker-more[open] .ipsc-more-closed { display: none; }
.ipsc-maker-more[open] .ipsc-more-open { display: inline; }
.ipsc-maker > .ipsc-maker-guns { padding-bottom: 0; }
.ipsc-maker > .ipsc-maker-guns:last-child { padding-bottom: var(--s-2); }

/* German, French and Italian menu labels are longer: tighter items so that the menu stays on one line */
html[lang^="de"] .ipsc-v2 .main-navigation ul.menu > li > a, html[lang^="fr"] .ipsc-v2 .main-navigation ul.menu > li > a, html[lang^="it"] .ipsc-v2 .main-navigation ul.menu > li > a, html[lang^="es"] .ipsc-v2 .main-navigation ul.menu > li > a { padding-left: 0.6em; padding-right: 0.6em; letter-spacing: 0.02em; }
@media (min-width: 768px) and (max-width: 1320px) {
  html[lang^="de"] .ipsc-v2 .main-navigation ul.menu > li > a, html[lang^="fr"] .ipsc-v2 .main-navigation ul.menu > li > a, html[lang^="it"] .ipsc-v2 .main-navigation ul.menu > li > a, html[lang^="es"] .ipsc-v2 .main-navigation ul.menu > li > a { padding-left: 0.45em; padding-right: 0.45em; font-size: 0.875rem; }
}
/* empty listing: ways out */
.ipsc-empty { margin: 0 0 var(--s-8); }
.ipsc-empty-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-3) 0 0; }
.ipsc-empty-change { margin: var(--s-6) 0 var(--s-2); font-weight: 600; }
/* Gear landing (curated rows): nothing to filter, so no filter column */
.ipsc-v2.ipsc-gear-landing #secondary { display: none; }
.ipsc-v2.ipsc-gear-landing #primary { width: 100%; float: none; margin-right: 0; }
/* /guns/: one section per discipline, with jump links */
.ipsc-makers-nav { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 0 var(--s-6); }
.ipsc-makers-nav a { display: inline-block; padding: 8px 16px; border: 1px solid #d9d6cf; border-radius: 999px; background: var(--c-paper); color: var(--c-ink); font-weight: 600; text-decoration: none; }
.ipsc-makers-nav a:hover { border-color: var(--c-ink); }
.ipsc-makers-title { margin: var(--s-8) 0 var(--s-4); scroll-margin-top: 90px; }
.ipsc-makers-nav + .ipsc-makers-title { margin-top: 0; }
/* /brands/: logo and number only */
.ipsc-makers--brands { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ipsc-makers--brands .ipsc-maker-head { border-bottom: 0; }
.ipsc-makers--brands .ipsc-maker-head img { max-height: 64px; max-width: 70%; }
.ipsc-makers--brands .ipsc-maker-name { text-align: center; }

/* ---------- gun notice: real buttons (2026-11-25) ---------- */
.ipsc-gun-notice-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); }
.ipsc-v2 .ipsc-gun-notice a.ipsc-btn { min-height: var(--target-min); padding: 0.55em 1.1em; font-size: 0.875rem; }
.ipsc-v2 .ipsc-gun-notice a.ipsc-btn--notice { background: var(--c-fit); border-color: var(--c-fit); color: var(--c-paper); }
.ipsc-v2 .ipsc-gun-notice a.ipsc-btn--notice:hover, .ipsc-v2 .ipsc-gun-notice a.ipsc-btn--notice:focus-visible { background: #17532d; border-color: #17532d; color: var(--c-paper); }
.ipsc-v2 .ipsc-gun-notice a.ipsc-btn--notice-alt { background: var(--c-paper); border-color: var(--c-fit); color: var(--c-fit); }
.ipsc-v2 .ipsc-gun-notice a.ipsc-btn--notice-alt:hover, .ipsc-v2 .ipsc-gun-notice a.ipsc-btn--notice-alt:focus-visible { background: #e3f0e7; color: var(--c-fit); }
.ipsc-v2 .ipsc-gun-notice a.ipsc-gun-notice-page { color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; font-size: 0.875rem; padding: var(--s-2) 0; }
.ipsc-gun-notice-rule::before { content: "\24D8"; color: var(--c-fit); font-weight: 700; margin-right: 0.4em; }
@media (max-width: 767px) {
  .ipsc-gun-notice-links { width: 100%; }
  .ipsc-gun-notice-links .ipsc-btn { flex: 1 1 auto; }
  .ipsc-gun-notice-links .ipsc-gun-notice-page { flex-basis: 100%; }
}

/* ---------- sticky header (2026-11-25) ---------- */
/* Storefront puts overflow-x: hidden on body and .site, which turns them into scroll containers and stops sticky. clip
   cuts the overflow the same way without that side effect. */
body.ipsc-v2, .ipsc-v2 .site { overflow-x: clip; }
.ipsc-v2 .site-header { position: sticky; top: 0; z-index: 100; }
.admin-bar.ipsc-v2 .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.ipsc-v2 .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar.ipsc-v2 .site-header { top: 0; } }
.ipsc-search-toggle { display: none; }
.ipsc-mygun-panel { max-height: calc(100vh - 120px); overflow-y: auto; }
/* computers: the header gets thinner once the page has moved */
@media (min-width: 768px) {
  body.ipsc-scrolled.ipsc-v2 .site-header > .col-full { padding-top: var(--s-2); padding-bottom: var(--s-2); }
  body.ipsc-scrolled.ipsc-v2 .main-navigation ul.menu > li > a { padding-top: 0.55em; padding-bottom: 0.55em; }
  body.ipsc-scrolled.ipsc-v2 .site-header .site-branding img { max-height: 28px; }
}
/* phones: only the first row stays (logo, My gun, search button, menu); the search opens from the magnifier */
@media (max-width: 767px) {
  body.ipsc-scrolled.ipsc-v2 .site-header .site-search, body.ipsc-scrolled.ipsc-v2 .site-header .ipsc-langs { display: none !important; }
  body.ipsc-scrolled.ipsc-v2 .site-header.ipsc-search-open .site-search { display: block !important; }
  body.ipsc-scrolled.ipsc-v2 .ipsc-search-toggle { display: inline-flex; order: 3; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 0 !important; padding: 0 !important; margin: 0; border: 1px solid var(--c-line-dark); border-radius: var(--r-control); background: transparent !important; color: var(--c-paper) !important; }
  body.ipsc-scrolled.ipsc-v2 .ipsc-search-toggle[aria-expanded="true"] { background: var(--c-ink-2) !important; }
  body.ipsc-scrolled.ipsc-v2 details.ipsc-mygun > summary { max-width: calc(100vw - 280px); }
  .ipsc-v2 .main-navigation.toggled .handheld-navigation { max-height: calc(100vh - 140px); overflow-y: auto; }
}

/* ---------- reset of the gun choice (2026-11-25) ---------- */
/* red cross close to the pill (Hervé, 2026-11-25); #ff4d4f on the ink header: 5.6:1 */
.ipsc-mygun-reset { order: 3; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-left: calc(-1 * var(--s-6) + 6px); border-radius: 50%; color: #ff4d4f !important; font-size: 1.5rem; font-weight: 700; line-height: 1; text-decoration: none; }
.ipsc-mygun-reset:hover, .ipsc-mygun-reset:focus-visible { color: var(--c-paper) !important; background: #d42a2a; }
.ipsc-v2 .ipsc-gun-notice a.ipsc-gun-notice-reset { color: var(--c-text-2); font-weight: 400; font-size: 0.875rem; text-decoration: underline; text-underline-offset: 3px; padding: var(--s-2) 0; }
.ipsc-fits-actions { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); margin-top: var(--s-2); font-size: 0.8125rem; }
.ipsc-v2 .ipsc-fits-actions a { color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
  .ipsc-mygun-reset { order: 2; margin-left: calc(-1 * var(--s-3) + 4px); width: 32px; height: 44px; border-radius: var(--r-control); }
  .ipsc-gun-notice-links .ipsc-gun-notice-reset { flex-basis: 100%; }
}

/* ---------- My Gear / My Parts beside the category title (2026-11-25) ---------- */
.ipsc-v2 .woocommerce-products-header { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--s-6); }
.ipsc-v2 .woocommerce-products-header > * { flex: 1 1 100%; }
.ipsc-v2 .woocommerce-products-header > .woocommerce-products-header__title { flex: 1 1 auto; order: 1; }
.ipsc-v2 .woocommerce-products-header > .ipsc-cat-switch { flex: 0 0 auto; order: 2; }
.ipsc-v2 .woocommerce-products-header > :not(.woocommerce-products-header__title):not(.ipsc-cat-switch) { order: 3; }
.ipsc-v2 a.ipsc-cat-switch { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: var(--target-min); padding: var(--s-2) var(--s-4); border: 2px solid var(--c-fit); border-radius: var(--r-control); background: var(--c-paper); color: var(--c-fit); text-decoration: none; margin-bottom: var(--s-3); }
.ipsc-v2 a.ipsc-cat-switch:hover, .ipsc-v2 a.ipsc-cat-switch:focus-visible { background: #e3f0e7; color: var(--c-fit); }
.ipsc-cat-switch-main { font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.03em; }
.ipsc-cat-switch-sub { font-size: 0.75rem; color: var(--c-text-2); }
.ipsc-subcats a.is-gun span { display: inline-flex; align-items: center; gap: 4px; color: var(--c-fit); font-weight: 700; }
.ipsc-subcats a.is-gun span .ipsc-ico { width: 14px; height: 14px; }
@media (max-width: 767px) {
  .ipsc-v2 .woocommerce-products-header > .ipsc-cat-switch { flex: 1 1 100%; order: 2; align-items: center; }
}
/* Guides: Greg's reference tables (migration 013) */
.ipsc-v2 .entry-content table.ipsc-guide-table { width: 100%; border-collapse: collapse; margin: var(--s-4) 0 var(--s-6); font-size: 0.9375rem; }
.ipsc-v2 .entry-content table.ipsc-guide-table th, .ipsc-v2 .entry-content table.ipsc-guide-table td { border: 1px solid var(--c-line); padding: 0.55em 0.8em; text-align: left; vertical-align: top; background: transparent; }
.ipsc-v2 .entry-content table.ipsc-guide-table thead th { background: var(--c-ink); color: var(--c-paper); font-weight: 700; }
.ipsc-v2 .entry-content table.ipsc-guide-table td:last-child { font-weight: 700; white-space: nowrap; }
@media (max-width: 600px) { .ipsc-v2 .entry-content table.ipsc-guide-table { font-size: 0.8125rem; } .ipsc-v2 .entry-content table.ipsc-guide-table th, .ipsc-v2 .entry-content table.ipsc-guide-table td { padding: 0.45em 0.5em; } }
