/* ===== APEX 100 — White/Black Combo Theme for WooCommerce ===== */

:root {
  --accent: #C09840;
  --text: #1A1008;
  --text2: #5A5040;
  --text3: #8A8070;
  --bg: #FFFFFF;
  --bg2: #F7F7F5;
  --border: rgba(192,152,64,0.15);
  --border2: rgba(192,152,64,0.30);
  --ff: 'Exo 2', sans-serif;
}

/* ---- Global font ---- */
body, input, button, select, textarea {
  font-family: var(--ff) !important;
}

/* ---- Shop / archive page background ---- */
body.woocommerce,
body.woocommerce-page,
body.archive.woocommerce,
.site-main,
#main,
.content-area,
.entry-content {
  background: #ffffff !important;
  color: var(--text) !important;
}

/* ---- WooCommerce breadcrumb & result count ---- */
.woocommerce-breadcrumb,
.woocommerce-result-count {
  color: var(--text2) !important;
  font-family: var(--ff) !important;
  font-size: 0.82rem !important;
}

/* ---- Ordering dropdown ---- */
.woocommerce-ordering select {
  background: #fff !important;
  border: 1px solid var(--border2) !important;
  color: var(--text) !important;
  font-family: var(--ff) !important;
  border-radius: 0 !important;
}

/* ---- Product grid ---- */
ul.products,
.woocommerce ul.products {
  background: transparent !important;
}

ul.products li.product,
.woocommerce ul.products li.product {
  background: #ffffff !important;
  border: 1px solid #E8E8E4 !important;
  border-radius: 0 !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
  transition: all 0.25s !important;
  overflow: hidden !important;
  position: relative !important;
}

ul.products li.product:hover,
.woocommerce ul.products li.product:hover {
  background: #F9F9F7 !important;
  border-color: rgba(192,152,64,0.4) !important;
  box-shadow: 0 6px 24px rgba(0,0,0,0.1) !important;
  transform: translateY(-2px) !important;
}

/* gold underline on hover */
ul.products li.product::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}
ul.products li.product:hover::after { width: 100% !important; }

/* ---- Product title ---- */
ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
  color: var(--text) !important;
  font-family: var(--ff) !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
}

/* ---- Prices ---- */
.woocommerce ul.products li.product .price,
.woocommerce .price,
.woocommerce-Price-amount.amount {
  color: var(--text2) !important;
  font-family: var(--ff) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
}

/* ---- Add to cart button — black with gold hover ---- */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce a.button.add_to_cart_button,
.woocommerce a.button.product_type_variable {
  background: #000000 !important;
  color: #EEF4FF !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: var(--ff) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 0.7rem !important;
  width: 100% !important;
  display: block !important;
  text-align: center !important;
  transition: background 0.2s !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover {
  background: var(--accent) !important;
  color: #fff !important;
}

/* ---- Category label above title (if using WC categories) ---- */
.woocommerce ul.products li.product .ast-woo-product-category {
  color: var(--accent) !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
}

/* ---- Sale badge ---- */
.woocommerce span.onsale {
  background: var(--accent) !important;
  color: #000 !important;
  font-family: var(--ff) !important;
  font-weight: 700 !important;
  border-radius: 0 !important;
}

/* ---- Single product page ---- */
.single-product div.product {
  background: #fff !important;
  color: var(--text) !important;
}

.woocommerce div.product .product_title {
  color: var(--text) !important;
  font-family: var(--ff) !important;
  font-weight: 900 !important;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--text2) !important;
  font-family: var(--ff) !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--text2) !important;
  font-family: var(--ff) !important;
}

/* single product — add to cart */
.woocommerce #respond input#submit,
.woocommerce button.button.alt,
.woocommerce .single_add_to_cart_button {
  background: #000000 !important;
  color: #EEF4FF !important;
  border-radius: 0 !important;
  font-family: var(--ff) !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border: 1px solid rgba(192,152,64,0.5) !important;
  transition: background 0.2s !important;
}

.woocommerce button.button.alt:hover,
.woocommerce .single_add_to_cart_button:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}

/* ---- Tabs ---- */
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: #F7F7F5 !important;
  border-color: #E8E8E4 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: var(--text2) !important;
  font-family: var(--ff) !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--accent) !important;
}
.woocommerce div.product .woocommerce-tabs .panel {
  background: #fff !important;
  border-color: #E8E8E4 !important;
  color: var(--text2) !important;
}

/* ---- Cart ---- */
.woocommerce table.shop_table {
  background: #fff !important;
  border-color: #E8E8E4 !important;
  color: var(--text) !important;
  font-family: var(--ff) !important;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: #E8E8E4 !important;
  color: var(--text) !important;
}

/* ---- Quantity input ---- */
.woocommerce .quantity .qty {
  background: #fff !important;
  border: 1px solid #E8E8E4 !important;
  color: var(--text) !important;
  font-family: var(--ff) !important;
}

/* ---- Notices ---- */
.woocommerce-info,
.woocommerce-message {
  border-color: var(--accent) !important;
  background: #FFF9EE !important;
  color: var(--text) !important;
  font-family: var(--ff) !important;
}

/* ---- Section headings (shop page H1) ---- */
.woocommerce-products-header__title,
.woocommerce h1, .woocommerce h2 {
  color: var(--text) !important;
  font-family: var(--ff) !important;
  font-weight: 900 !important;
}


/* Hero text color fixes */
.hero-h1 { color: #ffffff !important; }
.hero-desc { color: rgba(255,255,255,0.82) !important; }




/* Shop page - hide WooCommerce chrome to match design */
.woocommerce-page h1.page-title,
.woocommerce-result-count,
.woocommerce-ordering { display: none !important; }

/* Shop page - add Research Catalog label above product grid */
.woocommerce-page ul.products::before {
  content: 'Research Catalog';
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg,#907030 0%,#C09840 30%,#F5D060 50%,#C09840 70%,#907030 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  width: 100%;
}

/* Shop page wrapper padding */
.woocommerce-page .woocommerce {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2rem;
}


/* Homepage products-section: force 4-column grid matching design */
.products-section ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.5rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.products-section ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  clear: none !important;
}
@media (max-width: 1024px) {
  .products-section ul.products { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 768px) {
  .products-section ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .products-section ul.products { grid-template-columns: 1fr !important; }
}


/* Homepage - PHP section-label already outputs "Research Catalog"; style it properly */
.products-section .section-label {
  font-size: 0.68rem !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  display: block !important;
  background: linear-gradient(90deg,#907030 0%,#C09840 30%,#F5D060 50%,#C09840 70%,#907030 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}


/* =============================================
   PRODUCT CARD DESIGN MATCH - Full CSS pass
   ============================================= */

/* Grid: flush cards, no gap (matching design gap:0) */
.products-section ul.products,
.woocommerce-page ul.products {
  gap: 0 !important;
}

/* Card base: white, bordered, shadowed */
.products-section ul.products li.product,
.woocommerce-page ul.products li.product {
  background: #ffffff !important;
  border: 1px solid #E8E8E4 !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.25s !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Card hover */
.products-section ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  background: #F9F9F7 !important;
  border-color: rgba(192,152,64,0.4) !important;
  box-shadow: 0 6px 24px rgba(0,0,0,0.1) !important;
  transform: none !important;
}

/* Gold sweep bottom border on hover */
.products-section ul.products li.product::after,
.woocommerce-page ul.products li.product::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 0 !important;
  height: 2px !important;
  background: #C09840 !important;
  transition: width 0.3s !important;
}
.products-section ul.products li.product:hover::after,
.woocommerce-page ul.products li.product:hover::after {
  width: 100% !important;
}

/* Product image: square aspect ratio */
.products-section ul.products li.product .woocommerce-loop-product__link,
.woocommerce-page ul.products li.product .woocommerce-loop-product__link {
  display: block !important;
  text-decoration: none !important;
}
.products-section ul.products li.product img,
.woocommerce-page ul.products li.product img {
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  width: 100% !important;
  display: block !important;
  transition: transform 0.35s !important;
}
.products-section ul.products li.product:hover img,
.woocommerce-page ul.products li.product:hover img {
  transform: scale(1.04) !important;
  filter: brightness(1.08) !important;
}

/* Product info area */
.products-section ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  padding: 1.25rem 1rem 0.3rem !important;
  margin: 0 !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: #1A1008 !important;
  font-family: 'Exo 2', sans-serif !important;
}

/* Price */
.products-section ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  padding: 0 1rem 0.8rem !important;
  margin: 0 !important;
  font-size: 0.85rem !important;
  color: #5A5040 !important;
  display: block !important;
}

/* Button: full width, black, flush to card bottom */
.products-section ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
  margin-top: auto !important;
  width: 100% !important;
  display: block !important;
  background: #000000 !important;
  color: #EEF4FF !important;
  border-radius: 0 !important;
  padding: 0.75rem !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  border: none !important;
  font-family: 'Exo 2', sans-serif !important;
  transition: background 0.2s !important;
  box-sizing: border-box !important;
}
.products-section ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover {
  background: #C09840 !important;
  color: #fff !important;
}

/* Section title above product grid */
.products-section .section-title,
.woocommerce-page .woocommerce::before {
  font-size: 2rem;
  font-weight: 900;
  color: #1A1008;
  margin-bottom: 2.5rem;
  display: block;
  font-family: 'Exo 2', sans-serif;
}


/* Product category label (injected via PHP hook) */
.wc-product-cat {
  font-size: 0.62rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  margin: 1.25rem 1rem 0.3rem !important;
  display: block !important;
  background: linear-gradient(90deg,#907030 0%,#C09840 30%,#F5D060 50%,#C09840 70%,#907030 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Tighten product title top padding when cat label is present */
.woocommerce-loop-product__title {
  padding-top: 0.3rem !important;
}


/* Best Seller badge on featured products */
.badge-bestseller {
  position: absolute;
  top: 12px;
  left: 0;
  z-index: 10;
  background: linear-gradient(90deg,#907030,#C09840,#F5D060,#C09840,#907030);
  color: #1A1008;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.28rem 0.75rem 0.28rem 0.6rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%);
  box-shadow: 0 2px 8px rgba(192,152,64,0.4);
  pointer-events: none;
}

/* Fix: category label outputs before img in DOM — reorder with flex */
li.product a {
  display: flex !important;
  flex-direction: column !important;
}
li.product a img {
  order: -1 !important;
}
.wc-product-cat {
  order: 1 !important;
}
.woocommerce-loop-product__title {
  order: 2 !important;
}

/* ── White header to match preview ── */
#site-header {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-bottom: 1px solid #e8e4dc !important;
}
/* Nav links → dark */
#site-header .nav-inner a:not(.btn-shop-nav):not(.site-logo) {
  color: #1a1008 !important;
}
/* Login / Cart → dark */
#site-header .nav-inner a[href*="account"],
#site-header .nav-inner a[href*="cart"] {
  color: #1a1008 !important;
}
/* Logo text → dark (100 stays gold via theme CSS) */
#site-header .site-logo {
  color: #1a1008 !important;
}
/* SHOP NOW button → solid black, white text, no gold border */
.btn-shop-nav {
  background: #1a1008 !important;
  background-color: #1a1008 !important;
  color: #ffffff !important;
  border: 2px solid #1a1008 !important;
  box-shadow: none !important;
}
.btn-shop-nav:hover {
  background: #2d1f0a !important;
  color: #ffffff !important;
  border-color: #2d1f0a !important;
}

/* ── Trust bar below hero ── */
.apex-trust-bar {
  background: #F7F7F5;
  border-top: 1px solid rgba(192,152,64,0.15);
  border-bottom: 1px solid rgba(192,152,64,0.15);
  padding: 1.6rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.apex-trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5A5040;
  position: relative;
  cursor: pointer;
}
.apex-trust-item svg {
  width: 18px;
  height: 18px;
  color: #C09840;
  stroke: #C09840;
  flex-shrink: 0;
}
.apex-trust-tip {
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  border: 1px solid rgba(192,152,64,0.5);
  color: #EEF4FF;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  white-space: nowrap;
  z-index: 200;
  pointer-events: none;
}
.apex-trust-tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #111;
}
.apex-trust-item:hover .apex-trust-tip {
  display: block;
}
@media (max-width: 768px) {
  .apex-trust-bar { gap: 1.5rem; }
}

/* ── Logo: clean on white header ── */
#site-header .site-logo {
  filter: none !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #1a1008 !important;
  color: #1a1008 !important;
  font-weight: 900 !important;
  letter-spacing: 0.05em !important;
}
#site-header .site-logo span {
  -webkit-text-fill-color: #C09840 !important;
  color: #C09840 !important;
  background: none !important;
  filter: none !important;
}

/* Move hero image up ~3/8 inch */
section.apex-hero {
  margin-top: -60px !important;
}

/* ── SHOP NOW button — gold ── */
.btn-shop-nav {
  background: linear-gradient(90deg,#907030 0%,#C09840 30%,#F5D060 50%,#C09840 70%,#907030 100%) !important;
  background-color: #C09840 !important;
  color: #1a1008 !important;
  border: none !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
  box-shadow: 0 2px 12px rgba(192,152,64,0.4) !important;
}
.btn-shop-nav:hover {
  background: linear-gradient(90deg,#7A5808 0%,#A8780E 30%,#D5B040 50%,#A8780E 70%,#7A5808 100%) !important;
  color: #1a1008 !important;
  box-shadow: 0 4px 18px rgba(192,152,64,0.6) !important;
}

/* ── Hero SHOP NOW button — gold ── */
.apex-hero .btn-primary {
  background: linear-gradient(90deg,#907030 0%,#C09840 30%,#F5D060 50%,#C09840 70%,#907030 100%) !important;
  color: #1a1008 !important;
  border: none !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
  box-shadow: 0 2px 12px rgba(192,152,64,0.4) !important;
}
.apex-hero .btn-primary:hover {
  background: linear-gradient(90deg,#7A5808 0%,#A8780E 30%,#D5B040 50%,#A8780E 70%,#7A5808 100%) !important;
  color: #1a1008 !important;
  box-shadow: 0 4px 18px rgba(192,152,64,0.6) !important;
}

/* ── Topbar text — gold on dark ── */
#topbar,
#topbar span,
#topbar a {
  color: #C09840 !important;
}
#topbar a:hover {
  color: #F5D060 !important;
}

/* ── Reduce bottom vignette on hero image ── */
img.hero-img {
  -webkit-mask-image: linear-gradient(rgba(0,0,0,0) 0%, rgb(0,0,0) 18%, rgb(0,0,0) 93%, rgba(0,0,0,0) 100%), linear-gradient(to right, rgba(0,0,0,0) 0%, rgb(0,0,0) 18%, rgb(0,0,0) 82%, rgba(0,0,0,0) 100%) !important;
  mask-image: linear-gradient(rgba(0,0,0,0) 0%, rgb(0,0,0) 18%, rgb(0,0,0) 93%, rgba(0,0,0,0) 100%), linear-gradient(to right, rgba(0,0,0,0) 0%, rgb(0,0,0) 18%, rgb(0,0,0) 82%, rgba(0,0,0,0) 100%) !important;
}

/* ==== Kit ribbon badges (CSS-only) ==== */
.post-286 .onsale,.post-287 .onsale,.post-290 .onsale,.post-291 .onsale{display:none!important}
.post-286 .woocommerce-loop-product__link,
.post-287 .woocommerce-loop-product__link,
.post-290 .woocommerce-loop-product__link,
.post-291 .woocommerce-loop-product__link{position:relative;overflow:visible}
.post-286 .woocommerce-loop-product__link::before,
.post-287 .woocommerce-loop-product__link::before,
.post-290 .woocommerce-loop-product__link::before,
.post-291 .woocommerce-loop-product__link::before{
display:block;position:absolute;top:14px;left:0;z-index:20;
background:linear-gradient(90deg,#907030,#C09840,#F5D060,#C09840,#907030);
color:#1A1008;font-family:'Exo 2',sans-serif;font-size:0.58rem;font-weight:900;
letter-spacing:0.18em;text-transform:uppercase;padding:0.28rem 1.1rem 0.28rem 0.65rem;
clip-path:polygon(0 0,100% 0,calc(100% - 10px) 50%,100% 100%,0 100%);
box-shadow:0 2px 8px rgba(192,152,64,0.45);pointer-events:none;white-space:nowrap}
.post-286 .woocommerce-loop-product__link::before{content:'FEATURED KIT'}
.post-290 .woocommerce-loop-product__link::before{content:'PREMIUM \00B7 FLAGSHIP'}
.post-291 .woocommerce-loop-product__link::before{content:'MOST POPULAR'}
.post-287 .woocommerce-loop-product__link::before{content:'TRUE LONGEVITY'}

/* ---- Page backgrounds (all pages except shop) ---- */

/* Kill any body-level background on all pages */
body,
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-account,
body.page,
body.singular,
body.woocommerce-page {
  background-image: none !important;
}

/* Background via pseudo-element — all pages except Shop */
body:not(.woocommerce-shop):not(.post-type-archive-product):not(.home)::before { content: none !important; }

/* Shop gets no background */
body.woocommerce-shop::before,
body.post-type-archive-product::before,
body.home::before {
  content: none !important;
}

/* ---- Cart white container (classic cart) ---- */
body.woocommerce-cart .woocommerce {
  background: rgba(255,255,255,0.96) !important;
  border: 2px solid #c9a84c !important;
  border-radius: 4px !important;
  padding: 30px !important;
  margin: 30px auto !important;
  max-width: 900px !important;
  position: relative !important;
  z-index: 1 !important;
  box-sizing: border-box !important;
}
/* ---- Remove gap between nav and page title banner ---- */
#site-header + div {
  padding-top: 0 !important;
}

/* ---- Hero title "Peak Purity." metallic silver (same as Shop Now button) ---- */
.hero-title span {
  background: linear-gradient(175deg, #FFF 0%, #D8D8D8 15%, #F0F0F0 30%, #A8A8A8 48%, #E0E0E0 62%, #909090 78%, #C8C8C8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}

/* ---- Nav "Shop Now" button — metallic silver ---- */
.btn-shop-now,
a.btn-shop-now,
.site-header-cart .button,
#site-header .shop-now-btn,
#site-header a[href*="shop"],
.nav-actions .btn-shop-nav,
header .btn-shop-nav {
  background: linear-gradient(175deg, #FFF 0%, #D8D8D8 15%, #F0F0F0 30%, #A8A8A8 48%, #E0E0E0 62%, #909090 78%, #C8C8C8 100%) !important;
  color: #1a1a1a !important;
  border: 1.5px solid rgba(192,152,64,0.8) !important;
}

/* ---- Hero "Peak Purity." metallic silver — correct selector ---- */
.hero-h1 em {
  font-style: normal;
  background: linear-gradient(175deg, #FFF 0%, #D8D8D8 15%, #F0F0F0 30%, #A8A8A8 48%, #E0E0E0 62%, #909090 78%, #C8C8C8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* ---- Shop page product grid fix ---- */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	  width: 100% !important;
	  box-sizing: border-box;
}
}

/* Hero image override - white label */
.hero-img {
    content: url('https://apex100research.com/wp-content/uploads/2026/06/Gemini_Generated_Image_8ffwgt8ffwgt8ffw.png') !important;
}

/* cache-bust: 1781930381190 */

/* Remove border + metallic background from SHOP nav link only — SHOP NOW button unaffected */
#site-header #main-nav li a[href*="shop"] { border: none !important; background-image: none !important; background: transparent !important; }

/* Cart page: reset theme content-wrapper left:50% offset that pushes cart off-screen */
body.woocommerce-cart div[style*="left: 50%"] {
    left: 0 !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ── Cart: hide CART-box left column + top checkout button ─────────────── */
body.woocommerce-cart .apex-cart-hero { display: none !important; }
body.woocommerce-cart .apex-bottom-checkout { display: none !important; }

/* ── Cart page full-width banner ──────────────────────────────────────── */
.apex-cart-page-banner {
    width: 100%;
    background: rgba(5,5,5,0.88);
    padding: 72px 20px 60px;
    text-align: center;
    box-sizing: border-box;
}
.apex-cart-banner-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    font-size: .68rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    font-weight: 700;
    color: #BB9E6A;
    margin-bottom: .75rem;
}
.apex-cart-banner-eyebrow::before,
.apex-cart-banner-eyebrow::after {
    content: '';
    display: block;
    width: 1.5rem;
    height: 1px;
    background: #BB9E6A;
    flex-shrink: 0;
}
.apex-cart-banner-title {
    display: block;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    background: linear-gradient(175deg, #E8C88A 0%, #C09840 20%, #9C8054 45%, #BB9E6A 70%, #C09840 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1.15;
}
/* Cart: hide old plugin hero header (dark box with gold bar above new banner) */
body.woocommerce-cart div[style*="backdrop-filter"] { display: none !important; }
/* Cart: hide Popular Products label so items move up */
body.woocommerce-cart .apex-cart-suggestions-label { display: none !important; }
/* Cart: hide Popular Products label (correct class) */
body.woocommerce-cart .apex-popular-label { display: none !important; }
body.woocommerce-cart .apex-cart-suggestions-label { display: none !important; }

/* Cart: equal top/bottom padding on suggested products section */
body.woocommerce-cart .apex-popular-section { padding-top: 28px !important; padding-bottom: 28px !important; }

/* Hide shield SVG in US Made trust badge (keep flag emoji only) */
.apex-trust-item:has(img.emoji) > svg { display: none !important; }

/* Kit product flags: replace metallic gradient with soft gold to match Best Seller badge */
.product_cat-supplies .woocommerce-loop-product__link::before {
    background-image: none !important;
    background-color: #BB9E6A !important;
    color: #1a1008 !important;
}

/* Footer link cards: update inner span to soft gold, matching other footer links */
.a100-link-card span { color: #BB9E6A !important; -webkit-text-fill-color: #BB9E6A !important; }

/* Top black banner: update text to soft gold */
#topbar, #topbar * { color: #BB9E6A !important; -webkit-text-fill-color: #BB9E6A !important; }

/* About Us banner: match other inner pages with semi-transparent background */
.apex-au-hero { background: rgba(0, 0, 0, 0.8) !important; }

/* Cart banner: reduce to just under 2 inches */
.apex-cart-page-banner { padding-top: 51px !important; padding-bottom: 51px !important; }

/* Cart: hide Unit Price column on mobile */
@media (max-width: 768px) {
    .product-price { display: none !important; }
}

/* COA banner: tighten gap between label and title */
.apex-coa-hero-label { margin-bottom: 6px !important; }

/* COA banner: tighten gap between title and sub text */
.apex-coa-hero h1 { margin-bottom: 4px !important; }

/* COA mobile: hide right column of meta grid + SPECIFICATION column in results table */
@media (max-width: 768px) {
    .apex-coa-meta-grid { grid-template-columns: 1fr 1fr !important; }
    .apex-coa-meta-cell:nth-child(3n) { display: none !important; }
    .apex-coa-results-table th:nth-child(3),
    .apex-coa-results-table td:nth-child(3) { display: none !important; }
}

/* COA mobile: hide METHOD column (col 2) from results table */
@media (max-width: 768px) {
    .apex-coa-results-table th:nth-child(2),
    .apex-coa-results-table td:nth-child(2) { display: none !important; }

    /* Request COA button: 20% smaller on mobile */
    .btn-coa-request {
        font-size: 10px !important;
        padding: 10px 22px !important;
    }
}

/* Cart mobile: stack columns vertically, full width */
@media (max-width: 768px) {
    body.woocommerce-cart .woocommerce {
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    body.woocommerce-cart .woocommerce-cart-form {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    body.woocommerce-cart .cart-collaterals {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    body.woocommerce-cart .cart_totals {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    body.woocommerce-cart .shop_table.cart {
        width: 100% !important;
        table-layout: auto !important;
    }
    body.woocommerce-cart .apex-selected-items-label {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Hide Stripe Express Checkout buttons on non-checkout pages */
#wc-stripe-express-checkout-element,
#wc-stripe-express-checkout-element-container,
.wc-stripe-express-checkout-wrapper,
#wc-stripe-amazon-pay-button-container {
    display: none !important;
}

/* Hide shipping row from WooCommerce cart — handled by Tagada checkout */
tr.shipping.woocommerce-shipping-totals { display: none !important; }

/* product-page lab background */
body.single-product {
  background-image: url('https://apex100research.com/wp-content/uploads/2026/06/iVruc.jpg') !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}
body.single-product .site-main > .product,
body.single-product main .product {
  background: #FFFFFF;
  max-width: 1140px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 24px 20px !important;
}

/* cart banner match contact */
.apex-cart-page-banner { padding: 11px 20px !important; }
.apex-cart-banner-title { font-size: 40px !important; }

/* cart spacing equalize */
body.woocommerce-cart .woocommerce-cart-form { margin-top: -18px !important; margin-bottom: 6px !important; }
body.woocommerce-cart .apex-popular-section { padding-top: 0 !important; margin-top: 0 !important; }
body.woocommerce-cart .cart-collaterals { padding-bottom: 13px !important; }
html body.woocommerce-cart .cart-collaterals { margin-top: -36px !important; }
html body.woocommerce-cart div.woocommerce { padding-bottom: 20px !important; }

/* mobile about overlap fix */
@media (max-width: 768px) {
  html body.single-product .a100-about-wrap { margin-top: 16px !important; }
}

/* Apex 100 Logo Swap */
.site-logo {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  width: 197px;
  height: 42px;
}
.site-logo::before {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  background: url('https://apex100research.com/wp-content/uploads/2026/07/grok-image-7b7b899d-ae16-444f-bc25-3451513443f6.webp') left center / contain no-repeat;
  z-index: 1;
}
.site-logo img.apex-logo-img {
  visibility: hidden;
}
