/* ==========================================================================
   HXS SERVICES — design system
   Palette taken from the HXS logo: black / chrome silver / signal red.
   Accent, background, card and text colors still come from the theme
   settings (--cl-* vars set in layouts/master.njk), so they stay editable.
   ========================================================================== */

:root {
  --hx-red: rgb(var(--cl-accent, 225, 10, 10));
  --hx-red-soft: rgba(var(--cl-accent, 225, 10, 10), .14);
  --hx-bg: rgb(var(--cl-background, 5, 5, 5));
  --hx-surface: rgb(var(--cl-card, 12, 12, 12));
  --hx-text: rgb(var(--cl-t-primary, 240, 240, 240));
  --hx-on-red: rgb(var(--cl-t-accent, 255, 255, 255));
  --hx-dim: rgba(var(--cl-t-primary, 240, 240, 240), .6);
  --hx-faint: rgba(var(--cl-t-primary, 240, 240, 240), .38);
  --hx-line: rgba(var(--cl-t-primary, 240, 240, 240), .09);
  --hx-line-2: rgba(var(--cl-t-primary, 240, 240, 240), .18);
  --hx-fill: rgba(var(--cl-t-primary, 240, 240, 240), .035);
  --hx-chrome: linear-gradient(180deg, #ffffff 0%, #ececec 30%, #a2a2a2 50%, #d7d7d7 64%, #f7f7f7 80%, #b4b4b4 100%);

  --hx-font-display: 'Archivo', 'Arial Black', 'Helvetica Neue', sans-serif;
  --hx-font-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --hx-font: var(--hx-font-body, 'Geist'), 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --hx-pad: clamp(16px, 4vw, 56px);
  --hx-max: 1600px;
  --hx-radius: 4px;
  --hx-section: clamp(96px, 12vw, 192px);
  --hx-header-h: 76px;
  --hx-bar-h: 0px;
  --hx-top-h: calc(var(--hx-header-h) + var(--hx-bar-h));

  --hx-ease: cubic-bezier(.19, 1, .22, 1);
  --hx-ease-io: cubic-bezier(.87, 0, .13, 1);
  --hx-ease-soft: cubic-bezier(.25, .8, .25, 1);
}

.hx-has-bar { --hx-bar-h: 34px; }

@media (max-width: 767px) {
  :root { --hx-header-h: 64px; }
}

/* ---------- base ---------- */
html.hx-html {
  background: var(--hx-bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
}

body.hx-body {
  margin: 0;
  min-height: 100vh;
  background: var(--hx-bg);
  color: var(--hx-text);
  font-family: var(--hx-font);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

.hx-body ::selection { background: var(--hx-red); color: var(--hx-on-red); }
.hx-body :focus { outline: none; }
.hx-body :focus-visible { outline: 1px solid var(--hx-red); outline-offset: 3px; }
:where(.hx-body) img { max-width: 100%; }
:where(.hx-body) a { color: inherit; text-decoration: none; }
:where(.hx-body) button { font: inherit; color: inherit; }

.hx-app { position: relative; min-height: 100vh; display: flex; flex-direction: column; }
.hx-main { flex: 1; padding-top: var(--hx-top-h); position: relative; }

.hx-body::-webkit-scrollbar,
.hx-body *::-webkit-scrollbar { width: 8px; height: 8px; }
.hx-body::-webkit-scrollbar-track,
.hx-body *::-webkit-scrollbar-track { background: transparent; }
.hx-body::-webkit-scrollbar-thumb,
.hx-body *::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .14); border-radius: 8px; }
.hx-body::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .26); }

/* ---------- lenis ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ---------- layout ---------- */
.hx-container { width: 100%; max-width: var(--hx-max); margin-inline: auto; padding-inline: var(--hx-pad); }
.hx-section { position: relative; padding-block: calc(var(--hx-section) * .5) calc(var(--hx-section) * .5); }
.hx-section + .hx-section { border-top: 1px solid var(--hx-line); }
.hx-main > .components > .component:first-child.hx-section { padding-top: clamp(40px, 6vw, 88px); }

/* ---------- type ---------- */
.hx-label {
  font-family: var(--hx-font-mono);
  font-size: 11.5px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hx-dim);
}
.hx-label--red { color: var(--hx-red); }

.hx-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(18px, 2vw, 28px); }
.hx-kicker::before { content: ''; width: 28px; height: 2px; background: var(--hx-red); flex-shrink: 0; }

.hx-display,
.hx-h1,
.hx-h2,
.hx-h3 {
  font-family: var(--hx-font-display);
  font-stretch: 125%;
  text-transform: uppercase;
  color: var(--hx-text);
  margin: 0;
}
.hx-h1 { font-weight: 800; font-size: clamp(2.9rem, 9vw, 9.5rem); line-height: .86; letter-spacing: -.035em; }
.hx-h2 { font-weight: 800; font-size: clamp(2.3rem, 6.6vw, 7rem); line-height: .88; letter-spacing: -.03em; }
.hx-h3 { font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.05; letter-spacing: -.015em; }

.hx-lead {
  font-size: clamp(1.45rem, 2.65vw, 2.6rem);
  line-height: 1.16;
  letter-spacing: -.028em;
  font-weight: 500;
  color: var(--hx-text);
  margin: 0;
}
.hx-lead .word { display: inline-block; }

.hx-copy { color: var(--hx-dim); font-size: 16px; line-height: 1.65; margin: 0; }
.hx-copy + .hx-copy { margin-top: 1em; }
.hx-dim { color: var(--hx-dim); }
.hx-pre { white-space: pre-line; }

.hx-chrome,
.hx-chrome .hx-char {
  background-image: var(--hx-chrome);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ShinyText (React Bits) — a light sweep across chrome type */
.hx-shine.is-shining {
  background-image:
    linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .95) 48%, rgba(255, 255, 255, .95) 50%, transparent 60%),
    var(--hx-chrome);
  background-size: 260% 100%, 100% 100%;
  background-repeat: no-repeat;
  animation: hx-shine 7s var(--hx-ease-soft) infinite;
}
.hx-shine.is-paused { animation-play-state: paused; }
@keyframes hx-shine {
  0% { background-position: 160% 0, 0 0; }
  26%, 100% { background-position: -60% 0, 0 0; }
}

/* SplitText helpers */
.hx-line-mask { padding-bottom: .09em; margin-bottom: -.09em; }
.hx-char { display: inline-block; }

/* Text roll (nav + buttons) */
.hx-roll { position: relative; display: inline-flex; overflow: hidden; vertical-align: top; line-height: 1.2; }
.hx-roll__c { display: inline-block; white-space: pre; transition: transform .6s var(--hx-ease); transition-delay: calc(var(--i, 0) * 14ms); text-shadow: 0 1.2em currentColor; }
a:hover > .hx-roll .hx-roll__c,
button:hover > .hx-roll .hx-roll__c,
a:hover .hx-btn__label .hx-roll__c,
button:hover .hx-btn__label .hx-roll__c,
.hx-roll-host:hover .hx-roll__c,
a:focus-visible .hx-roll__c,
button:focus-visible .hx-roll__c { transform: translateY(-1.2em); }

/* ---------- buttons ---------- */
.hx-btn {
  --b-bg: transparent;
  --b-fg: var(--hx-text);
  --b-bd: var(--hx-line-2);
  --b-hover-bg: var(--hx-text);
  --b-hover-fg: var(--hx-bg);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--b-bd);
  background: var(--b-bg);
  color: var(--b-fg);
  font-family: var(--hx-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  transition: color .5s var(--hx-ease), border-color .5s var(--hx-ease), opacity .3s;
  -webkit-tap-highlight-color: transparent;
}
.hx-btn::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: var(--b-hover-bg);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .6s var(--hx-ease);
}
.hx-btn:hover:not(:disabled)::before,
.hx-btn:focus-visible::before { transform: translateY(0); }
.hx-btn:hover:not(:disabled),
.hx-btn:focus-visible { color: var(--b-hover-fg); border-color: var(--b-hover-bg); }
.hx-btn:disabled { opacity: .35; cursor: not-allowed; }
.hx-btn__label { display: inline-flex; }
.hx-btn__icon { width: 16px; height: 16px; flex-shrink: 0; transition: transform .6s var(--hx-ease); }
.hx-btn:hover:not(:disabled) .hx-btn__icon { transform: translateX(3px); }
.hx-btn:hover:not(:disabled) .hx-btn__icon--up { transform: translate(2px, -2px); }
.hx-btn--primary { --b-bg: var(--hx-red); --b-fg: var(--hx-on-red); --b-bd: var(--hx-red); }
.hx-btn--light { --b-bg: var(--hx-text); --b-fg: var(--hx-bg); --b-bd: var(--hx-text); --b-hover-bg: var(--hx-red); --b-hover-fg: var(--hx-on-red); }
.hx-btn--sm { height: 40px; padding: 0 18px; font-size: 13.5px; }
.hx-btn--block { width: 100%; }
.hx-btn .fa-fw { font-size: 13px; }

.hx-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hx-text);
  font-weight: 500;
  position: relative;
  padding-bottom: 3px;
}
.hx-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(1);
  transition: transform .7s var(--hx-ease);
}
.hx-link:hover::after { transform-origin: left; animation: hx-underline .9s var(--hx-ease); }
@keyframes hx-underline { 0% { transform: scaleX(1); transform-origin: right; } 45% { transform: scaleX(0); transform-origin: right; } 46% { transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }

[data-hx-magnet] { will-change: transform; }

/* ---------- grain (React Bits Noise) ---------- */
.hx-grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  animation: hx-grain 1s steps(1) infinite;
}
@keyframes hx-grain {
  0% { background-position: 0 0; }
  20% { background-position: -70px 40px; }
  40% { background-position: 50px -80px; }
  60% { background-position: -30px -50px; }
  80% { background-position: 80px 30px; }
  100% { background-position: 0 0; }
}

/* ---------- loader (first visit) + page curtain ---------- */
.hx-loader,
.hx-curtain { display: none; }

.hx-intro .hx-loader {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hx-loader__logo { width: clamp(96px, 11vw, 148px); height: auto; clip-path: inset(100% 0 0 0); }
.hx-loader__foot {
  position: absolute;
  left: var(--hx-pad); right: var(--hx-pad); bottom: clamp(20px, 4vh, 40px);
  display: flex; align-items: flex-end; justify-content: space-between;
}
.hx-loader__count {
  font-family: var(--hx-font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: .8;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.hx-loader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .06); }
.hx-loader__bar span { display: block; height: 100%; background: var(--hx-red); transform-origin: left; transform: scaleX(0); }

.hx-curtain {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 190;
  background: #000;
  align-items: center;
  justify-content: center;
  transform: translateY(100%);
  pointer-events: none;
}
.hx-curtain::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--hx-red); }
.hx-entering .hx-curtain { transform: translateY(0); }
.hx-curtain__logo { width: 56px; height: auto; opacity: .9; }

/* ---------- top: announcement + header ---------- */
.hx-top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  transition: transform .7s var(--hx-ease);
}
.hx-top.is-hidden { transform: translateY(-100%); }
.hx-top.is-menu-open { transform: none; }

.hx-bar {
  height: var(--hx-bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--hx-line);
  background: #000;
  overflow: hidden;
}
.hx-bar__msg { display: flex; align-items: center; gap: 10px; color: var(--hx-text); }
.hx-bar__msg .hx-label { color: var(--hx-text); }
.hx-bar__tick { width: 14px; height: 1px; background: var(--hx-red); }
.hx-bar a:hover .hx-label { color: var(--hx-red); }

.hx-header { position: relative; z-index: 2; }
.hx-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(var(--cl-background, 5, 5, 5), .76);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--hx-line);
  opacity: 0;
  transition: opacity .5s var(--hx-ease);
}
.hx-top.is-scrolled .hx-header::before,
.hx-top.is-menu-open .hx-header::before { opacity: 1; }
.hx-top.is-menu-open .hx-header::before { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

.hx-header__inner {
  position: relative;
  height: var(--hx-header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.hx-brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.hx-brand__logo { width: 38px; height: 38px; object-fit: contain; transition: transform .8s var(--hx-ease); }
.hx-brand:hover .hx-brand__logo { transform: rotate(-8deg) scale(1.06); }
.hx-brand__text { display: flex; flex-direction: column; gap: 3px; }
.hx-brand__name {
  font-family: var(--hx-font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 19px;
  line-height: .9;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.hx-brand__tag { font-family: var(--hx-font-mono); font-size: 9.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--hx-red); line-height: 1; }

.hx-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.hx-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--hx-dim);
  background: none;
  border: 0;
  padding: 6px 0;
  cursor: pointer;
  transition: color .4s var(--hx-ease);
}
.hx-nav__link:hover,
.hx-nav__link.is-active { color: var(--hx-text); }
.hx-nav__link.is-active::before { content: ''; width: 10px; height: 2px; background: var(--hx-red); }

.hx-header__actions { justify-self: end; display: flex; align-items: center; gap: clamp(14px, 1.8vw, 26px); }
.hx-cart { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--hx-text); }
.hx-cart__count { font-family: var(--hx-font-mono); font-size: 12px; color: var(--hx-dim); transition: color .3s; }
.hx-cart__count.has-items { color: var(--hx-red); }
.hx-cart.is-active { color: var(--hx-text); }

.hx-menu-btn {
  display: none;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 4px 0 16px;
  border-radius: 999px;
  border: 1px solid var(--hx-line-2);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}
.hx-menu-btn__text { position: relative; display: inline-block; height: 1.2em; line-height: 1.2; overflow: hidden; }
.hx-menu-btn__text span { display: block; transition: transform .6s var(--hx-ease); }
.hx-menu-btn[aria-expanded="true"] .hx-menu-btn__text span { transform: translateY(-100%); }
.hx-menu-btn__icon { position: relative; width: 32px; height: 32px; border-radius: 999px; background: var(--hx-text); }
.hx-menu-btn__icon::before,
.hx-menu-btn__icon::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.5px;
  background: var(--hx-bg);
  transition: transform .6s var(--hx-ease);
}
.hx-menu-btn__icon::before { transform: translate(-50%, -3px); }
.hx-menu-btn__icon::after { transform: translate(-50%, 2px); }
.hx-menu-btn[aria-expanded="true"] .hx-menu-btn__icon::before { transform: translate(-50%, -50%) rotate(45deg); }
.hx-menu-btn[aria-expanded="true"] .hx-menu-btn__icon::after { transform: translate(-50%, -50%) rotate(-45deg); }

@media (max-width: 1023px) {
  .hx-header__inner { grid-template-columns: 1fr auto; }
  .hx-nav,
  .hx-header__actions .hx-hide-mobile { display: none; }
  .hx-menu-btn { display: inline-flex; }
}

/* currency selector (Choices.js) in header */
.hx-currency .choices { margin: 0 !important; }
.hx-currency .choices__inner {
  min-height: 0 !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 6px 22px 6px 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-family: var(--hx-font-mono);
  font-size: 12px !important;
  letter-spacing: .06em;
  color: var(--hx-dim);
}
.hx-currency .choices[data-type*="select-one"]::after { border-color: var(--hx-dim) transparent transparent; right: 4px; margin-top: -3px; }
.hx-currency .choices.is-open { box-shadow: none !important; }
.hx-currency .choices__list--single { padding: 0 !important; }
.hx-currency .choices__list--dropdown,
.hx-currency .choices__list[aria-expanded] {
  min-width: 140px;
  right: -12px;
  left: auto;
  margin-top: 14px !important;
  border: 1px solid var(--hx-line-2) !important;
  border-radius: var(--hx-radius) !important;
  background: #0a0a0a !important;
}

/* ---------- staggered menu (React Bits StaggeredMenu) ---------- */
.hx-sm { position: fixed; inset: 0; z-index: 1; pointer-events: none; visibility: hidden; }
.hx-sm.is-open { pointer-events: auto; visibility: visible; }
.hx-sm__layer { position: absolute; inset: 0; transform: translateX(100%); }
.hx-sm__layer:nth-child(1) { background: var(--hx-red); }
.hx-sm__layer:nth-child(2) { background: #141414; }
.hx-sm__panel {
  position: absolute;
  inset: 0;
  background: #050505;
  transform: translateX(100%);
  display: flex;
  flex-direction: column;
  padding: calc(var(--hx-top-h) + 24px) var(--hx-pad) 28px;
  overflow-y: auto;
}
.hx-sm__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.hx-sm__item-wrap { overflow: hidden; }
.hx-sm__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--hx-font-display);
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 11vw, 4.4rem);
  line-height: .98;
  letter-spacing: -.03em;
  color: var(--hx-text);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transform-origin: 0 100%;
}
.hx-sm__item.is-active { color: var(--hx-red); }
.hx-sm__num { font-family: var(--hx-font-mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--hx-red); margin-top: .5em; }
.hx-sm__foot { margin-top: auto; padding-top: 40px; display: flex; flex-direction: column; gap: 18px; }
.hx-sm__row { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.hx-sm__row a, .hx-sm__row button { font-size: 15px; color: var(--hx-text); background: none; border: 0; padding: 0; cursor: pointer; }
.hx-no-motion .hx-sm.is-open .hx-sm__panel { transform: none; }

/* ---------- hero ---------- */
.hx-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  margin-top: calc(-1 * var(--hx-top-h));
  padding-top: var(--hx-top-h);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}
.hx-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hx-hero__rays { position: absolute; inset: 0; opacity: 0; }
.hx-hero__rays canvas { display: block; width: 100%; height: 100%; }
.hx-hero__rays.is-fallback { background: radial-gradient(55% 60% at 50% -12%, rgba(var(--cl-accent), .42), transparent 70%); }
.hx-no-motion .hx-hero__rays,
.hx-builder .hx-hero__rays { opacity: 1; }
.hx-hero__grid {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: min(100%, var(--hx-max));
  transform: translateX(-50%);
  padding-inline: var(--hx-pad);
}
.hx-hero__grid::before {
  content: '';
  position: absolute;
  inset: 0 var(--hx-pad);
  border-inline: 1px solid var(--hx-line);
  background-image: linear-gradient(to right, var(--hx-line) 1px, transparent 1px);
  background-size: 25% 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 10%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 10%, transparent 92%);
  opacity: .7;
}
.hx-hero__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(to top, var(--hx-bg), transparent); }

.hx-hero__inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(28px, 5vh, 56px);
  padding-top: clamp(20px, 4vh, 44px);
  padding-bottom: clamp(28px, 6vh, 64px);
}
.hx-hero__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.hx-hero__top .hx-label:last-child { text-align: right; }

.hx-hero__title { display: flex; flex-direction: column; align-self: center; width: max-content; max-width: 100%; margin: 0; font-weight: inherit; }
.hx-hero__word {
  display: block;
  text-align: center;
  white-space: nowrap;
  font-family: var(--hx-font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(6rem, 29vw, 34rem);
  line-height: .82;
  letter-spacing: -.045em;
  padding: .07em 0 .02em;
  overflow: hidden;
  text-transform: uppercase;
}
.hx-hero__sub {
  display: flex;
  justify-content: space-between;
  font-family: var(--hx-font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(1.1rem, 4.4vw, 5.6rem);
  line-height: 1;
  color: var(--hx-red);
  margin-top: .22em;
  padding-inline: .06em;
  text-transform: uppercase;
}
.hx-hero__sub span { display: inline-block; min-width: .6em; text-align: center; }

.hx-hero__bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 40px; }
.hx-hero__text { max-width: 36ch; margin: 0; font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.5; color: var(--hx-dim); }
.hx-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

.hx-hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hx-line); margin-top: 8px; }
.hx-hero__stat { padding: 18px 0 0; }
.hx-hero__stat + .hx-hero__stat { padding-left: 20px; border-left: 1px solid var(--hx-line); }
.hx-hero__stat strong {
  display: block;
  font-family: var(--hx-font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.hx-hero__scroll { position: absolute; left: 50%; bottom: clamp(26px, 5vh, 52px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hx-hero__scroll i { display: block; width: 1px; height: 46px; background: linear-gradient(var(--hx-text), transparent); transform-origin: top; animation: hx-scrollline 2.4s var(--hx-ease-io) infinite; }
@keyframes hx-scrollline { 0% { transform: scaleY(0); opacity: 1; } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 1100px) {
  .hx-hero__scroll { display: none; }
}
@media (max-width: 900px) {
  .hx-hero__bottom { grid-template-columns: 1fr; }
  .hx-hero__ctas { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .hx-hero__ctas .hx-btn { flex: 1 1 auto; }
  .hx-hero__top .hx-label:last-child { display: none; }
  .hx-hero__title { margin-top: auto; }
  .hx-hero__inner { gap: 36px; }
}

/* ---------- marquee (React Bits ScrollVelocity) ---------- */
.hx-marquee {
  position: relative;
  padding-block: clamp(26px, 4vw, 54px);
  border-block: 1px solid var(--hx-line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: clamp(4px, .8vw, 12px);
}
.hx-marquee__row { display: flex; width: max-content; will-change: transform; }
.hx-marquee__track { display: flex; align-items: center; flex-shrink: 0; }
.hx-marquee__item {
  font-family: var(--hx-font-display);
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 7.2vw, 7.8rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  white-space: nowrap;
  padding-inline: .22em;
}
.hx-marquee__row--outline .hx-marquee__item { color: transparent; -webkit-text-stroke: 1px rgba(var(--cl-t-primary, 240, 240, 240), .42); }
.hx-marquee__sep { font-family: var(--hx-font-display); font-stretch: 125%; font-weight: 400; font-size: clamp(2rem, 6vw, 6.6rem); line-height: 1; color: var(--hx-red); padding-inline: .1em; transform: translateY(-.04em); }

/* ---------- section heads ---------- */
.hx-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px 48px;
  margin-bottom: clamp(36px, 5vw, 72px);
}
.hx-head__title { display: flex; align-items: flex-start; gap: .25em; }
.hx-head__count { font-family: var(--hx-font-mono); font-size: clamp(12px, 1vw, 14px); letter-spacing: .02em; color: var(--hx-red); margin-top: .4em; font-stretch: normal; }
.hx-head__side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.hx-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hx-head--center .hx-kicker { justify-content: center; }
.hx-head--right { grid-template-columns: 1fr; text-align: right; justify-items: end; }
@media (max-width: 860px) {
  .hx-head { grid-template-columns: 1fr; }
  .hx-head__side { align-items: stretch; }
}

/* search */
.hx-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 360px);
  padding: 10px 0;
  border-bottom: 1px solid var(--hx-line-2);
  transition: border-color .4s;
}
.hx-search:focus-within { border-color: var(--hx-text); }
.hx-search svg { width: 18px; height: 18px; color: var(--hx-dim); flex-shrink: 0; }
.hx-search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--hx-text);
  font: inherit;
  font-size: 15px;
}
.hx-search input::placeholder { color: var(--hx-faint); }
.hx-search kbd {
  font-family: var(--hx-font-mono);
  font-size: 11px;
  color: var(--hx-dim);
  border: 1px solid var(--hx-line-2);
  border-radius: 4px;
  padding: 1px 6px;
}

/* ---------- product grid + cards (React Bits SpotlightCard) ---------- */
.hx-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}
.hx-grid--center { display: flex; flex-wrap: wrap; justify-content: center; }
.hx-grid--center > * { width: calc((100% - 2 * clamp(12px, 1.4vw, 20px)) / 3); }
@media (max-width: 1100px) {
  .hx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-grid--center > * { width: calc((100% - clamp(12px, 1.4vw, 20px)) / 2); }
}
@media (max-width: 640px) {
  .hx-grid { grid-template-columns: 1fr; }
  .hx-grid--center > * { width: 100%; }
}

.hx-card {
  --mx: 50%;
  --my: 50%;
  --spot: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--hx-surface);
  border: 1px solid var(--hx-line);
  border-radius: var(--hx-radius);
  color: var(--hx-text);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  text-align: left;
  transition: border-color .6s var(--hx-ease);
}
.hx-card:hover { border-color: var(--hx-line-2); }
.hx-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(255, 255, 255, .075), transparent 60%);
  opacity: var(--spot);
}
.hx-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(280px circle at var(--mx) var(--my), rgba(var(--cl-accent, 225, 10, 10), .95), transparent 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: var(--spot);
}
.hx-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #080808; border-bottom: 1px solid var(--hx-line); }
.hx-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 1.4s var(--hx-ease), filter .8s var(--hx-ease);
}
.hx-card:hover .hx-card__media img { transform: scale(1.06); }
.hx-card.is-soldout .hx-card__media img { filter: grayscale(1) brightness(.55); }
.hx-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(60% 70% at 50% 40%, rgba(var(--cl-accent, 225, 10, 10), .12), transparent 70%), #080808; }
.hx-card__placeholder img { position: static; width: 34%; height: auto; opacity: .55; filter: grayscale(.2); }
.hx-card__badges { position: absolute; top: 12px; left: 12px; z-index: 4; display: flex; flex-wrap: wrap; gap: 6px; }
.hx-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 3px;
  background: var(--hx-red);
  color: #fff;
  font-family: var(--hx-font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1;
}
.hx-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; gap: 12px; }
.hx-card__meta { display: flex; justify-content: space-between; gap: 12px; }
.hx-card__title {
  font-family: var(--hx-font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0;
  text-transform: uppercase;
}
.hx-card__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-top: 1px solid var(--hx-line); }
.hx-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-family: var(--hx-font-mono); font-size: 14px; color: var(--hx-text); }
.hx-card__price s { color: var(--hx-faint); font-size: 12px; }
.hx-card__price .hx-from { color: var(--hx-dim); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.hx-card__arrow {
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid var(--hx-line-2);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: background-color .6s var(--hx-ease), border-color .6s var(--hx-ease);
}
.hx-card__arrow svg { width: 15px; height: 15px; transition: transform .6s var(--hx-ease); }
.hx-card:hover .hx-card__arrow { background: var(--hx-red); border-color: var(--hx-red); color: #fff; }
.hx-card:hover .hx-card__arrow svg { transform: rotate(-45deg); }
.hx-stock--out { color: var(--hx-red); }

.hx-empty {
  padding: clamp(36px, 6vw, 72px) 24px;
  border: 1px dashed var(--hx-line-2);
  border-radius: var(--hx-radius);
  text-align: center;
  color: var(--hx-dim);
}

/* group modal + generic modal shell */
.hx-modal { position: fixed; inset: 0; z-index: 120; overflow-y: auto; }
.hx-modal__backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hx-modal__wrap { position: relative; min-height: 100%; display: flex; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 56px); }
.hx-modal__panel {
  position: relative;
  width: 100%;
  max-width: 1240px;
  background: #070707;
  border: 1px solid var(--hx-line-2);
  border-radius: var(--hx-radius);
  padding: clamp(20px, 3vw, 40px);
  text-align: left;
  color: var(--hx-text);
}
.hx-modal__panel--sm { max-width: 520px; }
.hx-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: clamp(20px, 3vw, 36px); }
.hx-modal__title { font-family: var(--hx-font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 3rem); line-height: .9; letter-spacing: -.03em; text-transform: uppercase; margin: 0; }
.hx-close {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  padding: 6px 0;
  cursor: pointer;
  color: var(--hx-dim);
  font-family: var(--hx-font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .3s;
}
.hx-close:hover { color: var(--hx-text); }
.hx-close svg { width: 18px; height: 18px; transition: transform .6s var(--hx-ease); }
.hx-close:hover svg { transform: rotate(90deg); }

/* ---------- content blocks ---------- */
.hx-block__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px) clamp(16px, 2vw, 32px); align-items: start; }
.hx-block__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--hx-top-h) + 32px); }
.hx-block__body { grid-column: 5 / -1; }
.hx-block__body > * + * { margin-top: clamp(22px, 2.6vw, 36px); }
.hx-block__media { grid-column: 5 / -1; margin: 0; }
.hx-block--media-left .hx-block__media { grid-column: 1 / span 6; grid-row: 2; }
.hx-block--media-left .hx-block__body { grid-column: 7 / -1; grid-row: 2; }
.hx-block--media-left .hx-block__head { grid-column: 1 / -1; position: static; }
.hx-block--stack .hx-block__head,
.hx-block--stack .hx-block__body,
.hx-block--stack .hx-block__media { grid-column: 1 / -1; position: static; }
.hx-block--stack .hx-block__body { max-width: 980px; }
.hx-block--stack.hx-align-center .hx-block__body { margin-inline: auto; text-align: center; }
.hx-block--stack.hx-align-center .hx-btns { justify-content: center; }
.hx-block--stack.hx-align-right .hx-block__body { margin-left: auto; text-align: right; }
.hx-block--stack.hx-align-right .hx-btns { justify-content: flex-end; }
.hx-title-center .hx-block__head { text-align: center; }
.hx-title-center .hx-block__head .hx-kicker { justify-content: center; }
.hx-title-right .hx-block__head { text-align: right; }
.hx-title-right .hx-block__head .hx-kicker { justify-content: flex-end; }
.hx-block__panel { background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: var(--hx-radius); padding: clamp(22px, 4vw, 56px); }

.hx-frame { position: relative; overflow: hidden; border-radius: var(--hx-radius); background: #080808; border: 1px solid var(--hx-line); }
.hx-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hx-frame--video { aspect-ratio: 16 / 9; }
.hx-frame--9x16 { aspect-ratio: 9 / 16; }
.hx-ratio-1x1 { aspect-ratio: 1 / 1; }
.hx-ratio-4x3 { aspect-ratio: 4 / 3; }
.hx-ratio-16x9 { aspect-ratio: 16 / 9; }
.hx-frame lite-youtube { width: 100%; height: 100%; max-width: none; }

.hx-btns { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 900px) {
  .hx-block__grid > * { grid-column: 1 / -1 !important; grid-row: auto !important; position: static !important; }
}

.hx-gallery { display: grid; gap: clamp(10px, 1.2vw, 18px); }
.hx-gallery--1 { grid-template-columns: 1fr; }
.hx-gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hx-gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hx-gallery--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .hx-gallery--3, .hx-gallery--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hx-gallery { grid-template-columns: 1fr; } }

/* ---------- reviews ---------- */
.hx-reviews__score { display: flex; align-items: flex-end; gap: 18px; }
.hx-reviews__score strong {
  font-family: var(--hx-font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: .8;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.hx-reviews__score div { display: flex; flex-direction: column; gap: 8px; padding-bottom: 4px; }
.hx-stars { display: inline-flex; gap: 3px; color: var(--hx-red); }
.hx-stars svg { width: 14px; height: 14px; }
.hx-stars .is-off { color: rgba(255, 255, 255, .16); }

.hx-loop { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hx-loop + .hx-loop { margin-top: clamp(10px, 1.2vw, 16px); }
.hx-loop__row { display: flex; width: max-content; will-change: transform; }
.hx-loop__track { display: flex; gap: clamp(10px, 1.2vw, 16px); padding-right: clamp(10px, 1.2vw, 16px); flex-shrink: 0; }
.hx-loop__track > * { width: clamp(280px, 28vw, 400px); flex-shrink: 0; }

.hx-review {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(20px, 2vw, 28px);
  background: var(--hx-surface);
  border: 1px solid var(--hx-line);
  border-radius: var(--hx-radius);
  text-align: left;
  cursor: pointer;
  transition: border-color .5s var(--hx-ease);
}
.hx-review:hover { border-color: var(--hx-line-2); }
.hx-review__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hx-review__msg { margin: 0; font-size: 16px; line-height: 1.55; color: var(--hx-text); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.hx-review.is-open .hx-review__msg { -webkit-line-clamp: unset; display: block; }
.hx-review__reply { border-left: 2px solid var(--hx-red); padding-left: 14px; display: flex; flex-direction: column; gap: 6px; }
.hx-review__reply p { margin: 0; font-size: 14px; color: var(--hx-dim); }
.hx-review__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--hx-line); }

.hx-reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
@media (max-width: 1000px) { .hx-reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hx-reviews__grid { grid-template-columns: 1fr; } }
.hx-reviews__more { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 56px); }
.hx-sort { display: flex; align-items: center; gap: 14px; min-width: min(100%, 320px); }
.hx-sort > div { flex: 1; }

/* ---------- FAQ ---------- */
.hx-faq { border-top: 1px solid var(--hx-line); }
.hx-faq__item { border-bottom: 1px solid var(--hx-line); }
.hx-faq__q {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  padding: clamp(20px, 2.4vw, 32px) 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--hx-text);
}
.hx-faq__q h3 {
  margin: 0;
  font-family: var(--hx-font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 2rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  transition: color .4s;
}
.hx-faq__q:hover h3 { color: #fff; }
.hx-faq__icon { position: relative; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--hx-line-2); transition: background-color .5s var(--hx-ease), border-color .5s var(--hx-ease); }
.hx-faq__icon::before,
.hx-faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .6s var(--hx-ease); }
.hx-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.hx-faq__item.is-open .hx-faq__icon { background: var(--hx-red); border-color: var(--hx-red); color: #fff; }
.hx-faq__item.is-open .hx-faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.hx-faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--hx-ease); }
.hx-faq__item.is-open .hx-faq__a { grid-template-rows: 1fr; }
.hx-faq__a > div { overflow: hidden; }
.hx-faq__a p { margin: 0; padding: 0 0 clamp(22px, 2.4vw, 32px) calc(clamp(14px, 2vw, 32px) + 2.4em); max-width: 70ch; color: var(--hx-dim); line-height: 1.7; }
@media (max-width: 640px) { .hx-faq__a p { padding-left: 0; } }

/* ---------- status ---------- */
.hx-status { border-top: 1px solid var(--hx-line); }
.hx-status__group { margin-top: clamp(36px, 4vw, 56px); }
.hx-status__group > .hx-label { display: block; margin-bottom: 14px; }
.hx-status__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  padding: clamp(18px, 2vw, 26px) 0;
  border-bottom: 1px solid var(--hx-line);
  transition: padding-left .6s var(--hx-ease);
}
.hx-status__row:hover { padding-left: 12px; }
.hx-status__name { font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 500; letter-spacing: -.015em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-status__state { display: inline-flex; align-items: center; gap: 10px; font-family: var(--hx-font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.hx-status__state i { width: 14px; height: 2px; background: currentColor; }
.hx-status__row svg { width: 16px; height: 16px; color: var(--hx-faint); transition: transform .6s var(--hx-ease), color .3s; }
.hx-status__row:hover svg { transform: translateX(4px); color: var(--hx-text); }

/* ---------- page head (inner pages) ---------- */
.hx-pagehead { padding: clamp(48px, 8vw, 120px) 0 clamp(28px, 4vw, 56px); }
.hx-pagehead__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.hx-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: clamp(16px, 2vw, 24px); }
.hx-crumbs a:hover { color: var(--hx-text); }
.hx-crumbs span[aria-hidden] { color: var(--hx-faint); }

/* ---------- product page ---------- */
.hx-product { padding-bottom: var(--hx-section); }
.hx-product__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(28px, 4vw, 56px); }
.hx-product__title { font-size: clamp(2.2rem, 6vw, 6.5rem); max-width: 16ch; overflow-wrap: anywhere; }
.hx-product__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "media aside" "info aside";
  grid-template-rows: auto 1fr;
  gap: 0 clamp(20px, 3vw, 48px);
}
.hx-product__media { grid-area: media; }
.hx-product__aside { grid-area: aside; }
.hx-product__info { grid-area: info; }
@media (max-width: 1000px) {
  .hx-product__grid { grid-template-columns: 1fr; grid-template-areas: "media" "aside" "info"; grid-template-rows: auto; row-gap: 20px; }
}
.hx-product__gallery { border: 1px solid var(--hx-line); border-radius: var(--hx-radius); background: #080808; overflow: hidden; aspect-ratio: 16 / 9; }
.hx-product__gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hx-product__gallery .splide__track { aspect-ratio: 16 / 9; }
.hx-product__info { margin-top: clamp(24px, 3vw, 40px); }
.hx-tabs { display: flex; flex-wrap: wrap; gap: 6px 26px; border-bottom: 1px solid var(--hx-line); margin-bottom: clamp(20px, 2.4vw, 32px); }
.hx-tab { position: relative; background: none; border: 0; padding: 0 0 14px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--hx-dim); transition: color .3s; }
.hx-tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--hx-red); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--hx-ease); }
.hx-tab:hover { color: var(--hx-text); }
.hx-tab.is-active { color: var(--hx-text); }
.hx-tab.is-active::after { transform: scaleX(1); }

.hx-buy { position: sticky; top: calc(var(--hx-top-h) + 24px); border: 1px solid var(--hx-line-2); border-radius: var(--hx-radius); background: var(--hx-surface); overflow: hidden; }
.hx-buy__head { padding: clamp(20px, 2.4vw, 32px); border-bottom: 1px solid var(--hx-line); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.hx-buy__price {
  font-family: var(--hx-font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: .9;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}
.hx-buy__badges { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px clamp(20px, 2.4vw, 32px); border-bottom: 1px solid var(--hx-line); }
.hx-buy__section { padding: clamp(18px, 2vw, 26px) clamp(20px, 2.4vw, 32px); border-bottom: 1px solid var(--hx-line); }
.hx-buy__section > .hx-label { display: block; margin-bottom: 12px; }
.hx-buy__actions { padding: clamp(18px, 2vw, 26px) clamp(20px, 2.4vw, 32px); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hx-buy__actions .hx-btn { width: 100%; }
.hx-buy__actions > :only-child { grid-column: 1 / -1; }
@media (max-width: 420px) { .hx-buy__actions { grid-template-columns: 1fr; } }
.hx-buy__live { padding: 16px clamp(20px, 2.4vw, 32px) 20px; border-top: 1px solid var(--hx-line); display: flex; flex-direction: column; gap: 8px; }
.hx-buy__live p { margin: 0; font-size: 13px; color: var(--hx-dim); }
.hx-buy__live strong { color: var(--hx-text); font-weight: 600; }

.hx-variants { display: flex; flex-direction: column; gap: 6px; }
.hx-variant {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--hx-line);
  border-radius: var(--hx-radius);
  background: transparent;
  color: var(--hx-text);
  text-align: left;
  cursor: pointer;
  transition: border-color .4s var(--hx-ease), background-color .4s var(--hx-ease);
}
.hx-variant:hover:not(:disabled) { border-color: var(--hx-line-2); background: var(--hx-fill); }
.hx-variant.is-active { border-color: var(--hx-red); background: var(--hx-red-soft); }
.hx-variant:disabled { opacity: .4; cursor: not-allowed; }
.hx-variant__name { font-weight: 500; font-size: 15px; }
.hx-variant__desc { margin: 4px 0 0; font-size: 12.5px; color: var(--hx-dim); }
.hx-variant__price { font-family: var(--hx-font-mono); font-size: 13.5px; white-space: nowrap; text-align: right; }
.hx-variant__price s { display: block; font-size: 11px; color: var(--hx-faint); }

.hx-qty { display: flex; align-items: stretch; height: 48px; border: 1px solid var(--hx-line-2); border-radius: var(--hx-radius); overflow: hidden; transition: border-color .3s; }
.hx-qty:focus-within { border-color: var(--hx-text); }
.hx-qty button { width: 48px; flex-shrink: 0; display: grid; place-items: center; background: transparent; border: 0; color: var(--hx-text); cursor: pointer; transition: background-color .3s; }
.hx-qty button:hover:not(:disabled) { background: var(--hx-fill); }
.hx-qty button:disabled { opacity: .3; cursor: not-allowed; }
.hx-qty button svg { width: 16px; height: 16px; }
.hx-qty input { flex: 1; min-width: 0; text-align: center; background: transparent; border: 0; border-inline: 1px solid var(--hx-line); color: var(--hx-text); font-family: var(--hx-font-mono); font-size: 15px; outline: none; }
.hx-qty--sm { height: 38px; }
.hx-qty--sm button { width: 36px; }

.hx-note { margin-top: 10px; padding: 10px 12px; border: 1px solid var(--hx-line); border-radius: var(--hx-radius); font-size: 13px; color: var(--hx-dim); text-align: center; }
.hx-error { margin-top: 8px; color: #ff5a5a; font-size: 13px; display: block; }
.hx-alert { padding: 14px 16px; border: 1px solid rgba(255, 90, 90, .5); background: rgba(255, 60, 60, .08); color: #ffb1b1; border-radius: var(--hx-radius); font-size: 14px; }

.hx-addon { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border: 1px solid var(--hx-line); border-radius: var(--hx-radius); }
.hx-addon + .hx-addon { margin-top: 6px; }
.hx-addon img { width: 40px; height: 40px; object-fit: cover; border-radius: 3px; }

.hx-select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: var(--hx-radius);
  border: 1px solid var(--hx-line-2);
  background: transparent;
  color: var(--hx-text);
  font: inherit;
}

.hx-toast { position: fixed; z-index: 70; left: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); right: clamp(12px, 2vw, 24px); max-width: 380px; }
.hx-toast__card { display: flex; align-items: center; gap: 14px; padding: 8px 16px 8px 8px; border: 1px solid var(--hx-line-2); border-radius: var(--hx-radius); background: rgba(8, 8, 8, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hx-toast__card img { width: 56px; height: 56px; object-fit: cover; border-radius: 3px; }
.hx-toast__card p { margin: 0; }

/* ---------- cart ---------- */
.hx-cart-page { padding-bottom: var(--hx-section); }
.hx-cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(20px, 3vw, 48px); align-items: start; }
@media (max-width: 1000px) { .hx-cart-grid { grid-template-columns: 1fr; } }
.hx-cart-list { border-top: 1px solid var(--hx-line); }
.hx-cart-item { display: grid; grid-template-columns: clamp(96px, 12vw, 168px) minmax(0, 1fr) auto; gap: clamp(14px, 2vw, 28px); align-items: center; padding: clamp(14px, 2vw, 22px) 0; border-bottom: 1px solid var(--hx-line); }
.hx-cart-item__img { aspect-ratio: 16 / 10; border-radius: 3px; overflow: hidden; background: #080808; border: 1px solid var(--hx-line); display: grid; place-items: center; }
.hx-cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.hx-cart-item__img .hx-ph { width: 40%; opacity: .5; }
.hx-cart-item__name { font-weight: 500; font-size: clamp(1rem, 1.4vw, 1.2rem); letter-spacing: -.015em; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-cart-item__name:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.hx-cart-item__side { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.hx-cart-item__price { font-family: var(--hx-font-mono); font-size: 14px; min-width: 76px; text-align: right; }
.hx-remove { background: none; border: 0; color: var(--hx-faint); cursor: pointer; padding: 6px; display: grid; place-items: center; transition: color .3s, transform .6s var(--hx-ease); }
.hx-remove:hover { color: var(--hx-red); transform: rotate(90deg); }
.hx-remove svg { width: 18px; height: 18px; }
.hx-chip { display: inline-block; padding: 3px 8px; border: 1px solid var(--hx-line); border-radius: 3px; font-size: 12px; color: var(--hx-dim); }
@media (max-width: 640px) {
  .hx-cart-item { grid-template-columns: 84px minmax(0, 1fr); }
  .hx-cart-item__side { grid-column: 1 / -1; justify-content: space-between; }
}
.hx-summary { position: sticky; top: calc(var(--hx-top-h) + 24px); border: 1px solid var(--hx-line-2); border-radius: var(--hx-radius); background: var(--hx-surface); padding: clamp(20px, 2.4vw, 32px); }
.hx-summary__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--hx-line); }
.hx-summary__total { font-family: var(--hx-font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.03em; line-height: .9; font-variant-numeric: tabular-nums; }
.hx-spinner { width: 28px; height: 28px; color: var(--hx-red); }

/* ---------- footer ---------- */
.hx-footer { position: relative; margin-top: auto; border-top: 1px solid var(--hx-line); overflow: hidden; }
.hx-footer__cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 48px; padding-block: clamp(64px, 9vw, 140px) clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--hx-line); }
.hx-footer__cta .hx-h2 { max-width: 13ch; }
@media (max-width: 800px) { .hx-footer__cta { grid-template-columns: 1fr; } }
.hx-footer__cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 36px clamp(16px, 2vw, 32px); padding-block: clamp(40px, 5vw, 72px); }
.hx-footer__brand { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 18px; }
.hx-footer__brand img { width: 64px; height: 64px; object-fit: contain; }
.hx-footer__brand p { margin: 0; max-width: 34ch; color: var(--hx-dim); }
.hx-footer__col { grid-column: span 2; display: flex; flex-direction: column; gap: 12px; }
.hx-footer__col:first-of-type { grid-column: 7 / span 2; }
.hx-footer__col .hx-label { margin-bottom: 6px; }
.hx-footer__col a { color: var(--hx-text); font-size: 15px; width: fit-content; transition: color .3s; }
.hx-footer__col a:hover { color: var(--hx-red); }
@media (max-width: 900px) {
  .hx-footer__brand { grid-column: 1 / -1; }
  .hx-footer__col, .hx-footer__col:first-of-type { grid-column: span 6; }
}
.hx-footer__mark { position: relative; padding-top: 8px; border-top: 1px solid var(--hx-line); }
.hx-footer__word {
  display: block;
  margin: 0;
  text-align: center;
  white-space: nowrap;
  font-family: var(--hx-font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(6rem, 29vw, 34rem);
  line-height: .78;
  letter-spacing: -.045em;
  text-transform: uppercase;
  padding-top: .04em;
  overflow: hidden;
  margin-bottom: -.06em;
}
.hx-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 20px 26px; border-top: 1px solid var(--hx-line); }
.hx-footer__base p { margin: 0; }
.hx-top-btn { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--hx-dim); }
.hx-top-btn:hover { color: var(--hx-text); }
.hx-top-btn svg { width: 14px; height: 14px; transition: transform .6s var(--hx-ease); }
.hx-top-btn:hover svg { transform: translateY(-3px); }
.hx-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.hx-social { width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--hx-line-2); display: grid; place-items: center; color: var(--hx-text); transition: background-color .5s var(--hx-ease), border-color .5s var(--hx-ease), color .3s; }
.hx-social:hover { background: var(--hx-text); border-color: var(--hx-text); color: var(--hx-bg); }
.hx-social svg { width: 17px; height: 17px; }

/* ---------- forms (login, tickets, dashboard) ---------- */
.hx-field { display: flex; flex-direction: column; gap: 8px; }
.hx-field + .hx-field { margin-top: 16px; }
.hx-input,
.hx-body .hx-modal input[type="email"],
.hx-body .hx-modal input[type="text"],
.hx-body .hx-modal input[type="password"],
.hx-body .hx-modal textarea {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  background: transparent;
  border: 1px solid var(--hx-line-2);
  border-radius: var(--hx-radius);
  color: var(--hx-text);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .3s;
}
.hx-body .hx-modal textarea { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; }
.hx-input:focus,
.hx-body .hx-modal input:focus,
.hx-body .hx-modal textarea:focus { border-color: var(--hx-text); box-shadow: none; }
.hx-otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.hx-body .hx-otp input { height: 58px; padding: 0; text-align: center; font-family: var(--hx-font-mono); font-size: 22px; }

/* ---------- prose (SellAuth editor HTML) ---------- */
.hx-body .editor { color: var(--hx-dim); font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.hx-body .editor > * + * { margin-top: 1em; }
.hx-body .editor .e-paragraph { font-size: 16px; line-height: 1.75; }
.hx-body .editor h1, .hx-body .editor h2, .hx-body .editor h3,
.hx-body .editor .e-heading-h1, .hx-body .editor .e-heading-h2, .hx-body .editor .e-heading-h3 {
  color: var(--hx-text);
  font-family: var(--hx-font-display);
  font-stretch: 112%;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin-top: 1.6em;
}
.hx-body .editor .e-heading-h1, .hx-body .editor h1 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.hx-body .editor .e-heading-h2, .hx-body .editor h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
.hx-body .editor .e-heading-h3, .hx-body .editor h3 { font-size: 1.15rem; }
.hx-body .editor strong, .hx-body .editor .e-text-bold { color: var(--hx-text); font-weight: 600; }
.hx-body .editor .e-link, .hx-body .editor a { color: var(--hx-text); text-decoration: underline; text-decoration-color: var(--hx-red); text-underline-offset: 4px; }
.hx-body .editor .e-link:hover, .hx-body .editor a:hover { color: var(--hx-red); }
.hx-body .editor .e-list-ul, .hx-body .editor .e-list-ol, .hx-body .editor ul, .hx-body .editor ol { margin-left: 1.1em; padding: 0; }
.hx-body .editor .e-list-ul, .hx-body .editor ul { list-style: none; }
.hx-body .editor .e-list-ul > li, .hx-body .editor ul > li { position: relative; padding-left: 1.2em; }
.hx-body .editor .e-list-ul > li::before, .hx-body .editor ul > li::before { content: ''; position: absolute; left: 0; top: .78em; width: 8px; height: 1.5px; background: var(--hx-red); }
.hx-body .editor .e-list-ul > li.e-nested-listitem::before { display: none; }
.hx-body .editor .e-listitem { margin: .45em 0; }
.hx-body .editor .e-quote, .hx-body .editor blockquote { border-left: 2px solid var(--hx-red); padding-left: 1.1em; color: var(--hx-text); font-size: 1.1em; }
.hx-body .editor .e-hr, .hx-body .editor hr { border: 0; border-top: 1px solid var(--hx-line-2); margin: 2em 0; }
.hx-body .editor .e-code, .hx-body .editor pre { background: #0a0a0a; border: 1px solid var(--hx-line); border-radius: var(--hx-radius); padding: 14px 16px; font-family: var(--hx-font-mono); font-size: 13.5px; color: var(--hx-text); overflow-x: auto; }
.hx-body .editor .e-text-code, .hx-body .editor code { font-family: var(--hx-font-mono); font-size: .9em; background: rgba(255, 255, 255, .06); padding: .1em .35em; border-radius: 3px; }
.hx-body .editor .e-image img { border-radius: var(--hx-radius); border: 1px solid var(--hx-line); }
.hx-body .editor .e-collapsible { background: transparent; border: 1px solid var(--hx-line); border-radius: var(--hx-radius); }
.hx-body .editor .e-collapsible-title { color: var(--hx-text); padding: 14px 16px 14px 34px; cursor: pointer; }
.hx-body .editor .e-collapsible-title::before { left: 16px; border-left-color: var(--hx-red); }
.hx-body .editor .e-collapsible-content { border-top-color: var(--hx-line); padding: 14px 16px; }
.hx-prose-wrap { max-width: 860px; }

/* ---------- Choices.js (variant, currency, sort selects) ---------- */
.hx-body .choices { margin-bottom: 0; font-size: 15px; }
.hx-body .choices__inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 40px 0 14px !important;
  background: transparent;
  border: 1px solid var(--hx-line-2);
  border-radius: var(--hx-radius) !important;
  color: var(--hx-text);
}
.hx-body .choices.is-open .choices__inner,
.hx-body .choices.is-focused .choices__inner { border-color: var(--hx-text); }
.hx-body .choices.is-open { box-shadow: none; }
.hx-body .choices__list--single { padding: 0; }
.hx-body .choices[data-type*="select-one"]::after { border-color: var(--hx-dim) transparent transparent; right: 16px; }
.hx-body .choices__list--dropdown,
.hx-body .choices__list[aria-expanded] {
  background: #0a0a0a;
  border: 1px solid var(--hx-line-2);
  border-radius: var(--hx-radius);
  margin-top: 6px;
  z-index: 30;
  overflow: hidden;
}
.hx-body .choices__list--dropdown .choices__item,
.hx-body .choices__list[aria-expanded] .choices__item { background: transparent; color: var(--hx-text); font-size: 14px; padding: 11px 14px; }
.hx-body .choices__list--dropdown .choices__item--selectable.is-highlighted,
.hx-body .choices__list[aria-expanded] .choices__item--selectable.is-highlighted { background: var(--hx-fill); color: #fff; }
.hx-body .choices__list--dropdown .choices__item--selectable.is-selected { color: var(--hx-red); }
.hx-body .choices[data-type*="select-one"] .choices__input { background: #0a0a0a; border-bottom: 1px solid var(--hx-line); color: var(--hx-text); padding: 12px 14px; }

/* ---------- Splide ---------- */
.hx-body .splide__arrow { width: 44px; height: 44px; border-radius: 999px; background: rgba(0, 0, 0, .55); border: 1px solid var(--hx-line-2); opacity: 1; transition: background-color .4s; }
.hx-body .splide__arrow:hover:not(:disabled) { background: var(--hx-red); border-color: var(--hx-red); }
.hx-body .splide__arrow svg { fill: #fff; width: 14px; height: 14px; }
.hx-body .splide__arrow--prev { left: 14px; }
.hx-body .splide__arrow--next { right: 14px; }

/* ---------- altcha ---------- */
.hx-body altcha-widget { --altcha-color-base: transparent; --altcha-color-border: var(--hx-line-2); --altcha-border-radius: var(--hx-radius); --altcha-color-text: var(--hx-text); --altcha-max-width: 100%; display: block; margin-top: 12px; }

/* ---------- customer dashboard / legacy utility harmonising ---------- */
[class*="hx-main--customer-"],
.hx-main--maintenance { padding-bottom: var(--hx-section); }
[class*="hx-main--customer-"] > .container,
.hx-main--maintenance > div { max-width: var(--hx-max); margin-inline: auto; padding-inline: var(--hx-pad); }
[class*="hx-main--customer-"] .container .px-4 { padding-inline: 0; }
[class*="hx-main--customer-"] > .container > div:first-child { padding-top: clamp(32px, 5vw, 72px); }
.hx-body .bg-card { background-color: var(--hx-surface); }
.hx-body .rounded-lg,
.hx-body .rounded-md,
.hx-body .rounded-xl,
.hx-body .rounded-2xl { border-radius: var(--hx-radius); }
.hx-body .border-white\/5 { border-color: var(--hx-line); }
.hx-body table { width: 100%; border-collapse: collapse; }
.hx-body table th { font-family: var(--hx-font-mono); font-weight: 500; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--hx-dim); text-align: left; }
.hx-body table td, .hx-body table th { border-bottom: 1px solid var(--hx-line); }
.hx-body [class*="hx-main--customer-"] h3.text-base { font-family: var(--hx-font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--hx-dim); }
.hx-body [class*="hx-main--customer-"] p.text-2xl { font-family: var(--hx-font-display); font-stretch: 112%; font-weight: 700; letter-spacing: -.02em; }
.hx-body .bg-accent-500.border-accent-500 { transition: background-color .4s var(--hx-ease), color .4s; }
.hx-body button.bg-accent-500:hover:enabled,
.hx-body a.bg-accent-500:hover { background-color: var(--hx-text); color: var(--hx-bg); border-color: var(--hx-text); }
.hx-body input[type=number]::-webkit-outer-spin-button,
.hx-body input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hx-body input[type=number] { -moz-appearance: textfield; }

/* legacy modals (tickets, maintenance) + legacy inputs */
.hx-body [role="dialog"].fixed .bg-black\/75 { background: rgba(0, 0, 0, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hx-body [role="dialog"].fixed .bg-background { background: #070707; border-color: var(--hx-line-2); padding: clamp(20px, 3vw, 36px); }
.hx-body [role="dialog"].fixed h3.text-xl { font-family: var(--hx-font-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; font-size: 1.6rem; }
.hx-body input.bg-white\/5,
.hx-body textarea.bg-white\/5,
.hx-body select.bg-white\/5 { background: transparent; border: 1px solid var(--hx-line-2); min-height: 48px; }
.hx-body input.bg-white\/5:focus,
.hx-body textarea.bg-white\/5:focus { border-color: var(--hx-text); box-shadow: none; }
.hx-body nav[aria-label="Pagination Navigation"] { margin-top: clamp(28px, 4vw, 48px); }
.hx-body nav[aria-label="Pagination Navigation"] a:hover { background: var(--hx-fill); color: var(--hx-text); }
.hx-tpl-maintenance .hx-main { padding-top: 0; }

.hx-side { border: 1px solid var(--hx-line); border-radius: var(--hx-radius); background: var(--hx-surface); }
.hx-side__head { padding: 22px 22px 18px; border-bottom: 1px solid var(--hx-line); }
.hx-side__head h3 { margin: 0 0 6px; font-family: var(--hx-font-display); font-stretch: 112%; font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; font-size: 1.15rem; }
.hx-side__nav { list-style: none; margin: 0; padding: 10px; display: flex; flex-direction: column; }
.hx-side__nav a, .hx-side__nav button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 11px 12px; border-radius: 3px; color: var(--hx-dim); font-size: 14.5px; background: none; border: 0; text-align: left; cursor: pointer; transition: color .3s, background-color .3s; }
.hx-side__nav a:hover, .hx-side__nav button:hover { color: var(--hx-text); background: var(--hx-fill); }
.hx-side__nav a.is-active { color: var(--hx-text); background: var(--hx-fill); box-shadow: inset 2px 0 0 var(--hx-red); }

/* ---------- motion initial states (only while JS is running) ---------- */
.hx-js:not(.hx-no-motion) [data-hx-split],
.hx-js:not(.hx-no-motion) [data-hx-hero-word],
.hx-js:not(.hx-no-motion) [data-hx-hero-sub],
.hx-js:not(.hx-no-motion) [data-hx-fade],
.hx-js:not(.hx-no-motion) [data-hx-reveal],
.hx-js:not(.hx-no-motion) [data-hx-card],
.hx-js:not(.hx-no-motion) [data-hx-footer-word] { visibility: hidden; }
.hx-js:not(.hx-no-motion) [data-hx-clip] { clip-path: inset(100% 0 0 0); }
.hx-js:not(.hx-no-motion) .hx-top[data-hx-intro] { visibility: hidden; }
.hx-builder [data-hx-split],
.hx-builder [data-hx-hero-word],
.hx-builder [data-hx-hero-sub],
.hx-builder [data-hx-fade],
.hx-builder [data-hx-reveal],
.hx-builder [data-hx-card],
.hx-builder [data-hx-footer-word],
.hx-builder .hx-top[data-hx-intro] { visibility: visible !important; }
.hx-builder [data-hx-clip] { clip-path: none !important; }

@media (prefers-reduced-motion: reduce) {
  .hx-grain { animation: none; }
  .hx-shine.is-shining { animation: none; }
  .hx-hero__scroll i { animation: none; }
  .hx-faq__a, .hx-btn::before, .hx-roll__c { transition: none; }
}

/* ---------- builder ---------- */
.hx-builder .hx-top { position: sticky; }
.hx-builder .hx-hero { margin-top: 0; padding-top: 0; min-height: 88vh; }
.hx-builder .hx-main { padding-top: 0; }
.builder .component { position: relative; }
.builder .component .builder-toolbar { display: none; z-index: 95; }
.builder .component:hover > .builder-toolbar { display: block; }

/* ---------- misc ---------- */
.hx-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[x-cloak] { display: none !important; }
.grecaptcha-badge { visibility: hidden; }
#snow { position: fixed; inset: 0; z-index: 85; pointer-events: none; overflow: hidden; }
#snow .snowflake { position: absolute; width: 10px; height: 10px; margin-top: -10px; border-radius: 999px; background: rgba(var(--cl-snow, 255, 255, 255), 1); }
.hx-bgimage { position: fixed; inset: 0; z-index: -1; background-size: cover; background-position: center; pointer-events: none; opacity: .35; }
