/*
Theme Name: NEOtrition 2026 Concept
Theme URI: https://neotrition.co/
Author: NEOtrition
Description: An unpublished, evidence-led UX/UI concept for the complete NEOtrition catalog.
Version: 2.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neotrition-store
Tags: e-commerce, accessibility-ready, custom-logo, custom-menu, featured-images, translation-ready
*/

:root {
  --neo-ink: #0b3032;
  --neo-ink-soft: #183f41;
  --neo-body: #345153;
  --neo-muted: #62797a;
  --neo-teal: #087b78;
  --neo-teal-dark: #045f5d;
  --neo-teal-bright: #16a19b;
  --neo-mint: #dff2ee;
  --neo-mint-strong: #c8e9e3;
  --neo-cloud: #f4f8f7;
  --neo-warm: #fbf8f2;
  --neo-white: #fff;
  --neo-border: #cbdad8;
  --neo-control: #708a88;
  --neo-error: #9c2f24;
  --neo-radius-xs: 8px;
  --neo-radius-sm: 12px;
  --neo-radius: 18px;
  --neo-radius-lg: 28px;
  --neo-shadow-sm: 0 10px 30px rgba(11, 48, 50, 0.07);
  --neo-shadow: 0 26px 70px rgba(11, 48, 50, 0.13);
  --neo-wrap: 1240px;
  --neo-font-body: "Plus Jakarta Sans", "Aptos", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --neo-font-display: "Space Grotesk", "Aptos Display", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--neo-white);
  color: var(--neo-body);
  font-family: var(--neo-font-body);
  font-size: 16px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

body:has(.neo-compare-tray:not([hidden])) { padding-bottom: 104px; }

img,
svg { display: block; max-width: 100%; height: auto; }

a { color: var(--neo-teal-dark); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--neo-ink); }

button,
input,
select,
textarea { font: inherit; }

button,
[type="button"],
[type="submit"] { cursor: pointer; }

:focus-visible { outline: 3px solid #0b827f; outline-offset: 3px; }

.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 {
  top: 12px;
  left: 12px;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  background: var(--neo-white);
  color: var(--neo-ink);
  border: 2px solid var(--neo-teal);
  border-radius: var(--neo-radius-sm);
}

.neo-wrap { width: min(calc(100% - 64px), var(--neo-wrap)); margin-inline: auto; }
.site-main { min-height: 58vh; }

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 .68em;
  color: var(--neo-ink);
  font-family: var(--neo-font-display);
  font-weight: 710;
  line-height: 1.08;
  letter-spacing: -.035em;
}

h1 { font-size: clamp(2.45rem, 5vw, 4.65rem); }
h2 { font-size: clamp(2rem, 3.4vw, 3.3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
p { margin: 0 0 1.2em; }

.neo-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 18px;
  padding: 5px 11px;
  border: 1px solid var(--neo-border);
  border-radius: 999px;
  color: var(--neo-teal-dark);
  background: rgba(255, 255, 255, .78);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.neo-button,
.button,
button.button,
input.button,
.woocommerce a.button,
.woocommerce a.button.alt,
.woocommerce button.button,
.woocommerce button.button.alt,
.woocommerce input.button,
.woocommerce input.button.alt,
.wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid var(--neo-teal);
  border-radius: 999px;
  background: var(--neo-teal);
  color: var(--neo-white);
  font-weight: 760;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.neo-button svg,
.neo-text-link svg,
.neo-product-card__view svg,
.neo-mega-menu__heading a svg { width: 18px; height: 18px; }

.neo-button:hover,
.button:hover,
button.button:hover,
.woocommerce a.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button:hover,
.woocommerce input.button.alt:hover {
  border-color: var(--neo-teal-dark);
  background: var(--neo-teal-dark);
  color: var(--neo-white);
  transform: translateY(-1px);
}

.neo-button--quiet {
  border-color: var(--neo-border);
  background: var(--neo-white);
  color: var(--neo-ink);
}

.neo-button--quiet:hover { border-color: var(--neo-teal); background: var(--neo-mint); color: var(--neo-ink); }

.neo-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--neo-ink);
  font-weight: 760;
  text-decoration: none;
}

.neo-text-link:hover { color: var(--neo-teal-dark); }

/* Utility bar and navigation */
.neo-utility-bar { background: var(--neo-ink); color: #d8eeeb; font-size: .75rem; }
.neo-utility-bar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 34px; gap: 20px; }
.neo-utility-bar__promise,
.neo-utility-bar__meta { display: flex; align-items: center; gap: 9px; }
.neo-utility-bar__promise svg { width: 15px; height: 15px; color: #77d3ca; }
.neo-utility-bar__meta { gap: 22px; }
.neo-utility-bar a { color: var(--neo-white); font-weight: 700; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(203, 218, 216, .92);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(18px);
}

.admin-bar .site-header { top: 32px; }

.neo-header__row {
  display: grid;
  grid-template-columns: 188px minmax(320px, 650px) auto;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 34px;
}

.neo-brand { display: inline-flex; align-items: center; width: 188px; min-width: 150px; text-decoration: none; }
.neo-brand img { width: 100%; }
.neo-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }

.neo-header-catalog {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 15px;
  color: var(--neo-ink);
  font-size: .91rem;
  font-weight: 750;
  text-decoration: none;
}

.neo-icon-link,
.neo-menu-toggle {
  position: relative;
  display: inline-grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--neo-ink);
  background: transparent;
  text-decoration: none;
}

.neo-icon-link:hover,
.neo-menu-toggle:hover { border-color: var(--neo-border); background: var(--neo-cloud); color: var(--neo-teal-dark); }
.neo-icon-link svg,
.neo-menu-toggle svg { width: 21px; height: 21px; }
.neo-compare-count,
.neo-cart-count {
  position: absolute;
  top: 0;
  right: -1px;
  display: grid;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  place-items: center;
  border: 2px solid var(--neo-white);
  border-radius: 999px;
  background: var(--neo-teal);
  color: var(--neo-white);
  font-size: .66rem;
  font-weight: 800;
}

.neo-menu-toggle { display: none; }

.search-form { display: flex; align-items: center; width: 100%; gap: 9px; margin: 0; }
.search-form label { position: relative; flex: 1; }
.neo-search-icon { position: absolute; top: 50%; left: 15px; transform: translateY(-50%); color: var(--neo-muted); pointer-events: none; }
.neo-search-icon svg { width: 19px; height: 19px; }
.search-field,
.neo-filter-form input,
.neo-filter-form select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--neo-control);
  border-radius: var(--neo-radius-sm);
  color: var(--neo-ink);
  background: var(--neo-white);
}
.search-field { padding-left: 45px; border-radius: 999px; }
.search-field::placeholder { color: #748887; opacity: 1; }
.neo-header-search .search-form .neo-button { min-width: 90px; }

.neo-catalog-nav { border-top: 1px solid #e6eeee; background: var(--neo-white); }
.neo-catalog-nav__row { display: flex; align-items: center; min-height: 47px; gap: 30px; }
.neo-catalog-nav a,
.neo-catalog-nav summary { color: var(--neo-body); font-size: .86rem; font-weight: 720; text-decoration: none; }
.neo-catalog-nav a:hover,
.neo-catalog-nav summary:hover { color: var(--neo-teal-dark); }
.neo-catalog-nav__spacer { flex: 1; }
.neo-catalog-nav__note { color: var(--neo-muted); font-size: .76rem; }

.neo-mega-menu { position: static; }
.neo-mega-menu > summary { display: flex; align-items: center; gap: 7px; cursor: pointer; list-style: none; }
.neo-mega-menu > summary::-webkit-details-marker { display: none; }
.neo-mega-menu__panel {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 20;
  padding: 30px 0 34px;
  border-top: 1px solid var(--neo-border);
  background: var(--neo-white);
  box-shadow: 0 28px 50px rgba(11, 48, 50, .12);
}
.neo-mega-menu__inner { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 42px; }
.neo-mega-menu__heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; }
.neo-mega-menu__heading > span,
.neo-mega-menu__title { color: var(--neo-ink); font-size: .78rem; font-weight: 820; letter-spacing: .06em; text-transform: uppercase; }
.neo-mega-menu__heading a { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; }
.neo-mega-menu__categories ul,
.neo-mega-menu__collections ul { padding: 0; margin: 0; list-style: none; }
.neo-mega-menu__categories ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 22px; }
.neo-mega-menu__categories li a { display: flex; align-items: center; min-height: 54px; gap: 11px; padding: 7px; border-radius: 12px; color: var(--neo-ink); }
.neo-mega-menu__categories li a:hover { background: var(--neo-cloud); }
.neo-mega-menu__categories .neo-term-icon { width: 38px; height: 38px; }
.neo-mega-menu__collections { padding: 20px; border-radius: var(--neo-radius); background: var(--neo-cloud); }
.neo-mega-menu__collections ul { margin-top: 12px; }
.neo-mega-menu__collections li a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--neo-border); color: var(--neo-ink); }
.neo-mega-menu__collections li:last-child a { border-bottom: 0; }
.neo-mega-menu__collections li span { color: var(--neo-muted); }
.neo-mobile-panel { display: none; }

/* Hero */
.neo-hero {
  overflow: hidden;
  padding: clamp(68px, 8vw, 112px) 0 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(21, 161, 155, .15), transparent 28%),
    linear-gradient(180deg, #f3faf8 0%, #fff 78%);
}

.neo-hero__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(470px, .8fr); align-items: center; gap: clamp(44px, 7vw, 90px); }
.neo-hero__content { position: relative; z-index: 2; padding-bottom: 72px; }
.neo-hero h1 { max-width: 720px; margin-bottom: 22px; }
.neo-hero__lede { max-width: 690px; color: var(--neo-body); font-size: clamp(1.08rem, 1.55vw, 1.27rem); line-height: 1.62; }
.neo-hero__search { max-width: 680px; margin: 32px 0 16px; padding: 8px; border: 1px solid var(--neo-border); border-radius: 999px; background: var(--neo-white); box-shadow: var(--neo-shadow-sm); }
.neo-hero__search .search-field { border-color: transparent; }
.neo-hero__search .neo-button { min-width: 110px; }
.neo-quick-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 15px; color: var(--neo-muted); font-size: .82rem; }
.neo-quick-links > span { font-weight: 740; }
.neo-quick-links a { color: var(--neo-ink-soft); text-decoration: none; border-bottom: 1px solid var(--neo-border); }

.neo-hero__visual { position: relative; min-height: 590px; align-self: end; }
.neo-hero__glow { position: absolute; inset: 70px 10px 0 40px; border-radius: 48% 48% 0 0; background: linear-gradient(160deg, #caeee7, #eff8f5 62%, #fff); }
.neo-hero-product {
  position: absolute;
  display: block;
  width: 250px;
  padding: 11px;
  border: 1px solid rgba(11, 48, 50, .12);
  border-radius: 28px;
  background: var(--neo-white);
  box-shadow: var(--neo-shadow);
  color: var(--neo-ink);
  text-decoration: none;
  transition: transform 180ms ease;
}
.neo-hero-product:hover { transform: translateY(-5px) rotate(0deg); }
.neo-hero-product img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; background: var(--neo-cloud); }
.neo-hero-product span { display: -webkit-box; padding: 10px 8px 5px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: .82rem; font-weight: 740; line-height: 1.35; }
.neo-hero-product--1 { top: 26px; right: 16px; z-index: 3; width: 270px; transform: rotate(3deg); }
.neo-hero-product--2 { top: 170px; left: 4px; z-index: 2; width: 235px; transform: rotate(-5deg); }
.neo-hero-product--3 { right: 30px; bottom: 8px; z-index: 4; width: 205px; transform: rotate(5deg); }
.neo-hero-fact { position: absolute; right: 155px; bottom: 38px; z-index: 6; width: 220px; padding: 18px; border: 1px solid rgba(11, 48, 50, .12); border-radius: 18px; background: rgba(255, 255, 255, .94); box-shadow: var(--neo-shadow-sm); }
.neo-hero-fact > svg { width: 24px; margin-bottom: 15px; color: var(--neo-teal); }
.neo-hero-fact strong,
.neo-hero-fact span { display: block; }
.neo-hero-fact strong { color: var(--neo-ink); font-size: .94rem; }
.neo-hero-fact span { margin-top: 4px; color: var(--neo-muted); font-size: .76rem; line-height: 1.45; }
.neo-hero__mark { display: grid; min-height: 460px; place-items: center; }
.neo-hero__mark img { width: 280px; }

.neo-catalog-stats { position: relative; z-index: 7; display: grid; grid-template-columns: repeat(3, 180px) 1fr; align-items: center; min-height: 104px; gap: 20px; padding: 23px 0; border-top: 1px solid var(--neo-border); }
.neo-catalog-stats > div { display: flex; align-items: baseline; gap: 8px; }
.neo-catalog-stats strong { color: var(--neo-ink); font-family: var(--neo-font-display); font-size: 1.55rem; }
.neo-catalog-stats span { color: var(--neo-muted); font-size: .76rem; }
.neo-catalog-stats__note { justify-content: flex-end; }
.neo-catalog-stats__note span { max-width: 310px; text-align: right; }

/* Home sections */
.neo-section { padding: clamp(76px, 8vw, 112px) 0; }
.neo-section--tint { background: var(--neo-cloud); }
.neo-section--products { background: linear-gradient(180deg, #fff, var(--neo-warm)); }
.neo-section__header { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.neo-section__header > div { max-width: 720px; }
.neo-section__header h2 { margin-bottom: 0; }
.neo-section__header p { max-width: 540px; margin: 0; color: var(--neo-muted); }
.neo-section__action { margin-top: 34px; text-align: center; }

.neo-collection-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.neo-collection-card { min-width: 0; }
.neo-collection-card__link { position: relative; display: grid; grid-template-columns: 46px 1fr 24px; min-height: 192px; align-items: start; gap: 14px; padding: 22px; overflow: hidden; border: 1px solid var(--neo-border); border-radius: var(--neo-radius); color: var(--neo-ink); background: var(--neo-white); text-decoration: none; transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease; }
.neo-collection-card__link::after { position: absolute; right: -28px; bottom: -42px; width: 120px; height: 120px; content: ""; border-radius: 50%; background: var(--neo-mint); opacity: .7; }
.neo-collection-card--2 .neo-collection-card__link::after { background: #e7e4f5; }
.neo-collection-card--3 .neo-collection-card__link::after { background: #f5e6e8; }
.neo-collection-card--4 .neo-collection-card__link::after { background: #f5ecd7; }
.neo-collection-card--5 .neo-collection-card__link::after { background: #e1edf8; }
.neo-collection-card__link:hover { border-color: var(--neo-teal); transform: translateY(-3px); box-shadow: var(--neo-shadow-sm); }
.neo-collection-card__icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; background: var(--neo-mint); color: var(--neo-teal-dark); }
.neo-collection-card__icon svg { width: 22px; }
.neo-collection-card__content { display: flex; min-width: 0; flex-direction: column; }
.neo-collection-card__label { margin-bottom: 6px; color: var(--neo-muted); font-size: .67rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.neo-collection-card__content strong { font-family: var(--neo-font-display); font-size: 1.16rem; line-height: 1.22; }
.neo-collection-card__content > span:last-child { display: -webkit-box; margin-top: 9px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; color: var(--neo-muted); font-size: .79rem; line-height: 1.48; }
.neo-collection-card__arrow { position: relative; z-index: 2; color: var(--neo-teal-dark); }
.neo-collection-card__arrow svg { width: 19px; }

.neo-term-icon { display: block; flex: 0 0 auto; }
.neo-term-icon__image { display: block; width: 100%; height: 100%; object-fit: contain; }
.neo-term-icon--category { width: 68px; height: 68px; }
.neo-term-icon--subcategory { width: 54px; height: 54px; }
.neo-term-icon--archive { width: 112px; height: 112px; margin: 20px 0; }
.neo-term-icon--native { width: min(100%, 160px); aspect-ratio: 1; margin: 0 auto 18px; }

.neo-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.neo-category-card { position: relative; display: flex; min-height: 244px; flex-direction: column; justify-content: space-between; padding: 22px; overflow: hidden; border: 1px solid var(--neo-border); border-radius: var(--neo-radius); background: var(--neo-white); transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease; }
.neo-category-card:hover,
.neo-category-card:focus-within { border-color: var(--neo-teal); transform: translateY(-3px); box-shadow: var(--neo-shadow-sm); }
.neo-category-card__visual { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.neo-category-card__index { color: var(--neo-muted); font-family: var(--neo-font-display); font-size: .75rem; font-weight: 750; }
.neo-category-card h3 { max-width: 20ch; margin: 0 0 8px; font-size: 1.12rem; }
.neo-category-card h3 a { color: var(--neo-ink); text-decoration: none; }
.neo-category-card__description { display: -webkit-box; margin: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--neo-muted); font-size: .78rem; line-height: 1.52; }

.neo-method { background: var(--neo-ink); color: #d5e8e6; }
.neo-method h2,
.neo-method h3 { color: var(--neo-white); }
.neo-method .neo-eyebrow { border-color: #396365; color: #9ce1da; background: rgba(255, 255, 255, .04); }
.neo-method__grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(60px, 10vw, 140px); }
.neo-method__intro p { color: #b9cecc; font-size: 1.06rem; }
.neo-method .neo-text-link { color: var(--neo-white); }
.neo-method__steps { display: grid; gap: 4px; }
.neo-method__steps article { display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding: 24px 0; border-bottom: 1px solid #355e60; }
.neo-method__steps article:first-child { padding-top: 0; }
.neo-method__steps article > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: #164a4c; color: #8cdbd4; font-size: .75rem; font-weight: 800; }
.neo-method__steps h3 { margin-bottom: 7px; font-size: 1.2rem; }
.neo-method__steps p { margin: 0; color: #b9cecc; font-size: .9rem; }

.neo-search-cta { padding: 72px 0; background: var(--neo-mint); }
.neo-search-cta__inner { display: grid; grid-template-columns: .8fr 1fr; align-items: end; gap: 60px; }
.neo-search-cta h2 { margin: 0; }
.neo-search-cta .search-form { padding: 8px; border: 1px solid var(--neo-border); border-radius: 999px; background: var(--neo-white); }
.neo-search-cta .search-field { border-color: transparent; }

/* Page and search headers */
.neo-page-header,
.woocommerce-products-header,
.neo-search-header { padding: 74px 0 48px; border-bottom: 1px solid var(--neo-border); background: linear-gradient(145deg, var(--neo-cloud), #fff); }
.woocommerce-products-header { margin: 0 calc(50% - 50vw) 42px; padding-inline: max(32px, calc((100vw - var(--neo-wrap)) / 2)); }
.neo-page-header h1,
.woocommerce-products-header__title.page-title,
.neo-search-header h1 { max-width: 920px; margin-bottom: 15px; font-size: clamp(2.4rem, 4.7vw, 4.25rem); }
.neo-page-header__grid { display: grid; grid-template-columns: 1fr 250px; align-items: end; gap: 70px; }
.neo-page-header__lede,
.term-description,
.neo-search-header p { max-width: 720px; color: var(--neo-muted); font-size: 1.05rem; }
.neo-page-header__lede p:last-child { margin-bottom: 0; }
.neo-page-header__fact { padding: 24px; border: 1px solid var(--neo-border); border-radius: var(--neo-radius); background: var(--neo-white); }
.neo-page-header__fact svg { width: 26px; margin-bottom: 18px; color: var(--neo-teal); }
.neo-page-header__fact strong,
.neo-page-header__fact span { display: block; }
.neo-page-header__fact strong { color: var(--neo-ink); font-size: 1.9rem; }
.neo-page-header__fact span { color: var(--neo-muted); font-size: .79rem; line-height: 1.45; }
.neo-search-header__inner { max-width: 900px; }
.neo-search-header .search-form { max-width: 720px; margin-top: 28px; padding: 8px; border: 1px solid var(--neo-border); border-radius: 999px; background: var(--neo-white); box-shadow: var(--neo-shadow-sm); }
.neo-search-header .search-field { border-color: transparent; }
.neo-content { padding: 58px 0 100px; }
.neo-prose { max-width: 760px; }
.neo-prose > *:first-child { margin-top: 0; }
.neo-prose a { overflow-wrap: anywhere; }

.neo-empty-state { padding: 48px; border: 1px solid var(--neo-border); border-radius: var(--neo-radius); background: var(--neo-cloud); }
.neo-empty-state__icon { display: grid; width: 56px; height: 56px; margin-bottom: 22px; place-items: center; border-radius: 18px; background: var(--neo-mint); color: var(--neo-teal-dark); }
.neo-empty-state__icon svg { width: 25px; }
.neo-empty-state--catalog { text-align: center; }
.neo-empty-state--catalog .neo-empty-state__icon { margin-inline: auto; }
.neo-empty-state--catalog .neo-discovery-links { margin-top: 38px; text-align: left; }
.neo-empty-state--search { display: grid; grid-template-columns: 1fr .85fr; gap: 70px; }
.neo-empty-state--search .search-form { margin: 24px 0; }

.neo-discovery-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.neo-discovery-links__title { display: block; margin-bottom: 10px; color: var(--neo-ink); font-size: .75rem; font-weight: 820; letter-spacing: .06em; text-transform: uppercase; }
.neo-discovery-links ul { padding: 0; margin: 0; list-style: none; }
.neo-discovery-links li a { display: block; padding: 6px 0; color: var(--neo-body); font-size: .85rem; text-decoration: none; }

/* Catalog archives */
.neo-commerce-main { overflow: hidden; }
.woocommerce .woocommerce-breadcrumb { margin: 26px 0 0; color: var(--neo-muted); font-size: .78rem; }
.woocommerce .woocommerce-breadcrumb a { color: var(--neo-body); text-decoration: none; }
.neo-subcategory-intro { display: flex; align-items: end; justify-content: space-between; gap: 34px; margin-top: 48px; }
.neo-subcategory-intro h2 { margin-bottom: 0; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.neo-subcategory-intro p { max-width: 490px; margin: 0; color: var(--neo-muted); }
.neo-subcategory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0 0 76px; margin: 28px 0 0; list-style: none; }
.neo-subcategory-card { display: grid; grid-template-columns: 54px minmax(0, 1fr); grid-template-areas: "icon body" "icon count"; align-items: flex-start; min-height: 176px; gap: 7px 16px; padding: 20px; border: 1px solid var(--neo-border); border-radius: var(--neo-radius); background: var(--neo-white); transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease; }
.neo-subcategory-card:hover,
.neo-subcategory-card:focus-within { border-color: var(--neo-teal); transform: translateY(-2px); box-shadow: var(--neo-shadow-sm); }
.neo-subcategory-card > .neo-term-icon { grid-area: icon; }
.neo-subcategory-card__body { grid-area: body; min-width: 0; }
.neo-subcategory-card h2 { margin: 0 0 7px; font-size: 1rem; line-height: 1.3; }
.neo-subcategory-card h2 a { color: var(--neo-ink); text-decoration: none; }
.neo-subcategory-card p { display: -webkit-box; margin: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; color: var(--neo-muted); font-size: .76rem; line-height: 1.48; }
.neo-subcategory-card__count { grid-area: count; color: var(--neo-teal-dark); font-size: .72rem; font-weight: 750; }

.neo-catalog-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: start; gap: 36px; padding-bottom: 90px; }
.neo-filter-rail { position: sticky; top: 160px; padding: 20px; border: 1px solid var(--neo-border); border-radius: var(--neo-radius); background: var(--neo-cloud); }
.admin-bar .neo-filter-rail { top: 192px; }
.neo-filter-rail__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.neo-filter-rail__heading h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1rem; }
.neo-filter-rail__heading h2 svg { width: 18px; }
.neo-filter-rail__heading a { font-size: .72rem; font-weight: 740; }
.neo-filter-form { display: grid; gap: 17px; }
.neo-filter-group { display: grid; gap: 7px; }
.neo-filter-group label { color: var(--neo-ink-soft); font-size: .72rem; font-weight: 780; }
.neo-filter-form input,
.neo-filter-form select { min-height: 44px; padding: 8px 10px; font-size: .82rem; }
.neo-filter-form .neo-button { width: 100%; min-height: 44px; margin-top: 2px; }
.neo-filter-note { display: grid; grid-template-columns: 25px 1fr; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--neo-border); }
.neo-filter-note > svg { width: 20px; color: var(--neo-teal); }
.neo-filter-note p { margin: 0; color: var(--neo-muted); font-size: .71rem; line-height: 1.5; }
.neo-filter-note strong { color: var(--neo-ink); }
.neo-catalog-results { min-width: 0; }
.neo-catalog-toolbar { display: flex; align-items: center; justify-content: space-between; min-height: 54px; gap: 20px; margin-bottom: 22px; }
.woocommerce .neo-catalog-toolbar .woocommerce-result-count,
.woocommerce .neo-catalog-toolbar .woocommerce-ordering { float: none; margin: 0; }
.woocommerce .woocommerce-result-count { color: var(--neo-muted); font-size: .82rem; }
.woocommerce .woocommerce-ordering select { min-height: 44px; padding: 8px 34px 8px 12px; border: 1px solid var(--neo-control); border-radius: var(--neo-radius-sm); color: var(--neo-ink); background: var(--neo-white); font-size: .82rem; }
.neo-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.neo-filter-chips a { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 5px 10px; border: 1px solid var(--neo-border); border-radius: 999px; color: var(--neo-ink); background: var(--neo-white); font-size: .72rem; text-decoration: none; }
.neo-filter-chips a span:first-child { color: var(--neo-muted); }

/* Product grids and cards */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 0 56px; }
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.neo-home-products ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
body.woocommerce ul.products[class*="columns-"] li.product,
body.woocommerce-page ul.products[class*="columns-"] li.product { display: flex; float: none; width: 100%; min-width: 0; margin: 0; padding: 12px 12px 15px; flex-direction: column; overflow: hidden; border: 1px solid var(--neo-border); border-radius: var(--neo-radius); background: var(--neo-white); transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease; }
.woocommerce ul.products li.product:hover { border-color: #8eb8b3; transform: translateY(-3px); box-shadow: var(--neo-shadow-sm); }
.woocommerce ul.products li.product .woocommerce-LoopProduct-link { display: block; color: inherit; text-decoration: none; }
.woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 1; margin: 0 0 15px; object-fit: cover; border-radius: 13px; background: var(--neo-cloud); }
.neo-product-card__meta { display: flex; align-items: flex-start; justify-content: space-between; min-height: 31px; gap: 8px; }
.neo-product-card__meta span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--neo-muted); font-size: .65rem; font-weight: 750; line-height: 1.32; text-transform: uppercase; }
.neo-product-card__meta strong { flex: 0 0 auto; padding: 3px 7px; border-radius: 999px; background: var(--neo-mint); color: var(--neo-teal-dark); font-size: .67rem; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 3.3em; padding: 0; color: var(--neo-ink); font-family: var(--neo-font-display); font-size: 1rem; line-height: 1.38; }
.neo-loop-product-description { display: -webkit-box; min-height: 4.5em; margin: 3px 2px 15px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; color: var(--neo-muted); font-size: .75rem; line-height: 1.5; }
.woocommerce ul.products li.product .price { color: var(--neo-ink); font-size: .92rem; font-weight: 750; }
.neo-product-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding: 12px 2px 0; border-top: 1px solid #e5eceb; }
.neo-product-card__view { display: inline-flex; align-items: center; gap: 5px; color: var(--neo-ink); font-size: .74rem; font-weight: 780; text-decoration: none; }
.neo-product-card__view svg { width: 15px; }
.neo-compare-toggle:not(.neo-button) { display: inline-flex; align-items: center; min-height: 34px; gap: 5px; padding: 5px 8px; border: 0; border-radius: 9px; color: var(--neo-muted); background: transparent; font-size: .72rem; font-weight: 720; }
.neo-compare-toggle:not(.neo-button):hover,
.neo-compare-toggle.is-selected:not(.neo-button) { color: var(--neo-teal-dark); background: var(--neo-mint); }
.neo-compare-toggle svg { width: 16px; height: 16px; }
.woocommerce span.onsale { display: none; }
.woocommerce ul.products li.product-category { padding: 18px; border: 1px solid var(--neo-border); border-radius: var(--neo-radius); }
.woocommerce ul.products li.product-category a { color: var(--neo-ink); text-decoration: none; }

.woocommerce nav.woocommerce-pagination ul { overflow: hidden; border-color: var(--neo-border); border-radius: var(--neo-radius-sm); }
.woocommerce nav.woocommerce-pagination ul li { border-color: var(--neo-border); }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span { min-width: 44px; min-height: 44px; padding: 11px; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--neo-mint); color: var(--neo-teal-dark); }

/* Product detail */
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(380px, .82fr); align-items: start; gap: clamp(42px, 6vw, 78px); padding: 46px 0 98px; }
.woocommerce div.product div.images,
.woocommerce div.product div.summary { float: none; width: auto; margin: 0; }
.woocommerce div.product div.images { position: sticky; top: 158px; }
.admin-bar .woocommerce div.product div.images { top: 190px; }
.woocommerce div.product div.images img { border: 1px solid var(--neo-border); border-radius: var(--neo-radius-lg); background: var(--neo-cloud); }
.woocommerce div.product .summary { padding-top: 10px; }
.neo-product-kicker { display: inline-flex; margin-bottom: 14px; padding: 5px 9px; border-radius: 999px; color: var(--neo-teal-dark); background: var(--neo-mint); font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.woocommerce div.product .product_title { margin-bottom: 18px; font-size: clamp(2.15rem, 4vw, 3.55rem); }
.woocommerce-product-details__short-description { max-width: 650px; color: var(--neo-body); font-size: 1.02rem; }
.neo-product-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 28px 0 22px; overflow: hidden; border: 1px solid var(--neo-border); border-radius: var(--neo-radius); background: var(--neo-border); }
.neo-product-facts > div { min-height: 84px; padding: 16px; background: var(--neo-cloud); }
.neo-product-facts__wide { grid-column: 1 / -1; }
.neo-product-facts span,
.neo-product-facts strong { display: block; }
.neo-product-facts span { margin-bottom: 6px; color: var(--neo-muted); font-size: .67rem; font-weight: 760; letter-spacing: .04em; text-transform: uppercase; }
.neo-product-facts strong { color: var(--neo-ink); font-size: .92rem; line-height: 1.42; }
.neo-strength-picker { margin: 20px 0; }
.neo-strength-picker > span { display: block; margin-bottom: 8px; color: var(--neo-ink); font-size: .74rem; font-weight: 780; }
.neo-strength-picker > div { display: flex; flex-wrap: wrap; gap: 7px; }
.neo-strength-picker a,
.neo-strength-picker strong { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; padding: 7px 11px; border: 1px solid var(--neo-border); border-radius: 10px; color: var(--neo-ink); background: var(--neo-white); font-size: .76rem; text-decoration: none; }
.neo-strength-picker strong { border-color: var(--neo-teal); background: var(--neo-mint); color: var(--neo-teal-dark); }
.neo-product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 18px; }
.neo-verification-note { display: grid; grid-template-columns: 22px 1fr; gap: 9px; padding: 14px; border-radius: 12px; color: var(--neo-muted); background: var(--neo-warm); font-size: .74rem; line-height: 1.5; }
.neo-verification-note svg { width: 19px; color: var(--neo-teal); }
.neo-product-context,
.related.products,
.neo-people-also-bought,
.up-sells { grid-column: 1 / -1; }
.neo-product-context { margin-top: 34px; padding: 66px 0; border-top: 1px solid var(--neo-border); border-bottom: 1px solid var(--neo-border); }
.neo-product-context__heading { max-width: 720px; margin-bottom: 30px; }
.neo-product-context__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.neo-product-context__grid article { padding: 25px; border: 1px solid var(--neo-border); border-radius: var(--neo-radius); background: var(--neo-cloud); }
.neo-product-context__grid article > span { display: grid; width: 42px; height: 42px; margin-bottom: 20px; place-items: center; border-radius: 13px; background: var(--neo-mint); color: var(--neo-teal-dark); }
.neo-product-context__grid article > span svg { width: 21px; }
.neo-product-context__grid h3 { margin-bottom: 9px; font-size: 1.1rem; }
.neo-product-context__grid p { color: var(--neo-muted); font-size: .82rem; }
.neo-product-context__grid a { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 760; }
.neo-product-context__grid a svg { width: 15px; }
.neo-product-collections { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.neo-product-collections > span { color: var(--neo-muted); font-size: .72rem; font-weight: 760; }
.neo-product-collections a { padding: 5px 9px; border: 1px solid var(--neo-border); border-radius: 999px; color: var(--neo-ink); font-size: .72rem; text-decoration: none; }
.related.products,
.neo-people-also-bought,
.up-sells { padding-top: 48px; }
.related.products > h2,
.neo-people-also-bought > h2,
.up-sells > h2 { margin-bottom: 26px; }
.related.products ul.products,
.neo-people-also-bought ul.products,
.up-sells ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Woo notices and utility pages */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error { border-top-color: var(--neo-teal); background: var(--neo-cloud); color: var(--neo-ink); }
.woocommerce-message::before,
.woocommerce-info::before { color: var(--neo-teal-dark); }
.woocommerce table.shop_table { border-color: var(--neo-border); border-radius: var(--neo-radius); }
.neo-commerce-page-content { max-width: 1040px; }
.woocommerce-account .woocommerce-MyAccount-navigation { width: 25%; }
.woocommerce-account .woocommerce-MyAccount-content { width: 70%; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { padding: 8px; margin: 0; border: 1px solid var(--neo-border); border-radius: var(--neo-radius); background: var(--neo-cloud); list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 10px 12px; border-radius: 9px; color: var(--neo-ink); font-weight: 700; text-decoration: none; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--neo-mint); color: var(--neo-teal-dark); }
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout { --wp--preset--color--primary: var(--neo-teal); }
.wc-block-components-button { border-radius: 999px !important; }
.wc-block-components-sidebar-layout { gap: 34px !important; }

/* 404 */
.neo-not-found { padding: clamp(80px, 10vw, 140px) 0; background: linear-gradient(150deg, var(--neo-cloud), var(--neo-mint)); }
.neo-not-found__grid { display: grid; grid-template-columns: 1fr .72fr; align-items: center; gap: clamp(60px, 9vw, 130px); }
.neo-not-found__grid > div:first-child > p { max-width: 670px; font-size: 1.08rem; }
.neo-not-found .search-form { max-width: 650px; margin: 30px 0 18px; }
.neo-not-found__discovery { padding: 30px; border: 1px solid var(--neo-border); border-radius: var(--neo-radius-lg); background: rgba(255, 255, 255, .78); }

/* Footer */
.site-footer { padding: 0 0 26px; border-top: 1px solid var(--neo-border); background: var(--neo-cloud); }
.neo-footer-cta { display: grid; grid-template-columns: .8fr 1fr; align-items: end; gap: 60px; padding: 56px 0; border-bottom: 1px solid var(--neo-border); }
.neo-footer-cta h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.neo-footer-cta .search-form { padding: 7px; border: 1px solid var(--neo-border); border-radius: 999px; background: var(--neo-white); }
.neo-footer-cta .search-field { border-color: transparent; }
.neo-footer__grid { display: grid; grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(150px, .65fr)); gap: 46px; padding: 58px 0; }
.neo-footer__brand { width: 185px; margin-bottom: 19px; }
.neo-footer__copy { max-width: 480px; color: var(--neo-body); font-size: .87rem; }
.neo-footer__disclaimer { max-width: 480px; color: var(--neo-muted); font-size: .74rem; }
.neo-footer__heading { margin-bottom: 15px; font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; }
.neo-footer-menu { display: flex; align-items: flex-start; flex-direction: column; gap: 8px; padding: 0; margin: 0; list-style: none; }
.neo-footer-menu a { color: var(--neo-body); font-size: .83rem; text-decoration: none; }
.neo-footer-menu a:hover { color: var(--neo-teal-dark); }
.neo-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--neo-border); color: var(--neo-muted); font-size: .72rem; }

/* Comparison tray and dialog */
.neo-compare-tray { position: fixed; right: 0; bottom: 0; left: 0; z-index: 90; padding: 12px 0; border-top: 1px solid #86aaa6; background: rgba(255, 255, 255, .97); box-shadow: 0 -18px 45px rgba(11, 48, 50, .13); backdrop-filter: blur(14px); }
.neo-compare-tray__inner { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; align-items: center; gap: 22px; }
.neo-compare-tray__inner > div:first-child { display: flex; flex-direction: column; }
.neo-compare-tray__eyebrow { color: var(--neo-teal-dark); font-size: .64rem; font-weight: 820; letter-spacing: .07em; text-transform: uppercase; }
.neo-compare-tray__inner strong { color: var(--neo-ink); font-size: .82rem; }
.neo-compare-tray__items { display: flex; min-width: 0; gap: 8px; }
.neo-compare-chip { display: inline-flex; min-width: 0; align-items: center; gap: 6px; padding: 7px 8px 7px 11px; border: 1px solid var(--neo-border); border-radius: 999px; background: var(--neo-cloud); color: var(--neo-ink); font-size: .7rem; }
.neo-compare-chip > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.neo-compare-chip button { display: grid; width: 24px; height: 24px; padding: 0; place-items: center; border: 0; border-radius: 50%; color: var(--neo-muted); background: transparent; }
.neo-compare-chip button:hover { background: var(--neo-mint); color: var(--neo-ink); }
.neo-compare-tray__actions { display: flex; gap: 7px; }
.neo-compare-tray__actions .neo-button { min-height: 40px; padding: 8px 14px; font-size: .76rem; }
.neo-compare-dialog { width: min(940px, calc(100% - 40px)); max-height: calc(100vh - 50px); padding: 0; border: 0; border-radius: 24px; color: var(--neo-body); background: var(--neo-white); box-shadow: var(--neo-shadow); }
.neo-compare-dialog::backdrop { background: rgba(4, 30, 32, .66); backdrop-filter: blur(3px); }
.neo-compare-dialog__header { display: flex; align-items: start; justify-content: space-between; gap: 30px; padding: 30px 32px 18px; border-bottom: 1px solid var(--neo-border); }
.neo-compare-dialog__header h2 { margin: 0; }
.neo-dialog-close { display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 1px solid var(--neo-border); border-radius: 50%; color: var(--neo-ink); background: var(--neo-white); font-size: 1.5rem; }
.neo-compare-dialog__body { padding: 30px 32px; }
.neo-compare-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.neo-compare-card { padding: 22px; border: 1px solid var(--neo-border); border-radius: var(--neo-radius); background: var(--neo-cloud); }
.neo-compare-card__category { color: var(--neo-muted); font-size: .67rem; font-weight: 780; text-transform: uppercase; }
.neo-compare-card h3 { margin: 8px 0 20px; font-size: 1.12rem; }
.neo-compare-card__fact { padding: 13px; border-radius: 11px; background: var(--neo-white); }
.neo-compare-card__fact span,
.neo-compare-card__fact strong { display: block; }
.neo-compare-card__fact span { color: var(--neo-muted); font-size: .67rem; }
.neo-compare-card__fact strong { color: var(--neo-ink); font-size: 1rem; }
.neo-compare-card .neo-text-link { margin-top: 18px; font-size: .77rem; }
.neo-compare-dialog__note { margin: 0; padding: 16px 32px 24px; color: var(--neo-muted); font-size: .74rem; }
.neo-compare-dialog__empty { padding: 30px; text-align: center; }

@media (max-width: 1160px) {
  .neo-header__row { grid-template-columns: 170px minmax(280px, 1fr) auto; gap: 20px; }
  .neo-brand { width: 170px; }
  .neo-collection-grid,
  .neo-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .neo-home-products ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .neo-hero__grid { grid-template-columns: minmax(0, 1fr) 430px; }
  .neo-hero-product--1 { right: 0; }
  .neo-mega-menu__categories ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .neo-catalog-layout { grid-template-columns: 225px minmax(0, 1fr); gap: 26px; }
}

@media (max-width: 1024px) {
  .neo-wrap { width: min(calc(100% - 40px), var(--neo-wrap)); }
  .neo-header__row { grid-template-columns: 172px 1fr auto; min-height: 76px; }
  .neo-header-search,
  .neo-catalog-nav,
  .neo-header-catalog { display: none; }
  .neo-menu-toggle { display: inline-grid; }
  .neo-mobile-panel { padding: 22px 0 30px; border-top: 1px solid var(--neo-border); background: var(--neo-white); }
  .neo-mobile-panel.is-open { display: block; }
  .neo-mobile-panel__search { margin-bottom: 25px; }
  .neo-mobile-panel .neo-discovery-links { margin-bottom: 24px; }
  .neo-hero__grid { grid-template-columns: 1fr 390px; gap: 35px; }
  .neo-hero__visual { min-height: 540px; }
  .neo-hero-product { width: 210px; }
  .neo-hero-product--1 { width: 235px; }
  .neo-hero-fact { right: 95px; }
  .neo-catalog-stats { grid-template-columns: repeat(3, 1fr); }
  .neo-catalog-stats__note { grid-column: 1 / -1; justify-content: flex-start; }
  .neo-catalog-stats__note span { max-width: none; text-align: left; }
  .neo-footer__grid { grid-template-columns: 1.2fr repeat(2, .8fr); }
  .neo-footer__grid > :last-child { grid-column: 2; }
  .woocommerce div.product { grid-template-columns: minmax(0, 1fr) minmax(340px, .88fr); gap: 38px; }
}

@media (max-width: 820px) {
  .admin-bar .site-header { top: 46px; }
  .neo-utility-bar__meta > span { display: none; }
  .neo-hero { padding-top: 62px; }
  .neo-hero__grid { grid-template-columns: 1fr; }
  .neo-hero__content { padding-bottom: 25px; }
  .neo-hero__visual { width: min(100%, 580px); min-height: 520px; margin-inline: auto; }
  .neo-catalog-stats { margin-top: 25px; }
  .neo-collection-grid,
  .neo-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .neo-section__header { align-items: flex-start; flex-direction: column; }
  .neo-method__grid,
  .neo-search-cta__inner,
  .neo-footer-cta,
  .neo-not-found__grid,
  .neo-empty-state--search { grid-template-columns: 1fr; gap: 36px; }
  .neo-subcategory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .neo-subcategory-intro { align-items: flex-start; flex-direction: column; }
  .neo-catalog-layout { grid-template-columns: 1fr; }
  .neo-filter-rail { position: static; }
  .neo-filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
  .neo-filter-form .neo-button { width: auto; }
  .woocommerce ul.products,
  .neo-home-products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce div.product { grid-template-columns: 1fr; }
  .woocommerce div.product div.images { position: static; }
  .neo-product-context__grid { grid-template-columns: 1fr; }
  .related.products ul.products,
  .neo-people-also-bought ul.products,
  .up-sells ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .neo-page-header__grid { grid-template-columns: 1fr; gap: 28px; }
  .neo-page-header__fact { max-width: 320px; }
  .neo-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .neo-footer__about { grid-column: 1 / -1; }
  .neo-footer__grid > :last-child { grid-column: auto; }
  .neo-compare-tray__inner { grid-template-columns: 1fr auto; }
  .neo-compare-tray__items { grid-column: 1 / -1; grid-row: 2; }
  .neo-compare-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body:has(.neo-compare-tray:not([hidden])) { padding-bottom: 160px; }
  .neo-wrap { width: min(calc(100% - 28px), var(--neo-wrap)); }
  .neo-utility-bar__inner { min-height: 36px; justify-content: center; }
  .neo-utility-bar__meta { display: none; }
  .neo-utility-bar__promise { font-size: .68rem; text-align: center; }
  .neo-header__row { grid-template-columns: 150px 1fr auto; gap: 8px; min-height: 70px; }
  .neo-brand { width: 150px; }
  .neo-compare-header { display: none; }
  .neo-mobile-panel .search-form,
  .neo-hero__search .search-form,
  .neo-search-cta .search-form,
  .neo-footer-cta .search-form,
  .neo-search-header .search-form,
  .neo-not-found .search-form { align-items: stretch; flex-direction: column; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .neo-hero__search { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .neo-hero__search .search-field,
  .neo-search-cta .search-field,
  .neo-footer-cta .search-field,
  .neo-search-header .search-field { border-color: var(--neo-control); }
  .search-form .neo-button { width: 100%; }
  .neo-hero h1 { font-size: 2.75rem; }
  .neo-hero__visual { min-height: 425px; }
  .neo-hero-product--1 { width: 205px; }
  .neo-hero-product--2 { top: 155px; width: 180px; }
  .neo-hero-product--3 { right: 4px; width: 160px; }
  .neo-hero-fact { right: 72px; bottom: 15px; width: 190px; padding: 14px; }
  .neo-catalog-stats { grid-template-columns: repeat(2, 1fr); }
  .neo-catalog-stats > div:nth-child(3) { grid-column: 1 / -1; }
  .neo-section { padding: 68px 0; }
  .neo-collection-grid,
  .neo-category-grid,
  .neo-subcategory-grid,
  .neo-footer__grid,
  .neo-discovery-links { grid-template-columns: 1fr; }
  .neo-category-card { min-height: 210px; }
  .neo-method__steps article { grid-template-columns: 40px 1fr; gap: 14px; }
  .neo-page-header,
  .woocommerce-products-header,
  .neo-search-header { padding-top: 56px; }
  .woocommerce-products-header { padding-inline: 14px; }
  .neo-filter-form { grid-template-columns: 1fr; }
  .neo-catalog-toolbar { align-items: flex-start; flex-direction: column; }
  .woocommerce ul.products,
  .neo-home-products ul.products,
  .related.products ul.products,
  .neo-people-also-bought ul.products,
  .up-sells ul.products { grid-template-columns: 1fr; }
  .woocommerce ul.products li.product .woocommerce-LoopProduct-link { display: grid; grid-template-columns: 108px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 14px; }
  .woocommerce ul.products li.product a img { grid-row: 1 / 4; margin: 0; aspect-ratio: 1; }
  .neo-product-card__meta { align-items: flex-start; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 0; margin-bottom: 6px; }
  .neo-loop-product-description { min-height: 0; margin-top: 12px; -webkit-line-clamp: 2; }
  .woocommerce div.product .product_title { font-size: 2.2rem; }
  .neo-product-facts { grid-template-columns: 1fr; }
  .neo-product-facts__wide { grid-column: auto; }
  .neo-product-actions { align-items: stretch; flex-direction: column; }
  .neo-footer__about { grid-column: auto; }
  .neo-footer__bottom { align-items: flex-start; flex-direction: column; }
  .neo-compare-tray { padding: 9px 0; }
  .neo-compare-tray__inner { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .neo-compare-tray__items { overflow-x: auto; padding-bottom: 3px; }
  .neo-compare-tray__actions .neo-button--quiet { display: none; }
  .neo-compare-dialog__header,
  .neo-compare-dialog__body { padding-inline: 20px; }
  .neo-compare-dialog__note { padding-inline: 20px; }
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content { float: none; width: 100%; }
  .woocommerce-account .woocommerce-MyAccount-navigation { margin-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Support entry points */
.neo-utility-support {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.neo-live-badge {
  display: inline-flex;
  min-height: 21px;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border: 1px solid rgba(157, 226, 216, .34);
  border-radius: 999px;
  color: #d8f6f1;
  background: rgba(255, 255, 255, .08);
  font-size: .58rem;
  font-weight: 840;
  letter-spacing: .09em;
  line-height: 1;
  text-transform: uppercase;
}

.neo-live-badge i {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #78d8cb;
  box-shadow: 0 0 0 3px rgba(120, 216, 203, .12);
}

.neo-live-badge.is-live i {
  animation: neo-support-pulse 2.2s ease-out infinite;
}

.neo-utility-support[aria-current="page"] > span:first-child {
  color: #a7e8de;
}

.neo-mobile-support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 22px;
  min-height: 76px;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  margin: 0 0 10px;
  overflow: hidden;
  border: 1px solid #245455;
  border-radius: var(--neo-radius-sm);
  color: var(--neo-white);
  background:
    radial-gradient(circle at 82% 20%, rgba(35, 174, 163, .24), transparent 34%),
    var(--neo-ink);
  text-decoration: none;
}

.neo-mobile-support:hover,
.neo-mobile-support:focus-visible {
  color: var(--neo-white);
  background:
    radial-gradient(circle at 82% 20%, rgba(35, 174, 163, .34), transparent 38%),
    #0e393b;
}

.neo-mobile-support > span:first-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.neo-mobile-support small {
  margin-bottom: 2px;
  color: #8cded3;
  font-size: .61rem;
  font-weight: 840;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.neo-mobile-support strong {
  color: var(--neo-white);
  font-family: var(--neo-font-display);
  font-size: 1rem;
}

.neo-mobile-support > svg {
  width: 21px;
  transition: transform 180ms ease;
}

.neo-mobile-support:hover > svg,
.neo-mobile-support:focus-visible > svg {
  transform: translateX(4px);
}

@keyframes neo-support-pulse {
  0% { box-shadow: 0 0 0 0 rgba(120, 216, 203, .42); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(120, 216, 203, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .neo-live-badge.is-live i { animation: none; }
  .neo-mobile-support > svg { transition: none; }
}

/* Footer social profiles */
.neo-footer-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
  margin-left: auto;
}

.neo-footer-social__label {
  color: var(--neo-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.neo-social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.neo-social-links li {
  margin: 0;
}

.neo-social-link {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--neo-border);
  border-radius: 999px;
  background: var(--neo-white);
  box-shadow: 0 1px 2px rgba(16, 45, 48, 0.06);
  color: var(--neo-ink);
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.neo-social-link:visited {
  color: var(--neo-ink);
}

.neo-social-link:hover,
.neo-social-link:focus-visible {
  border-color: var(--neo-teal);
  background: var(--neo-teal);
  box-shadow: 0 8px 18px rgba(5, 117, 118, 0.2);
  color: var(--neo-white);
  transform: translateY(-2px);
}

.neo-social-link:active {
  box-shadow: 0 2px 6px rgba(5, 117, 118, 0.14);
  transform: translateY(0);
}

.neo-social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (max-width: 720px) {
  .neo-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .neo-footer-social {
    width: 100%;
    margin-left: 0;
  }

  .neo-social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .neo-footer-social {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .neo-social-link:hover,
  .neo-social-link:focus-visible,
  .neo-social-link:active {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   About NEOtrition — precision, made visible
   -------------------------------------------------------------------------- */

.neo-catalog-nav__row > .neo-nav-about {
  position: relative;
}

.neo-catalog-nav__row > .neo-nav-about::after {
  position: absolute;
  right: 0;
  bottom: -14px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--neo-teal);
  content: "";
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.neo-catalog-nav__row > .neo-nav-about:hover::after,
.neo-catalog-nav__row > .neo-nav-about:focus-visible::after,
.neo-catalog-nav__row > .neo-nav-about[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.neo-catalog-nav__row > .neo-nav-about[aria-current="page"] {
  color: var(--neo-teal-dark);
}

.neo-mobile-about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 13px 16px;
  margin: 0 0 12px;
  border: 1px solid var(--neo-border);
  border-radius: var(--neo-radius-sm);
  color: var(--neo-ink);
  background: linear-gradient(135deg, var(--neo-cloud), var(--neo-mint));
  text-decoration: none;
}

.neo-mobile-about > span {
  display: flex;
  flex-direction: column;
  font-weight: 790;
}

.neo-mobile-about small {
  margin-bottom: 2px;
  color: var(--neo-teal-dark);
  font-size: .62rem;
  font-weight: 820;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.neo-mobile-about svg {
  width: 21px;
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.neo-mobile-about:hover svg,
.neo-mobile-about:focus-visible svg {
  transform: translateX(4px);
}

@media (max-width: 1160px) {
  .neo-catalog-nav__row {
    gap: 21px;
  }

  .neo-catalog-nav__note {
    display: none;
  }
}


/*
 * NEOtrition homepage and catalog audit repairs — 2026-11-08.
 * Appended to the authenticated theme stylesheet; original rules are preserved.
 * Keeps the theme metadata, asset URLs, About styles and support customizations.
 */

/* Normal text clears 4.5:1 against every existing pale background token. */
:root {
  --neo-muted: #4f6768;
}

.search-field::placeholder,
.neo-filter-form input::placeholder,
.woocommerce form .form-row input.input-text::placeholder,
.woocommerce form .form-row textarea::placeholder {
  color: var(--neo-muted);
  opacity: 1;
}

/* The homepage uses a .woocommerce wrapper, not a body.woocommerce class.
 * Match WooCommerce's columns-* specificity inside that wrapper as well. */
.woocommerce ul.products[class*="columns-"] > li.product,
.woocommerce-page ul.products[class*="columns-"] > li.product,
.neo-home-products.woocommerce ul.products[class*="columns-"] > li.product {
  float: none;
  clear: none;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  justify-self: stretch;
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.neo-category-card__content,
.neo-collection-card__content {
  min-width: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 0;
  font-size: 1.0625rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.neo-product-card__meta {
  flex-wrap: wrap;
  min-height: 0;
  margin-bottom: 10px;
  gap: 6px 8px;
}

.neo-product-card__meta span {
  display: block;
  flex: 1 1 10rem;
  overflow: visible;
  -webkit-line-clamp: unset;
  font-size: .875rem;
  line-height: 1.4;
  text-transform: none;
}

.neo-product-card__meta strong {
  max-width: 100%;
  font-size: .875rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.neo-loop-product-description {
  display: block;
  min-height: 0;
  overflow: visible;
  -webkit-line-clamp: unset;
  font-size: .875rem;
  line-height: 1.55;
}

.neo-product-card__actions {
  flex-wrap: wrap;
  gap: 6px 12px;
}

.neo-product-card__view,
.neo-compare-toggle:not(.neo-button) {
  min-height: 44px;
  font-size: .875rem;
  line-height: 1.35;
}

.neo-product-card__view {
  padding-block: 8px;
}

.neo-compare-toggle:not(.neo-button) {
  padding: 8px 10px;
}

/* Catalog price provenance must remain readable wherever the helper appears. */
.neo-catalog-price,
.woocommerce ul.products li.product .neo-catalog-price,
.woocommerce div.product .summary .neo-catalog-price {
  display: block;
  margin: 12px 0 16px;
  color: var(--neo-ink);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.neo-catalog-price__value {
  display: inline;
  font-size: 1.125rem;
  font-weight: 750;
}

.neo-catalog-price__currency {
  margin-left: .25em;
  font-size: .875rem;
}

.neo-catalog-price__label,
.neo-catalog-price__basis,
.neo-catalog-price__provenance {
  display: block;
  margin-top: 4px;
  color: var(--neo-muted);
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.5;
}

.neo-catalog-price__label {
  color: var(--neo-body);
  font-weight: 700;
}

/* Keep the selected catalog illustrations and the fact panel in flow.
 * Each has its own grid cell; captions cannot sit behind another tile. */
.neo-hero__visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: center;
  align-content: center;
  min-height: 0;
  gap: 14px;
  padding: 12px 0 32px;
  isolation: isolate;
}

.neo-hero__glow {
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.neo-hero-product,
.neo-hero-product--1,
.neo-hero-product--2,
.neo-hero-product--3 {
  position: relative;
  inset: auto;
  z-index: 1;
  width: auto;
  min-width: 0;
  padding: 10px;
  border-radius: 22px;
  box-shadow: var(--neo-shadow-sm);
  transform: none;
}

.neo-hero-product:hover,
.neo-hero-product:focus-visible {
  transform: translateY(-2px);
}

.neo-hero-product span {
  display: block;
  padding: 10px 5px 4px;
  overflow: visible;
  -webkit-line-clamp: unset;
  font-size: .875rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.neo-hero-fact {
  position: relative;
  inset: auto;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: auto;
  min-width: 0;
  padding: 20px;
}

.neo-hero-fact > svg {
  flex: 0 0 auto;
  margin-bottom: 12px;
}

.neo-hero-fact strong {
  font-size: 1rem;
  line-height: 1.4;
}

.neo-hero-fact span {
  font-size: .875rem;
  line-height: 1.5;
}

/* The authored homepage keeps the theme's existing visual system. */
.neo-hero h1 {
  font-size: clamp(2.25rem, 4.1vw, 3.65rem);
}

.neo-hero__routes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.neo-hero__routes .neo-text-link,
.neo-hero-fact__action {
  min-height: 44px;
  font-size: .875rem;
}

.neo-hero__status,
.neo-hero__image-note {
  color: var(--neo-muted);
  font-size: .875rem;
  line-height: 1.5;
}

.neo-hero__status {
  max-width: 62ch;
  margin: 20px 0 0;
}

.neo-hero__image-note {
  grid-column: 1 / -1;
  margin: 0;
}

.neo-hero__visual--without-images {
  grid-template-columns: 1fr;
}

.neo-hero-fact__action {
  justify-content: flex-start;
  width: fit-content;
  margin-top: 10px;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.neo-hero-fact__action svg {
  flex: 0 0 18px;
}

.neo-featured-instructions {
  max-width: 78ch;
  margin-bottom: 26px;
  font-size: 1rem;
}

.neo-home-products ul.products {
  margin-bottom: 0;
}

.neo-collection-group + .neo-collection-group {
  margin-top: 36px;
}

.neo-collection-group__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 24px;
  margin-bottom: 18px;
}

.neo-collection-group__header h3,
.neo-collection-group__header p {
  margin: 0;
}

.neo-collection-group__header p,
.neo-collection-complete {
  color: var(--neo-muted);
  font-size: .875rem;
}

.neo-collection-complete {
  margin: 24px 0 0;
}

.neo-collection-card__icon .neo-term-icon {
  width: 32px;
  height: 32px;
}

.neo-method__intro .neo-method__verification-note,
.neo-method__sources p,
.neo-method__steps .neo-method__source-note {
  font-size: .875rem;
  line-height: 1.55;
}

.neo-method__sources {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid #396365;
  border-radius: var(--neo-radius);
  background: rgba(255, 255, 255, .04);
}

.neo-method__sources h3 {
  font-size: 1.125rem;
  line-height: 1.35;
}

.neo-method__sources ul {
  padding: 0;
  margin: 0 0 16px;
  list-style: none;
}

.neo-method__sources a,
.neo-evidence-example .neo-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--neo-white);
  font-size: .875rem;
  line-height: 1.5;
}

.neo-method__sources .neo-method__source-note {
  margin-bottom: 0;
}

.neo-evidence-example .neo-text-link {
  margin: 8px 0;
}

.neo-practical__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 60px;
}

.neo-faq-list {
  display: grid;
  gap: 12px;
}

.neo-faq {
  min-width: 0;
  border: 1px solid var(--neo-border);
  border-radius: var(--neo-radius-sm);
  background: var(--neo-white);
}

.neo-faq summary {
  min-height: 64px;
  padding: 18px 20px;
  color: var(--neo-ink);
  font-family: var(--neo-font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
}

.neo-faq summary::marker {
  color: var(--neo-teal-dark);
}

.neo-faq__answer {
  padding: 0 20px 20px;
}

.neo-faq__answer p {
  margin-bottom: 0;
}

.neo-faq__answer .neo-text-link {
  min-height: 44px;
  margin-top: 12px;
}

.neo-footer-cta--guidance {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  gap: 40px;
}

.neo-footer-cta--guidance p {
  margin: 18px 0 0;
}

.neo-footer-cta__guidance-links {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.neo-footer-cta__guidance-links .neo-text-link {
  min-height: 44px;
}

/* Natural-height cards are paired with concise template summaries.
 * No decision text is hidden by line clamps or a fixed content height. */
.neo-collection-card__link {
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  grid-template-areas:
    "icon label arrow"
    "icon title arrow"
    "description description description";
  min-height: 0;
  height: 100%;
  align-content: start;
  gap: 5px 12px;
  padding: 20px;
}

.neo-collection-card__link > *,
.neo-collection-card__content > * {
  position: relative;
  z-index: 1;
}

.neo-collection-card__link::after {
  z-index: 0;
  pointer-events: none;
}

.neo-collection-card__icon {
  grid-area: icon;
  width: 42px;
  height: 42px;
}

.neo-collection-card__content {
  display: contents;
}

.neo-collection-card__label {
  grid-area: label;
  margin-bottom: 0;
  font-size: .75rem;
  line-height: 1.4;
}

.neo-collection-card__content strong {
  grid-area: title;
  font-size: 1.0625rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.neo-collection-card__content > span:last-child {
  grid-area: description;
  display: block;
  margin-top: 5px;
  overflow: visible;
  -webkit-line-clamp: unset;
  font-size: .875rem;
  line-height: 1.5;
}

.neo-collection-card__arrow {
  grid-area: arrow;
  align-self: center;
}

.neo-category-card {
  min-height: 0;
  justify-content: flex-start;
  gap: 16px;
  padding: 20px;
  color: var(--neo-ink);
  text-decoration: none;
}

.neo-category-card h3 {
  max-width: none;
  font-size: 1.0625rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.neo-category-card__description,
.neo-subcategory-card p {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  font-size: .875rem;
  line-height: 1.5;
}

/* Current family cards have exactly one heading link. Stretch its target
 * over the card without adding a tab stop or changing its accessible name. */
.neo-category-card h3 a::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: var(--neo-radius);
  content: "";
}

.neo-category-card h3 a:focus-visible::after {
  outline: 3px solid var(--neo-teal-dark);
  outline-offset: -4px;
}

.neo-category-card:focus-within,
.neo-category-card:focus-visible,
.neo-collection-card__link:focus-visible {
  outline: 3px solid var(--neo-teal-dark);
  outline-offset: 3px;
}

.neo-footer__disclaimer,
.neo-footer-menu a,
.neo-footer__bottom,
.neo-footer-social__label,
.neo-compare-dialog__note,
.neo-compare-card__category {
  font-size: .875rem;
  line-height: 1.55;
}

/* Header PHP supplies the real text label; generated content is not used. */
.neo-compare-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 44px;
  min-height: 44px;
  height: auto;
  gap: 6px;
  padding: 9px 12px;
  border-color: var(--neo-border);
  font-size: .875rem;
  font-weight: 750;
  line-height: 1.3;
}

.neo-compare-header__label {
  white-space: nowrap;
}

.neo-compare-header .neo-compare-count {
  position: static;
  flex: 0 0 auto;
  min-width: 22px;
  height: 22px;
  border: 0;
  font-size: .75rem;
  line-height: 1;
}

html {
  scroll-padding-top: 150px;
}

body:has(.neo-compare-tray:not([hidden])) {
  padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
}

.neo-compare-tray {
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}

.neo-compare-tray__items {
  overflow-x: auto;
  padding: 3px;
}

.neo-compare-chip {
  flex: 0 0 auto;
  max-width: 19rem;
  padding: 2px 2px 2px 12px;
  font-size: .875rem;
}

.neo-compare-chip button {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
}

.neo-compare-chip button:focus-visible {
  outline-offset: -4px;
}

.neo-compare-tray__actions .neo-button {
  min-height: 44px;
  font-size: .875rem;
}

.neo-compare-tray__inner strong {
  font-size: .875rem;
}

/* The comparison table may scroll horizontally inside the dialog only. */
body.neo-comparison-open {
  overflow: hidden;
}

.neo-compare-dialog {
  width: min(1000px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

body.neo-comparison-fallback-open::after {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(4, 30, 32, .66);
  content: "";
}

.neo-dialog-fallback:not([open]) {
  display: none;
}

.neo-dialog-fallback[open] {
  position: fixed;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  z-index: 1000;
  display: block;
  margin: 0;
  transform: translate(-50%, -50%);
}

.neo-compare-dialog__header {
  gap: 16px;
}

.neo-compare-dialog__header > div,
.neo-compare-dialog__body {
  min-width: 0;
}

.neo-compare-dialog__header h2 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.neo-dialog-close {
  flex: 0 0 44px;
}

.neo-compare-scroll {
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 8px;
  overscroll-behavior-x: contain;
}

.neo-compare-scroll:focus-visible {
  outline: 3px solid var(--neo-teal-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

.neo-compare-table {
  width: 100%;
  min-width: 25rem;
  border: 1px solid var(--neo-border);
  border-spacing: 0;
  border-collapse: separate;
  border-radius: 12px;
  table-layout: fixed;
  text-align: left;
  font-size: .875rem;
  line-height: 1.5;
}

.neo-compare-table:has(tr > :nth-child(3)) {
  min-width: 40rem;
}

.neo-compare-table:has(tr > :nth-child(4)) {
  min-width: 55rem;
}

.neo-compare-table th,
.neo-compare-table td {
  padding: 16px;
  border: 0;
  border-right: 1px solid var(--neo-border);
  border-bottom: 1px solid var(--neo-border);
  vertical-align: top;
  overflow-wrap: anywhere;
}

.neo-compare-table tr > :first-child {
  width: 10rem;
  background: var(--neo-cloud);
  color: var(--neo-ink);
  font-weight: 750;
}

.neo-compare-table thead th {
  background: var(--neo-cloud);
  color: var(--neo-ink);
  font-weight: 500;
}

.neo-compare-table tr > :last-child {
  border-right: 0;
}

.neo-compare-table tbody tr:last-child > * {
  border-bottom: 0;
}

.neo-compare-table .neo-compare-product-name {
  margin: 6px 0 12px;
  font-size: 1.0625rem;
  line-height: 1.35;
}

.neo-compare-table .neo-text-link {
  min-height: 44px;
  font-size: .875rem;
}

.neo-compare-table p:last-child {
  margin-bottom: 0;
}

.neo-compare-cell-note {
  margin: 6px 0 0;
  color: var(--neo-muted);
  font-size: .875rem;
}

.neo-compare-missing {
  color: var(--neo-muted);
}

.neo-compare-reference + .neo-compare-reference {
  margin-top: 12px;
}

.neo-compare-remove {
  display: flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 8px 12px;
  border: 1px solid var(--neo-control);
  border-radius: 9px;
  color: var(--neo-ink);
  background: var(--neo-white);
  font-size: .875rem;
  line-height: 1.4;
}

.neo-compare-remove:hover,
.neo-compare-remove:focus-visible {
  border-color: var(--neo-teal-dark);
  background: var(--neo-mint);
}

.neo-compare-dialog__empty {
  padding: 18px 0;
}

.neo-compare-dialog__empty > p {
  max-width: 48ch;
  margin-inline: auto;
}

.neo-compare-empty__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

/* Existing search forms keep their label; JS adds an accessible listbox. */
.neo-search-field-wrap {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.neo-search-field-wrap > label {
  display: block;
  width: 100%;
}

.neo-search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 70;
  max-height: 18rem;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--neo-control);
  border-radius: 14px;
  background: var(--neo-white);
  box-shadow: var(--neo-shadow-sm);
  overscroll-behavior: contain;
}

.neo-search-suggestions[hidden] {
  display: none;
}

.neo-search-suggestion {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 48px;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--neo-ink);
  font-size: .875rem;
  line-height: 1.45;
  cursor: pointer;
}

.neo-search-suggestion:hover {
  background: var(--neo-cloud);
}

.neo-search-suggestion.is-active,
.neo-search-suggestion[aria-selected="true"] {
  outline: 2px solid var(--neo-teal-dark);
  outline-offset: -2px;
  background: var(--neo-mint);
}

.neo-search-suggestion__label {
  font-weight: 750;
}

.neo-search-suggestion__hint {
  color: var(--neo-muted);
  font-size: .875rem;
}

.neo-search-recovery {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid var(--neo-border);
  border-radius: var(--neo-radius-sm);
  background: var(--neo-white);
}

.neo-search-recovery__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 12px;
}

.neo-search-recovery__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (max-width: 1024px) {
  html {
    scroll-padding-top: 96px;
  }

  .neo-header__row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .neo-header-actions {
    gap: 4px;
  }
}

@media (max-width: 820px) {
  body:has(.neo-compare-tray:not([hidden])) {
    padding-bottom: calc(164px + env(safe-area-inset-bottom, 0px));
  }

  .neo-hero__visual {
    min-height: 0;
  }

  .neo-practical__grid,
  .neo-footer-cta--guidance {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .neo-compare-tray__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
  }

  .neo-compare-tray__items {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 88px;
  }

  .neo-header__row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .neo-brand {
    width: clamp(110px, 40vw, 150px);
    min-width: 0;
    max-width: 100%;
  }

  .neo-compare-header {
    display: inline-flex;
    gap: 5px;
    padding: 8px;
  }

  .neo-compare-header:has(.neo-compare-header__label) > svg {
    display: none;
  }

  .neo-hero__visual {
    min-height: 0;
    gap: 10px;
    padding-bottom: 18px;
  }

  .neo-hero-product,
  .neo-hero-product--1,
  .neo-hero-product--2,
  .neo-hero-product--3 {
    width: auto;
    padding: 8px;
    border-radius: 18px;
  }

  .neo-hero-product img {
    border-radius: 12px;
  }

  .neo-hero-product span {
    padding-inline: 2px;
  }

  .neo-hero-fact {
    width: auto;
    padding: 14px;
  }

  .neo-hero__routes {
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
  }

  .neo-hero__routes .neo-text-link {
    justify-content: center;
  }

  .neo-catalog-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 10px;
  }

  .neo-catalog-stats > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .neo-catalog-stats > div:nth-child(3) {
    grid-column: auto;
  }

  .neo-catalog-stats span {
    font-size: .875rem;
  }

  .neo-section {
    padding: 48px 0;
  }

  .neo-section__header {
    gap: 16px;
    margin-bottom: 24px;
  }

  .neo-collection-grid,
  .neo-category-grid {
    gap: 10px;
  }

  .neo-collection-card__link {
    min-height: 0;
    padding: 16px;
  }

  .neo-category-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 0;
    align-items: center;
    gap: 10px 12px;
    padding: 16px;
  }

  .neo-category-card__visual {
    grid-column: 1;
    grid-row: 1;
    display: block;
  }

  .neo-category-card .neo-term-icon {
    width: 44px;
    height: 44px;
  }

  .neo-category-card__index {
    display: none;
  }

  .neo-category-card__content {
    display: contents;
  }

  .neo-category-card h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }

  .neo-category-card__description {
    grid-column: 1 / -1;
    margin: 0;
  }

  .woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    display: grid;
    grid-template-columns: minmax(76px, 28%) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 12px;
  }

  .woocommerce ul.products li.product a img {
    grid-row: 1 / 3;
  }

  .neo-product-card__meta {
    margin-bottom: 6px;
  }

  .neo-product-card__meta span {
    flex-basis: 100%;
  }

  .neo-compare-tray {
    padding-top: 9px;
    padding-bottom: calc(9px + env(safe-area-inset-bottom, 0px));
  }

  .neo-compare-dialog__header,
  .neo-compare-dialog__body,
  .neo-compare-dialog__note {
    padding-inline: 16px;
  }

  .neo-compare-empty__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .neo-footer-cta__guidance-links {
    justify-items: stretch;
  }

  .neo-faq summary {
    padding: 16px;
  }

  .neo-faq__answer {
    padding: 0 16px 18px;
  }

  .neo-search-field-wrap {
    flex: 0 0 auto;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .neo-hero-product:hover,
  .neo-hero-product:focus-visible,
  .neo-category-card:hover,
  .neo-category-card:focus-within,
  .neo-collection-card__link:hover {
    transform: none;
  }
}

/* Visible catalog and illustration context on individual records. */
.neo-catalog-record-note,
.neo-catalog-image-note {
  margin: 14px 0;
  color: var(--neo-muted);
  font-size: .875rem;
  line-height: 1.55;
}
.neo-catalog-record-note a { color: var(--neo-teal-dark); text-underline-offset: .18em; }
