/* =========================================================
   HsfMC Tebex Redesign
   UI-only overrides: preserves Tebex functional class hooks.
   ========================================================= */

:root {
  --hsf-bg: #06080d;
  --hsf-bg-2: #090c14;
  --hsf-panel: rgba(13, 17, 28, .84);
  --hsf-panel-solid: #0d111c;
  --hsf-panel-2: #111726;
  --hsf-border: rgba(255,255,255,.09);
  --hsf-border-strong: rgba(255,255,255,.16);
  --hsf-text: #f5f7fb;
  --hsf-muted: #8f99ab;
  --hsf-faint: #596276;
  --hsf-cyan: #56e7ff;
  --hsf-cyan-2: #22c7f2;
  --hsf-violet: #8b72ff;
  --hsf-green: #64f0a8;
  --hsf-red: #ff6978;
  --hsf-shadow: 0 30px 80px rgba(0,0,0,.42);
  --hsf-radius: 18px;
  --hsf-radius-sm: 12px;
  --pointer-x: 50vw;
  --pointer-y: 20vh;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--hsf-bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--hsf-text);
  background: var(--hsf-bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(520px circle at var(--pointer-x) var(--pointer-y), rgba(86,231,255,.07), transparent 60%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: #041014;
  background: var(--hsf-cyan);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #070910;
}

::-webkit-scrollbar-thumb {
  background: #252d3d;
  border: 2px solid #070910;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3a465c;
}

/* ===== Background ===== */

.hsf-bg {
  position: fixed;
  z-index: -3;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,7,12,.72), rgba(6,8,13,.94)),
    var(--bg-image, none),
    var(--hsf-bg);
  background-size: cover;
  background-position: center;
}

.hsf-bg-grid {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.75) 42%, transparent 92%);
}

.hsf-orb {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(90px);
  opacity: .14;
}

.hsf-orb-one {
  top: -180px;
  right: -80px;
  background: var(--hsf-cyan);
}

.hsf-orb-two {
  top: 42vh;
  left: -320px;
  background: var(--hsf-violet);
}

.hsf-noise {
  position: absolute;
  inset: 0;
  opacity: .018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.hsf-site {
  position: relative;
  min-height: 100vh;
}

/* ===== Shared typography ===== */

h1, h2, h3, h4, h5, h6,
.site-title,
.product-title,
.widget-title {
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: -.035em;
}

.text-content {
  color: #bdc5d4;
  line-height: 1.72;
}

.text-content h1,
.text-content h2,
.text-content h3,
.text-content h4,
.text-content strong {
  color: var(--hsf-text);
}

.text-content a {
  color: var(--hsf-cyan);
}

.hsf-page-kicker,
.hsf-section-label,
.hsf-widget-head,
.hsf-eyebrow {
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* ===== Buttons ===== */

.btn-primary,
.btn-secondary,
.btn-tertiary {
  border-radius: 10px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.btn-primary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #041014 !important;
  border: 1px solid rgba(124,240,255,.72);
  background:
    linear-gradient(135deg, #85f1ff 0%, #53ddf5 48%, #6fbcff 100%);
  box-shadow: 0 12px 30px rgba(48,202,238,.18);
  font-weight: 800;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(48,202,238,.28);
}

.btn-secondary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hsf-text);
  border: 1px solid var(--hsf-border-strong);
  background: rgba(255,255,255,.045);
  font-weight: 700;
}

.btn-secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(86,231,255,.38);
  background: rgba(86,231,255,.07);
}

.btn-tertiary {
  color: #cbd3e1;
  border: 1px solid var(--hsf-border);
  background: rgba(255,255,255,.025);
}

.btn-tertiary:hover {
  border-color: var(--hsf-border-strong);
  background: rgba(255,255,255,.055);
}

/* ===== Header ===== */

.hsf-header {
  position: sticky;
  z-index: 100;
  top: 0;
  padding: 18px 24px 0;
  background: linear-gradient(to bottom, rgba(6,8,13,.88), rgba(6,8,13,0));
  transition: padding .22s ease, background .22s ease;
}

.hsf-header.is-scrolled {
  padding-top: 10px;
  background: rgba(6,8,13,.88);
  backdrop-filter: blur(18px);
}

.hsf-header-shell {
  width: min(1420px, 100%);
  margin: auto;
}

.hsf-header-main {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 11px 13px 11px 16px;
  border: 1px solid var(--hsf-border);
  border-radius: 16px;
  background: rgba(10,13,21,.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 36px rgba(0,0,0,.2);
}

.hsf-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.hsf-brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 8px 22px rgba(86,231,255,.16));
}

.hsf-brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(86,231,255,.36);
  border-radius: 11px;
  color: #061018;
  background: linear-gradient(135deg, var(--hsf-cyan), #8db4ff);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.42);
}

.hsf-brand-copy {
  display: grid;
  line-height: 1;
}

.hsf-brand-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  letter-spacing: -.055em;
}

.hsf-brand-copy small {
  margin-top: 6px;
  color: #6e7b90;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .22em;
}

.hsf-header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
}

.hsf-ip-chip {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  color: var(--hsf-text);
  border: 1px solid var(--hsf-border);
  border-radius: 11px;
  background: rgba(255,255,255,.025);
  cursor: pointer;
}

.hsf-ip-chip:hover {
  border-color: rgba(86,231,255,.34);
  background: rgba(86,231,255,.045);
}

.hsf-live-dot,
.hsf-offline-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--hsf-green);
  box-shadow: 0 0 0 4px rgba(100,240,168,.08), 0 0 16px rgba(100,240,168,.7);
}

.hsf-offline-dot {
  background: var(--hsf-red);
  box-shadow: 0 0 0 4px rgba(255,105,120,.08), 0 0 16px rgba(255,105,120,.5);
}

.hsf-ip-text {
  display: grid;
  text-align: left;
  line-height: 1;
}

.hsf-ip-text small {
  color: #677286;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .14em;
}

.hsf-ip-text strong {
  margin-top: 5px;
  font-size: 11px;
  letter-spacing: -.01em;
}

.hsf-copy-icon {
  color: #607087;
  font-size: 13px;
}

.hsf-icon-action {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hsf-border);
  border-radius: 11px;
  color: #aeb9ca;
  background: rgba(255,255,255,.025);
}

.hsf-icon-action:hover {
  color: var(--hsf-cyan);
  border-color: rgba(86,231,255,.32);
}

.hsf-account-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hsf-login-button {
  min-height: 48px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.hsf-cart-button {
  min-width: 92px;
  min-height: 48px;
  padding: 0 16px;
}

.hsf-cart-button b {
  font-size: 18px;
}

.hsf-user-pill {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid var(--hsf-border);
  border-radius: 11px;
  color: #d7deea;
  background: rgba(255,255,255,.025);
  font-size: 12px;
  font-weight: 700;
}

.hsf-user-pill a {
  color: #6e798d;
  font-size: 17px;
}

.hsf-user-avatar {
  color: var(--hsf-cyan);
}

.hsf-sale-banner {
  width: min(1100px, calc(100% - 32px));
  margin: 8px auto 0;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(139,114,255,.2);
  border-radius: 10px;
  color: #cfd4ff;
  background: rgba(139,114,255,.08);
  font-size: 12px;
}

.hsf-sale-banner span {
  color: #9d8cff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
}

.hsf-sale-banner p {
  margin: 0;
}

.hsf-mobile-menu {
  display: none;
  width: 42px;
  height: 42px;
  padding: 11px;
}

.hsf-mobile-menu span {
  width: 100%;
  height: 2px;
  display: block;
  margin: 4px 0;
  background: currentColor;
}

/* ===== Navigation ===== */

.hsf-navigation {
  min-width: 0;
  margin-left: 12px;
  border: 0;
  background: transparent;
}

.hsf-nav-inner {
  min-width: 0;
}

.hsf-nav-list {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hsf-nav-list > li {
  position: relative;
}

.hsf-nav-list > li > a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 9px;
  color: #8792a6;
  font-size: 12px;
  font-weight: 700;
  transition: color .18s ease, background .18s ease;
}

.hsf-nav-list > li > a:hover,
.hsf-nav-list > li.active > a,
.hsf-nav-list > li > a.link-active {
  color: #f3f8ff;
  background: rgba(255,255,255,.05);
}

.hsf-nav-list > li.active > a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--hsf-cyan);
  box-shadow: 0 0 10px rgba(86,231,255,.65);
}

.hsf-nav-list .toggle {
  width: 24px;
  height: 24px;
  padding: 0;
  margin-left: -9px;
  border: 0;
}

.hsf-nav-list .submenu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 10px);
  left: 0;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--hsf-border);
  border-radius: 12px;
  background: #0d121d;
  box-shadow: var(--hsf-shadow);
}

.hsf-nav-list .submenu a {
  display: block;
  padding: 10px 11px;
  border-radius: 8px;
  color: #a7b2c3;
  font-size: 12px;
}

.hsf-nav-list .submenu a:hover {
  color: white;
  background: rgba(255,255,255,.05);
}

.hsf-nav-mobile-head {
  display: none;
}

/* ===== Site layout ===== */

.site-content {
  width: min(1320px, calc(100% - 48px));
  margin: 54px auto 90px;
}

.site-content-widgets {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

.is-sidebar-right .site-content-widgets {
  grid-template-columns: minmax(0, 1fr) 330px;
}

.is-sidebar-right .site-content-widgets > .store-sidebar {
  order: 2;
}

.hsf-content-panel {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--hsf-border);
  border-radius: var(--hsf-radius);
  background: linear-gradient(180deg, rgba(17,22,35,.78), rgba(11,15,24,.84));
  box-shadow: 0 24px 70px rgba(0,0,0,.2);
}

.hsf-panel-heading {
  margin-bottom: 28px;
}

.hsf-panel-heading span {
  color: var(--hsf-cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}

.hsf-panel-heading h2 {
  margin: 7px 0 0;
  font-size: clamp(26px, 4vw, 44px);
}

/* ===== Home ===== */

.hsf-home {
  width: min(1420px, calc(100% - 48px));
  margin: 0 auto;
}

.hsf-hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(400px, .98fr);
  gap: 56px;
  align-items: center;
  padding: 72px 48px 50px;
}

.hsf-hero-content {
  max-width: 760px;
}

.hsf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #8390a5;
}

.hsf-hero h1 {
  max-width: 820px;
  margin: 20px 0 24px;
  font-size: clamp(56px, 7.2vw, 104px);
  line-height: .88;
  letter-spacing: -.075em;
}

.hsf-hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, #fff 0%, #87ecff 52%, #a695ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hsf-hero p {
  max-width: 620px;
  margin: 0;
  color: #8f9bad;
  font-size: 16px;
  line-height: 1.75;
}

.hsf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hsf-primary-cta {
  min-width: 190px;
  min-height: 54px;
  padding: 0 20px;
}

.hsf-secondary-cta {
  min-width: 260px;
  min-height: 54px;
  gap: 11px;
  padding: 0 15px;
  font-family: "Space Grotesk", monospace;
  font-size: 12px;
}

.hsf-secondary-cta b {
  margin-left: auto;
  padding: 4px 7px;
  border-radius: 6px;
  color: #6a778b;
  background: rgba(255,255,255,.05);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hsf-terminal-prefix {
  color: var(--hsf-cyan);
}

.hsf-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 26px;
  color: #5f6b7e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hsf-hero-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}

.hsf-core-card {
  position: relative;
  z-index: 4;
  width: min(340px, 76vw);
  aspect-ratio: .92;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(86,231,255,.12), transparent 42%),
    linear-gradient(325deg, rgba(139,114,255,.12), transparent 48%),
    rgba(14,19,31,.84);
  backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.1),
    0 50px 120px rgba(0,0,0,.48),
    0 0 90px rgba(86,231,255,.07);
  transform: rotate(4deg);
}

.hsf-core-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to top, #000, transparent 86%);
}

.hsf-core-card::after {
  content: "H";
  position: absolute;
  top: 26px;
  right: 28px;
  color: rgba(255,255,255,.04);
  font-family: "Space Grotesk", sans-serif;
  font-size: 170px;
  font-weight: 900;
  line-height: .8;
}

.hsf-core-card > * {
  position: relative;
  z-index: 2;
}

.hsf-core-kicker {
  color: var(--hsf-cyan);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .24em;
}

.hsf-core-card strong {
  margin-top: 5px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 42px;
  letter-spacing: -.065em;
}

.hsf-core-card small {
  margin-top: 4px;
  color: #626f83;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
}

.hsf-core-line {
  height: 1px;
  margin: 22px 0 16px;
  background: linear-gradient(90deg, rgba(86,231,255,.75), rgba(255,255,255,.08));
}

.hsf-core-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a6b1c2;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.hsf-core-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hsf-green);
  box-shadow: 0 0 12px var(--hsf-green);
}

.hsf-core-ring {
  position: absolute;
  border: 1px solid rgba(86,231,255,.13);
  border-radius: 50%;
}

.hsf-ring-a {
  width: 430px;
  height: 430px;
  animation: hsf-spin 22s linear infinite;
}

.hsf-ring-b {
  width: 520px;
  height: 520px;
  border-style: dashed;
  border-color: rgba(139,114,255,.11);
  animation: hsf-spin 34s linear reverse infinite;
}

.hsf-core-ring::before,
.hsf-core-ring::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hsf-cyan);
  box-shadow: 0 0 20px rgba(86,231,255,.8);
}

.hsf-core-ring::before {
  top: 9%;
  left: 24%;
}

.hsf-core-ring::after {
  right: 11%;
  bottom: 20%;
  background: var(--hsf-violet);
}

.hsf-float-code {
  position: absolute;
  z-index: 5;
  padding: 8px 10px;
  border: 1px solid var(--hsf-border);
  border-radius: 8px;
  color: #708096;
  background: rgba(9,13,21,.78);
  backdrop-filter: blur(8px);
  font-family: monospace;
  font-size: 10px;
}

.hsf-code-a { top: 17%; left: 4%; }
.hsf-code-b { top: 28%; right: 3%; color: var(--hsf-cyan); }
.hsf-code-c { bottom: 12%; left: 13%; color: #a697ff; }

@keyframes hsf-spin {
  to { transform: rotate(360deg); }
}

.hsf-category-strip {
  padding: 0 48px 28px;
}

.hsf-section-label {
  margin-bottom: 14px;
  color: #5d697b;
}

.hsf-category-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.hsf-category-links a {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--hsf-border);
  border-radius: 14px;
  background: rgba(12,16,26,.68);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.hsf-category-links a:hover {
  transform: translateY(-3px);
  border-color: rgba(86,231,255,.28);
  background: rgba(15,21,33,.9);
}

.hsf-category-links a > span {
  color: #4e596b;
  font-family: monospace;
  font-size: 10px;
}

.hsf-category-links strong {
  overflow: hidden;
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hsf-category-links b {
  color: #627086;
  font-size: 14px;
}

.hsf-home-content {
  width: calc(100% - 96px);
  margin-top: 30px;
}

/* ===== Page headers ===== */

.hsf-page-hero {
  min-height: 230px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid var(--hsf-border);
  border-radius: var(--hsf-radius);
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(86,231,255,.09), transparent 38%),
    linear-gradient(320deg, rgba(139,114,255,.07), transparent 45%),
    rgba(12,16,26,.78);
  position: relative;
}

.hsf-page-hero::after {
  content: "HSF";
  position: absolute;
  right: -18px;
  top: -25px;
  color: rgba(255,255,255,.025);
  font-family: "Space Grotesk", sans-serif;
  font-size: 170px;
  font-weight: 900;
  letter-spacing: -.1em;
}

.hsf-page-hero > * {
  position: relative;
  z-index: 2;
}

.hsf-page-kicker {
  color: var(--hsf-cyan);
}

.hsf-page-hero h1,
.hsf-static-page > h1 {
  margin: 8px 0 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .96;
}

.hsf-page-hero .category-description {
  max-width: 680px;
  margin-top: 17px;
}

.hsf-package-counter {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--hsf-border);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
}

.hsf-package-counter strong {
  color: var(--hsf-cyan);
  font-family: "Space Grotesk", sans-serif;
  font-size: 34px;
  line-height: 1;
}

.hsf-package-counter span {
  color: #6d798c;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .12em;
}

/* ===== Products ===== */

.hsf-products-grid,
.store-products-grid.hsf-products-grid,
.store-products-list.hsf-products-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hsf-product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hsf-border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(17,22,35,.88), rgba(10,14,23,.92));
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.hsf-product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(86,231,255,.26);
  box-shadow: 0 24px 62px rgba(0,0,0,.32);
}

.hsf-card-index {
  position: absolute;
  z-index: 6;
  top: 13px;
  left: 13px;
  padding: 5px 7px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 7px;
  color: #748096;
  background: rgba(7,10,16,.76);
  backdrop-filter: blur(7px);
  font-family: monospace;
  font-size: 8px;
}

.hsf-product-image {
  position: relative;
  height: 220px;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(86,231,255,.12), transparent 48%),
    #0a0e17;
}

.hsf-product-image .image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 20px;
  transition: transform .35s ease, filter .35s ease;
}

.hsf-product-card:hover .hsf-product-image .image {
  transform: scale(1.035);
  filter: drop-shadow(0 18px 32px rgba(86,231,255,.13));
}

.hsf-product-image .image-default {
  display: grid;
  place-items: center;
  color: rgba(86,231,255,.16);
  font-family: "Space Grotesk", sans-serif;
  font-size: 96px;
  font-weight: 900;
}

.hsf-product-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, #000, transparent);
}

.hsf-image-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 25%;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--hsf-cyan), transparent);
  box-shadow: 0 0 12px rgba(86,231,255,.5);
  transition: opacity .2s ease;
}

.hsf-product-card:hover .hsf-image-scan {
  opacity: .45;
  animation: hsf-scan 1.6s ease infinite;
}

@keyframes hsf-scan {
  0% { top: 17%; }
  100% { top: 83%; }
}

.hsf-product-content {
  padding: 18px;
  border-top: 1px solid var(--hsf-border);
}

.hsf-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hsf-product-meta span,
.hsf-product-meta a {
  color: #5f6d81;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
}

.hsf-product-meta a:hover {
  color: var(--hsf-cyan);
}

.hsf-product-card .product-title {
  margin: 10px 0 18px;
  font-size: 24px;
  line-height: 1.02;
}

.hsf-countdown {
  display: inline-flex;
  margin: -8px 0 14px;
  padding: 5px 7px;
  border: 1px solid rgba(139,114,255,.24);
  border-radius: 6px;
  color: #ad9fff;
  background: rgba(139,114,255,.08);
  font-family: monospace;
  font-size: 9px;
}

/* ===== Product actions ===== */

.hsf-product-actions {
  display: grid;
  gap: 11px;
}

.hsf-price-block {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.hsf-price-block > span {
  padding-bottom: 4px;
  color: #566174;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .15em;
}

.hsf-price-block .price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.hsf-price-value {
  color: #f6fbff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 23px;
  letter-spacing: -.045em;
}

.hsf-currency {
  color: #68758a;
  font-size: 9px;
  font-weight: 800;
}

.hsf-product-actions .discount {
  margin-right: 5px;
  color: #667185;
  font-size: 11px;
}

.hsf-buy-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hsf-buy-buttons .wide {
  flex: 1 1 100%;
}

.hsf-buy-buttons .half {
  flex: 1 1 calc(50% - 4px);
}

.hsf-buy-buttons .btn-primary,
.hsf-buy-buttons .btn-secondary {
  min-height: 44px;
}

.hsf-gift-button {
  min-height: 36px;
  justify-self: start;
  padding: 0 12px;
  color: #7d899b;
  font-size: 10px;
}

.hsf-quantity {
  min-height: 44px;
  display: grid;
  grid-template-columns: 38px 1fr 42px 38px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--hsf-border);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
}

.hsf-quantity > * {
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.hsf-quantity .open-basket {
  color: #b8c3d3;
  font-size: 11px;
  font-weight: 700;
}

.hsf-quantity input {
  width: 100%;
  color: white;
  text-align: center;
}

/* ===== Sidebar / widgets ===== */

.hsf-sidebar {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.hsf-sidebar-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 2px;
  color: #535f72;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .15em;
}

.hsf-sidebar-label i {
  height: 1px;
  flex: 1;
  background: var(--hsf-border);
}

.hsf-widget {
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--hsf-border);
  border-radius: 15px;
  background: rgba(12,16,26,.76);
  box-shadow: 0 16px 42px rgba(0,0,0,.12);
}

.hsf-widget-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #59667a;
}

.hsf-widget-head i:not(.hsf-live-dot):not(.hsf-offline-dot) {
  height: 1px;
  flex: 1;
  background: var(--hsf-border);
}

.hsf-widget .widget-title {
  margin: 12px 0 13px;
  font-size: 18px;
}

.hsf-widget .widget-content {
  color: #8995a7;
  font-size: 12px;
  line-height: 1.55;
}

.hsf-status {
  float: right;
  margin-top: 3px;
  color: var(--hsf-green);
  font-family: Inter, sans-serif;
  font-size: 8px;
  letter-spacing: .13em;
}

.hsf-status.offline {
  color: var(--hsf-red);
}

.hsf-server-ip {
  width: 100%;
  min-height: 46px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid var(--hsf-border);
  border-radius: 9px;
  color: #d8e1ed;
  background: #090d15;
  cursor: pointer;
  font-family: monospace;
  font-size: 10px;
  text-align: left;
}

.hsf-server-ip > span {
  color: var(--hsf-cyan);
}

.hsf-server-ip b {
  color: #536075;
  font-size: 8px;
  letter-spacing: .1em;
}

.hsf-player-stat {
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.hsf-player-stat strong {
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
}

.hsf-player-stat span {
  color: #5d6879;
  font-size: 10px;
}

.hsf-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.055);
}

.hsf-progress .progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--hsf-violet), var(--hsf-cyan));
  box-shadow: 0 0 18px rgba(86,231,255,.34);
}

.hsf-purchases {
  display: grid;
  gap: 7px;
}

.hsf-purchase {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 9px;
  background: rgba(255,255,255,.022);
}

.hsf-purchase .avatar,
.hsf-top-donor .avatar {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  image-rendering: pixelated;
}

.hsf-purchase .username {
  margin: 0;
  color: white;
  font-size: 11px;
}

.hsf-purchase p,
.hsf-purchase time {
  margin: 3px 0 0;
  color: #667286;
  font-size: 9px;
}

.hsf-purchase .hsf-price-value {
  font-family: inherit;
  font-size: inherit;
}

.hsf-top-donor {
  display: flex;
  align-items: center;
  gap: 11px;
}

.hsf-top-donor h6 {
  margin: 0;
  color: white;
  font-size: 13px;
}

.hsf-top-donor p {
  margin: 3px 0 0;
  color: #707c8f;
  font-size: 10px;
}

.goal-image {
  width: 100%;
  margin-bottom: 12px;
  border-radius: 10px;
}

/* ===== Package full page ===== */

.hsf-package-page {
  max-width: 1220px;
}

.hsf-package-shell {
  overflow: hidden;
  border: 1px solid var(--hsf-border);
  border-radius: 22px;
  background: rgba(11,15,24,.88);
  box-shadow: var(--hsf-shadow);
}

.hsf-package-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  min-height: 560px;
}

.hsf-package-art {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 38px;
  overflow: hidden;
  border-right: 1px solid var(--hsf-border);
  background:
    radial-gradient(circle at 50% 44%, rgba(86,231,255,.09), transparent 45%),
    linear-gradient(135deg, rgba(255,255,255,.02), transparent);
}

.hsf-package-art::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
}

.hsf-package-art > .image {
  position: relative;
  z-index: 2;
  width: 100%;
  max-height: 430px;
  object-fit: contain;
}

.hsf-package-default {
  display: grid;
  place-items: center;
  color: rgba(86,231,255,.18);
  font-size: 160px;
  font-weight: 900;
}

.hsf-corner-tag {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 18px;
  color: #58667a;
  font-family: monospace;
  font-size: 8px;
  letter-spacing: .12em;
}

.hsf-package-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 62px);
}

.hsf-package-summary h1 {
  margin: 15px 0 14px;
  font-size: clamp(44px, 5vw, 68px);
  line-height: .94;
}

.hsf-package-subtitle {
  max-width: 450px;
  margin: 0;
  color: #7f8b9e;
  line-height: 1.7;
}

.hsf-package-divider {
  height: 1px;
  margin: 26px 0;
  background: var(--hsf-border);
}

.hsf-package-summary .hsf-price-value {
  font-size: 32px;
}

.hsf-package-summary .hsf-buy-buttons .btn-primary {
  min-height: 50px;
}

.hsf-package-description {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 28px;
  padding: clamp(32px, 6vw, 70px);
  border-top: 1px solid var(--hsf-border);
}

.hsf-section-number {
  color: #536175;
  font-family: monospace;
  font-size: 11px;
}

.hsf-package-description h2 {
  margin: 7px 0 24px;
  font-size: clamp(28px, 4vw, 44px);
}

/* Media */
.hsf-media-slider {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hsf-media-slider .slider {
  width: 100%;
  border: 1px solid var(--hsf-border);
  border-radius: 14px;
  overflow: hidden;
  background: #070a10;
}

.hsf-media-slider .slide {
  min-height: 380px;
}

.hsf-media-slider .slide-image,
.hsf-media-slider .slide-frame {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: contain;
}

.hsf-media-slider .thumbs {
  display: flex;
  gap: 7px;
  padding: 0;
  margin: 10px 0;
  list-style: none;
}

.hsf-media-slider .thumb {
  width: 58px;
  height: 44px;
  overflow: hidden;
  border: 1px solid var(--hsf-border);
  border-radius: 7px;
  background: #0b0f17;
}

.hsf-media-slider .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hsf-fullscreen {
  width: 100%;
  padding: 8px;
  border: 0;
  color: #667488;
  background: transparent;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
}

/* ===== Basket ===== */

.hsf-checkout-page {
  max-width: 1040px;
}

.hsf-basket {
  overflow: hidden;
  border: 1px solid var(--hsf-border);
  border-radius: 20px;
  background: rgba(10,14,23,.94);
  box-shadow: var(--hsf-shadow);
}

.hsf-basket-header {
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 32px;
  border-bottom: 1px solid var(--hsf-border);
  background:
    linear-gradient(120deg, rgba(86,231,255,.08), transparent 42%),
    rgba(255,255,255,.015);
}

.hsf-basket-header h1 {
  margin: 8px 0 4px;
  font-size: 42px;
}

.hsf-basket-header p {
  margin: 0;
  color: #68758a;
  font-size: 12px;
}

.hsf-basket-count {
  display: grid;
  justify-items: end;
}

.hsf-basket-count strong {
  color: var(--hsf-cyan);
  font-family: "Space Grotesk", sans-serif;
  font-size: 42px;
  line-height: 1;
}

.hsf-basket-count span {
  margin-top: 5px;
  color: #59667a;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .15em;
}

.hsf-basket-total {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-bottom: 1px solid var(--hsf-border);
  color: #69778b;
  background: rgba(255,255,255,.02);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}

.hsf-basket-total .hsf-price-value {
  font-size: 21px;
}

.hsf-basket-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  border-bottom: 1px solid var(--hsf-border);
}

.hsf-basket-item-info {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hsf-basket-item-icon {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(86,231,255,.2);
  border-radius: 13px;
  color: rgba(86,231,255,.75);
  background: rgba(86,231,255,.06);
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
  font-weight: 900;
}

.hsf-item-type {
  color: #526074;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
}

.hsf-basket-item .title {
  margin: 5px 0 5px;
  font-size: 20px;
}

.hsf-basket-item .options {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin: 6px 0;
  padding: 0;
  color: #667286;
  list-style: none;
  font-size: 10px;
}

.hsf-basket-item .price .hsf-price-value {
  font-size: 16px;
}

.hsf-basket-controls {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hsf-basket-quantity {
  display: grid;
  grid-template-columns: 36px 44px 36px;
  height: 38px;
  overflow: hidden;
  border: 1px solid var(--hsf-border);
  border-radius: 9px;
}

.hsf-basket-quantity > * {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 0;
  color: #c9d2df;
  background: transparent;
  text-align: center;
}

.hsf-remove {
  min-height: 38px;
  padding: 0 12px;
  color: #c78088;
  font-size: 9px;
}

.hsf-basket-checkout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  background: rgba(255,255,255,.018);
}

.hsf-basket-final {
  display: grid;
}

.hsf-basket-final > span {
  color: #586579;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .15em;
}

.hsf-basket-final .hsf-price-value {
  margin-top: 4px;
  font-size: 30px;
}

.hsf-basket-checkout .checkout {
  min-width: 280px;
  min-height: 52px;
}

/* ===== Login/options/static ===== */

.hsf-auth-page,
.hsf-options-page {
  max-width: 720px;
}

.hsf-auth-card,
.hsf-options-card,
.hsf-quote-card {
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--hsf-border);
  border-radius: 18px;
  background: rgba(12,16,26,.92);
  box-shadow: var(--hsf-shadow);
}

.hsf-auth-card h2,
.hsf-options-card h2,
.hsf-quote-card h2 {
  margin: 8px 0 10px;
  font-size: clamp(32px, 5vw, 48px);
}

.hsf-auth-lead,
.hsf-options-intro {
  margin: 0 0 26px;
  color: #748095;
  line-height: 1.65;
}

.hsf-login-form,
.store-form-options {
  display: grid;
  gap: 15px;
}

.store-form label,
.store-form .field > p {
  display: block;
  margin: 0 0 7px;
  color: #8d99ab;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}

.store-form input,
.store-form select,
.gift-card-input {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  color: white;
  outline: 0;
  border: 1px solid var(--hsf-border);
  border-radius: 10px;
  background: #090d15;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.store-form input:focus,
.store-form select:focus,
.gift-card-input:focus {
  border-color: rgba(86,231,255,.4);
  box-shadow: 0 0 0 3px rgba(86,231,255,.055);
}

.field-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.field-inline > span {
  color: #718096;
  font-size: 11px;
  font-weight: 800;
}

.store-form .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 8px;
}

.store-form .actions > * {
  flex: 1 1 160px;
}

.hsf-static-page {
  min-width: 0;
}

.hsf-rich-content {
  margin-top: 28px;
}

/* ===== Tiered ===== */

.hsf-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hsf-tier-card {
  padding: 18px;
  border: 1px solid var(--hsf-border);
  border-radius: 16px;
  background: rgba(12,16,26,.8);
}

.hsf-tier-card.subscribed {
  border-color: rgba(100,240,168,.28);
  box-shadow: inset 0 0 0 1px rgba(100,240,168,.06);
}

.hsf-tier-art {
  height: 190px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(255,255,255,.025);
}

.hsf-tier-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hsf-tier-card .product-title {
  margin: 8px 0 14px;
  font-size: 28px;
}

.hsf-tier-card .descr {
  color: #788599;
  font-size: 12px;
  line-height: 1.6;
}

/* ===== Footer ===== */

.hsf-footer {
  margin-top: 100px;
  border-top: 1px solid var(--hsf-border);
  background: rgba(5,7,12,.72);
}

.hsf-footer-inner {
  width: min(1320px, calc(100% - 48px));
  margin: auto;
  padding: 52px 0 28px;
}

.hsf-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .65fr .8fr;
  gap: 50px;
}

.hsf-footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.hsf-footer-brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.hsf-footer-brand strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
}

.hsf-footer-brand p {
  max-width: 390px;
  margin: 6px 0 0;
  color: #5f6b7e;
  font-size: 11px;
  line-height: 1.6;
}

.hsf-footer-column {
  display: grid;
  align-content: start;
  gap: 9px;
}

.hsf-footer-column > span {
  margin-bottom: 4px;
  color: #4e5a6c;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .16em;
}

.hsf-footer-column a,
.hsf-footer-column button {
  width: fit-content;
  padding: 0;
  border: 0;
  color: #8995a7;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
}

.hsf-footer-column a:hover,
.hsf-footer-column button:hover {
  color: var(--hsf-cyan);
}

.hsf-footer-bottom {
  min-height: 68px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 22px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--hsf-border);
  color: #4d596b;
  font-size: 9px;
}

.hsf-payment-icons {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hsf-payment-icons img {
  width: 34px;
  max-height: 20px;
  object-fit: contain;
  opacity: .6;
  filter: grayscale(1);
}

.hsf-powered {
  white-space: nowrap;
}

/* ===== Popups ===== */

.popup {
  background: rgba(2,4,8,.82) !important;
  backdrop-filter: blur(12px);
}

.popup-content {
  border: 1px solid var(--hsf-border) !important;
  border-radius: 18px !important;
  color: var(--hsf-text);
  background: #0c111b !important;
  box-shadow: 0 30px 100px rgba(0,0,0,.58) !important;
}

.popup-close {
  top: 12px !important;
  right: 12px !important;
  padding: 7px 9px !important;
  border: 1px solid var(--hsf-border) !important;
  border-radius: 8px !important;
  color: #8793a6 !important;
  background: rgba(255,255,255,.035) !important;
}

.basket-popup .popup-content {
  max-width: 980px !important;
}

.store-product-popup .popup-content {
  max-width: 1160px !important;
}

/* ===== Toasts / alerts ===== */

.toast {
  border: 1px solid var(--hsf-border) !important;
  border-radius: 12px !important;
  color: #e7edf6 !important;
  background: #101623 !important;
  box-shadow: 0 18px 48px rgba(0,0,0,.34) !important;
}

.alert {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 10px;
}

.alert-danger {
  color: #ff9ba4;
  border: 1px solid rgba(255,105,120,.2);
  background: rgba(255,105,120,.08);
}

.alert-warning {
  color: #ffd48f;
  border: 1px solid rgba(255,193,92,.2);
  background: rgba(255,193,92,.08);
}

/* ===== Empty ===== */

.hsf-empty-state {
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 40px;
  border: 1px dashed var(--hsf-border-strong);
  border-radius: 18px;
  text-align: center;
  background: rgba(255,255,255,.018);
}

.hsf-empty-state > span {
  color: rgba(86,231,255,.18);
  font-family: "Space Grotesk", sans-serif;
  font-size: 54px;
  font-weight: 900;
}

.hsf-empty-state h3 {
  margin: 8px 0 4px;
  font-size: 24px;
}

.hsf-empty-state p {
  margin: 0;
  color: #657186;
}

/* ===== Reveal ===== */

.hsf-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity .5s ease var(--reveal-delay, 0ms),
    transform .5s cubic-bezier(.2,.8,.2,1) var(--reveal-delay, 0ms);
}

.hsf-reveal.hsf-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Vertical navigation compatibility ===== */

.is-navigation-vertical .hsf-header .hsf-navigation {
  display: none;
}

.navigation-vertical.hsf-navigation {
  margin: 0 0 12px;
  padding: 10px;
  border: 1px solid var(--hsf-border);
  border-radius: 15px;
  background: rgba(12,16,26,.76);
}

.navigation-vertical .hsf-nav-list {
  display: grid;
}

.navigation-vertical .hsf-nav-list > li > a {
  width: 100%;
}

/* ===== Responsive ===== */

@media (max-width: 1180px) {
  .hsf-header {
    padding-inline: 16px;
  }

  .hsf-ip-chip {
    display: none;
  }

  .hsf-home {
    width: min(100% - 32px, 1200px);
  }

  .hsf-hero {
    grid-template-columns: 1fr 440px;
    gap: 22px;
    padding-inline: 24px;
  }

  .hsf-category-strip {
    padding-inline: 24px;
  }

  .hsf-home-content {
    width: calc(100% - 48px);
  }

  .site-content {
    width: min(100% - 32px, 1200px);
  }

  .hsf-products-grid,
  .store-products-grid.hsf-products-grid,
  .store-products-list.hsf-products-grid,
  .hsf-tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .hsf-header-main {
    min-height: 64px;
    gap: 12px;
  }

  .hsf-mobile-menu {
    display: block;
  }

  .hsf-header .hsf-navigation {
    display: block;
  }

  .hsf-navigation.navigation-horizontal {
    position: fixed;
    z-index: 180;
    inset: 0;
    margin: 0;
    padding: 0;
    visibility: hidden;
    background: rgba(1,3,7,.68);
    opacity: 0;
    transition: opacity .2s ease, visibility .2s ease;
  }

  .show-navigation .hsf-navigation.navigation-horizontal {
    visibility: visible;
    opacity: 1;
  }

  .hsf-navigation.navigation-horizontal .hsf-nav-inner {
    width: min(350px, 86vw);
    height: 100%;
    padding: 20px;
    border-right: 1px solid var(--hsf-border);
    background: #0a0e17;
    transform: translateX(-100%);
    transition: transform .25s cubic-bezier(.2,.8,.2,1);
  }

  .show-navigation .hsf-navigation.navigation-horizontal .hsf-nav-inner {
    transform: translateX(0);
  }

  .hsf-nav-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 800;
  }

  .hsf-nav-mobile-head button {
    width: 36px;
    height: 36px;
  }

  .hsf-nav-list {
    display: grid;
    gap: 5px;
  }

  .hsf-nav-list > li > a {
    width: 100%;
    min-height: 48px;
    padding: 0 13px;
  }

  .hsf-nav-list .submenu {
    position: static;
    display: none;
    margin: 5px 0 0 12px;
    box-shadow: none;
  }

  .hsf-nav-list .expanded > .submenu {
    display: block;
  }

  .hsf-brand-copy small {
    display: none;
  }

  .hsf-icon-action {
    display: none;
  }

  .hsf-login-button {
    display: none;
  }

  .site-content-widgets {
    grid-template-columns: 1fr !important;
  }

  .site-content-widgets > .store-sidebar {
    order: 2 !important;
  }

  .hsf-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 72px;
  }

  .hsf-hero-content {
    max-width: 760px;
  }

  .hsf-hero-visual {
    min-height: 420px;
  }

  .hsf-category-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hsf-package-top {
    grid-template-columns: 1fr;
  }

  .hsf-package-art {
    min-height: 460px;
    border-right: 0;
    border-bottom: 1px solid var(--hsf-border);
  }

  .hsf-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hsf-footer-brand {
    grid-column: 1 / -1;
  }

  .hsf-footer-bottom {
    grid-template-columns: 1fr auto;
  }

  .hsf-powered {
    display: none;
  }
}

@media (max-width: 680px) {
  .hsf-header {
    padding: 8px 9px 0;
  }

  .hsf-header-main {
    padding: 8px 9px;
    border-radius: 13px;
  }

  .hsf-brand {
    gap: 8px;
  }

  .hsf-brand-logo,
  .hsf-brand-mark {
    width: 38px;
    height: 38px;
  }

  .hsf-brand-copy strong {
    font-size: 17px;
  }

  .hsf-cart-button {
    min-width: 72px;
    min-height: 42px;
    padding: 0 12px;
  }

  .hsf-user-pill {
    display: none;
  }

  .hsf-sale-banner {
    width: calc(100% - 18px);
    border-radius: 8px;
  }

  .hsf-home {
    width: calc(100% - 18px);
  }

  .hsf-hero {
    gap: 6px;
    padding: 58px 8px 20px;
  }

  .hsf-hero h1 {
    font-size: clamp(52px, 17vw, 74px);
  }

  .hsf-hero p {
    font-size: 14px;
  }

  .hsf-hero-actions {
    display: grid;
  }

  .hsf-primary-cta,
  .hsf-secondary-cta {
    width: 100%;
    min-width: 0;
  }

  .hsf-trust-row {
    gap: 9px 15px;
  }

  .hsf-hero-visual {
    min-height: 360px;
    transform: scale(.88);
  }

  .hsf-ring-a {
    width: 360px;
    height: 360px;
  }

  .hsf-ring-b {
    width: 430px;
    height: 430px;
  }

  .hsf-category-strip {
    padding: 0 8px 20px;
  }

  .hsf-category-links {
    grid-template-columns: 1fr;
  }

  .hsf-category-links a {
    min-height: 72px;
  }

  .hsf-home-content,
  .site-content,
  .hsf-footer-inner {
    width: calc(100% - 18px);
  }

  .site-content {
    margin-top: 28px;
  }

  .hsf-products-grid,
  .store-products-grid.hsf-products-grid,
  .store-products-list.hsf-products-grid,
  .hsf-tier-grid {
    grid-template-columns: 1fr;
  }

  .hsf-product-image {
    height: 245px;
  }

  .hsf-page-hero {
    min-height: 200px;
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 22px;
  }

  .hsf-package-counter {
    align-self: stretch;
    justify-content: space-between;
  }

  .hsf-package-top {
    min-height: 0;
  }

  .hsf-package-art {
    min-height: 330px;
    padding: 26px;
  }

  .hsf-package-summary {
    padding: 28px 22px 34px;
  }

  .hsf-package-summary h1 {
    font-size: 42px;
  }

  .hsf-package-description {
    grid-template-columns: 1fr;
    padding: 32px 22px;
  }

  .hsf-section-number {
    display: none;
  }

  .hsf-media-slider .slide,
  .hsf-media-slider .slide-image,
  .hsf-media-slider .slide-frame {
    min-height: 280px;
  }

  .hsf-basket-header {
    min-height: 150px;
    align-items: flex-start;
    padding: 24px 20px;
  }

  .hsf-basket-header h1 {
    font-size: 34px;
  }

  .hsf-basket-total {
    padding: 0 20px;
  }

  .hsf-basket-item {
    align-items: stretch;
    flex-direction: column;
    padding: 20px;
  }

  .hsf-basket-controls {
    justify-content: space-between;
  }

  .hsf-basket-checkout {
    align-items: stretch;
    flex-direction: column;
    padding: 22px 20px;
  }

  .hsf-basket-checkout .checkout {
    width: 100%;
    min-width: 0;
  }

  .hsf-footer {
    margin-top: 70px;
  }

  .hsf-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hsf-footer-brand {
    grid-column: auto;
  }

  .hsf-footer-bottom {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .hsf-reveal {
    opacity: 1;
    transform: none;
  }
}


.hsf-old-price {
  color: #68758a;
  font-size: 12px;
  font-weight: 700;
  text-decoration: line-through;
}


/* ==========================================================
   HsfMC V2 FIXES
   Force the custom shell over old Tebex/store theme rules.
   ========================================================== */

html,
body {
  min-height: 100% !important;
  background: #06080d !important;
}

body {
  display: block !important;
}

.site.hsf-site {
  display: block !important;
  width: 100% !important;
  min-height: 100vh !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

/* HsfMC never uses Tebex's vertical navigation layout. */
body.hsf-navigation-horizontal .site-content-widgets,
body.is-navigation-vertical .site-content-widgets {
  grid-template-columns: minmax(0, 1fr) 310px !important;
}

body .navigation-vertical,
.hsf-sidebar > .site-navigation,
.hsf-sidebar .navigation-vertical {
  display: none !important;
}

/* Kill the old pink/default nav styling. */
.hsf-navigation,
.hsf-navigation *,
.hsf-nav-list,
.hsf-nav-list li,
.hsf-nav-list li a,
.hsf-nav-list li button {
  box-shadow: none;
}

.hsf-navigation {
  display: block !important;
  position: static;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.hsf-nav-list {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 3px !important;
  border: 0 !important;
  background: transparent !important;
}

.hsf-nav-list > li {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.hsf-nav-list > li > a {
  min-height: 40px !important;
  padding: 0 11px !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: #778397 !important;
  background: transparent !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

.hsf-nav-list > li > a:hover,
.hsf-nav-list > li.active > a,
.hsf-nav-list > li > a.link-active {
  color: #f7fbff !important;
  background: rgba(255,255,255,.05) !important;
}

.hsf-nav-list > li.active > a::after {
  background: #56e7ff !important;
}

/* Header layout */
.hsf-header-main {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
}

.hsf-header-actions {
  margin-left: 0 !important;
}

/* V2 homepage */
.hsf-home-v2 {
  width: min(1320px, calc(100% - 44px)) !important;
  margin: 0 auto !important;
}

.hsf-hero-v2 {
  min-height: 610px;
  padding: 76px 18px 54px !important;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .85fr) !important;
}

.hsf-hero-v2 h1 {
  max-width: 800px;
  font-size: clamp(56px, 6.6vw, 94px) !important;
}

.hsf-hero-visual-v2 {
  min-height: 490px;
}

.hsf-network-emblem {
  position: relative;
  z-index: 5;
  width: 310px;
  height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 25%, rgba(86,231,255,.14), transparent 40%),
    linear-gradient(145deg, rgba(18,25,39,.95), rgba(8,12,20,.96));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    0 40px 100px rgba(0,0,0,.4),
    0 0 70px rgba(86,231,255,.05);
  transform: rotate(2deg);
}

.hsf-network-emblem::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,255,255,.045);
  border-radius: 23px;
  pointer-events: none;
}

.hsf-network-emblem-inner {
  width: 154px;
  height: 154px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid rgba(86,231,255,.16);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(86,231,255,.08), rgba(139,114,255,.06)),
    rgba(255,255,255,.018);
  box-shadow: 0 0 50px rgba(86,231,255,.08);
}

.hsf-network-emblem-inner img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 15px 24px rgba(0,0,0,.35));
}

.hsf-network-emblem-inner strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 90px;
  color: #56e7ff;
}

.hsf-emblem-label {
  color: #f6f9ff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.hsf-network-emblem small {
  margin-top: 7px;
  color: #5a687c;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .18em;
}

.hsf-v2-ring {
  position: absolute;
  border: 1px solid rgba(86,231,255,.1);
  border-radius: 50%;
}

.hsf-v2-ring-a {
  width: 410px;
  height: 410px;
}

.hsf-v2-ring-b {
  width: 520px;
  height: 520px;
  border-style: dashed;
  border-color: rgba(139,114,255,.085);
}

.hsf-status-chip {
  position: absolute;
  z-index: 7;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  color: #7d899b;
  background: rgba(7,10,16,.82);
  backdrop-filter: blur(8px);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .11em;
}

.hsf-status-chip-a {
  left: 4%;
  bottom: 25%;
  display: flex;
  align-items: center;
  gap: 7px;
}

.hsf-status-chip-a i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #64f0a8;
  box-shadow: 0 0 10px rgba(100,240,168,.75);
}

.hsf-status-chip-b {
  top: 24%;
  right: 2%;
  color: #74dff4;
}

.hsf-home-section {
  padding: 52px 0 24px;
}

.hsf-home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px;
}

.hsf-home-section-head h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 48px);
}

.hsf-home-section-head > p {
  max-width: 430px;
  margin: 0 0 4px;
  color: #6d798b;
  font-size: 12px;
  line-height: 1.65;
}

.hsf-category-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hsf-category-tile {
  position: relative;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.085) !important;
  border-radius: 15px;
  background:
    radial-gradient(circle at 85% 0%, rgba(86,231,255,.07), transparent 34%),
    rgba(12,16,26,.78) !important;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.hsf-category-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to top, #000, transparent 88%);
}

.hsf-category-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(86,231,255,.27) !important;
  background:
    radial-gradient(circle at 85% 0%, rgba(86,231,255,.11), transparent 38%),
    #0f1522 !important;
}

.hsf-category-tile > * {
  position: relative;
  z-index: 2;
}

.hsf-category-tile-top {
  position: absolute;
  top: 17px;
  left: 19px;
  right: 19px;
  display: flex;
  justify-content: space-between;
}

.hsf-category-tile-top span,
.hsf-category-tile-top b {
  color: #526074;
  font-family: monospace;
  font-size: 9px;
}

.hsf-category-tile strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  letter-spacing: -.035em;
}

.hsf-category-tile small {
  margin-top: 7px;
  color: #526074;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
}

.hsf-home-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 48px 0;
}

.hsf-home-benefits article {
  position: relative;
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 15px;
  background: rgba(10,14,23,.68);
}

.hsf-home-benefits article > span {
  position: absolute;
  top: 16px;
  right: 18px;
  color: #445064;
  font-family: monospace;
  font-size: 9px;
}

.hsf-benefit-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border: 1px solid rgba(86,231,255,.16);
  border-radius: 9px;
  color: #65def4;
  background: rgba(86,231,255,.05);
}

.hsf-home-benefits h3 {
  margin: 0;
  font-size: 18px;
}

.hsf-home-benefits p {
  margin: 8px 0 0;
  color: #667387;
  font-size: 11px;
  line-height: 1.6;
}

.hsf-home-modules {
  padding: 38px 0 20px;
}

.hsf-home-modules .hsf-sidebar {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.hsf-home-modules .hsf-widget {
  min-width: 0 !important;
  margin: 0 !important;
  border-color: rgba(255,255,255,.08) !important;
  background: rgba(10,14,23,.76) !important;
}

/* Strongly neutralize old custom theme pink widget styles */
.hsf-widget,
.hsf-widget.widget,
.hsf-sidebar .widget,
.hsf-sidebar .widget-content,
.hsf-sidebar .widget-title {
  border-color: rgba(255,255,255,.08) !important;
}

.hsf-sidebar .widget {
  margin: 0 !important;
  color: #8995a7 !important;
  background: rgba(10,14,23,.76) !important;
  box-shadow: none !important;
}

.hsf-sidebar .widget-title {
  color: #f4f7fb !important;
  background: transparent !important;
}

.hsf-sidebar .widget::before,
.hsf-sidebar .widget::after {
  border-color: transparent !important;
}

.hsf-home-cta {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 52px 0 20px;
  padding: 34px 38px;
  overflow: hidden;
  border: 1px solid rgba(86,231,255,.13);
  border-radius: 18px;
  background:
    linear-gradient(115deg, rgba(86,231,255,.08), transparent 40%),
    linear-gradient(315deg, rgba(139,114,255,.07), transparent 42%),
    rgba(10,14,23,.86);
}

.hsf-home-cta h2 {
  margin: 8px 0 5px;
  font-size: clamp(32px, 4vw, 50px);
}

.hsf-home-cta p {
  margin: 0;
  color: #677488;
}

.hsf-home-cta-actions {
  display: flex;
  gap: 9px;
}

.hsf-home-cta-actions .btn-primary,
.hsf-home-cta-actions .btn-secondary {
  min-height: 50px;
  padding: 0 18px;
}

/* Kill giant layout gaps inherited from previous theme */
.hsf-home,
.site-content,
.hsf-category-page,
.hsf-package-page,
.hsf-checkout-page {
  min-height: 0 !important;
}

.hsf-footer {
  margin-top: 54px !important;
}

.hsf-footer-inner {
  padding-top: 42px !important;
}

@media (max-width: 1180px) {
  .hsf-navigation {
    overflow: hidden;
  }

  .hsf-nav-list > li > a {
    padding-inline: 8px !important;
    font-size: 10px !important;
  }

  .hsf-ip-chip {
    display: none !important;
  }
}

@media (max-width: 960px) {
  .hsf-header-main {
    display: flex !important;
  }

  .hsf-navigation.navigation-horizontal {
    position: fixed !important;
    z-index: 180 !important;
    inset: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    visibility: hidden;
    opacity: 0;
    background: rgba(1,3,7,.74) !important;
  }

  .show-navigation .hsf-navigation.navigation-horizontal {
    visibility: visible;
    opacity: 1;
  }

  .hsf-navigation.navigation-horizontal .hsf-nav-inner {
    width: min(350px, 86vw) !important;
    height: 100% !important;
    padding: 20px !important;
    background: #090d15 !important;
    border-right: 1px solid rgba(255,255,255,.08) !important;
  }

  .hsf-nav-list {
    display: grid !important;
    gap: 5px !important;
  }

  .hsf-nav-list > li > a {
    width: 100% !important;
    min-height: 48px !important;
    padding-inline: 13px !important;
    font-size: 12px !important;
  }

  .hsf-hero-v2 {
    grid-template-columns: 1fr !important;
  }

  .hsf-category-showcase,
  .hsf-home-benefits,
  .hsf-home-modules .hsf-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .hsf-home-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 650px) {
  .hsf-home-v2 {
    width: calc(100% - 18px) !important;
  }

  .hsf-hero-v2 {
    padding: 54px 6px 30px !important;
  }

  .hsf-hero-v2 h1 {
    font-size: clamp(48px, 15vw, 70px) !important;
  }

  .hsf-hero-visual-v2 {
    min-height: 390px;
  }

  .hsf-network-emblem {
    width: 260px;
    height: 300px;
  }

  .hsf-network-emblem-inner {
    width: 130px;
    height: 130px;
  }

  .hsf-network-emblem-inner img {
    width: 98px;
    height: 98px;
  }

  .hsf-v2-ring-a {
    width: 330px;
    height: 330px;
  }

  .hsf-v2-ring-b {
    width: 400px;
    height: 400px;
  }

  .hsf-home-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hsf-category-showcase,
  .hsf-home-benefits,
  .hsf-home-modules .hsf-sidebar {
    grid-template-columns: 1fr !important;
  }

  .hsf-category-tile {
    min-height: 145px;
  }

  .hsf-home-cta {
    padding: 28px 22px;
  }

  .hsf-home-cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .hsf-home-cta-actions > * {
    width: 100%;
  }
}

/* =========================================================
   HSFMC FINAL POLISH
   ========================================================= */

/* ---------- HEADER / NAV ---------- */

.hsf-header-shell {
  width: min(1420px, calc(100% - 24px)) !important;
}

.hsf-header-main {
  padding-left: 16px !important;
  padding-right: 12px !important;
  gap: 14px !important;
}

.hsf-navigation {
  min-width: 0 !important;
  overflow: visible !important;
}

.hsf-nav-list {
  gap: 2px !important;
}

.hsf-nav-list > li > a {
  padding: 0 9px !important;

  font-size: 10px !important;
  line-height: 1 !important;

  white-space: nowrap !important;
  word-break: normal !important;
}

.hsf-nav-list > li > a span {
  white-space: nowrap !important;
}

.hsf-brand {
  min-width: 150px;
}

.hsf-header-actions {
  flex-shrink: 0;
}


/* ---------- HERO ---------- */

.hsf-hero-v2 {
  min-height: 570px !important;

  padding-top: 62px !important;
  padding-bottom: 40px !important;
}

.hsf-hero-v2 h1 {
  margin-bottom: 20px !important;
}

.hsf-hero-content > p {
  max-width: 590px;
}

.hsf-hero-actions {
  margin-top: 26px !important;
}

.hsf-trust-row {
  margin-top: 20px !important;
}


/* ---------- STORE DIRECTORY ---------- */

.hsf-home-section {
  padding-top: 38px !important;
}

.hsf-home-section-head {
  margin-bottom: 17px !important;
}

.hsf-category-showcase {
  gap: 10px !important;
}

.hsf-category-tile {
  min-height: 145px !important;
  padding: 18px !important;
}

.hsf-category-tile strong {
  font-size: 18px !important;
}

.hsf-category-tile small {
  margin-top: 5px !important;
}


/* ---------- BENEFITS ---------- */

.hsf-home-benefits {
  gap: 10px !important;

  padding-top: 38px !important;
  padding-bottom: 40px !important;
}

.hsf-home-benefits article {
  min-height: 160px !important;
  padding: 18px !important;
}

.hsf-benefit-icon {
  margin-bottom: 20px !important;
}


/* ---------- NETWORK ACTIVITY ---------- */

.hsf-home-modules {
  padding-top: 28px !important;
}

.hsf-home-modules .hsf-sidebar {
  align-items: stretch !important;
}

.hsf-home-modules .hsf-widget {
  min-height: 0 !important;
  height: auto !important;

  padding: 18px !important;
}

/* stop empty goal/top supporter cards becoming huge */
.hsf-home-modules .widget-community-goal,
.hsf-home-modules .widget-top-donator,
.hsf-home-modules .widget-goal {
  min-height: 210px !important;
}

/* recent purchases can grow naturally */
.hsf-home-modules .widget-recent {
  min-height: 210px !important;
}

.hsf-widget .widget-title {
  margin-top: 10px !important;
}

.hsf-progress {
  margin-top: 16px !important;
}


/* ---------- RECENT PURCHASES ---------- */

.hsf-purchases {
  gap: 6px !important;
}

.hsf-purchase {
  padding: 8px !important;
}

.hsf-purchase .avatar {
  width: 34px !important;
  height: 34px !important;
}


/* ---------- JOIN NETWORK CTA ---------- */

.hsf-home-cta {
  min-height: 180px !important;

  margin-top: 42px !important;
  margin-bottom: 10px !important;

  padding: 30px 34px !important;
}

.hsf-home-cta h2 {
  font-size: 42px !important;
}


/* ---------- FOOTER ---------- */

.hsf-footer {
  margin-top: 30px !important;
}

.hsf-footer-inner {
  padding-top: 34px !important;
  padding-bottom: 18px !important;
}

.hsf-footer-grid {
  gap: 34px !important;
}

.hsf-footer-bottom {
  min-height: 52px !important;

  margin-top: 28px !important;
  padding-top: 17px !important;
}


/* ---------- DESKTOP ---------- */

@media (min-width: 1200px) {

  .hsf-home-v2 {
    width: min(1360px, calc(100% - 40px)) !important;
  }

  .hsf-category-showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

}


/* ---------- LAPTOP ---------- */

@media (max-width: 1250px) {

  .hsf-nav-list > li > a {
    padding: 0 6px !important;
    font-size: 9px !important;
  }

  .hsf-brand {
    min-width: 130px;
  }

}


/* ---------- TABLET / MOBILE ---------- */

@media (max-width: 960px) {

  .hsf-nav-list > li > a {
    font-size: 12px !important;
    white-space: normal !important;
  }

  .hsf-brand {
    min-width: 0;
  }

  .hsf-category-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .hsf-home-modules .hsf-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

}


@media (max-width: 650px) {

  .hsf-category-showcase,
  .hsf-home-modules .hsf-sidebar {
    grid-template-columns: 1fr !important;
  }

  .hsf-category-tile {
    min-height: 125px !important;
  }

  .hsf-home-cta h2 {
    font-size: 34px !important;
  }

}
/* =========================================================
   HSFMC LAST LAYOUT FIXES
   ========================================================= */

/* 1. Stop header floating over page content */
.hsf-header {
  position: relative !important;
  top: auto !important;
}

/* remove scroll-header behavior */
.hsf-header.is-scrolled {
  position: relative !important;
  top: auto !important;
  padding-top: 18px !important;
  background: transparent !important;
  backdrop-filter: none !important;
}


/* 2. Network activity cards should NOT all match tallest card */
.hsf-home-modules .hsf-sidebar {
  align-items: start !important;
}

.hsf-home-modules .hsf-widget,
.hsf-home-modules .widget {
  height: auto !important;
  min-height: 0 !important;
  align-self: start !important;
}


/* Community Goal */
.hsf-home-modules .widget-community-goal {
  min-height: 170px !important;
}

/* Top Customer */
.hsf-home-modules .widget-top-donator {
  min-height: 150px !important;
}

/* Recent Payments can naturally be taller */
.hsf-home-modules .widget-recent {
  min-height: 0 !important;
}


/* 3. Slightly tighten network section */
.hsf-home-modules {
  padding-top: 22px !important;
}

.hsf-home-modules .hsf-home-section-head {
  margin-bottom: 16px !important;
}


/* 4. Make category cards slightly less empty */
.hsf-category-tile {
  min-height: 125px !important;
}

.hsf-category-tile strong {
  margin-top: auto !important;
}


/* 5. Slightly tighten whole homepage spacing */
.hsf-home-benefits {
  padding-bottom: 30px !important;
}

.hsf-home-cta {
  margin-top: 36px !important;
}


/* 6. Footer tighter */
.hsf-footer {
  margin-top: 24px !important;
}