/*
Theme Name:        Blocksy — A1 Compounds (Chrome Vault)
Theme URI:         https://a1compounds.com
Description:       Child theme of Blocksy, customized for A1 Compounds. Implements the "Chrome Vault" dark premium aesthetic (oklch palette + DM Sans/DM Mono typography). All compliance-sensitive copy is sourced from compliance-rules.md via wp_options — never hardcode disclaimer text in this file.
Author:            A1 Compounds
Author URI:        https://a1compounds.com
Template:          blocksy
Version:           0.1.0
Text Domain:       blocksy-a1-compounds-child
*/

/* ============================================================================
   Web fonts — DM Sans + DM Mono (Chrome Vault typography)
   ============================================================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ============================================================================
   Chrome Vault design tokens
   Source: design-reference/design-tokens.json
   These are CSS custom properties consumed by Blocksy and our overrides below.
   Edit centrally; never hardcode oklch values in templates.
   ============================================================================ */
:root {
  /* Backgrounds */
  --bpc-background:        oklch(0.13 0.005 260);
  --bpc-background-deeper: oklch(0.10 0.005 260);
  --bpc-foreground:        oklch(0.92 0.005 250);

  /* Surfaces */
  --bpc-card:              oklch(0.17 0.005 260);
  --bpc-card-image-well:   oklch(0.14 0.005 260);
  --bpc-secondary:         oklch(0.20 0.005 260);
  --bpc-accent:            oklch(0.20 0.008 260);
  --bpc-muted:             oklch(0.22 0.005 260);
  --bpc-muted-fg:          oklch(0.60 0.01 250);

  /* Borders */
  --bpc-border-subtle:     oklch(0.18 0.006 260);
  --bpc-border:            oklch(0.25 0.008 260);
  --bpc-border-strong:     oklch(0.28 0.01 260);
  --bpc-border-hover:      oklch(0.40 0.02 240);

  /* Primary */
  --bpc-primary:           oklch(0.65 0.06 240);
  --bpc-primary-hover:     oklch(0.60 0.07 240);

  /* Text scale */
  --bpc-text-body:         oklch(0.70 0.01 250);
  --bpc-text-muted:        oklch(0.65 0.01 250);
  --bpc-text-faint:        oklch(0.55 0.01 250);
  --bpc-text-fainter:      oklch(0.50 0.01 250);
  --bpc-text-faintest:     oklch(0.45 0.01 250);

  /* Semantic */
  --bpc-input:             oklch(0.22 0.008 260);
  --bpc-ring:              oklch(0.65 0.06 240);
  --bpc-destructive:       oklch(0.55 0.22 25);

  /* Typography */
  --bpc-font-sans: 'DM Sans', system-ui, sans-serif;
  --bpc-font-mono: 'DM Mono', ui-monospace, monospace;

  /* Geometry */
  --bpc-radius: 0.375rem;
  --bpc-container-max: 1280px;
}

/* sRGB hex fallback for browsers without oklch (~3% global) */
@supports not (color: oklch(0% 0 0)) {
  :root {
    --bpc-background:        #161721;
    --bpc-background-deeper: #0F1019;
    --bpc-foreground:        #E4E4EC;
    --bpc-card:              #1D1E29;
    --bpc-card-image-well:   #1A1B26;
    --bpc-secondary:         #23242F;
    --bpc-accent:            #23242F;
    --bpc-muted:             #272833;
    --bpc-muted-fg:          #8E8F9A;
    --bpc-border-subtle:     #25262F;
    --bpc-border:            #2D2E39;
    --bpc-border-strong:     #353644;
    --bpc-border-hover:      #495D80;
    --bpc-primary:           #7B9CC9;
    --bpc-primary-hover:     #6E91C4;
    --bpc-text-body:         #A2A4B0;
    --bpc-text-muted:        #989AA7;
    --bpc-text-faint:        #7E8090;
    --bpc-text-fainter:      #717383;
    --bpc-text-faintest:     #656776;
    --bpc-input:             #272833;
    --bpc-ring:              #7B9CC9;
    --bpc-destructive:       #C84A2E;
  }
}

/* ============================================================================
   Base body + typography
   These rules use !important to override Blocksy's dynamic-styles plugin
   which inlines its own body bg/font in <head> AFTER the child theme CSS.
   ============================================================================ */
html,
body,
body.woocommerce,
.ct-main-styles,
.site,
.ct-container {
  background: var(--bpc-background) !important;
  color: var(--bpc-foreground);
}
body {
  font-family: var(--bpc-font-sans) !important;
  -webkit-font-smoothing: antialiased;
  background: var(--bpc-background) !important;
  color: var(--bpc-foreground) !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--bpc-font-sans) !important;
  letter-spacing: -0.02em;
  color: var(--bpc-foreground) !important;
}

/* Override Blocksy's palette variables when they're used as fallbacks */
:root {
  --theme-palette-color-1: var(--bpc-primary);
  --theme-palette-color-2: var(--bpc-primary-hover);
  --theme-palette-color-3: var(--bpc-foreground);
  --theme-palette-color-4: var(--bpc-text-body);
  --theme-palette-color-5: var(--bpc-background);
  --theme-palette-color-6: var(--bpc-card);
  --theme-palette-color-7: var(--bpc-border);
  --theme-palette-color-8: var(--bpc-background-deeper);
  --theme-link-initial-color: var(--bpc-primary);
  --theme-link-hover-color: var(--bpc-primary-hover);
  --theme-text-color: var(--bpc-text-body);
  --theme-heading-color: var(--bpc-foreground);
}

.bpc-mono,
.woocommerce-Price-amount,
.price .amount,
.product-sku,
.product_meta .sku {
  font-family: var(--bpc-font-mono);
  font-feature-settings: 'tnum';
}

/* ============================================================================
   Compliance disclaimer block (rendered by bpc_research_only_disclaimer hook)
   ============================================================================ */
.bpc-disclaimer {
  margin: 1rem 0 1.25rem;
  padding: 0.875rem 1rem;
  background: var(--bpc-muted);
  border-left: 3px solid var(--bpc-primary);
  border-radius: var(--bpc-radius);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--bpc-muted-fg);
}
.bpc-disclaimer strong { color: var(--bpc-foreground); }

/* ============================================================================
   COA download / pending UX (rendered on product page + COA Library)
   ============================================================================ */
.bpc-coa-block {
  margin: 1rem 0;
  padding: 0.875rem 1rem;
  background: var(--bpc-card);
  border: 1px solid var(--bpc-border);
  border-radius: var(--bpc-radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.bpc-coa-block.is-pending { border-color: var(--bpc-muted); }
.bpc-coa-block .bpc-coa-label {
  font-size: 0.8125rem;
  color: var(--bpc-muted-fg);
}
.bpc-coa-block .bpc-coa-cta {
  font-family: var(--bpc-font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 0.5rem 0.875rem;
  border-radius: var(--bpc-radius);
  background: var(--bpc-primary);
  color: var(--bpc-foreground);
}
.bpc-coa-block.is-pending .bpc-coa-cta {
  background: var(--bpc-secondary);
  color: var(--bpc-muted-fg);
  cursor: default;
  pointer-events: none;
}

/* ============================================================================
   Restricted-state checkout error (raised by bpc_block_restricted_states)
   ============================================================================ */
.woocommerce .woocommerce-error.bpc-restricted-state {
  border-top-color: var(--bpc-destructive);
}

/* ============================================================================
   Checkout consent checkbox (rendered by bpc_render_consent_checkbox)
   ============================================================================ */
.bpc-consent-wrap {
  margin: 1.25rem 0;
  padding: 0.875rem 1rem;
  background: var(--bpc-muted);
  border: 1px solid var(--bpc-border);
  border-radius: var(--bpc-radius);
}
.bpc-consent-wrap label {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--bpc-muted-fg);
  cursor: pointer;
}
.bpc-consent-wrap input[type="checkbox"] { margin-top: 0.25rem; }

/* ============================================================================
   Chrome Vault card hover treatment (matches Manus visual reference)
   ============================================================================ */
.chrome-card,
.products .product,
.woocommerce ul.products li.product {
  background: var(--bpc-card);
  border: 1px solid var(--bpc-border);
  border-radius: var(--bpc-radius);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.chrome-card:hover,
.products .product:hover,
.woocommerce ul.products li.product:hover {
  border-color: var(--bpc-border-hover);
  box-shadow: 0 8px 32px oklch(0 0 0 / 0.4);
}

/* ============================================================================
   Custom scrollbar (Chrome Vault aesthetic)
   ============================================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bpc-background); }
::-webkit-scrollbar-thumb { background: oklch(0.30 0.01 260); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: oklch(0.40 0.015 260); }

/* ============================================================================
   Admin notice — COA pending count (rendered by bpc_admin_coa_notice)
   ============================================================================ */
.bpc-admin-notice {
  border-left: 4px solid var(--bpc-primary);
}

/* ============================================================================
 * Wave 2 + 3 sections (each agent appends within its own labelled block)
 * Order: F1 (already in :root above), C1, C2, C3, C4, P1, P2, P3, P4, P5, P6
 * Removing or reordering these markers breaks the parallel-agent merge model.
 * ========================================================================= */

/* === C1: Header === */
header.ct-header,
.site-header,
header[data-row="primary"] {
  background: var(--bpc-background) !important;
  border-bottom: 1px solid var(--bpc-border-subtle) !important;
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
header.ct-header.ct-scrolled,
.site-header.scrolled {
  background: oklch(0.13 0.005 260 / 0.95) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--bpc-border) !important;
}
/* Header row baseline */
header.ct-header [data-row="middle"],
header.ct-header [data-row],
header.ct-header .ct-header-cta-area,
header.ct-header [data-id="menu"],
header.ct-header [data-id="logo"] {
  background: transparent !important;
}
/* Nav links */
header.ct-header .menu li > a,
header.ct-header .ct-header-text [data-id="menu"] a,
header.ct-header [data-id="menu"] a {
  color: var(--bpc-text-body) !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 8px 16px !important;
  border-radius: var(--bpc-radius);
  transition: color 200ms ease, background-color 200ms ease;
  text-decoration: none;
}
header.ct-header .menu li > a:hover,
header.ct-header [data-id="menu"] a:hover {
  color: var(--bpc-foreground) !important;
  background: oklch(0.18 0.006 260) !important;
}
header.ct-header .menu li.current-menu-item > a,
header.ct-header .menu li.current-menu-ancestor > a,
header.ct-header [data-id="menu"] a.current,
header.ct-header [data-id="menu"] .current_page_item a {
  color: var(--bpc-foreground) !important;
  background: var(--bpc-accent) !important;
}
/* Logo height */
header.ct-header [data-id="logo"] img,
.ct-logo-container img {
  max-height: 36px !important;
}
/* Cart icon */
header.ct-header [data-id="cart"] .ct-button-text,
header.ct-header [data-id="cart"] svg {
  color: var(--bpc-text-body) !important;
  transition: color 200ms ease;
}
header.ct-header [data-id="cart"]:hover .ct-button-text,
header.ct-header [data-id="cart"]:hover svg {
  color: var(--bpc-foreground) !important;
}
header.ct-header [data-id="cart"] .ct-cart-item-count,
header.ct-header [data-id="cart"] .cart-count {
  background: var(--bpc-primary) !important;
  color: var(--bpc-foreground) !important;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  min-height: 18px;
  border-radius: 50%;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* Mobile menu trigger */
header.ct-header .ct-toggle-dropdown-mobile,
.ct-mobile-menu-toggle {
  color: var(--bpc-text-body) !important;
}
header.ct-header .ct-toggle-dropdown-mobile:hover {
  color: var(--bpc-foreground) !important;
}
/* Mobile/dropdown panels — chrome-card style */
.ct-header-text .ct-mobile-menu,
.menu-item .sub-menu,
header .sub-menu {
  background: var(--bpc-card) !important;
  border: 1px solid var(--bpc-border-strong) !important;
  border-radius: 0.5rem !important;
  box-shadow: 0 8px 32px oklch(0 0 0 / 0.5) !important;
  padding: 8px !important;
  min-width: 220px;
}
.ct-header-text .ct-mobile-menu a,
.sub-menu a {
  color: var(--bpc-text-body) !important;
  padding: 8px 12px !important;
  border-radius: var(--bpc-radius);
}
.ct-header-text .ct-mobile-menu a:hover,
.sub-menu a:hover {
  color: var(--bpc-foreground) !important;
  background: oklch(0.22 0.008 260) !important;
}



/* === C2: Footer === */
footer.ct-footer,
.site-footer {
  background: var(--bpc-background-deeper) !important;
  border-top: 1px solid var(--bpc-border-subtle) !important;
  color: var(--bpc-text-muted) !important;
  position: relative;
}
/* Inject the research notice band as a ::before pseudo on the footer */
footer.ct-footer::before,
.site-footer::before {
  content: 'For Research Use Only — Not for Human Consumption';
  display: block;
  text-align: center;
  font-family: var(--bpc-font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bpc-primary);
  background: var(--bpc-background-deeper);
  padding: 16px 24px;
  border-bottom: 1px solid var(--bpc-border-subtle);
}
/* All footer text, headings, and links — apply Chrome Vault */
footer.ct-footer *,
.site-footer *,
footer .ct-footer-text,
footer .widget,
footer p,
footer span,
footer li {
  color: var(--bpc-text-muted);
  background: transparent !important;
}
footer.ct-footer h1,
footer.ct-footer h2,
footer.ct-footer h3,
footer.ct-footer h4,
footer.ct-footer h5,
footer.ct-footer h6,
footer.ct-footer .widget-title,
footer .widgettitle {
  color: var(--bpc-text-fainter) !important;
  font-family: var(--bpc-font-sans);
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px !important;
}
footer.ct-footer a,
footer.ct-footer ul li a,
footer.ct-footer p a,
footer.ct-footer .menu a {
  color: var(--bpc-text-muted) !important;
  text-decoration: none;
  transition: color 200ms ease;
  font-size: 14px;
}
footer.ct-footer a:hover {
  color: var(--bpc-foreground) !important;
}
/* Footer columns spacing */
footer.ct-footer ul,
footer.ct-footer .menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer.ct-footer ul li,
footer.ct-footer .menu li {
  margin-bottom: 10px;
  padding: 0;
}
/* Footer container padding */
footer.ct-footer [data-row="middle"],
footer.ct-footer [data-row="primary"],
footer.ct-footer .ct-container {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}
/* Bottom band — copyright + bottom links */
footer.ct-footer [data-row="bottom"],
.ct-footer-bottom,
.site-info {
  border-top: 1px solid var(--bpc-border-subtle) !important;
  padding: 20px 0 !important;
  font-size: 11px !important;
  color: var(--bpc-text-faintest) !important;
}
footer.ct-footer [data-row="bottom"] a,
.ct-footer-bottom a,
.site-info a {
  color: var(--bpc-text-faint) !important;
  font-size: 11px !important;
}
footer.ct-footer [data-row="bottom"] a:hover {
  color: var(--bpc-primary) !important;
}



/* === C3: Product card === */
/* Chrome-card baseline (also targets WooCommerce product loops) */
.woocommerce ul.products,
.products,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 16px !important;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 1024px) {
  .woocommerce ul.products,
  .products,
  ul.products {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
  }
}
.woocommerce ul.products li.product,
.products .product,
ul.products li.product {
  background: var(--bpc-card) !important;
  border: 1px solid var(--bpc-border-strong) !important;
  border-radius: 0.5rem !important;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  position: relative;
  transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
  list-style: none;
}
.woocommerce ul.products li.product:hover,
.products .product:hover {
  border-color: var(--bpc-border-hover) !important;
  box-shadow: 0 8px 32px oklch(0 0 0 / 0.4);
}
/* Image well */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.products .product a.woocommerce-LoopProduct-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.woocommerce ul.products li.product img,
.products .product img,
.woocommerce ul.products li.product .wp-post-image {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  background: var(--bpc-card-image-well) !important;
  margin: 0 !important;
  transition: transform 500ms ease;
  border-radius: 0 !important;
}
.woocommerce ul.products li.product:hover img {
  transform: scale(1.05);
}
/* Research badge — injected via ::before on the product link */
.woocommerce ul.products li.product > a::before,
.products .product > a::before {
  content: 'RESEARCH';
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--bpc-font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bpc-primary);
  background: oklch(0.13 0.005 260 / 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 4px 8px;
  border-radius: 4px;
  pointer-events: none;
}
/* Card content area */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3,
.products .product h2 {
  padding: 16px 16px 0 16px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--bpc-foreground) !important;
  letter-spacing: 0;
  margin: 0 0 4px 0 !important;
  line-height: 1.4;
  transition: color 200ms ease;
}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title,
.woocommerce ul.products li.product:hover h2,
.products .product:hover h2 {
  color: var(--bpc-primary) !important;
}
/* Category eyebrow — uses WC's product_cat data */
.woocommerce ul.products li.product .product-category-eyebrow {
  padding: 16px 16px 0 16px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bpc-text-fainter);
  margin-bottom: -4px;
}
/* Price + SKU row */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .woocommerce-Price-amount,
.products .product .price {
  padding: 0 16px !important;
  margin: 4px 0 !important;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-family: var(--bpc-font-mono) !important;
  font-feature-settings: 'tnum';
  color: var(--bpc-foreground) !important;
  font-size: 16px !important;
  font-weight: 700;
}
.woocommerce ul.products li.product .price del {
  color: var(--bpc-text-faintest);
  font-weight: 400;
  margin-right: 6px;
}
.woocommerce ul.products li.product .price ins {
  background: transparent;
  text-decoration: none;
}
/* Hide WC's default "Read more" / "Add to cart" loop button visually but keep
   for accessibility — we replace with a quick-add FAB on hover. */
.woocommerce ul.products li.product .button.add_to_cart_button,
.woocommerce ul.products li.product .button.product_type_simple,
.woocommerce ul.products li.product .added_to_cart {
  position: absolute !important;
  bottom: calc(100% - 290px) !important;
  right: 12px !important;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  border-radius: var(--bpc-radius) !important;
  background: var(--bpc-primary) !important;
  color: var(--bpc-foreground) !important;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease, background 200ms ease;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 0 !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
  border: none !important;
  z-index: 5 !important;
}
.woocommerce ul.products li.product .button.add_to_cart_button::before {
  content: '+';
  display: block;
  font-size: 24px;
  font-weight: 300;
  text-indent: 0;
  line-height: 1;
  color: var(--bpc-foreground);
}
.woocommerce ul.products li.product:hover .button.add_to_cart_button {
  opacity: 1 !important;
  transform: translateY(0);
}
.woocommerce ul.products li.product .button.add_to_cart_button:hover {
  background: var(--bpc-primary-hover) !important;
}
/* Card bottom padding */
.woocommerce ul.products li.product .ct-woo-card-actions-container,
.woocommerce ul.products li.product::after {
  content: '';
  display: block;
  padding-bottom: 16px;
}
/* Hide "Sold Out" banner default style — we restyle */
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
  background: var(--bpc-primary) !important;
  color: var(--bpc-foreground) !important;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
}



/* === C4: UI primitives (buttons, forms, quantity, disclaimer) === */
/* ===== Buttons ===== */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.button:not(.bpc-outlined):not(.wp-block-button__link),
button.bpc-primary,
input[type="submit"].button {
  background: var(--bpc-primary) !important;
  color: var(--bpc-foreground) !important;
  border: none !important;
  padding: 14px 28px !important;
  border-radius: var(--bpc-radius) !important;
  font-family: var(--bpc-font-sans) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.025em;
  text-transform: none !important;
  text-decoration: none;
  transition: background 200ms ease, transform 100ms ease, opacity 200ms ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce #respond input#submit:hover,
.button:not(.bpc-outlined):hover,
button.bpc-primary:hover {
  background: var(--bpc-primary-hover) !important;
  color: var(--bpc-foreground) !important;
}
.woocommerce a.button:active,
.woocommerce button.button:active,
.button:not(.bpc-outlined):active {
  transform: scale(0.98);
}
.woocommerce a.button.disabled,
.woocommerce button.button:disabled,
.button:disabled {
  opacity: 0.4;
  cursor: not-allowed !important;
}
/* Outlined / secondary buttons */
.button.bpc-outlined,
.button.alt-outlined,
a.bpc-outlined {
  background: transparent !important;
  color: var(--bpc-text-body) !important;
  border: 1px solid var(--bpc-border-strong) !important;
}
.button.bpc-outlined:hover {
  background: oklch(0.15 0.005 260) !important;
  color: var(--bpc-foreground) !important;
}
/* ===== Inputs ===== */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
input[type="text"]:not(.search-field),
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
textarea,
select {
  background: var(--bpc-muted) !important;
  border: 1px solid var(--bpc-border) !important;
  border-radius: var(--bpc-radius) !important;
  color: var(--bpc-foreground) !important;
  padding: 10px 14px !important;
  font-family: var(--bpc-font-sans) !important;
  font-size: 14px !important;
  width: 100%;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  box-shadow: none !important;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus,
.woocommerce form .form-row input.input-text:focus {
  outline: 2px solid oklch(0.65 0.06 240 / 0.5) !important;
  outline-offset: 2px;
  border-color: var(--bpc-primary) !important;
}
::placeholder { color: var(--bpc-text-fainter) !important; opacity: 1; }
/* Labels */
.woocommerce form .form-row label,
.woocommerce-form label {
  color: var(--bpc-text-muted) !important;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 6px;
}
.woocommerce form .form-row .required {
  color: var(--bpc-destructive);
  text-decoration: none;
}
/* Checkbox styling */
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--bpc-primary);
  width: 16px;
  height: 16px;
}
/* ===== Quantity selector ===== */
.woocommerce .quantity {
  display: inline-flex !important;
  align-items: stretch;
  border: 1px solid var(--bpc-border-strong);
  border-radius: var(--bpc-radius);
  overflow: hidden;
  background: var(--bpc-card);
}
.woocommerce .quantity input.qty {
  width: 50px !important;
  height: 40px !important;
  text-align: center !important;
  background: transparent !important;
  border: none !important;
  border-left: 1px solid var(--bpc-border-strong) !important;
  border-right: 1px solid var(--bpc-border-strong) !important;
  border-radius: 0 !important;
  font-family: var(--bpc-font-mono) !important;
  font-feature-settings: 'tnum';
  color: var(--bpc-foreground) !important;
  font-size: 14px;
  font-weight: 600;
  -moz-appearance: textfield;
}
.woocommerce .quantity input.qty::-webkit-inner-spin-button,
.woocommerce .quantity input.qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* ===== Notices (woocommerce-info / -error / -message) ===== */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  background: var(--bpc-card) !important;
  border-left: 4px solid var(--bpc-primary) !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
  border-radius: var(--bpc-radius);
  color: var(--bpc-text-body) !important;
  padding: 14px 18px !important;
  margin-bottom: 16px !important;
  font-size: 14px;
}
.woocommerce-error {
  border-left-color: var(--bpc-destructive) !important;
  color: var(--bpc-foreground) !important;
}
.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before {
  display: none !important;
}
.woocommerce-info a,
.woocommerce-message a {
  color: var(--bpc-primary) !important;
}
/* ===== Eyebrow utility (used across many surfaces) ===== */
.bpc-eyebrow {
  display: inline-block;
  font-family: var(--bpc-font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bpc-primary);
  margin-bottom: 12px;
}



/* === Generic page-header overrides (was light-on-light from Blocksy hero) === */
.hero-section,
.ct-hero-section,
.ct-hero,
.entry-header,
.page-header,
.woocommerce-products-header,
.entry-header-style-2 {
  background: var(--bpc-background) !important;
  background-color: var(--bpc-background) !important;
  background-image: none !important;
  color: var(--bpc-foreground) !important;
  padding: 64px 0 32px 0 !important;
}
.ct-hero-section *,
.ct-hero *,
.entry-header *,
.page-header *,
.woocommerce-products-header *,
.entry-header-style-2 * {
  color: var(--bpc-foreground) !important;
  background: transparent !important;
}
.ct-hero-section h1,
.entry-title,
.page-title,
.woocommerce-products-header__title {
  color: var(--bpc-foreground) !important;
  font-family: var(--bpc-font-sans) !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}
/* WooCommerce result-count and sort row */
.woocommerce .woocommerce-result-count {
  color: var(--bpc-text-faint) !important;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--bpc-font-sans);
}
.woocommerce .woocommerce-ordering select {
  background: var(--bpc-card) !important;
  border-color: var(--bpc-border) !important;
  color: var(--bpc-foreground) !important;
}
/* Pagination */
.woocommerce nav.woocommerce-pagination ul {
  border: none !important;
  display: inline-flex;
  gap: 4px;
}
.woocommerce nav.woocommerce-pagination ul li {
  border: 1px solid var(--bpc-border) !important;
  background: var(--bpc-card) !important;
  border-radius: var(--bpc-radius);
  overflow: hidden;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  color: var(--bpc-text-body) !important;
  background: transparent !important;
  padding: 8px 14px !important;
  border: none !important;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--bpc-primary) !important;
  color: var(--bpc-foreground) !important;
}
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--bpc-accent) !important;
  color: var(--bpc-foreground) !important;
}

/* === P1: Homepage === */
/* Hide the default page title on the homepage — hero replaces it */
body.home .entry-header,
body.home .page-header,
body.home .hero-section,
body.home .ct-hero-section,
body.page-id-51 .entry-header,
body.page-id-51 .page-header,
body.page-id-51 .hero-section {
  display: none !important;
}
/* Remove page padding on home so hero goes edge-to-edge */
body.home .entry-content,
body.page-id-51 .entry-content,
body.home .post-edit-link { padding: 0 !important; max-width: 100% !important; }
body.home .content-area,
body.page-id-51 .content-area,
body.home .ct-container,
body.page-id-51 .ct-container { max-width: 100% !important; padding: 0 !important; }
/* Hero */
.bpc-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  margin-bottom: 64px;
}
.bpc-hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(0.9);
}
.bpc-hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right,
      oklch(0.08 0.005 260 / 0.95) 0%,
      oklch(0.08 0.005 260 / 0.85) 35%,
      oklch(0.08 0.005 260 / 0.55) 65%,
      oklch(0.08 0.005 260 / 0.35) 100%);
}
.bpc-hero__content {
  position: relative; z-index: 1;
  max-width: 720px;
  padding: 96px 32px 96px 5%;
  color: var(--bpc-foreground);
}
.bpc-hero__headline {
  font-family: var(--bpc-font-sans) !important;
  font-size: clamp(32px, 5vw, 56px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.1 !important;
  color: var(--bpc-foreground) !important;
  margin: 0 0 20px 0 !important;
}
.bpc-hero__sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--bpc-text-muted);
  max-width: 540px;
  margin: 0 0 32px 0;
}
.bpc-hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.bpc-btn-primary,
.bpc-btn-outlined {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--bpc-radius);
  font-family: var(--bpc-font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.025em;
  text-decoration: none !important;
  transition: background 200ms ease, transform 100ms ease, opacity 200ms ease;
}
.bpc-btn-primary {
  background: var(--bpc-primary);
  color: var(--bpc-foreground) !important;
}
.bpc-btn-primary:hover {
  background: var(--bpc-primary-hover);
}
.bpc-btn-primary:active,
.bpc-btn-outlined:active { transform: scale(0.98); }
.bpc-btn-outlined {
  background: transparent;
  border: 1px solid var(--bpc-border-strong);
  color: var(--bpc-text-body) !important;
}
.bpc-btn-outlined:hover {
  background: oklch(0.15 0.005 260);
  color: var(--bpc-foreground) !important;
}
.bpc-hero__notice {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bpc-text-faint);
  margin: 0;
}
/* Generic sections */
.bpc-section {
  max-width: var(--bpc-container-max);
  margin: 0 auto;
  padding: 0 32px 64px 32px;
}
.bpc-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}
.bpc-section__header--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.bpc-section__title {
  font-family: var(--bpc-font-sans);
  font-size: 28px;
  font-weight: 700;
  color: var(--bpc-foreground);
  letter-spacing: -0.02em;
  margin: 6px 0 0 0;
}
.bpc-section__more {
  font-size: 14px;
  color: var(--bpc-text-muted);
  text-decoration: none;
  transition: color 200ms ease;
}
.bpc-section__more:hover {
  color: var(--bpc-foreground);
}
/* Categories grid */
.bpc-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 1024px) {
  .bpc-categories { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}
.bpc-cat-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 32px 24px;
  background: var(--bpc-card);
  border: 1px solid var(--bpc-border-strong);
  border-radius: 0.5rem;
  text-decoration: none !important;
  transition: border-color 300ms ease, transform 200ms ease;
  aspect-ratio: 3 / 4;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.bpc-cat-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, oklch(0 0 0 / 0.55), oklch(0 0 0 / 0));
  z-index: 0;
}
.bpc-cat-card:hover {
  border-color: var(--bpc-border-hover);
  transform: translateY(-2px);
}
.bpc-cat-card__name,
.bpc-cat-card__desc {
  position: relative;
  z-index: 1;
}
.bpc-cat-card__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--bpc-foreground);
  letter-spacing: -0.01em;
}
.bpc-cat-card__desc {
  font-size: 13px;
  color: var(--bpc-text-muted);
  line-height: 1.5;
}
/* About / features split */
.bpc-about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.bpc-about__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--bpc-text-muted);
  margin: 16px 0 32px 0;
}
.bpc-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
}
.bpc-feature {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bpc-feature strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--bpc-foreground);
}
.bpc-feature span {
  font-size: 13px;
  color: var(--bpc-text-faint);
  line-height: 1.5;
}
/* Trust bar */
.bpc-section--trust {
  background: var(--bpc-background-deeper);
  max-width: 100%;
  padding: 40px 32px;
  margin: 0 0 64px 0;
  border-top: 1px solid var(--bpc-border-subtle);
  border-bottom: 1px solid var(--bpc-border-subtle);
}
.bpc-trust {
  max-width: var(--bpc-container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}
@media (min-width: 768px) { .bpc-trust { grid-template-columns: repeat(4, 1fr); } }
.bpc-trust > div { display: flex; flex-direction: column; gap: 4px; }
.bpc-trust strong {
  font-size: 22px;
  font-weight: 700;
  color: var(--bpc-foreground);
}
.bpc-trust span {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bpc-text-faint);
}
/* CTA */
.bpc-cta {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.bpc-cta p {
  color: var(--bpc-text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 16px 0 32px 0;
}
.bpc-cta .bpc-hero__ctas { justify-content: center; }



/* === P2: Shop archive === */

/* === P3: Single product === */

/* === P4: Cart + Checkout === */

/* === P5: COA Library + content pages === */

/* === SIZE PILLS === (Spec 2026-05-12-size-pill-variable-products) */
.woocommerce .variations_form .variations,
.single-product .variations_form .variations {
	display: none !important;
}
.bpc-size-pills-label {
	display: block;
	font-size: 11px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--bpc-text-fainter);
	margin-bottom: 4px;
}
.bpc-size-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 12px;
}
.bpc-size-pill {
	flex: 1 1 auto;
	min-width: 80px;
	background: var(--bpc-card);
	border: 1px solid var(--bpc-border-strong);
	border-radius: var(--bpc-radius);
	padding: 14px 12px;
	color: var(--bpc-text-body);
	font-family: var(--bpc-font-sans);
	cursor: pointer;
	transition: border-color 200ms ease, background 200ms ease, color 200ms ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}
.bpc-size-pill__mg {
	font-family: var(--bpc-font-mono);
	font-feature-settings: 'tnum';
	font-size: 18px;
	font-weight: 600;
	color: inherit;
	letter-spacing: 0.02em;
}
.bpc-size-pill__price {
	font-family: var(--bpc-font-mono);
	font-feature-settings: 'tnum';
	font-size: 11px;
	font-weight: 500;
	color: var(--bpc-text-fainter);
	letter-spacing: 0.05em;
}
.bpc-size-pill:not(.is-selected):hover {
	border-color: var(--bpc-border-hover);
	color: var(--bpc-foreground);
}
.bpc-size-pill.is-selected {
	background: var(--bpc-primary);
	border-color: var(--bpc-primary);
	color: var(--bpc-foreground);
	box-shadow: 0 0 0 6px oklch(0.65 0.06 240 / 0.15);
}
.bpc-size-pill.is-selected .bpc-size-pill__price {
	color: oklch(1 0 0 / 0.8);
}
.bpc-size-pill:disabled,
.bpc-size-pill.is-disabled {
	opacity: 0.4;
	cursor: not-allowed;
	pointer-events: none;
}
.bpc-size-pill:focus-visible {
	outline: 2px solid var(--bpc-primary);
	outline-offset: 2px;
}

/* === P6: Age Gate plugin skin === */
