:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --paper: #ffffff;
  --ink: #151922;
  --muted: #647083;
  --line: #e3e7ee;
  --line-strong: #cbd3df;
  --brand: #d71345;
  --brand-dark: #9f1239;
  --teal: #0f8f86;
  --blue: #3157d5;
  --amber: #c67c1d;
  --navy: #182233;
  --soft: #f0f4f8;
  --shadow: 0 18px 46px rgba(27, 35, 49, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Nunito", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.store-home .site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}

.store-home .brand,
.store-home .top-nav a {
  color: var(--ink);
}

.store-home .brand-text span {
  color: var(--brand);
}

.header-shell {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #121722;
  color: #fff;
  font-weight: 900;
  box-shadow: inset 0 -3px 0 var(--brand);
}

.brand-text {
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-text span {
  color: var(--brand);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-nav::-webkit-scrollbar {
  display: none;
}

.top-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 7px;
  color: #303947;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.top-nav a:hover {
  background: var(--soft);
  color: var(--brand-dark);
}

.store-home .top-nav a:hover {
  background: var(--soft);
  color: var(--brand-dark);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: 68px;
  line-height: 0.95;
  font-weight: 900;
}

.hero-lead {
  max-width: 680px;
  margin: 18px 0 0;
  color: #445066;
  font-size: 19px;
  font-weight: 700;
}

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

.primary-button,
.secondary-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.hero-actions .secondary-button {
  min-width: 128px;
}

.primary-button {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 24px rgba(215, 19, 69, 0.22);
}

.primary-button:hover {
  background: var(--brand-dark);
}

.secondary-button {
  background: #fff;
  color: #202a38;
  border: 1px solid var(--line-strong);
}

.secondary-button:hover {
  background: var(--soft);
}

.store-hero {
  position: relative;
  overflow: hidden;
  min-height: auto;
  border-bottom: 1px solid #e2e8f0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 252, 0.96)),
    radial-gradient(circle at 15% 10%, rgba(15, 143, 134, 0.12), transparent 30%),
    radial-gradient(circle at 88% 0%, rgba(215, 19, 69, 0.09), transparent 28%);
  color: #111827;
  isolation: isolate;
}

.store-hero::before,
.store-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.store-hero::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(15, 143, 134, 0.14) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 23, 42, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.46), transparent 76%);
}

.store-hero::after {
  z-index: 2;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 143, 134, 0.28), rgba(215, 19, 69, 0.24), transparent);
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-scene canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.store-hero-shell {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 24px;
  padding: 64px 0 34px;
}

.store-hero-main {
  display: grid;
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
  text-align: center;
  gap: 0;
}

.store-hero-copy {
  min-height: auto;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 0;
}

.store-hero-copy h1 {
  max-width: 820px;
  color: #111827;
  font-size: clamp(40px, 4.8vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: none;
}

.store-hero .eyebrow {
  width: fit-content;
  border: 1px solid rgba(215, 19, 69, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  padding: 7px 11px;
  box-shadow: 0 10px 28px rgba(20, 32, 51, 0.06);
}

.store-hero .hero-lead {
  max-width: 720px;
  margin-top: 18px;
  color: #475569;
  font-size: 18px;
  line-height: 1.5;
  text-shadow: none;
}

.hero-search {
  width: min(760px, 100%);
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.hero-search label {
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.hero-search div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  border: 1px solid #d6dee9;
  border-radius: 8px;
  background: #fff;
  padding: 7px;
  box-shadow: 0 20px 46px rgba(20, 32, 51, 0.1);
}

.hero-search input {
  min-height: 52px;
  border: 0;
  outline: 0;
  padding: 0 14px;
  color: #111827;
  background: transparent;
  font-weight: 800;
}

.hero-search input::placeholder {
  color: #94a3b8;
}

.hero-search .primary-button {
  min-width: 112px;
  box-shadow: none;
}

.hero-trust-row {
  display: inline-flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-trust-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #dbe4ef;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(20, 32, 51, 0.05);
}

.hero-trust-row span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--teal);
}

.hero-showcase {
  align-self: center;
  justify-self: end;
  position: relative;
  width: min(460px, 100%);
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(8, 13, 25, 0.82), rgba(8, 13, 25, 0.58)),
    radial-gradient(circle at 18% 0%, rgba(215, 19, 69, 0.2), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(15, 143, 134, 0.22), transparent 34%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: 16px;
  backdrop-filter: blur(20px);
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(215, 19, 69, 0.2), rgba(15, 143, 134, 0.18));
  opacity: 0.48;
}

.showcase-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.hero-discovery-head small {
  display: block;
  margin-top: 7px;
  color: rgba(234, 242, 255, 0.68);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

.showcase-top strong {
  display: block;
  color: #fff;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 900;
}

.showcase-top a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  padding: 0 11px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.hero-category-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hero-category-picker button {
  position: relative;
  min-height: 70px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  gap: 1px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(8, 13, 25, 0.52);
  color: rgba(234, 242, 255, 0.78);
  padding: 10px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.hero-category-picker button::after {
  content: "";
  position: absolute;
  inset: auto 10px 8px 62px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff3d6f, #51f1df);
  opacity: 0;
  transform: scaleX(0.24);
  transform-origin: left;
  transition: opacity 160ms ease, transform 160ms ease;
}

.hero-category-picker button span {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.hero-category-picker button strong,
.hero-category-picker button small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-category-picker button strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 900;
}

.hero-category-picker button small {
  color: rgba(234, 242, 255, 0.56);
  font-size: 11px;
  font-weight: 850;
}

.hero-category-picker button.is-active,
.hero-category-picker button:hover {
  border-color: rgba(255, 255, 255, 0.26);
  background:
    linear-gradient(135deg, rgba(215, 19, 69, 0.42), rgba(15, 143, 134, 0.28)),
    rgba(8, 13, 25, 0.7);
  color: #fff;
  transform: translateY(-1px);
}

.hero-category-picker button.is-active::after,
.hero-category-picker button:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero-focus-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.hero-focus-stats span {
  min-height: 58px;
  display: grid;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(8, 13, 25, 0.36);
  color: rgba(234, 242, 255, 0.68);
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 850;
}

.hero-focus-stats strong {
  display: block;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.hero-focus-products {
  display: grid;
  gap: 8px;
}

.hero-focus-product {
  min-height: 68px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(8, 13, 25, 0.88), rgba(8, 13, 25, 0.48)),
    var(--cover-image),
    linear-gradient(135deg, var(--accent-a), var(--accent-b));
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 9px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.hero-focus-product:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.hero-focus-product .focus-initials {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(8, 13, 25, 0.84);
  font-size: 13px;
  font-weight: 900;
}

.focus-product-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.hero-focus-product strong,
.hero-focus-product small,
.hero-focus-product em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-focus-product small {
  color: rgba(234, 242, 255, 0.72);
  font-size: 11px;
  font-weight: 850;
}

.hero-focus-product em {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 7px 9px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.hero-focus-empty {
  margin: 0;
  color: rgba(234, 242, 255, 0.72);
  font-weight: 850;
}

.hero-commerce-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 12px;
}

.hero-commerce-flow span {
  position: relative;
  min-height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(8, 13, 25, 0.32);
  color: rgba(234, 242, 255, 0.82);
  font-size: 11px;
  font-weight: 900;
}

.hero-commerce-flow span + span::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 50%;
  width: 7px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.market-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(20, 32, 51, 0.06);
}

.hero-orbit-panel {
  animation: orbitPanelFloat 7s ease-in-out infinite;
}

@keyframes orbitPanelFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(-0.35deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orbit-panel {
    animation: none;
  }
}

.metric-tile,
.hero-note {
  min-height: 76px;
  padding: 14px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.metric-tile + .metric-tile {
  border-left: 1px solid #e4eaf2;
}

.metric-tile span {
  display: block;
  color: #111827;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.metric-tile small {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
}

.hero-utility {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(260px, 320px);
  justify-content: center;
  gap: 14px;
}

.hero-process {
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #fff;
  padding: 12px 14px;
  box-shadow: 0 14px 36px rgba(20, 32, 51, 0.06);
}

.hero-process span {
  min-height: 25px;
  display: flex;
  align-items: center;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.hero-process span + span {
  border-top: 1px solid #e4eaf2;
  padding-top: 8px;
}

.category-strip-section {
  border-bottom: 1px solid #dfe5ee;
  background:
    linear-gradient(180deg, #fff 0%, #f5f7fa 100%),
    radial-gradient(circle at 88% 20%, rgba(15, 143, 134, 0.08), transparent 24%);
  padding: 28px 0;
}

.category-strip-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.category-strip-heading h2 {
  margin: 0;
  color: #111827;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 900;
}

.category-strip-heading a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-dark);
  padding: 0 13px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

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

.category-rail button {
  position: relative;
  min-height: 96px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 252, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(215, 19, 69, 0.08), transparent 34%);
  color: #242c39;
  padding: 16px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(27, 35, 49, 0.06);
  overflow: hidden;
}

.category-rail button::after {
  content: "";
  position: absolute;
  inset: auto 16px 12px 74px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--teal));
  opacity: 0;
  transform: scaleX(0.34);
  transform-origin: left;
  transition: 0.18s ease;
}

.category-rail button:hover {
  border-color: rgba(215, 19, 69, 0.34);
  color: var(--brand-dark);
  transform: translateY(-1px);
}

.category-rail button:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.category-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  box-shadow: inset 0 -3px 0 rgba(215, 19, 69, 0.9);
}

.category-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.category-title {
  color: #172033;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-copy small {
  color: #697589;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-rail strong {
  min-width: 32px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--soft);
  color: #445066;
  font-size: 13px;
}

.hero-note {
  grid-column: 1 / -1;
  min-height: auto;
  background: rgba(15, 23, 42, 0.55);
}

.hero-note strong {
  display: block;
  font-size: 19px;
  font-weight: 900;
}

.hero-note p {
  margin: 8px 0 0;
  color: #dbeafe;
  font-weight: 700;
}

.catalog-section {
  border-top: 1px solid #e8edf3;
  background:
    linear-gradient(180deg, #f3f5f8, #f8fafc 34%),
    radial-gradient(circle at top right, rgba(49, 87, 213, 0.08), transparent 28%);
  padding: 30px 0 56px;
}

.catalog-shell {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.filters,
.products-toolbar,
.empty-state,
.product-card,
.support-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 26px rgba(27, 35, 49, 0.055);
}

.filters {
  position: sticky;
  top: 88px;
  overflow: hidden;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: #cbd3df transparent;
}

.filters::-webkit-scrollbar {
  width: 8px;
}

.filters::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #cbd3df;
}

.filter-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(24, 34, 51, 0.98), rgba(24, 34, 51, 0.9)),
    url("images/catalog-hero.png");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 18px;
}

.filter-header h2,
.products-toolbar h2,
.support-grid h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 900;
}

.filter-header .eyebrow {
  color: #f7a7ba;
}

.icon-button {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
}

.icon-button:hover {
  border-color: rgba(255, 255, 255, 0.46);
  color: #fff;
}

.filter-summary {
  display: grid;
  gap: 5px;
  margin: 14px;
  border: 1px solid #f0c3cf;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff5f7, #ffffff);
  padding: 13px;
}

.filter-summary span {
  color: var(--brand-dark);
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.filter-summary strong {
  color: #3a4656;
  font-size: 13px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.search-field,
.sort-field {
  display: grid;
  gap: 6px;
}

.search-field {
  margin: 0;
  padding: 0 14px 14px;
}

.search-field span,
.sort-field span {
  color: #475569;
  font-size: 13px;
  font-weight: 900;
}

.search-field input,
.sort-field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  outline: none;
}

.search-field input:focus,
.sort-field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
}

.filter-block {
  padding: 14px;
  border-top: 1px solid var(--line);
}

.filter-block-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.filter-block-title span {
  display: grid;
  gap: 2px;
}

.filter-block-title strong {
  color: #242c39;
  font-size: 14px;
  font-weight: 900;
}

.filter-block-title small {
  color: #8a94a3;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.filter-list,
.toggle-list {
  display: grid;
  gap: 6px;
}

.filter-tree-row {
  display: block;
}

.filter-tree-row + .filter-tree-row {
  margin-top: 3px;
}

.filter-list button {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #303947;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.filter-list button:hover {
  background: #f5f7fa;
}

.filter-list button.is-empty {
  color: #8a94a3;
}

.filter-list button.is-empty:not(.is-active) {
  opacity: 0.74;
}

.filter-tree-row.is-root > button[data-value]:not(.is-all) {
  margin-top: 3px;
  border-color: var(--line);
  background: #fff;
  font-weight: 900;
}

.filter-tree-row.has-children > button[data-value] {
  position: relative;
  padding-right: 36px;
}

.filter-tree-row.has-children > button[data-value]::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 13px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #7a8493;
  border-bottom: 2px solid #7a8493;
  transform: translateY(-60%) rotate(45deg);
  transition: transform 160ms ease, border-color 160ms ease;
}

.filter-tree-row.has-children > button[data-value].is-open::after {
  transform: translateY(-35%) rotate(225deg);
}

.filter-tree-row.has-children > button[data-value]:hover::after,
.filter-tree-row.has-children > button[data-value].is-active::after {
  border-color: var(--brand-dark);
}

.filter-tree-row.is-child > button[data-value] {
  position: relative;
  min-height: 31px;
  padding-left: calc(16px + (var(--level, 1) * 12px));
  background: transparent;
  color: #4b5565;
  font-size: 13px;
}

.filter-tree-row.is-child > button[data-value] span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1px;
  margin-right: 7px;
  vertical-align: middle;
  background: #b7c0cc;
}

.filter-list.compact button {
  min-height: 32px;
  border-color: var(--line);
  background: #fff;
}

.filter-list button.is-active {
  border-color: rgba(215, 19, 69, 0.34);
  background: #fff3f6;
  color: var(--brand-dark);
}

.filter-list small {
  min-width: 28px;
  min-height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #eef2f6;
  color: #5c6675;
  font-weight: 900;
  font-size: 12px;
}

.filter-list button.is-active small {
  background: #fbdbe3;
  color: var(--brand-dark);
}

.toggle-list label {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #3a4656;
  padding: 0 11px;
  font-size: 13px;
  font-weight: 850;
}

.toggle-list input {
  width: 15px;
  height: 15px;
  accent-color: var(--brand);
}

.products-area {
  min-width: 0;
}

.products-toolbar {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  padding: 0;
}

.products-toolbar > div {
  min-height: 96px;
  display: grid;
  align-content: center;
  padding: 18px 20px;
}

.products-toolbar .sort-field {
  align-self: stretch;
  min-width: 230px;
  justify-content: center;
  border-left: 1px solid var(--line);
  background: #fbfcfe;
  padding: 18px 20px;
}

.sort-field {
  min-width: 190px;
}

.toolbar-note {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 0;
  margin: 12px 0 14px;
}

.filter-chip {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  border: 1px solid #cfe7e4;
  background: #f2fbfa;
  color: #0f766e;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 900;
}

.filter-chip.is-muted {
  border-color: var(--line);
  background: #fff;
  color: #7a8493;
}

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

.product-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border-color: #dfe5ee;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(49, 87, 213, 0.2);
  box-shadow: 0 18px 38px rgba(27, 35, 49, 0.1);
}

.product-cover {
  position: relative;
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(140deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.55)),
    var(--cover-image),
    linear-gradient(135deg, var(--accent-a), var(--accent-b));
  background-size: cover;
  background-position: center;
  text-decoration: none;
}

.product-cover::after {
  content: "";
  position: absolute;
  inset: 12px 12px auto auto;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.product-cover::before {
  content: "";
  position: absolute;
  inset: auto auto 14px 16px;
  width: 86px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.product-initials {
  position: relative;
  z-index: 1;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
}

.product-cover-label {
  position: relative;
  z-index: 1;
  max-width: 52%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #151922;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-body {
  display: grid;
  gap: 11px;
  padding: 15px 16px 14px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #f2f5f8;
  color: #3a4656;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 900;
}

.badge.hot {
  background: #fff1f4;
  color: var(--brand-dark);
}

.product-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.18;
  font-weight: 900;
}

.product-card h3 a {
  color: inherit;
  text-decoration: none;
}

.product-card p {
  display: -webkit-box;
  min-height: 63px;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.product-compatibility {
  min-height: 40px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fc;
  color: #4b5565;
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 850;
}

.product-purchase-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.product-purchase-row div {
  display: grid;
  gap: 1px;
}

.product-purchase-row small,
.product-purchase-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.product-purchase-row strong {
  color: #10151f;
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
}

.product-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.product-stats.compact-price {
  grid-template-columns: 1fr;
}

.product-stats span {
  display: grid;
  gap: 1px;
  min-height: 52px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 6px;
  text-align: center;
  font-size: 16px;
  font-weight: 900;
}

.product-stats small {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-top: 1px solid var(--line);
  background: #fbfcfe;
  padding: 14px 16px;
}

.card-button,
.outline-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.card-button {
  border: 0;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 18px rgba(24, 34, 51, 0.12);
}

.card-button:hover {
  background: #24364f;
}

.outline-button {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: #303947;
}

.outline-button:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.empty-state {
  padding: 40px;
  text-align: center;
}

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

.empty-state p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.support-section {
  margin: 0 auto 42px;
  width: min(1220px, calc(100% - 32px));
  background:
    linear-gradient(135deg, rgba(24, 34, 51, 0.98), rgba(15, 88, 84, 0.94)),
    url("images/catalog-hero.png");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.support-grid {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.support-grid .eyebrow {
  color: #67e8f9;
}

.support-grid h2 {
  max-width: 760px;
}

.product-dialog {
  width: min(940px, calc(100% - 28px));
  max-height: calc(100% - 28px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.product-page,
.account-page {
  padding-bottom: 48px;
}

.detail-hero {
  background:
    linear-gradient(140deg, rgba(20, 32, 51, 0.96), rgba(21, 94, 117, 0.88)),
    url("images/catalog-hero.png");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.detail-hero-grid {
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 36px;
  padding: 46px 0;
}

.detail-hero h1,
.account-page h1 {
  font-size: clamp(38px, 6vw, 64px);
}

.price-panel,
.purchase-panel,
.content-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 32, 51, 0.05);
}

.price-panel {
  display: grid;
  gap: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}

.price-panel span {
  color: #dbeafe;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.price-panel strong {
  font-size: 44px;
  line-height: 1;
  font-weight: 900;
}

.price-panel p {
  margin: 0;
  color: #e5eef8;
  font-weight: 800;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
  padding-top: 30px;
}

.detail-main {
  display: grid;
  gap: 18px;
}

.content-band,
.purchase-panel {
  padding: 22px;
}

.content-band h2,
.purchase-panel h2,
.account-page h2 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 900;
}

.content-band > p:not(.eyebrow),
.muted-text {
  color: var(--muted);
  font-weight: 750;
}

.purchase-panel {
  position: sticky;
  top: 88px;
}

.stack-form {
  display: grid;
  gap: 13px;
}

.stack-form label {
  display: grid;
  gap: 6px;
  color: #334155;
  font-size: 14px;
  font-weight: 900;
}

.stack-form input,
.stack-form select,
.stack-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 11px;
  outline: none;
}

.stack-form input:focus,
.stack-form select:focus,
.stack-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
}

.option-card {
  grid-template-columns: auto 1fr;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 12px;
  cursor: pointer;
}

.option-card input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--brand);
}

.option-card strong,
.option-card small {
  display: block;
}

.option-card small {
  color: #64748b;
  font-weight: 800;
}

.conditional-fields {
  display: grid;
  gap: 10px;
  border-left: 3px solid var(--brand);
  padding-left: 12px;
}

[hidden] {
  display: none !important;
}

.is-hidden {
  display: none !important;
}

.conditional-fields.is-open {
  display: grid;
}

.member-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff7ed;
  color: #7c2d12;
  padding: 12px;
  margin-bottom: 16px;
  font-weight: 850;
}

.member-note a {
  color: var(--brand-dark);
  font-weight: 900;
}

.total-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  padding: 14px;
}

.total-box span {
  font-weight: 900;
}

.total-box strong {
  font-size: 24px;
  font-weight: 900;
}

.form-note {
  min-height: 20px;
  margin: 0;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
}

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

.info-grid div {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 12px;
}

.info-grid span,
.payment-address span,
.order-card span,
.user-box span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.info-grid strong {
  color: #0f172a;
  font-weight: 900;
  overflow-wrap: anywhere;
}

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

.screenshot-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 10px;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.screenshot-card:hover {
  border-color: rgba(225, 29, 72, 0.42);
  box-shadow: 0 10px 24px rgba(20, 32, 51, 0.09);
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.screenshot-card strong {
  font-size: 14px;
  font-weight: 900;
}

.gallery-dialog {
  width: min(1040px, calc(100% - 28px));
  max-height: calc(100% - 28px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.gallery-dialog::backdrop {
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(4px);
}

.gallery-frame {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #0f172a;
  color: #fff;
  box-shadow: var(--shadow);
}

.gallery-frame figure {
  display: grid;
  gap: 0;
  margin: 0;
}

.gallery-frame img {
  width: 100%;
  max-height: min(72vh, 720px);
  object-fit: contain;
  background: #020617;
}

.gallery-frame figcaption {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 22px;
  color: #e2e8f0;
  font-weight: 900;
}

.gallery-close,
.gallery-prev,
.gallery-next {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
}

.gallery-close {
  top: 12px;
  right: 12px;
}

.gallery-prev,
.gallery-next {
  top: 50%;
  transform: translateY(-50%);
}

.gallery-prev {
  left: 12px;
}

.gallery-next {
  right: 12px;
}

.demo-page {
  padding-bottom: 48px;
}

.demo-stage {
  background:
    linear-gradient(140deg, rgba(20, 32, 51, 0.96), rgba(21, 94, 117, 0.88)),
    url("images/catalog-hero.png");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.demo-stage-grid {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(460px, 1.2fr);
  align-items: center;
  gap: 34px;
  padding: 42px 0;
}

.demo-stage h1 {
  font-size: clamp(38px, 5vw, 64px);
}

.demo-browser {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.demo-browser-bar {
  display: flex;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
  padding: 12px;
}

.demo-browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cbd5e1;
}

.demo-canvas {
  min-height: 440px;
  padding: 20px;
}

.demo-front-preview,
.demo-admin-preview {
  min-height: 400px;
}

.demo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.demo-product-area {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding-top: 28px;
}

.demo-product-image {
  height: 220px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #0f766e, #e11d48);
  color: #fff;
  font-size: 58px;
  font-weight: 900;
}

.demo-product-area h2 {
  margin: 12px 0 10px;
  font-size: 34px;
  font-weight: 900;
}

.demo-product-area p {
  color: var(--muted);
  font-weight: 750;
}

.demo-admin-preview {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
}

.demo-admin-preview aside {
  display: grid;
  align-content: start;
  gap: 10px;
  border-radius: 8px;
  background: #0f172a;
  color: #dbeafe;
  padding: 16px;
}

.demo-admin-preview aside strong {
  color: #fff;
}

.demo-admin-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.demo-admin-heading h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
}

.demo-settings-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.demo-settings-grid label {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 12px;
  color: #334155;
  font-weight: 900;
}

.demo-settings-grid span {
  color: var(--muted);
  font-weight: 750;
}

.section-heading-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.comments-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.comment-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 12px;
}

.comment-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.comment-card span {
  color: #b45309;
  font-weight: 900;
}

.comment-card p {
  margin: 8px 0 0;
  color: #334155;
  font-weight: 750;
}

.account-page {
  padding-bottom: 48px;
}

.account-hero {
  background:
    linear-gradient(140deg, rgba(20, 32, 51, 0.96), rgba(21, 94, 117, 0.88)),
    url("images/catalog-hero.png");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.account-hero-grid {
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 34px;
  padding: 42px 0;
}

.account-hero h1 {
  max-width: 780px;
  font-size: clamp(36px, 5vw, 58px);
}

.account-hero-panel {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 22px;
  backdrop-filter: blur(16px);
}

.account-hero-panel strong {
  font-size: 22px;
  font-weight: 900;
}

.account-hero-panel span {
  color: #dbeafe;
  font-weight: 800;
}

.account-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding-top: 26px;
}

.auth-card.is-guest {
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
}

.auth-intro {
  max-width: 700px;
  margin-bottom: 20px;
}

.auth-intro h2 {
  margin-bottom: 8px;
}

.auth-intro p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.auth-tabs form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 18px;
}

.auth-tabs h2 {
  margin: 0 0 4px;
  font-size: 22px;
}

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

.guest-marketing article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 8px 22px rgba(20, 32, 51, 0.05);
}

.guest-marketing span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  background: #fff1f2;
  color: var(--brand-dark);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
}

.guest-marketing h3 {
  margin: 14px 0 8px;
  font-size: 20px;
  font-weight: 900;
}

.guest-marketing p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.signed-in-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.signed-in-header h2 {
  margin-bottom: 4px;
}

.signed-in-header p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.user-box,
.order-card,
.payment-address,
.payment-summary {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 14px;
}

.orders-list {
  display: grid;
  gap: 12px;
}

.order-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

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

.payment-box {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
}

.payment-address code {
  display: block;
  border-radius: 8px;
  background: #0f172a;
  color: #e2e8f0;
  padding: 12px;
  overflow-wrap: anywhere;
}

.payment-address img {
  width: 180px;
  max-width: 100%;
  border-radius: 8px;
  background: #fff;
}

.payment-warning {
  margin: 0;
  border: 1px solid #facc15;
  border-radius: 8px;
  background: #fffbeb;
  color: #854d0e;
  padding: 10px 12px;
  font-weight: 850;
}

.checkout-page {
  min-height: calc(100vh - 69px);
  padding-top: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 247, 249, 0)),
    radial-gradient(circle at top left, rgba(15, 143, 134, 0.12), transparent 34%),
    radial-gradient(circle at top right, rgba(215, 19, 69, 0.1), transparent 30%);
}

.checkout-shell {
  max-width: 1120px;
  margin: 0 auto;
}

.checkout-band {
  position: relative;
  overflow: hidden;
  border-color: #d9e1ec;
  background: rgba(255, 255, 255, 0.96);
  padding: 0;
  box-shadow: 0 24px 60px rgba(20, 32, 51, 0.11);
}

.checkout-band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--brand), #3157d5);
}

.checkout-band > .eyebrow,
.checkout-band > h1 {
  margin-left: 28px;
  margin-right: 28px;
}

.checkout-band > .eyebrow {
  margin-top: 28px;
}

.checkout-band > h1 {
  max-width: none;
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: 0;
}

.checkout-band .payment-box {
  padding: 0 28px 28px;
}

.checkout-band .payment-summary,
.checkout-band .payment-address {
  align-content: start;
  border-color: #dbe4ef;
  background: #f8fafc;
  padding: 18px;
}

.checkout-band .payment-summary {
  gap: 18px;
}

.payment-status-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(15, 143, 134, 0.24);
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 900;
}

.payment-status-pill span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.12);
}

.checkout-band .payment-summary h2 {
  margin: 0;
  color: #111827;
  font-size: 30px;
  line-height: 1.08;
}

.payment-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.payment-summary-grid .summary-item {
  min-width: 0;
  display: grid;
  gap: 4px;
  border: 1px solid #e1e8f2;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.payment-summary-grid .summary-order {
  grid-column: 1 / -1;
}

.payment-summary-grid span,
.payment-address-header span,
.payment-field span,
.payment-qr span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.payment-summary-grid strong {
  min-width: 0;
  color: #111827;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.payment-assurance {
  display: grid;
  gap: 10px;
  border-top: 1px solid #e1e8f2;
  padding-top: 16px;
}

.payment-assurance div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #334155;
  font-size: 14px;
  font-weight: 850;
}

.payment-assurance span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #0f766e;
  color: #fff;
  font-size: 12px;
}

.checkout-band .payment-address {
  gap: 16px;
  background: #fff;
}

.payment-address-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #e1e8f2;
  padding-bottom: 14px;
}

.payment-address-header strong {
  display: block;
  margin-top: 3px;
  color: #111827;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 900;
}

.network-badge {
  min-width: 74px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #101827;
  color: #fff;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
}

.payment-main-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.checkout-band .payment-qr {
  display: grid;
  justify-items: center;
  gap: 8px;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
}

.checkout-band .payment-address img {
  width: 156px;
  border: 8px solid #fff;
  box-shadow: 0 10px 26px rgba(20, 32, 51, 0.12);
}

.payment-qr span {
  color: #475569;
  text-align: center;
  text-transform: none;
}

.payment-fields {
  display: grid;
  gap: 12px;
}

.payment-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 10px;
  border: 1px solid #e1e8f2;
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
}

.payment-field strong {
  display: block;
  min-width: 0;
  color: #111827;
  font-size: 19px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.checkout-band .payment-address code {
  display: block;
  max-width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  background: #111827;
  color: #e5e7eb;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.55;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.copy-button {
  width: fit-content;
  max-width: 100%;
  min-height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.copy-button:hover {
  border-color: #94a3b8;
  background: #f1f5f9;
}

.checkout-band .payment-warning {
  border-color: #fbbf24;
  background: #fffbeb;
  color: #92400e;
}

.admin-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background: #eef4fb;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-right: 1px solid var(--line);
  background: #fff;
  padding: 22px;
}

.admin-sidebar nav {
  display: grid;
  gap: 8px;
}

.admin-sidebar nav a {
  min-height: 40px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  color: #334155;
  padding: 0 12px;
  font-weight: 900;
  text-decoration: none;
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a.is-active {
  background: #f1f5f9;
  color: var(--brand-dark);
}

.admin-main {
  min-width: 0;
  padding: 24px;
}

.admin-login {
  width: min(520px, 100%);
  margin: 8vh auto;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-topbar h1 {
  font-size: 42px;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-view {
  display: grid;
  gap: 18px;
}

.admin-view[hidden] {
  display: none;
}

.admin-grid.two {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 18px;
}

.admin-metric-card,
.admin-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 32, 51, 0.05);
}

.admin-metric-card {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.admin-metric-card span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-metric-card strong {
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.admin-section {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
  padding: 20px;
}

.admin-product-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 220px 180px;
  gap: 12px;
}

.admin-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-flags label {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0 12px;
  font-weight: 900;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-table td strong,
.admin-table td small {
  display: block;
}

.admin-table td small {
  color: #64748b;
  font-weight: 800;
}

.admin-pill {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  background: #fff1f2;
  color: var(--brand-dark);
  padding: 0 9px;
  font-size: 12px;
  font-weight: 900;
  margin: 0 4px 4px 0;
}

.admin-pill.is-draft {
  background: #eff6ff;
  color: #1d4ed8;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-stack-actions {
  display: grid;
  gap: 8px;
  min-width: 220px;
}

.admin-table select,
.admin-table input[type="text"] {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #172033;
  padding: 0 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.danger-button {
  border-color: #fecdd3;
  color: #be123c;
}

.danger-button:hover {
  border-color: #be123c;
  background: #fff1f2;
  color: #9f1239;
}

.admin-file {
  width: 220px;
  max-width: 100%;
}

.admin-detail-dialog {
  width: min(1080px, calc(100% - 28px));
  max-height: calc(100% - 28px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.admin-detail-dialog::backdrop {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
}

.admin-detail-frame {
  max-height: calc(100vh - 28px);
  overflow: auto;
}

.admin-detail-head {
  border-bottom: 1px solid var(--line);
  background: #f8fbff;
  padding: 24px 72px 18px 24px;
}

.admin-detail-head h2 {
  margin: 4px 0 0;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 900;
}

.admin-detail-body {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-detail-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.admin-detail-section h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 900;
}

.admin-detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.admin-detail-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
}

.admin-detail-list dt {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-detail-list dd {
  min-width: 0;
  margin: 0;
  color: #172033;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.admin-detail-notes {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-detail-notes li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 10px;
}

.admin-detail-notes strong,
.admin-detail-notes span {
  display: block;
}

.admin-json {
  max-height: 360px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0f172a;
  color: #dbeafe;
  padding: 14px;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.admin-table.compact {
  min-width: 680px;
}

.admin-feed {
  display: grid;
  gap: 10px;
}

.admin-feed-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 12px;
}

.admin-feed-item strong,
.admin-feed-item span {
  display: block;
}

.admin-feed-item span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.product-dialog::backdrop {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
}

.dialog-frame {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.close-dialog {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.dialog-hero {
  min-height: 220px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 34px 72px 26px 26px;
  color: #fff;
  background:
    linear-gradient(140deg, rgba(15, 23, 42, 0.32), rgba(15, 23, 42, 0.82)),
    var(--cover-image),
    linear-gradient(135deg, var(--accent-a), var(--accent-b));
  background-size: cover;
  background-position: center;
}

.dialog-hero h2 {
  max-width: 720px;
  margin: 0;
  font-size: 38px;
  line-height: 1.05;
  font-weight: 900;
}

.dialog-hero p {
  max-width: 760px;
  margin: 0;
  color: #e5eef8;
  font-weight: 800;
}

.dialog-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 22px;
  padding: 24px;
}

.detail-section {
  margin-bottom: 22px;
}

.detail-section h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
}

.detail-section p {
  margin: 0;
  color: #334155;
  font-weight: 700;
}

.feature-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 10px 12px;
  color: #334155;
  font-weight: 750;
}

.detail-panel {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 16px;
}

.detail-panel dl {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
}

.detail-panel dt {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-panel dd {
  margin: 2px 0 0;
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .store-hero-main,
  .hero-utility,
  .catalog-shell,
  .dialog-body,
  .detail-hero-grid,
  .demo-stage-grid,
  .detail-layout,
  .account-hero-grid,
  .payment-main-grid,
  .payment-box,
  .admin-app,
  .admin-detail-grid,
  .form-grid,
  .admin-grid.two,
  .admin-filters {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-hero-shell {
    min-height: auto;
    padding-top: 54px;
  }

  .store-hero::before {
    background:
      linear-gradient(90deg, rgba(15, 143, 134, 0.12) 1px, transparent 1px),
      linear-gradient(180deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
    background-size: 58px 58px;
  }

  .store-hero-copy h1 {
    font-size: clamp(40px, 8vw, 58px);
  }

  .filters {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .purchase-panel {
    position: static;
  }

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

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

@media (max-width: 680px) {
  .shell,
  .support-section {
    width: min(100% - 22px, 1220px);
  }

  .header-shell,
  .products-toolbar,
  .support-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .header-shell {
    gap: 10px;
    padding: 12px 0;
  }

  .top-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .store-hero-shell {
    gap: 18px;
    padding: 38px 0 24px;
  }

  .store-hero {
    min-height: auto;
  }

  .store-hero-main {
    gap: 18px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .store-hero-copy {
    min-height: auto;
    padding: 0;
  }

  .store-hero-copy h1 {
    max-width: 520px;
    font-size: 36px;
    line-height: 1;
  }

  .store-hero .hero-lead {
    font-size: 16px;
    line-height: 1.45;
  }

  .hero-search div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .hero-search input {
    min-width: 0;
    min-height: 46px;
    padding: 0 10px;
    font-size: 14px;
  }

  .hero-search .primary-button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0 14px;
  }

  .market-metrics,
  .hero-utility,
  .category-rail,
  .products-grid,
  .product-actions,
  .auth-tabs,
  .guest-marketing,
  .info-grid,
  .screenshots-grid,
  .demo-product-area,
  .demo-admin-preview,
  .payment-summary-grid,
  .payment-field,
  .order-card {
    grid-template-columns: 1fr;
  }

  .checkout-page {
    padding-top: 14px;
  }

  .checkout-band > .eyebrow,
  .checkout-band > h1 {
    margin-left: 16px;
    margin-right: 16px;
  }

  .checkout-band > .eyebrow {
    margin-top: 18px;
  }

  .checkout-band .payment-box {
    padding: 0 16px 16px;
  }

  .checkout-band .payment-summary,
  .checkout-band .payment-address {
    padding: 14px;
  }

  .payment-address-header {
    align-items: stretch;
    flex-direction: column;
  }

  .network-badge {
    width: fit-content;
  }

  .payment-field {
    align-items: stretch;
  }

  .copy-button {
    width: 100%;
    white-space: normal;
  }

  .category-strip-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .metric-tile {
    min-height: 92px;
  }

  .sort-field {
    min-width: 0;
  }

  .dialog-hero {
    padding: 64px 18px 22px;
  }

  .dialog-hero h2 {
    font-size: 30px;
  }

  .dialog-body {
    padding: 18px;
  }
}
