:root {
  --bg: #eef2ff;
  --bg-soft: #e0e7ff;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: #c7d2fe;
  --border-subtle: color-mix(in srgb, var(--border) 55%, transparent);
  --text: #1e1b4b;
  --muted: #64748b;
  --accent: #6366f1;
  --accent-2: #8b5cf6;
  --accent-soft: #e0e7ff;
  --accent-ink: #312e81;
  --warm: #fb7185;
  --warm-2: #fda4af;
  --success: #10b981;
  --warning: #f59e0b;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px rgba(99, 102, 241, 0.14);
  --shadow-card: 0 4px 6px rgba(30, 27, 75, 0.04), 0 12px 32px rgba(30, 27, 75, 0.07);
  --shadow-card-hover: 0 8px 12px rgba(30, 27, 75, 0.06), 0 22px 48px rgba(99, 102, 241, 0.12);
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Nunito", "DM Sans", system-ui, sans-serif;
  --focus: 0 0 0 3px rgba(99, 102, 241, 0.45);
  --max: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.02rem;
  font-weight: 400;
  font-optical-sizing: auto;
  background: radial-gradient(900px 500px at 0% 0%, rgba(251, 113, 133, 0.1), transparent),
    radial-gradient(780px 460px at 100% 8%, rgba(99, 102, 241, 0.12), transparent), var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent-2);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 800;
  z-index: 1000;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: min(var(--max), calc(100% - clamp(1rem, 3vw, 2.75rem)));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(1.2);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 8px 28px rgba(99, 102, 241, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
}

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

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--accent), var(--warm));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-badge {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--accent-soft), #fff);
  border: 1px solid var(--border-subtle);
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.1);
}

.brand-badge img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

@media (min-width: 480px) {
  .brand-badge {
    display: inline-flex;
  }
}

.nav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 800;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.14s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease,
    color 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.45);
  color: #fff;
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--surface-2);
}

.btn-sm {
  min-height: 42px;
  padding: 0.38rem 0.85rem;
  font-size: 0.88rem;
}

.btn-icon {
  width: 46px;
  min-height: 46px;
  padding: 0;
  border-radius: 50%;
}

.product-archived {
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--warm-2) 12%, var(--surface));
  color: var(--accent-ink);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
}

.section {
  padding: 1.25rem 0 2.75rem;
}

.section--catalog {
  padding-top: clamp(0.85rem, 2.6vw, 1.35rem);
  margin-top: clamp(0.75rem, 2.2vw, 1.35rem);
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, transparent 48%);
}

.section-head {
  margin-bottom: 1.15rem;
}

.section-head :is(h1, h2) {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--accent-ink);
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.section-head :is(h1, h2)::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 4px;
  margin-top: 0.4rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--warm));
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.35rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
  box-shadow: var(--shadow-card-hover);
}

.card-media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #eef2ff, #f1f5f9 55%, #e0e7ff);
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1.05rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
}

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

.card-title a:hover {
  color: var(--accent);
}

.card-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--accent-ink);
}

.card-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  border: 1px dashed color-mix(in srgb, var(--accent) 25%, var(--border));
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff 0%, var(--surface-2) 100%);
  color: var(--muted);
  box-shadow: var(--shadow-card);
}

.empty-state__visual {
  margin: 0 auto 1rem;
  max-width: 160px;
}

.empty-state__visual img {
  display: block;
  width: 100%;
  height: auto;
  margin-inline: auto;
}

.empty-state strong {
  color: var(--text);
}

/* FPS blocks */
.fps-ribbon {
  background: linear-gradient(100deg, var(--surface-2), color-mix(in srgb, var(--accent-soft) 88%, #fff)));
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 0.65rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.fps-ribbon__label {
  display: block;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.fps-rows {
  display: grid;
  gap: 0.35rem;
}

.fps-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) auto;
  gap: 0.35rem 0.5rem;
  align-items: center;
}

.fps-row__game {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fps-row__track {
  height: 10px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.fps-row__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--warm));
  min-width: 6%;
  transition: width 0.35s ease;
}

.fps-row__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--accent-ink);
  min-width: 2.2rem;
  text-align: right;
}

.fps-panel {
  background: linear-gradient(180deg, #fff, var(--surface-2));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 1.25rem;
}

.fps-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.fps-panel__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--accent-ink);
}

.fps-panel__hint {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.fps-panel .fps-rows {
  gap: 0.55rem;
}

.fps-panel .fps-row__game {
  font-size: 0.88rem;
}

.fps-panel .fps-row__num {
  font-size: 1.15rem;
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.75rem 0;
  margin-top: 1.5rem;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 88%, var(--bg)), var(--bg));
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.footer-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-ink);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.3rem;
}

.footer-list a {
  color: color-mix(in srgb, var(--text) 78%, var(--muted));
  text-decoration: none;
}

.footer-list a:hover {
  color: var(--text);
  text-decoration: underline;
}

.footer-list--tight li {
  line-height: 1.45;
}

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

.footer-brand__row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-brand__badge {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border-subtle));
  flex-shrink: 0;
}

.footer-brand__badge img {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
}

.footer-brand__copy {
  min-width: 0;
}

.footer-brand__name {
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  font-size: 1rem;
}

.footer-brand__tagline {
  margin: 0.2rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}

.footer-about {
  margin: 0.75rem 0 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--muted) 88%, var(--text));
  max-width: 42ch;
}

.footer-phone {
  color: var(--muted);
}

.footer-phoneLink {
  color: color-mix(in srgb, var(--text) 78%, var(--muted));
  text-decoration: none;
}

.footer-phoneLink:hover {
  color: var(--text);
  text-decoration: underline;
}

.legal {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.legal-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  line-height: 1.45;
}

.legal-sep {
  opacity: 0.55;
}

@media (max-width: 520px) {
  .legal-row {
    flex-direction: column;
    gap: 0.2rem;
  }

  .legal-sep {
    display: none;
  }
}

/* Product */
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 1.25rem;
  padding: 1rem 0 2.5rem;
  align-items: start;
}

@media (max-width: 920px) {
  .product-layout {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1180px) {
  .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 821px) and (max-width: 1179px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 641px) and (max-width: 820px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.gallery {
  display: grid;
  gap: 0.65rem;
}

.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(145deg, #eef2ff, #e0e7ff);
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-card);
}

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

.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.45rem;
}

.thumb {
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: #e2e8f0;
  min-height: 56px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.thumb[aria-pressed="true"],
.thumb.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}

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

.spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.spec-table th,
.spec-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-size: 0.88rem;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table th {
  width: 36%;
  color: var(--muted);
  font-weight: 800;
  background: var(--surface-2);
}

.sticky-buy {
  position: sticky;
  top: 5.25rem;
  background: linear-gradient(165deg, #fff, var(--surface-2));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 0.65rem;
}

.sticky-buy .price {
  font-size: 1.5rem;
}

.stock-ok {
  color: var(--success);
  font-weight: 800;
  font-size: 0.82rem;
}

.stock-bad {
  color: var(--warning);
  font-weight: 800;
  font-size: 0.82rem;
}

.breadcrumb {
  list-style: none;
  padding: 0;
  margin: 0 0 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.85rem;
}

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

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

.lead {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 52ch;
}

.notice {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  color: var(--muted);
  box-shadow: var(--shadow-card);
}

.product-layout > div > h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  color: var(--accent-ink);
}

.section-head--catalog {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.section-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 70%, var(--muted));
}

.catalog-summary {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: right;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(200px, 0.9fr) auto;
  gap: 0.75rem;
  align-items: end;
  margin-bottom: 0.9rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field--grow,
.product-main {
  min-width: 0;
}

.field__label {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.field__control {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.field__control::placeholder {
  color: color-mix(in srgb, var(--muted) 75%, transparent);
}

.catalog-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.catalog-toggle input {
  margin: 0;
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent);
}

.catalog-filters {
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(165deg, #fff, var(--surface-2));
  box-shadow: var(--shadow-card);
}

.catalog-filters__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 0.75rem;
  margin-bottom: 0.75rem;
}

.catalog-filters__label {
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.catalog-reset {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.catalog-reset:hover {
  color: var(--accent-2);
  text-decoration: underline;
}

.tag-filter-list,
.card-tags,
.product-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--surface-2) 88%, var(--accent-soft) 12%);
  color: var(--accent-ink);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

button.tag-chip {
  font: inherit;
  cursor: pointer;
}

.tag-chip--interactive {
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.tag-chip--interactive:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  background: color-mix(in srgb, var(--accent-soft) 28%, #fff);
}

.tag-chip--interactive.is-active,
.tag-chip--interactive[aria-pressed="true"] {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.22);
}

.tag-chip__count {
  opacity: 0.82;
  font-size: 0.72em;
}

.noscript-notice {
  margin-top: 1rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-pill--ok {
  color: var(--success);
  border-color: color-mix(in srgb, var(--success) 35%, var(--border));
  background: color-mix(in srgb, var(--success) 8%, #fff);
}

.status-pill--wait {
  color: var(--warning);
  border-color: color-mix(in srgb, var(--warning) 35%, var(--border));
  background: color-mix(in srgb, var(--warning) 10%, #fff);
}

.status-pill--sold {
  color: var(--muted);
  background: color-mix(in srgb, var(--surface-2) 90%, var(--muted) 4%);
}

.card-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-specs,
.product-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.55rem;
}

.card-spec,
.product-highlight {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--surface-2) 90%, var(--accent-soft) 10%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.card-spec dt,
.product-highlight dt {
  margin: 0 0 0.22rem;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.card-spec dd,
.product-highlight dd {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--accent-ink);
}

.card-actions .btn-primary {
  flex: 1 1 100%;
}

.card-actions .btn-sm {
  flex: 1 1 calc(50% - 0.225rem);
}

.empty-state__copy {
  margin: 0.35rem auto 0;
  max-width: 36ch;
}

.empty-state__actions,
.notice__actions {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.section--tight {
  padding: 0 0 1.5rem;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.gallery-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.gallery-main--empty {
  display: grid;
  place-items: center;
}

.gallery-empty {
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.spec-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
}

.buy-note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.45;
}

.sticky-buy .btn {
  width: 100%;
}

@media (max-width: 920px) {
  .sticky-buy {
    position: static;
    top: auto;
  }
}

@media (max-width: 860px) {
  .catalog-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-toggle {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .catalog-summary {
    text-align: left;
  }
}

@media (max-width: 680px) {
  .spec-table,
  .spec-table tbody,
  .spec-table tr,
  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
  }

  .spec-table {
    border: none;
    background: transparent;
    box-shadow: none;
  }

  .spec-table tr {
    display: grid;
    gap: 0.28rem;
    padding: 0.8rem 0.9rem;
    margin-bottom: 0.55rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    background: var(--surface);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  }

  .spec-table th,
  .spec-table td {
    padding: 0;
    border: 0;
  }

  .spec-table th {
    width: auto;
    background: none;
  }
}

@media (max-width: 640px) {
  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .catalog-toggle {
    justify-content: flex-start;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .sticky-buy {
    border-radius: 18px;
  }

  .card-body {
    padding: 0.95rem;
  }

  .card-actions .btn,
  .empty-state__actions .btn,
  .notice__actions .btn {
    width: 100%;
  }

  .card-specs,
  .product-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(var(--max), calc(100% - 1rem));
  }

  .brand-mark {
    font-size: 1.08rem;
  }

  .price,
  .sticky-buy .price {
    font-size: 1.32rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  .card:hover {
    transform: none;
  }

  .btn:active {
    transform: none;
  }

  .thumb,
  .tag-chip--interactive,
  .fps-row__fill {
    transition: none;
  }
}

.notice-error {
  border-color: color-mix(in srgb, var(--warm) 55%, var(--border));
}

.hint {
  color: var(--muted);
  font-size: 0.82rem;
}
