/* ONG Merch page: layout pass 2026-09-25 (v1.0.4) */
body.page-id-1564,
body.page-merch {
  background: #e8eaed !important;
}
body.page-id-1564 .site-content,
body.page-id-1564 .entry-content,
body.page-id-1564 #content,
body.page-id-1564 .page-content {
  background: #e8eaed !important;
}
body.page-id-1564 .page-header {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 1.25rem 1rem 0.25rem !important;
  margin: 0 !important;
  text-align: center !important;
}
body.page-id-1564 .page-header .entry-title,
body.page-id-1564 h1.entry-title {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  -webkit-text-fill-color: #0F2442 !important;
  color: #0F2442 !important;
  display: inline-block !important;
  padding: 0 !important;
  margin: 0.5rem auto 0.75rem !important;
  font-weight: 700 !important;
}
body.page-id-1564 .page-header .entry-title mark,
body.page-id-1564 .page-header .entry-title span,
body.page-id-1564 h1.entry-title mark {
  background: transparent !important;
  color: #0F2442 !important;
  box-shadow: none !important;
}
body.page-id-1564 .entry-content,
body.page-id-1564 .entry-content p,
body.page-id-1564 .entry-content li,
body.page-id-1564 .entry-content h2,
body.page-id-1564 .entry-content h3,
body.page-id-1564 #ong-merch-grid,
body.page-id-1564 #ong-merch-filters {
  color: #1f2937 !important;
}
/* Hero has NO h1: theme page-header owns the title */
body.page-id-1564 .entry-content .ong-merch-hero h1 {
  display: none !important;
}
body.page-id-1564 .entry-content a,
body.page-id-1564 #ong-merch-filters a,
body.page-id-1564 #ong-merch-grid a {
  color: #1d4ed8 !important;
}
/* Buttons keep white label: do not inherit blue link color */
body.page-id-1564 #ong-merch-grid a.button,
body.page-id-1564 #ong-merch-grid a.add_to_cart_button,
body.page-id-1564 #ong-merch-grid a.ajax_add_to_cart,
body.page-id-1564 .woocommerce ul.products li.product a.button,
body.page-id-1564 .woocommerce a.button.add_to_cart_button,
body.page-id-1564 .entry-content a.button.add_to_cart_button,
body.page-id-1564 .ong-merch-hero .button,
body.page-id-1564 #ong-merch-filters .button,
body.page-id-1564 .ong-merch-chips .button,
body.page-id-1564 .ong-merch-ctas .button {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* —— Hero: intro + equal horizontal CTAs (no second H1) —— */
body.page-id-1564 .ong-merch-hero {
  background: transparent !important;
  color: #0F2442 !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0.25rem 1rem 1.25rem !important;
  margin: 0 0 0.5rem !important;
  text-align: center !important;
  border-radius: 0 !important;
}
body.page-id-1564 .ong-merch-hero p,
body.page-id-1564 .ong-merch-hero .ong-merch-lede {
  background: transparent !important;
  text-shadow: none !important;
  color: #374151 !important;
  margin: 0 0 1rem !important;
  font-size: 1.05rem !important;
  line-height: 1.5 !important;
}
body.page-id-1564 .ong-merch-ctas {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin: 0 !important;
}
body.page-id-1564 .ong-merch-hero .button,
body.page-id-1564 .ong-merch-ctas .button,
body.page-id-1564 #ong-merch-filters .button,
body.page-id-1564 .ong-merch-chips .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #0F2442 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid #0F2442 !important;
  border-radius: 999px !important;
  padding: 0.55rem 1.25rem !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  outline: none !important;
  text-shadow: none !important;
  filter: none !important;
  min-width: 9.5rem !important;
  flex: 0 1 auto !important;
  transition: background 0.15s ease, border-color 0.15s ease !important;
}
body.page-id-1564 .ong-merch-hero .button:hover,
body.page-id-1564 .ong-merch-hero .button:focus,
body.page-id-1564 .ong-merch-hero .button:focus-visible,
body.page-id-1564 .ong-merch-ctas .button:hover,
body.page-id-1564 .ong-merch-ctas .button:focus,
body.page-id-1564 .ong-merch-ctas .button:focus-visible,
body.page-id-1564 #ong-merch-filters .button:hover,
body.page-id-1564 #ong-merch-filters .button:focus,
body.page-id-1564 #ong-merch-filters .button:focus-visible,
body.page-id-1564 .ong-merch-chips .button:hover,
body.page-id-1564 .ong-merch-chips .button:focus,
body.page-id-1564 .ong-merch-chips .button:focus-visible {
  background: #1a3a66 !important;
  border-color: #1a3a66 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: none !important;
  outline: none !important;
  filter: none !important;
  text-shadow: none !important;
}
/* Kill theme/focus glow artifacts on pills and chips */
body.page-id-1564 .ong-merch-hero .button,
body.page-id-1564 .ong-merch-ctas .button,
body.page-id-1564 #ong-merch-filters .button,
body.page-id-1564 .ong-merch-chips .button,
body.page-id-1564 .ong-merch-hero .button:active,
body.page-id-1564 .ong-merch-chips .button:active {
  box-shadow: none !important;
  outline: none !important;
  filter: none !important;
  -webkit-box-shadow: none !important;
}

/* —— Filter chips: navy pills, optional :target current —— */
body.page-id-1564 #ong-merch-filters.ong-merch-chips,
body.page-id-1564 .ong-merch-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 0 1.75rem !important;
  padding: 0 !important;
}
body.page-id-1564 .ong-merch-chips .button {
  min-width: 4.5rem !important;
  padding: 0.45rem 1rem !important;
  font-size: 0.9rem !important;
}
/* Subtle current via :has/:target (no JS) */
body.page-id-1564:has(#ong-merch-grid:target) .ong-merch-chips a[href="#ong-merch-grid"],
body.page-id-1564:has(#ong-merch-ong:target) .ong-merch-chips a[href="#ong-merch-ong"],
body.page-id-1564:has(#ong-merch-opi:target) .ong-merch-chips a[href="#ong-merch-opi"] {
  background: #1a3a66 !important;
  border-color: #C9A227 !important;
  box-shadow: inset 0 0 0 1px #C9A227 !important;
}

/* —— Product grid: force even 3-col desktop (kill Woo floats) —— */
body.page-id-1564 #ong-merch-grid ul.products,
body.page-id-1564 #ong-merch-grid .woocommerce ul.products,
body.page-id-1564 .woocommerce #ong-merch-grid ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 1.5rem !important;
  padding: 0 !important;
  list-style: none !important;
  clear: both !important;
}
body.page-id-1564 #ong-merch-grid ul.products::before,
body.page-id-1564 #ong-merch-grid ul.products::after,
body.page-id-1564 #ong-merch-grid .woocommerce ul.products::before,
body.page-id-1564 #ong-merch-grid .woocommerce ul.products::after {
  display: none !important;
  content: none !important;
  clear: none !important;
}
body.page-id-1564 #ong-merch-grid ul.products li.product,
body.page-id-1564 #ong-merch-grid .woocommerce ul.products li.product,
body.page-id-1564 .woocommerce #ong-merch-grid ul.products li.product {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  clear: none !important;
  position: relative !important;
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 4px !important;
  padding: 8px 8px 12px !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  text-align: center !important;
}
@media (max-width: 900px) {
  body.page-id-1564 #ong-merch-grid ul.products,
  body.page-id-1564 #ong-merch-grid .woocommerce ul.products,
  body.page-id-1564 .woocommerce #ong-merch-grid ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 560px) {
  body.page-id-1564 #ong-merch-grid ul.products,
  body.page-id-1564 #ong-merch-grid .woocommerce ul.products,
  body.page-id-1564 .woocommerce #ong-merch-grid ul.products {
    grid-template-columns: 1fr !important;
  }
}

body.page-id-1564 .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.page-id-1564 .woocommerce ul.products li.product h2 {
  color: #0F2442 !important;
  font-weight: 600;
  font-size: 0.95rem !important;
  line-height: 1.3 !important;
  margin: 0.5rem 0 0.25rem !important;
}
body.page-id-1564 .woocommerce ul.products li.product .price,
body.page-id-1564 .woocommerce ul.products li.product .price * {
  color: #0F2442 !important;
}
body.page-id-1564 .woocommerce ul.products li.product .price {
  font-size: 0.9rem !important;
  margin-bottom: 0.35rem !important;
}
body.page-id-1564 .woocommerce ul.products li.product a img,
body.page-id-1564 .woocommerce ul.products li.product img {
  margin: 0 auto !important;
  border-radius: 2px !important;
}

/* Add to cart: keep small white text (~0.78rem) */
body.page-id-1564 .woocommerce ul.products li.product .button,
body.page-id-1564 .woocommerce a.button.add_to_cart_button,
body.page-id-1564 .woocommerce a.button.product_type_simple,
body.page-id-1564 .woocommerce a.button.product_type_variable,
body.page-id-1564 #ong-merch-grid a.button.add_to_cart_button,
body.page-id-1564 #ong-merch-grid a.add_to_cart_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 7.2rem !important;
  margin-top: 0.5rem !important;
  padding: 0.6rem 1.06rem !important;
  border-radius: 4px !important;
  border: none !important;
  background: #0F2442 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 0.78rem !important;
  line-height: 1.2 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}
body.page-id-1564 .woocommerce ul.products li.product .button:hover,
body.page-id-1564 .woocommerce a.button.add_to_cart_button:hover,
body.page-id-1564 .woocommerce a.button.product_type_simple:hover,
body.page-id-1564 #ong-merch-grid a.button.add_to_cart_button:hover {
  background: #1a3a66 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: none !important;
  transform: none !important;
}
body.page-id-1564 .woocommerce ul.products li.product .button:active {
  transform: none !important;
}
body.page-id-1564 a.added_to_cart {
  display: inline-block !important;
  margin-left: 0.5rem !important;
  color: #0F2442 !important;
  font-weight: 600 !important;
}
body.page-id-1564 .onsale {
  background: #C9A227 !important;
  color: #0a1628 !important;
  font-weight: 700 !important;
}
body.page-id-1564 .ong-merch-section h2 {
  color: #0F2442 !important;
  text-align: center !important;
}
body.page-id-1564 .ong-merch-section > p {
  color: #4b5563 !important;
  text-align: center !important;
}
