/*
Theme Name: Leng Labs
Theme URI: https://lenglabs.com
Author: Leng Labs
Description: Field-manual theme for the Leng Labs WooCommerce store. Bone and espresso, squared buttons, hard offset shadows, hazard-stripe detail.
Version: 1.6.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: leng-labs
*/

/* 1. Tokens --------------------------------------------------------- */
:root {
  color-scheme: dark;
  --bg: #17181a;
  --surface: #1f2124;
  --surface-2: #141517;
  --line: #33353a;
  --line-strong: #4a4d52;
  --text: #ececea;
  --muted: #9b9da1;
  --link: #ffffff;
  --accent: #ffffff;
  --accent-hover: #d9dbdd;
  --accent-ink: #141517;
  --rust: #ffffff;
  --btn-secondary: #2c2e31;
  --btn-secondary-hover: #34363a;
  --header-glass: rgba(23, 24, 26, 0.55);
  --shadow-c: rgba(0, 0, 0, 0.55);
  --radius: 8px;
  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue",
    "Segoe UI", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Menlo", "IBM Plex Mono", monospace;
}

/* 2. Base ----------------------------------------------------------- */
* { box-sizing: border-box; }
html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
  padding: env(safe-area-inset-top, 0px) 0 0;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; }
h1, h2 { text-transform: uppercase; }
h1 { font-weight: 700; letter-spacing: 0.02em; }
h2 { font-weight: 600; letter-spacing: 0.05em; }
h2::before {
  content: "";
  display: block;
  width: 36px;
  height: 4px;
  background: var(--rust);
  margin: 0 auto 14px;
}
h3 { font-weight: 600; letter-spacing: 0.02em; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section.band { background: var(--surface); }
.section.tight { padding-top: 0; }
.section > .wrap > h2 { text-align: center; margin: 0 auto; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { backdrop-filter: none; background: var(--bg); }
}

/* 3. Research-use banner + hazard strip ------------------------------ */
.banner {
  background: var(--text);
  color: var(--bg);
  text-align: center;
  font: 500 0.75rem/1.4 var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 0;
  overflow: hidden;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: ll-marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track > span {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding: 0 20px;
}
.marquee-track > span + span::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--bg);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  margin-right: 40px;
  flex: 0 0 auto;
}
@keyframes ll-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .banner { overflow-x: auto; }
}
.hazard {
  height: 8px;
  background: repeating-linear-gradient(45deg, var(--rust) 0 12px, var(--bg) 12px 24px);
  border-bottom: 1px solid var(--line);
}

/* 4. Buttons --------------------------------------------------------- */
.btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
button.button,
a.button,
input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 24px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: 6px;
  font: 600 0.9375rem/1.2 var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.12s ease, transform 0.12s ease;
}
.btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
button.button:hover,
a.button:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
}
.btn:active, .woocommerce button.button:active { transform: translate(1px, 1px); }
.btn.secondary,
.woocommerce button.button.alt,
button.button.secondary {
  background: var(--btn-secondary);
  color: var(--text);
}
.woocommerce button.button.alt:hover { background: var(--btn-secondary-hover); color: var(--text); }
.btn[disabled], .woocommerce button.button[disabled] { opacity: 0.55; cursor: not-allowed; }

/* 5. Header ----------------------------------------------------------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: var(--header-glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: var(--bg); }
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 52px;
}
.logo {
  font: 700 1.125rem/1 var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: #ffffff;
}
.logo span { color: var(--muted); }
.bar-right { display: flex; align-items: center; gap: 14px; }
.account-link {
  font: 500 1.0625rem/1 var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.account-link:hover { color: var(--text); }
.bar .btn, .bar .button {
  min-height: 36px;
  padding: 6px 18px;
  font-size: 0.9375rem;
}
/* Icon-only cart button: keep the white chip roughly square */
.btn.cart { padding: 8px 12px; }
.btn.cart img { width: 18px; height: 18px; }
.nav-details > summary {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: 500 1rem/1 var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
  list-style: none;
}
.nav-details > summary::-webkit-details-marker { display: none; }
.nav-details > summary::before {
  content: "";
  width: 16px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
  border-radius: 1px;
}
.nav-details > summary:hover { border-color: var(--line-strong); }
nav ul { margin: 0; padding: 0; list-style: none; }
.nav-details > nav ul { display: flex; gap: 18px; }
nav a {
  display: block;
  padding: 8px 0;
  font: 500 1.0625rem/1 var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  text-decoration: none;
  border-radius: 4px;
}
nav a:hover { color: var(--muted); }

/* 6. Hero ------------------------------------------------------------- */
.hero { padding: 72px 0 48px; }
.hero-wrap { max-width: 760px; margin: 0 auto; text-align: center; }
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.75rem);
  line-height: 1.04;
  margin: 0 auto;
}
.hero h1::before {
  content: "";
  display: block;
  width: 44px;
  height: 5px;
  background: var(--rust);
  margin: 0 auto 22px;
}
.mission {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 60ch;
  margin: 20px auto 22px;
}
.cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* 7. Shop grid -------------------------------------------------------- */
.head { text-align: center; margin-bottom: 48px; }
.head h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
.head p { color: var(--muted); margin-top: 12px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 4px 4px 0 0 var(--shadow-c);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  margin: 0;
  float: none;
  width: auto;
}
.woocommerce ul.products li.product:hover,
.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 var(--shadow-c);
}
.vial {
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  margin-bottom: 16px;
  background: var(--surface-2);
}
.vial i {
  position: relative;
  display: block;
  width: 40px;
  height: 96px;
  border: 1.5px solid var(--accent);
  border-radius: 6px 6px 10px 10px;
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--accent) 34%, transparent) var(--fill, 50%),
    transparent var(--fill, 50%)
  );
}
.vial i::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 30%;
  width: 40%;
  height: 9px;
  border-radius: 2px 2px 0 0;
  background: var(--rust);
}
.vial i::after {
  content: "LL";
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font: 500 11px/1 var(--font-mono);
  color: var(--text);
  opacity: 0.45;
}
.woocommerce ul.products li.product a img { display: none; }
.woocommerce ul.products li.product h2.woocommerce-loop-product__title,
.card h3 {
  font: 600 1.0625rem/1.1 var(--font-display);
  letter-spacing: 0.02em;
  margin: 0;
  padding: 0;
}
.woocommerce ul.products li.product h2 a,
.card h3 a { color: inherit; text-decoration: none; }
.woocommerce ul.products li.product h2 a:hover,
.card h3 a:hover { text-decoration: underline; }
.product-meta, .card .meta { color: var(--muted); font-size: 0.8125rem; }
.woocommerce ul.products li.product .price {
  color: var(--text);
  font: 600 1.0625rem/1 var(--font-display);
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
  margin-top: 10px;
}
.woocommerce ul.products li.product .price del { color: var(--muted); opacity: 0.7; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 0.8125rem;
  margin-top: 14px;
  width: 100%;
}
.card-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 14px; }
.card-actions .btn { min-height: 40px; padding: 8px 12px; font-size: 0.8125rem; }

/* 8. About ------------------------------------------------------------- */
.about-lead {
  color: var(--muted);
  max-width: 62ch;
  margin: 16px auto 0;
  text-align: center;
}
.promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
  text-align: center;
}
.promises h3 { font-size: 1.25rem; margin-bottom: 10px; }
.promises p { color: var(--muted); font-size: 0.9375rem; }

/* 9. Contact ----------------------------------------------------------- */
.contact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 4px 4px 0 0 var(--shadow-c);
}
.contact h2, .lookup h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
.hint { color: var(--muted); margin-top: 12px; }
.hint.small { font-size: 0.8125rem; margin-top: 20px; }
.contact-line { margin-top: 16px; font-size: 1.0625rem; }
.contact-line a { color: var(--link); text-decoration: none; }
.contact-line a:hover { text-decoration: underline; }

/* 10. Certificate lookup ------------------------------------------------ */
.lookup {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 4px 4px 0 0 var(--shadow-c);
}
.lookup form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-top: 28px;
}
.field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; text-align: left; min-width: 0; }
.field label {
  font: 600 0.8125rem/1 var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.field input, .field select, .field textarea,
input[type="text"], input[type="email"], input[type="password"], input[type="tel"],
input[type="number"], input[type="search"], input[type="url"], select, textarea {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--text);
  font: 400 1rem var(--font);
  width: 100%;
  min-width: 0;
}
.field input:focus-visible { border-color: var(--rust); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; justify-content: center; }
.chips .label { font-size: 0.8125rem; color: var(--muted); }
.chip {
  font: 400 0.8125rem/1 var(--font-mono);
  color: var(--link);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 8px 12px;
  min-height: 32px;
  cursor: pointer;
}
.chip:hover { border-color: var(--link); }
#res { margin-top: 16px; min-height: 1.6em; color: var(--muted); font-size: 0.9375rem; text-align: left; }
.coa-result {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-align: left;
  margin-top: 6px;
}
.coa-result h3 { margin-bottom: 6px; }
.coa-result .meta { color: var(--muted); font-size: 0.875rem; }
.coa-result a { color: var(--link); }

/* 11. FAQ ---------------------------------------------------------------- */
.faq-list { border-top: 1px solid var(--line); max-width: 720px; margin: 32px auto 0; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  font: 600 1rem/1.4 var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-right: 36px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rust);
  font: 400 1.375rem/1 var(--font);
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { color: var(--muted); margin: 12px 0 0; font-size: 0.9375rem; }

/* 12. Footer ------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 48px 0 40px;
  font-size: 0.75rem;
  color: var(--muted);
}
.site-footer .cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.site-footer .blurb { margin-top: 12px; max-width: 34ch; }
.site-footer h4 {
  margin: 0 0 12px;
  color: var(--text);
  font: 600 0.75rem/1.3 var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.site-footer .cols ul { list-style: none; margin: 0; padding: 0; }
.site-footer .cols a { display: block; text-decoration: none; margin: 8px 0; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.disc { border-top: 1px solid var(--line); padding-top: 24px; font-size: 0.6875rem; }
.disc p + p { margin-top: 10px; }
.disc-links { margin-top: 14px; }
.disc a { display: inline; color: var(--link); }

/* 13. Status toast -------------------------------------------------------- */
.status {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 90;
  max-width: min(90vw, 480px);
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 0.9375rem;
  box-shadow: 4px 4px 0 0 var(--shadow-c);
}
.status[hidden] { display: none; }

/* 13b. Age gate ----------------------------------------------------------- */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 11, 12, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.age-gate[hidden] { display: none; }
.age-gate-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 6px 6px 0 0 var(--shadow-c);
}
.age-gate-box .logo { display: block; margin-bottom: 18px; }
.age-gate-box h2 { font-size: 1.75rem; letter-spacing: 0.05em; }
.age-gate-box p { color: var(--muted); margin-top: 14px; font-size: 0.9375rem; }
.age-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.age-gate-box .hint.small { margin-top: 18px; }
body.age-gate-open { overflow: hidden; }

/* 14. WooCommerce commerce pages ---------------------------------------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  padding: 14px 18px;
  margin: 0 0 22px;
  list-style: none;
}
.woocommerce-message::before { content: "✓"; margin-right: 8px; color: var(--rust); }
.woocommerce-info a { color: var(--link); }
.woocommerce form .form-row { margin-bottom: 16px; }
.woocommerce form .form-row label {
  font: 600 0.8125rem/1 var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 6px;
}
.woocommerce table.shop_table {
  border: 1px solid var(--line);
  border-collapse: collapse;
  width: 100%;
  margin: 0 0 22px;
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  color: var(--text);
}
.woocommerce table.shop_table th {
  font: 600 0.8125rem/1.2 var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: var(--surface-2);
}
.woocommerce table.shop_table a { color: var(--link); }
.woocommerce table.shop_table .product-remove a { color: var(--muted); text-decoration: none; font-size: 1.25rem; }
.woocommerce table.shop_table .product-remove a:hover { color: var(--text); }
.woocommerce .quantity .qty {
  width: 70px;
  min-height: 40px;
  padding: 8px 10px;
}
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 4px 4px 0 0 var(--shadow-c);
}
.woocommerce-checkout h3 {
  font-size: 1.125rem;
  margin: 0 0 14px;
}
.woocommerce form.checkout_coupon, .woocommerce form.login {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 22px;
}
.woocommerce #payment {
  background: var(--surface-2);
  border-radius: 6px;
  margin-top: 16px;
}
.woocommerce #payment ul.payment_methods { border-bottom: 1px solid var(--line); padding: 16px; }
.woocommerce #payment ul.payment_methods li { list-style: none; padding: 6px 0; }
.woocommerce #payment div.payment_box {
  background: var(--surface);
  border-radius: 4px;
  padding: 12px 14px;
  margin: 8px 0 4px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.woocommerce #payment div.payment_box::before { display: none; }
.woocommerce #payment div.form-row { padding: 16px; }
.woocommerce-checkout #payment div.payment_box input.input-text { min-height: 40px; }
.woocommerce form .form-row .required { color: var(--muted); }
.select2-container .select2-selection--single {
  height: 44px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--text);
}
.select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 42px;
  color: var(--text);
  padding-left: 16px;
}
.select2-container .select2-selection--single .select2-selection__arrow { height: 42px; }
.woocommerce-breadcrumb {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 24px 0 8px;
}
.woocommerce-breadcrumb a { color: var(--link); text-decoration: none; }
.woocommerce-result-count, .woocommerce-ordering {
  color: var(--muted);
  font-size: 0.9375rem;
}
.woocommerce-ordering select { min-height: 40px; width: auto; }
.woocommerce-pagination { margin: 32px 0; text-align: center; }
.woocommerce-pagination ul.page-numbers { list-style: none; display: flex; gap: 8px; justify-content: center; padding: 0; }
.woocommerce-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
}
.woocommerce-pagination .page-numbers.current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { padding: 0; margin: 0; }

/* 15. Product page -------------------------------------------------------- */
.back-link {
  display: inline-block;
  margin: 32px 0 8px;
  color: var(--link);
  text-decoration: none;
  font-size: 0.9375rem;
}
.back-link:hover { text-decoration: underline; }
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 16px 0 88px;
}
.product-visual .vial {
  height: 380px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.product-visual .vial i { transform: scale(1.9); }
.product-info h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.product-info .meta { color: var(--muted); margin-top: 10px; font-size: 0.9375rem; }
.product-info .price { display: block; font: 600 1.75rem/1 var(--font-display); margin-top: 18px; color: var(--text); }
.product-info .price del { color: var(--muted); opacity: 0.7; }
.product-info .price ins { text-decoration: none; }
.product-info .card-actions {
  grid-template-columns: 1fr 1fr;
  max-width: 460px;
  margin-top: 22px;
}
.product-info .card-actions .btn { font-size: 0.875rem; }
.product-info form.cart { display: flex; gap: 10px; align-items: center; margin-top: 22px; }
.product-info form.cart .btn, .product-info form.cart .button { min-height: 44px; }
.product-info .woocommerce-product-details__short-description { margin-top: 14px; color: var(--muted); }
.research-note {
  color: var(--text);
  font-size: 0.875rem;
  margin: 20px 0 0;
  background: var(--surface-2);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 14px 16px;
  max-width: 46ch;
}

/* 16. Account / forms ------------------------------------------------------ */
.woocommerce-account .woocommerce-MyAccount-navigation {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 10px 0;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--line);
}
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child a { border-bottom: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { color: var(--accent); }
.woocommerce-MyAccount-content { color: var(--text); }
.woocommerce-MyAccount-content a { color: var(--link); }

/* 17. Misc --------------------------------------------------------------- */
.page-title { text-align: center; margin: 32px 0 8px; font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute; word-wrap: normal !important;
}

/* 18. Breakpoints ---------------------------------------------------------- */
@media (max-width: 960px) {
  .hero { padding: 56px 0 40px; }
  .grid, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-details { padding: 0; border-bottom: 0; }
  .nav-details > summary { display: flex; }
  .nav-details:not([open]) > nav { display: none; }
  .nav-details > nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 4px 0 10px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5);
  }
  .nav-details > nav ul { flex-direction: column; gap: 0; }
  nav a {
    font-size: 1.0625rem;
    padding: 14px 24px;
    border-bottom: 1px solid var(--line);
  }
  nav li:last-child a { border-bottom: 0; }
  .product { grid-template-columns: 1fr; gap: 32px; padding-bottom: 64px; }
  .product-visual .vial { height: 260px; }
  .product-visual .vial i { transform: scale(1.4); }
}
@media (max-width: 520px) {
  .grid, .woocommerce ul.products { grid-template-columns: 1fr; }
  .promises { grid-template-columns: 1fr; gap: 24px; }
  .banner { font-size: 0.6875rem; letter-spacing: 0.05em; padding: 7px 14px; }
  .bar { gap: 8px; min-height: 56px; }
  .nav-details > summary {
    min-height: 40px;
    padding: 6px 10px;
    gap: 7px;
    font-size: 0.9375rem;
    letter-spacing: 0.06em;
  }
  .bar .btn, .bar .button { min-height: 40px; padding: 6px 10px; white-space: nowrap; }
  .account-link { font-size: 0.875rem; letter-spacing: 0.06em; }
  nav a { padding-left: 20px; padding-right: 20px; }
  .wrap { padding: 0 20px; }
  .lookup, .contact { padding: 32px 24px; }
}
@media (max-width: 400px) {
  .account-link { display: none; }
  .banner { font-size: 0.625rem; letter-spacing: 0.04em; padding: 6px 12px; }
}
