/* ============================================================
   LuxLife — Storefront overrides
   Mirrors the livelux.io design (Tailwind build) on top of Storefront.
   Markup comes from the LuxLife plugin (inc/layout.php, inc/shortcodes.php,
   inc/marquee.php). Breakpoints follow Tailwind: sm 640 / md 768 / lg 1024.
   ============================================================ */

:root {
  --lx-bg: hsl(40 33% 96%);
  --lx-fg: hsl(181 100% 9%);
  --lx-card: hsl(40 30% 99%);
  --lx-border: hsl(180 20% 86%);
  --lx-muted: hsl(180 30% 90%);
  --lx-accent: hsl(35 36% 56%);
  --lx-destructive: hsl(0 72% 42%);
  --lx-dark-teal: #002D2E;
  --lx-teal: #007A7C;
  --lx-teal-dark: #006364;
  --lx-gold: #c4a97a;
  --lx-cream: #E0F4F4;
  --lx-font-heading: "Fraunces", ui-serif, Georgia, serif;
  --lx-font-display: "Fraunces", ui-serif, Georgia, serif;
  --lx-font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --lx-font-mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ── Base ─────────────────────────────────────────────────── */
body {
  background-color: var(--lx-bg) !important;
  color: var(--lx-fg);
  font-family: var(--lx-font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv01";
}
body.home { overflow-x: hidden; }

.label-mono {
  font-family: var(--lx-font-mono);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .6875rem;
  font-weight: 400;
}
.hairline {
  background: linear-gradient(90deg, transparent, var(--lx-border), transparent);
  height: 1px;
}
.lx-icon { display: block; width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

/* ── Header shell (#masthead from Storefront) ─────────────── */
#masthead.site-header {
  background: transparent !important;
  background-image: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  z-index: 50;
  color: var(--lx-fg);
}
.lx-transparent-header #masthead { position: fixed; top: 0; left: 0; right: 0; }
.lx-solid-header #masthead { position: sticky; top: 0; }
.admin-bar #masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar #masthead { top: 46px; } }
@media (max-width: 600px) { .admin-bar.lx-transparent-header #masthead { top: 0; } }

/* Promo banner */
.lx-promo {
  overflow: hidden;
  background-image: linear-gradient(to right, #002D2E, #007A7C, #002D2E);
  color: #fff;
}
.lx-promo__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  padding: .625rem 0;
  animation: lx-scroll 40s linear infinite;
}
.lx-promo__group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.5rem;
  font-family: var(--lx-font-display);
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 500;
  letter-spacing: .025em;
}
.lx-promo__item { display: flex; align-items: center; gap: .5rem; }
.lx-promo__item b { font-weight: 700; color: var(--lx-gold); }
.lx-promo__dot { color: rgba(196,169,122,.4); }

@keyframes lx-scroll {
  0% { transform: translate(0); }
  to { transform: translate(-33.333%); }
}

/* Navbar */
.lx-navbar {
  padding: .75rem 0;
  border-bottom: 1px solid transparent;
  transition: all .5s cubic-bezier(.4,0,.2,1);
}
#masthead.is-scrolled .lx-navbar,
.lx-solid-header .lx-navbar,
#masthead.is-menu-open .lx-navbar {
  /* Prefixed only, as on livelux.io: Safari frosts, Chrome shows plain 72% cream. */
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  background: rgba(248,246,241,.72);
  border-bottom-color: hsl(180 20% 86% / .6);
  padding: .5rem 0;
}
.lx-navbar__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lx-navbar__logo { display: flex; align-items: center; }
.lx-navbar__logo img { height: 3rem; width: auto; max-width: none; display: block; }
.lx-navbar__nav { display: none; align-items: center; gap: 2.25rem; }
.lx-navbar__nav a,
.lx-mobile-nav a {
  color: rgba(0,45,46,.7) !important;
  text-decoration: none !important;
  transition: color .15s;
}
.lx-navbar__nav a:hover,
.lx-mobile-nav a:hover { color: var(--lx-fg) !important; }
.lx-navbar__actions { display: flex; align-items: center; gap: .75rem; }
.lx-navbar__actions a,
.lx-navbar__toggle {
  display: flex;
  align-items: center;
  color: rgba(0,45,46,.8) !important;
  text-decoration: none !important;
  transition: color .15s;
}
.lx-navbar__actions a:hover { color: var(--lx-fg) !important; }
.lx-navbar__cart { position: relative; }
.lx-navbar__count {
  position: absolute;
  top: -.4rem;
  right: -.55rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 .25rem;
  border-radius: 9999px;
  background: var(--lx-teal);
  color: #fff;
  font-family: var(--lx-font-mono);
  font-size: .5625rem;
  line-height: 1rem;
  text-align: center;
}
.lx-navbar__count[hidden] { display: none; }
.lx-navbar__toggle {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
}
.lx-navbar__toggle .lx-icon { width: 1.5rem; height: 1.5rem; }
.lx-navbar__toggle .lx-icon--close,
#masthead.is-menu-open .lx-navbar__toggle .lx-icon--open { display: none; }
#masthead.is-menu-open .lx-navbar__toggle .lx-icon--close { display: block; }
.lx-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem 1.25rem 1.5rem;
  border-top: 1px solid hsl(180 20% 86% / .6);
  margin-top: .5rem;
}
#masthead.is-menu-open .lx-mobile-nav { display: flex; }
#masthead a:focus:not(:focus-visible),
#masthead button:focus:not(:focus-visible) { outline: none; }
#masthead a:focus-visible,
#masthead button:focus-visible { outline: 2px solid var(--lx-teal); outline-offset: 2px; }

@media (min-width: 640px) {
  .lx-navbar { padding: 1.25rem 0; }
  #masthead.is-scrolled .lx-navbar,
  .lx-solid-header .lx-navbar,
  #masthead.is-menu-open .lx-navbar { padding: .75rem 0; }
  .lx-navbar__inner { padding: 0 2rem; }
  .lx-navbar__logo img { height: 5rem; }
  .lx-navbar__actions { gap: 1rem; }
}
@media (min-width: 768px) {
  .lx-navbar__nav { display: flex; }
  .lx-navbar__toggle,
  #masthead.is-menu-open .lx-mobile-nav { display: none; }
}

/* ── Storefront wrappers on the front page ────────────────── */
.home #content.site-content,
.home #content > .col-full {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.home #content > .col-full::before,
.home #content > .col-full::after { display: none; }
.lx-home { display: block; }
/* Tailwind base line-height (Storefront uses 1.618) */
.lx-home, #masthead, .lx-footer { line-height: 1.5; }
.lx-home, .lx-home *, #masthead, #masthead *, .lx-footer, .lx-footer * { text-rendering: auto; overflow-wrap: normal; }
.lx-home p { margin: 0; }
.lx-home h1, .lx-home h2, .lx-home h3 { margin: 0; letter-spacing: normal; }
.lx-home a { text-decoration: none; }
.lx-home a:focus { outline-offset: 2px; }
.lx-home ul { margin: 0; padding: 0; list-style: none; }
.lx-home img { border-radius: 0; }

/* Shared section primitives */
.lx-container { max-width: 80rem; margin: 0 auto; padding: 0 1.25rem; }
.lx-container--narrow { max-width: 48rem; }
.lx-section { padding: 4rem 0; }
.lx-section__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.lx-eyebrow { color: var(--lx-accent) !important; }
.lx-h2 {
  margin-top: 1rem !important;
  font-family: var(--lx-font-display);
  font-size: 1.875rem;
  line-height: 1.25;
  font-weight: 300;
  color: var(--lx-fg);
  text-wrap: balance;
}
.lx-h2 em { font-style: italic; color: var(--lx-teal); }
.lx-h3 {
  font-family: var(--lx-font-display);
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 300;
  color: var(--lx-fg);
}
.lx-link { color: rgba(0,45,46,.7) !important; transition: color .15s; }
.lx-link:hover { color: var(--lx-fg) !important; }
.lx-lead {
  margin-top: 1.25rem !important;
  font-size: .875rem;
  line-height: 1.625;
  color: rgba(0,45,46,.7);
}
@media (min-width: 640px) {
  .lx-container { padding: 0 2rem; }
  .lx-section { padding: 6rem 0; }
  .lx-section__head { flex-direction: row; align-items: flex-end; gap: 1.5rem; }
  .lx-h2 { margin-top: 1.25rem !important; font-size: 3rem; line-height: 1; }
  .lx-lead { margin-top: 1.5rem !important; font-size: 1rem; line-height: 1.5rem; }
}

/* ── Hero ─────────────────────────────────────────────────── */
.luxlife-hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--lx-dark-teal);
  width: 100%;
  margin: 0;
}
.luxlife-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.luxlife-hero__poster,
.luxlife-hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150vmax;
  height: 150vmax;
  max-width: none;
  background-size: cover;
  background-position: center;
  object-fit: cover;
  transform: translate(-50%, -50%) rotate(270deg);
}
.luxlife-hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to bottom, rgba(0,45,46,.5), transparent, rgba(0,45,46,.7));
}
.luxlife-hero__content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
  padding: 7rem 1.25rem 0;
  text-align: center;
}
.luxlife-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 9999px;
  border: 1px solid rgba(196,169,122,.4);
  background: rgba(0,45,46,.85);
  padding: .375rem 1rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.luxlife-hero__badge .label-mono {
  font-size: .75rem;
  line-height: 1rem;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--lx-gold);
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.05));
}
.luxlife-hero__pulse {
  width: .375rem;
  height: .375rem;
  border-radius: 9999px;
  background: var(--lx-teal);
  animation: lx-pulse 2s cubic-bezier(.4,0,.6,1) infinite;
}
@keyframes lx-pulse { 50% { opacity: .5; } }
.luxlife-hero__title {
  margin: 1.25rem 0 0 !important;
  font-family: var(--lx-font-display);
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1.05;
  color: #fff !important;
  text-wrap: balance;
}
.luxlife-hero__title em { font-style: italic; color: var(--lx-gold); }
.luxlife-hero__desc {
  max-width: 36rem;
  margin: 1.5rem auto 0 !important;
  font-size: .875rem;
  line-height: 1.625;
  color: rgba(224,244,244,.9);
}
.luxlife-hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
}
.luxlife-hero .luxlife-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 0;
  padding: .875rem 1.5rem;
  font-family: var(--lx-font-body);
  font-size: .75rem;
  line-height: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  text-decoration: none;
  transition: all .15s cubic-bezier(.4,0,.2,1);
}
.luxlife-hero .luxlife-btn .lx-icon { width: 1rem; height: 1rem; transition: transform .15s; }
.luxlife-hero .luxlife-btn:hover .lx-icon { transform: translateX(.25rem); }
.luxlife-hero .luxlife-btn--primary { background: var(--lx-teal); color: #fff; border: 0; }
.luxlife-hero .luxlife-btn--primary:hover { background: var(--lx-teal-dark); color: #fff; }
.luxlife-hero .luxlife-btn--outline { background: transparent; border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.9); }
.luxlife-hero .luxlife-btn--outline:hover { border-color: rgba(255,255,255,.6); color: #fff; }
.luxlife-hero__footer-note {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  z-index: 10;
  transform: translateX(-50%);
  white-space: nowrap;
}
.luxlife-hero__footer-note .label-mono { color: rgba(224,244,244,.6); }
@media (min-width: 640px) {
  .luxlife-hero__content { padding: 6rem 1.5rem 0; }
  .luxlife-hero__title { margin-top: 1.5rem !important; font-size: 4.5rem; line-height: 1; }
  .luxlife-hero__desc { margin-top: 1.75rem !important; font-size: 1rem; line-height: 1.5rem; }
  .luxlife-hero__actions { margin-top: 2.5rem; flex-direction: row; gap: 1rem; }
  .luxlife-hero .luxlife-btn { padding: 1rem 2rem; font-size: .875rem; line-height: 1.25rem; }
}

/* ── Product marquee ──────────────────────────────────────── */
.luxlife-marquee {
  overflow: hidden;
  border-top: 1px solid var(--lx-border);
  border-bottom: 1px solid var(--lx-border);
  background: var(--lx-dark-teal);
  padding: 1rem 0;
  width: 100%;
  margin: 0;
}
.luxlife-marquee__track {
  display: flex;
  width: max-content;
  gap: 3rem;
  white-space: nowrap;
  animation: lx-scroll 30s linear infinite;
}
.luxlife-marquee__item { color: rgba(224,244,244,.6); }
.luxlife-marquee__item a { color: inherit !important; transition: color .15s; }
.luxlife-marquee__item a:hover { color: var(--lx-gold) !important; text-decoration: underline !important; }
.luxlife-marquee__sep { color: rgba(196,169,122,.5); }
@media (min-width: 640px) { .luxlife-marquee { padding: 1.25rem 0; } }

/* ── Catalog ──────────────────────────────────────────────── */
.lx-catalog { background: var(--lx-bg); padding: 2.5rem 0 3.5rem; }
.lx-catalog .lx-h2 { margin-top: .75rem !important; }
.lx-catalog__grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.lx-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--lx-border);
  background: var(--lx-card);
  color: var(--lx-fg) !important;
  transition: all .3s cubic-bezier(.4,0,.2,1);
}
.lx-card:hover {
  border-color: rgba(0,122,124,.4);
  box-shadow: 0 12px 36px -12px rgba(0,122,124,.25);
}
.lx-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(224,244,244,.3);
}
.lx-card__img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  transition: transform .7s cubic-bezier(.4,0,.2,1);
}
.lx-card:hover .lx-card__img { transform: scale(1.05); }
.lx-card__badge { position: absolute; left: .625rem; top: .625rem; }
.lx-card__badge .label-mono {
  display: inline-block;
  border-radius: 9999px;
  background: hsl(40 33% 96% / .85);
  padding: .125rem .625rem;
  font-size: 9px;
  color: rgba(0,45,46,.8);
  box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.lx-card__body { display: flex; flex: 1 1 0%; flex-direction: column; padding: .625rem; }
.lx-card__head { display: flex; flex-direction: column; gap: .125rem; }
.lx-card__title {
  font-family: var(--lx-font-display);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.25 !important;
  color: var(--lx-fg);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lx-card__price {
  font-family: var(--lx-font-mono);
  font-size: .75rem;
  line-height: 1rem;
  font-weight: 600;
  color: var(--lx-teal);
  white-space: nowrap;
}
.lx-card__meta {
  margin-top: .25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .375rem;
  font-size: 11px;
}
.lx-card__dose { font-family: var(--lx-font-mono); color: rgba(0,45,46,.6); }
.lx-card__options {
  border-radius: 9999px;
  background: rgba(0,122,124,.1);
  padding: .125rem .375rem;
  font-size: 8px;
  font-weight: 700;
  color: var(--lx-teal);
}
.lx-card__desc {
  display: none;
  margin-top: .5rem !important;
  font-size: .75rem;
  line-height: 1.625;
  color: rgba(0,45,46,.65);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lx-card__stock {
  margin-top: .375rem !important;
  font-size: 9px;
  color: rgba(0,45,46,.5);
}
.lx-card__qty { font-weight: 700; color: var(--lx-teal); }
.lx-card__qty.is-low,
.lx-card__stock--out { font-weight: 700; color: var(--lx-destructive); }
.lx-card__breakdown { display: none; margin-left: .25rem; text-transform: none; }
.lx-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .625rem;
  border-top: 1px solid hsl(180 20% 86% / .4);
}
.lx-card__cta { font-size: 10px; color: var(--lx-teal); transition: color .15s; }
.lx-show-mobile { display: inline; }
.lx-hide-mobile { display: none; }
.lx-card__coa {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  border-radius: 9999px;
  border: 1px solid rgba(0,122,124,.4);
  background: rgba(0,122,124,.1);
  padding: .125rem .5rem;
  font-size: 9px;
  font-weight: 400;
  color: var(--lx-teal);
  cursor: pointer;
  transition: all .15s;
}
.lx-card__coa:hover { background: var(--lx-teal); color: #fff; }
.lx-card__coa .lx-icon { width: .625rem; height: .625rem; }
.lx-card__coa .lx-icon--dim { width: .5rem; height: .5rem; opacity: .7; }
@media (min-width: 640px) {
  .lx-catalog { padding: 3.5rem 0 5rem; }
  .lx-catalog .lx-h2 { margin-top: 1rem !important; }
  .lx-catalog__grid { margin-top: 2.5rem; gap: 1.5rem; }
  .lx-card__badge { left: 1rem; top: 1rem; }
  .lx-card__badge .label-mono { font-size: .75rem; line-height: 1rem; }
  .lx-card__body { padding: 1rem; }
  .lx-card__head { flex-direction: row; align-items: baseline; justify-content: space-between; gap: .5rem; }
  .lx-card__title { font-size: 1.125rem; line-height: 1.75rem !important; }
  .lx-card__price { font-size: .875rem; line-height: 1.25rem; }
  .lx-card__meta { font-size: .75rem; line-height: 1rem; }
  .lx-card__options { font-size: 9px; }
  .lx-card__desc { display: -webkit-box; }
  .lx-card__stock { font-size: .75rem; line-height: 1rem; }
  .lx-card__breakdown { display: inline; }
  .lx-card__foot { padding-top: .75rem; }
  .lx-card__cta { font-size: .75rem; color: rgba(0,45,46,.5); }
  .lx-card:hover .lx-card__cta { color: var(--lx-teal); }
  .lx-show-mobile { display: none; }
  .lx-hide-mobile { display: inline; }
  .lx-card__coa { padding: .25rem .625rem; font-size: 10px; }
  .lx-card__coa .lx-icon { width: .75rem; height: .75rem; }
  .lx-card__coa .lx-icon--dim { width: .625rem; height: .625rem; }
}
@media (min-width: 1024px) {
  .lx-catalog__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ── Science / The Emerald Lab ────────────────────────────── */
.lx-science { background: var(--lx-bg); }
.lx-science__intro { max-width: 42rem; }
.lx-science__grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--lx-border);
  background: var(--lx-border);
}
.lx-science__cell { background: var(--lx-bg); padding: 1.25rem; }
.lx-science__icon { width: 1.5rem; height: 1.5rem; color: var(--lx-teal); }
.lx-science__cell h3 {
  margin-top: 1rem !important;
  font-family: var(--lx-font-display);
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 400;
  color: var(--lx-fg);
}
.lx-science__cell p {
  margin-top: .5rem !important;
  font-size: .875rem;
  line-height: 1.625;
  color: rgba(0,45,46,.65);
}
.lx-science__links { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .75rem 2rem; }
@media (min-width: 640px) {
  .lx-science__grid { margin-top: 4rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-science__cell { padding: 2rem; }
  .lx-science__icon { width: 1.75rem; height: 1.75rem; }
  .lx-science__cell h3 { margin-top: 1.25rem !important; font-size: 1.25rem; }
  .lx-science__cell p { margin-top: .75rem !important; }
}
@media (min-width: 1024px) {
  .lx-science__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ── Our Story ────────────────────────────────────────────── */
.lx-story { position: relative; overflow: hidden; background: rgba(224,244,244,.4); }
.lx-story__text {
  margin-top: 1.5rem;
  font-size: .875rem;
  line-height: 1.625;
  color: rgba(0,45,46,.75);
}
.lx-story__text p + p { margin-top: 1rem !important; }
.lx-story__text--base { margin-top: 1.25rem; font-size: 1rem; }
.lx-story__expect { margin-top: 3rem; }
.lx-story__expect ul { margin-top: 1.5rem !important; display: grid; gap: .75rem; }
.lx-story__expect li {
  display: flex;
  align-items: center;
  gap: .75rem;
  border: 1px solid var(--lx-border);
  background: hsl(40 33% 96% / .6);
  padding: .75rem 1rem;
  font-size: .875rem;
  line-height: 1.25rem;
  color: rgba(0,45,46,.8);
}
.lx-story__emoji { font-size: 1.125rem; line-height: 1.75rem; }
.lx-story__shell { margin-top: 3.5rem; display: grid; align-items: center; gap: 2.5rem; }
.lx-story__figure { position: relative; }
.lx-story__img { overflow: hidden; }
.lx-story__img img { display: block; aspect-ratio: 4 / 3; width: 100%; height: auto; object-fit: cover; }
.lx-story__caption {
  display: none;
  position: absolute;
  bottom: -1.25rem;
  right: -.75rem;
  border: 1px solid var(--lx-border);
  background: var(--lx-bg);
  padding: 1rem 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
}
.lx-story__caption-title {
  margin-top: .25rem !important;
  font-family: var(--lx-font-display);
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--lx-fg);
}
.lx-story__dream {
  margin-top: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  border: 1px solid var(--lx-border);
  background: hsl(40 33% 96% / .6);
  padding: 1.25rem;
}
.lx-story__dream .lx-icon { margin-top: .125rem; color: var(--lx-accent); }
.lx-story__dream p { font-size: .875rem; line-height: 1.625; color: rgba(0,45,46,.7); }
.lx-story__cta {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--lx-teal) !important;
  transition: color .15s;
}
.lx-story__cta:hover { color: var(--lx-teal-dark) !important; }
@media (min-width: 640px) {
  .lx-story__text { margin-top: 2rem; font-size: 1rem; line-height: 1.5rem; }
  .lx-story__text p + p { margin-top: 1.25rem !important; }
  .lx-story__text--base { margin-top: 1.25rem; line-height: 1.625; }
  .lx-story__text--base p + p { margin-top: 1rem !important; }
  .lx-story__expect ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-story__caption { display: block; }
}
@media (min-width: 1024px) {
  .lx-story__shell { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem; }
}

/* ── The Tide Journal ─────────────────────────────────────── */
.lx-journal { background: rgba(224,244,244,.4); }
.lx-journal__grid { margin-top: 2.5rem; display: grid; gap: 1.5rem; }
.lx-post {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--lx-border);
  background: var(--lx-bg);
  color: var(--lx-fg) !important;
  transition: all .15s cubic-bezier(.4,0,.2,1);
}
.lx-post:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }
.lx-post__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--lx-muted); }
.lx-post__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.4,0,.2,1);
}
.lx-post:hover .lx-post__media img { transform: scale(1.05); }
.lx-post__media--brand {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 90% at 50% 110%, rgba(0,122,124,.55), transparent 60%),
    linear-gradient(160deg, #003b3c, #002D2E);
}
.lx-post__media--brand img { width: auto; height: 42%; object-fit: contain; filter: drop-shadow(0 6px 18px rgba(0,0,0,.25)); }
.lx-post__body { display: flex; flex: 1 1 0%; flex-direction: column; padding: 1.25rem; }
.lx-post__title {
  margin-top: .75rem !important;
  font-family: var(--lx-font-display);
  font-size: 1.25rem;
  line-height: 1.375 !important;
  font-weight: 400;
  color: var(--lx-fg);
}
.lx-post__excerpt {
  margin-top: .75rem !important;
  font-size: .875rem;
  line-height: 1.625;
  color: rgba(0,45,46,.6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lx-post__read { margin-top: auto; padding-top: 1.25rem; color: rgba(0,45,46,.5); transition: color .15s; }
.lx-post:hover .lx-post__read { color: var(--lx-teal); }
@media (min-width: 640px) {
  .lx-journal__grid { margin-top: 3rem; gap: 2rem; }
}
@media (min-width: 768px) {
  .lx-journal__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── Footer (#colophon from Storefront) ───────────────────── */
#colophon.site-footer {
  padding: 0 !important;
  margin: 0 !important;
  background: var(--lx-dark-teal) !important;
  border-top: 1px solid var(--lx-border);
  color: var(--lx-cream) !important;
}
#colophon > .col-full { max-width: none !important; margin: 0 !important; padding: 0 !important; }
#colophon > .col-full::before,
#colophon > .col-full::after { display: none; }
.lx-footer { font-family: var(--lx-font-body); }
.lx-footer p { margin: 0; }
.lx-footer ul { margin: 0; padding: 0; list-style: none; }
.lx-footer a { text-decoration: none !important; }
.lx-footer__inner { max-width: 80rem; margin: 0 auto; padding: 4rem 1.5rem; }
.lx-footer__grid { display: grid; gap: 3rem; }
.lx-footer__logo { display: block; height: 6rem; width: auto; max-width: none; }
.lx-footer__about {
  margin-top: 1.25rem !important;
  max-width: 24rem;
  font-size: .875rem;
  line-height: 1.625;
  color: rgba(224,244,244,.7);
}
.lx-footer__thanks { margin-top: 1rem !important; font-size: .875rem; line-height: 1.25rem; font-style: italic; color: var(--lx-gold); }
.lx-footer__heading { color: rgba(196,169,122,.8); }
.lx-footer__list { margin-top: 1.25rem !important; font-size: .875rem; line-height: 1.25rem; }
.lx-footer__list li + li { margin-top: .75rem; }
.lx-footer__list a { color: rgba(224,244,244,.75) !important; transition: color .15s; }
.lx-footer__list a:hover { color: #fff !important; }
.lx-footer__contact li { display: flex; align-items: center; gap: .5rem; color: rgba(224,244,244,.75); }
.lx-footer__contact .lx-icon { width: 1rem; height: 1rem; color: var(--lx-gold); }
.lx-footer__rule { margin-top: 3.5rem; opacity: .3; }
.lx-footer__legal {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .5rem 1.25rem;
  text-align: center;
}
.lx-footer__legal a { color: rgba(224,244,244,.55) !important; transition: color .15s; }
.lx-footer__legal a:hover { color: var(--lx-gold) !important; }
.lx-footer__sep { color: rgba(224,244,244,.3); }
.lx-footer__bottom {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
}
.lx-footer__ruo { color: rgba(196,169,122,.9); }
.lx-footer__copy { font-size: .75rem; line-height: 1rem; color: rgba(224,244,244,.5); }
@media (min-width: 640px) {
  .lx-footer__inner { padding: 4rem 2rem; }
  .lx-footer__bottom { flex-direction: row; text-align: left; }
}
@media (min-width: 1024px) {
  .lx-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

/* ── Misc Storefront chrome ───────────────────────────────── */
.storefront-handheld-footer-bar { display: none !important; }
.site-search { display: none !important; }
@media (max-width: 767px) {
  body.storefront-handheld-footer-bar-active,
  body { padding-bottom: 0 !important; }
}

/* ============================================================
   INNER PAGES
   Header is fixed on every page (as on livelux.io); pages rendered by
   Storefront get top padding, LuxLife templates carry their own.
   ============================================================ */
body:not(.home) #content.site-content { padding-top: 8.5rem; }
body.single-product #content.site-content,
body.lx-clean-page #content.site-content { padding-top: 0; }
@media (min-width: 640px) {
  body:not(.home) #content.site-content { padding-top: 11rem; }
  body.single-product #content.site-content,
  body.lx-clean-page #content.site-content { padding-top: 0; }
}
body.single-product #content > .col-full,
body.lx-clean-page #content > .col-full { max-width: none !important; margin: 0 !important; padding: 0 !important; }
body.single-product #content > .col-full::before, body.single-product #content > .col-full::after,
body.lx-clean-page #content > .col-full::before, body.lx-clean-page #content > .col-full::after { display: none; }

/* No sidebar anywhere */
#secondary { display: none !important; }
.content-area, #primary { width: 100% !important; float: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.woocommerce-breadcrumb, .storefront-breadcrumb { display: none !important; }

/* Storefront-rendered content: brand typography */
.site-main { font-family: var(--lx-font-body); color: rgba(0,45,46,.8); }
.site-main h1, .site-main h2, .site-main h3, .site-main h4,
.site-main .entry-title, .site-main .page-title {
  font-family: var(--lx-font-display);
  font-weight: 300;
  color: var(--lx-fg);
  letter-spacing: normal;
}
.site-main .entry-title, .site-main .page-title { font-size: 2.25rem; line-height: 1.15; }
@media (min-width: 640px) { .site-main .entry-title, .site-main .page-title { font-size: 3rem; } }
.site-main a:not(.button):not(.lx-card):not(.lx-post) { color: var(--lx-teal); }
.site-main .button, .site-main button[type="submit"], .site-main input[type="submit"],
.woocommerce .button, .woocommerce button.button, .wc-block-components-button:not(.is-link) {
  background: var(--lx-teal) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 9999px !important;
  padding: .875rem 1.75rem !important;
  font-family: var(--lx-font-body) !important;
  font-size: .8125rem !important;
  font-weight: 500 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  transition: background .15s;
}
.site-main .button:hover, .woocommerce .button:hover, .site-main button[type="submit"]:hover { background: var(--lx-teal-dark) !important; }
.site-main input[type="text"], .site-main input[type="email"], .site-main input[type="tel"],
.site-main input[type="password"], .site-main input[type="number"], .site-main textarea, .site-main select {
  background: var(--lx-card);
  border: 1px solid var(--lx-border);
  border-radius: .5rem;
  box-shadow: none;
  color: var(--lx-fg);
}
.site-main table { border-color: var(--lx-border); }

/* WooCommerce notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews,
.wc-block-components-notice-banner {
  background: var(--lx-card) !important;
  color: rgba(0,45,46,.8) !important;
  border: 1px solid var(--lx-border) !important;
  border-left: 3px solid var(--lx-teal) !important;
  border-radius: .25rem;
  font-family: var(--lx-font-body);
  font-size: .875rem;
}
.woocommerce-error { border-left-color: var(--lx-destructive) !important; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { color: var(--lx-teal) !important; }
.woocommerce-message a.button, .woocommerce-message .button { padding: .5rem 1rem !important; font-size: .6875rem !important; }

/* ── Product detail ───────────────────────────────────────── */
.lx-page { display: block; line-height: 1.5; }
.lx-page, .lx-page * { text-rendering: auto; overflow-wrap: normal; }
.lx-page p, .lx-page h1, .lx-page h2, .lx-page h3, .lx-page dl, .lx-page dd { margin: 0; letter-spacing: normal; }
.lx-page ul { margin: 0; padding: 0; list-style: none; }
.lx-page img { border-radius: 0; }
.lx-page a { text-decoration: none; }
.lx-pdp__inner { max-width: 80rem; margin: 0 auto; padding: 7rem 1.25rem 4rem; }
.lx-back { display: inline-flex; align-items: center; color: rgba(0,45,46,.6) !important; transition: color .15s; }
.lx-back:hover { color: var(--lx-fg) !important; }
.lx-back .lx-icon { width: .75rem; height: .75rem; margin-right: .5rem; }
.lx-notices:empty { display: none; }
.lx-notices { margin-top: 1.5rem; }
.lx-notices .woocommerce-message, .lx-notices .woocommerce-error, .lx-notices .woocommerce-info { margin: 0; }
.lx-pdp__grid { margin-top: 1.5rem; display: grid; gap: 2rem; }
.lx-pdp__frame { overflow: hidden; border: 1px solid var(--lx-border); background: rgba(224,244,244,.3); }
.lx-pdp__img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: contain; border-radius: 0 !important; }
.lx-pdp__info .lx-eyebrow { color: var(--lx-accent); }
.lx-pdp__title { margin-top: .5rem !important; font-family: var(--lx-font-display); font-size: 2.25rem; line-height: 1.25; font-weight: 300; color: var(--lx-fg); }
.lx-pdp__dose { margin-top: .5rem !important; font-family: var(--lx-font-mono); font-size: 1rem; line-height: 1.5rem; color: var(--lx-teal); }
.lx-pdp__lead { margin-top: .75rem !important; font-size: .875rem; line-height: 1.625; color: rgba(0,45,46,.7); }
.lx-pdp__form { margin: 0; }
.lx-pdp__options { margin-top: 1.5rem; border-radius: 1rem; border: 1px solid rgba(0,122,124,.25); background: rgba(224,244,244,.3); padding: 1rem; }
.lx-pdp__options .label-mono { font-size: .75rem; line-height: 1rem; color: rgba(0,45,46,.7); }
.lx-pdp__pills { margin-top: .75rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.lx-pill {
  display: flex; align-items: center; gap: .75rem;
  border-radius: 9999px !important;
  border: 1px solid var(--lx-border) !important;
  background: var(--lx-card) !important;
  padding: .625rem 1.5rem !important;
  font-family: var(--lx-font-mono) !important;
  font-size: .875rem !important; line-height: 1.25rem !important;
  font-weight: 400 !important; letter-spacing: normal !important; text-transform: none !important;
  color: rgba(0,45,46,.8) !important;
  cursor: pointer;
  transition: all .3s cubic-bezier(.4,0,.2,1);
}
.lx-pill:hover { border-color: rgba(0,122,124,.5) !important; color: var(--lx-fg) !important; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.lx-pill__dose { font-weight: 500; }
.lx-pill__price { font-weight: 700; color: var(--lx-teal); }
.lx-pill__stock { font-size: 10px; color: rgba(0,45,46,.5); }
.lx-pill.is-active {
  border-color: var(--lx-teal) !important; background: var(--lx-teal) !important; color: #fff !important; font-weight: 700 !important;
  box-shadow: 0 0 0 2px rgba(0,122,124,.3), 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
}
.lx-pill.is-active .lx-pill__price { color: rgba(255,255,255,.9); font-weight: 400; }
.lx-pill.is-active .lx-pill__stock { color: rgba(255,255,255,.8); }
.lx-pill:disabled { opacity: .45; cursor: not-allowed; }
.lx-pdp__price { margin-top: 2rem; display: flex; align-items: baseline; gap: .75rem; }
.lx-pdp__amount { font-family: var(--lx-font-display); font-size: 1.875rem; line-height: 2.25rem; color: var(--lx-fg); }
.lx-pdp__currency { color: rgba(0,45,46,.5); }
.lx-pdp__stock { margin-left: .5rem; font-size: .75rem; line-height: 1rem; color: var(--lx-teal); }
.lx-pdp__stock.is-low, .lx-pdp__stock.is-out { color: var(--lx-destructive); }
.lx-pdp__buy { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.lx-qty { display: flex; align-items: center; align-self: flex-start; border-radius: 9999px; border: 1px solid var(--lx-border); background: var(--lx-card); }
.lx-qty__btn {
  background: none !important; border: 0 !important; box-shadow: none !important;
  padding: .75rem 1rem !important; color: rgba(0,45,46,.6) !important; cursor: pointer; transition: color .15s;
}
.lx-qty__btn:first-child { border-radius: 9999px 0 0 9999px !important; }
.lx-qty__btn:last-child { border-radius: 0 9999px 9999px 0 !important; }
.lx-qty__btn:hover { color: var(--lx-fg) !important; }
.lx-qty__btn:disabled { opacity: .4; cursor: not-allowed; }
.lx-qty__btn .lx-icon { width: 1rem; height: 1rem; }
.lx-qty__input {
  width: 3rem !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important;
  text-align: center; font-family: var(--lx-font-mono); font-size: 1rem; color: var(--lx-fg) !important; -moz-appearance: textfield;
}
.lx-qty__input::-webkit-outer-spin-button, .lx-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.lx-btn {
  display: block; width: 100%;
  border-radius: 9999px !important;
  padding: 1rem 2rem !important;
  font-family: var(--lx-font-body) !important;
  font-size: .875rem !important; line-height: 1.25rem !important;
  font-weight: 500 !important; letter-spacing: .18em !important; text-transform: uppercase !important;
  text-align: center; cursor: pointer; transition: all .15s cubic-bezier(.4,0,.2,1);
}
.lx-btn--primary { flex: 1 1 0%; background: var(--lx-teal) !important; color: #fff !important; border: 0 !important; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.lx-btn--primary:hover { background: var(--lx-teal-dark) !important; }
.lx-btn--ghost { margin-top: .75rem; padding: .875rem 2rem !important; background: transparent !important; color: rgba(0,45,46,.7) !important; border: 1px solid var(--lx-border) !important; }
.lx-btn--ghost:hover { border-color: var(--lx-teal) !important; color: var(--lx-teal) !important; }
.lx-btn:disabled { opacity: .5; cursor: not-allowed; }
.lx-pdp__note { margin-top: 2rem; border: 1px solid rgba(196,169,122,.3); background: rgba(224,244,244,.3); padding: 1.25rem; }
.lx-pdp__note p + p { margin-top: .5rem !important; font-size: .875rem; line-height: 1.625; color: rgba(0,45,46,.7); }
.lx-pdp__specs { margin-top: 2.5rem; }
.lx-pdp__specs-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.lx-pdp__specs-head > .label-mono, .lx-pdp__desc > .label-mono { color: rgba(0,45,46,.5); }
.lx-coa-pill {
  display: inline-flex; align-items: center; gap: .375rem;
  border-radius: 9999px; border: 1px solid rgba(0,122,124,.4); background: rgba(0,122,124,.1);
  padding: .25rem .75rem; font-size: .75rem; line-height: 1rem; font-weight: 500; color: var(--lx-teal) !important; transition: all .15s;
}
.lx-coa-pill:hover { background: var(--lx-teal); color: #fff !important; }
.lx-coa-pill .lx-icon { width: .875rem; height: .875rem; }
.lx-coa-pill .lx-icon--dim { width: .75rem; height: .75rem; opacity: .7; }
.lx-pdp__specs dl { margin-top: 1rem !important; border-top: 1px solid var(--lx-border); border-bottom: 1px solid var(--lx-border); }
.lx-pdp__specs dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; }
.lx-pdp__specs dl > div + div { border-top: 1px solid var(--lx-border); }
.lx-pdp__specs dt { color: rgba(0,45,46,.5); font-weight: 400; }
.lx-pdp__specs dd { text-align: right; font-size: .875rem; line-height: 1.25rem; color: rgba(0,45,46,.8); }
.lx-pdp__badges { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.lx-pdp__badges > div { display: flex; flex-direction: column; align-items: center; gap: .5rem; border: 1px solid var(--lx-border); padding: 1rem; text-align: center; }
.lx-pdp__badges .lx-icon { color: var(--lx-teal); }
.lx-pdp__badges .label-mono { color: rgba(0,45,46,.6); }
.lx-pdp__ruo { margin-top: 2rem; border: 2px solid rgba(193,39,45,.4); background: rgba(193,39,45,.05); padding: 1.25rem; text-align: center; }
.lx-pdp__ruo .label-mono { color: #c1272d; }
.lx-pdp__desc { margin-top: 2rem; }
.lx-pdp__desc p + p, .lx-pdp__desc h2 + p { margin-top: .75rem !important; font-size: .875rem; line-height: 1.625; color: rgba(0,45,46,.7); white-space: pre-line; }
@media (min-width: 640px) {
  .lx-pdp__inner { padding: 10rem 2rem 4rem; }
  .lx-pdp__grid { margin-top: 2rem; gap: 3rem; }
  .lx-pdp__title { margin-top: .75rem !important; font-size: 3rem; line-height: 1; }
  .lx-pdp__dose { font-size: 1.125rem; line-height: 1.75rem; }
  .lx-pdp__lead { margin-top: 1rem !important; font-size: 1rem; line-height: 1.5rem; }
  .lx-pdp__options { padding: 1.25rem; }
  .lx-pdp__buy { flex-direction: row; align-items: center; }
}
@media (min-width: 1024px) {
  .lx-pdp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; }
  .lx-pdp__media { position: sticky; top: 7rem; align-self: start; }
}

/* ── COA library ──────────────────────────────────────────── */
.lx-coa { max-width: 64rem; margin: 0 auto; padding: 9rem 1.5rem 5rem; }
.lx-coa__eyebrow { display: flex; align-items: center; gap: .75rem; color: var(--lx-teal); }
.lx-coa__eyebrow .label-mono { color: var(--lx-teal); }
.lx-coa__title { margin-top: 1rem !important; font-family: var(--lx-font-display); font-size: 2.25rem; line-height: 2.5rem; font-weight: 300; color: var(--lx-fg); text-wrap: balance; }
.lx-coa__title em { font-style: italic; color: var(--lx-teal); }
.lx-coa__lead { margin-top: 1.25rem !important; max-width: 42rem; font-size: 1rem; line-height: 1.625; color: rgba(0,45,46,.65); }
.lx-coa__table { margin-top: 3rem; overflow: hidden; border: 1px solid var(--lx-border); background: var(--lx-card); }
.lx-coa__table ul { margin: 0; padding: 0; list-style: none; }
.lx-coa__row { display: grid; grid-template-columns: 1fr; gap: .5rem; padding: 1.25rem 1.5rem; transition: background .15s; }
.lx-coa__table li + li { border-top: 1px solid var(--lx-border); }
.lx-coa__table li:hover { background: hsl(180 48% 92% / .2); }
.lx-coa__row--head { display: none; border-bottom: 1px solid var(--lx-border); background: hsl(180 48% 92% / .4); padding-top: 1rem; padding-bottom: 1rem; }
.lx-coa__row--head .label-mono { color: rgba(0,45,46,.5); }
.lx-coa__right { text-align: right; }
.lx-coa__product { font-family: var(--lx-font-display); font-size: 1.125rem; line-height: 1.75rem; color: var(--lx-fg); }
.lx-coa__dose { font-size: .875rem; line-height: 1.25rem; color: rgba(0,45,46,.5); }
.lx-coa__batch { font-family: var(--lx-font-mono); font-size: .875rem; line-height: 1.25rem; color: rgba(0,45,46,.7); }
.lx-coa__date { font-size: .875rem; line-height: 1.25rem; color: rgba(0,45,46,.6); }
.lx-coa__purity { font-size: .875rem; line-height: 1.25rem; font-weight: 500; color: var(--lx-teal); }
.lx-coa__link {
  display: flex; align-items: center; justify-content: flex-start; gap: .5rem;
  border: 1px solid var(--lx-border); padding: .625rem 1rem;
  font-size: .875rem; line-height: 1.25rem; font-weight: 500; color: rgba(0,45,46,.7) !important; transition: color .15s, border-color .15s;
}
.lx-coa__link:hover { border-color: rgba(0,122,124,.4); color: var(--lx-teal) !important; }
.lx-coa__link .lx-icon { width: 1rem; height: 1rem; }
.lx-coa__link .lx-icon--dim { width: .75rem; height: .75rem; opacity: .5; }
.lx-coa__help { margin-top: 2rem !important; font-size: .875rem; line-height: 1.625; color: rgba(0,45,46,.45); }
.lx-coa__help a { color: var(--lx-teal) !important; text-underline-offset: 2px; }
.lx-coa__help a:hover { text-decoration: underline; }
@media (min-width: 640px) {
  .lx-coa { padding-left: 2rem; padding-right: 2rem; }
  .lx-coa__title { font-size: 3rem; line-height: 1; }
  .lx-coa__row, .lx-coa__row--head { grid-template-columns: 1.5fr 1fr 1fr 1fr auto; align-items: center; gap: 1rem; }
  .lx-coa__row--head { display: grid; }
  .lx-coa__link { justify-content: flex-end; }
}
/* WooCommerce focuses notices for screen readers; no visible ring needed. */
.woocommerce-message:focus, .woocommerce-error:focus, .woocommerce-info:focus,
.woocommerce-NoticeGroup:focus, .woocommerce-notices-wrapper:focus { outline: none !important; }

/* ── Shop ─────────────────────────────────────────────────── */
.lx-shop__head { max-width: 80rem; margin: 0 auto; padding: 7rem 1.25rem 4rem; }
.lx-shop__title { margin-top: .75rem !important; font-family: var(--lx-font-display); font-size: 2.25rem; line-height: 1.25; font-weight: 300; color: var(--lx-fg); }
.lx-shop__title em { font-style: italic; color: var(--lx-teal); }
.lx-shop__lead { margin-top: 1.25rem !important; max-width: 36rem; font-size: .875rem; line-height: 1.625; color: rgba(0,45,46,.7); }
.lx-shop__tabs { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .5rem; border-bottom: 1px solid var(--lx-border); padding-bottom: 1rem; }
.lx-shop__tabs a { border-radius: 9999px; padding: .5rem 1rem; color: rgba(0,45,46,.6) !important; transition: all .15s cubic-bezier(.4,0,.2,1); }
.lx-shop__tabs a:hover { color: var(--lx-fg) !important; }
.lx-shop__tabs a.is-active { background: var(--lx-teal); color: #fff !important; }
.lx-shop__body { max-width: 80rem; margin: 0 auto; padding: 0 1.25rem 5rem; }
.lx-shop__body .lx-notices { margin: 0 0 1.5rem; }
.lx-shop__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.lx-shop__grid .lx-card[hidden] { display: none; }
@media (min-width: 640px) {
  .lx-shop__head { padding: 10rem 2rem 4rem; }
  .lx-shop__title { margin-top: 1rem !important; font-size: 3.75rem; line-height: 1; }
  .lx-shop__lead { margin-top: 1.5rem !important; font-size: 1rem; line-height: 1.5rem; }
  .lx-shop__tabs { margin-top: 2.5rem; }
  .lx-shop__body { padding: 0 2rem 6rem; }
  .lx-shop__grid { gap: 1.5rem; }
}
@media (min-width: 1024px) { .lx-shop__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .lx-shop__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ── The Tide Journal ─────────────────────────────────────── */
.lx-journal-page__head { max-width: 80rem; margin: 0 auto; padding: 8rem 1.5rem 4rem; }
.lx-journal-page__title { margin-top: 1rem !important; font-family: var(--lx-font-display); font-size: 3rem; line-height: 1.25; font-weight: 300; color: var(--lx-fg); }
.lx-journal-page__title em { font-style: italic; color: var(--lx-teal); }
.lx-journal-page__lead { margin-top: 1.5rem !important; max-width: 36rem; font-size: 1rem; line-height: 1.625; color: rgba(0,45,46,.7); }
.lx-journal-page__body { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem 6rem; }
.lx-feature { display: grid; margin-bottom: 4rem; overflow: hidden; border: 1px solid var(--lx-border); background: var(--lx-card); color: var(--lx-fg) !important; }
.lx-feature__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--lx-muted); }
.lx-feature__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.4,0,.2,1); }
.lx-feature:hover .lx-feature__media img { transform: scale(1.05); }
.lx-feature__media.lx-post__media--brand img { width: auto; height: 42%; object-fit: contain; }
.lx-feature__body { display: flex; flex-direction: column; justify-content: center; padding: 2rem; }
.lx-feature__title { margin-top: 1rem !important; font-family: var(--lx-font-display); font-size: 1.875rem; line-height: 1.25; font-weight: 300; color: var(--lx-fg); }
.lx-feature__excerpt { margin-top: 1.25rem !important; font-size: 1rem; line-height: 1.625; color: rgba(0,45,46,.7); }
.lx-feature__read { margin-top: 2rem; color: rgba(0,45,46,.5); transition: color .15s; }
.lx-feature:hover .lx-feature__read { color: var(--lx-teal); }
.lx-journal-page__grid { display: grid; gap: 2rem; }
.lx-post__excerpt--3 { -webkit-line-clamp: 3; }
@media (min-width: 640px) {
  .lx-journal-page__head { padding: 10rem 2rem 4rem; }
  .lx-journal-page__title { font-size: 3.75rem; line-height: 1; }
  .lx-journal-page__body { padding: 0 2rem 6rem; }
  .lx-feature__body { padding: 3rem; }
  .lx-feature__title { font-size: 2.25rem; line-height: 2.5rem; }
}
@media (min-width: 768px) { .lx-journal-page__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .lx-feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-feature__media { aspect-ratio: auto; }
  .lx-journal-page__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── Journal article ──────────────────────────────────────── */
.lx-article { max-width: 48rem; margin: 0 auto; padding: 8rem 1.5rem 6rem; }
.lx-article__cats { margin-top: 2rem !important; }
.lx-article__title { margin-top: 1rem !important; font-family: var(--lx-font-display); font-size: 2.25rem; line-height: 1.25; font-weight: 300; color: var(--lx-fg); text-wrap: balance; }
.lx-article__meta { margin-top: 1.25rem; display: flex; align-items: center; gap: .75rem; font-size: .875rem; line-height: 1.25rem; color: rgba(0,45,46,.5); }
.lx-article__media { margin-top: 2.5rem; overflow: hidden; }
.lx-article__media img { display: block; width: 100%; height: auto; } /* full image, uncropped */
.lx-article__lead { margin-top: 2.5rem !important; font-family: var(--lx-font-display); font-size: 1.25rem; line-height: 1.625; font-weight: 300; font-style: italic; color: rgba(0,45,46,.8); }
.lx-article__body { margin-top: 2rem; font-size: 1rem; line-height: 1.8; color: rgba(0,45,46,.8); }
.lx-article__body p { margin: 0 0 1.25rem !important; line-height: 1.8; }
.lx-article__body h2, .lx-article__body h3 { margin: 2.5rem 0 1rem !important; font-family: var(--lx-font-display); font-weight: 300; color: var(--lx-fg); }
.lx-article__body h2 { font-size: 1.875rem; line-height: 1.25; }
.lx-article__body h3 { font-size: 1.5rem; line-height: 1.3; }
.lx-article__body ol, .lx-article__body ul { margin: 0 0 1.25rem 1.5rem !important; padding: 0; }
.lx-article__body ol { list-style: decimal; }
.lx-article__body ul { list-style: disc; }
.lx-article__body li { margin-bottom: .5rem; line-height: 1.625; }
.lx-article__body a { color: var(--lx-teal) !important; text-decoration: underline; text-underline-offset: 2px; }
.lx-article__body img { max-width: 100%; height: auto; }
.lx-article__body blockquote { margin: 2rem 0; padding-left: 1.25rem; border-left: 2px solid var(--lx-gold); font-family: var(--lx-font-display); font-style: italic; }
@media (min-width: 640px) {
  .lx-article { padding: 10rem 2rem 6rem; }
  .lx-article__title { font-size: 3rem; line-height: 1; }
}

/* ── About / Posture ──────────────────────────────────────── */
.lx-about__head, .lx-about__statement, .lx-about__standard { max-width: 64rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.lx-about__head { padding-top: 8rem; padding-bottom: 3rem; }
.lx-about__statement { padding-bottom: 4rem; }
.lx-about__standard { padding-bottom: 6rem; }
.lx-about__title { margin-top: 1rem !important; font-family: var(--lx-font-display); font-size: 3rem; line-height: 1.25; font-weight: 300; color: var(--lx-fg); }
.lx-about__title--sm { font-size: 2.25rem; }
.lx-about__title em, .lx-about__h2 em { font-style: italic; color: var(--lx-teal); }
.lx-about__ruo { margin-top: 1.5rem !important; color: rgba(0,45,46,.55); }
.lx-about__card { border: 1px solid var(--lx-border); background: var(--lx-card); padding: 1.5rem; }
.lx-about__h2 { margin-top: .75rem !important; font-family: var(--lx-font-display); font-size: 1.875rem; line-height: 1.375; font-weight: 300; color: var(--lx-fg); }
.lx-about__cols { margin-top: 2.5rem; display: grid; gap: 2.5rem; }
.lx-about__label { display: flex; align-items: center; gap: .5rem; }
.lx-about__dot { display: flex; width: 1.5rem; height: 1.5rem; align-items: center; justify-content: center; border-radius: 9999px; }
.lx-about__dot .lx-icon { width: .875rem; height: .875rem; }
.lx-about__col--is .lx-about__dot { background: rgba(0,122,124,.15); color: var(--lx-teal); }
.lx-about__col--is .label-mono { color: var(--lx-teal); }
.lx-about__col--isnt .lx-about__dot { background: rgba(193,39,45,.12); color: #c1272d; }
.lx-about__col--isnt .label-mono { color: #c1272d; }
.lx-about__col ul { margin-top: 1.25rem !important; }
.lx-about__col li { display: flex; gap: .75rem; font-size: .875rem; line-height: 1.625; color: rgba(0,45,46,.75); }
.lx-about__col li + li { margin-top: 1.25rem; }
.lx-about__bullet { margin-top: .5rem; width: .25rem; height: .25rem; flex-shrink: 0; border-radius: 9999px; }
.lx-about__col--is .lx-about__bullet { background: rgba(0,122,124,.5); }
.lx-about__col--isnt .lx-about__bullet { background: rgba(193,39,45,.5); }
.lx-about__lead { margin-top: 1.5rem !important; max-width: 42rem; font-size: 1rem; line-height: 1.625; color: rgba(0,45,46,.7); }
.lx-about__lead a { font-family: var(--lx-font-mono); color: var(--lx-teal) !important; text-underline-offset: 4px; }
.lx-about__lead a:hover { text-decoration: underline; }
.lx-about__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.lx-about__btn {
  border: 1px solid var(--lx-border); padding: .875rem 1.75rem;
  font-size: .75rem; line-height: 1rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(0,45,46,.7) !important; transition: all .15s;
}
.lx-about__btn:hover { color: var(--lx-fg) !important; }
.lx-about__btn--primary { border-color: var(--lx-teal); background: var(--lx-teal); color: #fff !important; }
.lx-about__btn--primary:hover { background: var(--lx-teal-dark); color: #fff !important; }
@media (min-width: 640px) {
  .lx-about__head, .lx-about__statement, .lx-about__standard { padding-left: 2rem; padding-right: 2rem; }
  .lx-about__head { padding-top: 10rem; }
  .lx-about__title { font-size: 3.75rem; line-height: 1; }
  .lx-about__title--sm { font-size: 3rem; }
  .lx-about__card { padding: 2.5rem; }
  .lx-about__h2 { font-size: 2.25rem; line-height: 2.5rem; }
}
@media (min-width: 1024px) { .lx-about__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── Cart / checkout / account ────────────────────────────── */
.woocommerce-cart .site-main, .woocommerce-checkout .site-main, .woocommerce-account .site-main { max-width: 64rem; margin: 0 auto; }
.lx-page-head { margin-bottom: 3rem; }
.lx-page-head .lx-eyebrow { margin: 0; }
.lx-page-head__title { margin: .75rem 0 0 !important; font-family: var(--lx-font-display); font-size: 3rem !important; line-height: 1 !important; font-weight: 300; color: var(--lx-fg); }
.lx-page-head__title em { font-style: italic; color: var(--lx-teal); }
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button, .wc-block-cart__submit-button:hover { text-decoration: none !important; }
.wp-block-woocommerce-cart .wc-block-components-product-name { font-family: var(--lx-font-display); color: var(--lx-fg) !important; text-decoration: none; }
.wc-block-components-totals-item__label, .wc-block-cart-items__header { font-family: var(--lx-font-mono); font-size: .6875rem !important; letter-spacing: .18em; text-transform: uppercase; color: rgba(0,45,46,.55); }
.lx-empty-cart { border: 1px solid var(--lx-border); background: var(--lx-card); padding: 3.5rem 1.5rem; text-align: center; }
.lx-empty-cart p { margin: 0; color: rgba(0,45,46,.6); }
.lx-empty-cart__btn {
  margin-top: 1.5rem; display: inline-flex; align-items: center; gap: .5rem;
  background: var(--lx-teal); padding: 1rem 2rem; color: #fff !important; text-decoration: none !important;
  font-size: .875rem; line-height: 1.25rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; transition: background .15s;
}
.lx-empty-cart__btn:hover { background: var(--lx-teal-dark); }
.lx-empty-cart__btn .lx-icon { width: 1rem; height: 1rem; }
.woocommerce-cart .site-main { max-width: 60rem; }
.woocommerce-cart .wp-block-woocommerce-cart.alignwide,
.woocommerce-checkout .wp-block-woocommerce-checkout.alignwide { margin-left: 0 !important; margin-right: 0 !important; width: auto !important; max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; }

/* ── Card COA preview (hover on desktop, press-and-hold on touch) ── */
.lx-card__media { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.lx-card__badge { z-index: 1; }
.lx-peek {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: .75rem;
  background: linear-gradient(to top, rgba(0,45,46,.96) 0%, rgba(0,45,46,.9) 55%, rgba(0,45,46,.72) 100%);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  color: var(--lx-cream);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.lx-card.is-peeking .lx-peek { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: hover) and (pointer: fine) {
  .lx-card__media:hover .lx-peek { opacity: 1; transform: none; pointer-events: auto; }
}
.lx-peek__head { display: flex; align-items: center; gap: .375rem; }
.lx-peek__head .lx-icon { width: .875rem; height: .875rem; color: var(--lx-gold); }
.lx-peek__head .label-mono { font-size: 8px; color: var(--lx-gold); }
.lx-peek__rows { margin: .5rem 0 0 !important; }
.lx-peek__rows > div { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; padding: .3rem 0; border-top: 1px solid rgba(224,244,244,.14); }
.lx-peek__rows > div:nth-child(4) { display: none; }
.lx-peek__rows dt { font-size: 8px; color: rgba(224,244,244,.6); flex-shrink: 0; }
.lx-peek__rows dd { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--lx-font-mono); font-size: 10px; line-height: 1.3; color: #fff; }
.lx-peek__rows > div:first-child dd { color: #7fd6d7; font-weight: 700; }
.lx-peek__note { margin-top: .5rem !important; font-size: 10px; line-height: 1.4; color: rgba(224,244,244,.7); }
.lx-peek__link {
  margin-top: .625rem;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  border: 1px solid rgba(196,169,122,.55);
  border-radius: 9999px;
  padding: .3rem .7rem;
  font-size: 8px;
  color: var(--lx-gold);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.lx-peek__link:hover { background: var(--lx-gold); color: var(--lx-dark-teal); }
.lx-peek__link .lx-icon { width: .625rem; height: .625rem; }
@media (min-width: 640px) {
  .lx-peek { padding: 1.25rem; }
  .lx-peek__head .label-mono { font-size: 10px; }
  .lx-peek__rows { margin-top: .75rem !important; }
  .lx-peek__rows > div { padding: .45rem 0; }
  .lx-peek__rows > div:nth-child(4) { display: flex; }
  .lx-peek__rows dt { font-size: 10px; }
  .lx-peek__rows dd { font-size: .75rem; }
  .lx-peek__note { font-size: .75rem; }
  .lx-peek__link { margin-top: .875rem; padding: .4rem .9rem; font-size: 10px; }
  .lx-peek__link .lx-icon { width: .75rem; height: .75rem; }
}

/* ── Legal pages (Terms, Privacy, Shipping, Refunds) ──────── */
.lx-legal { max-width: 48rem; margin: 0 auto; padding: 8rem 1.5rem 6rem; }
.lx-legal__title { margin-top: 1rem !important; font-family: var(--lx-font-display); font-size: 3rem; line-height: 1.25; font-weight: 300; color: var(--lx-fg); }
.lx-legal__title em { font-style: italic; color: var(--lx-teal); }
.lx-legal__lead { margin-top: 1.25rem !important; max-width: 42rem; font-size: 1rem; line-height: 1.625; color: rgba(0,45,46,.65); }
.lx-legal__revised { margin-top: .75rem !important; font-size: .75rem; line-height: 1rem; color: rgba(0,45,46,.45); }
.lx-legal__ruo { margin-top: 1rem; border: 1px solid rgba(193,39,45,.3); background: rgba(193,39,45,.05); padding: .75rem; }
.lx-legal__ruo .label-mono { color: #c1272d; }
.lx-legal__body { margin-top: 2.5rem; }
.lx-legal__body > * + * { margin-top: 2.5rem !important; }
.lx-legal__body > p { padding-top: 1.5rem; font-size: .75rem !important; line-height: 1.625; color: rgba(0,45,46,.5) !important; }
.lx-legal__body section { scroll-margin-top: 10rem; }
.lx-legal__body h2 { font-family: var(--lx-font-display); font-size: 1.5rem; line-height: 2rem; font-weight: 400; color: var(--lx-fg); }
.lx-legal__body h3 { margin-top: 1.5rem !important; font-family: var(--lx-font-display); font-size: 1.125rem; line-height: 1.75rem; font-weight: 400; color: var(--lx-fg); }
.lx-legal__body p { margin-top: 1rem !important; font-size: .875rem; line-height: 1.625; color: rgba(0,45,46,.7); }
.lx-legal__body ul { margin-top: 1rem !important; font-size: .875rem; line-height: 1.625; color: rgba(0,45,46,.7); }
.lx-legal__body li + li { margin-top: .75rem; }
.lx-legal__body strong { font-weight: 700; color: var(--lx-fg); }
.lx-legal__body a { color: var(--lx-teal) !important; font-weight: 500; text-decoration: underline; }
@media (min-width: 640px) {
  .lx-legal { padding: 10rem 2rem 6rem; }
  .lx-legal__title { font-size: 3.75rem; line-height: 1; }
}

/* ── Research solution calculator ─────────────────────────── */
.lx-calc__head, .lx-calc__main { max-width: 64rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.lx-calc__head { padding-top: 8rem; padding-bottom: 4rem; }
.lx-calc__main { padding-bottom: 6rem; }
.lx-calc__title { margin-top: 1rem !important; font-family: var(--lx-font-display); font-size: 3rem; line-height: 1.25; font-weight: 300; color: var(--lx-fg); }
.lx-calc__title em { font-style: italic; color: var(--lx-teal); }
.lx-calc__lead { margin-top: 1.5rem !important; max-width: 42rem; font-size: 1rem; line-height: 1.625; color: rgba(0,45,46,.7); }
.lx-calc__grid { display: grid; gap: 1.5rem; }
.lx-calc__card { border: 1px solid var(--lx-border); background: var(--lx-card); padding: 1.5rem; }
.lx-calc__label { display: block; margin-top: 1.5rem; color: rgba(0,45,46,.6); }
.lx-calc__card > .lx-eyebrow + .lx-calc__label { margin-top: 1.5rem; }
.lx-calc__row { margin-top: .5rem; display: flex; gap: .5rem; }
.lx-calc__row .lx-input:first-child { flex: 1 1 0%; }
.lx-calc .lx-input {
  width: 100%; margin-top: .5rem;
  border: 1px solid var(--lx-border) !important; border-radius: 0 !important;
  background: var(--lx-bg) !important; box-shadow: none !important;
  padding: .75rem 1rem !important; font-family: var(--lx-font-body); font-size: .875rem; color: var(--lx-fg);
}
.lx-calc__row .lx-input { margin-top: 0; }
.lx-calc .lx-input:focus { border-color: var(--lx-teal) !important; outline: none; }
.lx-calc .lx-input--unit { width: 6rem; flex: none; cursor: pointer; }
.lx-calc .lx-input--static { display: flex; align-items: center; justify-content: center; background: rgba(224,244,244,.6) !important; color: var(--lx-teal); cursor: default; }
.lx-calc__hint { margin-top: .5rem !important; font-size: .75rem; line-height: 1rem; color: rgba(0,45,46,.4); }
.lx-calc__result { padding: 1.25rem 0; }
.lx-calc__result + .lx-calc__result { border-top: 1px solid var(--lx-border); }
.lx-calc__card > .lx-eyebrow + .lx-calc__result { padding-top: 1.5rem; }
.lx-calc__result .label-mono { color: rgba(0,45,46,.6); }
.lx-calc__sub { margin-top: .125rem !important; font-size: .75rem; color: rgba(0,45,46,.4); }
.lx-calc__value { margin-top: .75rem !important; font-family: var(--lx-font-display); font-size: 1.5rem; line-height: 2rem; color: var(--lx-teal); }
.lx-calc__error { margin-top: .5rem !important; font-size: .75rem; color: var(--lx-destructive); }
.lx-calc__model { margin-top: 1.5rem; }
.lx-calc__formula { margin-top: .75rem !important; font-size: .875rem; line-height: 1.625; color: rgba(0,45,46,.7); }
.lx-calc__model .hairline { margin: 1.5rem 0; }
.lx-calc__legal { font-size: .75rem; line-height: 1.625; color: rgba(0,45,46,.55); }
.lx-calc__legal strong { color: var(--lx-fg); font-weight: 600; }
@media (min-width: 640px) {
  .lx-calc__head, .lx-calc__main { padding-left: 2rem; padding-right: 2rem; }
  .lx-calc__head { padding-top: 10rem; }
  .lx-calc__title { font-size: 3.75rem; line-height: 1; }
  .lx-calc__card { padding: 2rem; }
}
@media (min-width: 768px) { .lx-calc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── Order tracking ───────────────────────────────────────── */
.lx-track { max-width: 56rem; margin: 0 auto; padding: 8rem 1.25rem 6rem; }
.lx-track__crumbs { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: rgba(0,45,46,.5); }
.lx-track__crumbs a { color: rgba(0,45,46,.5) !important; }
.lx-track__crumbs a:hover { color: var(--lx-teal) !important; }
.lx-track__crumbs span.label-mono { color: var(--lx-teal); }
.lx-track > .lx-eyebrow { margin-top: 1rem !important; }
.lx-track__title { margin-top: .5rem !important; font-family: var(--lx-font-display); font-size: 2.25rem; line-height: 1.25; font-weight: 300; color: var(--lx-fg); }
.lx-track__title em { font-style: italic; color: var(--lx-teal); }
.lx-track__lead { margin-top: .75rem !important; font-size: .875rem; line-height: 1.625; color: rgba(0,45,46,.65); }
.lx-track__card { margin-top: 2rem; border-radius: 1rem; border: 1px solid var(--lx-border); background: var(--lx-card); padding: 1rem; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.lx-track__card .woocommerce { font-size: .875rem; color: rgba(0,45,46,.75); }
.lx-track__card .track_order > p:first-child { margin: 0 0 1rem !important; color: rgba(0,45,46,.6); }
.lx-track__card .track_order { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; }
.lx-track__card .track_order > p:first-child, .lx-track__card .track_order .clear { flex-basis: 100%; }
.lx-track__card .track_order .form-row { flex: 1 1 14rem; width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; }
.lx-track__card .track_order .form-row:last-of-type { flex: 0 0 auto; }
.lx-track__card label { display: block; margin-bottom: .375rem; font-family: var(--lx-font-mono); font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(0,45,46,.55); }
.lx-track__card input.input-text {
  width: 100%; border: 1px solid var(--lx-border) !important; border-radius: .75rem !important; background: var(--lx-bg) !important;
  box-shadow: none !important; padding: .875rem 1rem !important; font-size: .875rem; color: var(--lx-fg);
}
.lx-track__card input.input-text:focus { border-color: var(--lx-teal) !important; outline: none; }
.lx-track__card button.button { border-radius: .75rem !important; padding: .9rem 1.75rem !important; font-size: .75rem !important; font-weight: 600 !important; }
.lx-track__card .woocommerce-order-details, .lx-track__card .woocommerce-customer-details { margin-top: 1.5rem; }
.lx-track__card h2 { font-family: var(--lx-font-display); font-weight: 300; font-size: 1.5rem; color: var(--lx-fg); }
@media (min-width: 640px) {
  .lx-track { padding: 10rem 2rem 6rem; }
  .lx-track__title { font-size: 3rem; line-height: 1; }
  .lx-track__lead { font-size: 1rem; line-height: 1.5rem; }
  .lx-track__card { padding: 1.5rem; }
}
.lx-track__card .track_order > p:first-child { display: none; }
/* Section labels on the product page are real H2s, styled as the small mono labels. */
.lx-pdp h2.label-mono {
  margin: 0 !important; font-family: var(--lx-font-mono) !important; font-size: .6875rem !important; line-height: 1.5 !important;
  font-weight: 400 !important; letter-spacing: .18em !important; text-transform: uppercase; color: rgba(0,45,46,.5) !important;
}
.lx-journal-page__head .lx-eyebrow a { color: inherit !important; }

/* ── Research-use notice on cart / checkout ───────────────── */
.lx-ruo-notice {
  display: flex; align-items: flex-start; gap: .75rem;
  margin: 0 0 2rem; padding: 1rem 1.25rem;
  border: 1px solid rgba(193,39,45,.3); background: rgba(193,39,45,.05);
  font-size: .875rem; line-height: 1.6; color: rgba(0,45,46,.8);
}
.lx-ruo-notice .lx-icon { flex: none; margin-top: .15rem; color: #c1272d; }
.lx-ruo-notice p { margin: 0; }
.lx-ruo-notice .label-mono { display: block; margin-bottom: .25rem; color: #c1272d; }
.lx-ruo-notice strong { color: var(--lx-fg); }
.lx-ruo-notice a { color: var(--lx-teal) !important; text-decoration: underline; }

/* ── Same-day shipping cutoff ─────────────────────────────── */
.lx-ship-eta { display: flex; align-items: flex-start; gap: .75rem; border: 1px solid rgba(0,122,124,.25); background: rgba(224,244,244,.35); padding: .875rem 1.125rem; }
.lx-ship-eta .lx-icon { flex: none; margin-top: .1rem; color: var(--lx-teal); }
.lx-ship-eta p { margin: 0; }
.lx-ship-eta strong { display: block; font-size: .875rem; line-height: 1.4; font-weight: 600; color: var(--lx-fg); }
.lx-ship-eta [data-eta-detail] { display: block; margin-top: .125rem; font-size: .75rem; line-height: 1.4; color: rgba(0,45,46,.6); }
.lx-ship-eta--product { margin-top: 1rem; }
.lx-ship-eta--cart { margin: -1rem 0 2rem; }
/* Live countdown: fixed-width ticking digits, stronger emphasis while it's running. */
.lx-ship-eta.is-live { border-color: rgba(0,122,124,.45); background: rgba(224,244,244,.6); }
.lx-ship-eta .lx-ship-eta__clock {
  display: inline-block; min-width: 5.4em; padding: .05rem .4rem; margin: 0 .1rem;
  border-radius: .25rem; background: var(--lx-teal); color: #fff;
  font-family: var(--lx-font-mono); font-weight: 700; font-variant-numeric: tabular-nums; text-align: center; letter-spacing: .02em;
}

/* In-page jumps (/#story, /#catalog) stop below the fixed header with ~48px of headroom.
   Section padding (4rem / 6rem) + this margin puts the eyebrow just under the header. */
#story, #catalog { scroll-margin-top: 5.5rem; }
@media (min-width: 640px) { #story, #catalog { scroll-margin-top: 6rem; } }

/* Seven menu items only fit on one line from 1024px; below that, use the menu button. */
.lx-navbar__nav a { white-space: nowrap; }
@media (min-width: 768px) and (max-width: 1023px) {
  .lx-navbar__nav { display: none; }
  .lx-navbar__toggle { display: flex; }
  #masthead.is-menu-open .lx-mobile-nav { display: flex; }
}
/* Open mobile menu: solid panel so page content doesn't show through. */
#masthead.is-menu-open .lx-navbar { background: #f8f6f1; box-shadow: 0 12px 24px -12px rgba(0,45,46,.25); transition: none; }

/* ── Newsletter optin (FluentCRM) ─────────────────────────── */
.lx-optin p { margin: 0; }
.lx-optin__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lx-optin__title { margin: .5rem 0 0 !important; font-family: var(--lx-font-display); font-weight: 300; line-height: 1.15; color: var(--lx-fg); letter-spacing: normal; }
.lx-optin__title em { font-style: italic; color: var(--lx-teal); }
.lx-optin__lead { margin-top: .75rem !important; font-size: .9375rem; line-height: 1.6; color: rgba(0,45,46,.7); }
.lx-optin__form { display: grid; grid-template-columns: 1fr; gap: .625rem; align-items: start; }
.lx-optin__input {
  width: 100%; height: 3rem; padding: 0 1rem !important; border-radius: 0 !important;
  border: 1px solid var(--lx-border) !important; background: var(--lx-card) !important; box-shadow: none !important;
  font-family: var(--lx-font-body); font-size: .9375rem; color: var(--lx-fg);
}
.lx-optin__input:focus { border-color: var(--lx-teal) !important; outline: none; }
.lx-optin__btn {
  height: 3rem; padding: 0 1.75rem !important; border: 0 !important; border-radius: 0 !important; cursor: pointer;
  background: var(--lx-teal) !important; color: #fff !important; white-space: nowrap;
  font-family: var(--lx-font-body) !important; font-size: .8125rem !important; font-weight: 500 !important; letter-spacing: .18em !important; text-transform: uppercase;
  transition: background .15s;
}
.lx-optin__btn:hover { background: var(--lx-teal-dark) !important; }
.lx-optin__btn:disabled { opacity: .6; cursor: default; }
.lx-optin__status { grid-column: 1 / -1; min-height: 1.25rem; font-size: .8125rem; line-height: 1.4; color: rgba(0,45,46,.65); }
.lx-optin__status.is-ok { color: var(--lx-teal); font-weight: 600; }
.lx-optin__status.is-error { color: var(--lx-destructive); }
.lx-optin__form.is-done .lx-optin__input { opacity: .55; }
@media (min-width: 640px) {
  .lx-optin__form { grid-template-columns: 1fr 1.4fr auto; }
}

/* Band: homepage, below the hero */
.lx-optin--band {
  max-width: 80rem; margin: 0 auto; padding: 3rem 1.25rem;
  display: grid; gap: 1.5rem; align-items: center;
}
.lx-optin--band .lx-optin__title { font-size: 1.875rem; }
@media (min-width: 640px) { .lx-optin--band { padding: 3.5rem 2rem; } .lx-optin--band .lx-optin__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .lx-optin--band { grid-template-columns: 1fr 1.25fr; gap: 3rem; } }
.lx-home .lx-optin--band { border-bottom: 1px solid var(--lx-border); }

/* Footer: light text on the dark footer */
.lx-optin--footer {
  display: grid; gap: 1.25rem; align-items: center;
  padding-bottom: 3rem; margin-bottom: 3rem; border-bottom: 1px solid rgba(224,244,244,.12);
}
.lx-optin--footer .lx-eyebrow { color: rgba(196,169,122,.8) !important; }
.lx-optin--footer .lx-optin__title { font-size: 1.5rem; color: #fff; }
.lx-optin--footer .lx-optin__lead { margin-top: .375rem !important; font-size: .875rem; color: rgba(224,244,244,.65); }
.lx-optin--footer .lx-optin__input { background: rgba(224,244,244,.06) !important; border-color: rgba(224,244,244,.2) !important; color: #fff; }
.lx-optin--footer .lx-optin__input::placeholder { color: rgba(224,244,244,.45); }
.lx-optin--footer .lx-optin__input:focus { border-color: var(--lx-gold) !important; }
.lx-optin--footer .lx-optin__status { color: rgba(224,244,244,.7); }
.lx-optin--footer .lx-optin__status.is-ok { color: var(--lx-gold); }
.lx-optin--footer .lx-optin__status.is-error { color: #ff9b9b; }
@media (min-width: 1024px) { .lx-optin--footer { grid-template-columns: 1fr 1.4fr; gap: 3rem; } }

/* Landing page: /welcome */
.lx-optin--page { max-width: 40rem; margin: 0 auto; padding: 9rem 1.5rem 7rem; text-align: center; }
.lx-optin--page .lx-optin__title { margin-top: 1rem !important; font-size: 2.75rem; line-height: 1.05; }
.lx-optin--page .lx-optin__lead { margin: 1.25rem auto 0 !important; max-width: 34rem; font-size: 1rem; }
.lx-optin--page .lx-optin__form { margin-top: 2.5rem; grid-template-columns: 1fr; text-align: left; }
.lx-optin--page .lx-optin__btn { width: 100%; }
@media (min-width: 640px) { .lx-optin--page { padding-top: 11rem; } .lx-optin--page .lx-optin__title { font-size: 3.75rem; } }

/* ── FAQ (page + homepage/shop section) ───────────────────── */
.lx-faq__group { margin-top: 3rem; }
.lx-faq__group-title { margin: 0 0 1rem !important; font-family: var(--lx-font-display); font-size: 1.5rem; font-weight: 400; color: var(--lx-fg); }
.lx-faq__item { border-top: 1px solid var(--lx-border); }
.lx-faq__item:last-child { border-bottom: 1px solid var(--lx-border); }
.lx-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.125rem 0; }
.lx-faq__item summary::-webkit-details-marker { display: none; }
.lx-faq__item summary::after { content: '+'; flex: none; font-family: var(--lx-font-mono); font-size: 1.25rem; color: var(--lx-teal); transition: transform .2s; }
.lx-faq__item[open] summary::after { transform: rotate(45deg); }
.lx-faq__q { margin: 0 !important; font-family: var(--lx-font-display) !important; font-size: 1.125rem !important; line-height: 1.4 !important; font-weight: 400 !important; color: var(--lx-fg); letter-spacing: normal !important; }
.lx-faq__a { padding: 0 0 1.25rem; font-size: .9375rem; line-height: 1.7; color: rgba(0,45,46,.75); }
.lx-faq__a p { margin: 0 !important; }
.lx-faq__a a { color: var(--lx-teal) !important; text-decoration: underline; }
.lx-faq-band { background: var(--lx-bg); }
.lx-faq--band { margin-top: 2rem; }
.lx-faq-band__more { margin-top: 1.5rem !important; }

/* ── Prose pages (about / why) ────────────────────────────── */
.lx-doc .lx-legal__body ul { list-style: disc; padding-left: 1.25rem; }
.lx-doc .lx-legal__body li + li { margin-top: .5rem; }
.lx-doc .lx-legal__body h3 { margin-top: 1.25rem !important; }

/* ── Product page: lab verification + related links ───────── */
.lx-lab { margin-top: 2rem; border: 1px solid rgba(0,122,124,.35); background: rgba(224,244,244,.35); padding: 1.25rem; }
.lx-lab.is-pending { border-color: var(--lx-border); background: var(--lx-card); }
.lx-pdp .lx-lab__title { display: flex; align-items: center; gap: .5rem; margin: 0 !important; font-family: var(--lx-font-display); font-size: 1.125rem; font-weight: 400; color: var(--lx-fg); }
.lx-lab__title .lx-icon { color: var(--lx-teal); }
.lx-lab__grid { margin-top: 1rem !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; }
.lx-lab__grid dt { color: rgba(0,45,46,.5); }
.lx-lab__grid dd { margin: .25rem 0 0 !important; font-size: .875rem; line-height: 1.4; color: var(--lx-fg); overflow-wrap: anywhere; }
.lx-lab__batch { font-family: var(--lx-font-mono); font-size: .8125rem !important; }
.lx-lab__grid a { display: inline-flex; align-items: center; gap: .25rem; color: var(--lx-teal) !important; text-decoration: underline; }
.lx-lab__grid a .lx-icon { width: .75rem; height: .75rem; }
.lx-lab__note { margin-top: .875rem !important; font-size: .75rem; color: rgba(0,45,46,.55); }
.lx-related { margin-top: 2.5rem; }
.lx-pdp .lx-related__title { margin: 0 !important; color: rgba(0,45,46,.5); }
.lx-related ul { margin-top: .75rem !important; border-top: 1px solid var(--lx-border); }
.lx-related li { border-bottom: 1px solid var(--lx-border); }
.lx-related a { display: flex; align-items: center; gap: .75rem; padding: .875rem 0; color: var(--lx-fg) !important; }
.lx-related__label { font-family: var(--lx-font-display); font-size: 1rem; }
.lx-related__sub { margin-left: auto; font-size: .75rem; color: rgba(0,45,46,.5); white-space: nowrap; }
.lx-related a .lx-icon { width: 1rem; height: 1rem; color: var(--lx-teal); transition: transform .15s; }
.lx-related a:hover .lx-icon { transform: translateX(.25rem); }
@media (max-width: 480px) { .lx-related__sub { display: none; } .lx-related a .lx-icon { margin-left: auto; } }
.lx-footer__address { font-style: normal; display: inline; line-height: 1.5; margin: 0 !important; }
.lx-footer__contact li:has(.lx-footer__address) { align-items: flex-start; }
.lx-footer__contact li:has(.lx-footer__address) .lx-icon { margin-top: .15rem; }

