/*
Theme Name: Flex Line Compounds Classic
Theme URI: https://flexlinecompounds.com
Author: Flex Line Compounds LLC
Description: A compliance-forward WooCommerce theme for laboratory research materials.
Version: 3.9.3
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: flexline-compounds
*/

:root {
  --ink: #04050b;
  --navy: #06142f;
  --panel: #0a1024;
  --violet: #8d35ff;
  --violet-light: #b866ff;
  --blue: #21d9ff;
  --cyan: #19f0ff;
  --white: #f8f9ff;
  --muted: #b8bfd5;
  --line: rgba(255,255,255,.12);
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--white);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; top: 8px; left: 8px; z-index: 9999; padding: 10px 14px; background: white; color: black; }

.research-bar {
  padding: 9px 20px;
  text-align: center;
  background: linear-gradient(90deg, #05060c, #113a67 26%, #8d35ff 62%, #05060c);
  color: white;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); background: rgba(7,8,18,.9); backdrop-filter: blur(18px); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.brand img, .custom-logo { width: 70px; height: 70px; border-radius: 0; object-fit: contain; filter: drop-shadow(0 0 12px rgba(25,240,255,.18)); }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy small { margin-top: 7px; color: var(--cyan); font-size: .62rem; letter-spacing: .22em; }
.primary-nav ul { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { color: #d9dcef; font-weight: 650; font-size: .94rem; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--cyan); }
.primary-nav li { position: relative; }
.primary-nav .sub-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -18px;
  min-width: 230px;
  display: none;
  padding: 12px;
  border: 1px solid rgba(151, 91, 239, .32);
  border-radius: 12px;
  background: #05060c;
  box-shadow: 0 18px 44px rgba(0,0,0,.36);
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu { display: grid; gap: 4px; }
.primary-nav .sub-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #d9dcef;
  white-space: nowrap;
}
.primary-nav .sub-menu a:hover { background: rgba(25, 240, 255, .1); color: var(--cyan); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.cart-link { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: white; padding: 9px 12px; }

.button, .wp-element-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 8px; background: linear-gradient(135deg, #19f0ff, #6a7cff 45%, #8d35ff); color: white !important;
  font-weight: 800; cursor: pointer; box-shadow: 0 10px 28px rgba(25,240,255,.18), 0 8px 24px rgba(141,53,255,.2);
}
.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { filter: brightness(1.12); transform: translateY(-1px); }
.button-secondary { border: 1px solid rgba(255,255,255,.5); background: rgba(8,18,44,.35); box-shadow: none; }

.hero { padding: 30px 0 76px; background: radial-gradient(circle at 72% 8%, rgba(25,240,255,.16), transparent 34%), radial-gradient(circle at 22% 18%, rgba(141,53,255,.18), transparent 28%); }
.hero-frame { position: relative; overflow: hidden; border: 1px solid rgba(25,240,255,.28); border-radius: 22px; box-shadow: var(--shadow), 0 0 80px rgba(25,240,255,.08); }
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4,5,11,.78), rgba(4,5,11,.28) 46%, rgba(4,5,11,.08));
}
.hero-frame img { display: block; width: 100%; min-height: 520px; object-fit: cover; object-position: center; }
.hero-copy {
  position: absolute;
  z-index: 2;
  left: clamp(28px, 5vw, 72px);
  top: 50%;
  width: min(520px, calc(100% - 56px));
  transform: translateY(-50%);
}
.hero-copy h1 { margin: 0 0 16px; font-size: clamp(2.4rem, 5vw, 5rem); line-height: 1.02; }
.hero-copy p:not(.eyebrow) { max-width: 520px; margin: 0 0 28px; color: #dce8ff; font-size: clamp(1rem, 1.8vw, 1.25rem); }
.hero-actions, .mobile-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mobile-hero-actions { display: none; margin-top: 18px; }
.trust-strip { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 14px; background: rgba(15,22,48,.74); }
.trust-item { padding: 17px 20px; display: flex; align-items: center; justify-content: center; gap: 10px; color: #d9dcef; font-size: .9rem; font-weight: 700; text-align: center; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-icon { color: var(--violet-light); font-size: 1.2rem; }

.category-hub { padding-top: 72px; }
.compact-heading { max-width: 760px; margin-bottom: 26px; }
.category-button-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.category-button {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 16px;
  border: 1px solid rgba(25,240,255,.28);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(9,23,46,.9), rgba(8,10,22,.92));
  color: white;
}
.category-button:hover,
.category-button:focus-visible {
  border-color: rgba(184,102,255,.78);
  background: linear-gradient(145deg, rgba(9,39,62,.96), rgba(28,12,47,.94));
  transform: translateY(-1px);
}
.category-button span {
  font-weight: 850;
  line-height: 1.2;
}
.category-button strong {
  min-width: 44px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(25,240,255,.13);
  color: #dffcff;
  font-size: .72rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.compact-catalog { padding-top: 72px; }
.split-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.split-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.05rem);
  line-height: 1.08;
}
.home-support-section { padding-block: 64px; }
.home-support-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px;
  border: 1px solid rgba(25,240,255,.32);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(7,18,38,.84), rgba(16,8,34,.82));
}
.home-support-strip h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.12;
}
.home-support-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.depth-accordion {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.depth-accordion details {
  border: 1px solid rgba(139,71,231,.35);
  border-radius: 14px;
  background: rgba(13,22,48,.78);
  overflow: hidden;
}
.depth-accordion summary {
  padding: 18px 22px;
  cursor: pointer;
  color: white;
  font-weight: 850;
  letter-spacing: .02em;
}
.depth-accordion details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

.section { padding: 88px 0; }
.section-alt { background: linear-gradient(180deg, #071126, #070811); border-block: 1px solid var(--line); }
.eyebrow { margin: 0 0 12px; color: var(--violet-light); font-size: .78rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.section-heading { max-width: 690px; margin-bottom: 38px; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.03em; }
.section-heading p { color: var(--muted); font-size: 1.05rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(18,29,63,.9), rgba(11,15,35,.9)); }
.feature-card .icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(126,52,222,.16); color: var(--violet-light); font-size: 1.35rem; }
.feature-card h3 { margin: 20px 0 8px; }
.feature-card p { margin: 0; color: var(--muted); }

.documentation-matrix,
.catalog-depth-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.documentation-matrix > div,
.catalog-depth-card {
  padding: 24px;
  border: 1px solid rgba(139,71,231,.35);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
}
.documentation-matrix h3,
.catalog-depth-card h3 { margin-top: 0; }
.documentation-matrix p,
.documentation-matrix li,
.catalog-depth-card p { color: var(--muted); }
.documentation-table { overflow-x: auto; margin: 28px 0; }
.documentation-table table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}
.documentation-table th,
.documentation-table td {
  padding: 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.documentation-table th {
  color: white;
  background: rgba(123,50,220,.18);
}
.documentation-table td { color: var(--muted); }

.woocommerce ul.products, .product-grid { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0 !important; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { position: relative; float: none !important; width: auto !important; margin: 0 !important; padding: 18px; border: 1px solid rgba(25,240,255,.16); border-radius: var(--radius); background: #0b132b; transition: border-color .2s ease, transform .2s ease; }
.woocommerce ul.products li.product:hover { border-color: rgba(25,240,255,.36); transform: translateY(-2px); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: block; }
.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 18px;
  border: 1px solid rgba(7,18,38,.08);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #eef7ff);
}
.woocommerce ul.products li.product img.woocommerce-placeholder {
  padding: 34px;
  background: linear-gradient(145deg, #f8fbff, #dfeafa);
  opacity: .82;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: white; font-size: 1.05rem; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--cyan); font-weight: 800; }
.ruo-badge { position: absolute; z-index: 2; top: 28px; left: 28px; padding: 6px 9px; border-radius: 5px; background: #071d34; color: white; font-size: .62rem; font-weight: 900; letter-spacing: .1em; }
.empty-catalog { padding: 42px; border: 1px dashed rgba(255,255,255,.22); border-radius: var(--radius); color: var(--muted); text-align: center; }

.compliance-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.compliance-mark { min-height: 360px; display: grid; place-items: center; border: 1px solid rgba(141,70,235,.4); border-radius: 50%; background: radial-gradient(circle, rgba(121,46,220,.3), rgba(10,15,34,0) 67%); text-align: center; }
.compliance-mark strong { display: block; font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: 1; }
.compliance-mark span { color: var(--violet-light); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.compliance-copy h2 { margin: 0 0 18px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; }
.compliance-copy p, .compliance-copy li { color: var(--muted); }
.compliance-copy li { margin-bottom: 10px; }

.contact-band { padding: 42px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border: 1px solid rgba(139,71,231,.5); border-radius: 22px; background: linear-gradient(135deg, #111d45, #1a1040); }
.contact-band h2 { margin: 0 0 6px; }
.contact-band p { margin: 0; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-conversion {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: start;
}
.contact-copy,
.contact-form-card {
  border: 1px solid rgba(139,71,231,.45);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(17,29,69,.95), rgba(13,18,42,.96));
  box-shadow: var(--shadow);
}
.contact-copy { padding: 42px; }
.contact-copy h2 { margin: 0 0 16px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.06; letter-spacing: -.03em; }
.contact-copy p { color: var(--muted); font-size: 1.05rem; }
.contact-note {
  margin: 24px 0;
  padding: 18px;
  border-left: 4px solid var(--violet);
  border-radius: 0 12px 12px 0;
  background: rgba(123,50,220,.12);
  color: #d9def5;
}
.contact-form-card { padding: 30px; }
.contact-form-card h3 { margin-top: 0; font-size: 1.35rem; }
.flexline-contact-form { display: grid; gap: 16px; }
.flexline-contact-form label {
  display: grid;
  gap: 7px;
  color: #dfe5ff;
  font-size: .9rem;
  font-weight: 750;
}
.flexline-contact-form input,
.flexline-contact-form select,
.flexline-contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #39415b;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font: inherit;
}
.flexline-contact-form textarea { resize: vertical; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.form-boundary {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}
.hidden-field { position: absolute; left: -9999px; height: 1px; width: 1px; overflow: hidden; }
.form-status {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 750;
}
.form-success { border: 1px solid rgba(76,211,137,.45); background: rgba(76,211,137,.12); color: #c9ffe3; }
.form-error { border: 1px solid rgba(255,102,102,.45); background: rgba(255,102,102,.12); color: #ffd4d4; }

.site-main { min-height: 55vh; }
.content-area { padding: 72px 0; }
.content-card { padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: #0e142b; }
.entry-title { margin-top: 0; font-size: clamp(2rem, 5vw, 3.5rem); }
.entry-content a { color: var(--violet-light); text-decoration: underline; }
.entry-content .button { color: white; text-decoration: none; }
.entry-content h2 { margin-top: 2.2rem; font-size: clamp(1.55rem, 3vw, 2.2rem); line-height: 1.15; }
.entry-content h3 { margin-top: 1.6rem; }
.entry-content ul, .entry-content ol { color: var(--muted); }
.entry-content li { margin: 8px 0; }
.entry-content details { margin: 14px 0; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.025); }
.entry-content summary { padding: 18px 20px; color: white; font-weight: 800; cursor: pointer; }
.entry-content details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }
.page-intro { max-width: 780px; color: var(--muted); font-size: 1.12rem; }
.page-callout { margin: 30px 0; padding: 24px; border-left: 4px solid var(--violet); border-radius: 0 10px 10px 0; background: rgba(123,50,220,.1); }
.contact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 30px 0; }
.contact-list > div { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); }
.contact-list strong { display: block; margin-bottom: 8px; color: var(--violet-light); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.policy-grid, .answer-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}
.policy-tile, .answer-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}
.policy-tile h3 { margin-top: 0; color: var(--violet-light); }
.policy-tile p, .answer-card p { color: var(--muted); }
.answer-card h2 { margin-top: 0; }
.answer-card.cannot { border-color: rgba(255, 118, 118, .35); }
.answer-card.can { border-color: rgba(151, 91, 239, .45); }
.about-split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: start;
  margin: 34px 0;
}
.about-kicker {
  padding: 30px;
  border: 1px solid rgba(151, 91, 239, .38);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(108,168,255,.08), rgba(123,50,220,.08));
}
.about-kicker strong { display: block; color: var(--white); font-size: clamp(1.75rem, 4vw, 2.7rem); line-height: 1.04; letter-spacing: -.03em; }
.about-kicker span { display: block; margin-top: 12px; color: var(--violet-light); font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.help-panel {
  margin-top: 34px;
  padding: 30px;
  border: 1px solid rgba(139,71,231,.5);
  border-radius: 20px;
  background: linear-gradient(135deg, #111d45, #1a1040);
}
.help-panel h2 { margin-top: 0; }
.help-panel p { color: var(--muted); }
.faq-intro {
  max-width: 820px;
  margin: 0 auto 34px;
  color: var(--muted);
  text-align: center;
  font-size: 1.05rem;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 46px;
  margin: 34px 0;
}
.faq-grid details {
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.28);
  border-radius: 0;
  background: transparent;
}
.faq-grid summary {
  position: relative;
  padding: 24px 34px 24px 0;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 850;
  list-style: none;
}
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after {
  content: "›";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--violet-light);
  font-size: 1.45rem;
  transition: transform .2s ease;
}
.faq-grid details[open] summary::after { transform: translateY(-50%) rotate(90deg); }
.faq-grid details p { padding: 0 0 22px; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); background: #05060c; }
.footer-grid { padding: 62px 0 34px; display: grid; grid-template-columns: 1.3fr .7fr .8fr; gap: 48px; }
.footer-brand p { max-width: 440px; color: var(--muted); }
.footer-heading { color: white; font-size: .76rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin: 10px 0; color: var(--muted); }
.footer-disclaimer { padding: 20px 0; border-top: 1px solid var(--line); color: #aab0c5; font-size: .78rem; }
.footer-legal { padding: 18px 0 28px; display: flex; justify-content: space-between; gap: 20px; color: #777f99; font-size: .76rem; }

.woocommerce .woocommerce-message, .woocommerce .woocommerce-info { border-top-color: var(--violet); background: #121b36; color: white; }
.woocommerce .woocommerce-message::before, .woocommerce .woocommerce-info::before { color: var(--violet-light); }
.product-depth-summary {
  margin: 10px 0 12px;
  padding: 12px;
  border: 1px solid rgba(139,71,231,.25);
  border-radius: 10px;
  background: rgba(123,50,220,.08);
  color: var(--muted);
  font-size: .86rem;
}
.product-depth-summary p { margin: 0 0 8px; }
.product-depth-summary a { font-weight: 800; color: var(--violet-light); }
.product-documentation-panel {
  margin: 32px 0;
  padding: 28px;
  border: 1px solid rgba(139,71,231,.35);
  border-radius: 16px;
  background: rgba(13,22,48,.72);
}
.product-documentation-panel h2 { margin-top: 0; }
.product-documentation-panel p { color: var(--muted); }
.product-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.product-spec-grid > div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
}
.product-spec-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--violet-light);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.product-spec-grid span { color: white; }
.product-doc-note {
  padding: 15px;
  border-left: 4px solid var(--violet);
  border-radius: 0 10px 10px 0;
  background: rgba(123,50,220,.1);
}
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce select, .woocommerce .quantity .qty {
  padding: 12px; border: 1px solid #39415b; border-radius: 7px; background: white; color: #111;
}
.woocommerce table.shop_table { border-color: var(--line); }
.woocommerce-checkout-review-order, .woocommerce-cart-form, .cart_totals { padding: 22px; border: 1px solid rgba(25,240,255,.16); border-radius: 12px; background: #0b132b; }
.woocommerce-checkout #payment {
  border: 1px solid rgba(25,240,255,.18);
  border-radius: 12px;
  background: #081126;
}
.woocommerce-checkout #payment ul.payment_methods {
  border-bottom-color: rgba(255,255,255,.1);
}
.woocommerce-checkout #payment div.payment_box {
  color: #dce8ff;
  background: rgba(25,240,255,.08);
}
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: rgba(25,240,255,.08); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: #ffffff;
}
.research-checkout-confirmation { padding: 15px; border: 1px solid #8642dc; border-radius: 8px; background: rgba(122,50,218,.12); }

.age-gate-open { overflow: hidden; }
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 25% 20%, rgba(141, 53, 255, .3), transparent 34%),
    radial-gradient(circle at 78% 70%, rgba(25, 240, 255, .18), transparent 32%),
    rgba(3, 5, 14, .9);
  backdrop-filter: blur(10px);
}
.age-gate.is-visible { display: grid; }
.age-gate-card {
  width: min(100%, 560px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 34px;
  border: 1px solid rgba(25, 240, 255, .32);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(10, 16, 37, .98), rgba(7, 8, 18, .98));
  box-shadow: 0 30px 90px rgba(0,0,0,.55), 0 0 70px rgba(25,240,255,.13);
  text-align: center;
}
.age-gate-logo {
  width: 132px;
  height: 132px;
  margin: 0 auto 18px;
  display: block;
  border-radius: 0;
  object-fit: contain;
  filter: drop-shadow(0 18px 32px rgba(0,0,0,.34)) drop-shadow(0 0 16px rgba(25,240,255,.18));
}
.age-gate-card h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.age-gate-card p { color: var(--muted); }
.age-gate-notice {
  margin: 22px 0;
  padding: 18px;
  border: 1px solid rgba(25,240,255,.26);
  border-radius: 14px;
  background: rgba(25,240,255,.08);
  color: #dfe5ff;
  text-align: left;
}
.age-gate-actions {
  display: grid;
  gap: 12px;
}
.age-gate-exit {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 8px;
  background: transparent;
  color: #dfe5ff;
  cursor: pointer;
  font-weight: 750;
}
.age-gate-exit:hover { border-color: var(--cyan); color: white; }
.age-gate-fineprint {
  margin: 18px 0 0;
  font-size: .82rem;
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px 20px 24px; border-bottom: 1px solid var(--line); background: #090b18; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { align-items: stretch; flex-direction: column; gap: 12px; }
  .primary-nav .sub-menu { position: static; display: grid; margin-top: 8px; box-shadow: none; }
  .header-actions .button { display: none; }
  .feature-grid, .woocommerce ul.products, .product-grid { grid-template-columns: 1fr 1fr !important; }
  .category-button-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-support-strip { align-items: flex-start; flex-direction: column; }
  .home-support-actions { justify-content: flex-start; }
  .compliance-panel { grid-template-columns: 1fr; }
  .compliance-mark { min-height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .research-bar { font-size: .65rem; }
  .brand-copy { display: none; }
  .hero { padding-top: 14px; }
  .hero-frame { border-radius: 12px; }
  .hero-frame::after { display: none; }
  .hero-frame img { min-height: 260px; object-fit: cover; object-position: 69% center; }
  .hero-copy {
    position: static;
    width: auto;
    padding: 24px;
    transform: none;
    background: #060915;
  }
  .hero-copy h1 { font-size: 2.35rem; }
  .hero-copy p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); }
  .hero-actions { display: none; }
  .mobile-hero-actions { display: flex; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 64px 0; }
  .category-button-grid { grid-template-columns: 1fr; }
  .category-button { min-height: 72px; }
  .split-heading { align-items: flex-start; flex-direction: column; }
  .home-support-strip { padding: 22px; }
  .home-support-actions { width: 100%; }
  .home-support-actions .button { width: 100%; }
  .feature-grid, .woocommerce ul.products, .product-grid { grid-template-columns: 1fr !important; }
  .documentation-matrix, .catalog-depth-grid, .product-spec-grid { grid-template-columns: 1fr; }
  .contact-band { align-items: flex-start; flex-direction: column; padding: 28px; }
  .contact-conversion { grid-template-columns: 1fr; }
  .contact-copy, .contact-form-card { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-legal { flex-direction: column; }
  .content-card { padding: 24px; }
  .contact-list, .policy-grid, .answer-list, .faq-grid, .about-split { grid-template-columns: 1fr; }
}
