:root {
  --bg: #08090c;
  --panel: #11141a;
  --panel-2: #171b22;
  --text: #f7f3ea;
  --muted: #a8afbd;
  --line: rgba(255, 255, 255, 0.12);
  --cyan: #4fd3ff;
  --lime: #b9f45f;
  --deal: #a8ff3e;
  --deal-soft: rgba(168, 255, 62, 0.14);
  --pink: #ff6eb4;
  --gold: #ffd166;
  --red: #ff5f57;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --tight-shadow: 0 14px 38px rgba(0, 0, 0, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(79, 211, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 80% 10%, rgba(255, 110, 180, 0.14), transparent 28rem),
    linear-gradient(180deg, #08090c 0%, #0d0f14 50%, #08090c 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.age-gate-pending {
  overflow: hidden;
}

body.age-gate-pending .site-header,
body.age-gate-pending main,
body.age-gate-pending .site-footer {
  visibility: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 72%);
}

.tech-canvas,
.scan-overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.tech-canvas {
  opacity: 0.64;
}

.scan-overlay {
  z-index: -1;
  opacity: 0.36;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(79, 211, 255, 0.08) 46%, transparent 51%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 6px);
  mix-blend-mode: screen;
  animation: scanDrift 16s linear infinite;
}

@keyframes scanDrift {
  from {
    transform: translate3d(-8%, -4%, 0);
  }

  to {
    transform: translate3d(8%, 4%, 0);
  }
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(18px, 5vw, 48px);
  background:
    radial-gradient(circle at 28% 20%, rgba(79, 211, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 74% 74%, rgba(255, 110, 180, 0.16), transparent 26rem),
    rgba(8, 9, 12, 0.9);
  backdrop-filter: blur(18px);
}

.age-gate[hidden] {
  display: none;
}

.age-gate-panel {
  position: relative;
  width: min(100%, 560px);
  overflow: hidden;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid rgba(79, 211, 255, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(17, 20, 26, 0.96);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.52),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.age-gate-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(79, 211, 255, 0.58), transparent 28% 72%, rgba(185, 244, 95, 0.44)) top / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(255, 110, 180, 0.5), transparent 38% 68%, rgba(79, 211, 255, 0.42)) right / 1px 100% no-repeat;
}

.age-gate-panel h2 {
  font-size: clamp(2.3rem, 7vw, 4.8rem);
}

.age-gate-panel p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
}

.age-gate-panel a {
  color: var(--cyan);
  font-weight: 800;
}

.age-gate-panel a:hover {
  color: var(--lime);
}

.age-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 12, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-actions,
.catalog-toolbar,
.filter-group,
.primary-action,
.secondary-action,
.icon-button {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-logo {
  width: 40px;
  height: 40px;
  display: block;
  flex: 0 0 auto;
}

.brand-logo-wide {
  width: clamp(154px, 18vw, 230px);
  height: 56px;
  object-fit: contain;
  object-position: left center;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(79, 211, 255, 0.5);
  border-radius: 8px;
  color: #061016;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  box-shadow: 0 0 30px rgba(79, 211, 255, 0.28);
}

.site-nav {
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--cyan);
}

.icon-button {
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.icon-button:hover {
  border-color: rgba(79, 211, 255, 0.65);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(72px, 9vw, 128px) clamp(18px, 5vw, 72px) clamp(44px, 7vw, 84px);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(18px, 4vw, 60px);
  bottom: 34px;
  width: min(46vw, 620px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 211, 255, 0.72), transparent);
  box-shadow:
    0 0 26px rgba(79, 211, 255, 0.48),
    0 -84px 120px rgba(255, 110, 180, 0.12);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  font-size: clamp(4.1rem, 15vw, 11rem);
  line-height: 0.82;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
}

.hero-text {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.primary-action,
.secondary-action {
  gap: 10px;
  min-height: 48px;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 800;
}

.primary-action {
  color: #081016;
  background: var(--lime);
}

.primary-action:hover {
  background: var(--cyan);
}

.secondary-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.secondary-action:hover {
  border-color: rgba(255, 255, 255, 0.34);
}

.hero-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  min-height: 610px;
  padding: clamp(16px, 2.4vw, 24px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.025)),
    var(--panel);
  box-shadow: var(--shadow);
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: auto -12% -22% 18%;
  height: 58%;
  background:
    linear-gradient(90deg, transparent 10%, rgba(79, 211, 255, 0.6), transparent 90%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 22px);
  transform: perspective(520px) rotateX(62deg) skewX(-14deg);
  transform-origin: bottom;
  opacity: 0.58;
}

.hero-showcase::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 24px;
  width: 110px;
  height: 110px;
  border: 2px solid rgba(255, 209, 102, 0.78);
  border-radius: 18px;
  transform: rotate(10deg);
  box-shadow: 0 0 36px rgba(255, 209, 102, 0.2), inset 0 0 30px rgba(255, 110, 180, 0.18);
}

.hero-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orbit span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #081016;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  box-shadow: 0 0 32px rgba(79, 211, 255, 0.22);
}

.hero-orbit span:nth-child(1) {
  right: 26%;
  top: 24px;
}

.hero-orbit span:nth-child(2) {
  right: 12px;
  top: 39%;
  background: linear-gradient(135deg, var(--gold), var(--pink));
}

.hero-orbit span:nth-child(3) {
  left: 18px;
  bottom: 28%;
  background: linear-gradient(135deg, var(--pink), var(--cyan));
}

.hero-orbit span:nth-child(4) {
  right: 24%;
  bottom: 18px;
  background: linear-gradient(135deg, var(--lime), var(--gold));
}

.showcase-kicker,
.product-category,
.product-price {
  position: relative;
  z-index: 1;
}

.showcase-kicker {
  display: block;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.featured-header {
  position: relative;
  z-index: 2;
  max-width: 26rem;
  min-height: 116px;
  padding-right: 94px;
}

.featured-header strong {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 20rem;
  margin-top: 12px;
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1.08;
}

.featured-header small {
  z-index: 1;
  display: block;
  margin-top: 12px;
  color: rgba(247, 243, 234, 0.78);
}

.featured-products {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 86px;
  gap: 12px;
  align-content: end;
  min-height: 440px;
}

.featured-product {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(8, 9, 12, 0.78);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.34);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.featured-product:hover {
  border-color: rgba(79, 211, 255, 0.72);
  background: rgba(16, 22, 30, 0.86);
  transform: translateY(-3px);
}

.featured-thumb {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  padding: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(79, 211, 255, 0.08), rgba(255, 110, 180, 0.07)),
    #0c1016;
}

.featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.featured-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 6px 8px;
  border: 1px solid rgba(168, 255, 62, 0.7);
  border-radius: 999px;
  color: var(--deal);
  background: var(--deal-soft);
  box-shadow: 0 0 18px rgba(168, 255, 62, 0.22);
  font-size: 0.76rem;
  font-weight: 900;
}

.featured-product strong {
  position: static;
  display: -webkit-box;
  overflow: hidden;
  padding: 0 74px 0 0;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.featured-product small {
  align-self: start;
  margin-top: -6px;
  padding-right: 74px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-1 {
  grid-column: 1 / 12;
  grid-row: span 1;
}

.feature-2 {
  grid-column: 3 / 13;
  grid-row: span 1;
}

.feature-3 {
  grid-column: 1 / 10;
  grid-row: span 1;
}

.feature-4 {
  grid-column: 5 / 13;
  grid-row: span 1;
}

.feature-5 {
  grid-column: 2 / 11;
  grid-row: span 1;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.metrics-strip div {
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.045);
}

.metrics-strip strong {
  display: block;
  font-size: clamp(1.7rem, 4vw, 3.2rem);
  line-height: 1;
}

.metrics-strip span {
  color: var(--muted);
}

.catalog-section,
.creator-section,
.workflow-section {
  padding: clamp(70px, 10vw, 120px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

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

.category-link-grid a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(17, 20, 26, 0.62);
  font-size: 0.84rem;
  font-weight: 900;
}

.category-link-grid a:hover {
  border-color: rgba(79, 211, 255, 0.5);
  color: var(--cyan);
  background: rgba(79, 211, 255, 0.08);
}

.category-link-grid i {
  color: var(--gold);
}

.catalog-toolbar {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  padding: clamp(14px, 2vw, 18px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(79, 211, 255, 0.07), transparent 28%),
    rgba(17, 20, 26, 0.74);
  backdrop-filter: blur(16px);
  box-shadow: var(--tight-shadow);
}

.catalog-toolbar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.search-control {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 360px;
  min-width: min(100%, 280px);
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.2);
}

.search-control input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.filter-group {
  display: flex;
  flex: 1 1 380px;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip,
.source-filter,
.tag-filter,
.smart-filter,
.quick-filters button {
  height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.filter-chip:hover,
.filter-chip.active,
.source-filter:hover,
.source-filter.active,
.tag-filter:hover,
.tag-filter.active,
.smart-filter:hover,
.smart-filter.active,
.quick-filters button:hover {
  color: #081016;
  border-color: var(--cyan);
  background: var(--cyan);
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.sort-control select {
  height: 40px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--panel);
}

.page-size-control select {
  min-width: 86px;
}

.filter-drawer {
  border: 1px solid rgba(79, 211, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 9, 12, 0.26);
  overflow: hidden;
}

.filter-drawer > summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  cursor: pointer;
  list-style: none;
}

.filter-drawer > summary::-webkit-details-marker {
  display: none;
}

.filter-drawer > summary span {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--text);
  font-weight: 900;
}

.filter-drawer > summary strong {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-drawer > summary > i {
  color: var(--cyan);
  transition: transform 160ms ease;
}

.filter-drawer[open] > summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(79, 211, 255, 0.055);
}

.filter-drawer[open] > summary > i {
  transform: rotate(180deg);
}

.advanced-filters {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(220px, 0.8fr) minmax(220px, 0.7fr);
  gap: 10px;
  padding: 12px;
}

.filter-block {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(8, 9, 12, 0.36);
  overflow: hidden;
}

.filter-block[open] {
  padding-bottom: 12px;
}

.filter-block summary {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  cursor: pointer;
  list-style: none;
}

.filter-block summary::-webkit-details-marker {
  display: none;
}

.filter-block summary i {
  color: var(--muted);
  font-size: 0.82rem;
  transition: transform 160ms ease, color 160ms ease;
}

.filter-block[open] summary i {
  color: var(--cyan);
  transform: rotate(180deg);
}

.filter-block summary:hover .filter-label,
.filter-block summary:hover i {
  color: var(--lime);
}

.filter-block-wide {
  grid-column: span 2;
}

.filter-label {
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.segmented-control,
.quick-filters,
.tag-filter-list,
.toggle-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-group,
.segmented-control,
.quick-filters,
.tag-filter-list,
.toggle-list,
.price-range,
.select-filter-control {
  margin-inline: 12px;
}

.filter-block select,
.price-range input {
  width: 100%;
  height: 40px;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  outline: 0;
  background: var(--panel);
}

.select-filter-control {
  display: grid;
  gap: 7px;
}

.select-filter-control span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

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

.price-range label {
  display: grid;
  gap: 5px;
}

.price-range span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.tag-filter {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toggle-list {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.toggle-list label {
  display: flex;
  gap: 8px;
  align-items: center;
}

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

.reset-filters {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.reset-filters:hover {
  border-color: rgba(255, 255, 255, 0.34);
}

.filter-status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 36px;
  color: var(--muted);
  font-size: 0.88rem;
}

.active-filters {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.active-filter {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid rgba(79, 211, 255, 0.38);
  border-radius: 999px;
  color: var(--text);
  background: rgba(79, 211, 255, 0.08);
  font-size: 0.74rem;
  font-weight: 800;
}

.active-filter button {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #081016;
  background: var(--cyan);
  cursor: pointer;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.catalog-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.catalog-pager-top {
  justify-content: flex-end;
  margin-top: 14px;
}

.catalog-page-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  font-weight: 900;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.catalog-page-button:hover:not(:disabled) {
  border-color: rgba(79, 211, 255, 0.66);
  background: rgba(79, 211, 255, 0.12);
  transform: translateY(-1px);
}

.catalog-page-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.catalog-page-status {
  min-width: 150px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
}

.catalog-group {
  margin-top: clamp(34px, 6vw, 72px);
}

.collapsible-catalog-group {
  display: block;
}

.catalog-group-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.collapsible-catalog-group > summary {
  cursor: pointer;
  list-style: none;
}

.collapsible-catalog-group > summary::-webkit-details-marker {
  display: none;
}

.catalog-group-heading h3 {
  font-size: clamp(1.45rem, 3vw, 2.4rem);
}

.catalog-group-heading a,
.inline-link {
  color: var(--cyan);
  font-weight: 800;
}

.catalog-heading-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.catalog-heading-actions i {
  color: var(--cyan);
  transition: transform 160ms ease;
}

.collapsible-catalog-group[open] .catalog-heading-actions i {
  transform: rotate(180deg);
}

.catalog-group-heading a:hover,
.inline-link:hover {
  color: var(--lime);
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--tight-shadow);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.product-card:hover {
  border-color: rgba(79, 211, 255, 0.45);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  transform: translateY(-2px);
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  padding: 10px;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 110, 180, 0.2), transparent 28%),
    radial-gradient(circle at 76% 30%, rgba(185, 244, 95, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(79, 211, 255, 0.16), rgba(255, 209, 102, 0.07)),
    #0c1016;
}

.product-media:hover {
  outline: 1px solid rgba(79, 211, 255, 0.46);
  outline-offset: -1px;
}

.product-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 6px;
  object-fit: contain;
}

.product-media.no-image::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.2) 48% 52%, transparent 52%),
    linear-gradient(0deg, transparent 0 48%, rgba(255, 255, 255, 0.2) 48% 52%, transparent 52%);
  transform: perspective(600px) rotateX(58deg) rotateZ(-8deg);
}

.product-media.no-image::after {
  content: attr(data-initials);
  position: absolute;
  right: 22px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  color: #081016;
  background: linear-gradient(135deg, var(--gold), var(--pink));
  font-size: 1rem;
  font-weight: 900;
}

.product-body {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 10px;
  padding: 13px;
}

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

.product-category {
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid rgba(168, 255, 62, 0.55);
  border-radius: 999px;
  color: var(--deal);
  background: var(--deal-soft);
  box-shadow: 0 0 18px rgba(168, 255, 62, 0.18);
  font-weight: 900;
}

.product-card h3 {
  display: -webkit-box;
  min-height: 2.3em;
  overflow: hidden;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 1rem;
}

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

.product-card h3 a:hover {
  color: var(--cyan);
}

.creator-name {
  margin-top: -5px;
  color: color-mix(in srgb, var(--default-color, #f7f3ea), transparent 42%);
  font-size: 0.78rem;
  font-weight: 800;
}

.product-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.84rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-self: end;
}

.tag-list span {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(247, 243, 234, 0.78);
  font-size: 0.7rem;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-self: end;
}

.product-link,
.preview-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 8px;
  font-weight: 800;
}

.product-link {
  gap: 10px;
  color: #081016;
  background: var(--text);
}

.product-link:hover {
  background: var(--lime);
}

.preview-link {
  width: 40px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.community-priority-panel {
  margin: 22px 0;
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid rgba(79, 211, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(79, 211, 255, 0.08), transparent 38%),
    rgba(9, 11, 16, 0.74);
  box-shadow: var(--tight-shadow);
}

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

.priority-column {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.priority-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.priority-heading i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.05);
}

.priority-heading h4 {
  margin: 0 0 3px;
  font-size: 1rem;
}

.priority-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

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

.priority-product {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 3px 10px;
  align-items: center;
  min-height: 76px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.priority-product:hover {
  border-color: rgba(185, 244, 95, 0.38);
  background: rgba(185, 244, 95, 0.07);
}

.priority-product span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.priority-product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.priority-product strong,
.priority-product small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.priority-product strong {
  font-size: 0.86rem;
}

.priority-product small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.priority-price {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 2px 7px;
  border: 1px solid rgba(168, 255, 62, 0.5);
  border-radius: 999px;
  color: var(--deal);
  background: var(--deal-soft);
  box-shadow: 0 0 14px rgba(168, 255, 62, 0.16);
  font-weight: 900;
}

.priority-product-empty span {
  color: var(--gold);
  font-size: 1.4rem;
}

.product-detail {
  width: min(1320px, calc(100% - 28px));
  margin: 0 auto;
  padding: 124px 0 84px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--cyan);
}

.product-detail-stack {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
}

.product-detail-hero {
  display: grid;
  gap: clamp(16px, 3vw, 28px);
  padding: clamp(22px, 3.6vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(13, 17, 24, 0.96), rgba(17, 20, 28, 0.78)),
    radial-gradient(circle at 78% 22%, rgba(163, 255, 79, 0.14), transparent 28%),
    radial-gradient(circle at 16% 86%, rgba(79, 211, 255, 0.1), transparent 30%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
}

.product-detail-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(163, 255, 79, 0.72), rgba(79, 211, 255, 0.54), transparent);
}

.product-detail-head {
  max-width: 980px;
}

.product-detail-head .eyebrow {
  margin-bottom: 12px;
}

.product-detail-head h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.25rem, 5.1vw, 5.15rem);
  line-height: 0.96;
}

.product-detail-head .creator-name {
  margin-top: 16px;
}

.product-purchase-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(5, 7, 10, 0.54);
  backdrop-filter: blur(14px);
}

.product-purchase-panel .detail-tag-list {
  grid-column: 1 / -1;
}

.product-media-showcase {
  padding: clamp(10px, 1.8vw, 18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(7, 10, 14, 0.66);
}

.product-detail-media {
  display: block;
}

.product-gallery {
  display: grid;
  gap: 12px;
}

.product-gallery-stage {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.product-detail-media-frame {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 28% 18%, rgba(79, 211, 255, 0.18), transparent 28%),
    radial-gradient(circle at 78% 28%, rgba(255, 209, 102, 0.14), transparent 26%),
    rgba(11, 13, 18, 0.86);
  box-shadow: var(--tight-shadow);
  margin: 0;
}

.product-detail-media-frame:first-child {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.product-gallery-slide {
  display: none;
}

.product-gallery-slide.is-active {
  display: grid;
}

.product-detail-media-frame img,
.product-detail-media-frame video,
.product-detail-media-frame iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
  display: block;
}

.product-detail-media-frame video,
.product-detail-media-frame iframe {
  background: #05070a;
}

.product-gallery-nav {
  display: grid;
  place-items: center;
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: var(--text);
  background: rgba(5, 7, 10, 0.68);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(-50%);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.product-gallery-nav:hover {
  border-color: rgba(163, 255, 79, 0.52);
  background: rgba(10, 14, 18, 0.86);
  transform: translateY(-50%) scale(1.03);
}

.product-gallery-prev {
  left: 14px;
}

.product-gallery-next {
  right: 14px;
}

.product-gallery-counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--text);
  background: rgba(5, 7, 10, 0.7);
  font-size: 0.76rem;
  font-weight: 900;
}

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 124px));
  gap: 8px;
  justify-content: center;
}

.product-gallery-thumbs button {
  display: grid;
  place-items: center;
  min-height: 56px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(5, 7, 10, 0.58);
  transition: border-color 160ms ease, transform 160ms ease, color 160ms ease;
}

.product-gallery-thumbs button:hover,
.product-gallery-thumbs button.is-active {
  border-color: rgba(163, 255, 79, 0.7);
  color: var(--lime);
  transform: translateY(-1px);
}

.product-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-thumbs i {
  font-size: 1.3rem;
}

.product-detail-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  color: #081016;
  background: linear-gradient(135deg, var(--gold), var(--pink));
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  font-weight: 900;
}

.product-detail-summary {
  max-width: 100%;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.75;
}

.product-description-panel {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(17, 20, 26, 0.78);
}

.product-description-panel h2 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1;
}

.product-detail-summary > * {
  margin: 0 0 1rem;
}

.product-detail-summary > *:last-child {
  margin-bottom: 0;
}

.product-detail-summary h2,
.product-detail-summary h3,
.product-detail-summary h4 {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.25;
  margin-top: 1.5rem;
}

.product-detail-summary ul,
.product-detail-summary ol {
  padding-left: 1.25rem;
}

.product-detail-summary li + li {
  margin-top: 0.35rem;
}

.product-detail-summary a {
  color: var(--cyan);
  text-decoration: none;
}

.product-detail-summary a:hover {
  text-decoration: underline;
}

.product-detail-summary blockquote {
  border-left: 2px solid rgba(99, 217, 255, 0.55);
  padding-left: 1rem;
  color: var(--text);
}

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

.product-detail-meta span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  font-weight: 900;
}

.product-detail-meta .price-chip {
  border-color: rgba(168, 255, 62, 0.62);
  color: var(--deal);
  background: var(--deal-soft);
  box-shadow: 0 0 18px rgba(168, 255, 62, 0.2);
}

.detail-actions {
  max-width: none;
}

.creator-section {
  background: rgba(255, 255, 255, 0.02);
}

.creator-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: 20px;
  align-items: start;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 20, 26, 0.72);
  box-shadow: var(--tight-shadow);
}

.creator-copy p,
.creator-status {
  color: var(--muted);
}

.creator-actions {
  display: grid;
  gap: 12px;
}

.creator-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(8, 9, 12, 0.52);
}

.creator-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.creator-form label span {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.creator-form input {
  width: 100%;
  height: 46px;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  outline: 0;
  background: rgba(0, 0, 0, 0.28);
}

.creator-form input:focus {
  border-color: rgba(79, 211, 255, 0.72);
}

.creator-form button {
  border: 0;
  cursor: pointer;
}

.creator-form button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.danger-form label span {
  color: var(--red);
}

.creator-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  font-size: 0.92rem;
}

.creator-status[data-tone="success"] {
  color: var(--lime);
}

.creator-status[data-tone="error"] {
  color: var(--red);
}

.admin-hero,
.admin-section {
  padding: clamp(70px, 10vw, 120px) clamp(18px, 5vw, 72px);
}

.admin-hero {
  max-width: 1080px;
}

.admin-hero h1 {
  max-width: 960px;
  font-size: clamp(2.8rem, 8vw, 7rem);
  line-height: 0.9;
}

.admin-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.admin-section {
  padding-top: 0;
}

.admin-locked .admin-section {
  min-height: 58vh;
}

.admin-protected {
  transition: filter 180ms ease, opacity 180ms ease;
}

.admin-locked .admin-protected {
  filter: blur(10px);
  opacity: 0.16;
  pointer-events: none;
  user-select: none;
}

.admin-login,
.admin-tool-panel {
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 20, 26, 0.72);
  box-shadow: var(--tight-shadow);
}

.admin-tool-panel-wide {
  margin-top: 18px;
}

.admin-login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  max-width: 760px;
}

.admin-locked .admin-login {
  position: relative;
  z-index: 5;
  max-width: 560px;
  margin: clamp(56px, 9vw, 112px) auto 0;
  background: rgba(10, 13, 19, 0.94);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(162, 255, 80, 0.12);
}

.admin-locked #adminStatus {
  position: relative;
  z-index: 5;
  max-width: 560px;
  margin: 14px auto 0;
}

.admin-login label,
.admin-remove-grid label,
.admin-bulk-form label {
  display: grid;
  gap: 8px;
}

.admin-login label span,
.admin-remove-grid label span,
.admin-bulk-form label span {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-login input,
.admin-remove-grid select,
.admin-bulk-form input,
.admin-bulk-form select,
.admin-bulk-form textarea {
  width: 100%;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  outline: 0;
  background: rgba(0, 0, 0, 0.28);
}

.admin-login input,
.admin-remove-grid select,
.admin-bulk-form input,
.admin-bulk-form select {
  height: 46px;
}

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

.admin-bulk-form textarea {
  min-height: 168px;
  padding: 12px;
  line-height: 1.45;
  resize: vertical;
}

.admin-bulk-lines,
.admin-bulk-form button {
  grid-column: 1 / -1;
}

.admin-bulk-form button {
  justify-self: start;
}

.admin-dashboard {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.admin-stats div {
  padding: clamp(16px, 3vw, 24px);
  background: rgba(255, 255, 255, 0.045);
}

.admin-stats strong {
  display: block;
  font-size: clamp(1.6rem, 4vw, 3rem);
  line-height: 1;
}

.admin-stats span,
.admin-product-row p {
  color: var(--muted);
}

.admin-tools {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 16px;
  align-items: start;
}

.admin-refresh-panel {
  max-width: 760px;
  margin-top: 18px;
}

.admin-tool-panel h2 {
  margin: 0 0 16px;
  font-size: clamp(1.25rem, 3vw, 2rem);
}

.admin-tool-copy {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.admin-action-result {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.5;
}

.admin-action-result[data-tone="pending"] {
  color: var(--cyan);
}

.admin-action-result[data-tone="success"] {
  color: var(--lime);
}

.admin-action-result[data-tone="error"] {
  color: var(--red);
}

.admin-remove-grid {
  display: grid;
  gap: 12px;
}

.danger-action {
  color: var(--text);
  border-color: rgba(255, 95, 87, 0.42);
  background: rgba(255, 95, 87, 0.12);
}

.danger-action:hover {
  border-color: var(--red);
  background: rgba(255, 95, 87, 0.22);
}

.admin-review-actions {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.admin-review-actions .secondary-action {
  width: fit-content;
}

.admin-review-actions .admin-action-result {
  margin-top: 0;
}

.admin-search {
  width: 100%;
  margin-bottom: 14px;
}

.admin-product-list {
  display: grid;
  gap: 10px;
  max-height: 720px;
  overflow: auto;
  padding-right: 4px;
}

.admin-product-row {
  display: grid;
  grid-template-columns: auto 68px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(8, 9, 12, 0.36);
}

.admin-product-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--cyan);
}

.admin-product-thumb {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
}

.admin-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.admin-product-row h3 {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.admin-product-row p {
  margin: 5px 0 8px;
  font-size: 0.84rem;
}

.guide-hero,
.guide-section,
.terms-hero,
.terms-section {
  padding: clamp(70px, 10vw, 120px) clamp(18px, 5vw, 72px);
}

.guide-hero,
.terms-hero {
  max-width: 1080px;
}

.terms-hero {
  margin-inline: auto;
  text-align: center;
}

.terms-hero h1 {
  max-width: 960px;
  font-size: clamp(2.8rem, 8vw, 7rem);
  line-height: 0.9;
}

.guide-hero h1 {
  max-width: 820px;
  font-size: clamp(2.15rem, 5vw, 4.65rem);
  line-height: 0.98;
}

.terms-hero h1,
.terms-hero p {
  margin-inline: auto;
}

.guide-hero p,
.terms-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.category-intro {
  padding: 0 clamp(18px, 5vw, 72px) clamp(46px, 7vw, 84px);
}

.category-intro-inner {
  max-width: 980px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(79, 211, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.category-intro h2 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  line-height: 1.02;
}

.category-intro p:not(.eyebrow) {
  max-width: 860px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.guide-hero .primary-action {
  display: inline-flex;
  width: auto;
  max-width: max-content;
  margin-top: 8px;
}

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

.guide-grid article,
.safety-list,
.guide-steps {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 20, 26, 0.72);
  box-shadow: var(--tight-shadow);
}

.guide-grid article span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--lime);
  font-weight: 900;
}

.guide-grid p,
.safety-list p,
.guide-steps p {
  color: var(--muted);
}

.safety-list,
.guide-steps {
  display: grid;
  gap: 14px;
  max-width: 980px;
}

.terms-section {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding-top: 0;
}

.terms-section article {
  width: min(100%, 1040px);
  max-width: 1040px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 20, 26, 0.72);
  box-shadow: var(--tight-shadow);
}

.terms-section h2 {
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.terms-section p {
  margin: 14px 0 0;
  color: var(--muted);
}

.workflow-section {
  background: rgba(255, 255, 255, 0.035);
}

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

.workflow-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 9, 12, 0.42);
}

.workflow-grid i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #081016;
  background: var(--gold);
  font-size: 1.2rem;
}

.workflow-grid p {
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.seo-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  max-width: 980px;
  font-size: 0.82rem;
}

.seo-footer-links span {
  color: var(--text);
  font-weight: 900;
}

.seo-footer-links a {
  color: var(--muted);
}

.empty-state {
  margin-top: 24px;
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}

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

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

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

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

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

@media (max-width: 900px) {
  .featured-products {
    min-height: 420px;
  }

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

  .product-detail-head h1 {
    max-width: 100%;
  }

  .product-purchase-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .metrics-strip,
  .category-link-grid,
  .product-grid,
  .guide-grid,
  .workflow-grid,
  .priority-grid {
    grid-template-columns: 1fr;
  }

  .catalog-group-heading {
    align-items: start;
    flex-direction: column;
  }

  .catalog-pager {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-pager-top {
    align-items: stretch;
  }

  .catalog-page-status {
    order: -1;
    min-width: 0;
  }

  .hero-showcase {
    min-height: 0;
  }

  .featured-header {
    min-height: 120px;
  }

  .featured-products {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    min-height: 0;
  }

  .featured-product {
    grid-column: 1 / -1;
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 92px;
    margin-bottom: 10px;
    transform: none;
  }

  .featured-thumb {
    width: 92px;
    height: 92px;
  }

  .featured-product:hover {
    transform: translateY(-2px);
  }

  .catalog-toolbar {
    position: static;
  }

  .advanced-filters,
  .price-range {
    grid-template-columns: 1fr;
  }

  .filter-block-wide {
    grid-column: auto;
  }

  .filter-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .active-filters {
    justify-content: flex-start;
  }

  .product-card {
    min-height: 0;
  }

  .product-detail {
    width: min(100% - 18px, 1320px);
    padding-top: 118px;
  }

  .product-detail-hero,
  .product-description-panel {
    padding: 18px;
  }

  .product-detail-head h1 {
    font-size: clamp(2.15rem, 13vw, 4rem);
  }

  .product-detail-media-frame:first-child {
    aspect-ratio: 16 / 9;
  }

  .product-gallery-nav {
    width: 38px;
    height: 48px;
  }

  .product-gallery-prev {
    left: 8px;
  }

  .product-gallery-next,
  .product-gallery-counter {
    right: 8px;
  }

  .product-gallery-counter {
    bottom: 8px;
  }

  .creator-panel,
  .admin-login,
  .admin-tools,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .creator-panel,
  .creator-form,
  .admin-login,
  .admin-bulk-form,
  .admin-tools,
  .admin-stats,
  .admin-product-row {
    grid-template-columns: 1fr;
  }

  .admin-product-row .preview-link {
    width: 100%;
  }
}

@media (max-width: 440px) {
  .brand span:last-child {
    font-size: 0.92rem;
  }

  .hero-actions,
  .age-gate-actions,
  .primary-action,
  .secondary-action,
  .product-actions {
    width: 100%;
  }

  .primary-action,
  .secondary-action {
    justify-content: center;
  }
}
