/* ============================================================
   NOVARA — PREMIUM ECOMMERCE COMPONENT LAYER
   css/novara.css
   Loads last; defines the modern brand surface for homepage,
   shop, single product, footer, header polish.
   ============================================================ */

/* ──────────────────────────────────────────────────────────
   GLOBAL RESETS / DEFAULTS
   ────────────────────────────────────────────────────────── */
/* scroll-behavior: smooth removed — it causes WooCommerce tab init to visibly
   scroll product pages to the description anchor on load. WoodMart's
   intentional smooth scrolling (anchors, load-more) uses JS animate instead. */
html { scroll-behavior: auto; }

body {
  font-family: var(--novara-font-body);
  color: var(--novara-body);
  background: var(--novara-page-bg);
  letter-spacing: -0.005em;
}

img { max-width: 100%; height: auto; }

::selection { background: rgba(10,155,161,0.18); color: var(--novara-ink); }

.novara-container {
  width: 100%;
  max-width: var(--novara-container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.novara-container--narrow { max-width: var(--novara-container-narrow); }
.novara-container--wide   { max-width: var(--novara-container-wide); }

/* ──────────────────────────────────────────────────────────
   SECTIONS
   ────────────────────────────────────────────────────────── */
.novara-section {
  padding-block: clamp(64px, 9vw, 112px);
  position: relative;
}
.novara-section--sm { padding-block: clamp(40px, 6vw, 72px); }
.novara-section--xs { padding-block: clamp(24px, 4vw, 48px); }
.novara-section--alt    { background-color: var(--novara-surface-alt); }
.novara-section--soft   { background-color: var(--novara-surface-soft); }
.novara-section--ink    { background-color: var(--novara-ink); color: rgba(255,255,255,0.85); }
.novara-section--ink h1,
.novara-section--ink h2,
.novara-section--ink h3,
.novara-section--ink h4 { color: #fff; }

.novara-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.novara-section-head .novara-eyebrow { margin-bottom: 14px; }
.novara-section-head h2 { margin-bottom: 16px; }
.novara-section-head p {
  font-size: 1.0625rem;
  color: var(--novara-muted);
  margin: 0 auto;
  max-width: 600px;
  line-height: 1.7;
}

.novara-section-head--left { text-align: left; margin-left: 0; margin-right: 0; max-width: 760px; }

/* ──────────────────────────────────────────────────────────
   BUTTONS
   ────────────────────────────────────────────────────────── */
.novara-btn,
a.novara-btn,
button.novara-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--novara-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.005em;
  border-radius: var(--novara-radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--novara-transition), color var(--novara-transition),
              transform var(--novara-transition-fast), box-shadow var(--novara-transition);
  white-space: nowrap;
}

.novara-btn:focus-visible {
  outline: none;
  box-shadow: var(--novara-focus-ring);
}

.novara-btn:hover { transform: translateY(-1px); }

.novara-btn--primary {
  background: var(--novara-teal);
  color: #fff;
  box-shadow: var(--novara-shadow-cta);
}
.novara-btn--primary:hover {
  background: var(--novara-deep-teal);
  color: #fff;
  box-shadow: 0 14px 32px rgba(6,107,116,0.28);
}

.novara-btn--gradient {
  background: var(--novara-gradient-cta);
  color: #fff;
  box-shadow: var(--novara-shadow-cta);
  border: none;
}
.novara-btn--gradient:hover {
  background: var(--novara-gradient-cta-hover);
  color: #fff;
  box-shadow: 0 16px 36px rgba(10,155,161,0.30);
}

.novara-btn--secondary {
  background: #fff;
  color: var(--novara-deep-teal);
  border-color: var(--novara-teal);
}
.novara-btn--secondary:hover {
  background: var(--novara-surface-alt);
  color: var(--novara-deep-teal);
  border-color: var(--novara-deep-teal);
}

.novara-btn--ghost {
  background: transparent;
  color: var(--novara-deep-teal);
  border-color: transparent;
  padding-inline: 16px;
}
.novara-btn--ghost:hover {
  background: rgba(10,155,161,0.08);
  color: var(--novara-deep-teal);
}

.novara-btn--ink {
  background: var(--novara-ink);
  color: #fff;
}
.novara-btn--ink:hover {
  background: #1d3d49;
  color: #fff;
}

.novara-btn--lg {
  padding: 18px 36px;
  font-size: 1rem;
}

.novara-btn--xl {
  padding: 20px 44px;
  font-size: 1.0625rem;
}

.novara-btn--full { width: 100%; }

.novara-btn__arrow {
  display: inline-block;
  transition: transform var(--novara-transition);
}
.novara-btn:hover .novara-btn__arrow { transform: translateX(4px); }

/* ──────────────────────────────────────────────────────────
   BADGES / CHIPS
   ────────────────────────────────────────────────────────── */
.novara-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--novara-radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(10,155,161,0.12);
  color: var(--novara-deep-teal);
}
.novara-chip--mint { background: rgba(115,223,167,0.20); color: #1C7D55; }
.novara-chip--ink  { background: rgba(16,42,51,0.08); color: var(--novara-ink); }
.novara-chip--white { background: rgba(255,255,255,0.12); color: #fff; backdrop-filter: blur(8px); }
.novara-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ──────────────────────────────────────────────────────────
   HERO
   ────────────────────────────────────────────────────────── */
.novara-hero {
  position: relative;
  background: var(--novara-gradient-hero);
  overflow: hidden;
  padding: clamp(80px, 11vw, 140px) 0 clamp(72px, 10vw, 120px);
}

.novara-hero::before {
  content: '';
  position: absolute;
  inset: -10% -10% 30% -10%;
  background:
    radial-gradient(ellipse 80% 60% at 85% 18%, rgba(115,223,167,0.22), transparent 60%),
    radial-gradient(ellipse 70% 60% at 15% 80%, rgba(10,155,161,0.14), transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 0%, rgba(23,196,200,0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.novara-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10,155,161,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,155,161,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.novara-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

@media (max-width: 960px) {
  .novara-hero__inner { grid-template-columns: 1fr; gap: 48px; }
}

.novara-hero__content { max-width: 620px; }
.novara-hero__eyebrow { margin-bottom: 20px; }

.novara-hero__title {
  font-family: var(--novara-font-heading);
  font-weight: 700;
  font-size: var(--novara-fs-hero);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--novara-ink);
  margin: 0 0 24px;
}

.novara-hero__title .novara-text-gradient {
  background: var(--novara-gradient-cta);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.novara-hero__sub {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--novara-body);
  margin: 0 0 36px;
  max-width: 540px;
}

.novara-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.novara-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 28px;
}
.novara-hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--novara-muted);
  font-weight: 500;
}
.novara-hero__trust-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--novara-teal);
}

/* Hero visual: floating product card cluster */
.novara-hero__visual {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: var(--novara-radius-xl);
  background:
    radial-gradient(ellipse 80% 80% at 50% 30%, rgba(189,242,210,0.42), transparent 70%),
    linear-gradient(160deg, #EEF7F8 0%, #FAFDFD 100%);
  border: 1px solid var(--novara-border);
  box-shadow: var(--novara-shadow-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(20px, 3vw, 36px);
}

.novara-hero__visual-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.novara-hero__bottle {
  position: relative;
  width: clamp(160px, 30vw, 240px);
  aspect-ratio: 3 / 5;
  background: linear-gradient(180deg, #fff 0%, #F4FAFA 100%);
  border-radius: 24px 24px 16px 16px;
  border: 1px solid var(--novara-border);
  box-shadow: var(--novara-shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 32px 18px 28px;
  z-index: 2;
}
.novara-hero__bottle::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 24px;
  border-radius: 6px;
  background: var(--novara-gradient-brand);
}
.novara-hero__bottle::after {
  content: '';
  position: absolute;
  top: 28%;
  left: 16px;
  right: 16px;
  height: 50%;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(115,223,167,0.20) 0%, rgba(10,155,161,0.10) 100%);
}
.novara-hero__bottle-label {
  position: relative;
  z-index: 1;
  text-align: center;
  font-family: var(--novara-font-heading);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--novara-ink);
  font-size: 0.6875rem;
}
.novara-hero__bottle-label small {
  display: block;
  font-weight: 500;
  font-size: 0.625rem;
  color: var(--novara-muted);
  letter-spacing: 0.14em;
  margin-top: 4px;
}

/* Floating chips */
.novara-hero__chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--novara-border);
  border-radius: var(--novara-radius-pill);
  padding: 10px 16px 10px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--novara-ink);
  box-shadow: var(--novara-shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}
.novara-hero__chip-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--novara-mint);
  box-shadow: 0 0 0 4px rgba(115,223,167,0.25);
}
.novara-hero__chip--top { top: 8%; right: -6%; }
.novara-hero__chip--bottom { bottom: 6%; left: -4%; background: var(--novara-ink); color: #fff; border-color: transparent; }
.novara-hero__chip--bottom .novara-hero__chip-dot { background: var(--novara-aqua); box-shadow: 0 0 0 4px rgba(23,196,200,0.25); }

@media (max-width: 720px) {
  .novara-hero__chip--top { top: 4%; right: 2%; }
  .novara-hero__chip--bottom { bottom: 4%; left: 2%; }
}

/* ──────────────────────────────────────────────────────────
   TRUST CREDENTIAL STRIP
   ────────────────────────────────────────────────────────── */
.novara-trust-strip {
  background: #fff;
  border-top: 1px solid var(--novara-border);
  border-bottom: 1px solid var(--novara-border);
  padding: 22px 0;
}
.novara-trust-strip__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.novara-trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--novara-body);
  letter-spacing: -0.005em;
}
.novara-trust-strip__icon {
  width: 22px;
  height: 22px;
  color: var(--novara-teal);
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────────────────
   CATEGORY CARDS
   ────────────────────────────────────────────────────────── */
.novara-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.novara-cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 28px;
  min-height: 200px;
  border-radius: var(--novara-radius-lg);
  background: #fff;
  border: 1px solid var(--novara-border);
  text-decoration: none;
  color: var(--novara-ink);
  transition: transform var(--novara-transition), box-shadow var(--novara-transition), border-color var(--novara-transition);
  overflow: hidden;
}
.novara-cat-card::before {
  content: '';
  position: absolute;
  inset: auto -40% -60% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--novara-gradient-soft-card);
  opacity: 0;
  transition: opacity var(--novara-transition);
}
.novara-cat-card:hover {
  transform: translateY(-3px);
  border-color: var(--novara-border-strong);
  box-shadow: var(--novara-shadow-card);
  color: var(--novara-ink);
}
.novara-cat-card:hover::before { opacity: 1; }

.novara-cat-card__icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(10,155,161,0.10);
  color: var(--novara-deep-teal);
  display: grid;
  place-items: center;
  font-size: 22px;
}

.novara-cat-card__body { position: relative; }

.novara-cat-card__title {
  font-family: var(--novara-font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  margin: 0 0 6px;
  color: var(--novara-ink);
  letter-spacing: -0.01em;
}
.novara-cat-card__count {
  font-size: 0.8125rem;
  color: var(--novara-muted);
  font-weight: 500;
}
.novara-cat-card__arrow {
  position: relative;
  margin-top: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--novara-deep-teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.novara-cat-card:hover .novara-cat-card__arrow { gap: 10px; }

/* Featured tile (large) */
.novara-cat-card--featured {
  grid-column: span 2;
  background: var(--novara-gradient-cta);
  color: #fff;
  border: none;
  min-height: 280px;
  padding: 36px;
}
.novara-cat-card--featured .novara-cat-card__icon {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.novara-cat-card--featured .novara-cat-card__title { color: #fff; font-size: 1.5rem; }
.novara-cat-card--featured .novara-cat-card__count { color: rgba(255,255,255,0.78); }
.novara-cat-card--featured .novara-cat-card__arrow { color: #fff; }
.novara-cat-card--featured::before { display: none; }
.novara-cat-card--featured:hover { color: #fff; box-shadow: 0 18px 42px rgba(10,155,161,0.28); }

@media (max-width: 720px) {
  .novara-cat-card--featured { grid-column: span 1; min-height: 220px; }
}

/* ──────────────────────────────────────────────────────────
   PRODUCT GRID + CARDS (used on homepage feature areas)
   ────────────────────────────────────────────────────────── */
.novara-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}

.novara-product-card {
  background: #fff;
  border: 1px solid var(--novara-border);
  border-radius: var(--novara-radius-lg);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--novara-transition), box-shadow var(--novara-transition), border-color var(--novara-transition);
  text-decoration: none;
  color: var(--novara-ink);
}
.novara-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--novara-shadow-card);
  border-color: var(--novara-border-strong);
  color: var(--novara-ink);
}

.novara-product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(115,223,167,0.18), transparent 60%),
    linear-gradient(160deg, #F8FCFC 0%, #EEF7F8 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.novara-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--novara-transition-slow);
}
.novara-product-card:hover .novara-product-card__media img { transform: scale(1.04); }

.novara-product-card__bottle {
  width: 38%;
  aspect-ratio: 3 / 5;
  background: linear-gradient(180deg, #fff 0%, #F4FAFA 100%);
  border-radius: 18px 18px 12px 12px;
  border: 1px solid var(--novara-border);
  box-shadow: var(--novara-shadow-sm);
  position: relative;
}
.novara-product-card__bottle::before {
  content: '';
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  width: 50%; height: 14px; border-radius: 4px; background: var(--novara-gradient-brand);
}
.novara-product-card__bottle::after {
  content: '';
  position: absolute; top: 28%; left: 12%; right: 12%; height: 50%;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(115,223,167,0.22) 0%, rgba(10,155,161,0.10) 100%);
}

.novara-product-card__chip-row {
  position: absolute;
  inset: 14px 14px auto auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}
.novara-product-card__chip {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--novara-radius-pill);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  color: var(--novara-deep-teal);
}
.novara-product-card__chip--mint { background: rgba(115,223,167,0.95); color: #1C7D55; }
.novara-product-card__chip--ink { background: var(--novara-ink); color: #fff; }

.novara-product-card__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.novara-product-card__cat {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--novara-muted);
  font-weight: 600;
}
.novara-product-card__title {
  font-family: var(--novara-font-heading);
  font-weight: 600;
  font-size: 1.0625rem;
  margin: 0;
  color: var(--novara-ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.novara-product-card__desc {
  font-size: 0.8125rem;
  color: var(--novara-muted);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.novara-product-card__footer {
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--novara-border);
}
.novara-product-card__price {
  font-family: var(--novara-font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--novara-ink);
  letter-spacing: -0.01em;
}
.novara-product-card__price-from {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--novara-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.novara-product-card__cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--novara-deep-teal);
}
.novara-product-card:hover .novara-product-card__cta { color: var(--novara-ink); }

/* ──────────────────────────────────────────────────────────
   STACK CARD (peptide stacks — premium tile)
   ────────────────────────────────────────────────────────── */
.novara-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.novara-stack-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 28px 28px;
  border-radius: var(--novara-radius-lg);
  background: #fff;
  border: 1px solid var(--novara-border);
  text-decoration: none;
  color: var(--novara-ink);
  transition: transform var(--novara-transition), box-shadow var(--novara-transition), border-color var(--novara-transition);
  overflow: hidden;
}
.novara-stack-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--novara-gradient-brand);
  opacity: 0.85;
}
.novara-stack-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--novara-shadow-card);
  border-color: var(--novara-border-strong);
  color: var(--novara-ink);
}

.novara-stack-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.novara-stack-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--novara-surface-alt);
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--novara-deep-teal);
}
.novara-stack-card__tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--novara-deep-teal);
  padding: 6px 12px;
  background: rgba(10,155,161,0.10);
  border-radius: var(--novara-radius-pill);
}

.novara-stack-card__title {
  font-family: var(--novara-font-heading);
  font-weight: 700;
  font-size: 1.375rem;
  margin: 0;
  color: var(--novara-ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.novara-stack-card__desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--novara-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.novara-stack-card__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.novara-stack-card__list li {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: var(--novara-radius-pill);
  background: var(--novara-surface-alt);
  color: var(--novara-body);
}
.novara-stack-card__footer {
  margin-top: 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--novara-border);
}
.novara-stack-card__price {
  font-family: var(--novara-font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--novara-ink);
}
.novara-stack-card__cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--novara-deep-teal);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.novara-stack-card:hover .novara-stack-card__cta { gap: 8px; }

/* ──────────────────────────────────────────────────────────
   GOAL CARDS ("shop by goal")
   ────────────────────────────────────────────────────────── */
.novara-goal-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
@media (max-width: 1024px) {
  .novara-goal-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .novara-goal-grid { grid-template-columns: repeat(2, 1fr); }
}
.novara-goal-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 28px 20px;
  border-radius: var(--novara-radius-lg);
  background: #fff;
  border: 1px solid var(--novara-border);
  text-decoration: none;
  color: var(--novara-ink);
  transition: transform var(--novara-transition), box-shadow var(--novara-transition), background var(--novara-transition);
}
.novara-goal-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--novara-shadow-card);
  background: var(--novara-surface-alt);
  color: var(--novara-ink);
}
.novara-goal-tile__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--novara-gradient-cta);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: 0 8px 18px rgba(10,155,161,0.25);
}
.novara-goal-tile__name {
  font-family: var(--novara-font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--novara-ink);
  letter-spacing: -0.01em;
}
.novara-goal-tile__count {
  font-size: 0.75rem;
  color: var(--novara-muted);
  font-weight: 500;
}

/* ──────────────────────────────────────────────────────────
   FEATURE / DIFFERENTIATOR GRID
   ────────────────────────────────────────────────────────── */
.novara-feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.novara-feat {
  padding: 32px 28px;
  border-radius: var(--novara-radius-lg);
  background: #fff;
  border: 1px solid var(--novara-border);
}
.novara-feat__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--novara-surface-alt);
  color: var(--novara-deep-teal);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.novara-feat h3 {
  margin: 0 0 10px;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.novara-feat p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--novara-muted);
  line-height: 1.65;
}

/* ──────────────────────────────────────────────────────────
   SCIENCE / QUALITY SPLIT
   ────────────────────────────────────────────────────────── */
.novara-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}
@media (max-width: 880px) {
  .novara-split { grid-template-columns: 1fr; }
}

.novara-split__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--novara-radius-xl);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 30% 30%, rgba(115,223,167,0.22), transparent 60%),
    linear-gradient(160deg, #EEF7F8 0%, #FAFDFD 100%);
  border: 1px solid var(--novara-border);
  box-shadow: var(--novara-shadow-md);
  display: grid;
  place-items: center;
  padding: 40px;
}

.novara-split__stat-block {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 380px;
  background: #fff;
  border: 1px solid var(--novara-border);
  border-radius: var(--novara-radius-lg);
  padding: 24px;
  box-shadow: var(--novara-shadow-md);
}
.novara-split__stat {
  text-align: center;
}
.novara-split__stat-num {
  font-family: var(--novara-font-heading);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.025em;
  color: var(--novara-deep-teal);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.novara-split__stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--novara-muted);
}

.novara-split__content h2 { margin-bottom: 20px; }
.novara-split__content p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--novara-body);
  margin: 0 0 24px;
}
.novara-split__bullets {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.novara-split__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--novara-body);
}
.novara-split__bullets svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--novara-teal);
  margin-top: 2px;
}

/* ──────────────────────────────────────────────────────────
   FAQ ACCORDION
   ────────────────────────────────────────────────────────── */
.novara-faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.novara-faq__item {
  background: #fff;
  border: 1px solid var(--novara-border);
  border-radius: var(--novara-radius-md);
  overflow: hidden;
  transition: border-color var(--novara-transition), box-shadow var(--novara-transition);
}
.novara-faq__item[open] {
  border-color: var(--novara-border-strong);
  box-shadow: var(--novara-shadow-sm);
}
.novara-faq__summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 24px;
  font-family: var(--novara-font-heading);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--novara-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  letter-spacing: -0.01em;
}
.novara-faq__summary::-webkit-details-marker { display: none; }
.novara-faq__summary::after {
  content: '';
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-right: 2px solid var(--novara-deep-teal);
  border-bottom: 2px solid var(--novara-deep-teal);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--novara-transition);
}
.novara-faq__item[open] .novara-faq__summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}
.novara-faq__body {
  padding: 0 24px 24px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--novara-muted);
}

/* ──────────────────────────────────────────────────────────
   CTA STRIP (final)
   ────────────────────────────────────────────────────────── */
.novara-cta-strip {
  position: relative;
  border-radius: var(--novara-radius-xl);
  padding: clamp(48px, 7vw, 80px);
  background: var(--novara-gradient-cta);
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.novara-cta-strip::before {
  content: '';
  position: absolute;
  inset: -30% -10% auto auto;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.18) 0%, transparent 70%);
}
.novara-cta-strip::after {
  content: '';
  position: absolute;
  inset: auto auto -40% -10%;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.10) 0%, transparent 70%);
}
.novara-cta-strip__inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.novara-cta-strip h2 { color: #fff; margin: 0 0 16px; }
.novara-cta-strip p {
  margin: 0 auto 32px;
  color: rgba(255,255,255,0.88);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 520px;
}
.novara-cta-strip__ctas {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.novara-cta-strip .novara-btn--primary {
  background: #fff;
  color: var(--novara-deep-teal);
  box-shadow: 0 12px 24px rgba(0,0,0,0.10);
}
.novara-cta-strip .novara-btn--primary:hover {
  background: rgba(255,255,255,0.92);
  color: var(--novara-deep-teal);
}
.novara-cta-strip .novara-btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.30);
}
.novara-cta-strip .novara-btn--ghost:hover {
  background: rgba(255,255,255,0.10);
  color: #fff;
}

/* ──────────────────────────────────────────────────────────
   PROOF / TESTIMONIAL CARDS
   ────────────────────────────────────────────────────────── */
.novara-proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.novara-proof {
  background: #fff;
  border: 1px solid var(--novara-border);
  border-radius: var(--novara-radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.novara-proof__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--novara-warning);
  font-size: 14px;
  letter-spacing: 1px;
}
.novara-proof__quote {
  font-family: var(--novara-font-heading);
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--novara-ink);
  line-height: 1.55;
  margin: 0;
  letter-spacing: -0.005em;
}
.novara-proof__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--novara-border);
}
.novara-proof__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--novara-gradient-cta);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.875rem;
}
.novara-proof__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--novara-ink);
}
.novara-proof__role {
  font-size: 0.75rem;
  color: var(--novara-muted);
}

/* ──────────────────────────────────────────────────────────
   HEADER POLISH
   ────────────────────────────────────────────────────────── */
.whb-row.whb-general-header,
.whb-main-header {
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--novara-border) !important;
}
.whb-row.whb-sticky-row.whb-stuck {
  box-shadow: var(--novara-shadow-header) !important;
  background: rgba(255,255,255,0.96) !important;
}
.whb-main-header > .whb-row,
.whb-main-header .whb-row { box-shadow: none !important; }

.whb-main-header .wd-tools-icon::before,
.whb-main-header .wd-tools-element a {
  color: var(--novara-ink);
  transition: color var(--novara-transition);
}
.whb-main-header .wd-tools-element:hover a,
.whb-main-header .wd-tools-element a:hover { color: var(--novara-teal); }

.wd-cart-number {
  background: var(--novara-teal) !important;
  color: #fff !important;
}

/* CTA in header (last menu item) */
.wd-nav-main > li.menu-item-cta > a {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px !important;
  background: var(--novara-gradient-cta);
  color: #fff !important;
  border-radius: var(--novara-radius-pill);
  font-weight: 600;
  letter-spacing: 0;
  transition: transform var(--novara-transition), box-shadow var(--novara-transition);
}
.wd-nav-main > li.menu-item-cta > a:hover {
  transform: translateY(-1px);
  box-shadow: var(--novara-shadow-cta);
  color: #fff !important;
}

/* ──────────────────────────────────────────────────────────
   MEGA MENU — Peptide Stacks dropdown
   ────────────────────────────────────────────────────────── */

/* Column headers must never wrap — "Skin & Anti-Aging" etc. stay single-line */
.wd-dropdown-menu .wd-col > a.woodmart-nav-link {
  white-space: nowrap;
}
/* Prevent columns from shrinking narrower than their header label */
.wd-dropdown-menu .wd-col {
  min-width: min-content;
}

/* ──────────────────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────────────────── */
.novara-site-footer {
  background: var(--novara-ink);
  color: rgba(255,255,255,0.78);
  font-family: var(--novara-font-body);
}

.novara-site-footer__top {
  position: relative;
  padding: clamp(64px, 8vw, 96px) 0 56px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.novara-site-footer__top::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--novara-gradient-brand);
  opacity: 0.7;
}

.novara-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 48px;
}
@media (max-width: 1024px) {
  .novara-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .novara-footer-grid > :first-child { grid-column: span 3; }
}
@media (max-width: 600px) {
  .novara-footer-grid { grid-template-columns: 1fr 1fr; }
  .novara-footer-grid > :first-child { grid-column: span 2; }
}

.novara-footer__brand-logo {
  height: 38px;
  width: auto;
  display: block;
  margin-bottom: 22px;
  /* logo has dark teal — boost luminance so it reads well on ink bg */
  filter: brightness(1.4) saturate(0.85);
}
/* If image fails / hidden, render a styled wordmark fallback */
.novara-footer__brand a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--novara-font-heading);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
}
.novara-footer__about {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 320px;
  margin: 0 0 24px;
}
.novara-footer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.novara-footer__chips .novara-chip { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); }

.novara-footer__col h4 {
  font-family: var(--novara-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--novara-soft-mint);
  margin: 0 0 22px;
}
.novara-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.novara-footer__col a {
  color: rgba(255,255,255,0.70);
  font-size: 0.9375rem;
  transition: color var(--novara-transition);
}
.novara-footer__col a:hover {
  color: var(--novara-mint);
}

.novara-footer__newsletter p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  margin: 0 0 18px;
  line-height: 1.6;
}
.novara-footer__newsletter-form {
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--novara-radius-pill);
  padding: 6px 6px 6px 16px;
  align-items: center;
  transition: border-color var(--novara-transition), background var(--novara-transition);
}
.novara-footer__newsletter-form:focus-within {
  border-color: var(--novara-aqua);
  background: rgba(255,255,255,0.10);
}
.novara-footer__newsletter-form input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font-size: 0.9375rem;
  padding: 8px 0;
}
.novara-footer__newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
.novara-footer__newsletter-form button {
  border: 0;
  background: var(--novara-gradient-cta);
  color: #fff;
  border-radius: var(--novara-radius-pill);
  padding: 10px 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter var(--novara-transition);
}
.novara-footer__newsletter-form button:hover { filter: brightness(1.1); }

.novara-site-footer__bottom {
  padding: 22px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
}
.novara-site-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.novara-site-footer__bottom a {
  color: rgba(255,255,255,0.55);
  font-size: 0.8125rem;
}
.novara-site-footer__bottom a:hover { color: var(--novara-mint); }

/* ──────────────────────────────────────────────────────────
   ANNOUNCEMENT BAR
   ────────────────────────────────────────────────────────── */
.novara-announce {
  background: var(--novara-ink);
  color: rgba(255,255,255,0.85);
  text-align: center;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  padding: 10px 16px;
}
.novara-announce strong { color: var(--novara-mint); font-weight: 600; }
.novara-announce a { color: var(--novara-soft-mint); margin-left: 8px; }

/* ──────────────────────────────────────────────────────────
   SHOP / WOOCOMMERCE GLOBAL TUNING
   ────────────────────────────────────────────────────────── */

/* Page header / breadcrumb */
.woocommerce-breadcrumb,
.wd-page-title .wd-page-title-inner {
  font-family: var(--novara-font-body);
}
.wd-page-title {
  background: var(--novara-gradient-hero) !important;
  padding: 64px 0 40px !important;
}
.wd-page-title .entry-title {
  font-family: var(--novara-font-heading);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--novara-ink);
}

/* Product grid card uplift */
.product-grid-item.product {
  border: 1px solid var(--novara-border);
  border-radius: var(--novara-radius-lg);
  background: #fff;
  overflow: hidden;
  transition: transform var(--novara-transition), box-shadow var(--novara-transition), border-color var(--novara-transition);
  padding: 0 !important;
}
.product-grid-item.product:hover {
  transform: translateY(-3px);
  box-shadow: var(--novara-shadow-card);
  border-color: var(--novara-border-strong);
}
.product-grid-item.product .product-image-link,
.product-grid-item.product .wd-product-grid-slider {
  background: linear-gradient(160deg, #F8FCFC 0%, #EEF7F8 100%);
}
.product-grid-item.product .product-element-bottom {
  padding: 18px 22px 22px !important;
}
.product-grid-item.product .product-title {
  font-family: var(--novara-font-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 1.0625rem;
}
.product-grid-item.product .price {
  font-family: var(--novara-font-heading);
  font-weight: 700;
  color: var(--novara-ink);
  letter-spacing: -0.01em;
}
.product-grid-item.product .price ins,
.product-grid-item.product .price bdi { color: var(--novara-ink); text-decoration: none; }
.product-grid-item.product .product_type_simple,
.product-grid-item.product .add_to_cart_button {
  background: var(--novara-teal) !important;
  color: #fff !important;
  border-radius: var(--novara-radius-pill) !important;
  padding: 10px 22px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  border: 0 !important;
}
.product-grid-item.product .product_type_simple:hover,
.product-grid-item.product .add_to_cart_button:hover {
  background: var(--novara-deep-teal) !important;
  color: #fff !important;
}

/* Reset WoodMart icon-style hover buttons (add-to-cart, quick-view inside the image area).
   The broad rule above targets them too, inflating them with pill padding.
   Icon buttons should stay compact circles. */
.product-grid-item.product .wd-add-btn .add_to_cart_button,
.product-grid-item.product .wd-add-btn .button,
.product-grid-item.product .wd-product-thumb .add_to_cart_button,
.product-grid-item.product .wd-product-thumb .button,
.product-grid-item.product .open-quick-view {
  padding: 0 !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  min-width: unset !important;
  font-size: 0 !important;
  line-height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
/* Restore the icon glyph size inside icon buttons */
.product-grid-item.product .wd-add-btn .add_to_cart_button::before,
.product-grid-item.product .wd-add-btn .button::before,
.product-grid-item.product .wd-product-thumb .add_to_cart_button::before,
.product-grid-item.product .open-quick-view::before {
  font-size: 16px !important;
}
.product-grid-item.product .wd-action-btn .wd-action-icon {
  font-size: 16px !important;
  line-height: 1 !important;
}

/* Equal-height cards via flex column */
.product-grid-item.product .wd-product-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-grid-item.product .product-element-bottom {
  display: flex !important;
  flex-direction: column;
  flex: 1;
}
.product-grid-item.product .product-rating-price {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--novara-border);
}

/* Title — WoodMart uses .wd-entities-title on archive pages */
.product-grid-item.product .wd-entities-title {
  font-family: var(--novara-font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 8px;
}
.product-grid-item.product .wd-entities-title a {
  color: var(--novara-ink);
  text-decoration: none;
}
.product-grid-item.product .wd-entities-title a:hover {
  color: var(--novara-teal);
}

/* Category pills */
.product-grid-item.product .wd-product-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 10px;
}
.product-grid-item.product .wd-product-cats .wd-meta-sep {
  display: none;
}
.product-grid-item.product .wd-product-cats a {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--novara-surface-alt);
  color: var(--novara-teal);
  border: 1px solid var(--novara-border);
  text-decoration: none;
  transition: background var(--novara-transition), color var(--novara-transition);
}
.product-grid-item.product .wd-product-cats a:hover {
  background: var(--novara-teal);
  color: #fff;
  border-color: var(--novara-teal);
}
/* Hide the redundant "All Peptides" pill — already on that page */
.product-grid-item.product .wd-product-cats a[href*="all-peptides"] {
  display: none;
}

/* Single product layout */
.single-product div.product .summary {
  padding-left: clamp(0px, 4vw, 40px);
}
.single-product div.product .product_title {
  font-family: var(--novara-font-heading);
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 16px;
}
.single-product div.product .price {
  font-family: var(--novara-font-heading);
  font-weight: 700;
  font-size: 1.875rem;
  letter-spacing: -0.02em;
  color: var(--novara-ink);
}
.single-product div.product form.cart .button,
.single-product div.product form.cart .single_add_to_cart_button {
  background: var(--novara-gradient-cta) !important;
  color: #fff !important;
  border-radius: var(--novara-radius-pill) !important;
  padding: 16px 36px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  box-shadow: var(--novara-shadow-cta);
  border: 0 !important;
}
.single-product div.product form.cart .button:hover {
  background: var(--novara-gradient-cta-hover) !important;
  box-shadow: 0 14px 32px rgba(10,155,161,0.30) !important;
}
.single-product div.product .quantity .qty {
  border-radius: var(--novara-radius-pill);
  border: 1.5px solid var(--novara-border);
  height: 52px;
}
.single-product .woocommerce-Tabs-panel h2 { display: none; }
.single-product .woocommerce-tabs ul.tabs li a {
  font-family: var(--novara-font-heading);
  font-weight: 600;
  letter-spacing: -0.005em;
}

/* Cart and checkout polish */
.woocommerce table.shop_table { border-radius: var(--novara-radius-md); overflow: hidden; }
.woocommerce-cart .cart_totals .order-total { color: var(--novara-deep-teal); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  border-radius: var(--novara-radius-md) !important;
  border: 1.5px solid var(--novara-border) !important;
  padding: 12px 16px !important;
}
.woocommerce form .form-row input.input-text:focus {
  border-color: var(--novara-teal) !important;
  box-shadow: var(--novara-focus-ring) !important;
}

/* ──────────────────────────────────────────────────────────
   CONTACT FORM
   ────────────────────────────────────────────────────────── */
.novara-contact-form {
  background: #fff;
  border: 1px solid var(--novara-border);
  border-radius: var(--novara-radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.novara-form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.novara-form-row label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--novara-deep-teal);
}
.novara-form-row input,
.novara-form-row select,
.novara-form-row textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--novara-surface-alt);
  border: 1.5px solid var(--novara-border);
  border-radius: var(--novara-radius-md);
  font-family: var(--novara-font-body);
  font-size: 0.9375rem;
  color: var(--novara-ink);
  transition: border-color var(--novara-transition), background var(--novara-transition), box-shadow var(--novara-transition);
}
.novara-form-row input:focus,
.novara-form-row select:focus,
.novara-form-row textarea:focus {
  outline: 0;
  background: #fff;
  border-color: var(--novara-teal);
  box-shadow: var(--novara-focus-ring);
}
.novara-form-row textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.novara-form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23066B74' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.novara-contact-form button {
  align-self: flex-start;
  margin-top: 8px;
}

.novara-contact-sidebar {
  display: flex;
  flex-direction: column;
}
.novara-contact-sidebar .novara-feat {
  padding: 24px;
}
.novara-contact-sidebar .novara-feat__icon {
  width: 40px;
  height: 40px;
  font-size: 18px;
  margin-bottom: 14px;
}

/* ──────────────────────────────────────────────────────────
   UTILITIES
   ────────────────────────────────────────────────────────── */
.novara-text-center { text-align: center; }
.novara-mt-xl { margin-top: var(--novara-sp-3xl); }
.novara-mt-2xl { margin-top: var(--novara-sp-4xl); }
.novara-row-center { display: flex; justify-content: center; }

/* Disable legacy disclaimer bar styling (we no longer ship a sticky amber bar) */
.nv-disclaimer-bar { display: none !important; }

/* ──────────────────────────────────────────────────────────
   PREVENT HORIZONTAL OVERFLOW
   Stops absolutely-positioned WoodMart fragments (side tabs,
   side product nav, carousel ghosts) from leaking past the
   page edge after we constrain the container.
   ────────────────────────────────────────────────────────── */
html, body { overflow-x: clip; }

/* ──────────────────────────────────────────────────────────
   SINGLE PRODUCT — force single-column flow
   WoodMart's parent CSS sets the page to display:grid with a
   weird 2-column template (1240px + ~117px) which pushes the
   tabs into a tiny right-rail off the page. Override to block.
   ────────────────────────────────────────────────────────── */
.single-product .single-product-page {
  display: block !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
}
.single-product .single-product-page > .container,
.single-product .single-product-page > .product-tabs-wrapper {
  display: block !important;
  width: 100% !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
}
/* Keep related-and-upsells in its own rule so margin-top is not zeroed */
.single-product .single-product-page > .related-and-upsells {
  display: block !important;
  width: 100% !important;
  max-width: 1240px !important;
  margin: 72px auto 0 !important;
  padding-top: 48px;
  border-top: 1px solid var(--novara-border);
}
.single-product .product-tabs-wrapper {
  margin-top: 56px !important;
  padding-block: 0 !important;
}
.single-product .product-tabs-wrapper .product-tabs-inner {
  padding: 0 !important;
  max-width: 100% !important;
}
.single-product .product-tabs-wrapper .woocommerce-tabs {
  width: 100%;
  max-width: 100%;
}
.single-product ul.tabs.wc-tabs {
  display: flex !important;
  flex-wrap: wrap;
  width: 100%;
}

/* ─── Researchers Also Study — section heading ─── */
.related-and-upsells h2 {
  font-family: var(--novara-font-heading);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--novara-ink);
  margin-bottom: 28px;
}

/* ─── Researchers Also Study — carousel card consistency ─── */

/* WoodMart renders carousel cards as a 2-col grid (image | info).
   Override to a single flex column so image + content span full width. */
.related-and-upsells .wd-product.product-grid-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}
.related-and-upsells .wd-product-wrapper {
  width: 100% !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
}
.related-and-upsells .wd-product-thumb {
  width: 100% !important;
}
.related-and-upsells .product-element-bottom {
  width: 100% !important;
}

/* Clamp title to 2 lines so long names don't blow up card height */
.related-and-upsells .wd-entities-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.25 * 2 * 1.0625rem);
}

/* One row of pills — stops multi-category cards from growing */
.related-and-upsells .wd-product-cats {
  flex-wrap: nowrap;
  overflow: hidden;
  max-height: 28px;
}

/* Price border-top separator (carousel items need explicit margin-top) */
.related-and-upsells .product-rating-price {
  padding-top: 14px !important;
  border-top: 1px solid var(--novara-border);
  margin-top: 12px !important;
}

/* ──────────────────────────────────────────────────────────
   GLOBAL CONTAINER CONSTRAINT
   Lock all WoodMart containers to the 1240px max-width that
   the homepage uses. Without this, shop / category / product
   pages render up to ~1422px while the homepage is centered
   inside a tighter rail — visible width inconsistency.
   ────────────────────────────────────────────────────────── */
:root {
  --wd-container-w: 1240px;
}
.container,
.container-fluid,
main#main-content.container,
main#main-content,
.wd-content-layout {
  max-width: 1240px !important;
  width: 100%;
  margin-inline: auto !important;
}
.container-fluid { max-width: none !important; }
.whb-full-width .whb-flex-row,
.whb-full-width > .container { max-width: 100% !important; }

/* Header rows should still go edge-to-edge for the bg/border,
   but their inner row stays centered. */
.whb-row > .container {
  max-width: 1240px !important;
  margin-inline: auto !important;
}

/* ──────────────────────────────────────────────────────────
   FULL-WIDTH PAGE TEMPLATE ESCAPE
   When NOVARA page templates render inside WoodMart's main grid,
   force their sections to break out of the column constraint.
   ────────────────────────────────────────────────────────── */
body.novara-fullwidth-page main#main-content,
body.novara-fullwidth-page .wd-content-layout {
  display: block !important;
  /* Page sections are full-bleed (their bg colors span edge-to-edge);
     the .novara-container inside each section handles centering at 1240px. */
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.novara-fullwidth-page main#main-content > .novara-section,
body.novara-fullwidth-page main#main-content > .novara-hero,
body.novara-fullwidth-page main#main-content > section.novara-section,
body.novara-fullwidth-page main#main-content > section.novara-hero {
  display: block;
  width: 100%;
}
body.novara-fullwidth-page .wd-page-title { display: none !important; }
body.novara-fullwidth-page .wd-content-area { padding: 0 !important; }

/* Hide sub-brand top bar fragments if WoodMart still emits them */
.whb-top-bar { display: none !important; }

/* ──────────────────────────────────────────────────────────
   SHOP PAGE — hide WoodMart's page-title category nav
   (we now render categories in the sidebar instead)
   ────────────────────────────────────────────────────────── */
.wd-nav-product-cat,
.wd-page-title .wd-nav-product-cat,
.wd-page-title.page-title .container .wd-nav-product-cat {
  display: none !important;
}
/* Page-title bar on shop archive: only had the cat nav we just hid —
   collapse the empty bar so the gradient stripe doesn't sit awkwardly
   above the products grid. */
.woocommerce-shop .wd-page-title,
.tax-product_cat .wd-page-title,
.tax-product_tag .wd-page-title {
  display: none !important;
}

/* ──────────────────────────────────────────────────────────
   SIDEBAR — premium card layout
   ────────────────────────────────────────────────────────── */
.wd-sidebar.sidebar-container {
  padding-right: 8px;
}
.wd-sidebar .widget-area {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.wd-sidebar .widget,
.novara-sidebar-card {
  background: #fff;
  border: 1px solid var(--novara-border);
  border-radius: var(--novara-radius-md);
  padding: 22px 22px 18px;
  margin: 0;
}
.wd-sidebar .widget-title,
.wd-sidebar .widgettitle,
.novara-sidebar-card__title {
  font-family: var(--novara-font-heading);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--novara-deep-teal);
  margin: 0 0 14px;
  padding: 0;
}

/* Categories list inside the new card */
.novara-categories-widget__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.novara-categories-widget__list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--novara-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--novara-body);
  text-decoration: none;
  transition: background var(--novara-transition), color var(--novara-transition);
}
.novara-categories-widget__list li a:hover {
  background: var(--novara-surface-alt);
  color: var(--novara-deep-teal);
}
.novara-categories-widget__list li.is-current a {
  background: rgba(10,155,161,0.08);
  color: var(--novara-deep-teal);
  font-weight: 600;
}
.novara-categories-widget__count {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--novara-muted);
  background: var(--novara-surface-alt);
  padding: 2px 8px;
  border-radius: var(--novara-radius-pill);
  flex-shrink: 0;
}
.novara-categories-widget__list li.is-current .novara-categories-widget__count {
  background: rgba(10,155,161,0.14);
  color: var(--novara-deep-teal);
}

/* Style the inline product-cat strip if it does render */
.archive .term-description,
.shop-categories-loop {
  background: var(--novara-surface-soft);
  padding: 16px 24px;
  border-radius: var(--novara-radius-md);
  margin-bottom: 32px;
}

/* WooCommerce native product placeholder — replace generic image with brand bottle */
.woocommerce-loop-product__link img.attachment-woocommerce_thumbnail.wp-post-image,
.products .product-image-link img,
img.wp-post-image[src*="woocommerce-placeholder"] {
  background: linear-gradient(160deg, #F8FCFC 0%, #EEF7F8 100%);
}

/* Sidebar */
.shop-sidebar,
.widget_price_filter,
.widget_product_categories {
  font-family: var(--novara-font-body);
}
.widget-title,
.widgettitle {
  font-family: var(--novara-font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--novara-deep-teal);
  margin-bottom: 16px;
}

/* Pagination polish */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border-radius: var(--novara-radius-pill) !important;
  font-weight: 600 !important;
  border: 1px solid var(--novara-border) !important;
  padding: 8px 14px !important;
  color: var(--novara-body) !important;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--novara-teal) !important;
  color: #fff !important;
  border-color: var(--novara-teal) !important;
}

/* WooCommerce category widget at top of shop — pill style */
.wd-products-categories,
.wd-shop-tools .wd-shop-tools__inner {
  background: transparent !important;
}
.wd-products-categories ul.product-categories,
.product-categories.wd-shop-categories-list,
.wd-products-categories-list {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 !important;
  list-style: none;
  margin: 0 0 24px !important;
}
.wd-products-categories ul.product-categories li a,
.product-categories.wd-shop-categories-list li a,
.wd-products-categories-list li a {
  background: #fff !important;
  border: 1px solid var(--novara-border) !important;
  border-radius: var(--novara-radius-pill) !important;
  padding: 8px 16px !important;
  color: var(--novara-body) !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  display: inline-block;
  transition: all var(--novara-transition);
}
.wd-products-categories ul.product-categories li a:hover,
.product-categories.wd-shop-categories-list li a:hover,
.wd-products-categories-list li a:hover {
  border-color: var(--novara-teal) !important;
  color: var(--novara-deep-teal) !important;
  background: var(--novara-surface-alt) !important;
}

/* Title bar above shop */
.woocommerce-products-header {
  text-align: left;
  margin-bottom: 32px;
}
.woocommerce-products-header__title.page-title {
  font-family: var(--novara-font-heading);
  font-weight: 700;
  letter-spacing: -0.025em;
}

/* Shop control bar (sort, count, view toggles) */
.wd-shop-tools,
.woocommerce-toolbar,
.wd-products-tools-row {
  background: transparent !important;
  border-bottom: 1px solid var(--novara-border);
  padding-block: 12px 18px !important;
  margin-bottom: 24px;
}
.woocommerce-result-count {
  font-size: 0.875rem;
  color: var(--novara-muted);
}
.woocommerce-ordering select {
  border-radius: var(--novara-radius-md) !important;
  border: 1px solid var(--novara-border) !important;
  padding: 8px 32px 8px 12px !important;
  font-size: 0.875rem !important;
}

/* Default WC placeholder image for products w/o image — soften & tint */
.product-image-link img[src*="placeholder"],
.wd-product-image img[src*="placeholder"],
img.wp-post-image[src*="woocommerce-placeholder"] {
  background: linear-gradient(160deg, #F8FCFC 0%, #EEF7F8 100%);
  padding: 18%;
  opacity: 0.55;
  mix-blend-mode: multiply;
}

/* Product card image wrapper — ensure consistent aspect ratio */
.product-grid-item .product-image-link,
.product-grid-item .wd-product-image,
.product-grid-item .product-element-top {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, #F8FCFC 0%, #EEF7F8 100%);
  overflow: hidden;
}
.product-grid-item .product-image-link::before {
  content: '';
  position: absolute;
  inset: 22% 32% auto 32%;
  height: 56%;
  border-radius: 24px 24px 12px 12px;
  background: linear-gradient(180deg, #fff 0%, #F4FAFA 100%);
  border: 1px solid var(--novara-border);
  box-shadow: var(--novara-shadow-sm);
  z-index: 0;
}
.product-grid-item .product-image-link::after {
  content: '';
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: 24%;
  height: 12px;
  border-radius: 4px;
  background: var(--novara-gradient-brand);
  z-index: 1;
}
.product-grid-item .product-image-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 2;
}

/* ──────────────────────────────────────────────────────────
   SINGLE PRODUCT — premium gallery + buy box treatment
   ────────────────────────────────────────────────────────── */
.single-product .product .summary {
  font-family: var(--novara-font-body);
}
.single-product .product .product_meta { font-size: 0.8125rem; color: var(--novara-muted); }
.single-product .product .product_meta > span { display: block; margin-bottom: 4px; }
.single-product .product .woocommerce-product-rating { margin-bottom: 16px; }
.single-product .product .price del { color: var(--novara-subtle); }
.single-product .product .stock { font-size: 0.875rem; font-weight: 500; }

.woocommerce-Tabs-panel h2.tab-title { display: none; }
.woocommerce-tabs ul.tabs {
  border-bottom: 1px solid var(--novara-border);
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
}
.woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: 0 !important;
  margin: 0 !important;
}
.woocommerce-tabs ul.tabs li a {
  display: inline-block;
  padding: 14px 8px !important;
  font-family: var(--novara-font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--novara-muted);
  border-bottom: 2px solid transparent;
  transition: color var(--novara-transition), border-color var(--novara-transition);
}
.woocommerce-tabs ul.tabs li.active a {
  color: var(--novara-deep-teal) !important;
  border-bottom-color: var(--novara-teal);
}

/* ──────────────────────────────────────────────────────────
   STICKY MOBILE ADD TO CART
   ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .single-product .summary form.cart {
    position: sticky;
    bottom: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    padding: 16px;
    margin: 16px -16px -16px;
    border-top: 1px solid var(--novara-border);
    box-shadow: 0 -8px 24px rgba(16,42,51,0.06);
    z-index: 50;
  }
}

/* ──────────────────────────────────────────────────────────
   CATEGORY ARCHIVE BANNER
   ────────────────────────────────────────────────────────── */
.term-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--novara-muted);
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

/* ──────────────────────────────────────────────────────────
   CART / CHECKOUT
   ────────────────────────────────────────────────────────── */
.woocommerce table.shop_table {
  background: #fff;
  border: 1px solid var(--novara-border);
  border-radius: var(--novara-radius-md);
  overflow: hidden;
}
.woocommerce table.shop_table th {
  background: var(--novara-surface-alt);
  font-family: var(--novara-font-heading);
  font-weight: 600;
  color: var(--novara-ink);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.woocommerce-cart-form__contents tr td,
.woocommerce-cart-form__contents tr th {
  padding: 18px !important;
  vertical-align: middle !important;
}

.woocommerce-cart .cart-collaterals .cart_totals h2 {
  font-family: var(--novara-font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce-Button,
.woocommerce a.button.alt {
  background: var(--novara-teal) !important;
  color: #fff !important;
  border-radius: var(--novara-radius-pill) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  padding: 12px 24px !important;
  border: 0 !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button.alt:hover {
  background: var(--novara-deep-teal) !important;
  color: #fff !important;
}

.woocommerce form .form-row label {
  font-weight: 500;
  color: var(--novara-body);
  font-size: 0.875rem;
}

/* ──────────────────────────────────────────────────────────
   GENERIC PAGE TITLE BAR (non-front pages)
   ────────────────────────────────────────────────────────── */
body:not(.home) .wd-page-title {
  background: var(--novara-gradient-hero) !important;
  border-bottom: 1px solid var(--novara-border);
  padding: 56px 0 36px !important;
}
body:not(.home) .wd-page-title .entry-title {
  font-family: var(--novara-font-heading);
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--novara-ink);
}

/* ──────────────────────────────────────────────────────────
   STACK HERO SLIDER — split layout
   ────────────────────────────────────────────────────────── */

@keyframes nvHeroSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Top spacing only — width is full-bleed, content is constrained inside */
.nv-stack-hero__wrapper {
  padding-block-start: 32px;
}

.nv-stack-hero {
  position: relative;
  /* Hard 50/50 split: left = ink (content bg), right = slightly lighter (image bg) */
  background: linear-gradient(to right, var(--novara-ink) 50%, #111820 50%);
  overflow: hidden;
}

.nv-stack-hero__slider {
  position: relative;
  width: 100%;
  height: clamp(460px, 65vh, 680px);
  overflow: hidden;
  user-select: none;
}

.nv-stack-hero__track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Slide — absolutely fills the track, fades in/out */
.nv-stack-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}
.nv-stack-hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Split grid inside each slide — constrained to content width, centered */
.nv-stack-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  max-width: var(--novara-container);
  margin-inline: auto;
  width: 100%;
}

/* ── Left column: content ── */
.nv-stack-hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 56px;
  position: relative;
  overflow: hidden;
}
.nv-stack-hero__left::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 2px;
  background: var(--novara-gradient-cta, linear-gradient(180deg, #4fd1c5, #667eea));
  border-radius: 2px;
}

.nv-stack-hero__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--novara-mint, #4fd1c5);
  display: block;
  margin-bottom: 12px;
  opacity: 0;
}
.nv-stack-hero__slide.is-active .nv-stack-hero__eyebrow {
  animation: nvHeroSlideUp 0.5s ease 0.05s both;
}

.nv-stack-hero__title {
  font-family: var(--novara-font-heading, 'Inter', sans-serif);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 20px;
  opacity: 0;
}
.nv-stack-hero__slide.is-active .nv-stack-hero__title {
  animation: nvHeroSlideUp 0.5s ease 0.12s both;
}

/* Component pills */
.nv-stack-hero__pills {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  opacity: 0;
}
.nv-stack-hero__slide.is-active .nv-stack-hero__pills {
  animation: nvHeroSlideUp 0.5s ease 0.20s both;
}
.nv-stack-hero__pill {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 100px;
  padding: 4px 11px;
  white-space: nowrap;
}
.nv-stack-hero__pill--more {
  color: var(--novara-mint, #4fd1c5);
  background: rgba(79,209,197,0.1);
  border-color: rgba(79,209,197,0.25);
}

/* Price + save badge row */
.nv-stack-hero__price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  opacity: 0;
}
.nv-stack-hero__slide.is-active .nv-stack-hero__price-row {
  animation: nvHeroSlideUp 0.5s ease 0.28s both;
}
.nv-stack-hero__price {
  font-size: 1.625rem;
  font-weight: 700;
  color: #fff;
}
.nv-stack-hero__price .woocommerce-Price-currencySymbol { font-size: 0.8em; }
.nv-stack-hero__save {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--novara-ink, #0a0e14);
  background: var(--novara-mint, #4fd1c5);
  border-radius: 100px;
  padding: 4px 10px;
  flex-shrink: 0;
}

/* CTA */
.nv-stack-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  opacity: 0;
}
.nv-stack-hero__slide.is-active .nv-stack-hero__cta {
  animation: nvHeroSlideUp 0.5s ease 0.36s both;
}

/* ── Right column: product image ── */
.nv-stack-hero__right {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.nv-stack-hero__right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 60% at 50% 50%, rgba(79,209,197,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.nv-stack-hero__img {
  display: block;
  position: relative;
  z-index: 1;
  max-width: 76%;
  max-height: 76%;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 3px solid var(--novara-mint, #52e9a0);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
  transform: scale(0.88) translateY(12px);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}
.nv-stack-hero__slide.is-active .nv-stack-hero__img {
  transform: scale(1) translateY(0);
  opacity: 1;
  transition-delay: 0.15s;
}

/* Prev / next arrows */
.nv-stack-hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--novara-transition, 0.2s), transform 0.2s;
}
.nv-stack-hero__nav:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-50%) scale(1.08);
}
.nv-stack-hero__nav--prev { left: 16px; }
.nv-stack-hero__nav--next { right: 16px; }

/* Dot navigation — pill-shaped, left-aligned to content column */
.nv-stack-hero__dots {
  position: absolute;
  bottom: 28px;
  /* Tracks the left padding of the constrained content column */
  left: max(56px, calc((100% - var(--novara-container)) / 2 + 56px));
  display: flex;
  gap: 8px;
  z-index: 10;
}
.nv-stack-hero__dot {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.22);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, width 0.25s;
}
.nv-stack-hero__dot.is-active {
  background: var(--novara-mint, #4fd1c5);
  width: 40px;
}

/* Progress bar — runs along the very bottom edge */
.nv-stack-hero__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.08);
  z-index: 10;
}
.nv-stack-hero__progress-bar {
  height: 100%;
  width: 100%;
  background: var(--novara-mint, #4fd1c5);
  transform-origin: left center;
  transform: scaleX(0);
}

/* Bottom tagline + CTA bar */
.nv-stack-hero__bar {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 16px 0;
}
.nv-stack-hero__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: var(--novara-container);
  margin-inline: auto;
  width: 100%;
  padding-inline: 56px;
}
.nv-stack-hero__bar-tagline {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  margin: 0;
}
.nv-stack-hero__bar-ctas {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* Fallback when no slides */
.nv-stack-hero__fallback {
  padding: 80px 24px;
  color: #fff;
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nv-stack-hero__left { padding: 44px 40px; }
  .nv-stack-hero__dots { left: max(40px, calc((100% - var(--novara-container)) / 2 + 40px)); }
  .nv-stack-hero__bar-inner { padding-inline: 40px; }
}

@media (max-width: 767px) {
  /* Flip to vertical gradient matching the stacked mobile layout */
  .nv-stack-hero { background: linear-gradient(to bottom, #111820 200px, var(--novara-ink) 200px); }

  .nv-stack-hero__slider { height: clamp(520px, 75vh, 680px); }

  .nv-stack-hero__inner {
    grid-template-columns: 1fr;
    grid-template-rows: 200px 1fr;
  }

  .nv-stack-hero__right { order: -1; }

  .nv-stack-hero__img { max-width: 58%; max-height: 58%; }

  .nv-stack-hero__left {
    padding: 28px 24px 52px;
  }
  .nv-stack-hero__left::before { display: none; }

  .nv-stack-hero__title { font-size: 1.375rem; }

  .nv-stack-hero__nav { top: 100px; }
  .nv-stack-hero__nav--prev { left: 12px; }
  .nv-stack-hero__nav--next { right: 12px; }

  .nv-stack-hero__dots { bottom: 16px; left: 24px; }

  .nv-stack-hero__bar-inner { flex-direction: column; align-items: flex-start; padding-inline: 24px; }
}

/* ──────────────────────────────────────────────────────────
   RESEARCH GRID (homepage teaser)
   ────────────────────────────────────────────────────────── */
.novara-research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.novara-research-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--novara-surface);
  border: 1px solid var(--novara-border);
  border-radius: var(--novara-radius-lg);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--novara-transition), box-shadow var(--novara-transition);
}
.novara-research-card:hover {
  border-color: var(--novara-mint);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.novara-research-card__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--novara-mint);
}
.novara-research-card__title {
  font-family: var(--novara-font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--novara-ink);
  line-height: 1.3;
  margin: 0;
}
.novara-research-card__excerpt {
  font-size: 0.9rem;
  color: var(--novara-muted);
  line-height: 1.6;
  flex: 1;
  margin: 0;
}
.novara-research-card__cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--novara-mint);
  margin-top: auto;
}
.novara-compliance-micro {
  font-size: 0.78rem;
  color: var(--novara-muted);
  opacity: 0.75;
}

@media (max-width: 767px) {
  .novara-research-grid {
    grid-template-columns: 1fr;
  }
}


/* ══════════════════════════════════════════════════════════════
   AGE VERIFICATION GATE
   ══════════════════════════════════════════════════════════════ */

/* Lock scroll on <html> while gate is open */
html.novara-age-gate-open {
  overflow: hidden;
}

.novara-age-gate {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;

  /* Hidden until JS adds .is-visible */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.novara-age-gate.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.novara-age-gate.is-dismissed {
  opacity: 0;
  pointer-events: none;
}

/* Full-screen dark backdrop */
.novara-age-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 20, 0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Centered card */
.novara-age-gate__card {
  position: relative;
  z-index: 1;
  background: var(--novara-surface, #111820);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: clamp(36px, 6vw, 56px) clamp(28px, 5vw, 48px);
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  animation: nag-rise 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes nag-rise {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* Logo */
.novara-age-gate__logo {
  margin-bottom: 20px;
}
.novara-age-gate__logo img {
  height: 36px;
  width: auto;
}

/* "Research Compounds" badge */
.novara-age-gate__badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  background: rgba(6,107,116,0.18);
  border: 1px solid rgba(6,107,116,0.35);
  color: var(--novara-teal, #067b74);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Title */
.novara-age-gate__title {
  font-family: var(--novara-font-display, 'Inter', sans-serif);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Description */
.novara-age-gate__desc {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  margin: 0 0 16px;
}
.novara-age-gate__desc strong {
  color: #fff;
  font-weight: 600;
}

/* Legal fine print */
.novara-age-gate__legal {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.38);
  margin: 0 0 32px;
}
.novara-age-gate__legal a {
  color: rgba(255,255,255,0.55);
  text-decoration: underline;
}
.novara-age-gate__legal a:hover {
  color: rgba(255,255,255,0.8);
}

/* Action buttons */
.novara-age-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.novara-age-gate__btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  border-radius: var(--novara-radius-pill, 100px);
  font-family: var(--novara-font-body, 'Inter', sans-serif);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.novara-age-gate__btn:focus-visible {
  outline: 2px solid var(--novara-teal, #067b74);
  outline-offset: 2px;
}

/* Confirm — teal gradient CTA */
.novara-age-gate__btn--confirm {
  background: var(--novara-gradient-cta, linear-gradient(135deg,#067b74,#0a9e95));
  color: #fff;
  box-shadow: 0 8px 24px rgba(6,107,116,0.35);
}
.novara-age-gate__btn--confirm:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(6,107,116,0.45);
}

/* Deny — ghost button */
.novara-age-gate__btn--deny {
  background: transparent;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.12);
}
.novara-age-gate__btn--deny:hover {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.65);
}

@media (max-width: 480px) {
  .novara-age-gate__card {
    border-radius: 12px;
  }
}

/* ──────────────────────────────────────────────────────────
   CERTIFICATE OF ANALYSIS PAGE
   ────────────────────────────────────────────────────────── */

/* Hero */
.nv-coa-hero__inner {
  max-width: 760px;
}
.nv-coa-hero__title {
  font-family: var(--novara-font-heading);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #fff;
  margin: 0 0 24px;
}
.nv-coa-hero__title .novara-text-gradient {
  background: var(--novara-gradient-cta, linear-gradient(135deg, #4fd1c5, #667eea));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nv-coa-hero__sub {
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.68);
  margin: 0 0 32px;
  max-width: 640px;
}

/* Stats bar */
.nv-coa-stats-bar {
  background: var(--novara-surface-alt, #f4f7f8);
  border-top: 1px solid var(--novara-border, rgba(0,0,0,0.08));
  border-bottom: 1px solid var(--novara-border, rgba(0,0,0,0.08));
}
.nv-coa-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.nv-coa-stat {
  padding: 28px 24px;
  border-right: 1px solid var(--novara-border, rgba(0,0,0,0.08));
  text-align: center;
}
.nv-coa-stat:last-child { border-right: none; }
.nv-coa-stat__num {
  font-family: var(--novara-font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--novara-teal, #0a9ba1);
  line-height: 1.1;
  display: block;
  margin-bottom: 6px;
}
.nv-coa-stat__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--novara-ink);
  display: block;
  margin-bottom: 3px;
}
.nv-coa-stat__sub {
  font-size: 0.75rem;
  color: var(--novara-muted);
}

/* CoA product table */
.nv-coa-table-wrap {
  border: 1px solid var(--novara-border, rgba(0,0,0,0.08));
  border-radius: var(--novara-radius-lg, 12px);
  overflow: hidden;
  margin-bottom: 16px;
}
.nv-coa-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.nv-coa-table thead tr {
  background: var(--novara-surface-alt, #f4f7f8);
  border-bottom: 1px solid var(--novara-border, rgba(0,0,0,0.08));
}
.nv-coa-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--novara-muted);
  white-space: nowrap;
}
.nv-coa-row {
  border-bottom: 1px solid var(--novara-border, rgba(0,0,0,0.06));
  transition: background 0.15s;
}
.nv-coa-row:last-child { border-bottom: none; }
.nv-coa-row:hover { background: var(--novara-surface-soft, #fafcfc); }
.nv-coa-row--group-start td { padding-top: 20px; }
.nv-coa-table tbody tr {
  display: table-row !important;
}
.nv-coa-table td {
  display: table-cell !important;
  padding: 10px 16px;
  vertical-align: middle;
}
.nv-coa-row__group {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--novara-teal, #0a9ba1);
  margin-bottom: 5px;
}
.nv-coa-row__compound {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nv-coa-row__thumb {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--novara-surface-soft);
  flex-shrink: 0;
}
.nv-coa-row__link {
  font-weight: 600;
  color: var(--novara-ink);
  text-decoration: none;
  transition: color 0.15s;
}
.nv-coa-row__link:hover { color: var(--novara-teal, #0a9ba1); }
.nv-coa-row__purity {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.nv-coa-purity-num {
  font-family: var(--novara-font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--novara-teal, #0a9ba1);
}
.nv-coa-purity-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--novara-muted);
}
.nv-coa-pass {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1C7D55;
}
.nv-coa-pass__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2DB87A;
  flex-shrink: 0;
}
.nv-coa-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--novara-teal, #0a9ba1);
  border: 1px solid var(--novara-teal, #0a9ba1);
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nv-coa-btn:hover {
  background: var(--novara-teal, #0a9ba1);
  color: #fff;
}
.nv-coa-btn--request {
  color: var(--novara-muted);
  border-color: var(--novara-border, rgba(0,0,0,0.15));
}
.nv-coa-btn--request:hover {
  background: var(--novara-surface-alt);
  color: var(--novara-ink);
}
.nv-coa-table-note {
  font-size: 0.8125rem;
  color: var(--novara-muted);
  line-height: 1.6;
  margin: 0;
}

/* Manufacturing process chain */
.nv-process-chain {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 32px;
  margin-top: 56px;
}
.nv-process-step {
  position: relative;
}
.nv-process-step__marker {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.nv-process-step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--novara-gradient-cta, linear-gradient(135deg, #4fd1c5, #667eea));
  color: #fff;
  font-family: var(--novara-font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nv-process-step__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(79,209,197,0.5), rgba(79,209,197,0.1));
  margin-left: 12px;
}
.nv-process-step__body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px;
}
.nv-process-step__body p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.65;
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .nv-coa-stats-row { grid-template-columns: repeat(2, 1fr); }
  .nv-coa-stat:nth-child(2) { border-right: none; }
  .nv-coa-stat:nth-child(1),
  .nv-coa-stat:nth-child(2) { border-bottom: 1px solid var(--novara-border, rgba(0,0,0,0.08)); }
  .nv-process-chain { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nv-process-step__line { display: none; }
}

@media (max-width: 767px) {
  .nv-coa-stats-row { grid-template-columns: 1fr 1fr; }
  .nv-coa-table th:nth-child(4),
  .nv-coa-table td:nth-child(4) { display: none; }
  .nv-process-chain { grid-template-columns: 1fr; gap: 24px; }
  .nv-coa-hero__title { font-size: 2rem; }
}

@media (max-width: 560px) {
  .nv-coa-stats-row { grid-template-columns: 1fr; }
  .nv-coa-stat { border-right: none; border-bottom: 1px solid var(--novara-border, rgba(0,0,0,0.08)); }
  .nv-coa-stat:last-child { border-bottom: none; }
  .nv-coa-table th:nth-child(3),
  .nv-coa-table td:nth-child(3) { display: none; }
}
