/* =========================================================================================================================
   ASSURION LABS (wellness edition) - SHELL
   Loaded right after main.css. Owns the site chrome: announcement bar, two-tier sticky header, search field + predictive
   dropdown, nav bar + mega menus, mobile drawer, footer, newsletter block, toasts, accordion/FAQ, tabs, breadcrumb polish,
   generic page templates, utilities.  Prefixes: al-ann- al-hd- al-nav- al-mega- al-dr- al-ft- al-nl- al-toast- al-faq-.
   Tokens only (var(--x)); the few derived tokens below are defined here, the design-system tokens live in main.css.
   ========================================================================================================================= */

/* ─────────────────────────────────────────
   0. SHELL TOKENS
   ───────────────────────────────────────── */
:root {
  /* Two-tier sticky header = row 1 (76) + row 2 (48) + hairlines. main.js re-measures the real height and writes it to
     --header-h at runtime, so sticky sidebars elsewhere always clear the header. */
  --header-h: 125px;
  --al-row1-h: 76px;
  --al-row2-h: 48px;

  --al-glass: rgba(9, 12, 16, .86);
  --al-glass-solid: rgba(9, 12, 16, .96);
  --al-scrim: rgba(9, 12, 16, .62);
  --al-hover: rgba(255, 255, 255, .05);
  --al-outline: rgba(255, 255, 255, .08);

  --al-ease: cubic-bezier(.2, 0, 0, 1);
  --al-ease-out: cubic-bezier(.22, 1, .36, 1);

  --al-z-header: 900;
  --al-z-drawer: 1000;
  --al-z-toast: 1200;
}
@media (max-width: 1100px) {
  :root { --header-h: 64px; }
}

/* ─────────────────────────────────────────
   1. BASE REFINEMENTS
   ───────────────────────────────────────── */
html { scroll-padding-top: calc(var(--header-h) + 12px); }
html.al-lock { overflow: hidden; }
body { -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
:where(h1, h2, h3, h4) { text-wrap: balance; }
:where(p, li, figcaption, .section-sub) { text-wrap: pretty; }
[hidden] { display: none !important; }

/* Visible keyboard focus everywhere (inputs keep their border style and add the ring on top). */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
:where(a, button, summary, [tabindex]):focus:not(:focus-visible) { outline: none; }
.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible,
.search-input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 1px;
}
input[type="search"] { -webkit-appearance: none; appearance: none; }
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

/* Screen-reader text (WordPress standard) + skip link */
.screen-reader-text,
.sr-only {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  position: absolute;
  word-wrap: normal;
}
.screen-reader-text:focus,
.sr-only:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  width: auto;
  margin: 0;
  overflow: visible;
}
.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 100000;
  padding: 13px 20px;
  background: var(--cyan);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--r-md);
  outline-offset: 3px;
}
.al-content-anchor { display: block; height: 0; overflow: hidden; outline: none; }

/* Buttons: no `transition: all` (main.css .btn uses it), and a tactile press. */
.btn {
  transition-property: background-color, color, border-color, box-shadow, transform, opacity;
  transition-duration: .2s;
  transition-timing-function: var(--al-ease);
}
.btn:active:not(:disabled):not([aria-disabled="true"]) { transform: scale(.96); }
.page-btn {
  transition-property: background-color, color, border-color;
  transition-duration: .2s;
}
.btn:disabled,
.btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

/* Numbers that change never shift the layout. */
.cart-count,
.wish-count,
.cart-subtotal-amount,
.cart-item-price,
.cart-item-total-count,
.price,
.amount { font-variant-numeric: tabular-nums; }

.al-icon { flex: none; }
.al-img-outline { outline: 1px solid var(--al-outline); outline-offset: -1px; }

/* Wrapper widths */
.container--narrow { max-width: 860px; }

/* Section headers: left-aligned + "eyebrow / title … view all" variants (al_section_header()) */
.section-header--left { text-align: left; }
.section-header--left .section-sub { margin-left: 0; margin-right: 0; }
.section-header--left .section-label::before { display: none; }
.section-header--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  text-align: left;
}
.section-header--split .section-sub { margin-left: 0; }
.section-header--split .section-label::before { display: none; }
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cyan);
}
.section-link svg { width: 16px; height: 16px; transition: transform .2s var(--al-ease); }
.section-link:hover { color: var(--white); }
.section-link:hover svg { transform: translateX(3px); }

/* Compliance text (al_disclaimer()) */
.al-disclaimer {
  max-width: 78ch;
  margin: 24px 0 0;
  padding: 2px 0 2px 14px;
  border-left: 2px solid var(--border-cyan);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-3);
}
.al-disclaimer + .al-disclaimer { margin-top: 12px; }

/* ─────────────────────────────────────────
   2. ANNOUNCEMENT BAR
   ───────────────────────────────────────── */
.al-ann {
  position: relative;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border-cyan);
  color: var(--text-2);
}
.al-ann-closed .al-ann { display: none; }
.al-ann__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 40px;
  padding-left: 48px;
  padding-right: 48px;
}
.al-ann__viewport {
  display: grid;                 /* every message occupies the same cell: the bar is as tall as its tallest message */
  grid-template-areas: "msg";
  flex: 0 1 720px;
  min-width: 0;
}
.al-ann__msg {
  grid-area: msg;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  margin: 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1.3;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .35s var(--al-ease), transform .35s var(--al-ease), visibility 0s linear .35s;
}
.al-ann__msg.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.al-ann__msg a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--border-cyan);
  text-underline-offset: 3px;
}
.al-ann__msg a:hover { color: var(--white); text-decoration-color: var(--cyan); }
.al-ann__nav,
.al-ann__close {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text-3);
  border-radius: var(--r-md);
  transition: color .2s, background-color .2s;
}
.al-ann__nav:hover,
.al-ann__close:hover { color: var(--white); background: var(--al-hover); }
.al-ann__nav svg,
.al-ann__close svg { width: 16px; height: 16px; }
.al-ann__close { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); }
@media (min-width: 641px) {
  .al-ann__msg {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
}
@media (max-width: 640px) {
  .al-ann__inner { padding-left: 16px; padding-right: 44px; }
  .al-ann__nav { display: none; }
}

/* ─────────────────────────────────────────
   3. HEADER (two tiers, sticky)
   ───────────────────────────────────────── */
.al-hd {
  position: sticky;
  top: 0;
  z-index: var(--al-z-header);
  background: var(--al-glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  transition: transform .3s var(--al-ease), box-shadow .3s var(--al-ease), background-color .3s var(--al-ease);
}
.al-hd.is-scrolled {
  background: var(--al-glass-solid);
  box-shadow: var(--shadow-card);
}
.al-hd.is-hidden { transform: translateY(-100%); }
body.admin-bar .al-hd { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .al-hd { top: 46px; }
}

/* Row 1: logo · search · account / wishlist / cart */
.al-hd__grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: var(--al-row1-h);
  align-items: center;
  column-gap: 28px;
}
.al-hd-logo { grid-area: 1 / 1; justify-self: start; display: inline-flex; align-items: center; }
.al-hd__search { grid-area: 1 / 2; justify-self: center; width: 100%; max-width: 620px; min-width: 0; }
.al-hd__actions { grid-area: 1 / 3; display: flex; align-items: center; gap: 2px; }
.al-hd .al-hd-menu { grid-area: 1 / 1; display: none; } /* .al-hd prefix: must beat .al-hd-btn (same specificity, declared later) */
.al-hd .site-logo-img { height: 50px; width: auto; }
.al-hd-logo__text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--white);
}

/* Icon buttons (account, wishlist, cart, menu, search toggle) */
.al-hd-btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 48px;
  height: 52px;
  padding: 0 8px;
  color: var(--text-2);
  border-radius: var(--r-md);
  transition: color .2s var(--al-ease), background-color .2s var(--al-ease);
}
.al-hd-btn:hover { color: var(--white); background: var(--al-hover); }
.al-hd-btn > svg { width: 22px; height: 22px; }
.al-hd-btn__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
}
.al-hd-btn:active { transform: scale(.96); }
.al-hd .al-hd-searchtoggle { display: none; }

/* Badges: .cart-count comes from main.css (WooCommerce fragments replace it); .wish-count is filled by wishlist.js */
.al-hd-btn .cart-count,
.al-hd-btn .wish-count { top: 4px; right: 6px; left: auto; }
.wish-count {
  position: absolute;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  border-radius: 9px;
  border: 2px solid var(--bg);
}
.wish-count:empty,
.wish-count.is-zero { display: none; }

/* "Subscribe & Save" utility link */
.al-hd-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  margin-right: 10px;
  padding: 0 14px;
  color: var(--cyan);
  border: 1px solid var(--border-cyan);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .03em;
  white-space: nowrap;
  transition: background-color .2s var(--al-ease), color .2s var(--al-ease), border-color .2s var(--al-ease);
}
.al-hd-link svg { width: 16px; height: 16px; }
.al-hd-link:hover { color: var(--white); background: var(--cyan-dim); border-color: var(--cyan); }

/* Burger */
.al-burger { position: relative; display: block; width: 22px; height: 16px; }
.al-burger i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform .3s var(--al-ease), opacity .2s var(--al-ease), top .3s var(--al-ease);
}
.al-burger i:nth-child(1) { top: 0; }
.al-burger i:nth-child(2) { top: 7px; }
.al-burger i:nth-child(3) { top: 14px; }
.al-hd-menu[aria-expanded="true"] .al-burger i:nth-child(1) { top: 7px; transform: rotate(45deg); }
.al-hd-menu[aria-expanded="true"] .al-burger i:nth-child(2) { opacity: 0; }
.al-hd-menu[aria-expanded="true"] .al-burger i:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* Search field (form[role=search][data-al-search]) */
.al-hd-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 48px;
  padding: 4px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color .2s var(--al-ease), box-shadow .2s var(--al-ease), background-color .2s var(--al-ease);
}
.al-hd-search:hover { border-color: var(--border-cyan); }
.al-hd-search:focus-within {
  border-color: var(--cyan);
  background: var(--bg-2);
  box-shadow: 0 0 0 3px var(--cyan-dim);
}
.al-hd-search__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  padding-left: 12px;
  color: var(--text-3);
  pointer-events: none;
}
.al-hd-search__icon svg { width: 20px; height: 20px; }
.al-hd-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0 12px;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .01em;
}
.al-hd-search__input::placeholder { color: var(--text-3); opacity: 1; }
.al-hd-search__submit {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 100%;
  background: var(--cyan);
  color: var(--bg);
  border-radius: var(--r-sm);
  transition: background-color .2s var(--al-ease), box-shadow .2s var(--al-ease), transform .2s var(--al-ease);
}
.al-hd-search__submit svg { width: 18px; height: 18px; }
.al-hd-search__submit:hover { background: var(--white); box-shadow: 0 0 20px var(--cyan-glow); }
.al-hd-search__submit:active { transform: scale(.96); }
.al-hd-search__btn { height: 100%; }

/* Standalone search form (404, empty states) */
.al-hd-search--page { height: 56px; max-width: 560px; margin-left: auto; margin-right: auto; }
.al-hd-search--page .al-hd-search__btn { padding-left: 22px; padding-right: 22px; }

/* Predictive dropdown: filled by the search module (inc/search.php + search.js). Suggested markup:
   .al-search-suggest > .al-search-suggest__group > (.al-search-suggest__heading + a.al-search-suggest__item[.is-active]
     > .al-search-suggest__thumb img + .al-search-suggest__body(.al-search-suggest__title + .al-search-suggest__meta) + .al-search-suggest__price)
   + a.al-search-suggest__all ; states: .is-loading on the panel, .al-search-suggest__empty for "no results". */
.al-search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: min(70vh, 560px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px;
  background: var(--bg-2);
  border: 1px solid var(--border-cyan);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  animation: al-fade-in .18s var(--al-ease) both;
}
.al-search-suggest.is-loading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 40%;
  background: var(--cyan);
  animation: al-loading 1s var(--al-ease) infinite;
}
.al-search-suggest__group { padding: 4px 0 6px; }
.al-search-suggest__group + .al-search-suggest__group { border-top: 1px solid var(--border); }
.al-search-suggest__heading {
  margin: 0;
  padding: 8px 12px 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.al-search-suggest__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 6px 12px;
  border-radius: calc(var(--r-lg) - 8px);
  color: var(--text);
  transition: background-color .15s var(--al-ease), color .15s var(--al-ease);
}
.al-search-suggest__item:hover,
.al-search-suggest__item.is-active,
.al-search-suggest__item[aria-selected="true"] { background: var(--cyan-dim); color: var(--white); }
.al-search-suggest__thumb {
  flex: none;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--bg-3);
  outline: 1px solid var(--al-outline);
  outline-offset: -1px;
}
.al-search-suggest__thumb img { width: 100%; height: 100%; object-fit: cover; }
.al-search-suggest__body { min-width: 0; flex: 1 1 auto; }
.al-search-suggest__title { display: block; font-weight: 600; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.al-search-suggest__meta { display: block; font-size: 13px; color: var(--text-3); }
.al-search-suggest__price {
  flex: none;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.al-search-suggest__all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding: 14px 12px 8px;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cyan);
}
.al-search-suggest__all:hover { color: var(--white); }
.al-search-suggest__empty { padding: 18px 12px; color: var(--text-2); }

/* Row 2: nav bar */
.al-hd__row2 { border-top: 1px solid var(--border); }
.al-nav__list {
  /* 11 items must fit one row from 1101px up: type and padding scale with the viewport (measured against Rajdhani 600). */
  --al-nav-px: clamp(6px, calc(2vw - 16px), 10px);
  --al-nav-fs: clamp(13.25px, calc(6.34px + .628vw), 14.5px);
  display: flex;
  flex-wrap: wrap; /* graceful fallback: wraps to a 2nd line if a wider fallback font is used, never a sideways scrollbar */
  align-items: stretch;
  justify-content: space-between;
  min-height: var(--al-row2-h);
  list-style: none;
}
.al-nav__item { display: flex; align-items: stretch; }
.al-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 var(--al-nav-px);
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: var(--al-nav-fs);
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1;
  white-space: nowrap;
  background: transparent;
  transition: color .2s var(--al-ease);
}
.al-nav__link > span { position: relative; }
.al-nav__link::after {
  content: '';
  position: absolute;
  left: var(--al-nav-px);
  right: var(--al-nav-px);
  bottom: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s var(--al-ease);
}
.al-nav__item:hover > .al-nav__link,
.al-nav__item.is-open > .al-nav__link,
.al-nav__item.is-current > .al-nav__link,
.al-nav__item.is-current-ancestor > .al-nav__link { color: var(--white); }
.al-nav__item:hover > .al-nav__link::after,
.al-nav__item.is-open > .al-nav__link::after,
.al-nav__item.is-current > .al-nav__link::after,
.al-nav__item.is-current-ancestor > .al-nav__link::after { transform: scaleX(1); }
.al-nav__item.has-mega > .al-nav__link { padding-right: 2px; }
.al-nav__item.has-mega > .al-nav__link::after { right: 2px; }
.al-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  padding: 0;
  color: var(--text-3);
  transition: color .2s var(--al-ease);
}
.al-nav__toggle svg { width: 14px; height: 14px; transition: transform .25s var(--al-ease); }
.al-nav__item:hover > .al-nav__toggle,
.al-nav__item.is-open > .al-nav__toggle { color: var(--white); }
.al-nav__item.is-open > .al-nav__toggle svg,
.al-nav__item.is-open > .al-nav__toggle--label svg { transform: rotate(180deg); }
.al-nav__toggle--label { width: auto; padding: 0 var(--al-nav-px); gap: 6px; color: var(--text-2); }
.al-nav__toggle--label svg { width: 14px; height: 14px; }

/* Mega panels */
.al-mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-h) - 24px);
  overflow-y: auto;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border-cyan);
  box-shadow: var(--shadow-lg);
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .22s var(--al-ease), transform .22s var(--al-ease), visibility 0s linear .22s;
}
.al-mega::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 45% 90% at 100% 0, var(--cyan-dim), transparent 70%);
  pointer-events: none;
}
.al-nav__item.is-open > .al-mega {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition-delay: 0s;
}
/* Without JavaScript the panels still open on hover / keyboard focus. */
html:not(.al-js) .al-nav__item:hover > .al-mega,
html:not(.al-js) .al-nav__item:focus-within > .al-mega {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition-delay: 0s;
}
body.al-mega-open::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: calc(var(--al-z-header) - 1);
  background: var(--al-scrim);
  pointer-events: none;
  animation: al-fade-in .22s var(--al-ease) both;
}
.al-mega__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 30px 0 34px;
}
.al-mega__main { min-width: 0; }
.al-mega__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cyan);
}
.al-mega__all svg { width: 16px; height: 16px; transition: transform .2s var(--al-ease); }
.al-mega__all:hover { color: var(--white); }
.al-mega__all:hover svg { transform: translateX(3px); }
.al-mega__cols { list-style: none; }
.al-mega__cols.is-flat { column-count: 3; column-gap: 32px; }
.al-mega__cols.is-flat > li { break-inside: avoid; }
.al-mega__cols.is-grouped { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 32px; }
.al-mega__heading {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.al-mega__list { list-style: none; }
.al-mega__link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  margin: 0 -10px;
  padding: 6px 10px;
  border-radius: var(--r-md);
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
  transition: color .18s var(--al-ease), background-color .18s var(--al-ease);
}
.al-mega__link:hover,
.al-mega__item.is-current > .al-mega__link { color: var(--white); background: var(--al-hover); }
.al-mega__ico {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--r-sm);
  background: var(--cyan-dim);
  color: var(--cyan);
}
.al-mega__ico svg { width: 17px; height: 17px; }
.al-mega__foot {
  display: flex;
  align-items: center;
  gap: 8px 18px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.al-mega__foot-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.al-mega__foot-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.al-mega__foot-item a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  transition: color .18s var(--al-ease), border-color .18s var(--al-ease), background-color .18s var(--al-ease);
}
.al-mega__foot-item a:hover { color: var(--white); border-color: var(--border-cyan); background: var(--cyan-dim); }
.al-mega__foot-item .al-mega__ico { width: 20px; height: 20px; background: transparent; }
.al-mega__foot-item .al-mega__ico svg { width: 16px; height: 16px; }

/* Promo tile */
.al-mega__promo {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  width: 320px;
  min-height: 290px;
  margin-left: 48px;
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.al-mega__promo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 12%, var(--cyan-glow-sm), transparent 55%),
    radial-gradient(ellipse at 15% 100%, var(--cyan-dim), transparent 60%);
}
.al-mega__promo.has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 15%, var(--bg-2) 96%);
}
.al-mega__promo-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .45s var(--al-ease);
}
.al-mega__promo-img.is-loaded { opacity: .85; }
.al-mega__promo-body { position: relative; padding: 22px; }
.al-mega__promo-eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.al-mega__promo-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.005em;
  color: var(--white);
  text-wrap: balance;
}
.al-mega__promo-text { margin: 0 0 16px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.al-mega__promo-cta { margin-top: 2px; }

/* ─────────────────────────────────────────
   4. MOBILE DRAWER
   ───────────────────────────────────────── */
.al-dr {
  position: fixed;
  inset: 0;
  z-index: var(--al-z-drawer);
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear .35s;
}
.al-dr.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.al-dr__overlay {
  position: absolute;
  inset: 0;
  background: var(--al-scrim);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .3s var(--al-ease);
}
.al-dr.is-open .al-dr__overlay { opacity: 1; }
.al-dr__sheet {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(400px, calc(100vw - 44px));
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transform: translateX(-100%);
  transition: transform .34s var(--al-ease-out);
  padding-bottom: env(safe-area-inset-bottom);
}
.al-dr.is-open .al-dr__sheet { transform: none; }
.al-dr__head {
  position: sticky;
  top: 0;
  z-index: 2;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 8px 20px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.al-dr__head .site-logo-img { height: 38px; width: auto; }
.al-dr__close { min-width: 48px; height: 48px; }
.al-dr__nav { flex: 0 0 auto; padding: 4px 0 8px; }
.al-dr__list { list-style: none; }
.al-dr__row { display: flex; align-items: stretch; border-bottom: 1px solid var(--border); }
.al-dr__link {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 20px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .01em;
}
.al-dr__link:hover { color: var(--white); }
.al-dr__item.is-current > .al-dr__row .al-dr__link,
.al-dr__item.is-current-ancestor > .al-dr__row .al-dr__link { color: var(--cyan); }
.al-dr__toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  color: var(--text-3);
  border-left: 1px solid var(--border);
  transition: color .2s var(--al-ease), background-color .2s var(--al-ease);
}
.al-dr__toggle:hover { color: var(--white); background: var(--al-hover); }
.al-dr__toggle svg { width: 20px; height: 20px; transition: transform .25s var(--al-ease); }
.al-dr__toggle[aria-expanded="true"] { color: var(--cyan); }
.al-dr__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.al-dr__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  background: var(--bg);
  transition: grid-template-rows .3s var(--al-ease), visibility 0s linear .3s;
}
.al-dr__item.is-open > .al-dr__panel { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.al-dr__panel-inner { min-height: 0; overflow: hidden; }
.al-dr__sub { list-style: none; padding: 6px 0 12px; }
.al-dr__group-list { list-style: none; }
.al-dr__sub a,
.al-dr__sublink {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 20px 0 32px;
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  transition: color .18s var(--al-ease), background-color .18s var(--al-ease);
}
.al-dr__sub a:hover { color: var(--white); background: var(--al-hover); }
.al-dr__all a { justify-content: space-between; color: var(--cyan); font-weight: 600; }
.al-dr__all svg { width: 16px; height: 16px; }
.al-dr__ico {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--r-sm);
  background: var(--cyan-dim);
  color: var(--cyan);
}
.al-dr__ico svg { width: 15px; height: 15px; }
.al-dr__heading {
  display: block;
  padding: 14px 20px 4px 32px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.al-dr__util { flex: none; padding: 8px 0 4px; }
.al-dr__util a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 20px;
  color: var(--text-2);
  font-size: 17px;
  font-weight: 500;
}
.al-dr__util a:hover { color: var(--white); background: var(--al-hover); }
.al-dr__util svg { width: 20px; height: 20px; color: var(--cyan); }
.al-dr__foot { flex: none; margin-top: auto; padding: 16px 20px 20px; border-top: 1px solid var(--border); }
.al-dr__contact { display: flex; align-items: center; gap: 12px; min-height: 40px; color: var(--text-2); font-size: 16px; }
.al-dr__contact svg { width: 18px; height: 18px; color: var(--cyan); }
.al-dr__foot .al-social { margin-top: 12px; }

/* ─────────────────────────────────────────
   5. RESPONSIVE HEADER (drawer mode)
   ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .al-hd__row2 { display: none; }
  .al-hd-link,
  .al-hd-acct { display: none; }
  .al-hd-btn__label { display: none; }
  .al-hd .al-hd-menu,
  .al-hd .al-hd-searchtoggle { display: inline-flex; }
  .al-hd-btn { flex-direction: row; min-width: 44px; height: 48px; padding: 0 10px; }
  .al-hd-btn .cart-count,
  .al-hd-btn .wish-count { top: 4px; right: 3px; }

  .al-hd__grid {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: 64px auto;
    column-gap: 6px;
  }
  .al-hd-menu { grid-area: 1 / 1; margin-left: -10px; }
  .al-hd-logo { grid-area: 1 / 2; }
  .al-hd__actions { grid-area: 1 / 3; margin-right: -6px; }
  .al-hd .site-logo-img { height: 38px; }

  .al-hd__search { grid-area: 2 / 1 / 3 / 4; max-width: none; display: none; padding-bottom: 14px; }
  .al-hd.is-search-open .al-hd__search { display: block; animation: al-fade-in .2s var(--al-ease) both; }
  .al-hd-search { height: 50px; }
  .al-search-suggest { max-height: min(60vh, 460px); }
}

/* ─────────────────────────────────────────
   6. FOOTER
   ───────────────────────────────────────── */
.al-ft { position: relative; background: var(--bg-2); border-top: 1px solid var(--border); padding-top: 0; }
.al-ft__trust { background: var(--bg); border-bottom: 1px solid var(--border); }
.al-ft__trust-list {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  gap: 14px 32px;
  padding: 22px 0;
  list-style: none;
}
/* Three items (Subscribe & Save hidden): three columns, not three plus an empty fourth. The responsive rules below still win. */
.al-ft__trust-list--n3 { grid-template-columns: repeat(3, auto); }
.al-ft__trust-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-2);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.3;
}
.al-ft__trust-list svg { flex: none; width: 24px; height: 24px; color: var(--cyan); }
.al-ft__main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: 44px 40px;
  padding: 56px 0 48px;
}
.al-ft__signup { grid-column: 1 / -1; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.al-ft__brand .site-logo-img { height: 45px; width: auto; }
.al-ft__blurb { max-width: 30ch; margin-top: 16px; color: var(--text-3); font-size: 16px; line-height: 1.6; }
.al-ft__title { margin-bottom: 14px; }
.al-ft__links { list-style: none; display: grid; gap: 0; }
.al-ft__links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--text-2);
  font-size: 16px;
  transition: color .18s var(--al-ease);
}
.al-ft__links a:hover { color: var(--cyan); }
.al-ft__links .current-menu-item > a { color: var(--white); }
@media (pointer: coarse) {
  .al-ft__links a { min-height: 42px; }
}

.al-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; list-style: none; }
.al-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: color .2s var(--al-ease), border-color .2s var(--al-ease), background-color .2s var(--al-ease);
}
.al-social a:hover { color: var(--cyan); border-color: var(--border-cyan); background: var(--cyan-dim); }
.al-social svg { width: 20px; height: 20px; }

.al-ft__contact { margin-top: 24px; }
.al-ft__contact-title {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.al-ft__contact ul { list-style: none; display: grid; gap: 8px; }
.al-ft__contact li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-2); font-size: 16px; line-height: 1.45; }
.al-ft__contact svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--cyan); }
.al-ft__contact a { color: var(--text-2); }
.al-ft__contact a:hover { color: var(--cyan); }

.al-ft__legal { padding: 22px 0 36px; border-top: 1px solid var(--border); }
.al-ft__legal-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 32px; }
.al-ft__copy { margin: 0; color: var(--text-3); font-size: 14px; }
.al-ft__legal-links { display: flex; flex-wrap: wrap; gap: 0 22px; list-style: none; }
.al-ft__legal-links a { display: inline-flex; align-items: center; min-height: 34px; color: var(--text-3); font-size: 14px; }
.al-ft__legal-links a:hover { color: var(--white); }
.al-ft__fda { margin-top: 12px; }
.al-ft__fda .al-disclaimer { margin: 0; max-width: 92ch; padding: 0; border: 0; font-size: 12px; }

@media (max-width: 1100px) {
  .al-ft__trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; }
  .al-ft__main { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .al-ft__brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .al-ft__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; padding: 40px 0 36px; }
  .al-ft__legal-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .al-ft__trust-list { grid-template-columns: minmax(0, 1fr); padding: 18px 0; }
}

/* ─────────────────────────────────────────
   7. NEWSLETTER (template-parts/newsletter.php)
   ───────────────────────────────────────── */
.al-nl { display: grid; gap: 24px 48px; align-items: center; }
.al-nl--full { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.al-nl--compact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px 40px; }
.al-nl--card { padding: 40px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-xl); }
.al-nl .section-label { margin-bottom: 14px; }
.al-nl .section-label::before { display: none; }
.al-nl__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.7vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--white);
}
.al-nl--compact .al-nl__title { font-size: 20px; letter-spacing: 0; }
.al-nl__sub { max-width: 46ch; margin: 12px 0 0; color: var(--text-2); font-size: 17px; }
.al-nl--compact .al-nl__sub { margin-top: 6px; font-size: 16px; color: var(--text-3); }
.al-nl__form { position: relative; min-width: 0; }
.al-nl__hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.al-nl__row { display: flex; gap: 10px; }
.al-nl__input { flex: 1 1 auto; min-width: 0; height: 52px; }
.al-nl__btn { flex: none; height: 52px; }
.al-nl__sms { display: grid; gap: 12px; margin-top: 16px; }
.al-nl__phone .form-input { height: 48px; }
.al-nl__consent { align-items: flex-start; gap: 12px; }
.al-nl__consent .form-check-input { margin-top: 3px; width: 20px; height: 20px; }
.al-nl__consent .form-check-label { font-size: 16px; line-height: 1.4; }
.al-nl__terms { margin: 0; font-size: 13px; line-height: 1.55; color: var(--text-3); }
.al-nl__terms a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.al-nl__terms a:hover { color: var(--cyan); }
.al-nl__status { margin: 0; }
.al-nl__status:not(:empty) { margin-top: 12px; }
.al-nl__fine { margin: 10px 0 0; font-size: 13px; color: var(--text-3); }
.al-nl__sms-toggle { margin-top: 12px; }
.al-nl__sms-toggle > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  color: var(--cyan);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.al-nl__sms-toggle > summary::-webkit-details-marker { display: none; }
.al-nl__sms-toggle > summary::before {
  content: '';
  width: 10px;
  height: 10px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: background-size .2s var(--al-ease);
}
.al-nl__sms-toggle[open] > summary::before {
  background-size: 100% 2px, 2px 0;
}
.al-nl__form.is-busy .al-nl__btn { opacity: .6; pointer-events: none; }
@media (max-width: 900px) {
  .al-nl--full,
  .al-nl--compact { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .al-nl__row { flex-direction: column; }
  .al-nl__btn { width: 100%; }
  .al-nl--card { padding: 28px 20px; }
}

/* ─────────────────────────────────────────
   8. CART DRAWER (base styles are in main.css; the shell adds the scroll body + note)
   ───────────────────────────────────────── */
.cart-drawer-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; }
.cart-drawer-body .cart-drawer-items { flex: 1 0 auto; overflow: visible; }
.cart-drawer-note { margin: 0; font-size: 13px; color: var(--text-3); text-align: center; }
.cart-drawer-close { width: 40px; height: 40px; }

/* ─────────────────────────────────────────
   9. TOASTS (AL.toast)
   ───────────────────────────────────────── */
.al-toasts {
  position: fixed;
  z-index: var(--al-z-toast);
  left: 16px;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.al-toasts__list { display: flex; flex-direction: column; align-items: center; gap: 10px; }
@media (min-width: 769px) {
  .al-toasts { left: auto; right: 24px; bottom: 24px; width: min(420px, calc(100vw - 48px)); }
  .al-toasts__list { align-items: flex-end; }
}
.al-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  padding: 14px 10px 14px 16px;
  background: var(--bg-3);
  border: 1px solid var(--border-cyan);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s var(--al-ease), transform .25s var(--al-ease);
}
.al-toast.is-in { opacity: 1; transform: none; }
.al-toast.is-out { opacity: 0; transform: translateY(8px); }
.al-toast__ico { flex: none; display: inline-flex; margin-top: 1px; color: var(--cyan); }
.al-toast__ico svg { width: 20px; height: 20px; }
.al-toast--success .al-toast__ico { color: var(--success); }
.al-toast--error { border-color: var(--danger); }
.al-toast--error .al-toast__ico { color: var(--danger); }
.al-toast__msg { flex: 1 1 auto; min-width: 0; padding-top: 1px; }
.al-toast__close {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: -4px 0 -4px auto;
  color: var(--text-3);
  border-radius: var(--r-sm);
  transition: color .2s, background-color .2s;
}
.al-toast__close:hover { color: var(--white); background: var(--al-hover); }
.al-toast__close svg { width: 16px; height: 16px; }

/* ─────────────────────────────────────────
   10. ACCORDION / FAQ (al_render_faq(): native <details>)
   ───────────────────────────────────────── */
.al-faq { display: grid; gap: 10px; }
.al-faq__heading { margin: 0 0 16px; font-family: var(--font-display); font-size: 20px; color: var(--white); }
.al-faq__item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color .2s var(--al-ease), background-color .2s var(--al-ease);
}
.al-faq__item:hover,
.al-faq__item[open] { border-color: var(--border-cyan); }
.al-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 20px;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  transition: color .2s var(--al-ease);
}
.al-faq__q::-webkit-details-marker { display: none; }
.al-faq__q::after {
  content: '';
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--cyan);
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: background-size .22s var(--al-ease), transform .22s var(--al-ease);
}
.al-faq__item[open] > .al-faq__q { color: var(--cyan); }
.al-faq__item[open] > .al-faq__q::after { background-size: 100% 2px, 2px 0; }
.al-faq__a { padding: 0 20px 18px; color: var(--text-2); font-size: 16.5px; line-height: 1.7; }
.al-faq__a > * + * { margin-top: .8em; }
.al-faq__a a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.al-faq__a ul,
.al-faq__a ol { padding-left: 1.3em; }
.al-faq__a ul { list-style: disc; }
.al-faq__a ol { list-style: decimal; }
.al-faq__item[open] > .al-faq__a { animation: al-fade-in .25s var(--al-ease) both; }

/* ─────────────────────────────────────────
   11. TABS ([data-al-tabs] with role=tablist / tab / tabpanel; keyboard handled in main.js)
   ───────────────────────────────────────── */
.al-tabs__list {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  scrollbar-width: none;
}
.al-tabs__list::-webkit-scrollbar { display: none; }
.al-tabs [role="tab"] {
  flex: none;
  min-height: 46px;
  padding: 12px 20px;
  margin-bottom: -1px;
  color: var(--text-3);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s var(--al-ease), border-color .2s var(--al-ease);
}
.al-tabs [role="tab"]:hover { color: var(--white); }
.al-tabs [role="tab"][aria-selected="true"] { color: var(--cyan); border-bottom-color: var(--cyan); }
.al-tabs [role="tabpanel"] { padding-top: 28px; }
.al-tabs [role="tabpanel"]:not([hidden]) { animation: al-fade-in .25s var(--al-ease) both; }

/* ─────────────────────────────────────────
   12. BREADCRUMB (al_breadcrumb())
   ───────────────────────────────────────── */
.breadcrumb { display: block; margin-bottom: 20px; }
.breadcrumb-list { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; list-style: none; }
.breadcrumb-item { display: inline-flex; align-items: center; min-width: 0; }
.breadcrumb-item + .breadcrumb-item::before {
  content: '';
  flex: none;
  width: 5px;
  height: 5px;
  margin: 0 12px 0 6px;
  border-top: 1.5px solid var(--text-3);
  border-right: 1.5px solid var(--text-3);
  transform: rotate(45deg);
  opacity: .7;
}
.breadcrumb-item a { display: inline-flex; align-items: center; min-height: 32px; color: var(--text-3); transition: color .2s var(--al-ease); }
.breadcrumb-item a:hover { color: var(--cyan); }
.breadcrumb-item.is-current span { display: block; max-width: 44ch; overflow: hidden; color: var(--text-2); text-overflow: ellipsis; white-space: nowrap; }

/* ─────────────────────────────────────────
   13. GENERIC PAGES: content typography, blog cards, pagination, article, 404
   ───────────────────────────────────────── */
.page-hero h1 { text-wrap: balance; }
.page-hero-title { text-wrap: balance; }
.al-page--wide .page-hero p { max-width: 640px; }

.entry-content {
  max-width: 72ch;
  margin-inline: auto;
  color: var(--text-2);
  font-size: 18px;
  line-height: 1.75;
}
.entry-content--wide { max-width: none; }
.entry-content > * + * { margin-top: 1.25em; }
.entry-content h2,
.entry-content h3,
.entry-content h4 { color: var(--white); font-family: var(--font-display); line-height: 1.2; letter-spacing: -.005em; }
.entry-content h2 { margin-top: 2.2em; font-size: clamp(24px, 3vw, 32px); font-weight: 700; }
.entry-content h3 { margin-top: 1.9em; font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; }
.entry-content h4 { margin-top: 1.7em; font-size: 15px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.entry-content > :first-child { margin-top: 0; }
.entry-content strong { color: var(--text); }
.entry-content a { color: var(--cyan); text-decoration: underline; text-decoration-color: var(--border-cyan); text-underline-offset: .2em; transition: color .2s var(--al-ease), text-decoration-color .2s var(--al-ease); }
.entry-content a:hover { color: var(--white); text-decoration-color: currentColor; }
.entry-content ul,
.entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li::marker { color: var(--cyan); }
.entry-content li + li { margin-top: .4em; }
.entry-content blockquote { padding: 4px 0 4px 22px; border-left: 2px solid var(--cyan); color: var(--text); font-size: 1.08em; }
.entry-content img,
.entry-content video { max-width: 100%; height: auto; border-radius: var(--r-lg); outline: 1px solid var(--al-outline); outline-offset: -1px; }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption { margin-top: 8px; font-size: 14px; color: var(--text-3); }
.entry-content hr { height: 1px; border: 0; background: var(--border); margin: 2.5em 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry-content th,
.entry-content td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.entry-content th { background: var(--bg-2); color: var(--text-3); font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
.entry-content code,
.entry-content pre { font-family: var(--font-mono); font-size: .88em; background: var(--bg-3); border-radius: var(--r-sm); }
.entry-content code { padding: .15em .4em; }
.entry-content pre { padding: 16px; overflow-x: auto; }
.entry-content .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.5em; }
.entry-content .aligncenter { display: block; margin-inline: auto; }
.entry-content::after { content: ''; display: block; clear: both; }
.al-page-links { display: flex; gap: 8px; margin-top: 2em; }
.al-page-links a,
.al-page-links > span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--border); border-radius: var(--r-sm); font-family: var(--font-mono); font-size: 14px; }
/* WooCommerce pages (cart / checkout / account) sit in the wide layout and keep WooCommerce's own structure. */
.al-page--wide .entry-content { font-size: 16px; }
.al-page--wide .entry-content > * + * { margin-top: 1.5em; }

/* Blog / archive cards */
.al-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.al-post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color .3s var(--al-ease), box-shadow .3s var(--al-ease), transform .3s var(--al-ease);
}
.al-post-card:hover { border-color: var(--border-cyan); box-shadow: var(--shadow-card); transform: translateY(-3px); }
.al-post-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.al-post-card__media img { width: 100%; height: 100%; object-fit: cover; outline: 1px solid var(--al-outline); outline-offset: -1px; }
.al-post-card__ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--text-3); background: radial-gradient(circle at 70% 20%, var(--cyan-glow-sm), transparent 60%); }
.al-post-card__ph svg { width: 44px; height: 44px; }
.al-post-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px; }
.al-post-card__cat { margin: 0; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.al-post-card__title { margin: 0; font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 1.3; }
.al-post-card__title a { color: var(--white); }
.al-post-card__title a:hover { color: var(--cyan); }
.al-post-card__excerpt { margin: 0; flex: 1; color: var(--text-2); font-size: 16px; line-height: 1.55; }
.al-post-card__meta { margin: 0; font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
@media (max-width: 900px) { .al-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .al-post-grid { grid-template-columns: minmax(0, 1fr); } }

/* Core pagination markup (the_posts_pagination) */
.navigation.pagination { margin-top: 48px; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 14px;
  transition: border-color .2s var(--al-ease), color .2s var(--al-ease), background-color .2s var(--al-ease);
}
.navigation.pagination a.page-numbers:hover { border-color: var(--border-cyan); color: var(--cyan); }
.navigation.pagination .page-numbers.current { background: var(--cyan); border-color: var(--cyan); color: var(--bg); }
.navigation.pagination .page-numbers svg { width: 18px; height: 18px; }

/* Article */
.al-article__meta { margin: 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--text-3); }
.al-article__figure { margin: 0 0 36px; }
.al-article__figure img { width: 100%; height: auto; border-radius: var(--r-xl); outline: 1px solid var(--al-outline); outline-offset: -1px; }
.al-post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.al-post-nav__link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color .2s var(--al-ease), background-color .2s var(--al-ease);
}
.al-post-nav__link:hover { border-color: var(--border-cyan); background: var(--bg-3); }
.al-post-nav__link--next { text-align: right; align-items: flex-end; grid-column: 2; }
.al-post-nav__dir { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.al-post-nav__dir svg { width: 16px; height: 16px; }
.al-post-nav__title { color: var(--white); font-weight: 600; line-height: 1.3; }
@media (max-width: 640px) { .al-post-nav { grid-template-columns: minmax(0, 1fr); } .al-post-nav__link--next { grid-column: auto; } }

/* Empty state + 404 */
.al-empty { max-width: 520px; margin: 0 auto; padding: 32px 0 48px; text-align: center; }
.al-empty__title { margin: 0 0 8px; font-family: var(--font-display); font-size: 22px; color: var(--white); }
.al-empty__text { margin: 0 0 24px; color: var(--text-2); }
.al-empty .btn { margin-top: 24px; }
.al-404 .not-found-wrap { min-height: 0; padding: 72px 0 36px; }
.al-404 .not-found-sub { max-width: 52ch; }
.al-404__search { width: 100%; max-width: 560px; margin: 0 auto 28px; }
.al-404__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 24px 0 100px;
  list-style: none;
}
.al-404__links a {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 18px 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color .25s var(--al-ease), background-color .25s var(--al-ease), transform .25s var(--al-ease);
}
.al-404__links a:hover { border-color: var(--border-cyan); background: var(--bg-3); transform: translateY(-2px); }
.al-404__ico {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--cyan-dim);
  border: 1px solid var(--border-cyan);
  border-radius: var(--r-md);
  color: var(--cyan);
}
.al-404__ico svg { width: 22px; height: 22px; }
.al-404__txt { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.al-404__txt strong { color: var(--white); font-weight: 600; font-size: 17px; }
.al-404__txt span { color: var(--text-3); font-size: 14.5px; line-height: 1.35; }
.al-404__arrow { flex: none; width: 18px; height: 18px; color: var(--text-3); transition: transform .2s var(--al-ease), color .2s var(--al-ease); }
.al-404__links a:hover .al-404__arrow { color: var(--cyan); transform: translateX(3px); }
@media (max-width: 900px) { .al-404__links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .al-404__links { grid-template-columns: minmax(0, 1fr); padding-bottom: 72px; } }

/* ─────────────────────────────────────────
   14. UTILITIES
   ───────────────────────────────────────── */
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }
.tabular { font-variant-numeric: tabular-nums; }
.al-stack > * + * { margin-top: var(--al-stack, 16px); }
.al-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.al-noscroll { overflow: hidden; }

/* ─────────────────────────────────────────
   15. KEYFRAMES
   ───────────────────────────────────────── */
@keyframes al-fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}
@keyframes al-loading {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(260%); }
}

/* ─────────────────────────────────────────
   16. NO-JS + REDUCED MOTION
   ───────────────────────────────────────── */
/* .al-reveal starts hidden in main.css: never leave content invisible when JavaScript does not run. */
html:not(.al-js) .al-reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .al-reveal { opacity: 1; transform: none; }
  .al-ann__msg { transform: none; }
}
