.catalog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: clamp(16px, 2.5vw, 30px);
}
.catalog-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: clamp(12px, 1.5vw, 22px);
}
.catalog-arrows { display: flex; gap: 4px }
.catalog-arrows button {
  display: grid;
  place-items: center;
  padding: 0;
  width: 44px;
  height: 44px;
  border: 1px solid #686b65;
  border-radius: 50%;
  background: #262a2b;
  color: #f6f4ed;
}
.catalog-arrows button:disabled { opacity: .35 }
.catalog-arrows svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7 }

.game-shelf {
  --game-gap: clamp(12px, 1.5vw, 22px);
  grid-auto-columns: calc((100% - 2 * var(--game-gap)) / 3);
  gap: var(--game-gap);
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #656c66 transparent;
}
.game-shelf:focus-visible { outline: 2px solid #f18d68; outline-offset: 3px }
.game-card {
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid #ffffff20;
  border-radius: clamp(16px, 2vw, 24px);
  background: #202425;
}
.game-card img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover }
.game-card > div, .game-card-link > div { padding: clamp(16px, 1.7vw, 24px) }
.game-card-link { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: inherit; color: inherit; text-decoration: none; background: #272a2a }
.game-card-link::after { content: ''; position: absolute; inset: 0; border: 1px solid #f3947155; border-radius: inherit; pointer-events: none }
.game-card-link > img { flex: none }
.game-card-link > div { display: flex; flex: 1; flex-direction: column; align-items: flex-start }
.game-card-more { display: inline-block; margin-top: auto; padding-top: 14px; color: #f3a182; font-size: 13px; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px }
.game-card-link:focus-visible { outline: 2px solid #f7ba98; outline-offset: -4px }
.game-card-link:active { background: #39312d }
@media (hover: hover) {
  .game-card-link:hover::after { border-color: #f39471aa }
  .game-card-link:hover .game-card-more { color: #ffbb9f }
}
@media (max-width: 760px) {
  .game-card-link { background: linear-gradient(145deg, #f3947114, transparent 75%), #282a29 }
  .game-card-link::after { border-color: #f3947180 }
}
.game-card h3 {
  margin: 0;
  color: #f4f2ec;
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.15;
  letter-spacing: -.045em;
}
.game-card p {
  margin: 8px 0 0;
  color: #c2c8bf;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.5;
}
@media (min-width: 761px) and (max-width: 1000px) {
  .game-shelf { grid-auto-columns: calc((100% - var(--game-gap)) / 2) }
}

.club-formats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 8px clamp(14px, 3vw, 40px);
  margin-top: clamp(18px, 3vw, 34px);
}
.catalog-card { border-block-start: 1px solid #ffffff26 }
.catalog-card summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  color: #edece6;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.catalog-card summary::marker { content: '' }
.catalog-card summary::-webkit-details-marker { display: none }
.catalog-card summary img { width: 64px; height: 44px; object-fit: cover; border-radius: 8px }
.catalog-card summary::after {
  content: '';
  flex: none;
  width: 18px;
  height: 18px;
  margin-left: auto;
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
}
.catalog-card[open] summary::after { transform: rotate(45deg); color: #ffb48e }
.catalog-card ul {
  margin: 0;
  padding: 0 0 16px 78px;
  list-style: none;
  color: #c2c8bf;
  font-size: 14px;
  line-height: 1.55;
}
.catalog-card li + li { margin-top: 4px }
.club-simulators {
  margin-top: clamp(22px, 3vw, 38px);
  border-block-end: 1px solid #ffffff26;
}
.club-simulators summary { gap: 18px; padding-block: 18px }
.club-simulators summary img { width: 88px; height: 64px; border-radius: 12px }
.club-simulators-heading { display: grid; min-width: 0; gap: 5px }
.club-simulators-heading strong {
  color: #f4f2ec;
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.04em;
}
.club-simulators-heading > span { color: #b9c1ba; font-size: 14px; font-weight: 400; line-height: 1.4 }
.club-simulators-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  padding-block: 8px clamp(24px, 3vw, 38px);
}
.club-simulators-photo { display: block; width: 100%; height: auto; border-radius: 20px }
.club-simulators-copy { min-width: 0 }
.club-simulators-intro { max-width: 38ch; margin: 0 0 18px; color: #c2c8bf; font-size: 16px; line-height: 1.55 }
.club-simulators-specs { margin: 0 }
.club-simulators-specs > div { padding-block: 14px; border-block-start: 1px solid #ffffff20 }
.club-simulators-specs dt { display: flex; align-items: baseline; gap: 14px; color: #f4f2ec; font-size: 21px; font-weight: 600; line-height: 1.2 }
.club-simulators-count { min-width: 28px; color: #f39471; font-size: 30px; font-weight: 500; font-variant-numeric: tabular-nums }
.club-simulators-specs dd { margin: 6px 0 0 42px; color: #c2c8bf; font-size: 15px; line-height: 1.6 }
.club-simulators-prices { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; color: #f39471; font-size: 15px; text-underline-offset: 5px; text-decoration-thickness: 1px }
@media (max-width: 820px) {
  .club-simulators-content { grid-template-columns: minmax(0, 1fr); gap: 22px }
  .club-simulators-intro { max-width: 48ch }
}
@media (max-width: 430px) {
  .club-simulators summary { gap: 12px }
  .club-simulators summary img { width: 68px; height: 54px; border-radius: 10px }
  .club-simulators-heading strong { font-size: 22px }
  .club-simulators summary::after { width: 16px; height: 16px }
  .club-simulators-specs dd { margin-left: 0 }
}
@media (max-width: 600px) {
  .club-formats { grid-template-columns: 1fr; gap: 0 }
}

.catalog-screen {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  border-radius: clamp(16px, 2vw, 26px);
  color: #faf9f3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 240px;
  padding: clamp(18px, 2.2vw, 28px);
  background: radial-gradient(ellipse at 55% 30%, #3b4243, #242829 72%);
  border: 1px solid #ffffff22;
}
.screen-model {
  display: grid;
  position: relative;
  flex: 1;
  place-items: center;
  margin-bottom: 16px;
}
.screen-model img {
  width: 75%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border: 3px solid #151818;
  border-bottom-width: 5px;
  border-radius: 4px;
  box-shadow: 0 1px 0 #c5c5b47a, 0 10px 18px #1012129c;
}
.screen-wide img { width: 91%; aspect-ratio: 32/9 }
.catalog-screen h3 { font-size: clamp(18px, 2vw, 25px); line-height: 1.16; letter-spacing: -.035em }
.city-landing .catalog-screen p { margin: 5px 0 0; color: #dfc2af; font-size: 15px }

@media (max-width: 760px) {
  .catalog-heading h2 { min-width: 0 }
  #catalog .catalog-heading h2 { font-size: 1.625rem; line-height: 1.2 }
  #catalog .catalog-heading { margin-bottom: 10px }
  .catalog-track {
    grid-auto-columns: min(86%, 360px);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #747770 transparent;
  }
  .catalog-track > * { scroll-snap-align: start }
}
@media (max-width: 360px) {
  .catalog-heading { gap: 6px }
}
@media (prefers-reduced-motion: no-preference) {
  .catalog-card summary::after { transition: transform var(--motion-transition) var(--motion-ease), color var(--motion-feedback) }
  @supports selector(details::details-content) {
    .catalog-card::details-content {
      content-visibility: hidden;
      opacity: 0;
      transition: opacity var(--motion-transition) var(--motion-ease), content-visibility var(--motion-transition) allow-discrete;
    }
    .catalog-card[open]::details-content { content-visibility: visible; opacity: 1 }
  }
}
@media (prefers-reduced-motion: no-preference) {
  .catalog-arrows svg { transition: transform var(--motion-feedback) var(--motion-ease) }
  .catalog-arrows button[data-direction="-1"]:enabled:active svg { transform: translateX(-2px) }
  .catalog-arrows button[data-direction="1"]:enabled:active svg { transform: translateX(2px) }
}
