/* Studio Bigman — record-shelf homepage (off-white, hairline grid) */
:root {
  --shelf-bg: #f4f0e8;
  --shelf-surface: #faf8f4;
  --shelf-ink: #1a1a1a;
  --shelf-muted: #6b6560;
  --shelf-line: #d4cfc4;
  --shelf-accent: #00ff9d;
  --shelf-font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --shelf-font-mono: "DM Mono", ui-monospace, monospace;
}

body.index-shelf {
  background: var(--shelf-bg) !important;
  color: var(--shelf-ink) !important;
  font-family: var(--shelf-font-sans) !important;
  font-size: 15px;
  line-height: 1.5;
}

body.index-shelf #boot-overlay {
  display: none !important;
}

body.index-shelf #main-content.shelf-entry-pending {
  opacity: 0 !important;
  pointer-events: none !important;
}

body.index-shelf #main-content:not(.shelf-entry-pending) {
  opacity: 1 !important;
  pointer-events: auto !important;
}

body.index-shelf html,
body.index-shelf {
  scroll-behavior: smooth;
}

body.index-shelf .skip-link {
  background: var(--shelf-surface);
  color: var(--shelf-ink);
  border-color: var(--shelf-line);
}

body.index-shelf .skip-link:focus {
  outline-color: var(--shelf-ink);
}

/* ── Header ── */
body.index-shelf #site-header.site-header-bar {
  background: rgba(244, 240, 232, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--shelf-line);
  box-shadow: none;
}

body.index-shelf .shelf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 768px) {
  body.index-shelf .shelf-header-inner.mobile-header-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, auto);
    grid-template-rows: auto auto;
    grid-template-areas:
      "brand meta"
      "nav nav";
    align-items: center;
    gap: 8px 10px;
  }

  body.index-shelf .mobile-header-brand {
    grid-area: brand;
  }

  body.index-shelf .mobile-header-actions {
    grid-area: nav;
    width: 100%;
  }

  body.index-shelf .mobile-header-meta {
    grid-area: meta;
  }
}

body.index-shelf .shelf-header-meta #disco-ball,
body.index-shelf .shelf-header-meta #settings-btn,
body.index-shelf .shelf-header-meta #header-tempo-toggle,
body.index-shelf .shelf-header-meta .mobile-header-meta-icon-wrap:has(#disco-ball),
body.index-shelf .shelf-header-meta .mobile-header-meta-icon-wrap:has(#header-tempo-toggle) {
  display: none !important;
}

body.index-shelf .mobile-header-brand {
  font-family: var(--shelf-font-mono) !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em;
  color: var(--shelf-ink) !important;
  text-transform: lowercase;
}

body.index-shelf .mobile-header-brand:hover {
  color: var(--shelf-muted) !important;
}

body.index-shelf .header-btn {
  font-family: var(--shelf-font-mono) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: var(--shelf-muted) !important;
  border: none !important;
  background: transparent !important;
  padding: 0.35rem 0.5rem !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.index-shelf .header-btn:hover {
  color: var(--shelf-ink) !important;
  background: transparent !important;
}

body.index-shelf #auth-btn.header-btn {
  border: 1px solid var(--shelf-line) !important;
  border-radius: 999px !important;
  padding: 0.4rem 0.9rem !important;
  color: var(--shelf-ink) !important;
  background: var(--shelf-surface) !important;
}

body.index-shelf #auth-btn.header-btn:hover {
  background: #ebe6dc !important;
}

body.index-shelf .mobile-header-actions-track {
  gap: 0.15rem 0.75rem;
}

body.index-shelf #disco-ball,
body.index-shelf #settings-btn,
body.index-shelf #header-tempo-toggle {
  opacity: 0.35;
}

body.index-shelf .tools-dropdown-panel {
  background: var(--shelf-surface);
  border-color: var(--shelf-line);
  color: var(--shelf-ink);
}

body.index-shelf .tools-dropdown-panel a {
  color: var(--shelf-muted);
}

body.index-shelf .tools-dropdown-panel a:hover {
  color: var(--shelf-ink);
  background: rgba(26, 26, 26, 0.04);
}

/* ── Hero ── */
body.index-shelf .shelf-hero {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 3rem;
  border-bottom: 1px solid var(--shelf-line);
}

body.index-shelf .shelf-hero-eyebrow {
  font-family: var(--shelf-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shelf-muted);
  margin: 0 0 1.25rem;
}

body.index-shelf .shelf-hero-title {
  font-family: var(--shelf-font-sans);
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--shelf-ink);
}

body.index-shelf .shelf-hero-pitch {
  font-size: 1.05rem;
  color: var(--shelf-muted);
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

body.index-shelf .shelf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--shelf-font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--shelf-line);
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

body.index-shelf .shelf-btn-primary {
  background: var(--shelf-ink);
  color: var(--shelf-surface);
  border-color: var(--shelf-ink);
}

body.index-shelf .shelf-btn-primary:hover {
  background: #333;
  border-color: #333;
}

body.index-shelf .shelf-btn-secondary {
  background: transparent;
  color: var(--shelf-ink);
}

body.index-shelf .shelf-btn-secondary:hover {
  background: rgba(26, 26, 26, 0.05);
}

body.index-shelf .shelf-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--shelf-line);
  max-width: 42rem;
}

body.index-shelf .shelf-stat {
  padding: 1.1rem 1.25rem;
  border-right: 1px solid var(--shelf-line);
}

body.index-shelf .shelf-stat:last-child {
  border-right: none;
}

body.index-shelf .shelf-stat-num {
  display: block;
  font-family: var(--shelf-font-sans);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--shelf-ink);
  margin-bottom: 0.2rem;
}

body.index-shelf .shelf-stat-label {
  font-family: var(--shelf-font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shelf-muted);
}

body.index-shelf .shelf-terminal-stub {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

/* ── Catalog shell ── */
body.index-shelf .shelf-page-wrap,
body.index-shelf .shelf-contact-inner {
  max-width: 72rem;
}

body.index-shelf #products-section {
  padding-top: 1.5rem !important;
  background: var(--shelf-bg);
}

body.index-shelf #products-section > .shelf-page-wrap,
body.index-shelf #products-section > .max-w-4xl {
  max-width: 72rem !important;
}

body.index-shelf .section-separator {
  border-color: var(--shelf-line) !important;
}

body.index-shelf .section-header,
body.index-shelf .product-category-title {
  font-family: var(--shelf-font-mono) !important;
  font-size: 0.68rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--shelf-muted) !important;
  margin-bottom: 0.75rem !important;
}

body.index-shelf .product-category-description {
  display: block;
  font-family: var(--shelf-font-sans);
  font-size: 0.9rem;
  color: var(--shelf-muted);
  margin: 0 0 0.85rem;
  line-height: 1.45;
  max-width: 36rem;
}

body.index-shelf .shelf-category-header {
  margin-bottom: 0.25rem;
}

body.index-shelf .shelf-category-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

body.index-shelf .shelf-category-header .product-category-title {
  margin-bottom: 0 !important;
  font-size: 0.75rem !important;
  color: #fff !important;
  letter-spacing: 0.12em !important;
}

body.index-shelf .product-category-section .product-category-title {
  color: #fff !important;
}

body.index-shelf .shelf-catalog-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}

body.index-shelf .shelf-catalog-nav--compact {
  margin: 0;
  flex-shrink: 0;
}

body.index-shelf .shelf-catalog-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.4rem 0.85rem;
  font-family: var(--shelf-font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: var(--shelf-ink);
  transition:
    color 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

body.index-shelf .shelf-catalog-nav-link:hover {
  color: var(--shelf-ink);
  border-color: #fff;
  background: #fff;
}

body.index-shelf #filter-container:not(.hidden) ~ .shelf-catalog-nav,
body.index-shelf #products-loading:not([hidden]) ~ .shelf-catalog-nav {
  display: none;
}

body.index-shelf .catalog-link-shell {
  border: none;
  background: transparent;
  box-shadow: none;
}

body.index-shelf .filter-panel-sticky {
  background: var(--shelf-bg);
  border-bottom: 1px solid var(--shelf-line);
  padding: 0 0 1.25rem;
  margin-bottom: 0;
  position: sticky;
  top: calc(
    var(--studio-header-stack, var(--shelf-header-stack, 9.75rem)) +
      env(safe-area-inset-top, 0px)
  );
  z-index: 20;
}

body.index-shelf .filter-sort-reset-row {
  margin-top: 0.75rem;
}

body.index-shelf .filter-extra-filters-details,
body.index-shelf .filter-collapsible {
  border: none !important;
  background: transparent !important;
}

body.index-shelf .filter-section-summary {
  font-family: var(--shelf-font-mono) !important;
  font-size: 0.68rem !important;
  color: var(--shelf-muted) !important;
  letter-spacing: 0.06em;
  border-left: none !important;
  background: transparent !important;
}

body.index-shelf .filter-genre-pill-row {
  gap: 0.4rem !important;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

body.index-shelf #filter-container:not(.hidden) {
  margin-bottom: 0;
}

body.index-shelf .product-category-section {
  margin-top: 0 !important;
  scroll-margin-top: calc(
    var(--studio-header-stack, var(--shelf-header-stack, 9.75rem)) +
      env(safe-area-inset-top, 0px) + 1.5rem
  );
}

body.index-shelf .product-category-section + .product-category-section {
  margin-top: 2.5rem !important;
}

body.index-shelf .product-card-meta-line {
  font-family: var(--shelf-font-mono);
  font-size: 0.68rem;
  color: var(--shelf-muted);
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
}

body.index-shelf .product-card-genres:empty {
  display: none !important;
}

body.index-shelf .filter-header-row {
  align-items: baseline;
}

body.index-shelf .shelf-catalog-view-all {
  flex: 0 0 auto;
  margin-left: auto;
}

body.index-shelf .filter-results-count {
  font-family: var(--shelf-font-mono);
  font-size: 0.68rem;
  color: var(--shelf-muted);
}

body.index-shelf .filter-input {
  font-family: var(--shelf-font-sans) !important;
  background: #e8e4dc !important;
  border: none !important;
  border-radius: 999px !important;
  color: var(--shelf-ink) !important;
  padding: 0.85rem 1.25rem !important;
  font-size: 0.9rem !important;
  box-shadow: none !important;
}

body.index-shelf .filter-input::placeholder {
  color: #9a948c !important;
}

body.index-shelf .filter-sort-pill span,
body.index-shelf .filter-genre-pill span {
  font-family: var(--shelf-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

body.index-shelf .filter-sort-pill,
body.index-shelf .filter-genre-pill {
  border-radius: 999px !important;
  border: 1px solid var(--shelf-line) !important;
  background: transparent !important;
  color: var(--shelf-muted) !important;
}

body.index-shelf .filter-sort-pill:has(input:checked),
body.index-shelf .filter-genre-pill:has(input:checked) {
  background: var(--shelf-ink) !important;
  border-color: var(--shelf-ink) !important;
  color: var(--shelf-surface) !important;
}

body.index-shelf .filter-sort-pill:has(input:checked) span,
body.index-shelf .filter-genre-pill:has(input:checked) span {
  color: var(--shelf-surface) !important;
}

body.index-shelf .filter-clear-all-btn {
  font-family: var(--shelf-font-mono);
  font-size: 0.68rem;
  color: var(--shelf-muted);
  border-color: var(--shelf-line);
}

/* ── Beat shelf grid (hairline dividers) ── */
body.index-shelf .products-scroll-container {
  position: relative;
}

body.index-shelf .products-scroll-container .scroll-btn {
  display: none !important;
}

body.index-shelf .products-scroll-row {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
  padding: 0 !important;
  border-top: 1px solid var(--shelf-line);
  border-left: 1px solid var(--shelf-line);
}

body.index-shelf .product-card-minimal {
  width: auto !important;
  flex: none !important;
  margin: 0 !important;
  padding: 1.25rem !important;
  background: var(--shelf-bg) !important;
  border: none !important;
  border-right: 1px solid var(--shelf-line) !important;
  border-bottom: 1px solid var(--shelf-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  scroll-snap-align: unset !important;
}

body.index-shelf .product-card-minimal:hover {
  transform: none !important;
  background: var(--shelf-surface) !important;
  box-shadow: none !important;
}

body.index-shelf .product-card-image-wrapper {
  border-radius: 0 !important;
  border: none !important;
  background: #e8e4dc !important;
  box-shadow: none !important;
}

body.index-shelf .product-card-image {
  border-radius: 0 !important;
}

body.index-shelf .product-card-minimal:hover .product-card-image {
  transform: none !important;
  opacity: 1 !important;
}

body.index-shelf .product-card-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(26, 26, 26, 0.28);
  color: var(--shelf-surface);
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.18s ease;
  cursor: pointer;
  z-index: 2;
  pointer-events: none;
}

body.index-shelf .product-card-minimal:hover .product-card-play-overlay {
  opacity: 1;
}

body.index-shelf .product-card-name {
  font-family: var(--shelf-font-sans) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: var(--shelf-ink) !important;
  letter-spacing: -0.01em !important;
  margin-top: 0.5rem !important;
  margin-bottom: 0.35rem !important;
  text-align: center !important;
  min-width: 0 !important;
  max-width: 100% !important;
  max-height: none !important;
  min-height: 0 !important;
  overflow: visible !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  line-height: 1.35 !important;
}

body.index-shelf .product-card-meta-tag,
body.index-shelf .product-card-genre-tag {
  font-family: var(--shelf-font-mono) !important;
  font-size: 0.62rem !important;
  color: var(--shelf-muted) !important;
  background: var(--shelf-surface) !important;
  border: 1px solid var(--shelf-line) !important;
  border-radius: 999px !important;
  padding: 0.2rem 0.55rem !important;
  margin: 0 !important;
  line-height: 1.2;
  white-space: nowrap;
}

body.index-shelf .product-card-genres {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.35rem !important;
  margin-top: 0.5rem !important;
  margin-bottom: 0.15rem !important;
  padding: 0 !important;
  text-align: center;
  width: 100%;
}

body.index-shelf .product-card-price {
  font-family: var(--shelf-font-sans) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: var(--shelf-ink) !important;
  margin-top: 0.65rem !important;
}

body.index-shelf .product-card-price--free {
  color: var(--shelf-muted) !important;
}

body.index-shelf .product-card-price--coins {
  color: var(--shelf-ink) !important;
}

body.index-shelf .product-card-price--coins span:first-child {
  color: inherit !important;
}

body.index-shelf .product-card-price--free {
  color: var(--shelf-muted) !important;
}

body.index-shelf .product-card-stats,
body.index-shelf .product-card-rating {
  display: none !important;
}

body.index-shelf .product-card-minimal {
  position: relative;
  min-width: 0;
  overflow: visible;
}

body.index-shelf .product-card-meta-tag {
  display: inline-flex !important;
}

body.index-shelf .product-card-genres:has(.product-card-meta-tag) {
  position: static;
}

@media (max-width: 560px) {
  body.index-shelf .products-scroll-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.index-shelf .shelf-hero {
    padding-top: 1rem;
  }
}

/* Now playing — sole accent use */
body.index-shelf .td-card-inner.td-playing .td-hero-cover::after,
body.index-shelf #turntable-display.td-active .td-hero-cover::after {
  content: "";
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--shelf-accent);
  box-shadow: 0 0 0 3px rgba(0, 255, 157, 0.25);
}

/* ── Turntable panel ── */
body.index-shelf #turntable-display .td-card-inner {
  background: var(--shelf-surface);
  border: none;
  border-radius: 0;
  box-shadow: none;
}

body.index-shelf #turntable-display .turntable-panel-body {
  background: var(--shelf-surface);
  border: 1px solid var(--shelf-line);
  border-radius: 0;
  box-shadow: none;
}

body.index-shelf .td-hero-cover {
  background: #e8e4dc;
}

body.index-shelf #turntable-display {
  margin-bottom: 2rem;
}

body.index-shelf .td-title,
body.index-shelf .td-type-badge,
body.index-shelf .turntable-meta-inline {
  font-family: var(--shelf-font-sans) !important;
  color: var(--shelf-ink) !important;
}

body.index-shelf .td-btn-play--circle {
  color: var(--bg) !important;
}

body.index-shelf .scheduled-beats-ticker {
  border: 1px solid var(--shelf-line);
  background: var(--shelf-surface);
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
}

body.index-shelf .scheduled-beats-ticker-label {
  color: var(--shelf-muted) !important;
}

body.index-shelf .featured-product-ad {
  margin-bottom: 1.25rem;
}

/* ── Contact ── */
body.index-shelf .shelf-contact-section {
  border-top: 1px solid var(--shelf-line);
  padding: 3rem 1.5rem 2rem;
  background: var(--shelf-bg);
}

body.index-shelf .shelf-contact-inner {
  margin: 0 auto;
}

body.index-shelf .shelf-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--shelf-line);
}

body.index-shelf .shelf-contact-block {
  padding: 1.5rem 1.75rem;
}

body.index-shelf .shelf-contact-block + .shelf-contact-block {
  border-left: 1px solid var(--shelf-line);
}

body.index-shelf .shelf-contact-label {
  font-family: var(--shelf-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shelf-muted);
  margin: 0 0 0.85rem;
  font-weight: 500;
}

body.index-shelf .shelf-contact-line {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

body.index-shelf .shelf-contact-line a {
  color: var(--shelf-ink);
  text-decoration: none;
}

body.index-shelf .shelf-contact-line a:hover {
  text-decoration: underline;
}

body.index-shelf .shelf-contact-social {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

body.index-shelf .shelf-contact-social a {
  display: inline-block;
  color: var(--shelf-ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

body.index-shelf .shelf-contact-social a:hover {
  text-decoration: underline;
}

body.index-shelf .shelf-contact-sep {
  margin: 0 0.35rem;
  color: var(--shelf-line);
}

body.index-shelf .shelf-contact-hint {
  font-size: 0.85rem;
  color: var(--shelf-muted);
  margin: 0 0 0.85rem;
}

body.index-shelf .shelf-email-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

body.index-shelf .shelf-email-form input {
  flex: 1 1 12rem;
  min-width: 0;
  font-family: var(--shelf-font-sans);
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: 999px;
  background: #e8e4dc;
  color: var(--shelf-ink);
}

body.index-shelf .shelf-email-form input::placeholder {
  color: #9a948c;
}

body.index-shelf .shelf-email-form button {
  font-family: var(--shelf-font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--shelf-ink);
  background: var(--shelf-ink);
  color: var(--shelf-surface);
  cursor: pointer;
}

body.index-shelf .shelf-email-form button:hover {
  background: #333;
}

body.index-shelf .shelf-email-status {
  font-family: var(--shelf-font-mono);
  font-size: 0.68rem;
  color: var(--shelf-muted);
  margin: 0.5rem 0 0;
  min-height: 1rem;
}

/* ── Footer ── */
body.index-shelf footer {
  background: var(--shelf-bg) !important;
  border-color: var(--shelf-line) !important;
  color: var(--shelf-muted) !important;
  font-family: var(--shelf-font-mono) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.04em;
  padding-top: 1.5rem !important;
  padding-bottom: 2rem !important;
}

body.index-shelf footer .max-w-4xl {
  max-width: 72rem !important;
}

body.index-shelf footer a {
  color: var(--shelf-muted) !important;
}

body.index-shelf footer a:hover {
  color: var(--shelf-ink) !important;
}

/* ── Modals / misc ── */
body.index-shelf .settings-modal .settings-content {
  background: var(--shelf-surface);
  border-color: var(--shelf-line);
  color: var(--shelf-ink);
}

body.index-shelf .explore-menu-panel {
  background: var(--shelf-surface);
  color: var(--shelf-ink);
  border-color: var(--shelf-line);
}

body.index-shelf .explore-menu-title,
body.index-shelf #explore-menu-title {
  font-family: var(--shelf-font-sans) !important;
  font-weight: 600;
}

body.index-shelf .explore-menu-btn-primary {
  background: var(--shelf-ink) !important;
  border-color: var(--shelf-ink) !important;
  color: var(--shelf-surface) !important;
}

body.index-shelf .products-loading,
body.index-shelf #products-loading {
  font-family: var(--shelf-font-mono);
  font-size: 0.68rem;
  color: var(--shelf-muted) !important;
  padding: 1.25rem 0 2rem;
  text-align: left;
}

body.index-shelf .catalog-load-state[hidden] {
  display: none !important;
}

body.index-shelf .catalog-skeleton-section + .catalog-skeleton-section {
  margin-top: 1.75rem;
}

body.index-shelf .catalog-skeleton-label {
  width: 4.5rem;
  height: 0.55rem;
  margin-bottom: 0.85rem;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--shelf-line) 0%,
    #e8e4dc 45%,
    var(--shelf-line) 90%
  );
  background-size: 200% 100%;
  animation: catalog-skeleton-shimmer 1.35s ease-in-out infinite;
}

body.index-shelf .catalog-skeleton-label--short,
body.index-shelf .catalog-skeleton-label--beats {
  width: 4.5rem;
}

body.index-shelf .catalog-skeleton-label--kits {
  width: 3.25rem;
}

body.index-shelf .catalog-skeleton-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body.index-shelf .catalog-skeleton-card {
  border: 1px solid var(--shelf-line);
  border-radius: 4px;
  background: #fff;
  padding: 14px;
  padding-bottom: 2.75rem;
  min-height: 12.5rem;
  position: relative;
  overflow: hidden;
}

body.index-shelf .catalog-skeleton-card::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 0.75rem;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--shelf-bg) 0%,
    #e8e4dc 45%,
    var(--shelf-bg) 90%
  );
  background-size: 200% 100%;
  animation: catalog-skeleton-shimmer 1.35s ease-in-out infinite;
}

body.index-shelf .catalog-skeleton-card::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 1.25rem;
  height: 0.55rem;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--shelf-bg) 0%,
    #e8e4dc 45%,
    var(--shelf-bg) 90%
  );
  background-size: 200% 100%;
  animation: catalog-skeleton-shimmer 1.35s ease-in-out infinite;
  animation-delay: 0.15s;
}

@keyframes catalog-skeleton-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@media (max-width: 900px) {
  body.index-shelf .catalog-skeleton-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body.index-shelf .catalog-skeleton-row {
    grid-template-columns: 1fr;
  }

  body.index-shelf .catalog-skeleton-card {
    min-height: 10.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.index-shelf .catalog-skeleton-label,
  body.index-shelf .catalog-skeleton-card::before,
  body.index-shelf .catalog-skeleton-card::after {
    animation: none;
    background: var(--shelf-bg);
  }
}

body.index-shelf .shelf-hidden {
  display: none !important;
}

@media (max-width: 1200px) {
  body.index-shelf .products-scroll-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.index-shelf .products-scroll-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.index-shelf .shelf-stats {
    grid-template-columns: 1fr;
  }

  body.index-shelf .shelf-stat {
    border-right: none;
    border-bottom: 1px solid var(--shelf-line);
  }

  body.index-shelf .shelf-stat:last-child {
    border-bottom: none;
  }

  body.index-shelf .shelf-contact-grid {
    grid-template-columns: 1fr;
  }

  body.index-shelf .shelf-contact-block + .shelf-contact-block {
    border-left: none;
    border-top: 1px solid var(--shelf-line);
  }
}

body.index-shelf .shelf-header-extra {
  /* games, network, tools — secondary nav */
}

@media (min-width: 561px) {
  body.index-shelf .shelf-header-extra {
    display: inline-flex;
  }
}
