/*
 * LonexLabs store — design system
 * Generated from the approved mockups (mockups/assets/site.css plus the
 * page styles in mockups/home.html and mockups/product.html).
 *
 * Every class and custom property is prefixed lx- so this file cannot affect
 * the store pages that still use the legacy styles in views/store/layout.php.
 *
 * Regenerate rather than edit by hand where possible; see the mockups.
 */
/* LonexLabs storefront — mockup system v2 */

:root {
  --lx-bg: #0a0b0d;
  --lx-bg-1: #0f1114;
  --lx-bg-2: #14171b;
  --lx-bg-3: #1b1f24;
  --lx-line: rgba(255, 255, 255, 0.07);
  --lx-line-2: rgba(255, 255, 255, 0.12);
  --lx-line-3: rgba(255, 255, 255, 0.2);

  --lx-text: #eef0f2;
  --lx-text-2: #a7adb4;
  --lx-text-3: #7d858e;

  --lx-accent: #29cd96;
  --lx-accent-hi: #4fe0ad;
  --lx-accent-ink: #03140d;
  --lx-accent-soft: rgba(41, 205, 150, 0.12);
  --lx-accent-line: rgba(41, 205, 150, 0.35);

  --lx-amber: #f3b54a;
  --lx-red: #f0646f;
  --lx-blue: #63a8ff;

  --lx-r-sm: 6px;
  --lx-r: 10px;
  --lx-r-lg: 14px;
  --lx-r-xl: 18px;

  --lx-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 48px -16px rgba(0, 0, 0, 0.6), 0 4px 12px -4px rgba(0, 0, 0, 0.5);
  --lx-shadow-lg: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 60px 120px -30px rgba(0, 0, 0, 0.75), 0 12px 32px -8px rgba(0, 0, 0, 0.6);

  --lx-display: "Geist", ui-sans-serif, system-ui, sans-serif;
  --lx-font: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --lx-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --lx-wrap: 1360px;
  --lx-gutter: clamp(16px, 3vw, 24px);
  --lx-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--lx-bg);
  color: var(--lx-text);
  font-family: var(--lx-font);
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--lx-accent); color: var(--lx-accent-ink); }
:focus-visible { outline: 2px solid var(--lx-accent); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: #2a3037 var(--lx-bg); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--lx-bg); }
::-webkit-scrollbar-thumb { background: #262b31; border-radius: 99px; border: 3px solid var(--lx-bg); }
::-webkit-scrollbar-thumb:hover { background: #343b43; }

.lx-wrap { width: 100%; max-width: var(--lx-wrap); margin: 0 auto; padding: 0 var(--lx-gutter); }
.lx-mono { font-family: var(--lx-mono); font-feature-settings: "zero"; }
.lx-tnum { font-variant-numeric: tabular-nums; }
.lx-display { font-family: var(--lx-display); }


/* ---------- Buttons ---------- */
.lx-btn {
  --lx-h: 42px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--lx-h); padding: 0 18px; border-radius: 8px;
  font-size: 14.5px; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s var(--lx-ease), border-color .2s var(--lx-ease), color .2s var(--lx-ease), transform .2s var(--lx-ease);
}
.lx-btn:active { transform: translateY(1px); }
.lx-btn svg { width: 16px; height: 16px; flex: none; }
.lx-btn-lg { --lx-h: 50px; padding: 0 24px; font-size: 15.5px; border-radius: 10px; }
.lx-btn-sm { --lx-h: 34px; padding: 0 13px; font-size: 13.5px; border-radius: 7px; }
.lx-btn-primary { background: var(--lx-accent); color: var(--lx-accent-ink); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 6px 16px -6px rgba(0, 0, 0, 0.6); }
.lx-btn-primary:hover { background: var(--lx-accent-hi); }
.lx-btn-ghost { background: rgba(255, 255, 255, 0.05); border-color: var(--lx-line-2); color: var(--lx-text); }
.lx-btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: var(--lx-line-3); }
.lx-btn-dark { background: #000; border-color: var(--lx-line-2); color: var(--lx-text); }
.lx-btn-dark:hover { border-color: var(--lx-line-3); }
.lx-btn-done { background: var(--lx-accent-soft); border-color: var(--lx-accent-line); color: var(--lx-accent); }
.lx-btn .lx-arrow { transition: transform .25s var(--lx-ease); }
.lx-btn:hover .lx-arrow { transform: translateX(3px); }
.lx-btn-block { width: 100%; }

.lx-link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--lx-text); font-weight: 600; font-size: 15px; }
.lx-link-arrow svg { width: 15px; height: 15px; color: var(--lx-text-2); transition: transform .25s var(--lx-ease); }
.lx-link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header (restored from the live site: 72px, 36px logo) ---------- */
.lx-site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 11, 13, 0.82);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--lx-line);
}
.lx-header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.lx-brand img { height: 36px; width: auto; }
.lx-nav { display: flex; align-items: center; gap: 4px; }
.lx-nav a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 8px;
  font-size: 14.5px; font-weight: 500; color: var(--lx-text-2);
  transition: color .2s, background-color .2s;
}
.lx-nav a:hover { color: var(--lx-text); background: var(--lx-bg-2); }
.lx-nav a[aria-current="page"] { color: var(--lx-accent); }
.lx-nav a .lx-ext { width: 12px; height: 12px; opacity: .6; }
.lx-nav .lx-icon-link { padding: 10px 12px; }
.lx-nav .lx-icon-link svg { width: 18px; height: 18px; }
.lx-nav .lx-nav-cart { position: relative; }
.lx-cart-badge {
  position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 99px; background: var(--lx-accent); color: var(--lx-accent-ink);
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.lx-nav .lx-nav-cta { margin-left: 8px; background: var(--lx-accent); color: var(--lx-accent-ink); font-weight: 600; padding: 10px 20px; }
.lx-nav .lx-nav-cta:hover { background: var(--lx-accent-hi); color: var(--lx-accent-ink); }
.lx-nav .lx-sep { width: 1px; height: 22px; background: var(--lx-line-2); margin: 0 6px; }
.lx-menu-btn { display: none; width: 42px; height: 42px; border-radius: 8px; border: 1px solid var(--lx-line-2); background: transparent; color: var(--lx-text); place-items: center; cursor: pointer; }
.lx-menu-btn svg { width: 20px; height: 20px; }
.lx-mobile-menu { border-top: 1px solid var(--lx-line); padding: 12px 0 18px; }
.lx-mobile-menu a { display: flex; align-items: center; justify-content: space-between; padding: 12px 4px; font-size: 16px; font-weight: 500; color: var(--lx-text-2); border-bottom: 1px solid var(--lx-line); }
.lx-mobile-menu a:last-child { border-bottom: 0; }
.lx-mobile-menu .lx-btn { margin-top: 12px; color: var(--lx-accent-ink); justify-content: center; border: 0; }

/* ---------- Section rhythm ---------- */
.lx-section { padding: clamp(64px, 8vw, 112px) 0; }
.lx-section-sm { padding: clamp(48px, 6vw, 72px) 0; }
.lx-section + .lx-section-sm, .lx-section-sm + .lx-section-sm { padding-top: 0; }
.lx-rule { border-top: 1px solid var(--lx-line); }
.lx-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3.5vw, 40px); flex-wrap: wrap; }
.lx-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.lx-head p { margin-top: 10px; color: var(--lx-text-2); font-size: 17px; max-width: 60ch; }

/* ---------- Tags / chips ---------- */
.lx-tag {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px;
  border-radius: 6px; font-size: 12.5px; font-weight: 600; color: var(--lx-text-2);
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--lx-line);
  white-space: nowrap;
}
.lx-tag-accent { color: var(--lx-accent); background: var(--lx-accent-soft); border-color: var(--lx-accent-line); }
.lx-tag-amber { color: var(--lx-amber); background: rgba(243, 181, 74, .1); border-color: rgba(243, 181, 74, .3); }
.lx-dot { width: 7px; height: 7px; border-radius: 99px; background: currentColor; flex: none; }
.lx-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.lx-chip {
  height: 36px; padding: 0 15px; border-radius: 99px; border: 1px solid var(--lx-line-2); background: transparent;
  color: var(--lx-text-2); font-size: 14px; font-weight: 500; cursor: pointer; transition: all .2s var(--lx-ease);
  display: inline-flex; align-items: center; gap: 7px;
}
.lx-chip .lx-n { font-size: 12px; color: var(--lx-text-3); font-variant-numeric: tabular-nums; }
.lx-chip:hover { color: var(--lx-text); border-color: var(--lx-line-3); }
.lx-chip[aria-pressed="true"] { background: var(--lx-text); color: var(--lx-bg); border-color: var(--lx-text); }
.lx-chip[aria-pressed="true"] .lx-n { color: rgba(10, 11, 13, .55); }

/* ---------- Product card (store) ---------- */
.lx-pcard {
  position: relative; display: flex; flex-direction: column; border-radius: var(--lx-r-lg); overflow: hidden;
  background: var(--lx-bg-1); border: 1px solid var(--lx-line);
  transition: border-color .25s var(--lx-ease), transform .35s var(--lx-ease), background-color .25s;
}
.lx-pcard:hover { border-color: var(--lx-line-3); transform: translateY(-3px); background: var(--lx-bg-2); }
.lx-pcard-media { position: relative; aspect-ratio: 16 / 10; background: #0d0f12; overflow: hidden; }
.lx-pcard-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--lx-ease); }
.lx-pcard:hover .lx-pcard-media img { transform: scale(1.035); }
.lx-pcard-media .lx-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.lx-pcard-media .lx-badges .lx-tag { background: rgba(10, 11, 13, .82); backdrop-filter: blur(8px); border-color: var(--lx-line-2); color: var(--lx-text); }
.lx-pcard-media .lx-badges .lx-tag-accent { color: var(--lx-accent); }
.lx-pcard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.lx-pcard-cat { font-size: 13px; font-weight: 500; color: var(--lx-text-3); }
.lx-pcard h3 { font-size: 19px; margin-top: 4px; letter-spacing: -0.015em; }
.lx-pcard p { margin-top: 8px; font-size: 14.5px; color: var(--lx-text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lx-pcard-foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lx-price { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lx-price small { font-size: 13px; font-weight: 500; color: var(--lx-text-3); letter-spacing: 0; margin-left: 4px; }
.lx-price.lx-free { color: var(--lx-text); }
.lx-cart-add {
  width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; flex: none;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--lx-line-2); color: var(--lx-text); cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.lx-cart-add svg { width: 17px; height: 17px; }
.lx-pcard:hover .lx-cart-add, .lx-cart-add:hover { background: var(--lx-accent); border-color: var(--lx-accent); color: var(--lx-accent-ink); }
.lx-pcard-link { position: absolute; inset: 0; z-index: 1; }
.lx-pcard .lx-cart-add { position: relative; z-index: 2; }

/* ---------- Panels ---------- */
.lx-panel { border-radius: var(--lx-r-lg); border: 1px solid var(--lx-line-2); background: linear-gradient(180deg, #121519 0%, #0e1013 100%); box-shadow: var(--lx-shadow); }

/* ---------- Lightbox ---------- */
.lx-lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 6, 8, .94); backdrop-filter: blur(6px); display: grid; grid-template-rows: auto 1fr auto; padding: 16px clamp(16px, 4vw, 48px) 24px; }
.lx-lightbox[hidden] { display: none; }
.lx-lb-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--lx-text-2); font-size: 14px; }
.lx-lb-top b { color: var(--lx-text); font-weight: 600; }
.lx-lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 16px 0; }
.lx-lb-stage img { max-width: 100%; max-height: 100%; border-radius: 10px; border: 1px solid var(--lx-line-2); box-shadow: var(--lx-shadow-lg); object-fit: contain; }
.lx-lb-btn { width: 46px; height: 46px; border-radius: 99px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid var(--lx-line-2); cursor: pointer; color: var(--lx-text); transition: background-color .2s; }
.lx-lb-btn:hover { background: rgba(255, 255, 255, .16); }
.lx-lb-btn svg { width: 20px; height: 20px; }
.lx-lb-prev, .lx-lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lx-lb-prev { left: 0; } .lx-lb-next { right: 0; }
.lx-lb-thumbs { display: flex; gap: 8px; justify-content: center; overflow-x: auto; padding-top: 8px; scrollbar-width: none; }
.lx-lb-thumbs::-webkit-scrollbar { display: none; }
.lx-lb-thumbs button { flex: none; width: 84px; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #000; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.lx-lb-thumbs button[aria-current="true"] { border-color: var(--lx-accent); opacity: 1; }
.lx-lb-thumbs button:hover { opacity: 1; }
.lx-lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.lx-site-footer { border-top: 1px solid var(--lx-line); padding: 64px 0 40px; background: var(--lx-bg); }
.lx-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.lx-footer-brand img { height: 32px; width: auto; margin-bottom: 16px; }
.lx-footer-brand p { color: var(--lx-text-3); font-size: 14.5px; max-width: 34ch; }
.lx-footer-col h2 { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--lx-text); letter-spacing: 0; }
.lx-footer-col a { display: block; color: var(--lx-text-3); font-size: 14.5px; padding: 4px 0; transition: color .15s; }
.lx-footer-col a:hover { color: var(--lx-text); }
.lx-footer-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--lx-line); display: flex; justify-content: space-between; gap: 16px; color: var(--lx-text-3); font-size: 13.5px; flex-wrap: wrap; }
.lx-status-ok { display: inline-flex; align-items: center; gap: 7px; color: var(--lx-text-2); }
.lx-status-ok .lx-dot { color: var(--lx-accent); }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .lx-reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--lx-ease), transform .8s var(--lx-ease); }
  .js .lx-reveal.lx-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- Responsive shell ---------- */
@media (max-width: 860px) {
  .lx-footer-grid { grid-template-columns: 1fr 1fr; }
  .lx-footer-brand { grid-column: 1 / -1; }
  .lx-lb-prev, .lx-lb-next { display: none; }
}
@media (max-width: 480px) {
  .lx-brand img { height: 30px; }
  .lx-header-inner { height: 64px; }
}

/* ===========================================================
   Navbar v2 — search, resources menu, cart with subtotal,
   underline active state, staged breakpoints
   =========================================================== */

.lx-header-inner { gap: 16px; }
.lx-nav { flex: 1; gap: 2px; }
.lx-nav > a, .lx-nav > .lx-menu-wrap { position: relative; }

/* Active state carries an indicator, not colour alone */
.lx-nav a[aria-current="page"] { color: var(--lx-text); }
.lx-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -15px;
  height: 2px; background: var(--lx-accent); border-radius: 2px;
}

/* Resources dropdown */
.lx-menu-wrap { position: relative; }
.lx-menu-btn-nav {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 8px;
  font-size: 14.5px; font-weight: 500; color: var(--lx-text-2); background: transparent; border: 0; cursor: pointer;
  transition: color .2s, background-color .2s;
}
.lx-menu-btn-nav:hover, .lx-menu-btn-nav[aria-expanded="true"] { color: var(--lx-text); background: var(--lx-bg-2); }
.lx-menu-btn-nav .lx-chev { width: 14px; height: 14px; transition: transform .2s var(--lx-ease); }
.lx-menu-btn-nav[aria-expanded="true"] .lx-chev { transform: rotate(180deg); }
.lx-menu-pop {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 60; min-width: 326px; padding: 6px;
  border-radius: var(--lx-r-lg); border: 1px solid var(--lx-line-2); background: var(--lx-bg-1); box-shadow: var(--lx-shadow-lg);
}
.lx-menu-pop a { display: grid; grid-template-columns: auto 1fr auto; gap: 3px 11px; align-items: center; padding: 10px 11px; border-radius: 9px; color: var(--lx-text-2); }
.lx-menu-pop a:hover { background: var(--lx-bg-3); color: var(--lx-text); }
.lx-menu-pop a svg.lx-ic { width: 17px; height: 17px; grid-row: 1 / 3; }
.lx-menu-pop a b { font-size: 14.5px; font-weight: 600; color: var(--lx-text); }
.lx-menu-pop a span { grid-column: 2; font-size: 12.5px; color: var(--lx-text-3); }
.lx-menu-pop a svg.lx-ext { width: 12px; height: 12px; grid-row: 1 / 3; grid-column: 3; opacity: .5; }
.lx-menu-sep { height: 1px; background: var(--lx-line); margin: 6px 4px; }

/* Search field */
.lx-nav-search {
  display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 10px 0 12px; min-width: 214px;
  border-radius: 9px; border: 1px solid var(--lx-line-2); background: rgba(255,255,255,.03);
  color: var(--lx-text-3); font-size: 14px; font-family: inherit; cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.lx-nav-search:hover { border-color: var(--lx-line-3); background: rgba(255,255,255,.05); }
.lx-nav-search svg { width: 16px; height: 16px; flex: none; }
.lx-nav-search .lx-kbd {
  margin-left: auto; font-family: var(--lx-mono); font-size: 11px; color: var(--lx-text-3);
  border: 1px solid var(--lx-line-2); border-radius: 5px; padding: 1px 6px;
}

/* Cart with subtotal */
.lx-cart-wrap { position: relative; }
.lx-cart-link { display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 12px; border-radius: 9px; color: var(--lx-text-2); transition: color .2s, background-color .2s; cursor: pointer; background: none; border: 0; font-family: inherit; }
.lx-cart-link:hover { color: var(--lx-text); background: var(--lx-bg-2); }
.lx-cart-link svg { width: 18px; height: 18px; }
.lx-cart-link .lx-subtotal { font-size: 14px; font-weight: 600; color: var(--lx-text); font-variant-numeric: tabular-nums; }
.lx-cart-link .lx-count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--lx-accent); color: var(--lx-accent-ink); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.lx-mini-cart {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; width: 330px; padding: 14px;
  border-radius: var(--lx-r-lg); border: 1px solid var(--lx-line-2); background: var(--lx-bg-1); box-shadow: var(--lx-shadow-lg);
}
.lx-mini-cart h2 { font-size: 12px; font-weight: 600; color: var(--lx-text-3); letter-spacing: .06em; text-transform: uppercase; }
.lx-mini-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 11px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--lx-line); }
.lx-mini-item img { width: 52px; height: 33px; object-fit: cover; object-position: top left; border-radius: 6px; border: 1px solid var(--lx-line-2); }
.lx-mini-item b { font-size: 14px; font-weight: 600; display: block; }
.lx-mini-item small { font-size: 12.5px; color: var(--lx-text-3); }
.lx-mini-item .lx-amt { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lx-mini-total { display: flex; justify-content: space-between; align-items: baseline; padding: 13px 0 12px; font-size: 14px; color: var(--lx-text-2); }
.lx-mini-total b { font-size: 19px; font-weight: 700; color: var(--lx-text); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lx-mini-cart .lx-btn { width: 100%; }
.lx-mini-cart .lx-btn + .lx-btn { margin-top: 8px; }

/* Search overlay */
.lx-search-overlay { position: fixed; inset: 0; z-index: 120; background: rgba(5,6,8,.72); backdrop-filter: blur(5px); padding: clamp(60px, 12vh, 140px) 16px 16px; }
.lx-search-panel { width: 100%; max-width: 640px; margin: 0 auto; border-radius: var(--lx-r-lg); border: 1px solid var(--lx-line-2); background: var(--lx-bg-1); box-shadow: var(--lx-shadow-lg); overflow: hidden; }
.lx-search-field { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--lx-line); }
.lx-search-field svg { width: 19px; height: 19px; color: var(--lx-text-3); flex: none; }
.lx-search-field input { flex: 1; background: none; border: 0; outline: none; color: var(--lx-text); font-size: 17px; font-family: inherit; }
.lx-search-field input::placeholder { color: var(--lx-text-3); }
.lx-search-field .lx-esc { font-family: var(--lx-mono); font-size: 11px; color: var(--lx-text-3); border: 1px solid var(--lx-line-2); border-radius: 5px; padding: 2px 7px; }
.lx-search-results { max-height: min(56vh, 460px); overflow-y: auto; padding: 8px; }
.lx-search-group { padding: 10px 10px 4px; font-size: 11.5px; font-weight: 600; color: var(--lx-text-3); letter-spacing: .06em; text-transform: uppercase; }
.lx-search-hit { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 9px; color: var(--lx-text-2); }
.lx-search-hit img { width: 46px; height: 29px; object-fit: cover; object-position: top left; border-radius: 5px; border: 1px solid var(--lx-line-2); background: #0d0f12; }
.lx-search-hit .lx-ph { width: 46px; height: 29px; border-radius: 5px; border: 1px solid var(--lx-line-2); display: grid; place-items: center; color: var(--lx-text-3); }
.lx-search-hit .lx-ph svg { width: 15px; height: 15px; }
.lx-search-hit b { font-size: 14.5px; font-weight: 600; color: var(--lx-text); display: block; }
.lx-search-hit small { font-size: 12.5px; color: var(--lx-text-3); }
.lx-search-hit .lx-amt { font-size: 13.5px; font-weight: 600; color: var(--lx-text-2); font-variant-numeric: tabular-nums; }
.lx-search-hit[aria-selected="true"], .lx-search-hit:hover { background: var(--lx-bg-3); }
.lx-search-empty { padding: 28px 14px 32px; text-align: center; color: var(--lx-text-3); font-size: 14.5px; }
.lx-search-foot { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--lx-line); font-size: 12px; color: var(--lx-text-3); }
.lx-search-foot kbd { font-family: var(--lx-mono); border: 1px solid var(--lx-line-2); border-radius: 4px; padding: 0 5px; margin-right: 5px; }

/* Staged collapse: secondary items go first, primary links survive longer */
@media (max-width: 1320px) {
  .lx-nav-search { min-width: 0; width: 38px; padding: 0; justify-content: center; }
  .lx-nav-search .lx-label, .lx-nav-search .lx-kbd { display: none; }
}
@media (max-width: 1160px) { .lx-nav .lx-secondary { display: none; } }
@media (max-width: 1000px) { .lx-cart-link .lx-subtotal { display: none; } }
@media (max-width: 860px) {
  .lx-nav { display: none; }
  .lx-menu-btn { display: grid; }
}
@media (min-width: 1181px) { .lx-menu-btn { display: none; } }

/* Breathing room in the right-hand cluster */
.lx-nav > .lx-cart-wrap { margin-left: 12px; }
.lx-nav > .lx-nav-cta { margin-left: 14px; }
.lx-cart-link { padding: 0 14px; gap: 10px; }
.lx-nav-search { padding: 0 12px 0 14px; gap: 10px; }

/* Search, cart and the CTA are one control row — same height */
.lx-nav .lx-nav-cta { height: 38px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 9px; }


/* ---- from home.lx-html ---- */

/* ---------- Hero ---------- */
.lx-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--lx-line); }
.lx-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 78% 40%, #13201b 0%, transparent 70%); pointer-events: none; }
.lx-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 4vw, 64px); align-items: center; min-height: 600px; padding-block: clamp(48px, 7vw, 88px); }
.lx-hero h1 { font-family: var(--lx-display); font-size: clamp(42px, 5.2vw, 74px); font-weight: 600; letter-spacing: -0.045em; line-height: 0.98; }
.lx-hero h1 em { font-style: normal; color: var(--lx-text-2); }
.lx-hero-sub { margin-top: 22px; font-size: clamp(17px, 1.45vw, 19px); color: var(--lx-text-2); max-width: 46ch; }
.lx-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.lx-hero-stats { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px 32px; }
.lx-hero-stats div { display: flex; flex-direction: column; }
.lx-hero-stats b { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lx-hero-stats span { font-size: 13.5px; color: var(--lx-text-3); }

.lx-stack { position: relative; aspect-ratio: 1.15; }
.lx-stack > a { position: absolute; border-radius: 12px; overflow: hidden; border: 1px solid var(--lx-line-2); box-shadow: var(--lx-shadow-lg); background: #0d0f12; transition: transform .6s var(--lx-ease); }
.lx-stack > a > img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.lx-stack > a:hover { z-index: 5; transform: translateY(-6px) rotate(0deg) !important; }
.lx-stack .lx-label { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px 6px 8px; border-radius: 8px; background: rgba(10, 11, 13, .86); backdrop-filter: blur(8px); border: 1px solid var(--lx-line-2); font-size: 13px; font-weight: 600; }
.lx-stack .lx-label img { width: 18px; height: 18px; border-radius: 4px; object-fit: contain; }
.lx-stack .lx-s1 { width: 70%; aspect-ratio: 16/10; left: 0; top: 4%; transform: rotate(-3deg); z-index: 1; }
.lx-stack .lx-s2 { width: 66%; aspect-ratio: 16/10; right: 0; top: 0; transform: rotate(2.5deg); z-index: 2; }
.lx-stack .lx-s3 { width: 64%; aspect-ratio: 16/10; left: 8%; bottom: 2%; transform: rotate(1.5deg); z-index: 3; }
.lx-stack .lx-s4 { width: 46%; aspect-ratio: 16/10; right: 2%; bottom: 10%; transform: rotate(-2deg); z-index: 4; }
.lx-stack .lx-new-pill { position: absolute; right: 4%; top: -3%; z-index: 6; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: var(--lx-accent); color: var(--lx-accent-ink); font-size: 13.5px; font-weight: 700; box-shadow: 0 10px 24px -10px rgba(0,0,0,.7); transition: background-color .2s; }
.lx-stack .lx-new-pill:hover { background: var(--lx-accent-hi); }
.lx-stack .lx-new-pill svg { width: 14px; height: 14px; }

/* ---------- Store ---------- */
.lx-store-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lx-pcard.lx-lg { grid-column: span 2; }
.lx-pcard.lx-lg .lx-pcard-media { aspect-ratio: 16 / 9; }
.lx-pcard.lx-lg h3 { font-size: 24px; }
.lx-pcard.lx-lg p { font-size: 15.5px; -webkit-line-clamp: 3; max-width: 56ch; }
.lx-req { font-size: 13px; color: var(--lx-text-3); margin-top: 10px; }
.lx-req a { color: var(--lx-text-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--lx-line-3); position: relative; z-index: 2; }
.lx-empty { padding: 48px; text-align: center; color: var(--lx-text-3); border: 1px dashed var(--lx-line-2); border-radius: var(--lx-r-lg); }

/* ---------- Marketplace ---------- */
.lx-market { background: var(--lx-bg-1); border-top: 1px solid var(--lx-line); border-bottom: 1px solid var(--lx-line); }
.lx-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc((100% - 48px) / 4)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lx-rail::-webkit-scrollbar { display: none; }
.lx-vcard { scroll-snap-align: start; border-radius: var(--lx-r-lg); overflow: hidden; background: var(--lx-bg); border: 1px solid var(--lx-line); transition: border-color .25s, transform .35s var(--lx-ease); display: flex; flex-direction: column; }
.lx-vcard:hover { border-color: var(--lx-line-3); transform: translateY(-3px); }
.lx-vcard-media { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.lx-vcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--lx-ease); }
.lx-vcard:hover .lx-vcard-media img { transform: scale(1.04); }
.lx-vcard-media .lx-tag { position: absolute; top: 10px; left: 10px; background: rgba(10,11,13,.82); color: var(--lx-text); border-color: var(--lx-line-2); }
.lx-vcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lx-vcard h3 { font-size: 16.5px; letter-spacing: -0.01em; }
.lx-vcard-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lx-author { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--lx-text-2); }
.lx-author img { width: 22px; height: 22px; border-radius: 99px; background: var(--lx-bg-3); }
.lx-vcard .lx-price { font-size: 17px; }
.lx-rail-nav { display: flex; gap: 8px; }
.lx-rail-nav button { width: 40px; height: 40px; border-radius: 99px; border: 1px solid var(--lx-line-2); background: transparent; color: var(--lx-text); display: grid; place-items: center; cursor: pointer; transition: background-color .2s; }
.lx-rail-nav button:hover { background: var(--lx-bg-3); }
.lx-rail-nav svg { width: 18px; height: 18px; }

/* ---------- Services strip ---------- */
.lx-services { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--lx-line); }
.lx-services a { padding: 28px 28px 28px 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: start; }
.lx-services a + a { padding-left: 28px; border-left: 1px solid var(--lx-line); }
.lx-services h3 { font-size: 19px; }
.lx-services p { grid-column: 1; color: var(--lx-text-2); font-size: 15px; }
.lx-services .lx-go { grid-row: 1 / 3; grid-column: 2; width: 20px; height: 20px; color: var(--lx-text-3); align-self: center; transition: transform .25s var(--lx-ease), color .2s; }
.lx-services a:hover .lx-go { color: var(--lx-text); transform: translateX(3px); }

/* ---------- Community band ---------- */
.lx-community { position: relative; overflow: hidden; border-radius: var(--lx-r-xl); border: 1px solid var(--lx-line-2); min-height: 360px; display: flex; align-items: center; }
.lx-community > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.lx-community::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,11,13,.97) 0%, rgba(10,11,13,.88) 40%, rgba(10,11,13,.3) 100%); }
.lx-community-copy { position: relative; z-index: 1; padding: clamp(28px, 5vw, 64px); max-width: 620px; }
.lx-community h2 { font-size: clamp(30px, 3.6vw, 46px); }
.lx-community p { margin-top: 14px; color: var(--lx-text-2); font-size: 17px; }
.lx-community .lx-hero-cta { margin-top: 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .lx-store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lx-pcard.lx-lg { grid-column: span 3; }
}
@media (max-width: 980px) {
  .lx-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .lx-stack { max-width: 640px; width: 100%; margin: 20px auto 0; }
  .lx-store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-pcard.lx-lg { grid-column: span 2; }
  .lx-services { grid-template-columns: 1fr; }
  .lx-services a, .lx-services a + a { padding: 22px 0; border-left: 0; }
  .lx-services a + a { border-top: 1px solid var(--lx-line); }
}
@media (max-width: 600px) {
  .lx-store-grid { grid-template-columns: 1fr; }
  .lx-pcard.lx-lg { grid-column: auto; }
  .lx-pcard.lx-lg h3 { font-size: 20px; }
  .lx-hero-stats b { font-size: 20px; }
  .lx-rail { grid-auto-columns: 78%; }
  .lx-rail-nav { display: none; }
  .lx-community::after { background: linear-gradient(180deg, rgba(10,11,13,.75) 0%, rgba(10,11,13,.96) 60%); }
  .lx-stack .lx-label { font-size: 11.5px; padding: 4px 8px 4px 6px; left: 8px; bottom: 8px; }
  .lx-stack .lx-label img { width: 14px; height: 14px; }
}


/* ---- from product.lx-html ---- */


.lx-crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--lx-text-3); padding: 22px 0 0; flex-wrap: wrap; }
.lx-crumbs a:hover { color: var(--lx-text); }
.lx-crumbs [aria-current] { color: var(--lx-text-2); }

/* ---------- Hero: screenshot first ---------- */
.lx-p-top { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: clamp(28px, 3vw, 44px); align-items: start; padding-top: 22px; padding-bottom: clamp(40px, 5vw, 64px); }

.lx-p-head h1 { font-family: var(--lx-display); font-weight: 600; font-size: clamp(34px, 4vw, 50px); letter-spacing: -0.04em; line-height: 1; }
.lx-p-lede { margin-top: 14px; font-size: clamp(17px, 1.5vw, 19.5px); color: var(--lx-text-2); max-width: 62ch; }
.lx-p-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }

.lx-shot-main { position: relative; display: block; margin-top: 22px; border-radius: var(--lx-r-lg); overflow: hidden; border: 1px solid var(--lx-line-2); background: #0d0f12; box-shadow: var(--lx-shadow); aspect-ratio: 2.1 / 1; }
.lx-shot-main img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .7s var(--lx-ease); }
.lx-shot-main:hover img { transform: scale(1.02); }
.lx-shot-main figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 30px 16px 14px; font-size: 13.5px; font-weight: 600; background: linear-gradient(transparent, rgba(6,7,9,.9)); }
.lx-shot-main .lx-zoom { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 7px; background: rgba(10,11,13,.8); border: 1px solid var(--lx-line-2); font-weight: 600; }
.lx-shot-main .lx-zoom svg { width: 14px; height: 14px; }
.lx-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 8px; }
.lx-strip a { position: relative; aspect-ratio: 16/10; border-radius: 8px; overflow: hidden; border: 1px solid var(--lx-line); background: #0d0f12; transition: border-color .2s, opacity .2s; opacity: .75; }
.lx-strip a:hover { border-color: var(--lx-line-3); opacity: 1; }
.lx-strip img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.lx-strip .lx-more { display: grid; place-items: center; font-size: 13px; font-weight: 700; opacity: 1; background: var(--lx-bg-2); }
.lx-strip .lx-more img { position: absolute; inset: 0; opacity: .2; }
.lx-strip .lx-more span { position: relative; }

/* ---------- Buy rail ---------- */
.lx-buy { position: sticky; top: 92px; display: grid; gap: 10px; }
.lx-buy .lx-panel { padding: 22px; }
.lx-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.lx-price-row .lx-price { font-size: 38px; letter-spacing: -0.03em; }
.lx-price-row .lx-per { font-size: 14px; color: var(--lx-text-3); }
.lx-owned-note { display: flex; align-items: center; gap: 9px; margin-top: 16px; padding: 11px 13px; border-radius: 9px; background: var(--lx-accent-soft); border: 1px solid var(--lx-accent-line); color: var(--lx-accent); font-size: 14.5px; font-weight: 600; }
.lx-owned-note svg { width: 16px; height: 16px; flex: none; }
.lx-buy-actions { display: grid; gap: 9px; margin-top: 16px; }
.lx-another { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--lx-line); }
.lx-another-hd { font-size: 12px; font-weight: 600; color: var(--lx-text-3); letter-spacing: .06em; text-transform: uppercase; }
.lx-another p { margin-top: 8px; font-size: 13px; color: var(--lx-text-3); }
.lx-signin-note { font-size: 13.5px; color: var(--lx-text-3); text-align: center; }
.lx-signin-note a { color: var(--lx-text); text-decoration: underline; text-underline-offset: 3px; }
.lx-incl { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; font-size: 14.5px; color: var(--lx-text-2); }
.lx-incl li { display: flex; gap: 10px; }
.lx-incl svg { width: 16px; height: 16px; color: var(--lx-text-3); flex: none; margin-top: 3px; }
.lx-rail-block { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--lx-line); }
.lx-rail-block h2 { font-size: 12px; font-weight: 600; color: var(--lx-text-3); letter-spacing: .06em; text-transform: uppercase; }
.lx-rail-block ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 14px; color: var(--lx-text-2); }
.lx-rail-block li { display: flex; gap: 9px; }
.lx-rail-block li::before { content: ""; width: 4px; height: 4px; border-radius: 99px; background: var(--lx-text-3); flex: none; margin-top: 9px; }
.lx-trust { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--lx-line); display: grid; gap: 7px; font-size: 13.5px; color: var(--lx-text-3); }
.lx-trust div { display: flex; align-items: center; gap: 9px; }
.lx-trust svg { width: 15px; height: 15px; flex: none; }
.lx-trust strong { color: var(--lx-text-2); font-weight: 600; }
.lx-managed { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: center; padding: 16px 18px; border-radius: var(--lx-r-lg); border: 1px solid var(--lx-line-2); transition: border-color .2s; }
.lx-managed:hover { border-color: var(--lx-line-3); }
.lx-managed b { font-weight: 600; font-size: 15px; }
.lx-managed span { grid-column: 1; font-size: 13.5px; color: var(--lx-text-2); }
.lx-managed svg { grid-row: 1 / 3; grid-column: 2; width: 18px; height: 18px; color: var(--lx-text-3); }

/* ---------- Sub navigation ---------- */
.lx-subnav { position: sticky; top: 72px; z-index: 20; background: rgba(10,11,13,.92); backdrop-filter: blur(16px); border-top: 1px solid var(--lx-line); border-bottom: 1px solid var(--lx-line); }
.lx-subnav .lx-wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.lx-subnav .lx-wrap::-webkit-scrollbar { display: none; }
.lx-subnav a { position: relative; padding: 15px 14px; font-size: 14.5px; font-weight: 500; color: var(--lx-text-2); white-space: nowrap; transition: color .2s; }
.lx-subnav a:hover { color: var(--lx-text); }
.lx-subnav a[aria-current="true"] { color: var(--lx-text); }
.lx-subnav a[aria-current="true"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--lx-accent); border-radius: 2px; }

/* ---------- What you get ---------- */
.lx-caps { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 72px); border-top: 1px solid var(--lx-line); }
.lx-cap { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--lx-line); }
.lx-cap h3 { font-size: 17px; letter-spacing: -0.015em; display: flex; align-items: center; gap: 9px; }
.lx-cap p { grid-column: 1; color: var(--lx-text-2); font-size: 15px; max-width: 52ch; }
.lx-cap .lx-see { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 13px; color: var(--lx-text-3); white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; opacity: 0; transition: opacity .2s, color .2s; }
.lx-cap .lx-see svg { width: 13px; height: 13px; }
.lx-cap:hover .lx-see { opacity: 1; color: var(--lx-text); }
.lx-tag-soon { font-size: 11.5px; font-weight: 600; color: var(--lx-amber); background: rgba(243,181,74,.1); border: 1px solid rgba(243,181,74,.3); border-radius: 5px; padding: 1px 7px; }

/* ---------- Screenshots ---------- */
.lx-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lx-shots a { display: flex; flex-direction: column; border-radius: var(--lx-r-lg); overflow: hidden; border: 1px solid var(--lx-line); background: var(--lx-bg-1); transition: border-color .25s, transform .35s var(--lx-ease); }
.lx-shots a:hover { border-color: var(--lx-line-3); transform: translateY(-3px); }
.lx-shots .lx-img { aspect-ratio: 16/10; overflow: hidden; background: #0d0f12; }
.lx-shots img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .6s var(--lx-ease); }
.lx-shots a:hover img { transform: scale(1.03); }
.lx-shots b { padding: 13px 16px 15px; font-weight: 600; font-size: 15px; }

/* ---------- Add-ons ---------- */
.lx-addons { border: 1px solid var(--lx-line); border-radius: var(--lx-r-xl); overflow: hidden; }
.lx-addon { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto; gap: 20px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--lx-line); transition: background-color .2s; }
.lx-addon:last-child { border-bottom: 0; }
.lx-addon:hover { background: rgba(255,255,255,.02); }
.lx-addon-img { aspect-ratio: 16/10; border-radius: 8px; overflow: hidden; border: 1px solid var(--lx-line-2); background: #0d0f12; }
.lx-addon-img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.lx-addon h3 { font-size: 16.5px; letter-spacing: -0.015em; }
.lx-addon p { margin-top: 3px; font-size: 14px; color: var(--lx-text-2); }
.lx-addon .lx-price { font-size: 17px; }

/* ---------- FAQ ---------- */
.lx-faq { max-width: 860px; border-top: 1px solid var(--lx-line); }
.lx-faq details { border-bottom: 1px solid var(--lx-line); }
.lx-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 19px 0; font-size: 17px; font-weight: 600; }
.lx-faq summary::-webkit-details-marker { display: none; }
.lx-faq .lx-pm { width: 22px; height: 22px; flex: none; position: relative; color: var(--lx-text-3); }
.lx-faq .lx-pm::before, .lx-faq .lx-pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -.9px 0 0 -6px; background: currentColor; border-radius: 2px; }
.lx-faq .lx-pm::after { transform: rotate(90deg); transition: transform .35s var(--lx-ease); }
.lx-faq details[open] .lx-pm::after { transform: rotate(0); }
.lx-faq details p { padding: 0 48px 20px 0; color: var(--lx-text-2); font-size: 16px; max-width: 70ch; }

@media (max-width: 1080px) {
  .lx-p-top { grid-template-columns: minmax(0, 1fr); }
  .lx-buy { position: static; }
  .lx-caps { grid-template-columns: 1fr; }
  .lx-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-subnav { top: 72px; }
}
@media (max-width: 600px) {
  .lx-strip { grid-template-columns: repeat(4, 1fr); }
  .lx-strip a:nth-child(n+4):not(.lx-more) { display: none; }
  .lx-shots { grid-template-columns: 1fr; }
  .lx-addon { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; padding: 14px 16px; }
  .lx-addon .lx-btn { grid-column: 2 / -1; justify-self: start; }
  .lx-subnav { top: 64px; }
  .lx-cap .lx-see { display: none; }
}

/* ---- product-extra.lx-css ---- */
/* Product page pieces the live view needs beyond the LonexCommunity mockup:
   the addon notice, app badges, markdown description, release notes, and the
   flash messages the route can pass in. Kept here so store.lx-css stays
   reproducible from the mockups. */

.lx-crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--lx-text-3); padding: 22px 0 0; flex-wrap: wrap; }
.lx-crumbs a:hover { color: var(--lx-text); }
.lx-crumbs [aria-current] { color: var(--lx-text-2); }

.lx-flash { margin-top: 18px; padding: 13px 16px; border-radius: var(--lx-r); font-size: 14.5px; border: 1px solid var(--lx-line-2); }
.lx-flash-ok { color: var(--lx-accent); background: var(--lx-accent-soft); border-color: var(--lx-accent-line); }
.lx-flash-bad { color: #ff9aa2; background: rgba(240,100,111,.08); border-color: rgba(240,100,111,.3); }

.lx-addon-notice { margin-top: 20px; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--lx-r-lg); border: 1px solid rgba(99,168,255,.3); background: rgba(99,168,255,.07); }
.lx-addon-notice > svg { width: 20px; height: 20px; color: #9cc6ff; flex: none; }
.lx-addon-notice div { flex: 1; font-size: 14.5px; color: var(--lx-text-2); }
.lx-addon-notice strong { display: block; color: var(--lx-text); font-weight: 600; }
.lx-addon-notice div a { color: var(--lx-text); text-decoration: underline; text-underline-offset: 3px; }

.lx-or { text-align: center; font-size: 13px; color: var(--lx-text-3); }

.lx-apps { display: flex; gap: 8px; margin-top: 14px; }
.lx-app-badge { flex: 1; display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 12px; border-radius: 9px; background: #000; border: 1px solid var(--lx-line-3); transition: border-color .2s; }
.lx-app-badge:hover { border-color: var(--lx-text-2); }
.lx-app-badge svg { width: 20px; height: 20px; flex: none; }
.lx-app-badge small { display: block; font-size: 11px; line-height: 1.1; color: var(--lx-text-2); }
.lx-app-badge b { display: block; font-size: 14px; line-height: 1.15; font-weight: 600; }

.lx-prose h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 28px 0 10px; }
.lx-prose h3 { font-size: 19px; margin: 24px 0 8px; }
.lx-prose p { color: var(--lx-text-2); font-size: 16.5px; line-height: 1.7; max-width: 68ch; }
.lx-prose p + p { margin-top: 14px; }
.lx-prose strong { color: var(--lx-text); font-weight: 600; }
.lx-prose a { color: var(--lx-text); text-decoration: underline; text-underline-offset: 3px; }
.lx-prose ul, .lx-prose ol { color: var(--lx-text-2); font-size: 16px; padding-left: 20px; margin: 10px 0 0; display: grid; gap: 6px; }
.lx-prose li::marker { color: var(--lx-text-3); }
.lx-prose img { max-width: 100%; border-radius: var(--lx-r); border: 1px solid var(--lx-line-2); margin: 16px 0; }

.lx-release { border-radius: var(--lx-r-xl); border: 1px solid var(--lx-line-2); background: var(--lx-bg-1); padding: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
.lx-rel-ver { font-family: var(--lx-mono); font-size: 34px; font-weight: 500; letter-spacing: -0.03em; }
.lx-rel-name { margin-top: 6px; font-size: 18px; font-weight: 600; }
.lx-rel-date { margin-top: 4px; font-size: 14px; color: var(--lx-text-3); }
.lx-release .lx-link-arrow { margin-top: 18px; }
.lx-rel-notes { color: var(--lx-text-2); font-size: 16px; }
.lx-rl-group { margin-top: 22px; }
.lx-rl-hd { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; }
.lx-rl-hd .lx-n { font-weight: 500; color: var(--lx-text-3); }
.lx-rl-add { color: var(--lx-accent); }
.lx-rl-fix { color: #9cc6ff; }
.lx-rl-rem { color: var(--lx-amber); }
.lx-rl-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--lx-line); }
.lx-rl-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--lx-line); font-size: 15px; color: var(--lx-text-2); }
.lx-rl-list .lx-d { width: 7px; height: 7px; border-radius: 99px; margin-top: 9px; flex: none; background: currentColor; }
.lx-rl-list b { color: var(--lx-text); font-weight: 600; }
.lx-rl-ref { margin-left: auto; font-family: var(--lx-mono); font-size: 12.5px; color: var(--lx-text-3); white-space: nowrap; padding-left: 12px; }
a.lx-rl-ref:hover { color: var(--lx-text); }

@media (max-width: 1080px) {
  .lx-release { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .lx-rl-list li { flex-wrap: wrap; }
  .lx-rl-ref { margin-left: 19px; padding-left: 0; }
  .lx-apps { flex-direction: column; }
}

/* ---------------------------------------------------------------
   Commissions page
   --------------------------------------------------------------- */

.lx-comm-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 88px); }
.lx-comm-hero h1 { font-family: var(--lx-display); font-weight: 600; font-size: clamp(40px, 5vw, 68px); letter-spacing: -0.045em; line-height: 1; }
.lx-comm-hero h1 em { font-style: normal; color: var(--lx-text-2); }
.lx-comm-sub { margin-top: 20px; font-size: clamp(17px, 1.5vw, 19px); color: var(--lx-text-2); max-width: 48ch; }
.lx-comm-facts { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--lx-line); display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14.5px; color: var(--lx-text-3); }
.lx-comm-facts b { color: var(--lx-text); font-weight: 600; font-variant-numeric: tabular-nums; }

.lx-tracker { padding: 20px 22px 8px; }
.lx-tracker-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--lx-line); }
.lx-tracker-hd b { font-size: 15px; font-weight: 600; }
.lx-tracker-hd small { display: block; font-family: var(--lx-mono); font-size: 12px; color: var(--lx-text-3); }
.lx-track { list-style: none; margin: 0; padding: 14px 0 6px; }
.lx-track li { position: relative; display: grid; grid-template-columns: 26px 1fr auto; gap: 14px; align-items: start; padding: 11px 0; }
.lx-track li::before { content: ""; position: absolute; left: 12px; top: 34px; bottom: -11px; width: 2px; background: var(--lx-line-2); }
.lx-track li:last-child::before { display: none; }
.lx-track .lx-mk { width: 26px; height: 26px; border-radius: 99px; display: grid; place-items: center; border: 1.5px solid var(--lx-line-3); background: var(--lx-bg-1); position: relative; z-index: 1; font-size: 12px; font-weight: 600; color: var(--lx-text-3); }
.lx-track .lx-mk svg { width: 13px; height: 13px; }
.lx-track .lx-done .lx-mk { background: var(--lx-accent); border-color: var(--lx-accent); color: var(--lx-accent-ink); }
.lx-track .lx-done::before { background: var(--lx-accent-line); }
.lx-track .lx-now .lx-mk { border-color: var(--lx-accent); color: var(--lx-accent); }
.lx-track b { display: block; font-weight: 600; font-size: 14.5px; }
.lx-track small { font-size: 13px; color: var(--lx-text-3); }
.lx-track .lx-when { font-family: var(--lx-mono); font-size: 12px; color: var(--lx-text-3); padding-top: 3px; }

.lx-build-list { border-top: 1px solid var(--lx-line); }
.lx-build-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; padding: 20px 0; border-bottom: 1px solid var(--lx-line); transition: background-color .2s var(--lx-ease); }
.lx-build-row h3 { font-size: 18px; letter-spacing: -0.015em; }
.lx-build-row p { grid-column: 1; color: var(--lx-text-2); font-size: 15px; max-width: 60ch; }
.lx-build-row .lx-from { grid-row: 1 / 3; grid-column: 2; align-self: center; text-align: right; }
.lx-build-row .lx-from span { display: block; font-size: 12px; color: var(--lx-text-3); }
.lx-build-row .lx-from b { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.lx-steps-rail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.lx-step-card { position: relative; padding-top: 22px; border-top: 2px solid var(--lx-line-2); }
.lx-step-card:first-child { border-top-color: var(--lx-accent); }
.lx-step-card .lx-num { font-family: var(--lx-mono); font-size: 12.5px; color: var(--lx-text-3); }
.lx-step-card h3 { margin-top: 8px; font-size: 16.5px; letter-spacing: -0.015em; }
.lx-step-card p { margin-top: 7px; font-size: 14.5px; color: var(--lx-text-2); }

.lx-guarantee { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--lx-line-2); border-radius: var(--lx-r-xl); overflow: hidden; }
.lx-guarantee div { padding: 22px 24px; border-right: 1px solid var(--lx-line); }
.lx-guarantee div:last-child { border-right: 0; }
.lx-guarantee svg { width: 18px; height: 18px; color: var(--lx-accent); }
.lx-guarantee b { display: block; margin-top: 12px; font-size: 15.5px; font-weight: 600; }
.lx-guarantee span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--lx-text-3); }

.lx-comm-close { text-align: center; padding-block: clamp(64px, 8vw, 104px); }
.lx-comm-close h2 { font-size: clamp(30px, 3.8vw, 46px); max-width: 18ch; margin: 0 auto; }
.lx-comm-close p { margin: 16px auto 0; color: var(--lx-text-2); font-size: 17px; max-width: 46ch; }
.lx-comm-close .lx-hero-cta { justify-content: center; margin-top: 26px; }

@media (max-width: 1080px) {
  .lx-comm-hero { grid-template-columns: 1fr; }
  .lx-steps-rail { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .lx-guarantee { grid-template-columns: 1fr 1fr; }
  .lx-guarantee div:nth-child(2) { border-right: 0; }
  .lx-guarantee div:nth-child(-n+2) { border-bottom: 1px solid var(--lx-line); }
}
@media (max-width: 600px) {
  .lx-steps-rail { grid-template-columns: 1fr; }
  .lx-guarantee { grid-template-columns: 1fr; }
  .lx-guarantee div { border-right: 0; border-bottom: 1px solid var(--lx-line); }
  .lx-guarantee div:last-child { border-bottom: 0; }
  .lx-build-row { grid-template-columns: 1fr; }
  .lx-build-row .lx-from { grid-row: auto; grid-column: 1; text-align: left; display: flex; align-items: baseline; gap: 8px; }
}
