@font-face {
  font-family: "XSpace";
  src: url("./fonts/xspace.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Made Tommy";
  src: url("./fonts/made-tommy.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg0: #07080b;
  --bg1: #13161d;
  --panel: rgba(255, 255, 255, 0.05);
  --text: #f3f4f7;
  --muted: #a2acba;
  --accent: #f1b24f;
  --border: rgba(255, 255, 255, 0.1);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.24);
  --shadow-panel: 0 28px 90px rgba(0, 0, 0, 0.42);
  --radius-sm: 18px;
  --radius-md: 28px;
  --radius-lg: 36px;
  --space-2xs: 0.375rem;
  --space-xs: 0.625rem;
  --space-sm: 0.875rem;
  --space-md: 1.125rem;
  --space-lg: 1.625rem;
  --space-xl: 2.25rem;
  --space-2xl: 3.5rem;
  --space-3xl: 5rem;
  --text-xs: 0.72rem;
  --text-sm: 0.92rem;
  --text-base: 1rem;
  --text-lg: 1.02rem;
  --text-xl: 1.2rem;
  --text-2xl: clamp(1.55rem, 2.5vw, 2.2rem);
  --text-3xl: clamp(2rem, 4vw, 3.2rem);
  --container: 1120px;
  --font-display: system-ui, sans-serif;
  --font-body: system-ui, sans-serif;
  --support-transition-duration: 180ms;

  /* Repeated glow/alpha values (single source of truth) */
  --glow-20: rgba(255, 255, 255, 0.2);
  --glow-12: rgba(255, 255, 255, 0.12);
  --glow-08: rgba(255, 255, 255, 0.08);
  --glow-06: rgba(255, 255, 255, 0.06);
  --glow-04: rgba(255, 255, 255, 0.04);
  --glow-03: rgba(255, 255, 255, 0.03);
  --glow-02: rgba(255, 255, 255, 0.02);
  --accent-glow: rgba(241, 178, 79, 0.12);
  --accent-glow-strong: rgba(241, 178, 79, 0.18);
  --accent-text: #120f09;
  --accent-glow-subtle: rgba(241, 178, 79, 0.08);
  --input-bg: rgba(0, 0, 0, 0.18);
  --shadow-dark: rgba(0, 0, 0, 0.18);
  --success-glow: rgba(72, 166, 102, 0.12);
  --error-glow: rgba(221, 96, 96, 0.12);
}

body,
button,
input,
textarea,
select {
  font-family: var(--font-body);
}

body.lemon-font-display-ready {
  --font-display: "XSpace", system-ui, sans-serif;
}

body.lemon-font-body-ready {
  --font-body: "Made Tommy", system-ui, sans-serif;
}

.lemon-dark {
  background:
    radial-gradient(circle at top, var(--accent-glow-subtle), transparent 26%),
    linear-gradient(180deg, var(--bg0) 0%, var(--bg1) 100%);
  color: var(--text);
}

.lemon-dark::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background:
    radial-gradient(circle at 20% 20%, var(--glow-04), transparent 22%),
    radial-gradient(circle at 80% 10%, var(--glow-03), transparent 20%),
    repeating-linear-gradient(
      0deg,
      var(--glow-02) 0 1px,
      transparent 1px 4px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.015) 0 1px,
      transparent 1px 5px
    );
  mix-blend-mode: soft-light;
}

/* ── Page container: shared layout for all dark pages ──
   Controls: container width, centering, vertical padding, grid gap.
   All page variants (shop, support, product, cart, checkout) inherit this.
   Page-specific content width goes on inner sections, NOT here.
   Overridable via --page-gap, --page-pad-top, --page-pad-bottom.        */

.lemon-dark .lemon-page {
  display: grid;
  width: min(calc(100% - 2rem), var(--container));
  max-width: var(--container);
  margin: 0 auto;
  gap: var(--page-gap, 0.9rem);
  padding: var(--page-pad-top, 1rem) 0 var(--page-pad-bottom, 2rem);
  overflow-x: clip;
}

.lemon-dark .lemon-page .lemon-dark-header {
  padding: 0.75rem 0;
}

/* Page-specific overrides (custom properties only, no width/padding) */
.lemon-page--product {
  --page-pad-bottom: 3rem;
}

/* Home page is not a .lemon-dark page — needs its own grid setup */
.lemon-page--home {
  gap: var(--space-3xl);
  padding-top: var(--space-xl);
}

.lemon-dark .site-header {
  background: rgba(7, 8, 11, 0.82);
  border-bottom: 1px solid var(--glow-08);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

.lemon-dark .site-header a,
.lemon-dark .site-title a,
.lemon-dark .main-navigation ul.menu > li > a {
  color: var(--text);
}

.lemon-dark .storefront-primary-navigation,
.lemon-dark .primary-navigation {
  background: transparent;
}

.lemon-dark .site-header-cart,
.lemon-dark .site-search {
  display: none;
}

.lemon-dark .menu-item.current-menu-item > a,
.lemon-dark .menu-item-amazon a {
  color: var(--accent) !important;
}

.lemon-dark .site-footer {
  background: transparent;
  color: var(--muted);
}

.lemon-page--support {
  --support-panel: rgba(255, 255, 255, 0.035);
  --support-panel-strong: rgba(255, 255, 255, 0.05);
  --support-border: var(--glow-08);
  --support-border-strong: rgba(241, 178, 79, 0.24);
  --support-shadow: 0 10px 24px var(--input-bg);
  --support-shadow-soft: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.lemon-dark .lemon-panel,
.lemon-dark .lemon-card,
.lemon-dark .lemon-compatibility-slot,
.lemon-dark .lemon-contact-panel,
.lemon-dark .lemon-faq__item,
.lemon-dark .lemon-support-finder__empty,
.lemon-dark .lemon-support-finder__loading,
.lemon-dark .lemon-support-finder__error {
  border-color: var(--support-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025)),
    var(--support-panel);
  box-shadow: var(--support-shadow);
  backdrop-filter: blur(8px);
}

.lemon-dark .lemon-btn--primary {
  box-shadow: none;
}

.lemon-dark .lemon-btn--ghost {
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--support-border);
}

.lemon-dark .lemon-btn--ghost:hover,
.lemon-dark .lemon-btn--ghost:focus-visible {
  border-color: var(--support-border-strong);
  color: var(--accent);
}

.lemon-dark .lemon-contact-panel {
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
}

.lemon-dark .lemon-contact-panel__actions {
  justify-content: flex-start;
}

.lemon-container,
.lemon-page {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.lemon-grid {
  display: grid;
  gap: var(--space-lg);
}

.lemon-panel,
.lemon-card,
.lemon-faq__item,
.lemon-compatibility-slot,
.lemon-contact-panel,
.lemon-video-shell {
  background:
    linear-gradient(180deg, var(--glow-06), var(--glow-03)),
    var(--glow-02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(12px);
}

.lemon-kicker,
.lemon-section__eyebrow,
.lemon-home-hero__eyebrow {
  margin: 0;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.lemon-section {
  display: grid;
  gap: var(--space-lg);
}

.lemon-section__heading {
  display: grid;
  gap: var(--space-xs);
  max-width: 38rem;
}

.lemon-section__title,
.lemon-hero__title {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--text-2xl);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--text);
}

.lemon-section__intro,
.lemon-home-hero__description,
.lemon-card__content,
.lemon-faq__answer p,
.lemon-support-note,
.lemon-compatibility-slot__notes p,
.lemon-video-placeholder p,
.lemon-hero p {
  margin: 0;
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--muted);
}

.lemon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 3rem;
  padding: 0.82rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.lemon-btn:hover,
.lemon-btn:focus-visible {
  transform: translateY(-1px);
}

.lemon-btn--primary {
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 10px 28px rgba(241, 178, 79, 0.2);
}

.lemon-btn--primary:hover,
.lemon-btn--primary:focus-visible {
  background: #ffc366;
  color: #100c06;
}

.lemon-btn--ghost {
  background: var(--glow-03);
  border-color: var(--border);
  color: var(--text);
}

.lemon-btn--ghost:hover,
.lemon-btn--ghost:focus-visible {
  border-color: rgba(241, 178, 79, 0.36);
  color: var(--accent);
}

.lemon-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  min-height: min(72vh, 760px);
}

.lemon-home-hero__content {
  display: grid;
  gap: var(--space-md);
  align-content: start;
  max-width: 31rem;
}

.lemon-home-hero__title {
  margin: 0;
  max-width: 11ch;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--text-3xl);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0.01em;
  color: var(--text);
}

.lemon-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: var(--space-sm);
}

.lemon-home-hero__media {
  display: grid;
  justify-items: center;
  min-width: 0;
}

.lemon-video-shell {
  position: relative;
  width: min(100%, 360px);
  padding: 0.9rem;
  border-radius: calc(var(--radius-lg) + 4px);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(7, 8, 11, 0.82);
}

.lemon-video-shell::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 50%;
  width: 32%;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(7, 8, 11, 0.95);
  transform: translateX(-50%);
  z-index: 2;
}

.lemon-video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: calc(var(--radius-lg) - 4px);
  background:
    radial-gradient(circle at top, var(--accent-glow-subtle), transparent 35%),
    linear-gradient(180deg, rgba(13, 15, 19, 0.98), rgba(7, 8, 11, 0.98));
}

.lemon-video-embed,
.lemon-video-file,
.lemon-video-placeholder {
  position: absolute;
  inset: 0;
}

.lemon-video-embed iframe,
.lemon-video-file video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.lemon-video-file video {
  object-fit: cover;
}

.lemon-video-placeholder {
  display: grid;
  gap: var(--space-sm);
  align-content: center;
  justify-items: start;
  padding: clamp(1.1rem, 4vw, 1.6rem);
}

.lemon-video-placeholder strong {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--text);
}

.lemon-trust {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lemon-card {
  display: grid;
  gap: var(--space-sm);
  padding: var(--space-lg);
}

.lemon-card__title {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
}

.lemon-support-hero {
  display: grid;
  gap: var(--space-md);
  max-width: 42rem;
  padding: clamp(1rem, 3vw, 1.4rem) 0;
}

.lemon-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: var(--space-xs);
}

.lemon-compatibility-slot {
  display: grid;
  gap: var(--space-md);
  padding: clamp(1.2rem, 4vw, 1.8rem);
}

.lemon-compatibility-slot__frame {
  min-height: 19rem;
  border: 1px dashed rgba(241, 178, 79, 0.26);
  border-radius: calc(var(--radius-md) - 8px);
  background:
    radial-gradient(circle at center, rgba(241, 178, 79, 0.06), transparent 40%),
    rgba(255, 255, 255, 0.015);
  display: grid;
  place-items: center;
}

.lemon-compatibility-slot__ghost {
  display: grid;
  gap: var(--space-xs);
  max-width: 26rem;
  padding: var(--space-lg);
  text-align: center;
}

.lemon-compatibility-slot__ghost strong {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--text);
}

.lemon-compatibility-slot__notes {
  max-width: 42rem;
}

.lemon-faq {
  display: grid;
  gap: var(--space-sm);
}

.lemon-faq__item {
  overflow: hidden;
}

.lemon-faq__question {
  margin: 0;
}

.lemon-faq__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--space-md);
  padding: 1rem 1.1rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: var(--text-base);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.lemon-faq__button:hover,
.lemon-faq__button:focus-visible {
  background: rgba(255, 255, 255, 0.035);
}

.lemon-faq__icon {
  position: relative;
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
}

.lemon-faq__icon::before,
.lemon-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 2px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: opacity 160ms ease;
}

.lemon-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.lemon-faq__button[aria-expanded="true"] .lemon-faq__icon::after {
  opacity: 0;
}

.lemon-faq__answer {
  padding: 0 1.1rem 1.1rem;
}

.lemon-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-lg);
  align-items: center;
  padding: clamp(1.2rem, 4vw, 1.8rem);
}

.lemon-contact-panel__content {
  display: grid;
  gap: var(--space-xs);
}

.lemon-contact-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  justify-content: flex-end;
}

.lemon-support-finder {
  display: grid;
  gap: var(--space-lg);
  max-width: 820px;
  margin-inline: auto;
}

.lemon-support-finder__title {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0.01em;
  color: var(--text);
}

.lemon-support-finder__lead {
  margin: 0;
  max-width: 46rem;
  color: var(--muted);
  font-size: var(--text-lg);
  line-height: 1.65;
}

.lemon-support-finder__tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  padding: 0.25rem;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--support-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.lemon-support-finder__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.lemon-support-finder__tab:hover,
.lemon-support-finder__tab:focus-visible {
  color: var(--text);
  border-color: rgba(241, 178, 79, 0.22);
  background: var(--glow-04);
  transform: translateY(-1px);
}

.lemon-support-finder__tab[aria-selected="true"] {
  color: var(--text);
  border-color: var(--support-border-strong);
  background: var(--accent-glow);
  box-shadow: inset 0 0 0 1px var(--accent-glow-subtle);
}

.lemon-support-finder__workspace {
  display: grid;
  gap: var(--space-md);
}

.lemon-support-finder__search {
  display: grid;
  gap: var(--space-md);
  padding: clamp(1rem, 3vw, 1.4rem);
  border: 1px solid var(--support-border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, var(--glow-04), var(--glow-02)),
    rgba(255, 255, 255, 0.015);
  box-shadow: var(--support-shadow-soft);
}

.lemon-support-finder__search-help {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.lemon-support-finder__search-label,
.lemon-support-finder__field-label {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lemon-support-finder__search-field {
  position: relative;
  display: grid;
  gap: var(--space-xs);
}

.lemon-support-finder__search-input,
.lemon-support-finder__search-input[type="text"],
.lemon-support-finder__select {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--support-border);
  border-radius: 16px;
  background: rgba(7, 8, 11, 0.45);
  color: var(--text);
  font-size: var(--text-base);
  line-height: 1.4;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.lemon-support-finder__search-input::placeholder {
  color: rgba(162, 172, 186, 0.7);
}

.lemon-support-finder__search-input[type="text"]:focus-visible,
.lemon-support-finder__select:focus-visible {
  outline: 2px solid rgba(241, 178, 79, 0.5);
  outline-offset: 2px;
  border-color: rgba(241, 178, 79, 0.38);
  background: rgba(7, 8, 11, 0.45);
}

.lemon-support-finder__search-popover {
  position: absolute;
  inset: calc(100% + 0.5rem) 0 auto;
  z-index: 20;
  overflow: hidden;
  border: 1px solid var(--support-border);
  border-radius: 18px;
  background: rgba(9, 10, 13, 0.98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.lemon-support-finder__search-list {
  display: grid;
  max-height: 20rem;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0.35rem;
}

.lemon-support-finder__search-option,
.lemon-support-finder__search-empty {
  display: grid;
  gap: 0.18rem;
  padding: 0.8rem 0.9rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.lemon-support-finder__search-option {
  cursor: pointer;
}

.lemon-support-finder__search-option:hover,
.lemon-support-finder__search-option:focus-visible,
.lemon-support-finder__search-option[aria-selected="true"] {
  outline: none;
  background: var(--accent-glow);
}

.lemon-support-finder__search-empty {
  color: var(--muted);
}

.lemon-support-finder__search-option-title {
  font-size: var(--text-sm);
  font-weight: 700;
}

.lemon-support-finder__search-option-meta {
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.45;
}

.lemon-support-finder__filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
}

.lemon-support-panel {
  display: grid;
  gap: var(--space-md);
}

.lemon-support-finder__field {
  display: grid;
  gap: 0.45rem;
}

.lemon-support-finder__results {
  display: grid;
  gap: var(--space-sm);
}

.lemon-support-finder__empty,
.lemon-support-finder__loading,
.lemon-support-finder__error {
  display: grid;
  gap: var(--space-sm);
  padding: clamp(1rem, 3vw, 1.35rem);
  border: 1px solid var(--support-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.lemon-support-finder__empty p,
.lemon-support-finder__loading p,
.lemon-support-finder__error p {
  margin: 0;
}

.lemon-support-finder__prompt {
  padding: var(--space-sm);
  border: 1px dashed rgba(241, 178, 79, 0.22);
  border-radius: 16px;
  background: rgba(241, 178, 79, 0.04);
  color: var(--muted);
}

.lemon-support-noscript {
  margin: 0;
  padding: var(--space-sm);
  border: 1px dashed rgba(221, 96, 96, 0.28);
  border-radius: 16px;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* Chrome-free dark layout — all dark pages except the homepage. */
.lemon-dark:not(.lemon-homepage-video) {
  background: #0b0d11;
}

/*
 * Hide Storefront chrome on all dark pages except the homepage.
 * Cart and checkout get a custom dark header injected via PHP
 * (lemon_child_wc_dark_header), so hiding .site-header is intentional.
 */
.lemon-dark:not(.lemon-homepage-video) .site-header,
.lemon-dark:not(.lemon-homepage-video) .site-footer,
.lemon-dark:not(.lemon-homepage-video) .storefront-handheld-footer-bar,
.lemon-dark .site-info,
.lemon-dark .woocommerce-breadcrumb {
  display: none !important;
}

/* Hide entry-header only on pages that use custom headings (shop, product, cart, checkout). */
.lemon-dark.woocommerce-page .entry-header,
.lemon-page--support .entry-header {
  display: none !important;
}

/* Hide noise overlay on all dark pages except the homepage. */
.lemon-dark:not(.lemon-homepage-video)::before {
  display: none;
}

/* Storefront reset: remove Storefront's own container constraints
   so .lemon-page and .content-area rules take over.                */
.lemon-dark .site,
.lemon-dark .site-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

/* Content area: Storefront wraps WooCommerce pages (cart, checkout,
   my-account) in <div id="primary" class="content-area"> which is
   separate from our .lemon-page wrapper. We apply the same container
   constraint here so these pages match the 1120px layout of shop,
   support, and product pages. The duplication with .lemon-page is
   intentional — they target different HTML structures.                */
.lemon-dark .content-area {
  float: none;
  width: min(calc(100% - 2rem), var(--container));
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--page-pad-top, 1rem) 0 var(--page-pad-bottom, 2rem);
}

.lemon-dark .content-area .site-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Storefront .col-full: reset unless it's a .lemon-page wrapper    */
.lemon-dark .col-full:not(.lemon-page) {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

.lemon-dark,
.lemon-dark button,
.lemon-dark input,
.lemon-dark select,
.lemon-dark textarea {
  font-family: var(--font-body);
}

/* ── Generic page content on dark background ── */

.lemon-dark .entry-content,
.lemon-dark .page-content,
.lemon-dark .type-page,
.lemon-dark .hentry,
.lemon-dark .woocommerce-MyAccount-content,
.lemon-dark #secondary {
  color: var(--text);
}

.lemon-dark .entry-header .entry-title {
  color: var(--text);
  font-family: var(--font-display);
}

.lemon-dark .entry-content a,
.lemon-dark .page-content a,
.lemon-dark #secondary a {
  color: var(--accent);
}

.lemon-dark .entry-content h1,
.lemon-dark .entry-content h2,
.lemon-dark .entry-content h3,
.lemon-dark .entry-content h4 {
  color: var(--text);
}

/* ── Policy pages ── */

.lemon-page--policy {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-3xl);
}

.lemon-policy {
  max-width: 720px;
  margin: 0 auto;
}

.lemon-policy__title,
.lemon-page-hero__title {
  color: var(--text);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin: 0 0 var(--space-xs);
  line-height: 1.15;
}

.lemon-policy__updated,
.lemon-page-hero__meta {
  display: block;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.5;
  margin-bottom: var(--space-xl);
}

/* Shared page-hero block. Shop/Support/Compatibility adopt this; the
 * policy pages render the same pattern via the partial too. */
.lemon-page-hero {
  max-width: 720px;
  margin: 0 auto var(--space-xl);
  padding-top: var(--space-md);
}

.lemon-page-hero__eyebrow {
  margin: 0 0 var(--space-2xs, 0.35rem);
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Within the policy article, the hero should have no top-padding or
 * bottom-margin override — the article already handles width. */
.lemon-policy .lemon-page-hero {
  max-width: none;
  margin: 0;
  padding-top: 0;
}

.lemon-page-hero__updated {
  /* Timestamp inside the meta slot — neutral inline style so the meta
   * wrapper's muted color applies. */
  color: inherit;
  font-size: inherit;
}

.lemon-policy__body {
  line-height: 1.75;
  font-size: var(--text-base);
}

.lemon-policy__body h2 {
  font-size: var(--text-xl);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.lemon-policy__body h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
}

.lemon-policy__body ul,
.lemon-policy__body ol {
  padding-left: 1.5em;
  margin-bottom: var(--space-md);
}

.lemon-policy__body li {
  margin-bottom: var(--space-2xs);
}

.lemon-policy__body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-lg);
  font-size: var(--text-sm);
  display: block;
  overflow-x: auto;
}

.lemon-policy__body th,
.lemon-policy__body td {
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
}

.lemon-policy__body td:last-child {
  white-space: normal;
}

/* !important needed to override storefront-dark-overrides.css table reset */
.lemon-page--policy .lemon-policy__body th {
  background: var(--bg1) !important;
  color: var(--text);
  font-weight: 600;
}

.lemon-policy__body td {
  color: var(--muted);
}


.lemon-dark .widget {
  color: var(--muted);
}

.lemon-dark .widget-title {
  color: var(--text);
  font-family: var(--font-display);
}

.lemon-dark .widget input[type="search"],
.lemon-dark .widget input[type="text"] {
  background: var(--input-bg);
  border-color: var(--border);
  color: var(--text);
}

.lemon-dark .widget input[type="submit"] {
  background: var(--accent);
  color: var(--accent-text);
  border: none;
}

.lemon-dark .lemon-section--contact {
  gap: 0;
}

.lemon-dark .lemon-support-finder,
.lemon-dark .lemon-support-meta {
  font-family: var(--font-body);
}

.lemon-dark .lemon-support-finder {
  display: grid;
  gap: 0.55rem;
}

.lemon-dark .lemon-support-finder__guidance {
  margin: 0 auto;
  max-width: 42rem;
  justify-self: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.42;
  font-family: var(--font-body);
}

.lemon-dark .lemon-support-finder__tabs {
  display: flex;
  align-self: start;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.18rem;
  border: 1px solid var(--glow-08);
  background: var(--glow-02);
  width: fit-content;
  max-width: 100%;
  margin-top: 0.05rem;
}

.lemon-dark .lemon-support-finder__tab {
  flex: 0 0 auto;
  min-height: 2.2rem;
  padding: 0.45rem 0.8rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transform: none;
}

.lemon-dark .lemon-support-finder__tab:hover,
.lemon-dark .lemon-support-finder__tab:focus-visible {
  transform: none;
}

.lemon-dark .lemon-support-finder__workspace {
  gap: 0.68rem;
}

.lemon-dark .lemon-support-finder__search,
.lemon-dark .lemon-support-finder__empty,
.lemon-dark .lemon-support-finder__loading,
.lemon-dark .lemon-support-finder__error,
.lemon-dark .lemon-support-meta {
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--glow-08);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: none;
  backdrop-filter: none;
}

.lemon-dark .lemon-support-finder__search {
  gap: 0.5rem;
}

.lemon-dark .lemon-support-finder__search-label,
.lemon-dark .lemon-support-finder__chip-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.lemon-dark .lemon-support-finder__search-input {
  min-height: 2.9rem;
  padding: 0.8rem 2.75rem 0.8rem 0.9rem;
  border-radius: 12px;
  background: var(--input-bg);
  font-family: var(--font-body);
  font-size: 0.98rem;
}

.lemon-dark .lemon-support-finder__search-input:not(:placeholder-shown) {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.lemon-dark .lemon-support-finder__clear {
  position: absolute;
  right: 0.65rem;
  top: auto;
  bottom: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--glow-06);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1;
}

.lemon-dark .lemon-support-finder__clear:hover,
.lemon-dark .lemon-support-finder__clear:focus-visible {
  background: rgba(241, 178, 79, 0.14);
  color: rgba(255, 255, 255, 0.94);
  outline: none;
}

.lemon-dark .lemon-support-finder__clear[hidden] {
  display: none;
}

.lemon-dark .lemon-support-finder__search-help {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.76rem;
  line-height: 1.35;
}

.lemon-dark .lemon-support-finder__search-help[hidden] {
  display: none;
}

.lemon-dark .lemon-support-finder__search-popover {
  border-radius: 12px;
  border-color: var(--glow-08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.lemon-dark .lemon-support-finder__search-list {
  padding: 0.2rem;
}

.lemon-dark .lemon-support-finder__search-option,
.lemon-dark .lemon-support-finder__search-empty {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  font-family: var(--font-body);
}

.lemon-dark .lemon-support-finder__search-option-title {
  font-family: var(--font-body);
}

.lemon-dark .lemon-support-finder__search-option-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.lemon-dark .lemon-support-finder__chip-group {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.lemon-dark .lemon-support-finder__chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-width: 0;
}

.lemon-dark .lemon-support-finder__chip-helper {
  margin: -0.1rem 0 0;
  color: rgba(241, 178, 79, 0.82);
  font-size: 0.76rem;
  line-height: 1.35;
}

.lemon-dark .lemon-support-finder__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.42rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: var(--glow-02);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: normal;
  text-align: center;
}

.lemon-dark .lemon-support-finder__chip:hover,
.lemon-dark .lemon-support-finder__chip:focus-visible {
  border-color: rgba(241, 178, 79, 0.4);
  color: var(--text);
  outline: none;
}

.lemon-dark .lemon-support-finder__chip.is-active {
  border-color: rgba(241, 178, 79, 0.55);
  background: var(--accent-glow);
  color: var(--text);
}

.lemon-dark .lemon-support-panel,
.lemon-dark .lemon-support-finder__results {
  gap: 0.45rem;
}

.lemon-dark .lemon-support-finder__empty,
.lemon-dark .lemon-support-finder__loading,
.lemon-dark .lemon-support-finder__error,
.lemon-dark .lemon-support-meta__copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  line-height: 1.4;
  font-family: var(--font-body);
}

.lemon-dark .lemon-support-meta {
  padding-top: 0;
  padding-bottom: 0;
  border: 0;
  background: transparent;
}

.lemon-dark .lemon-support-meta__copy a {
  color: var(--accent);
}

.lemon-hero {
  display: grid;
  gap: var(--space-md);
  padding: clamp(1.1rem, 4vw, 1.6rem);
  margin: 2rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at top right, var(--accent-glow-subtle), transparent 35%),
    linear-gradient(145deg, var(--glow-06), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow-soft);
}

.lemon-hero__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 12rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--glow-04);
  color: var(--text);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
}

.lemon-hero__toggle:hover,
.lemon-hero__toggle:focus-visible {
  border-color: rgba(241, 178, 79, 0.38);
  color: var(--accent);
}

[data-toggle-target] {
  transition: opacity 160ms ease, transform 160ms ease;
}

[data-toggle-target].is-active {
  opacity: 1;
  transform: translateY(0);
}

/* Homepage Fullscreen Video */
body.lemon-homepage-video {
  overflow: hidden;
}

body.lemon-homepage-video .site-header,
body.lemon-homepage-video .site-footer,
body.lemon-homepage-video .storefront-handheld-footer-bar,
body.lemon-homepage-video .site-info {
  display: none;
}

body.lemon-homepage-video .site,
body.lemon-homepage-video .site-content,
body.lemon-homepage-video .content-area,
body.lemon-homepage-video .site-main,
body.lemon-homepage-video .col-full {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.lemon-homepage-video .site-content {
  min-height: 100vh;
  min-height: 100svh;
}

.lemon-home-video-page {
  overflow: clip;
}

.lemon-home-fullscreen {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at top, var(--accent-glow-subtle), transparent 20%),
    linear-gradient(180deg, #040507 0%, #0a0d12 100%);
}

.lemon-home-fullscreen__overlay,
.lemon-home-fullscreen__content,
.lemon-home-fullscreen__actions,
.lemon-home-fullscreen__media,
.lemon-home-fullscreen__video,
.lemon-home-fullscreen__placeholder {
  position: absolute;
  inset: 0;
}

.lemon-home-fullscreen__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lemon-home-fullscreen__placeholder {
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 1;
  transition: opacity 180ms ease, visibility 180ms ease;
  background:
    radial-gradient(circle at top, var(--accent-glow), transparent 26%),
    linear-gradient(180deg, rgba(6, 7, 10, 0.96), rgba(10, 12, 16, 0.98));
}

.lemon-home-fullscreen.has-video .lemon-home-fullscreen__placeholder {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lemon-home-fullscreen.is-video-failed .lemon-home-fullscreen__placeholder,
.lemon-home-fullscreen:not(.has-video) .lemon-home-fullscreen__placeholder {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lemon-home-fullscreen.is-video-failed .lemon-home-fullscreen__video {
  display: none;
}

.lemon-home-fullscreen__placeholder-panel {
  display: grid;
  gap: var(--space-xs);
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--accent-glow-strong);
  border-radius: var(--radius-md);
  background: rgba(7, 8, 11, 0.72);
  box-shadow: var(--shadow-panel);
  text-align: center;
}

.lemon-home-fullscreen__placeholder-panel p:last-child {
  margin: 0;
  color: var(--text);
}

.lemon-home-fullscreen__overlay {
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.34), rgba(5, 6, 8, 0.48) 46%, rgba(5, 6, 8, 0.78) 100%),
    radial-gradient(circle at 50% 58%, rgba(5, 6, 8, 0.16), rgba(5, 6, 8, 0.56) 42%, rgba(5, 6, 8, 0.78) 100%);
  pointer-events: none;
}

.lemon-home-fullscreen__content {
  inset: 58% auto auto 50%;
  width: min(calc(100% - 2rem), 44rem);
  display: grid;
  gap: 0.22rem;
  justify-items: center;
  text-align: center;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Homepage Overlay Branding */
.lemon-home-fullscreen__brand-mark {
  width: clamp(120px, 22vw, 260px);
  height: auto;
  margin: 0.05rem 0 0.15rem;
  filter: drop-shadow(0 14px 36px rgba(0, 0, 0, 0.42));
}

.lemon-home-fullscreen__brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.55rem, 1.6vw, 1rem);
  margin: 0.08rem 0 0.08rem;
}

.lemon-home-fullscreen__brand-logo {
  width: clamp(48px, 6vw, 78px);
  height: auto;
  filter: drop-shadow(0 14px 36px rgba(0, 0, 0, 0.42));
}

.lemon-home-fullscreen__brand-word {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2.35rem, 6.4vw, 5.25rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.18em;
  color: var(--text);
  text-shadow: 0 14px 36px rgba(0, 0, 0, 0.48);
}

.lemon-home-fullscreen__eyebrow {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(243, 244, 247, 0.82);
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.lemon-home-fullscreen__headline {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.55rem, 3.6vw, 3rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0.22em;
  color: rgba(243, 244, 247, 0.92);
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.5);
}

.lemon-home-fullscreen__subhead {
  margin: 0.28rem 0 0;
  max-width: 32rem;
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 1.6vw, 1.16rem);
  line-height: 1.6;
  color: rgba(243, 244, 247, 0.88);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.48);
}

.lemon-home-fullscreen__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  inset: auto auto calc(56px + env(safe-area-inset-bottom)) 50%;
  width: fit-content;
  max-width: calc(100% - 2rem);
  padding: 0.65rem;
  border: 1px solid var(--glow-12);
  border-radius: 999px;
  background: rgba(7, 8, 11, 0.34);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
  z-index: 2;
}

.lemon-home-fullscreen__actions .lemon-btn--primary {
  min-height: 3.35rem;
  padding-inline: 1.4rem;
  font-size: 0.98rem;
  border: 1px solid rgba(241, 178, 79, 0.4);
  box-shadow: 0 0 0 1px rgba(241, 178, 79, 0.14), 0 12px 32px var(--accent-glow-strong);
}

.lemon-home-fullscreen__actions .lemon-btn--ghost {
  min-height: 3rem;
  padding-inline: 1rem;
  color: rgba(243, 244, 247, 0.92);
  background: rgba(7, 8, 11, 0.36);
  backdrop-filter: blur(10px);
}

.lemon-home-fullscreen__corner-controls {
  position: absolute;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  z-index: 3;
}

.lemon-home-fullscreen__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid var(--glow-12);
  border-radius: 999px;
  background:
    linear-gradient(180deg, var(--glow-08), var(--glow-03)),
    rgba(7, 8, 11, 0.48);
  color: var(--text);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 var(--glow-06);
  backdrop-filter: blur(14px);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.lemon-home-fullscreen__control:hover,
.lemon-home-fullscreen__control:focus-visible {
  border-color: rgba(241, 178, 79, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), var(--glow-04)),
    rgba(11, 13, 17, 0.66);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.34),
    0 0 0 1px var(--accent-glow);
  transform: translateY(-1px);
}

.lemon-home-fullscreen__pause[data-state="paused"] {
  color: rgba(241, 178, 79, 0.96);
}

.lemon-home-fullscreen__control svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
}

.lemon-home-fullscreen__control-icon {
  display: inline-flex;
}

.lemon-home-fullscreen__control-icon--unmuted,
.lemon-home-fullscreen__control-icon--play {
  display: none;
}

.lemon-home-fullscreen__sound[data-state="unmuted"] .lemon-home-fullscreen__control-icon--muted {
  display: none;
}

.lemon-home-fullscreen__sound[data-state="unmuted"] .lemon-home-fullscreen__control-icon--unmuted {
  display: inline-flex;
}

.lemon-home-fullscreen__pause[data-state="paused"] .lemon-home-fullscreen__control-icon--pause {
  display: none;
}

.lemon-home-fullscreen__pause[data-state="paused"] .lemon-home-fullscreen__control-icon--play {
  display: inline-flex;
}

.lemon-home-fullscreen__control[disabled] {
  opacity: 0.56;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .lemon-home-fullscreen__overlay {
    background:
      linear-gradient(180deg, rgba(6, 7, 10, 0.2), rgba(6, 7, 10, 0.36) 46%, rgba(6, 7, 10, 0.88) 100%),
      radial-gradient(circle at 50% 56%, rgba(5, 6, 8, 0.14), rgba(5, 6, 8, 0.5) 44%, rgba(5, 6, 8, 0.82) 100%);
  }

  .lemon-home-fullscreen__content {
    inset: 56% auto auto 50%;
    width: min(calc(100% - 1.5rem), 28rem);
  }

  .lemon-home-fullscreen__headline {
    font-size: clamp(1.35rem, 6.2vw, 2.2rem);
    letter-spacing: 0.18em;
  }

  .lemon-home-fullscreen__brand-word {
    font-size: clamp(2rem, 10.5vw, 3.4rem);
    letter-spacing: 0.14em;
  }

  .lemon-home-fullscreen__brand-logo {
    width: clamp(44px, 11vw, 64px);
  }

  .lemon-home-fullscreen__subhead {
    font-size: 0.98rem;
  }

  .lemon-home-fullscreen__actions {
    width: calc(100% - 1.5rem);
    padding: 0.5rem;
    gap: 0.35rem;
    border-radius: 24px;
    transform: translateX(-50%);
  }

  .lemon-home-fullscreen__actions .lemon-btn--primary {
    min-height: 2.75rem;
    padding-inline: 1.1rem;
    font-size: 0.9rem;
  }

  .lemon-home-fullscreen__actions .lemon-btn--ghost {
    min-height: 2.5rem;
    padding-inline: 0.85rem;
    font-size: 0.9rem;
  }

  .lemon-home-fullscreen__corner-controls {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 960px) {
  .lemon-home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .lemon-home-hero__content {
    max-width: 100%;
  }

  .lemon-home-hero__media {
    justify-items: start;
  }

  .lemon-trust {
    grid-template-columns: 1fr;
  }

  .lemon-contact-panel {
    grid-template-columns: 1fr;
  }

  .lemon-contact-panel__actions {
    justify-content: flex-start;
  }

}

@media (max-width: 640px) {
  .lemon-dark .lemon-page {
    --page-pad-top: 0.85rem;
    --page-pad-bottom: 1.5rem;
  }

  .lemon-page--home {
    gap: var(--space-2xl);
  }

  .lemon-home-hero__title {
    max-width: 12ch;
  }

  .lemon-home-hero__actions,
  .lemon-anchor-nav,
  .lemon-contact-panel__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .lemon-dark .lemon-support-finder {
    gap: 0.5rem;
  }

  .lemon-dark .lemon-support-finder__guidance {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .lemon-dark .lemon-support-finder__search,
  .lemon-dark .lemon-support-finder__empty,
  .lemon-dark .lemon-support-finder__loading,
  .lemon-dark .lemon-support-finder__error {
    padding: 0.72rem 0.8rem;
    border-radius: 12px;
  }

  .lemon-dark .lemon-support-finder__search-input {
    min-height: 3rem;
    padding: 0.76rem 2.6rem 0.76rem 0.82rem;
    font-size: 0.94rem;
  }

  .lemon-dark .lemon-support-finder__clear {
    right: 0.55rem;
    bottom: 0.75rem;
    width: 1.6rem;
    height: 1.6rem;
  }

  .lemon-dark .lemon-support-finder__search-help {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .lemon-dark .lemon-support-finder__chip-group {
    gap: 0.4rem;
  }

  .lemon-dark .lemon-support-finder__chip-row {
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 0;
    gap: 0.4rem;
    scrollbar-width: auto;
  }

  .lemon-dark .lemon-support-finder__chip-row::-webkit-scrollbar {
    display: none;
  }

  .lemon-dark .lemon-support-finder__chip {
    min-height: 2.25rem;
    padding: 0.42rem 0.62rem;
    font-size: 0.78rem;
  }

  .lemon-dark .lemon-support-finder__chip-helper {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .lemon-dark .lemon-support-finder__tabs {
    align-self: stretch;
    gap: 0.22rem;
    padding: 0.16rem;
    width: 100%;
  }

  .lemon-dark .lemon-support-finder__tab {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
    min-height: 2.25rem;
    padding: 0.42rem 0.55rem;
    font-size: 0.76rem;
  }

}

@media (max-width: 380px) {
  .lemon-dark .lemon-support-finder__search,
  .lemon-dark .lemon-support-finder__empty,
  .lemon-dark .lemon-support-finder__loading,
  .lemon-dark .lemon-support-finder__error {
    padding: 0.68rem 0.72rem;
  }

  .lemon-dark .lemon-support-finder__chip {
    flex: 1 1 calc(50% - 0.24rem);
  }

  .lemon-dark .lemon-support-finder__tab {
    font-size: 0.72rem;
    padding: 0.4rem 0.48rem;
  }

  .lemon-btn {
    width: 100%;
  }

  .lemon-video-shell {
    width: min(100%, 320px);
  }

  .lemon-video-frame {
    min-height: 30rem;
  }

  .lemon-home-fullscreen__actions {
    flex-direction: column;
    align-items: center;
  }

  .lemon-home-fullscreen__actions .lemon-btn {
    width: auto;
    min-width: 11rem;
  }
}

/* ── UX Enhancements ── */

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Result card transition */
.lemon-support-finder__results {
  position: relative;
}

.lemon-support-finder__results.is-transitioning [data-support-result] {
  opacity: 0;
  transform: translateY(6px);
}

[data-support-result] {
  transition:
    opacity var(--support-transition-duration) ease,
    transform var(--support-transition-duration) ease;
}

/* Chip micro-interactions */
.lemon-dark .lemon-support-finder__chip {
  transition:
    transform 120ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.lemon-dark .lemon-support-finder__chip:active {
  transform: scale(0.96);
}

/* Clear button appear animation */
.lemon-dark .lemon-support-finder__clear {
  transition:
    transform 140ms ease,
    opacity 140ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.lemon-dark .lemon-support-finder__clear:not([hidden]) {
  animation: support-scale-in 140ms ease forwards;
}

@keyframes support-scale-in {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Skeleton shimmer for loading state */
.lemon-support-finder__skeleton {
  display: grid;
  gap: 0.6rem;
  padding: 0.4rem 0;
}

.lemon-support-finder__skeleton-bar {
  height: 0.75rem;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    var(--glow-04) 25%,
    var(--glow-08) 50%,
    var(--glow-04) 75%
  );
  background-size: 200% 100%;
  animation: support-shimmer 1.4s ease infinite;
}

.lemon-support-finder__skeleton-bar:nth-child(1) {
  width: 40%;
  height: 1rem;
}

.lemon-support-finder__skeleton-bar:nth-child(2) {
  width: 65%;
}

.lemon-support-finder__skeleton-bar:nth-child(3) {
  width: 80%;
}

@keyframes support-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Retry button */
.lemon-support-finder__retry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  margin-top: 0.3rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--glow-12);
  border-radius: 999px;
  background: var(--glow-04);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.lemon-support-finder__retry:hover,
.lemon-support-finder__retry:focus-visible {
  border-color: rgba(241, 178, 79, 0.4);
  background: var(--accent-glow-subtle);
}

/* Empty state icon */
.lemon-support-finder__empty-icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.2rem;
  opacity: 0.4;
}

/* Touch-friendly targets */
@media (pointer: coarse) {
  .lemon-dark .lemon-support-finder__chip {
    min-height: 2.75rem;
    padding: 0.5rem 0.75rem;
  }

  .lemon-dark .lemon-support-finder__tab {
    min-height: 2.75rem;
  }

  .lemon-dark .lemon-support-finder__search-option {
    padding: 0.85rem 0.9rem;
  }
}

/* ───────────────────────────────────────────
   Compatibility matrix
   ─────────────────────────────────────────── */

.lemon-matrix {
  margin-top: var(--space-xl);
}

.lemon-matrix__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  border: 1px solid var(--glow-08);
  background: #0c0e14;
  box-shadow: 0 10px 24px var(--shadow-dark);
}

.lemon-matrix__table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.4;
  white-space: nowrap;
}

.lemon-matrix__table th,
.lemon-matrix__table td {
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--glow-06);
}

.lemon-matrix__corner {
  position: sticky;
  left: 0;
  z-index: 3;
  background: #0e1117;
  text-align: left;
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.lemon-matrix__product-header {
  text-align: center;
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  background: #0e1117;
  position: sticky;
  top: 0;
  z-index: 2;
}

.lemon-matrix__brand-name {
  text-align: left;
  font-weight: 700;
  color: var(--accent);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.6rem 0.85rem;
}

.lemon-matrix__module-name {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #161a23;
  text-align: left;
  font-weight: 600;
  color: var(--text);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.lemon-matrix__cell {
  text-align: center;
  padding: 0;
}

.lemon-matrix__cell a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.25rem;
  padding: 0.35rem 0.5rem;
  text-decoration: none;
  font-weight: 700;
  transition: background 120ms ease;
}

.lemon-matrix__cell a:hover,
.lemon-matrix__cell a:focus-visible {
  background: var(--glow-08);
  outline: none;
}

.lemon-matrix__cell--works a { color: #5cc47a; }
.lemon-matrix__cell--partial a { color: var(--accent); }
.lemon-matrix__cell--not-supported a { color: var(--muted); opacity: 0.4; }

.lemon-matrix__legend {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.lemon-matrix__legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.lemon-matrix__legend-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.35rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.lemon-matrix__legend-key--works { color: #5cc47a; }
.lemon-matrix__legend-key--partial { color: var(--accent); }
.lemon-matrix__legend-key--not-supported { color: var(--muted); opacity: 0.6; }

@media (max-width: 768px) {
  .lemon-matrix__scroll::after {
    content: "Scroll \2192";
    display: block;
    text-align: right;
    padding: 0.4rem 0.75rem;
    font-size: var(--text-xs);
    color: var(--muted);
    opacity: 0.6;
  }
}

/* ───────────────────────────────────────────
   Shop Finder
   ─────────────────────────────────────────── */

.lemon-shop-finder {
  display: grid;
  gap: var(--space-lg);
}

.lemon-shop-finder__header {
  display: grid;
  gap: 0.22rem;
  text-align: center;
  padding: var(--space-lg) 0 0;
}

.lemon-shop-finder__brand-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.56rem;
  margin: 0;
}

.lemon-shop-finder__brand-icon {
  width: 1.45rem;
  height: 1.45rem;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
}

.lemon-shop-finder__brand {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.lemon-shop-finder__brand-separator {
  width: 1px;
  height: 0.92rem;
  background: linear-gradient(180deg, rgba(241, 178, 79, 0.9), var(--accent-glow-strong));
  opacity: 0.88;
}

.lemon-shop-finder__brand-label {
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.1rem 0.48rem;
  border: 1px solid var(--glow-12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px var(--glow-03);
}

.lemon-shop-finder__guidance {
  margin: 0;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.42;
  font-family: var(--font-body);
}

.lemon-shop-finder__workspace { display: grid; gap: var(--space-lg); }

.lemon-shop-finder__search {
  display: grid;
  gap: 0.5rem;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

.lemon-shop-finder__search-field { position: relative; }

.lemon-shop-finder__search-label {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  margin-bottom: var(--space-2xs);
}

.lemon-shop-finder__search-input {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.8rem 2.75rem 0.8rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  border-radius: 12px;
  outline: none;
  transition: border-color 120ms ease;
}

.lemon-shop-finder__search-input:focus { border-color: var(--accent); }
.lemon-shop-finder__search-input:not(:placeholder-shown) { color: rgba(255, 255, 255, 0.95); font-weight: 600; }
.lemon-shop-finder__search-input::placeholder { color: var(--muted); opacity: 0.6; }

.lemon-shop-finder__clear {
  position: absolute;
  right: 0.65rem;
  top: auto;
  bottom: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--glow-06);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 140ms ease, opacity 140ms ease, background-color 160ms ease, color 160ms ease;
}

.lemon-shop-finder__clear:hover,
.lemon-shop-finder__clear:focus-visible {
  background: rgba(241, 178, 79, 0.14);
  color: rgba(255, 255, 255, 0.94);
  outline: none;
}

.lemon-shop-finder__clear[hidden] { display: none; }
.lemon-shop-finder__search-help { font-size: var(--text-xs); color: var(--muted); text-align: center; margin: 0; }
.lemon-shop-finder__search-help[hidden] { display: none; }

.lemon-shop-finder__search-popover {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  margin-top: 0.25rem;
  background: var(--bg1);
  border: 1px solid var(--glow-08);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.lemon-shop-finder__search-list { max-height: 280px; overflow-y: auto; }

.lemon-shop-finder__search-option {
  display: block;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  text-align: left;
  color: var(--text);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  transition: background 80ms ease;
}

.lemon-shop-finder__search-option:hover,
.lemon-shop-finder__search-option:focus-visible,
.lemon-shop-finder__search-option.is-active {
  background: var(--glow-08);
  outline: none;
}

.lemon-shop-finder__search-option-title { font-weight: 500; }

.lemon-shop-finder__empty {
  text-align: center;
  color: var(--muted);
  font-size: var(--text-lg);
  padding: var(--space-xl) 0;
}

.lemon-shop-finder__grid-title {
  margin: 0 0 var(--space-md);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--text);
  text-align: center;
}

.lemon-shop-finder__grid-title strong { color: var(--accent); }

.lemon-shop-finder__grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.lemon-shop-finder__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--glow-04), var(--glow-02)), rgba(255, 255, 255, 0.015);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.lemon-shop-finder__card:hover { border-color: rgba(255, 255, 255, 0.15); box-shadow: var(--shadow-soft); }
.lemon-shop-finder__card--works { border-color: rgba(72, 166, 102, 0.2); }
.lemon-shop-finder__card--works:hover { border-color: rgba(72, 166, 102, 0.35); }
.lemon-shop-finder__card--partial { border-color: rgba(241, 178, 79, 0.2); }
.lemon-shop-finder__card--partial:hover { border-color: rgba(241, 178, 79, 0.35); }
.lemon-shop-finder__card--not-supported { opacity: 0.45; }

.lemon-shop-finder__card-header { display: flex; align-items: center; gap: var(--space-xs); }

.lemon-shop-finder__card-status {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.lemon-shop-finder__card--works .lemon-shop-finder__card-status {
  border-color: rgba(72, 166, 102, 0.3);
  background: var(--success-glow);
  color: #c8f0d4;
}

.lemon-shop-finder__card--partial .lemon-shop-finder__card-status {
  border-color: rgba(241, 178, 79, 0.3);
  background: var(--accent-glow);
  color: #ffe0ae;
}

.lemon-shop-finder__card--not-supported .lemon-shop-finder__card-status {
  border-color: rgba(221, 96, 96, 0.3);
  background: var(--error-glow);
  color: #f7c5c5;
}

.lemon-shop-finder__card-title { margin: 0; font-family: var(--font-display); font-size: var(--text-base); font-weight: 600; color: var(--text); text-transform: capitalize; }
.lemon-shop-finder__card-description { margin: 0; font-size: var(--text-sm); line-height: 1.5; color: var(--muted); }
.lemon-shop-finder__card-wiring { margin: 0; font-size: var(--text-xs); line-height: 1.5; color: var(--muted); opacity: 0.8; }

.lemon-shop-finder__card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--bg0);
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: opacity 120ms ease;
  align-self: flex-start;
}

.lemon-shop-finder__card-cta:hover,
.lemon-shop-finder__card-cta:focus-visible { opacity: 0.88; }

.lemon-shop-finder__card-unavailable { margin: 0; margin-top: auto; font-size: var(--text-xs); color: var(--muted); opacity: 0.7; }

@media (max-width: 640px) {
  .lemon-shop-finder__grid-cards { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────────────────────────
   Product Catalog
   ─────────────────────────────────────────────────────── */

.lemon-catalog {
  display: grid;
  gap: var(--space-lg);
}

.lemon-catalog__guidance {
  margin: 0 auto;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.42;
  font-family: var(--font-body);
}

.lemon-catalog__workspace { display: grid; gap: var(--space-lg); }

/* ── module search ── */

.lemon-catalog__search {
  display: grid;
  gap: 0.5rem;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

.lemon-catalog__search-field { position: relative; }

.lemon-catalog__search-label {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  margin-bottom: var(--space-2xs);
}

.lemon-catalog__search-input {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.8rem 2.75rem 0.8rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  border-radius: 12px;
  outline: none;
  transition: border-color 120ms ease;
  background: var(--input-bg) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
}

.lemon-catalog__search-input:focus { border-color: var(--accent); }
.lemon-catalog__search-input:not(:placeholder-shown) { color: rgba(255, 255, 255, 0.95); font-weight: 600; }
.lemon-catalog__search-input::placeholder { color: var(--muted); opacity: 0.6; }

.lemon-catalog__clear {
  position: absolute;
  right: 0.65rem;
  top: auto;
  bottom: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--glow-06);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 140ms ease, opacity 140ms ease, background-color 160ms ease, color 160ms ease;
}

.lemon-catalog__clear:hover,
.lemon-catalog__clear:focus-visible {
  background: rgba(241, 178, 79, 0.14);
  color: rgba(255, 255, 255, 0.94);
  outline: none;
}

.lemon-catalog__clear[hidden] { display: none; }
.lemon-catalog__search-help { font-size: var(--text-xs); color: var(--muted); text-align: center; margin: 0; }
.lemon-catalog__search-help[hidden] { display: none; }

.lemon-catalog__search-popover {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  margin-top: 0.25rem;
  background: var(--bg1);
  border: 1px solid var(--glow-08);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.lemon-catalog__search-list { max-height: 280px; overflow-y: auto; }

.lemon-catalog__search-option {
  display: block;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  text-align: left;
  color: var(--text);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  transition: background 80ms ease;
}

.lemon-catalog__search-option:hover,
.lemon-catalog__search-option:focus-visible,
.lemon-catalog__search-option.is-active {
  background: var(--glow-08);
  outline: none;
}

.lemon-catalog__search-option-title { font-weight: 500; }

/* ── category tabs ── */

.lemon-catalog__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 var(--space-xs);
}

.lemon-catalog__tab {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: color 120ms ease, background 120ms ease, border-color 120ms ease;
  white-space: nowrap;
}

.lemon-catalog__tab:hover,
.lemon-catalog__tab:focus-visible {
  color: var(--text);
  border-color: var(--glow-20);
  outline: none;
}

.lemon-catalog__tab.is-active {
  color: var(--bg0);
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
}

/* ── grid ── */

.lemon-catalog__loading,
.lemon-catalog__empty {
  text-align: center;
  color: var(--muted);
  font-size: var(--text-lg);
  padding: var(--space-xl) 0;
}

.lemon-catalog__module-note {
  text-align: center;
  margin: 0 0 var(--space-md);
  font-size: var(--text-sm);
  color: var(--muted);
}

.lemon-catalog__module-note strong { color: var(--accent); }

.lemon-catalog__family {
  margin-bottom: var(--space-xl);
}

.lemon-catalog__family-header {
  margin-bottom: var(--space-md);
}

.lemon-catalog__family-title {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text);
}

.lemon-catalog__family-description {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--muted);
}

.lemon-catalog__family-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
}

/* ── product card ── */

.lemon-catalog__card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--glow-04), var(--glow-02)), rgba(255, 255, 255, 0.015);
  overflow: hidden;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.lemon-catalog__card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.lemon-catalog__card--works { border-color: rgba(72, 166, 102, 0.25); }
.lemon-catalog__card--works:hover { border-color: rgba(72, 166, 102, 0.4); }
.lemon-catalog__card--partial { border-color: rgba(241, 178, 79, 0.25); }
.lemon-catalog__card--partial:hover { border-color: rgba(241, 178, 79, 0.4); }
.lemon-catalog__card--not-supported { border-color: rgba(221, 96, 96, 0.15); }
.lemon-catalog__card--dimmed { opacity: 0.4; }
.lemon-catalog__card--dimmed:hover { opacity: 0.6; }

/* Soft-dim: applied when the best available role is only Partial. Keeps the
 * card readable but pulls it back from full-fit cards in the same viewport. */
.lemon-catalog__card--soft-dim { opacity: 0.78; }
.lemon-catalog__card--soft-dim:hover { opacity: 1; }

.lemon-catalog__card-image-wrap {
  position: relative;
  aspect-ratio: 1;
  background: var(--glow-03);
  overflow: hidden;
}

.lemon-catalog__card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
}

.lemon-catalog__card-image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--glow-02);
}

.lemon-catalog__card-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md) var(--space-md);
  flex: 1;
}

/* ── corner-pill compat badge over product image ── */

.lemon-catalog__card-badges {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  pointer-events: none;
}

.lemon-catalog__card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.lemon-catalog__card-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  line-height: 1;
}

.lemon-catalog__card-badge--works {
  border-color: rgba(72, 166, 102, 0.45);
  background: rgba(26, 50, 34, 0.88);
  color: #c8f0d4;
}

.lemon-catalog__card-badge--partial {
  border-color: rgba(241, 178, 79, 0.5);
  background: rgba(61, 44, 18, 0.88);
  color: #ffe0ae;
}

.lemon-catalog__card-badge--not-supported {
  border-color: rgba(221, 96, 96, 0.5);
  background: rgba(57, 24, 24, 0.88);
  color: #f7c5c5;
}

.lemon-catalog__card-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.lemon-catalog__card-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: var(--font-body);
}

.lemon-catalog__card-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.lemon-catalog__card-list-price {
  font-size: var(--text-sm);
  color: var(--muted);
  text-decoration: line-through;
  opacity: 0.7;
}

.lemon-catalog__card-bullets {
  margin: 0;
  padding: 0 0 0 1.1rem;
  list-style: disc;
  font-size: var(--text-xs);
  line-height: 1.6;
  color: var(--muted);
}

.lemon-catalog__card-bullets li {
  padding: 0.1rem 0;
}

.lemon-catalog__card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.lemon-catalog__card-link:hover { color: inherit; }

.lemon-catalog__card-image-wrap {
  position: relative;
  overflow: hidden;
}

.lemon-catalog__card-add {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0.6rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--bg0);
  background: var(--accent);
  border: none;
  cursor: pointer;
  text-align: center;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.lemon-catalog__card:hover .lemon-catalog__card-add,
.lemon-catalog__card-add:focus-visible {
  transform: translateY(0);
  opacity: 1;
}

.lemon-catalog__card-add:hover {
  filter: brightness(1.08);
}

.lemon-catalog__card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin-top: auto;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--bg0);
  background: var(--accent);
  border: none;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 120ms ease, transform 120ms ease;
  align-self: stretch;
  text-align: center;
}

.lemon-catalog__card-cta:hover,
.lemon-catalog__card-cta:focus-visible {
  opacity: 0.88;
  transform: scale(1.02);
  color: var(--bg0);
}

.lemon-catalog__noscript {
  text-align: center;
  color: var(--muted);
  padding: var(--space-xl);
}

/* ── responsive ── */

@media (max-width: 900px) {
  .lemon-catalog__family-cards {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

@media (max-width: 640px) {
  .lemon-catalog__family-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .lemon-catalog__card-image {
    padding: 0.5rem;
  }

  .lemon-catalog__card-title {
    font-size: var(--text-sm);
  }

  /* Tighter pill on mobile; the icon carries enough signal on its own for
   * Full fit / Won't work so we drop the label text to save space. Partial
   * keeps the label + zone count because that's where the hint matters. */
  .lemon-catalog__card-badge {
    top: 0.4rem;
    right: 0.4rem;
    padding: 0.2rem 0.45rem;
    font-size: 0.65rem;
  }

  /* Hide the label visually on mobile for Full/Won't work — the icon
   * carries enough signal in those cases. Keep it reachable by screen
   * readers via the visually-hidden pattern (the outer span's aria-label
   * also announces it; this is belt + suspenders). */
  .lemon-catalog__card-badge--works .lemon-catalog__card-badge-label,
  .lemon-catalog__card-badge--not-supported .lemon-catalog__card-badge-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  /* Dual-role cards reinstate the label on mobile so "Ride" / "Crash"
   * stays visible — otherwise the two stacked icons are indistinguishable. */
  .lemon-catalog__card-badges--multi .lemon-catalog__card-badge--works .lemon-catalog__card-badge-label,
  .lemon-catalog__card-badges--multi .lemon-catalog__card-badge--not-supported .lemon-catalog__card-badge-label {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
  }

  .lemon-catalog__card-link {
    height: auto;
  }

  .lemon-catalog__card-body {
    padding: var(--space-xs) var(--space-sm) var(--space-sm);
    flex: 0 1 auto;
  }

  .lemon-catalog__card-cta {
    margin-top: var(--space-xs);
  }

  .lemon-catalog__card-bullets {
    display: none;
  }

  .lemon-catalog__tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .lemon-catalog__tabs::-webkit-scrollbar { display: none; }
}

@media (max-width: 380px) {
  .lemon-catalog__family-cards {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* ──────────────────────────────────────────────────────────
   Single Product Page
   ─────────────────────────────────────────────────────── */

.lemon-product__breadcrumb {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-bottom: var(--space-md);
}

.lemon-product__breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.lemon-product__breadcrumb a:hover { text-decoration: underline; }

.lemon-product__breadcrumb-sep {
  margin: 0 0.4rem;
  color: rgba(255, 255, 255, 0.3);
}

.lemon-product__breadcrumb-current {
  color: var(--text);
  font-weight: 500;
}

/* ── main layout ── */

.lemon-product__main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

/* ── gallery ── */

.lemon-product__gallery {
  display: grid;
  gap: var(--space-sm);
  position: sticky;
  top: 2rem;
}

.lemon-product__gallery-main {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background: var(--glow-03);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lemon-product__gallery-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  cursor: zoom-in;
}

.lemon-product__gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.lemon-product__gallery-thumbs::-webkit-scrollbar { display: none; }

.lemon-product__gallery-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  border: 2px solid transparent;
  background: var(--glow-03);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 120ms ease;
  padding: 0;
}

.lemon-product__gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.lemon-product__gallery-thumb:hover { border-color: var(--glow-20); }
.lemon-product__gallery-thumb.is-active { border-color: var(--accent); }

/* ── product info ── */

.lemon-product__info {
  display: grid;
  gap: var(--space-lg);
}

.lemon-product__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.lemon-product__price {
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
}

.lemon-product__price del {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 400;
  margin-right: 0.5rem;
}

.lemon-product__price ins {
  text-decoration: none;
  color: var(--accent);
}

.lemon-product__features {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--muted);
}

.lemon-product__features ul {
  margin: 0;
  padding: 0 0 0 1.2rem;
  list-style: disc;
}

.lemon-product__features li {
  padding: 0.2rem 0;
}

/* ── add to cart ── */

.lemon-product__cart .quantity {
  display: inline-flex;
  align-items: center;
  margin-right: var(--space-sm);
}

.lemon-product__cart .quantity .qty {
  width: 4rem;
  min-height: 2.8rem;
  text-align: center;
  font-size: var(--text-base);
  font-weight: 600;
  background: var(--input-bg) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px;
  box-shadow: none !important;
}

.lemon-product__cart .single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.7rem 2rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--accent-text);
  background: var(--accent);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(241, 178, 79, 0.2);
  transition: opacity 120ms ease, transform 120ms ease;
}

.lemon-product__cart .single_add_to_cart_button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.lemon-product__cart-error {
  margin-top: var(--space-sm);
  color: #dd6060;
  font-size: var(--text-sm);
}

/* Hide WC notice banner on single product pages (AJAX handles feedback) */
.single-product .woocommerce-message { display: none; }

/* ── compatibility widget ── */

.lemon-compat {
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--glow-04), var(--glow-02)), rgba(255, 255, 255, 0.015);
}

.lemon-compat-head {
  margin-bottom: var(--space-sm);
}

.lemon-compat-label {
  display: block;
  margin: 0 0 var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
}

.lemon-compat-search { position: relative; }
.lemon-compat-search[hidden] { display: none; }

.lemon-compat-input {
  width: 100%;
  min-height: 2.5rem;
  padding: 0.6rem 0.9rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  border-radius: 10px;
  background: var(--input-bg) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
  outline: none;
  transition: border-color 120ms ease;
}

.lemon-compat-input:focus { border-color: var(--accent) !important; }
.lemon-compat-input::placeholder { color: var(--muted); opacity: 0.6; }

.lemon-compat-popover {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  margin-top: 0.25rem;
  background: var(--bg1);
  border: 1px solid var(--glow-08);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  max-height: 200px;
  overflow-y: auto;
}

.lemon-compat-popover[hidden] { display: none; }

.lemon-compat-suggestions button {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  text-align: left;
  color: var(--text);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-sm);
}

.lemon-compat-suggestions button:hover,
.lemon-compat-suggestions button.is-active { background: var(--glow-08); }

/* ── module chip (compact, shown when module is already selected) ── */

.lemon-compat-chip {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  padding: 0.4rem 0.6rem 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--glow-08);
  background: var(--glow-04);
  font-size: var(--text-sm);
  max-width: 100%;
}

.lemon-compat-chip[hidden] { display: none; }

.lemon-compat-chip-label-prefix {
  color: var(--muted);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lemon-compat-chip-label {
  color: var(--text);
  font-weight: 600;
  min-width: 0;

  /* Allow long module names ("Alesis Nitro Ultimate") to render in full;
   * wrap only if they exceed the chip's own max-width. */
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}

.lemon-compat-chip-change {
  padding: 0.2rem 0.5rem;
  margin-left: 0.2rem;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  cursor: pointer;
  transition: color 120ms ease, border-color 120ms ease;
}

.lemon-compat-chip-change:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.lemon-compat-result {
  margin-top: var(--space-sm);
}

/* ── result card ── */

.lemon-compat-card {
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg1);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  position: relative;
}

.lemon-compat-card--works {
  border-color: rgba(72, 166, 102, 0.5);
  background: linear-gradient(180deg, rgba(72, 166, 102, 0.08), transparent);
}

.lemon-compat-card--partial {
  border-color: rgba(241, 178, 79, 0.5);
  background: linear-gradient(180deg, rgba(241, 178, 79, 0.08), transparent);
}

.lemon-compat-card--not-supported {
  border-color: rgba(221, 96, 96, 0.5);
  background: linear-gradient(180deg, rgba(221, 96, 96, 0.08), transparent);
}

.lemon-compat-verdict {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lemon-compat-verdict-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 700;
  flex-shrink: 0;

  /* The verdict glyphs (✓ ◐ ✗) have different vertical metrics — nudge ◐
   * up slightly so the filled half lands on the optical center. */
  font-family: var(--font-body);
  letter-spacing: 0;
}

.lemon-compat-card--partial .lemon-compat-verdict-icon {
  /* ◐ glyph sits below optical center in most system fonts */
  padding-bottom: 2px;
}

.lemon-compat-card--works .lemon-compat-verdict-icon {
  background: rgba(72, 166, 102, 0.2);
  color: #8cd9a3;
}

.lemon-compat-card--partial .lemon-compat-verdict-icon {
  background: rgba(241, 178, 79, 0.2);
  color: #f1b24f;
}

.lemon-compat-card--not-supported .lemon-compat-verdict-icon {
  background: rgba(221, 96, 96, 0.2);
  color: #e88a8a;
}

.lemon-compat-verdict-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.lemon-compat-verdict-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.lemon-compat-verdict-sub {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.4;
}

/* ── zone diagram ── */

.lemon-compat-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xs);
}

.lemon-compat-diagram svg {
  width: 100%;
  max-width: 160px;
  height: auto;
  max-height: 120px;
  color: var(--text);
}

.lemon-compat-diagram .lemon-zone {
  transition: opacity 200ms ease, color 200ms ease;
}

.lemon-compat-diagram .lemon-zone[data-active="true"] {
  color: #6ad285;
  opacity: 1;
}

.lemon-compat-diagram .lemon-zone[data-active="false"] {
  color: var(--muted);
  opacity: 0.25;
}

/* Bell separator ring — punches a visible gap between bell and bow so the
 * inner zone reads as its own thing when both are lit. */
.lemon-compat-diagram .lemon-zone__separator {
  stroke: var(--bg1);
}

.lemon-compat-card--works .lemon-compat-diagram .lemon-zone__separator {
  stroke: #13161d;
}

.lemon-compat-card--not-supported .lemon-compat-diagram .lemon-zone[data-active="false"] {
  color: #e88a8a;
  opacity: 0.2;
}

.lemon-compat-zones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-start;
}

/* Teaser is center-aligned overall — keep the zones row centered there. */
.lemon-compat-teaser .lemon-compat-zones {
  justify-content: center;
}

.lemon-compat-zone-label {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  letter-spacing: 0.02em;
}

.lemon-compat-zone-label--on {
  color: #8cd9a3;
  background: rgba(72, 166, 102, 0.12);
  border-color: rgba(72, 166, 102, 0.35);
}

.lemon-compat-zone-label--off {
  color: var(--muted);
  background: transparent;
  border-color: var(--border);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  opacity: 0.7;
}

/* ── outcome paragraphs ── */

.lemon-compat-outcome {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text);
  line-height: 1.5;
}

.lemon-compat-outcome strong {
  color: var(--accent);
  font-weight: 600;
  margin-right: 0.25rem;
}

/* ── setup button + fallback link ── */

.lemon-compat-setup-btn {
  align-self: flex-start;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg2, transparent);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: border-color 120ms ease, color 120ms ease;
}

.lemon-compat-setup-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lemon-compat-fallback {
  display: inline-block;
  font-size: var(--text-sm);
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.lemon-compat-fallback:hover { text-decoration: underline; }

/* ── pre-selection teaser ── */

.lemon-compat-teaser {
  padding: var(--space-md);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  text-align: center;
}

.lemon-compat-teaser-copy {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.5;
}

/* Teaser diagram: all zones shown as "possible" (subtle accent) */
.lemon-compat-teaser .lemon-compat-diagram .lemon-zone[data-active="true"] {
  color: var(--accent);
  opacity: 0.85;
}

/* ── role selector (dual-role products only) ── */

.lemon-compat-roles {
  display: inline-flex;
  gap: 0.2rem;
  padding: 0.22rem;
  margin: 0 0 var(--space-sm);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.lemon-compat-role-tab {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}

.lemon-compat-role-tab:hover {
  color: var(--text);
}

.lemon-compat-role-tab:focus-visible {
  color: var(--text);
  outline: none;
  box-shadow: 0 0 0 2px rgba(241, 178, 79, 0.85);
}

.lemon-compat-role-tab.is-active {
  /* High-contrast active state so it reads as a "mode switch", not a caption. */
  background: rgba(241, 178, 79, 0.25);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(241, 178, 79, 0.65);
}

/* Cross-tab switch — appears inside the card when the other role is a better
 * fit. Styled as a pill-shaped button so it reads as a clear CTA on the dark
 * card surface, not a caption. */

.lemon-compat-cross-tab {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  margin: 0.3rem 0 0;
  border: 1px solid rgba(241, 178, 79, 0.45);
  background: rgba(241, 178, 79, 0.1);
  border-radius: 999px;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-align: left;
  line-height: 1.35;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease;
}

.lemon-compat-cross-tab:hover,
.lemon-compat-cross-tab:focus-visible {
  background: rgba(241, 178, 79, 0.18);
  border-color: rgba(241, 178, 79, 0.7);
  outline: none;
}

/* Subtle variant (partial → other-works) — still a pill, lighter weight. */
.lemon-compat-cross-tab--subtle {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-weight: 500;
  font-size: var(--text-xs);
}

.lemon-compat-cross-tab--subtle:hover,
.lemon-compat-cross-tab--subtle:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(241, 178, 79, 0.4);
  color: var(--text);
}

/* Teaser variant — no module selected yet. Sized a touch smaller than the
 * active-module cross-tab so it doesn't compete with the Add-to-Cart CTA. */
.lemon-compat-cross-tab--teaser {
  border-color: rgba(241, 178, 79, 0.35);
}

/* ── cart chip (warning above Add-to-Cart button) ── */

.lemon-product__cart-chip-slot:empty { display: none; }

.lemon-product__cart-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem var(--space-sm);
  padding: 0.65rem 0.9rem;
  margin-bottom: var(--space-sm);
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: var(--text-sm);
  text-decoration: none;
  transition: transform 120ms ease, border-color 120ms ease;
}

.lemon-product__cart-chip:hover { transform: translateY(-1px); }

.lemon-product__cart-chip-label {
  font-weight: 600;
  line-height: 1.35;
}

.lemon-product__cart-chip-link {
  font-size: var(--text-xs);
  opacity: 0.85;
  white-space: nowrap;
  margin-left: auto;
}

@media (max-width: 480px) {
  .lemon-product__cart-chip { flex-direction: column; align-items: flex-start; }
  .lemon-product__cart-chip-link { margin-left: 0; }
}

.lemon-product__cart-chip--partial {
  background: rgba(241, 178, 79, 0.1);
  border-color: rgba(241, 178, 79, 0.4);
  color: #f1b24f;
}

.lemon-product__cart-chip--not-supported {
  background: rgba(221, 96, 96, 0.1);
  border-color: rgba(221, 96, 96, 0.4);
  color: #e88a8a;
}

/* ── inline details drawer (desktop) ── */

.lemon-compat-details {
  margin-top: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg2, rgba(255, 255, 255, 0.02));
  overflow: hidden;
}

.lemon-compat-details-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.lemon-compat-details-close {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.25rem;
}

.lemon-compat-details-close:hover { color: var(--text); }

.lemon-compat-details-body {
  padding: var(--space-sm) var(--space-md);
  color: var(--text);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.lemon-compat-detail-section {
  margin-bottom: var(--space-sm);
}

.lemon-compat-detail-section:last-child { margin-bottom: 0; }

.lemon-compat-detail-section strong {
  display: block;
  color: var(--accent);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.lemon-compat-detail-section ol,
.lemon-compat-detail-section ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.lemon-compat-detail-section li {
  margin-bottom: 0.25rem;
}

.lemon-compat-detail-section .lemon-compat-detail-note {
  margin: 0 0 0.3rem;
  color: var(--muted);
  font-size: var(--text-xs);
  line-height: 1.5;
}

.lemon-compat-detail-section p {
  margin: 0;
  color: var(--muted);
}

/* ── bottom sheet (mobile) ── */

.lemon-compat-sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0);
  transition: background 200ms ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.lemon-compat-sheet-overlay.is-open {
  background: rgba(0, 0, 0, 0.55);
}

.lemon-compat-sheet {
  width: 100%;
  max-width: 600px;
  max-height: 82vh;
  background: var(--bg1);
  border-radius: 16px 16px 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  transform: translateY(100%);
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.4);
}

.lemon-compat-sheet-overlay.is-open .lemon-compat-sheet {
  transform: translateY(0);
}

.lemon-compat-sheet-handle {
  width: 40px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 0.5rem auto 0;
  flex-shrink: 0;
}

.lemon-compat-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  flex-shrink: 0;
}

.lemon-compat-sheet-close {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.25rem;
}

.lemon-compat-sheet-close:hover { color: var(--text); }

.lemon-compat-sheet-body {
  padding: var(--space-md);
  overflow-y: auto;
  color: var(--text);
  font-size: var(--text-sm);
  line-height: 1.6;
  -webkit-overflow-scrolling: touch;
}

/* ── sticky module chip on mobile ── */

@media (max-width: 768px) {
  .lemon-compat-head {
    position: sticky;
    top: var(--space-xs, 0.5rem);
    z-index: 5;
    background: var(--bg1);
    padding: 0.25rem 0;
    margin-top: calc(-1 * var(--space-xs, 0.5rem));
  }
}

/* ── description section ── */

.lemon-product__description {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.lemon-product__section-title {
  margin: 0 0 var(--space-md);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text);
}

.lemon-product__description-content {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--muted);
}

.lemon-product__description-content p { margin: 0 0 var(--space-md); }

@media (min-width: 769px) {
  .lemon-product__description-content {
    columns: 2;
    column-gap: var(--space-2xl);
  }
}

/* ── related products ── */

.lemon-product__related {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.lemon-product__related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-md);
}

.lemon-product__related-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--glow-04), var(--glow-02));
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: border-color 150ms ease, transform 150ms ease;
}

.lemon-product__related-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  color: var(--text);
}

.lemon-product__related-image {
  aspect-ratio: 1;
  background: var(--glow-03);
}

.lemon-product__related-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}

.lemon-product__related-body {
  padding: var(--space-sm) var(--space-md) var(--space-md);
}

.lemon-product__related-title {
  margin: 0 0 0.25rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
}

.lemon-product__related-price {
  font-size: var(--text-sm);
  color: var(--muted);
}

.lemon-product__related-price del { font-size: var(--text-xs); }
.lemon-product__related-price ins { text-decoration: none; color: var(--accent); }

/* ── responsive ── */

@media (max-width: 768px) {
  .lemon-product__main {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .lemon-product__gallery { position: static; }

  .lemon-product__title { font-size: var(--text-xl); }
}

/* ── lightbox ── */

.lemon-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  cursor: zoom-out;
  animation: lemon-lightbox-in 200ms ease;
}

@keyframes lemon-lightbox-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lemon-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  cursor: zoom-in;
  transition: max-width 200ms ease, max-height 200ms ease;
}

.lemon-lightbox.is-zoomed {
  overflow: auto;
  align-items: flex-start;
  justify-content: flex-start;
  cursor: zoom-out;
  padding: 2rem;
}

.lemon-lightbox.is-zoomed img {
  max-width: none;
  max-height: none;
  width: 150%;
  cursor: zoom-out;
  border-radius: 0;
}

.lemon-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 120ms ease;
}

.lemon-lightbox__close:hover { background: var(--glow-20); }

.lemon-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background 120ms ease;
}

.lemon-lightbox__nav:hover { background: var(--glow-20); }
.lemon-lightbox__nav--prev { left: 1rem; }
.lemon-lightbox__nav--next { right: 1rem; }

.lemon-lightbox.is-zoomed .lemon-lightbox__nav { display: none; }

.lemon-lightbox__counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-family: var(--font-body);
}

.lemon-lightbox.is-zoomed .lemon-lightbox__counter { display: none; }

/* ── minimal dark header for product/cart/checkout pages ── */

.lemon-dark-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.lemon-home-fullscreen__header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0 var(--space-lg);
  border-bottom: 1px solid var(--glow-08);
  background: rgba(7, 8, 11, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lemon-home-fullscreen__header .lemon-dark-header {
  margin-bottom: 0;
  border-bottom: none;
}

.lemon-dark-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
}

.lemon-dark-header__brand img {
  width: 1.3rem;
  height: 1.3rem;
  object-fit: contain;
}

.lemon-dark-header__brand-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lemon-dark-header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.lemon-dark-header__link {
  color: var(--muted);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color 120ms ease;
}

.lemon-dark-header__link:hover { color: var(--text); }

/* ── burger menu (hidden on desktop) ── */

.lemon-dark-header__burger {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: none;
  color: var(--text);
  cursor: pointer;
}

.lemon-dark-header__mobile-menu {
  display: none;
}

@media (max-width: 480px) {
  .lemon-dark-header__link {
    display: none;
  }

  .lemon-dark-header__burger {
    display: inline-flex;
  }

  .lemon-dark-header__mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border);
  }

  .lemon-dark-header__mobile-menu[hidden] {
    display: none;
  }

  .lemon-dark-header__mobile-link {
    display: block;
    padding: 0.6rem 0;
    color: var(--muted);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 500;
    transition: color 120ms ease;
  }

  .lemon-dark-header__mobile-link:hover {
    color: var(--text);
  }

  .lemon-dark-header {
    flex-wrap: wrap;
  }

  .lemon-dark-header__mobile-menu:not([hidden]) {
    width: 100%;
    border-top: 1px solid var(--border);
    padding-top: var(--space-xs);
  }
}

/* ── Minimal dark footer ── */

.lemon-dark-footer {
  margin-top: var(--space-3xl);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
  width: min(calc(100% - 2rem), var(--container));
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.lemon-dark-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.lemon-dark-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lemon-dark-footer__brand img {
  width: 1.1rem;
  height: 1.1rem;
  object-fit: contain;
  opacity: 0.7;
}

.lemon-dark-footer__links {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  font-size: var(--text-xs);
}

.lemon-dark-footer__links a {
  color: var(--muted);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 120ms ease;
}

.lemon-dark-footer__links a:hover {
  color: var(--accent);
  opacity: 1;
}


.lemon-dark-footer__copy {
  color: var(--muted);
  font-size: var(--text-xs);
  opacity: 0.6;
}

.lemon-dark-footer__copy a {
  color: var(--accent);
  text-decoration: none;
}

.lemon-dark-footer__copy a:hover {
  text-decoration: underline;
}

/* ──────────────────────────────────────────────────────────
   WooCommerce Cart & Checkout – Dark Theme
   ─────────────────────────────────────────────────────── */

.woocommerce table.shop_table {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  background-color: transparent !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
}

.woocommerce table.shop_table td.product-name a {
  color: var(--accent);
  text-decoration: none;
}

.woocommerce table.shop_table td.product-name a:hover { text-decoration: underline; }

.woocommerce .cart_totals h2,
.woocommerce-checkout h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  text-transform: uppercase;
  color: var(--text);
}

/* WooCommerce buttons — shared accent style (all buttons inherit this) */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .checkout-button,
.woocommerce #place_order {
  background: var(--accent) !important;
  color: #120f09 !important;
  border: none !important;
  border-radius: 999px !important;
  font-family: var(--font-body) !important;
  font-size: var(--text-sm) !important;
  font-weight: 600 !important;
  padding: 0.6rem 1.4rem !important;
  box-shadow: 0 10px 28px rgba(241, 178, 79, 0.2) !important;
  transition: opacity 120ms ease !important;
}

/* Primary action buttons — larger size, centered block layout */
.woocommerce .checkout-button,
.woocommerce #place_order {
  font-size: var(--text-base) !important;
  padding: 0.8rem 2rem !important;
  max-width: 320px !important;
  margin: 0 auto !important;
  display: block !important;
  text-align: center !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce .checkout-button:hover,
.woocommerce #place_order:hover {
  opacity: 0.9 !important;
}

/* ── Cart page refinements ── */

.woocommerce .quantity .qty {
  width: 3.5rem;
  padding: 0.4rem;
  text-align: center;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
}

.woocommerce .product-remove a { color: var(--muted); }
.woocommerce .product-remove a:hover { color: #dd6060; }

.woocommerce .coupon {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

/* Darken WooCommerce BlockUI overlay (prevents white flash on cart updates) */
.woocommerce .blockUI.blockOverlay {
  background: var(--bg0) !important;
  opacity: 0.5 !important;
}

/* ── Checkout page dark theme ── */

.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review_heading { color: var(--text); }

.woocommerce-checkout #order_review {
  background: var(--bg1) !important;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
}

.woocommerce-checkout .woocommerce-checkout-review-order-table,
.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  background: transparent !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}

.woocommerce-checkout #payment {
  background: var(--glow-03) !important;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.woocommerce-checkout #payment .payment_methods {
  border-bottom-color: var(--border) !important;
}

.woocommerce-checkout #payment .payment_methods li {
  background: transparent !important;
  color: var(--text);
}

.woocommerce-checkout #payment .place-order {
  padding: var(--space-md);
}

.woocommerce-checkout .form-row label {
  color: var(--text);
  font-size: var(--text-sm);
  font-weight: 500;
}

.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  background: var(--input-bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  font-size: var(--text-sm);
  font-family: var(--font-body);
  transition: border-color 120ms ease;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
  border-color: var(--accent) !important;
  outline: none;
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
  color: var(--muted);
  font-size: var(--text-sm);
}

/* ── Payment box inner elements ── */

.woocommerce-checkout #payment .payment_box {
  background: var(--glow-04);
  color: var(--muted);
}

.woocommerce-checkout #payment .payment_box p {
  color: var(--muted);
}

.woocommerce-checkout #payment .payment_box input,
.woocommerce-checkout #payment .payment_box select,
.woocommerce-checkout #payment .payment_box textarea,
.woocommerce-checkout #payment .wc-credit-card-form input,
.woocommerce-checkout #payment .wc-credit-card-form select {
  background: var(--input-bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  font-size: var(--text-sm);
  font-family: var(--font-body);
}

.woocommerce-checkout #payment .payment_box input:focus,
.woocommerce-checkout #payment .payment_box select:focus,
.woocommerce-checkout #payment .wc-credit-card-form input:focus {
  border-color: var(--accent);
  outline: none;
}

.woocommerce-checkout #payment .payment_methods label {
  color: var(--text);
}

.woocommerce-checkout #payment .wc-stripe-elements-field,
.woocommerce-checkout #payment .stripe-card-group {
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
}

.woocommerce-checkout #payment input::placeholder,
.woocommerce-checkout #payment textarea::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

.woocommerce-checkout input:-webkit-autofill,
.woocommerce-checkout select:-webkit-autofill,
.woocommerce-checkout textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--input-bg) inset !important;
  -webkit-text-fill-color: var(--text) !important;
  caret-color: var(--text);
  transition: background-color 5000s ease-in-out 0s;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
  color: var(--muted);
  font-size: var(--text-sm);
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a {
  color: var(--accent);
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
  background: var(--glow-04);
  border-top-color: var(--accent);
  color: var(--text);
}

.woocommerce .woocommerce-error {
  background: rgba(221, 96, 96, 0.08);
  border-top-color: #dd6060;
  color: var(--text);
}

.woocommerce button[name="update_cart"] { display: none; }

.woocommerce-message::before,
.woocommerce-info::before { color: var(--accent); }
.woocommerce-error::before { color: #dd6060; }

/* ── continue shopping link ── */

.lemon-continue-shopping {
  display: inline-block;
  margin-bottom: var(--space-md);
  color: var(--muted);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color 120ms ease;
}

.lemon-continue-shopping:hover { color: var(--accent); }

/* ── cross-sells, up-sells, related products (dark) ── */

.lemon-dark .cross-sells,
.lemon-dark .up-sells,
.lemon-dark .related.products {
  background: transparent;
  color: var(--text);
}

.lemon-dark .cross-sells > h2,
.lemon-dark .up-sells > h2,
.lemon-dark .related.products > h2 {
  color: var(--text);
  font-family: var(--font-display, var(--font-body));
  font-size: var(--text-lg);
  font-weight: 600;
}

.lemon-dark .cross-sells .products li.product,
.lemon-dark .up-sells .products li.product,
.lemon-dark .related.products .products li.product {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 120ms ease;
}

.lemon-dark .cross-sells .products li.product:hover,
.lemon-dark .up-sells .products li.product:hover,
.lemon-dark .related.products .products li.product:hover {
  border-color: var(--accent);
}

.lemon-dark .cross-sells .woocommerce-loop-product__title,
.lemon-dark .up-sells .woocommerce-loop-product__title,
.lemon-dark .related.products .woocommerce-loop-product__title {
  color: var(--text);
  font-size: var(--text-sm);
}

.lemon-dark .cross-sells .price,
.lemon-dark .up-sells .price,
.lemon-dark .related.products .price {
  color: var(--muted);
}

.lemon-dark .cross-sells .price ins,
.lemon-dark .up-sells .price ins,
.lemon-dark .related.products .price ins {
  color: var(--accent);
}

.lemon-dark .cross-sells .button,
.lemon-dark .up-sells .button,
.lemon-dark .related.products .button {
  background: var(--accent);
  color: var(--accent-text);
  border: none;
  border-radius: 8px;
  font-size: var(--text-xs);
  font-weight: 600;
  transition: opacity 120ms ease;
}

.lemon-dark .cross-sells .button:hover,
.lemon-dark .up-sells .button:hover,
.lemon-dark .related.products .button:hover {
  opacity: 0.85;
}

.lemon-dark .woocommerce-placeholder img,
.lemon-dark .wp-post-image[src*="placeholder"] {
  filter: invert(1) brightness(0.18);
}

/* ── mini cart in header ── */

.lemon-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--text);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color 120ms ease;
}

.lemon-cart-link:hover { color: var(--accent); }

.lemon-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--accent);
  color: var(--accent-text);
  border-radius: 999px;
}

.lemon-cart-count[data-cart-count="0"] {
  display: none;
}

@keyframes lemon-cart-bump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.lemon-cart-count--bump {
  animation: lemon-cart-bump 400ms ease;
}

/* ──────────────────────────────────────────────────────────
   Module Chip – header dropdown for global module selection
   ─────────────────────────────────────────────────────── */

.lemon-module-chip {
  position: relative;
}

.lemon-module-chip__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--glow-04);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 120ms ease, color 120ms ease;
  white-space: nowrap;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lemon-module-chip__toggle:hover {
  border-color: var(--glow-20);
  color: var(--text);
}

.lemon-module-chip.has-module .lemon-module-chip__toggle {
  border-color: rgba(241, 178, 79, 0.3);
  color: var(--accent);
  background: var(--accent-glow-subtle);
}

.lemon-module-chip__clear {
  display: none;
  margin-left: 0.15rem;
  font-size: 0.85rem;
  line-height: 1;
  opacity: 0.5;
  transition: opacity 100ms ease;
}

.lemon-module-chip__clear:hover { opacity: 1; }

.lemon-module-chip.has-module .lemon-module-chip__clear {
  display: inline;
}

.lemon-module-chip__icon { display: flex; }

.lemon-module-chip__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 100;
  width: 280px;
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}

.lemon-module-chip__input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  outline: none;
}

.lemon-module-chip__input::placeholder { color: var(--muted); opacity: 0.6; }

.lemon-module-chip__suggestions {
  max-height: 240px;
  overflow-y: auto;
}

.lemon-module-dropdown__option {
  display: block;
  width: 100%;
  padding: 0.5rem 0.8rem;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  text-align: left;
  cursor: pointer;
  transition: background 80ms ease;
}

.lemon-module-dropdown__option:hover,
.lemon-module-dropdown__option.is-active {
  background: var(--glow-06);
}

.lemon-module-dropdown__empty,
.lemon-module-dropdown__loading {
  padding: 0.8rem;
  color: var(--muted);
  font-size: var(--text-sm);
  text-align: center;
}

/* ──────────────────────────────────────────────────────────
   Module Prompt Modal – first visit overlay
   ─────────────────────────────────────────────────────── */

.lemon-module-prompt {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  animation: lemon-lightbox-in 200ms ease;
}

.lemon-module-prompt__panel {
  width: min(calc(100% - 2rem), 420px);
  padding: var(--space-xl);
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-panel);
  text-align: center;
}

.lemon-module-prompt__title {
  margin: 0 0 var(--space-xs);
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
}

.lemon-module-prompt__desc {
  margin: 0 0 var(--space-lg);
  color: var(--muted);
  font-size: var(--text-sm);
}

.lemon-module-prompt__search {
  position: relative;
  text-align: left;
}

.lemon-module-prompt__input {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  outline: none;
  transition: border-color 120ms ease;
}

.lemon-module-prompt__input:focus { border-color: var(--accent); }
.lemon-module-prompt__input::placeholder { color: var(--muted); opacity: 0.6; }

.lemon-module-prompt__suggestions {
  max-height: 200px;
  overflow-y: auto;
  margin-top: var(--space-xs);
}

.lemon-module-prompt__option {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  text-align: left;
  cursor: pointer;
  transition: background 80ms ease;
}

.lemon-module-prompt__option:hover,
.lemon-module-prompt__option.is-active { background: var(--glow-06); }

.lemon-module-prompt__empty {
  padding: 0.5rem 1rem;
  color: var(--muted);
  font-size: var(--text-sm);
}

.lemon-module-prompt__skip {
  display: inline-block;
  margin-top: var(--space-md);
  padding: 0.4rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: color 120ms ease, border-color 120ms ease;
}

.lemon-module-prompt__skip:hover {
  color: var(--text);
  border-color: var(--glow-20);
}

/* ── Matrix column highlighter (triggered by #product=<key> hash) ── */

.lemon-matrix__table .is-highlighted-col {
  background: var(--accent-glow, rgba(241, 178, 79, 0.08)) !important;
  outline: 2px solid rgba(241, 178, 79, 0.5);
  outline-offset: -1px;
}

/* ── Address autocomplete dropdown (checkout) ── */

.lemon-address-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg1, #13161d);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  font-family: var(--font-body, system-ui);
  font-size: var(--text-sm, 0.875rem);
  margin-top: 4px;
  z-index: 10000;
  max-height: 260px;
  overflow-y: auto;
}

.lemon-address-dropdown__item {
  padding: 0.6rem 0.8rem;
  color: var(--text, #f3f4f7);
  cursor: pointer;
  line-height: 1.4;
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  transition: background 80ms ease;
}

.lemon-address-dropdown__item:first-child { border-top: none; }

.lemon-address-dropdown__item:hover,
.lemon-address-dropdown__item--active {
  background: var(--glow-04, rgba(241, 178, 79, 0.04));
}

.lemon-address-dropdown__main {
  font-weight: 500;
}

.lemon-address-dropdown__secondary {
  color: var(--muted, #a2acba);
  font-weight: 400;
}

/* ── responsive: module chip dropdown bottom-sheet on mobile ── */

@media (max-width: 640px) {
  .lemon-module-chip__dropdown {
    position: fixed;
    inset: auto 0 0 0;
    width: 100%;
    max-height: 60vh;
    border-radius: 12px 12px 0 0;
    z-index: 200;
  }
}

/* ── responsive: hide chip on mobile (module selector available via page modal) ── */

@media (max-width: 480px) {
  .lemon-module-chip {
    display: none;
  }
}

/* ── responsive: extra-small screens (≤320px) ── */

@media (max-width: 320px) {
  .lemon-dark-header__nav {
    gap: var(--space-sm);
  }

  .lemon-dark-header__brand span {
    font-size: 0.85rem;
  }

  .lemon-home-fullscreen__subhead {
    font-size: 0.88rem;
  }

  .lemon-home-fullscreen__content {
    inset: 54% auto auto 50%;
  }
}
