@import url("https://fonts.googleapis.com/css2?family=Geologica:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: dark;
  --bg: #0a0d14;
  --bg-elevated: #111724;
  --panel: #121a29;
  --panel-soft: #172133;
  --panel-muted: #0f1522;
  --border: rgba(170, 188, 220, 0.14);
  --border-strong: rgba(170, 188, 220, 0.24);
  --text: #f5f8ff;
  --muted: #94a4c2;
  --accent: #2d8cff;
  --accent-soft: rgba(45, 140, 255, 0.14);
  --buy: #16c05f;
  --buy-soft: rgba(22, 192, 95, 0.14);
  --gold: #ffbf47;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --shell: min(1280px, calc(100vw - 32px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Geologica", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(45, 140, 255, 0.14), transparent 32%),
    radial-gradient(circle at top right, rgba(22, 192, 95, 0.1), transparent 28%),
    linear-gradient(180deg, #0b0f17 0%, #090d14 48%, #080a11 100%);
}

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

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

[hidden] {
  display: none !important;
}

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

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.narrow-shell {
  width: min(920px, calc(100vw - 32px));
  margin: 0 auto;
}

.site-main {
  padding-bottom: 60px;
}

.section {
  padding: 28px 0;
}

.section--compact {
  padding: 18px 0 12px;
}

.section--top {
  padding-top: 20px;
}

.section--soft {
  background: linear-gradient(180deg, rgba(15, 21, 34, 0.74), rgba(11, 16, 26, 0.5));
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(10, 13, 20, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}

.brand,
.brand--footer {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 1.08rem;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.market-search {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  height: 52px;
  padding: 0 12px 0 16px;
  background: #f5f7fb;
  color: #1a2436;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.market-search__icon,
.page-head__icon,
.collection-card__icon {
  display: inline-grid;
  place-items: center;
}

.market-search__icon {
  width: 26px;
  height: 26px;
  color: #5a6577;
}

.market-search__icon svg,
.page-head__icon svg,
.collection-card__icon svg,
.chip svg {
  width: 100%;
  height: 100%;
}

.market-search__text {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.98rem;
}

.market-search__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  height: 40px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.main-nav__link,
.site-header__badge,
.chip,
.filter-chip {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.main-nav__link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: 160ms ease;
}

.main-nav__link:hover,
.main-nav__link.is-active {
  color: var(--text);
  border-color: rgba(45, 140, 255, 0.34);
  background: rgba(45, 140, 255, 0.12);
}

.site-header__badge {
  justify-self: end;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

.breadcrumbs__sep {
  opacity: 0.5;
}

.page-kicker,
.section-label,
.eyebrow {
  margin: 0 0 10px;
  color: #79b7ff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-intro,
.page-head,
.sidebar-card,
.content-card,
.info-card,
.step-card,
.product-card,
.purchase-panel,
.product-media,
.highlight-card,
.review-card,
.faq-item,
.collection-card__inner {
  background: linear-gradient(180deg, rgba(24, 33, 50, 0.94), rgba(16, 22, 34, 0.96));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.page-intro,
.page-head {
  border-radius: var(--radius-xl);
  padding: 24px 26px;
}

.page-intro--home {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.page-intro h1,
.page-head h1,
.section-bar h2,
.collection-card h2,
.content-card h2 {
  margin: 0;
  line-height: 1.05;
}

.page-intro h1,
.page-head h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
}

.page-intro__lead,
.page-head p,
.content-card p,
.info-card p,
.step-card p,
.review-card p {
  color: #d5dded;
  line-height: 1.65;
}

.page-intro__lead,
.page-head p {
  max-width: 860px;
  margin: 14px 0 0;
}

.page-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-head__title {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.page-head__icon,
.collection-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: #badaff;
  background: rgba(45, 140, 255, 0.12);
  border: 1px solid rgba(122, 183, 255, 0.16);
  flex: none;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.collection-card__inner {
  position: relative;
  display: block;
  min-height: 190px;
  padding: 22px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease;
}

.collection-card__inner > * {
  position: relative;
  z-index: 1;
}

.collection-card__inner::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(45, 140, 255, 0.22), transparent 70%);
  pointer-events: none;
}

.collection-card__inner:hover,
.product-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.collection-card__badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  margin: 14px 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.82rem;
}

.collection-card h2 {
  font-size: 1.35rem;
}

.collection-card p {
  max-width: 460px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.section-bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-bar--spaced {
  margin-top: 22px;
}

.section-bar h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

.section-bar__links,
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.inline-links--stack {
  flex-direction: column;
  align-items: flex-start;
}

.text-link,
.inline-links a,
.footer-links a {
  color: #8fc2ff;
}

.text-link:hover,
.inline-links a:hover,
.footer-links a:hover {
  color: #cbe2ff;
}

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

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

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

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  min-height: 100%;
  transition: transform 160ms ease, border-color 160ms ease;
}

.product-card__media {
  display: block;
  aspect-ratio: 16 / 11;
  background: linear-gradient(180deg, #101625, #0b0f1a);
}

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

.product-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 15px;
}

.product-card__chips,
.product-summary__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #dce6f8;
  font-size: 0.84rem;
}

.chip--ghost {
  color: var(--muted);
}

.chip--icon svg {
  width: 16px;
  height: 16px;
}

.product-card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #c3d0e4;
  font-size: 0.82rem;
}

.product-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.product-card__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.product-card__rating,
.rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.product-card__rating {
  color: var(--muted);
  font-size: 0.83rem;
}

.rating-stars {
  position: relative;
  width: 88px;
  height: 16px;
  color: rgba(255, 255, 255, 0.18);
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 1;
}

.rating-stars::before {
  content: "★★★★★";
}

.rating-stars span {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  color: var(--gold);
  white-space: nowrap;
}

.rating-stars span::before {
  content: "★★★★★";
}

.product-card__buy {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-card__price {
  font-size: 1.18rem;
  font-weight: 800;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  transition: transform 160ms ease, opacity 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
}

.button--buy {
  background: var(--buy);
}

.button--full {
  width: 100%;
}

.listing-layout,
.policy-layout,
.seo-layout,
.product-top,
.product-body {
  display: grid;
  gap: 18px;
}

.listing-layout,
.policy-layout,
.seo-layout,
.product-body {
  grid-template-columns: 300px minmax(0, 1fr);
}

.product-top {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}

.product-top__main {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.8fr);
  gap: 18px;
}

.listing-sidebar,
.product-side,
.seo-layout__side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.listing-sidebar {
  position: sticky;
  top: 92px;
  align-self: start;
}

.sidebar-card,
.content-card,
.info-card,
.step-card,
.purchase-panel,
.product-media,
.highlight-card,
.review-card {
  border-radius: var(--radius-lg);
}

.sidebar-card,
.content-card,
.info-card,
.step-card,
.purchase-panel,
.review-card {
  padding: 18px;
}

.product-media {
  overflow: hidden;
  padding: 12px;
  aspect-ratio: 16 / 11;
  background: linear-gradient(180deg, #101625, #0b0f1a);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
}

.product-summary {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px 4px;
}

.product-summary h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.product-summary__lead {
  margin: 0;
  color: #d9e2f1;
  line-height: 1.65;
}

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

.highlight-card {
  padding: 14px 16px;
}

.highlight-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.highlight-card strong {
  font-size: 1rem;
}

.purchase-panel__price {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
}

.purchase-panel__note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.stack-list {
  margin-top: 18px;
}

.stack-list strong {
  display: block;
  margin-bottom: 10px;
}

.facts-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.facts-list div {
  display: grid;
  gap: 4px;
}

.facts-list--compact div {
  gap: 3px;
}

.facts-list dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.facts-list dd {
  margin: 0;
  color: var(--text);
  line-height: 1.45;
}

.plain-list,
.number-list,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list {
  display: grid;
  gap: 10px;
}

.plain-list li,
.number-list li {
  color: #d9e2f1;
  line-height: 1.6;
}

.number-list {
  padding-left: 20px;
}

.content-stack {
  display: grid;
  gap: 16px;
}

.review-grid {
  display: grid;
  gap: 12px;
}

.review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.84rem;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--buy-soft);
  color: #9bf0b9;
  font-size: 0.8rem;
  font-weight: 700;
}

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

.faq-item {
  border-radius: 18px;
  padding: 0 18px;
}

.faq-item summary {
  padding: 18px 0;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.65;
}

.filter-root {
  margin-bottom: 14px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
}

.filter-chip.is-active {
  color: var(--text);
  border-color: rgba(45, 140, 255, 0.34);
  background: rgba(45, 140, 255, 0.12);
}

.steps-grid,
.trust-grid {
  display: grid;
  gap: 14px;
}

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

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

.step-card h3,
.info-card h3,
.sidebar-card h2,
.content-card h2 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.site-footer {
  padding: 28px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.site-footer__brand {
  display: grid;
  gap: 14px;
}

.footer-title {
  margin: 0 0 12px;
  font-size: 0.92rem;
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.84rem;
}

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

.buy-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 10, 16, 0.72);
  backdrop-filter: blur(8px);
}

.buy-modal__dialog {
  width: min(520px, 100%);
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(25, 35, 54, 0.98), rgba(16, 22, 34, 0.98));
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
}

.buy-modal__dialog h2 {
  margin: 0 0 12px;
  font-size: 1.7rem;
}

.buy-modal__dialog p {
  color: #d5dded;
  line-height: 1.65;
}

.buy-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

@media (max-width: 1180px) {
  .site-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    order: 4;
  }

  .site-header__badge {
    order: 3;
  }

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

  .listing-layout,
  .policy-layout,
  .seo-layout,
  .product-body {
    grid-template-columns: 280px minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  .collection-grid,
  .product-grid,
  .product-grid--featured,
  .product-grid--three,
  .steps-grid,
  .trust-grid,
  .highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header__inner,
  .product-top,
  .product-top__main,
  .listing-layout,
  .policy-layout,
  .seo-layout,
  .product-body,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .page-intro--home,
  .section-bar,
  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .listing-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header__inner {
    gap: 10px;
    padding: 12px 0;
  }

  .brand__text small {
    display: none;
  }

  .market-search {
    grid-column: 1 / -1;
    order: 3;
  }

  .site-header__badge {
    justify-self: stretch;
    text-align: center;
  }

  .page-intro,
  .page-head,
  .sidebar-card,
  .content-card,
  .info-card,
  .step-card,
  .purchase-panel,
  .review-card,
  .buy-modal__dialog {
    padding: 18px;
  }

  .page-head__title {
    flex-direction: column;
  }

  .collection-grid,
  .product-grid,
  .product-grid--featured,
  .product-grid--three,
  .steps-grid,
  .trust-grid,
  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .product-card__bottom,
  .product-card__buy {
    align-items: stretch;
    flex-direction: column;
  }

  .product-card__price {
    font-size: 1.06rem;
  }

  .market-search__action {
    padding: 0 14px;
  }
}

/* Compact storefront overrides */

.site-header__inner {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
}

.brand__logo {
  width: 52px;
  height: 52px;
}

.brand strong {
  font-size: 1.9rem;
}

.brand small {
  font-size: 0.98rem;
}

.site-header__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.site-header__catalog {
  min-width: 152px;
}

.header-stat {
  display: grid;
  gap: 4px;
  min-height: 52px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.header-stat span {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.header-stat strong {
  font-size: 0.98rem;
  line-height: 1.1;
}

.home-intro {
  margin-bottom: 18px;
}

.home-intro h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.3vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.home-intro .page-intro__lead {
  margin-top: 10px;
  max-width: 760px;
}

.collection-card[data-theme="applications"] .collection-card__inner {
  background:
    radial-gradient(circle at top right, rgba(60, 131, 255, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(18, 32, 58, 0.98), rgba(14, 22, 37, 0.98));
}

.collection-card[data-theme="games"] .collection-card__inner {
  background:
    radial-gradient(circle at top right, rgba(255, 190, 62, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(47, 32, 17, 0.98), rgba(18, 18, 20, 0.98));
}

.collection-card__inner {
  min-height: 176px;
}

.collection-card h2 {
  font-size: 1.7rem;
}

.collection-card p {
  max-width: 520px;
}

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

.product-card {
  border-radius: 24px;
}

.product-card__media {
  aspect-ratio: 1 / 1.02;
}

.product-card__content {
  gap: 10px;
  padding: 14px 16px 16px;
}

.product-card__service {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.3;
}

.product-card h3 {
  font-size: 1.24rem;
  line-height: 1.18;
}

.product-card h3 a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__rating {
  gap: 8px;
  margin-top: 2px;
}

.product-card__buy {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.product-card__price {
  font-size: 1.9rem;
  line-height: 1;
}

.product-card .button {
  min-height: 48px;
}

.seo-stack {
  display: grid;
  gap: 16px;
}

.wide-card {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(24, 33, 50, 0.94), rgba(16, 22, 34, 0.96));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.wide-card--spaced {
  margin-top: 16px;
}

.wide-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.wide-card .inline-links {
  gap: 12px 16px;
}

.wide-card .inline-links a {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
}

.product-details {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 330px);
  gap: 18px;
}

.product-details__main {
  min-width: 0;
}

.product-side {
  gap: 16px;
}

.content-card--wide {
  padding: 22px;
}

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

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

@media (max-width: 980px) {
  .site-header__inner,
  .product-details {
    grid-template-columns: 1fr;
  }

  .site-header__actions {
    justify-content: flex-start;
  }

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

@media (max-width: 720px) {
  .site-header__inner {
    grid-template-columns: auto;
    justify-content: flex-start;
  }

  .brand__logo {
    width: 44px;
    height: 44px;
  }

  .brand__text,
  .site-header__actions {
    display: none;
  }

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

  .collection-card h2 {
    font-size: 1.42rem;
  }

  .wide-card {
    padding: 18px;
  }

  .product-card {
    border-radius: 20px;
  }

  .product-card__media {
    aspect-ratio: auto;
    height: min(200px, 44vw);
    max-height: 200px;
  }

  .product-card__content {
    gap: 8px;
    padding: 12px 14px 14px;
  }

  .product-card h3 {
    font-size: 1.08rem;
  }

  .product-card__rating {
    font-size: 0.78rem;
    gap: 6px;
  }

  .product-card__buy {
    gap: 10px;
  }

  .product-card__price {
    font-size: 1.4rem;
  }

  .product-card .button {
    min-height: 44px;
  }

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