/*
Theme Name: Nexgen Amino
Theme URI: https://nexgenamino.ca/
Author: Nexgen Amino
Description: A clinical, documentation-first WooCommerce theme for Nexgen Amino.
Version: 1.0.8
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: nexgenamino
*/

:root {
  --navy-950: #0a1322;
  --navy-900: #101d33;
  --navy-800: #182a47;
  --navy-700: #22375c;
  --blue-600: #2e6bd6;
  --blue-700: #2558b8;
  --blue-100: #e3ecfb;
  --blue-50: #f0f5fd;
  --bg: #f7f9fc;
  --surface: #fff;
  --border: #e4e9f0;
  --border-strong: #cbd5e1;
  --text: #101828;
  --text-2: #475467;
  --text-3: #667085;
  --success: #067647;
  --success-bg: #edfdf3;
  --danger: #b42318;
  --danger-bg: #fef3f2;
  --warning: #b54708;
  --warning-bg: #fffaeb;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-pop: 0 8px 24px rgba(16, 24, 40, .1);
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; overflow-x: clip; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 "IBM Plex Sans", system-ui, sans-serif; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue-700); text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; color: var(--navy-950); font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 600; line-height: 1.18; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 3.5vw, 3rem); }
h2 { font-size: clamp(1.65rem, 2.7vw, 2.375rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
button { color: inherit; }
[hidden] { display: none !important; }
.container { width: min(100%, var(--container)); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 88px; }
.section--compact { padding-block: 56px; }
.section--muted { background: var(--blue-50); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus, .skip-link:focus { z-index: 100000; top: 10px; left: 10px; width: auto; height: auto; padding: 10px 14px; clip: auto; border-radius: 6px; background: #fff; color: var(--navy-950); box-shadow: var(--shadow-pop); }
:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; }
.icon { display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.data, .price, .amount, code { font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }

.btn, button.button, a.button, input.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 9px 17px; border: 1px solid transparent; border-radius: 6px; font: 600 15px/1.2 "IBM Plex Sans", system-ui, sans-serif; text-decoration: none; cursor: pointer; transition: color 180ms ease-out, background-color 180ms ease-out, border-color 180ms ease-out, transform 180ms ease-out;
}
.btn-primary, button.button.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { background: var(--blue-600); color: #fff; }
.btn-primary:hover, button.button.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover { background: var(--blue-700); color: #fff; }
.btn-outline { border-color: var(--border-strong); background: #fff; color: var(--navy-900); }
.btn-outline:hover { border-color: var(--blue-600); background: var(--blue-50); color: var(--blue-700); }
.btn-ghost { background: transparent; color: var(--navy-900); }
.btn-ghost:hover { background: var(--blue-50); }
.btn-dark { background: #fff; color: var(--navy-950); }
.btn-dark:hover { background: var(--blue-100); color: var(--navy-950); }
.btn-dark-outline { border-color: rgba(255,255,255,.5); background: transparent; color: #fff; }
.btn-dark-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn:active, button.button:active, a.button:active { transform: translateY(1px); }
.btn-sm { min-height: 36px; padding: 7px 11px; font-size: 13px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; text-decoration: none; }
.icon-button { display: inline-grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 0; border-radius: 6px; background: transparent; color: var(--navy-900); cursor: pointer; }
.icon-button:hover { background: var(--blue-50); color: var(--blue-700); }

label, legend { display: block; margin-bottom: 7px; color: var(--text); font-size: 14px; font-weight: 500; }
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), select, textarea, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
  width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid var(--border-strong); border-radius: 6px; background: #fff; color: var(--text);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue-600) !important; box-shadow: 0 0 0 3px var(--blue-100); outline: 0; }
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; accent-color: var(--blue-600); }
.search-field { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.search-field > .icon { position: absolute; z-index: 1; top: 12px; left: 12px; color: var(--text-3); }
.search-field input { padding-left: 42px !important; }
.search-form { width: min(100%, 620px); margin-inline: auto; text-align: left; }

.site-header { position: sticky; z-index: 900; top: 0; height: 72px; border-bottom: 1px solid var(--border); background: #fff; }
.site-header__inner { display: flex; height: 72px; align-items: center; gap: 24px; }
.site-brand { flex: 0 0 auto; }
.nga-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy-950); text-decoration: none; }
.nga-brand:hover { color: var(--navy-950); }
.nga-brand--dark, .nga-brand--dark:hover { color: #fff; }
.nga-brand__icon { width: auto; height: 36px; object-fit: contain; }
.site-header .nga-brand__icon { width: auto; height: 36px; max-height: 36px; }
.nga-brand__words { display: grid; justify-items: center; line-height: 1; }
.nga-brand__name { font: 600 20px/1 "Space Grotesk", sans-serif; }
.nga-brand__amino { display: flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--blue-600); font: 600 11px/1 "IBM Plex Sans", sans-serif; letter-spacing: .35em; }
.nga-brand__amino::before, .nga-brand__amino::after { width: 18px; border-top: 1px solid currentColor; content: ""; }
.site-nav { min-width: 0; flex: 1 1 auto; align-self: stretch; }
.site-nav__list { display: flex; height: 100%; align-items: stretch; justify-content: center; gap: clamp(4px, .8vw, 15px); margin: 0; padding: 0; list-style: none; }
.site-nav__list > li { display: flex; align-items: stretch; }
.site-nav__list > li > a, .nav-disclosure__toggle { display: flex; min-height: 44px; align-items: center; gap: 4px; padding: 0 3px; border: 0; background: transparent; color: var(--navy-900); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; }
.site-nav__list > li > a:hover, .nav-disclosure__toggle:hover, .nav-disclosure__toggle[aria-expanded="true"] { color: var(--blue-600); }
.nav-disclosure { position: relative; }
.nav-disclosure__toggle .icon { transition: transform 180ms ease-out; }
.nav-disclosure__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-dropdown, .mega-menu { position: absolute; z-index: 30; top: calc(100% - 1px); padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: #fff; box-shadow: var(--shadow-pop); animation: menu-in 180ms ease-out both; }
.nav-dropdown { left: -14px; width: 230px; margin: 0; list-style: none; }
.nav-dropdown--right { right: -16px; left: auto; }
.nav-dropdown a { display: flex; min-height: 44px; align-items: center; padding: 8px 10px; border-radius: 6px; color: var(--navy-900); font-size: 14px; font-weight: 500; text-decoration: none; }
.nav-dropdown a:hover { background: var(--blue-50); color: var(--blue-700); }
.nav-shop { position: static; }
.mega-menu { right: 24px; left: 24px; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 18px; padding: 22px; }
.mega-menu__heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 14px; font-weight: 600; }
.mega-menu__heading a { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; }
.mega-menu__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mega-menu__grid a { display: grid; min-height: 64px; align-content: center; padding: 9px 11px; border: 1px solid var(--border); border-radius: 6px; color: var(--navy-900); text-decoration: none; }
.mega-menu__grid a:hover { border-color: var(--blue-600); background: var(--blue-50); }
.mega-menu__grid span { font-size: 14px; font-weight: 600; }
.mega-menu__grid small { color: var(--text-3); font-size: 13px; }
.mega-menu__feature { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 10px; background: var(--navy-950); color: #fff; text-decoration: none; }
.mega-menu__feature:hover { color: #fff; }
.mega-menu__feature img { width: 92px; height: 92px; padding: 6px; border-radius: 6px; background: #eef2f7; object-fit: contain; }
.mega-menu__feature > span { display: grid; min-width: 120px; gap: 3px; }
.mega-menu__feature small { color: var(--blue-100); font-size: 12px; text-transform: uppercase; }
.mega-menu__feature strong { font-size: 14px; line-height: 1.3; }
.mega-menu__feature b { white-space: nowrap; font-family: "IBM Plex Mono", monospace; font-size: 14px; font-weight: 500; }
.header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 1px; }
.cart-button { position: relative; }
.nga-cart-count { position: absolute; top: 2px; right: 1px; display: grid; min-width: 18px; height: 18px; padding: 0 4px; place-items: center; border: 2px solid #fff; border-radius: 999px; background: var(--blue-600); color: #fff; font: 600 10px/1 "IBM Plex Sans", sans-serif; }
.menu-button { display: none; }
.site-search { position: absolute; top: 71px; right: 0; left: 0; border-bottom: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-pop); }
.site-search__inner { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; padding-block: 20px; }
.site-search form { width: 100%; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.drawer-backdrop, .sheet-backdrop { position: fixed; z-index: 980; inset: 0; background: rgba(10,19,34,.66); }
.mobile-drawer { position: fixed; z-index: 990; top: 0; right: 0; bottom: 0; width: min(90vw, 410px); overflow-y: auto; background: #fff; box-shadow: var(--shadow-pop); animation: drawer-in 220ms ease-out both; }
.mobile-drawer__header, .filter-sheet__header { position: sticky; z-index: 2; top: 0; display: flex; min-height: 64px; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--border); background: #fff; }
.mobile-drawer__search { padding: 16px 18px 18px; border-bottom: 1px solid var(--border); background: var(--bg); }
.mobile-drawer__search .search-field { grid-template-columns: minmax(0, 1fr) auto; }
.mobile-drawer__search .btn { padding-inline: 13px; }
.drawer-group { border-bottom: 1px solid var(--border); }
.drawer-group > button, .drawer-link { display: flex; width: 100%; min-height: 52px; align-items: center; justify-content: space-between; padding: 10px 18px; border: 0; background: #fff; color: var(--navy-900); font-weight: 600; text-align: left; text-decoration: none; }
.drawer-group > button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.drawer-group > div { padding: 4px 14px 12px; background: var(--bg); }
.drawer-group > div a { display: flex; min-height: 44px; align-items: center; justify-content: space-between; padding: 8px; border-radius: 6px; color: var(--text-2); font-size: 14px; text-decoration: none; }
.drawer-group > div a:hover { background: var(--blue-50); color: var(--blue-700); }
.mobile-drawer__utility { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 18px; }
.mobile-drawer__utility a { position: relative; display: flex; min-height: 48px; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--border); border-radius: 6px; color: var(--navy-900); text-decoration: none; }
.mobile-drawer__utility .nga-cart-count { top: -6px; right: -6px; }
.mobile-drawer__note { margin: 0 18px 24px; padding: 14px; border-left: 3px solid var(--blue-600); background: var(--blue-50); color: var(--text-2); font-size: 13px; }
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: translateX(0); } }

.page-hero { padding-block: 62px; border-bottom: 1px solid var(--border); background: var(--navy-900); color: #fff; }
.page-hero--compact { padding-block: 30px; }
.page-hero--compact .page-hero__icon { width: 40px; height: 40px; margin-bottom: 10px; }
.page-hero h1 { color: #fff; }
.page-hero p, .page-hero__intro { max-width: 65ch; margin-bottom: 0; color: #dce5f2; font-size: 18px; }
.page-hero--light { background: var(--blue-50); color: var(--text); }
.page-hero--light h1 { color: var(--navy-950); }
.page-hero--dark { background: var(--navy-950); }
.page-hero--quality .page-hero__icon, .coa-hero .page-hero__icon { color: #9ec0fa; }
.page-hero__icon { display: inline-grid; width: 52px; height: 52px; margin-bottom: 18px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-heading h2 { margin-bottom: 6px; }
.section-heading p { max-width: 60ch; margin: 0; color: var(--text-2); }
.prose { max-width: 65ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose li + li { margin-top: 7px; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 11px 12px; border: 1px solid var(--border); text-align: left; }
.last-updated { padding-bottom: 14px; border-bottom: 1px solid var(--border); color: var(--text-2); font-size: 14px; }
.empty-state { padding: 40px 24px; border: 1px solid var(--border); border-radius: 10px; background: #fff; text-align: center; box-shadow: var(--shadow-card); }
.empty-state > .icon { margin-bottom: 12px; color: var(--blue-600); }
.empty-state p { max-width: 54ch; margin: 0 auto 20px; color: var(--text-2); }
.notice-box { padding: 14px 16px; border: 1px solid var(--border); border-radius: 6px; background: var(--blue-50); }

.hero-carousel { min-height: min(88vh, 780px); overflow: hidden; overflow: clip; padding: 48px 24px 20px; background-color: var(--navy-950); background-image: radial-gradient(ellipse at 50% 54%, rgba(46,107,214,.1) 0, rgba(46,107,214,.035) 38%, transparent 68%), radial-gradient(ellipse at 50% 76%, rgba(16,29,51,.7) 0, transparent 58%); color: #fff; }
.hero-carousel__inner { display: flex; width: 100%; max-width: 100%; flex-direction: column; align-items: center; }
.hero-brand { display: grid; justify-items: center; margin: 0; color: #fff; line-height: 1; }
.hero-brand__name { font: 600 clamp(2.4rem, 4.4vw, 3.6rem)/1 "Space Grotesk", sans-serif; }
.hero-brand__amino { display: flex; align-items: center; gap: 12px; margin-top: 9px; color: var(--blue-600); font: 600 14px/1 "IBM Plex Sans", sans-serif; letter-spacing: .35em; }
.hero-brand__amino::before, .hero-brand__amino::after { width: 42px; border-top: 1px solid currentColor; content: ""; }
.hero-brand__tag { margin: 14px 0 0; color: rgba(255,255,255,.7); font-size: 13px; font-weight: 500; letter-spacing: .2em; line-height: 1.3; text-align: center; text-transform: uppercase; }
.hero-brand__tag span { color: #8eb5fa; }
.hero-revolver { --vial-height: clamp(340px, 46vh, 470px); position: relative; width: 100%; height: calc(var(--vial-height) + 26px); margin-top: 16px; }
.hero-stage { position: absolute; z-index: 0; bottom: -12px; left: 50%; width: min(70vw, 860px); height: 110px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(46,107,214,.17) 0, rgba(46,107,214,.055) 40%, transparent 72%); pointer-events: none; }
.hero-stage::after { position: absolute; right: 10%; bottom: 20px; left: 10%; height: 42px; border-radius: 50%; background: rgba(0,0,0,.3); filter: blur(18px); content: ""; }
.vial { position: absolute; bottom: 0; left: 50%; display: block; height: var(--vial-height); color: #fff; transform-origin: 50% 100%; translate: -50% 0; transition: transform 850ms cubic-bezier(0.22,1,0.36,1), opacity 850ms, filter 850ms; will-change: transform; }
.vial[aria-hidden="true"] { pointer-events: none; }
.vial::after { position: absolute; z-index: 0; bottom: -12px; left: 15%; width: 70%; height: 22px; border-radius: 50%; background: rgba(0,0,0,.36); filter: blur(8px); content: ""; }
.vial img { position: relative; z-index: 1; width: auto; max-width: none; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 36px rgba(0,0,0,.18)); }
.vial.is-front img { filter: drop-shadow(0 24px 48px rgba(46,107,214,.25)); }
.hero-carousel__actions { justify-content: center; margin-top: 40px; }
.trust-strip { border-bottom: 1px solid var(--border); background: #fff; }
.trust-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 68px; align-items: center; }
.trust-strip__grid span { display: flex; min-height: 44px; align-items: center; justify-content: center; gap: 9px; padding: 8px 14px; border-right: 1px solid var(--border); color: var(--navy-900); font-size: 14px; font-weight: 600; }
.trust-strip__grid span:last-child { border-right: 0; }
.trust-strip__grid .icon { color: var(--blue-600); }

ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
ul.products::before, ul.products::after { display: none !important; }
.woocommerce ul.products li.product.product-card, ul.products li.product.product-card { width: auto; float: none; margin: 0; }
.product-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: #fff; box-shadow: var(--shadow-card); transition: border-color 200ms ease-out, box-shadow 200ms ease-out, transform 200ms ease-out; }
.product-card:hover { border-color: var(--blue-600); box-shadow: var(--shadow-pop); transform: translateY(-2px); }
.product-card__link { display: flex; flex: 1; flex-direction: column; color: inherit; text-decoration: none; }
.product-card__image { position: relative; width: 100%; margin: 10px 0 0; border-radius: 6px; background: #eef2f7; }
.product-card__image img { width: 100%; height: auto; aspect-ratio: 1; padding: 12px; border-radius: 6px; object-fit: contain; }
.product-card__badges { display: flex; min-height: 24px; flex-wrap: wrap; gap: 5px; }
.badge { display: inline-flex; min-height: 24px; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1; text-transform: uppercase; }
.badge-sale { background: var(--danger-bg); color: var(--danger); }
.badge-new { background: var(--blue-100); color: var(--blue-700); }
.badge-featured { background: var(--navy-950); color: #fff; }
.badge-coa { background: var(--success-bg); color: var(--success); }
.badge-neutral { background: var(--bg); color: var(--text-2); }
.product-card__body { display: grid; gap: 8px; padding: 16px 16px 8px; }
.product-card__category { color: var(--text-3); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.product-card h2 { margin: 0; font: 600 16px/1.35 "IBM Plex Sans", sans-serif; }
.size-chip { display: inline-flex; width: fit-content; min-height: 25px; align-items: center; padding: 3px 8px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--bg); color: var(--text-2); font: 500 12px/1 "IBM Plex Mono", monospace; }
.product-card__price { color: var(--navy-950); font: 500 17px/1.4 "IBM Plex Mono", monospace; font-variant-numeric: tabular-nums; }
.product-card__price del, .product-buy__price del { margin-right: 6px; color: var(--text-3); font-size: .82em; }
.product-card__price ins, .product-buy__price ins { color: var(--danger); text-decoration: none; }
.stock-line { margin: 0; font-size: 14px; font-weight: 500; }
.stock-line.is-in, .product-buy__stock.is-in { color: var(--success); }
.stock-line.is-low { color: var(--warning); }
.stock-line.is-out, .product-buy__stock.is-out { color: var(--text-3); }
.product-card__action { padding: 8px 16px 16px; }
.product-card__action .btn { width: 100%; }
.product-card:hover .product-card__action .btn-outline { border-color: var(--blue-600); background: var(--blue-600); color: #fff; }
.product-card__feedback { min-height: 0; margin: 5px 0 0; color: var(--success); font-size: 13px; text-align: center; }

.category-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.category-card { display: grid; grid-template-columns: 1fr 130px; grid-column: span 2; min-height: 210px; align-items: end; overflow: hidden; padding: 22px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--navy-950); text-decoration: none; }
.category-card--1 { grid-column: 1 / span 4; grid-row: 1; background: var(--blue-50); }
.category-card--2 { grid-column: 1 / span 2; grid-row: 2; background: var(--navy-950); color: #fff; }
.category-card--3 { grid-column: 3 / span 2; grid-row: 2; }
.category-card--4 { grid-column: 5 / span 2; grid-row: 2; }
.category-card--5 { grid-column: 1 / span 2; grid-row: 3; }
.category-card--6 { grid-column: 3 / span 2; grid-row: 3; }
.category-card--7 { grid-column: 5 / span 2; grid-row: 3; }
.category-card--4 { background: var(--blue-50); }
.category-card:hover { border-color: var(--blue-600); color: inherit; }
.category-card__copy { display: grid; gap: 8px; align-self: center; }
.category-card__copy strong { font: 600 20px/1.2 "Space Grotesk", sans-serif; }
.category-card__copy small { display: -webkit-box; overflow: hidden; color: var(--text-2); font-size: 14px; text-overflow: ellipsis; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.category-card--2 small { color: #dce5f2; }
.category-card__copy b { font-size: 13px; font-weight: 600; }
.category-card__image { align-self: end; border-radius: 6px; background: #eef2f7; }
.category-card__image img { width: 130px; height: 130px; padding: 6px; object-fit: contain; }

.coa-band { background: var(--navy-900); color: #fff; }
.coa-band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .75fr); gap: 70px; align-items: center; }
.coa-band h2 { color: #fff; }
.coa-band__grid > div:first-child > p { max-width: 54ch; margin-bottom: 24px; color: #dce5f2; }
.mini-coa { padding: 24px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; background: #fff; color: var(--text); box-shadow: var(--shadow-pop); }
.mini-coa__head { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--blue-700); font-size: 13px; font-weight: 600; text-transform: uppercase; }
.mini-coa > strong { display: block; margin-bottom: 16px; color: var(--navy-950); font-size: 18px; }
.mini-coa dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; }
.mini-coa dl div { min-width: 0; }
.mini-coa dt { color: var(--text-3); font-size: 12px; }
.mini-coa dd { margin: 3px 0 0; overflow-wrap: anywhere; color: var(--navy-900); font: 500 13px/1.4 "IBM Plex Mono", monospace; }
.why-grid { display: grid; grid-template-columns: minmax(280px, .7fr) 1.3fr; gap: 80px; }
.why-intro { position: sticky; top: 110px; align-self: start; }
.why-intro p { color: var(--text-2); }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.why-list article { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding-block: 22px; border-top: 1px solid var(--border); }
.why-list article > .icon { width: 42px; height: 42px; padding: 10px; border-radius: 6px; background: var(--blue-50); color: var(--blue-600); }
.why-list h3 { margin: 0 0 5px; font: 600 16px/1.3 "IBM Plex Sans", sans-serif; }
.why-list p { margin: 0; color: var(--text-2); font-size: 14px; }
.learn-strip { background: #fff; }
.article-row, .article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-card { display: flex; min-height: 250px; flex-direction: column; padding: 22px; border: 1px solid var(--border); border-radius: 10px; background: #fff; box-shadow: var(--shadow-card); }
.article-card > div { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 20px; color: var(--text-3); font-size: 13px; }
.article-card > div span { color: var(--blue-700); font-weight: 600; text-transform: uppercase; }
.article-card h3 { font-size: 20px; }
.article-card h3 a { color: inherit; text-decoration: none; }
.article-card p { flex: 1; color: var(--text-2); font-size: 14px; }
.home-newsletter { background: var(--blue-50); }
.home-newsletter__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.home-newsletter h2 { margin-bottom: 6px; }
.home-newsletter p { margin: 0; color: var(--text-2); }
.final-cta { background: var(--navy-950); color: #fff; }
.final-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.final-cta h2 { max-width: 18ch; margin: 0; color: #fff; }
.home-inquiry { background: var(--blue-50); }
.home-inquiry__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 70px; align-items: start; }
.home-inquiry h2 { max-width: 20ch; margin-bottom: 8px; }
.home-inquiry p { margin-top: 0; color: var(--text-2); }
.home-inquiry textarea { width: 100%; }

.site-footer { padding-top: 70px; border-top: 1px solid rgba(255,255,255,.08); background: var(--navy-950); color: #dce5f2; }
.footer-grid { display: grid; grid-template-columns: minmax(300px, 2.4fr) repeat(4, minmax(100px, 1fr)) minmax(220px, 2fr); gap: 20px; }
.footer-brand .nga-brand__icon { height: 32px; }
.footer-brand__intro { max-width: 32ch; margin: 18px 0; color: #b7c5d9; font-size: 14px; }
.footer-menu h2, .footer-newsletter h2 { margin-bottom: 15px; color: #fff; font: 600 15px/1.3 "IBM Plex Sans", sans-serif; }
.footer-menu ul { margin: 0; padding: 0; list-style: none; }
.footer-menu a { display: inline-flex; min-height: 36px; align-items: center; color: #b7c5d9; font-size: 14px; text-decoration: none; }
.footer-menu a:hover { color: #fff; }
.footer-newsletter p { color: #b7c5d9; font-size: 14px; }
.footer-newsletter .nga-form-wrap { color: #fff; }
.footer-newsletter .nga-form-wrap label { color: #fff; }
.footer-newsletter .nga-newsletter-form form > p { grid-template-columns: 1fr; }
.footer-newsletter .nga-form-wrap .btn { width: 100%; }
.footer-newsletter > small { display: block; color: #8797ad; font-size: 12px; }
.footer-bottom { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 24px; align-items: center; margin-top: 56px; padding-block: 24px; border-top: 1px solid var(--navy-800); }
.footer-bottom p { margin: 0; color: #9fb0c6; font-size: 12px; }
.legal-nav ul { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; list-style: none; }
.legal-nav a { color: #b7c5d9; font-size: 12px; text-decoration: none; }
.social-links { display: flex; gap: 4px; }
.social-links a { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 6px; color: #8797ad; }
.social-links a:hover { background: var(--navy-800); color: #fff; }

.breadcrumbs { display: flex; flex-wrap: wrap; min-height: 32px; align-items: center; gap: 5px; margin-bottom: 16px; color: var(--text-3); font-size: 13px; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.shop-hero { padding-block: 48px 28px; background: #fff; }
.shop-hero--category { background: var(--navy-900); color: #fff; }
.shop-hero--category h1 { color: #fff; }
.shop-hero--category .breadcrumbs { color: #c2cde0; }
.shop-hero > .container > p, .shop-hero__description { max-width: 65ch; margin: 0; color: var(--text-2); }
.shop-hero--category .shop-hero__description { color: #dce5f2; }
.shop-toolbar { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--border); }
.shop-toolbar .woocommerce-result-count { margin: 0; color: var(--text-2); font-size: 14px; }
.shop-toolbar__actions { display: flex; align-items: center; gap: 10px; }
.woocommerce-ordering { margin: 0 !important; }
.woocommerce-ordering select { min-width: 190px; }
.filter-open { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 16px; }
.active-filters a { display: inline-flex; min-height: 34px; align-items: center; gap: 5px; padding: 5px 9px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--text-2); font-size: 13px; text-decoration: none; }
.active-filters__clear { border-color: transparent !important; color: var(--blue-700) !important; }
.shop-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; padding-block: 36px 88px; }
.shop-sidebar { align-self: start; padding: 20px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.shop-sidebar h2 { font-size: 20px; }
.shop-filters { display: grid; gap: 20px; }
.filter-group { padding: 0; border: 0; }
.filter-price { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.filter-price legend { grid-column: 1 / -1; }
.check-row { display: flex; min-height: 44px; align-items: center; gap: 10px; margin: 0; cursor: pointer; }
.shop-results ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woocommerce nav.woocommerce-pagination ul { display: flex; gap: 5px; border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { display: grid; min-width: 44px; min-height: 44px; place-items: center; border: 1px solid var(--border); border-radius: 6px; background: #fff; color: var(--navy-900); }
.woocommerce nav.woocommerce-pagination ul li span.current { border-color: var(--blue-600); background: var(--blue-600); color: #fff; }
.filter-sheet { position: fixed; z-index: 990; right: 0; bottom: 0; left: 0; max-height: 86vh; overflow-y: auto; border-radius: 10px 10px 0 0; background: #fff; box-shadow: var(--shadow-pop); animation: sheet-in 220ms ease-out both; }
.filter-sheet__header h2 { margin: 0; font-size: 20px; }
.filter-sheet__body { padding: 18px 16px 28px; }
@keyframes sheet-in { from { transform: translateY(100%); } to { transform: translateY(0); } }

.single-product__top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr); gap: 56px; padding-block: 48px 72px; }
.product-gallery { min-width: 0; }
.product-gallery__main { overflow: hidden; border-radius: 10px; background: #eef2f7; }
.product-gallery__main > button { display: grid; width: 100%; padding: 0; border: 0; border-radius: 10px; background: transparent; cursor: zoom-in; }
.product-gallery__main img { width: 100%; height: auto; aspect-ratio: 1; padding: 24px; object-fit: contain; }
.product-gallery__main button > span { display: grid; width: 44px; height: 44px; margin: 0 14px 14px auto; place-items: center; border: 1px solid var(--border); border-radius: 6px; background: #fff; }
.product-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.product-gallery__thumbs button { width: 76px; height: 76px; flex: 0 0 76px; padding: 4px; border: 1px solid var(--border); border-radius: 6px; background: #eef2f7; cursor: pointer; }
.product-gallery__thumbs button.is-active { border-color: var(--blue-600); box-shadow: 0 0 0 2px var(--blue-100); }
.product-gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-buy h1 { margin-bottom: 9px; }
.product-buy__category { display: inline-flex; margin-bottom: 8px; color: var(--blue-700); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.product-buy__subtitle { color: var(--text-2); }
.product-buy__price { margin-block: 18px 8px; color: var(--navy-950); font: 500 24px/1.3 "IBM Plex Mono", monospace; }
.product-buy__stock { margin-bottom: 20px; font-size: 14px; font-weight: 500; }
.current-batch { margin-block: 22px; padding: 18px; border: 1px solid var(--border-strong); border-radius: 10px; background: #fff; }
.current-batch__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.current-batch__head > span:first-child { display: flex; align-items: center; gap: 7px; color: var(--success); }
.current-batch > label { margin-top: 14px; }
.current-batch dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.current-batch dt { color: var(--text-3); font-size: 12px; }
.current-batch dd { margin: 2px 0 0; overflow-wrap: anywhere; font: 500 13px/1.4 "IBM Plex Mono", monospace; }
.product-size { display: flex; align-items: center; gap: 12px; margin-block: 18px; font-size: 14px; font-weight: 500; }
.product-options { display: flex; align-items: flex-start; gap: 12px; margin-block: 18px; font-size: 14px; font-weight: 500; }
.product-options > span { min-width: fit-content; padding-top: 7px; }
.product-options__chips { display: flex; flex: 1; flex-wrap: wrap; gap: 8px; }
.product-option-chip { min-height: 34px; gap: 5px; justify-content: center; padding: 6px 11px; text-decoration: none; cursor: pointer; transition: color 180ms ease-out, background-color 180ms ease-out, border-color 180ms ease-out, opacity 180ms ease-out; }
.product-option-chip:hover { border-color: var(--blue-600); background: var(--blue-50); color: var(--blue-700); }
.product-option-chip:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; }
.product-option-chip.is-current, .product-option-chip.is-selected { border-color: var(--blue-600); background: var(--blue-100); color: var(--blue-700); }
.product-option-chip.is-out-of-stock { opacity: .55; }
.product-option-chip small { color: inherit; font: inherit; }
.product-options--family .product-option-chip { flex-direction: column; align-items: flex-start; }
.product-cart-form { display: grid; grid-template-columns: auto minmax(180px, 1fr); gap: 10px; }
.product-cart-form .single_add_to_cart_button:disabled { opacity: .55; cursor: not-allowed; }
.quantity { display: inline-grid !important; grid-template-columns: 44px 54px 44px; }
.quantity .qty-btn { display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 1px solid var(--border-strong); background: #fff; cursor: pointer; }
.quantity .qty-minus { border-radius: 6px 0 0 6px; }
.quantity .qty-plus { border-radius: 0 6px 6px 0; }
.quantity input.qty { width: 54px !important; min-height: 44px; padding: 4px !important; border-right: 0 !important; border-left: 0 !important; border-radius: 0 !important; text-align: center; }
.product-cart-feedback { min-height: 24px; margin: 8px 0 0; color: var(--success); font-size: 14px; }
.product-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.product-trust span { display: flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 12px; line-height: 1.35; }
.product-trust .icon { color: var(--blue-600); }
.product-details { border-top: 1px solid var(--border); background: #fff; }
.research-data { display: grid; grid-template-columns: 1fr 1fr; margin: 28px 0 30px; border-top: 1px solid var(--border); }
.research-data > div { display: grid; grid-template-columns: minmax(130px, .45fr) 1fr; gap: 16px; padding: 15px 10px; border-bottom: 1px solid var(--border); }
.research-data dt { color: var(--text-2); font-size: 14px; }
.research-data dd { margin: 0; overflow-wrap: anywhere; font: 500 14px/1.5 "IBM Plex Mono", monospace; }
.research-data .is-long { grid-column: 1 / -1; }
.research-data > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.research-data details summary { min-height: 44px; padding-block: 10px; color: var(--blue-700); font-family: "IBM Plex Sans", sans-serif; font-weight: 600; cursor: pointer; }
.research-data details code { display: block; padding: 12px; border-radius: 6px; background: var(--bg); white-space: normal; }
.ruo-box { display: grid; grid-template-columns: 24px 1fr; gap: 11px; padding: 16px 18px; border: 1px solid #fedf89; border-radius: 10px; background: var(--warning-bg); color: #7a2e0e; }
.ruo-box .icon { color: var(--warning); }
.ruo-box p { margin: 0; }
.product-accordions { margin-top: 48px; }
.accordion-row { border-top: 1px solid var(--border); }
.accordion-row:last-child { border-bottom: 1px solid var(--border); }
.accordion-row h3 { margin: 0; }
.accordion-row h3 button { display: flex; width: 100%; min-height: 60px; align-items: center; justify-content: space-between; padding: 14px 4px; border: 0; background: transparent; color: var(--navy-900); font: 600 16px/1.4 "IBM Plex Sans", sans-serif; text-align: left; cursor: pointer; }
.accordion-row h3 button .icon { transition: transform 200ms ease-out; }
.accordion-row h3 button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.accordion-panel { overflow: hidden; color: var(--text-2); transition: max-height 220ms ease-out; }
.accordion-panel > :last-child { margin-bottom: 22px; }
.coa-report-list > div { display: flex; min-height: 60px; align-items: center; gap: 8px; padding-block: 8px; border-bottom: 1px solid var(--border); }
.coa-report-list span { display: grid; flex: 1; }
.coa-report-list small { font-family: "IBM Plex Mono", monospace; }
.related-section { background: var(--bg); }
.sticky-cart { position: fixed; z-index: 850; right: 0; bottom: 0; left: 0; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--border); background: #fff; box-shadow: 0 -8px 24px rgba(16,24,40,.1); }
.sticky-cart > div { display: grid; min-width: 0; }
.sticky-cart strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.sticky-cart span { font: 500 13px/1.4 "IBM Plex Mono", monospace; }

dialog { max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--border); border-radius: 10px; background: #fff; box-shadow: var(--shadow-pop); }
dialog::backdrop { background: rgba(10,19,34,.84); }
.pdf-modal { width: min(1080px, calc(100vw - 32px)); height: min(820px, calc(100vh - 32px)); }
.modal-toolbar, .gallery-modal__toolbar { display: flex; min-height: 60px; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 12px 8px 18px; border-bottom: 1px solid var(--border); }
.modal-toolbar > div { display: flex; }
.pdf-modal__note { margin: 0; padding: 7px 18px; border-bottom: 1px solid var(--border); background: var(--bg); color: var(--text-2); font-size: 13px; }
.pdf-modal iframe { width: 100%; height: calc(100% - 96px); border: 0; }
.gallery-modal { width: min(1000px, calc(100vw - 32px)); }
.gallery-modal__stage { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; align-items: center; background: #eef2f7; }
.gallery-modal__stage > button { display: grid; width: 44px; height: 64px; margin: 4px; place-items: center; border: 0; border-radius: 6px; background: #fff; cursor: pointer; }
.gallery-modal__stage img { width: 100%; max-height: calc(100vh - 120px); aspect-ratio: 1; object-fit: contain; }

.coa-search-section { margin-top: -1px; padding-block: 32px; background: #fff; }
.coa-search-card { padding: 24px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); }
.coa-search-card > label { font-size: 16px; font-weight: 600; }
.coa-search-input { position: relative; }
.coa-search-input > .icon { position: absolute; top: 14px; left: 14px; color: var(--text-3); }
.coa-search-input input { min-height: 52px !important; padding-right: 54px !important; padding-left: 48px !important; font-size: 17px; }
.coa-search-input input::-webkit-search-cancel-button { display: none; -webkit-appearance: none; appearance: none; }
.coa-search-input .icon-button { position: absolute; top: 4px; right: 4px; }
.coa-filters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.coa-search-status { margin: 16px 0 0; color: var(--text-2); font-size: 14px; }
.coa-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.coa-card { display: flex; min-width: 0; flex-direction: column; padding: 20px; border: 1px solid var(--border); border-radius: 10px; background: #fff; box-shadow: var(--shadow-card); }
.coa-card__top { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.coa-card__top > div { display: grid; gap: 6px; }
.coa-card__product { color: var(--navy-950); font-weight: 600; text-decoration: none; }
.coa-card__purity { display: grid; margin-block: 24px 18px; }
.coa-card__purity strong { color: var(--success); font: 500 30px/1.1 "IBM Plex Mono", monospace; }
.coa-card__purity span { color: var(--text-3); font-size: 12px; }
.coa-card__data { display: grid; gap: 10px; margin: 0 0 20px; }
.coa-card__data > div { display: grid; grid-template-columns: 90px 1fr; gap: 8px; }
.coa-card__data dt { color: var(--text-3); font-size: 13px; }
.coa-card__data dd { margin: 0; overflow-wrap: anywhere; font: 500 13px/1.5 "IBM Plex Mono", monospace; }
.coa-card__actions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.coa-card__unavailable { color: var(--text-3); font-size: 13px; }
.coa-grid.is-loading .coa-card { min-height: 360px; border-color: transparent; background: linear-gradient(90deg, #eef2f7 25%, #f7f9fc 37%, #eef2f7 63%); background-size: 400% 100%; animation: shimmer 1.25s ease-in-out infinite; }
@keyframes shimmer { to { background-position: -100% 0; } }

.formula-block { display: grid; gap: 8px; margin-block: 24px; }
.formula-block code { padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; background: #fff; font-size: 14px; }
.link-strip, .quality-link { padding-block: 26px; border-top: 1px solid var(--border); background: #fff; }
.link-strip .container, .quality-link .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.quality-link .container > div { display: flex; align-items: center; gap: 12px; }
.quality-link .container > div span { display: grid; }
.quality-link small { color: var(--text-2); }
.learn-intro { max-width: 65ch; padding-top: 32px; }
.learn-categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.learn-categories a { display: grid; min-height: 190px; align-content: start; gap: 8px; padding: 20px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--navy-950); text-decoration: none; }
.learn-categories a:nth-child(4n+2) { background: var(--blue-50); }
.learn-categories a:hover { border-color: var(--blue-600); }
.learn-categories a > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 6px; background: var(--blue-100); color: var(--blue-700); }
.learn-categories small { color: var(--text-2); font-size: 14px; }
.learn-categories b { margin-top: auto; font-size: 13px; }
.contact-layout, .partner-layout { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr); gap: 64px; }
.contact-layout aside > p { color: var(--text-2); }
.contact-layout aside ul { display: grid; gap: 14px; padding: 0; list-style: none; }
.contact-layout aside li { display: grid; grid-template-columns: 32px 1fr; gap: 8px; }
.contact-layout aside li > .icon { margin-top: 3px; color: var(--blue-600); }
.contact-layout aside li span { display: grid; }
.contact-layout aside small { color: var(--text-2); }
.form-card, .tracking-card { padding: clamp(22px, 4vw, 34px); border: 1px solid var(--border); border-radius: 10px; background: #fff; box-shadow: var(--shadow-card); }
.tracking-card { width: min(100%, 760px); }
.process-rows { margin: 0; padding: 0; list-style: none; }
.process-rows li { display: grid; grid-template-columns: 46px 1fr; gap: 15px; padding-block: 17px; border-top: 1px solid var(--border); }
.process-rows li > span { color: var(--blue-600); font: 500 14px/1.5 "IBM Plex Mono", monospace; }
.process-rows p { margin: 3px 0 0; color: var(--text-2); }
.article-hero { padding-block: 68px; background: var(--navy-950); color: #fff; }
.article-hero__inner { max-width: 900px; }
.article-hero h1 { max-width: 18ch; margin-top: 22px; color: #fff; }
.article-hero .text-link { color: var(--blue-100); }
.article-meta { display: flex; gap: 18px; color: #b7c5d9; font-size: 14px; }
.article-meta a { color: inherit; }
.article-featured { max-width: 1000px; padding-top: 40px; }
.article-featured img { width: 100%; aspect-ratio: 16 / 8; border-radius: 10px; object-fit: cover; }
.search-groups { display: grid; gap: 64px; }
.search-groups section > h2 { margin-bottom: 22px; }
.search-term-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.search-term-grid a, .compact-links a { display: flex; min-height: 68px; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--navy-950); text-decoration: none; }
.search-term-grid a:hover, .compact-links a:hover { border-color: var(--blue-600); }
.search-term-grid a > span { flex: 1; color: var(--text-2); font-size: 13px; }
.coa-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.coa-mini-card { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 9px; align-items: center; min-height: 76px; padding: 13px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--navy-950); text-decoration: none; }
.coa-mini-card > .icon { color: var(--blue-600); }
.coa-mini-card span { display: grid; min-width: 0; }
.coa-mini-card small { overflow: hidden; color: var(--text-2); font-family: "IBM Plex Mono", monospace; text-overflow: ellipsis; white-space: nowrap; }
.coa-mini-card b { color: var(--success); font: 500 14px/1 "IBM Plex Mono", monospace; }
.compact-links { display: grid; gap: 8px; }
.compact-links a > span { display: grid; flex: 1; }
.compact-links small { color: var(--text-2); }
.not-found { text-align: center; }
.not-found__code { display: block; margin-bottom: 10px; color: var(--blue-600); font: 500 48px/1 "IBM Plex Mono", monospace; }
.not-found > .container > p { max-width: 54ch; margin: 0 auto 24px; color: var(--text-2); }
.not-found .button-row { justify-content: center; margin-top: 22px; }

/* Companion plugin presentation alignment */
.nga-announcement { border-bottom: 1px solid var(--navy-800); }
.nga-announcement__item { font-weight: 500; letter-spacing: .01em; }
.nga-age-gate__panel { border-color: var(--border-strong); }
.nga-age-gate__brand { min-height: 52px; }
.nga-calculator, .nga-faqs, .nga-form-wrap, .nga-recently-viewed { color: var(--text); }
.nga-calculator__inputs, .nga-calculator__results, .nga-recent-card { border-color: var(--border); box-shadow: var(--shadow-card); }
.nga-faq__button { color: var(--navy-900); }
.nga-faq__answer { color: var(--text-2); }
.nga-form-status { border-radius: 6px; }
.nga-recently-viewed__grid { gap: 20px; }
.nga-recent-card__body strong { color: var(--navy-950); }

div.woocommerce { max-width: var(--container); margin-inline: auto; padding: 48px 24px 88px; }
.commerce-page .woocommerce { max-width: none; padding: 0; }
.shop-results .woocommerce { max-width: none; padding: 0; }
.commerce-heading { margin-bottom: 28px; }
.commerce-heading p { color: var(--text-2); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { margin-bottom: 20px !important; padding: 15px 18px 15px 48px !important; border: 1px solid var(--border); border-top: 1px solid var(--border) !important; border-radius: 10px; background: #fff; color: var(--text); }
.woocommerce-message { border-color: #abefc6; background: var(--success-bg); }
.woocommerce-info { border-color: #b2ccff; background: var(--blue-50); }
.woocommerce-error { border-color: #fecdca; background: var(--danger-bg); }
.woocommerce table.shop_table { border: 1px solid var(--border); border-collapse: separate; border-radius: 10px; background: #fff; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px; border-color: var(--border); }
.woocommerce table.shop_table th { color: var(--text-2); font-size: 13px; text-transform: uppercase; }
.woocommerce table.shop_table .product-thumbnail img { width: 76px; height: 76px; padding: 5px; border-radius: 6px; background: #eef2f7; object-fit: contain; }
.woocommerce table.shop_table .product-name a { color: var(--navy-950); font-weight: 600; text-decoration: none; }
.woocommerce table.shop_table .product-price, .woocommerce table.shop_table .product-subtotal, .woocommerce .cart_totals td { font-family: "IBM Plex Mono", monospace; font-variant-numeric: tabular-nums; }
.woocommerce a.remove { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 6px; color: var(--text-3) !important; }
.woocommerce a.remove:hover { background: var(--danger-bg); color: var(--danger) !important; }
.woocommerce-cart-form .actions { padding: 16px !important; }
.woocommerce-cart-form.is-updating { opacity: .58; pointer-events: none; }
.woocommerce-cart-form .coupon { display: flex; gap: 8px; }
.woocommerce-cart-form .coupon #coupon_code { width: 180px; }
.cart-collaterals .cart_totals { float: right; width: min(100%, 440px); padding: 22px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.cart-collaterals .cart_totals h2 { font-size: 24px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; }
.cart-trust { display: flex; clear: both; gap: 24px; padding-top: 30px; }
.cart-trust span { display: flex; align-items: center; gap: 7px; color: var(--text-2); font-size: 13px; }
.cart-trust .icon { color: var(--blue-600); }
.cart-empty-state { max-width: 720px; margin: 30px auto 70px; }
.empty-cart-products > h2 { margin-bottom: 24px; }
.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: 30px; }
.woocommerce-checkout #customer_details { grid-row: span 2; }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { width: 100%; float: none; }
.woocommerce-checkout #order_review_heading { margin: 0; }
.woocommerce-checkout #order_review { align-self: start; padding: 20px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.woocommerce-checkout .nga-checkout-confirmation { padding: 14px; border: 1px solid #fedf89; border-radius: 6px; background: var(--warning-bg); }
.woocommerce-checkout .nga-checkout-confirmation label { line-height: 1.45; }
.woocommerce-checkout-payment { background: var(--bg) !important; }
.woocommerce-checkout #payment ul.payment_methods, .woocommerce ul#shipping_method, .woocommerce .woocommerce-shipping-methods { margin-left: 0; padding-left: 0; list-style: none !important; }
.woocommerce-checkout #payment ul.payment_methods > li, .woocommerce ul#shipping_method > li, .woocommerce .woocommerce-shipping-methods > li { list-style: none !important; }
.woocommerce form .form-row label { line-height: 1.4; }
.woocommerce form.woocommerce-form-login button[name="login"], .woocommerce form.woocommerce-form-register button[name="register"], .woocommerce form.woocommerce-form-login .woocommerce-Button, .woocommerce form.woocommerce-form-register .woocommerce-Button, .woocommerce form.woocommerce-form-login .woocommerce-button.button, .woocommerce form.woocommerce-form-register .woocommerce-button.button { background: var(--blue-600); color: #fff; }
.woocommerce form.woocommerce-form-login button[name="login"]:hover, .woocommerce form.woocommerce-form-register button[name="register"]:hover, .woocommerce form.woocommerce-form-login .woocommerce-Button:hover, .woocommerce form.woocommerce-form-register .woocommerce-Button:hover, .woocommerce form.woocommerce-form-login .woocommerce-button.button:hover, .woocommerce form.woocommerce-form-register .woocommerce-button.button:hover { background: var(--blue-700); color: #fff; }
.woocommerce-MyAccount-navigation { width: 240px !important; padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
.woocommerce-MyAccount-navigation a { display: flex; min-height: 44px; align-items: center; padding: 8px 10px; border-radius: 6px; color: var(--navy-900); text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--blue-50); color: var(--blue-700); }
.woocommerce-MyAccount-content { width: calc(100% - 275px) !important; padding: 24px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.woocommerce-MyAccount-content .woocommerce-info { text-align: left; }

@media (max-width: 1180px) {
  .site-nav { display: none; }
  .menu-button { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .footer-grid { grid-template-columns: 2fr repeat(4, 1fr); }
  .footer-newsletter { grid-column: 1 / -1; display: grid; grid-template-columns: .6fr .9fr 1.5fr; gap: 20px; align-items: start; padding-top: 20px; border-top: 1px solid var(--navy-800); }
}

@media (max-width: 980px) {
  .section { padding-block: 64px; }
  ul.products, .featured-products, .shop-results ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-bento { grid-template-columns: repeat(2, 1fr); }
  .category-card, .category-card--2, .category-card--3, .category-card--4, .category-card--5, .category-card--6, .category-card--7 { grid-column: span 1; grid-row: auto; }
  .category-card--1 { grid-column: span 2; grid-row: auto; }
  .coa-band__grid { gap: 40px; }
  .why-grid { gap: 40px; }
  .footer-grid { grid-template-columns: 2fr repeat(2, 1fr); }
  .footer-brand { grid-row: span 2; }
  .footer-newsletter { grid-column: 1 / -1; }
  .footer-bottom { grid-template-columns: 1fr auto; }
  .legal-nav { grid-column: 1 / -1; grid-row: 2; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { display: none; }
  .filter-open { display: inline-flex; }
  .single-product__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .product-trust { grid-template-columns: 1fr; }
  .coa-grid { grid-template-columns: repeat(2, 1fr); }
  .learn-categories { grid-template-columns: repeat(2, 1fr); }
  .woocommerce-checkout form.checkout { grid-template-columns: 1fr; }
  .woocommerce-checkout #customer_details { grid-row: auto; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-carousel { min-height: 0; }
  .hero-revolver { --vial-height: 320px; }
}

@media (max-width: 767px) {
  .hero-carousel { min-height: 0; padding: 36px 16px 32px; }
  .hero-brand__name { font-size: clamp(2.2rem, 12vw, 3rem); }
  .hero-brand__amino { gap: 9px; font-size: 12px; }
  .hero-brand__amino::before, .hero-brand__amino::after { width: 30px; }
  .hero-brand__tag { font-size: 12px; letter-spacing: .14em; }
  .hero-revolver { --vial-height: min(58vw, 280px); height: calc(var(--vial-height) + 32px); margin-top: 20px; }
  .hero-stage { width: 90vw; height: 76px; }
  .hero-carousel__actions { max-width: 440px; }
}

@media (max-width: 760px) {
  .container { padding-inline: 16px; }
  .section { padding-block: 52px; }
  .section--compact { padding-block: 40px; }
  .site-header__inner { gap: 8px; }
  .nga-brand { gap: 8px; }
  .header-actions .icon-button:not(.menu-button):not(.cart-button) { display: none; }
  .trust-strip__grid { grid-template-columns: 1fr 1fr; padding-block: 8px; }
  .trust-strip__grid span { justify-content: flex-start; border-right: 0; }
  .featured-section .container { min-width: 0; overflow: hidden; }
  /* Horizontal flex carousels with non-shrinkable percentage flex-basis expand the mobile layout viewport; use grid or shrinkable items. */
  .section-heading { align-items: start; }
  .category-bento { grid-template-columns: 1fr; }
  .category-card, .category-card--1, .category-card--2, .category-card--3, .category-card--4, .category-card--5, .category-card--6, .category-card--7 { grid-column: 1; grid-row: auto; min-height: 190px; }
  .coa-band__grid, .why-grid, .home-newsletter__grid, .home-inquiry__grid, .single-product__top, .contact-layout, .partner-layout { grid-template-columns: 1fr; }
  .why-intro { position: static; }
  .why-list { grid-template-columns: 1fr; }
  .article-row, .article-grid { grid-template-columns: 1fr; }
  .final-cta .container { align-items: start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; grid-row: auto; }
  .footer-newsletter { display: block; }
  .footer-bottom { grid-template-columns: 1fr; }
  .social-links { grid-row: auto; }
  .shop-toolbar { align-items: start; flex-direction: column; padding-block: 15px; }
  .shop-toolbar__actions { width: 100%; }
  .shop-toolbar__actions > * { flex: 1; }
  .woocommerce-ordering select { min-width: 0; }
  .shop-layout { padding-top: 24px; }
  .single-product__top { padding-block: 24px 52px; }
  .product-gallery { max-width: 620px; }
  .research-data { grid-template-columns: 1fr; }
  .research-data .is-long { grid-column: auto; }
  .sticky-cart.is-visible { display: flex; }
  .coa-filters, .coa-grid, .search-term-grid, .coa-mini-grid { grid-template-columns: 1fr; }
  .link-strip .container, .quality-link .container { align-items: start; flex-direction: column; }
  .woocommerce { padding: 32px 16px 60px; }
  .woocommerce table.shop_table_responsive tr { display: grid; grid-template-columns: 72px 1fr; padding: 12px; border-bottom: 1px solid var(--border); }
  .woocommerce table.shop_table_responsive tr td { display: block; padding: 7px !important; border: 0; text-align: left !important; }
  .woocommerce table.shop_table_responsive tr td::before { margin-right: 12px; }
  .woocommerce table.shop_table_responsive .product-remove { grid-column: 2; grid-row: 1; justify-self: end; }
  .woocommerce table.shop_table_responsive .product-thumbnail { display: block; grid-column: 1; grid-row: 1 / span 3; }
  .woocommerce table.shop_table_responsive .product-name { grid-column: 2; grid-row: 2; }
  .woocommerce table.shop_table_responsive .product-price, .woocommerce table.shop_table_responsive .product-quantity, .woocommerce table.shop_table_responsive .product-subtotal { grid-column: 2; }
  .woocommerce table.shop_table_responsive tr.actions { display: flex; gap: 10px; flex-direction: column; }
  .woocommerce-cart-form .coupon { display: grid; grid-template-columns: 1fr auto; width: 100%; }
  .woocommerce-cart-form .coupon #coupon_code { width: 100%; }
  .cart-trust { align-items: flex-start; flex-direction: column; gap: 10px; }
  .woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content { width: 100% !important; float: none !important; }
  .woocommerce-MyAccount-navigation { margin-bottom: 16px; }
  .pdf-modal { max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; border-radius: 0; }
}

@media (max-width: 480px) {
  ul.products:not(.featured-products), .shop-results ul.products { grid-template-columns: 1fr; }
  .current-batch dl, .mini-coa dl { grid-template-columns: 1fr; }
  .product-cart-form { grid-template-columns: 1fr; }
  .quantity { width: 100%; grid-template-columns: 44px 1fr 44px; }
  .quantity input.qty { width: 100% !important; }
  .product-cart-form .btn { width: 100%; }
  .research-data > div { grid-template-columns: 1fr; gap: 4px; }
  .learn-categories { grid-template-columns: 1fr; }
  .gallery-modal__stage { grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .coa-grid.is-loading .coa-card { animation: none; }
}

@media print {
  .site-header, .site-footer, .nga-announcement, .sticky-cart, .button-row, .product-cart-form, .product-gallery__thumbs { display: none !important; }
  body { background: #fff; }
  .section { padding-block: 20px; }
}
