@font-face {
  font-family: "AppPixel";
  src: url("../fonts/pixelify-sans-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AppPixel";
  src: url("../fonts/pixelify-sans-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AppPixel";
  src: url("../fonts/pixelify-sans-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #f7f8f6;
  --surface: #ffffff;
  --surface-soft: #fbfcfa;
  --text: #1f271f;
  --muted: #7d8679;
  --line: #edf0ea;
  --green: #d53b00;
  --green-dark: #ad2f00;
  --green-soft: #fff0ea;
  --shadow: 0 18px 48px rgba(31, 39, 31, 0.07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  overflow-x: hidden;
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(230,235,228,.55) 0 1px, transparent 1px 140px),
    radial-gradient(circle at 24% 6%, rgba(213,59,0,.12), transparent 22%),
    var(--bg);
  letter-spacing: 0;
}
@media (min-width: 1041px) {
  body { zoom: .75; }
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: min(1120px, calc(100% - 28px)); margin: 0 auto; }
.topbar {
  display: grid;
  grid-template-columns: 230px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 24px 0 14px;
}
.topbar > *, .search-row, .search, .social, .cta { min-width: 0; max-width: 100%; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-weight: 800; font-size: 23px; }
.logo-image { display: block; width: min(210px, 100%); height: auto; object-fit: contain; }
.footer .logo-image { width: 165px; }
.simple-header .logo-image { width: 200px; }
.logo-mark { width: 32px; height: 32px; color: var(--green-dark); }
.search-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.search { position: relative; }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: #aab3a5; }
.search input {
  width: 100%; height: 46px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px;
  padding: 0 18px 0 46px; outline: none; box-shadow: 0 8px 28px rgba(34,40,32,.04);
}
.search input:focus { border-color: rgba(213,59,0,.62); box-shadow: 0 0 0 4px rgba(213,59,0,.12); }
.search-suggestions { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50; display: grid; max-height: 360px; overflow: auto; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 20px 46px rgba(31,39,31,.16); }
.search-suggestions[hidden] { display: none; }
.search-suggestions button { display: grid; grid-template-columns: 42px 1fr; gap: 10px; align-items: center; width: 100%; border: 0; border-radius: 7px; background: transparent; padding: 8px; color: inherit; text-align: left; cursor: pointer; }
.search-suggestions button:hover { background: var(--green-soft); }
.search-suggestions img { width: 42px; height: 42px; object-fit: cover; border-radius: 7px; background: #e8f4ff; }
.search-suggestions span { min-width: 0; display: grid; gap: 3px; }
.search-suggestions strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.search-suggestions small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 12px; }
.cta { height: 46px; border: 0; border-radius: 8px; background: linear-gradient(180deg, #18b9f2, #079bd8); color: #fff; font-weight: 900; padding: 0 22px 0 18px; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 10px 26px rgba(7, 155, 216, .2); text-transform: uppercase; }
.cta span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cta-icon { width: 27px; height: 27px; display: block; fill: currentColor; flex: 0 0 auto; }
.social { display: flex; gap: 9px; align-items: center; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: #64705e; cursor: pointer; }
.icon-btn svg { width: 18px; height: 18px; }
.cart-trigger { position: relative; color: #ad2f00; background: var(--green-soft); }
.cart-trigger span { position: absolute; right: -4px; top: -5px; min-width: 18px; height: 18px; display: grid; place-items: center; border-radius: 999px; background: var(--green); color: #ffffff; font-size: 11px; font-weight: 900; }
.nav {
  display: flex; gap: 5px; align-items: center; padding: 10px 14px; margin-bottom: 16px; border: 1px solid var(--line);
  border-radius: 8px; background: rgba(255,255,255,.88); box-shadow: var(--shadow); backdrop-filter: blur(12px);
}
.nav a, .nav button { min-height: 42px; border: 0; border-radius: 7px; background: transparent; padding: 0 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; color: #394336; cursor: pointer; }
.nav a.active { color: #1a3110; box-shadow: inset 0 -3px 0 var(--green); }
.nav .all-games { margin-left: auto; background: var(--green-soft); color: #ad2f00; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.panel { background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.section { padding: 20px; }
.section + .section { margin-top: 16px; }
.section-title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 16px; }
.section-title h2 { margin: 0; font-size: 19px; line-height: 1.2; }
.section-title h2::before { content: ""; display: inline-block; width: 4px; height: 18px; border-radius: 2px; background: var(--green); margin-right: 10px; vertical-align: -3px; }
.section-title span { color: var(--muted); font-size: 13px; min-width: 0; }
.hero-catalog { min-height: 355px; display: grid; align-content: start; gap: 18px; }
.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.game-chip { min-height: 76px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); padding: 12px; display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 10px; transition: border-color .18s, transform .18s; }
.game-chip:hover { transform: translateY(-2px); border-color: rgba(213,59,0,.55); }
.game-chip.active { border-color: rgba(213,59,0,.8); background: var(--green-soft); box-shadow: inset 0 -3px 0 var(--green); }
.game-chip img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; background: #e8f4ff; border: 1px solid var(--line); }
.game-chip:not(:has(img)) { grid-template-columns: minmax(0, 1fr); align-content: center; }
.game-chip span { min-width: 0; display: grid; gap: 5px; }
.game-chip strong { font-size: 14px; }
.game-chip small { color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { min-height: 38px; border: 1px solid var(--line); background: var(--surface); color: #53604e; border-radius: 999px; padding: 7px 13px; cursor: pointer; font-size: 13px; display: inline-flex; align-items: center; gap: 7px; }
.filter img { width: 22px; height: 22px; object-fit: cover; border-radius: 6px; background: #e8f4ff; }
.filter.active { border-color: transparent; background: var(--green-soft); color: #ad2f00; font-weight: 800; }
.product-feature-section { min-height: 548px; padding: 0; overflow: hidden; }
.product-feature-section.is-collapsed { display: none; }
.product-feature { min-height: 548px; display: grid; align-content: start; gap: 12px; padding: 14px 20px 24px; }
.product-path { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; color: #667062; font-size: 15px; font-weight: 500; line-height: 1.35; }
.product-path span, .product-path button, .product-path a { display: inline-flex; align-items: center; min-width: 0; border: 0; background: transparent; padding: 0; color: inherit; font-size: inherit; line-height: inherit; cursor: default; text-decoration: none; }
.product-path button, .product-path a { cursor: pointer; }
.product-path button:hover, .product-path a:hover { color: #ad2f00; }
.product-path span::before, .product-path button::before, .product-path a::before { content: ""; display: inline-block; width: 3px; height: 15px; margin-right: 8px; border-radius: 2px; background: var(--green); }
.product-feature-card { position: relative; width: min(740px, calc(100% - 64px)); min-height: 430px; margin: 2px auto 0; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: start; padding: 24px; border: 1px solid rgba(237,240,234,.9); border-radius: 8px; background: #fff; box-shadow: 0 18px 44px rgba(31,39,31,.08); }
.feature-close { position: absolute; right: 14px; top: 12px; width: 32px; height: 32px; border: 0; border-radius: 999px; background: #e8f4ff; color: #75806f; font-size: 24px; line-height: 1; cursor: pointer; }
.product-feature-media { display: grid; gap: 10px; }
.product-feature-main-image { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; border-radius: 8px; background: #e8f4ff; }
.product-gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
.product-gallery-thumb { aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: 7px; padding: 0; overflow: hidden; background: #e8f4ff; cursor: pointer; }
.product-gallery-thumb.active { border-color: var(--green-dark); box-shadow: 0 0 0 2px rgba(213,59,0,.2); }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-feature-info { min-width: 0; display: grid; gap: 10px; padding-right: 8px; }
.product-feature-info h2 { margin: 0 36px 6px 0; font-size: 22px; line-height: 1.25; }
.product-feature-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #778172; font-size: 13px; }
.product-feature-price-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.product-feature-price { font-size: 31px; font-weight: 950; line-height: 1.05; }
.product-rating-control { display: inline-flex; align-items: center; gap: 2px; flex: 0 0 auto; }
.product-rating-control button { width: 34px; height: 34px; border: 0; background: transparent; color: #dfe3dc; padding: 0; font-size: 32px; line-height: 1; cursor: pointer; text-shadow: 0 1px 0 rgba(0,0,0,.04); }
.product-rating-control button.active,
.product-rating-control button:hover,
.product-rating-control button:hover ~ button.active { color: #ffc400; }
.product-rating-control:hover button { color: #ffc400; }
.product-rating-control button:hover ~ button { color: #dfe3dc; }
.text-rating { color: #ffc400; font-size: 34px; line-height: 1; letter-spacing: 1px; white-space: nowrap; }
.product-options { display: flex; flex-wrap: wrap; gap: 8px; }
.product-options button { min-height: 40px; border: 1px solid rgba(213,59,0,.48); border-radius: 8px; background: #fff7f3; color: #7a2600; padding: 7px 11px; display: inline-grid; gap: 2px; cursor: pointer; text-align: left; }
.product-options button:hover { border-color: var(--green-dark); background: var(--green-soft); }
.product-options span { font-size: 12px; font-weight: 800; line-height: 1.2; }
.product-options strong { font-size: 14px; line-height: 1.2; }
.product-feature-description { min-height: 260px; max-height: 560px; overflow: auto; padding-right: 8px; color: #4e594b; font-size: 14px; line-height: 1.6; }
.product-feature-description p { margin: 0 0 10px; }
.product-feature-description img { max-width: 100%; height: auto; border-radius: 6px; }
.product-feature-delivery { padding: 10px 12px; border-radius: 8px; background: #fff7f3; border: 1px solid var(--line); color: #43503f; }
.product-feature-steps { margin-top: 0; }
.product-feature-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 4px; }
.product-feature-actions .secondary-action { min-width: 110px; }
.admin-edit-action { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(213,59,0,.42); border-radius: 8px; background: #fff7f3; color: #ad2f00; font-size: 13px; font-weight: 800; padding: 0 12px; }
.admin-edit-action:hover { background: var(--green-soft); border-color: var(--green-dark); }
.feature-buy { min-width: 190px; min-height: 42px; border: 0; border-radius: 8px; background: linear-gradient(180deg, var(--green), var(--green-dark)); color: #fff; font-size: 23px; font-weight: 950; line-height: 1; cursor: pointer; box-shadow: inset 0 -2px 0 rgba(124,37,0,.18); }
.feature-buy:hover, .buy:hover, .more:hover, .order-form button:hover, .primary-action:hover { filter: brightness(.96); box-shadow: inset 0 -2px 0 rgba(124,37,0,.2), 0 10px 22px rgba(213,59,0,.18); }
.catalog-section .filters { margin-bottom: 16px; }
.catalog-section .products { margin-top: 4px; }
.catalog-search {
  display: grid;
  gap: 6px;
  width: min(360px, 100%);
  margin: 0 0 14px;
  color: #53604e;
  font-size: 12px;
  font-weight: 800;
}
.catalog-search input {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0 12px;
  outline: none;
  font-size: 13px;
  font-weight: 500;
}
.catalog-search input:focus {
  border-color: rgba(213,59,0,.62);
  box-shadow: 0 0 0 4px rgba(213,59,0,.12);
}
.products { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.product-card { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; min-width: 0; transition: transform .18s, box-shadow .18s, border-color .18s; }
.product-card:hover { transform: translateY(-3px); border-color: rgba(213,59,0,.55); box-shadow: 0 16px 32px rgba(31,39,31,.08); }
.thumb { display: block; width: 100%; border: 0; padding: 0; cursor: pointer; aspect-ratio: 1 / 1; background: #e8f4ff; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-body { padding: 10px; display: grid; gap: 8px; }
.product-title { min-height: 38px; border: 0; padding: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; font-size: 13px; line-height: 1.45; font-weight: 750; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-title:hover { color: #ad2f00; }
.badge { width: fit-content; max-width: 100%; border-radius: 5px; background: #f0eafe; color: #6c47b8; padding: 4px 7px; font-size: 10px; font-weight: 800; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-bottom { display: grid; grid-template-columns: 1fr; gap: 8px; }
.price { font-size: 18px; font-weight: 900; white-space: nowrap; }
.buy { display: inline-flex; justify-content: center; width: 100%; align-items: center; gap: 5px; min-height: 32px; border: 0; border-radius: 7px; color: #ad2f00; background: var(--green-soft); padding: 0 9px; font-size: 12px; font-weight: 850; cursor: pointer; }
.buy svg { width: 15px; height: 15px; }
.more-wrap { display: flex; justify-content: center; align-items: center; width: 100%; margin-top: 18px; }
.more { width: min(260px, 100%); border: 0; background: linear-gradient(180deg, #f05a1d, #d53b00); color: #ffffff; border-radius: 8px; min-height: 44px; padding: 0 28px; font-weight: 850; cursor: pointer; }
.side { display: grid; gap: 14px; }
.side-card { padding: 18px; background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.side-card h3 { margin: 0 0 14px; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.side-card h3::before { content: ""; width: 16px; height: 16px; border: 2px solid var(--green); border-radius: 5px; display: inline-block; }
.side-card h3 a { color: inherit; }
.side-card h3 a:hover { color: var(--green-dark); }
.side-search { display: grid; gap: 6px; margin: 0 0 12px; color: #53604e; font-size: 11px; font-weight: 800; }
.side-search input { width: 100%; min-height: 36px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 0 10px; outline: none; font-size: 12px; }
.side-search input:focus { border-color: rgba(213,59,0,.62); box-shadow: 0 0 0 3px rgba(213,59,0,.12); }
.side-empty { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.news-item, .recent-item { display: grid; grid-template-columns: 54px 1fr; gap: 10px; align-items: center; padding: 8px 0; }
.news-item + .news-item, .recent-item + .recent-item { border-top: 1px solid var(--line); }
.news-item img, .recent-item img { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; }
.news-item strong, .recent-item strong { display: block; font-size: 12px; line-height: 1.35; }
.news-item small, .recent-item small { color: var(--muted); font-size: 11px; }
.order-form { display: grid; gap: 10px; }
.order-form input { height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; outline: none; }
.order-form button { height: 40px; border: 0; border-radius: 8px; background: var(--green); color: #ffffff; font-weight: 850; cursor: pointer; }
.review-stars { color: #ffb000; font-size: 13px; letter-spacing: 1px; }
.review-text { color: #4e594b; font-size: 12px; line-height: 1.55; margin: 8px 0 0; }
.link-more { display: inline-flex; margin-top: 12px; color: var(--green-dark); font-size: 12px; font-weight: 800; }
.side .link-more { font-weight: 650; }
.side-card strong, .side-card h3 { font-weight: 700; }
.footer { margin-top: 16px; padding: 24px 0 34px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 24px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.72); }
.footer h4 { margin: 0 0 10px; font-size: 14px; }
.footer a, .footer p { display: block; color: var(--muted); font-size: 13px; margin: 7px 0; }
.payments { display: flex; flex-wrap: nowrap; gap: 9px; align-items: center; margin-top: 12px; font-weight: 950; color: #222922; }
.payment-wallet { width: 31px; height: 24px; display: inline-grid; place-items: center; color: #303830; flex: 0 0 auto; }
.payment-wallet svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pay-brand { min-width: 0; min-height: 0; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: #171d17; padding: 0; font-size: 16px; line-height: 1; letter-spacing: 0; flex: 0 0 auto; }
.pay-brand.visa,
.pay-brand.mc,
.pay-brand.mir { color: #171d17; }
.simple-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 0 14px; }
.product-header { padding-top: 0; }
.simple-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.simple-nav a, .simple-nav button { min-height: 40px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #394336; padding: 0 14px; display: inline-flex; align-items: center; cursor: pointer; font-weight: 750; }
.simple-nav a:hover, .simple-nav button:hover { border-color: rgba(213,59,0,.55); color: #ad2f00; }
.content-layout { padding: 0 0 36px; }
.single-layout { padding-bottom: 36px; }
.single-main { display: grid; gap: 16px; min-width: 0; }
.single-related-section { margin-top: 0; }
.single-related-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.content-panel { background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 28px; }
.content-panel h1 { margin: 8px 0 16px; font-size: 30px; line-height: 1.18; }
.content-body { color: #4e594b; font-size: 15px; line-height: 1.7; }
.content-body p { margin: 0 0 14px; }
.content-body a { color: var(--green-dark); font-weight: 800; }
.back-link { color: var(--green-dark); font-size: 13px; font-weight: 850; }
.content-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.content-date { display: block; color: var(--muted); margin: -8px 0 18px; font-size: 13px; }
.single-product-panel { display: grid; gap: 16px; max-width: none; margin: 0; padding: 22px; }
.single-product-path { margin-top: 2px; }
.single-product-card { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.single-product-card > *, .single-product-info { min-width: 0; max-width: 100%; }
.single-product-info { min-width: 0; display: grid; gap: 10px; }
.single-product-info h1 { margin: 0; font-size: 27px; line-height: 1.18; }
.single-product-subtitle { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.single-product-card .product-feature-main-image { width: 100%; }
.single-product-card .content-body { max-height: 430px; overflow: auto; overflow-wrap: anywhere; word-break: break-word; padding-right: 8px; }
.single-product-card .content-actions { align-self: end; }
.post-list { display: grid; gap: 14px; }
.post-card { border: 1px solid var(--line); border-radius: 8px; padding: 18px; background: #fff; }
.post-card h2 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; }
.post-card time { color: var(--muted); font-size: 12px; }
.post-card p { color: #4e594b; line-height: 1.55; margin: 10px 0 0; }
.pagination { margin-top: 18px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination a, .pagination span { min-height: 36px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 0 12px; display: inline-flex; align-items: center; }
.pagination .current { background: var(--green-soft); color: #ad2f00; font-weight: 850; }
.empty { display:none; padding: 24px; text-align: center; color: var(--muted); }
.modal-open { overflow: hidden; }
.modal-backdrop { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 18px; background: rgba(20, 26, 20, .52); backdrop-filter: blur(6px); }
.modal { position: relative; width: min(900px, calc(100vw - 28px)); max-height: min(820px, calc(100vh - 36px)); overflow: auto; border-radius: 8px; border: 1px solid rgba(255,255,255,.58); background: #fff; box-shadow: 0 28px 80px rgba(21,27,21,.28); }
.modal-close { position: absolute; right: 18px; top: 14px; width: 38px; height: 38px; border: 0; border-radius: 999px; background: #f3f6f1; color: #4c5848; font-size: 26px; line-height: 1; cursor: pointer; }
.modal-head { padding: 30px 72px 14px 30px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: 29px; line-height: 1.22; font-weight: 850; }
.modal-body { padding: 26px 30px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 14px; padding: 0 30px 30px; flex-wrap: wrap; }
.primary-action, .secondary-action { min-height: 50px; border-radius: 8px; padding: 0 26px; font-size: 16px; font-weight: 800; cursor: pointer; }
.primary-action { border: 0; background: linear-gradient(180deg, var(--green), var(--green-dark)); color: #ffffff; }
.secondary-action { border: 1px solid var(--line); background: #fff; color: #475443; }
.primary-action:disabled, .secondary-action:disabled { cursor: not-allowed; opacity: .55; filter: grayscale(.35); }
.checkout-modal, .checkout-modal button, .checkout-modal input, .checkout-modal textarea { font-family: "AppPixel", "Fixedsys", "Terminal", "Courier New", monospace; -webkit-font-smoothing: none; font-smooth: never; text-rendering: geometricPrecision; }
.checkout-modal { width: min(820px, calc(100vw - 28px)); }
.contact-modal { width: min(680px, calc(100vw - 28px)); }
.checkout-modal .modal-head h2 { font-family: "AppPixel", "Fixedsys", "Terminal", "Courier New", monospace; font-size: 31px; font-weight: 600; }
.checkout-modal .checkout-form label, .checkout-modal .payment-methods legend, .checkout-modal .checkout-summary strong { font-weight: 600; }
.checkout-modal .checkout-form input, .checkout-modal .checkout-form textarea { font-weight: 400; }
.checkout-modal .checkout-form input::placeholder, .checkout-modal .checkout-form textarea::placeholder { font-weight: 400; }
.checkout-modal .payment-methods span, .checkout-modal .primary-action, .checkout-modal .secondary-action { font-weight: 600; }
.product-modal { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
.product-modal img { width: 220px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; background: #e8f4ff; }
.product-modal-info { display: grid; gap: 10px; }
.product-modal-info p { margin: 0; color: #4e594b; line-height: 1.55; }
.product-modal-price { font-size: 28px; font-weight: 950; }
.product-steps { margin: 6px 0 0; padding-left: 18px; color: #4e594b; line-height: 1.65; }
.cart-row { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cart-row img { width: 58px; height: 58px; object-fit: cover; border-radius: 8px; }
.cart-row strong { display: block; font-size: 14px; line-height: 1.35; }
.cart-row small { display: block; margin-top: 4px; color: var(--muted); }
.qty { display: inline-grid; grid-template-columns: 30px 32px 30px; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.qty button { height: 32px; border: 0; background: #e8f4ff; cursor: pointer; font-weight: 900; }
.qty span { text-align: center; font-weight: 850; }
.cart-total { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; font-size: 18px; }
.empty-cart { padding: 18px; border-radius: 8px; background: #e8f4ff; color: var(--muted); text-align: center; }
.checkout-form, .contact-form { display: grid; gap: 16px; }
.checkout-form label, .contact-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 700; color: #43503f; }
.checkout-form input, .checkout-form textarea, .contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; outline: none; resize: vertical; font-size: 17px; font-weight: 400; line-height: 1.45; }
.checkout-form input { min-height: 52px; }
.contact-form input { min-height: 48px; }
.checkout-form textarea { min-height: 92px; }
.contact-form textarea { min-height: 104px; }
.checkout-form input::placeholder, .checkout-form textarea::placeholder, .contact-form input::placeholder, .contact-form textarea::placeholder { color: #14a8ff; font-weight: 400; opacity: 1; }
.checkout-form input:focus, .checkout-form textarea:focus, .contact-form input:focus, .contact-form textarea:focus { border-color: rgba(213,59,0,.62); box-shadow: 0 0 0 4px rgba(213,59,0,.12); }
.payment-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: min(550px, 100%); margin: 0 auto; padding: 0; border: 0; }
.payment-methods legend { grid-column: 1 / -1; padding: 0 0 2px; font-size: 14px; font-weight: 700; color: #43503f; text-align: left; }
.payment-methods label { position: relative; display: block; cursor: pointer; }
.payment-methods input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.payment-methods span { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #4e594b; font-size: 15px; font-weight: 700; }
.payment-methods input:checked + span { border-color: rgba(213,59,0,.75); background: var(--green-soft); color: #ad2f00; box-shadow: inset 0 0 0 1px rgba(213,59,0,.32); }
.payment-method-icon { width: 38px; height: 28px; object-fit: contain; flex: 0 0 auto; }
.payment-method-icon.qr { width: 27px; height: 27px; image-rendering: auto; }
.checkout-summary { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; padding: 18px; border-radius: 8px; background: #fff7f3; color: #4e594b; font-size: 18px; line-height: 1.4; }
.status-result { display: grid; gap: 8px; padding: 16px; border-radius: 8px; background: #fff7f3; color: #4e594b; line-height: 1.55; }
.status-result strong { color: var(--text); }
.status-result p { margin: 0; }
.status-result.success { background: var(--green-soft); }
.status-result.error { background: #fff3f0; color: #7d2f1e; }
.pay-box { display: grid; gap: 8px; margin-top: 8px; padding: 16px; border-radius: 8px; border: 1px dashed rgba(213,59,0,.55); background: #fff; }
.pay-box.warning { border-color: rgba(196,126,34,.55); background: #fffaf2; }
.pay-card-lines { display: grid; gap: 6px; width: min(220px, 100%); }
.pay-card-lines span { display: block; height: 10px; border-radius: 999px; background: #dfe8d9; }
.pay-card-lines span:nth-child(1) { width: 100%; }
.pay-card-lines span:nth-child(2) { width: 74%; }
.pay-card-lines span:nth-child(3) { width: 46%; }
.pay-box small { color: var(--muted); }
.checkout-payment-visual { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 12px; align-items: stretch; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfa; }
.checkout-payment-card, .checkout-payment-qr { min-width: 0; display: grid; place-items: center; gap: 7px; border-radius: 8px; background: #fff; border: 1px solid #eef1eb; padding: 10px; text-align: center; color: #53604e; font-size: 12px; line-height: 1.35; }
.payment-card-icon { width: 70px; height: 70px; object-fit: contain; }
.payment-qr { width: 82px; height: 82px; object-fit: contain; image-rendering: auto; }
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 1100; max-width: min(460px, calc(100% - 24px)); transform: translate(-50%, 22px); opacity: 0; pointer-events: none; border-radius: 8px; background: #1f271f; color: #fff; padding: 12px 16px; box-shadow: 0 18px 48px rgba(31,39,31,.22); transition: opacity .18s, transform .18s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 1040px) {
  .topbar { grid-template-columns: 1fr; }
  .search-row { grid-template-columns: 1fr; }
  .social { justify-content: flex-start; }
  .layout { grid-template-columns: 1fr; }
  .side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-feature-card { width: min(820px, 100%); }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 18px); }
  .simple-header { align-items: flex-start; flex-direction: column; }
  .simple-header .logo-image { width: min(220px, 76vw); }
  .content-panel { padding: 20px; }
  .content-panel h1 { font-size: 24px; }
  .single-product-card { grid-template-columns: 1fr; gap: 18px; }
  .single-product-card .product-feature-main-image { max-width: 320px; margin: 0 auto; }
  .nav { overflow-x: auto; }
  .nav a, .nav button { white-space: nowrap; }
  .nav .all-games { margin-left: 0; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-feature-section, .product-feature { min-height: 0; }
  .product-feature { padding: 14px; }
  .product-path { font-size: 14px; gap: 8px 14px; }
  .product-feature-card { width: 100%; min-height: 0; grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .product-feature-main-image { max-width: 320px; margin: 0 auto; }
  .product-gallery { grid-template-columns: repeat(5, minmax(0, 58px)); justify-content: center; }
  .product-feature-info h2 { margin-right: 34px; font-size: 19px; }
  .product-feature-price-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .product-rating-control { flex-basis: auto; }
  .product-feature-description { min-height: 0; max-height: none; }
  .product-feature-actions { justify-content: stretch; }
  .product-feature-actions .secondary-action, .feature-buy, .admin-edit-action { width: 100%; min-width: 0; }
  .side { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .modal-actions { justify-content: stretch; }
  .primary-action, .secondary-action { width: 100%; }
  .payment-methods { grid-template-columns: 1fr; }
  .checkout-payment-visual { grid-template-columns: 1fr; }
  .product-modal { grid-template-columns: 1fr; }
  .product-modal img { width: min(260px, 100%); margin: 0 auto; }
  .cart-row { grid-template-columns: 48px 1fr; }
  .cart-row .qty { grid-column: 2; width: max-content; }
}
@media (max-width: 460px) {
  .logo { font-size: 20px; }
  .logo-image { width: min(220px, 76vw); }
  .footer .logo-image { width: min(180px, 70vw); }
  .section { padding: 14px; }
  .product-title { font-size: 12px; }
  .price { font-size: 16px; }
  .footer-inner { grid-template-columns: 1fr; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 520px) {
  .section-title { display: grid; grid-template-columns: 1fr; }
  .game-grid, .products { grid-template-columns: 1fr; gap: 10px; }
  .product-body { padding: 9px; }
  .product-title { font-size: 12px; min-height: 35px; }
  .price { font-size: 16px; }
}

:root {
  --bg: #f6f9fd;
  --surface: #ffffff;
  --surface-soft: #fbfdff;
  --text: #162238;
  --muted: #6f7d90;
  --line: #dce8f5;
  --green: #d53b00;
  --green-dark: #ad2f00;
  --green-soft: #fff0ea;
  --ps-blue: #0070cc;
  --ps-blue-dark: #005da8;
  --ps-blue-soft: #e8f4ff;
  --shadow: 0 18px 48px rgba(0, 62, 112, 0.08);
}

body {
  background:
    linear-gradient(135deg, rgba(0,112,204,.07) 0 1px, transparent 1px 140px),
    radial-gradient(circle at 20% 5%, rgba(0,112,204,.16), transparent 24%),
    radial-gradient(circle at 84% 12%, rgba(213,59,0,.12), transparent 24%),
    var(--bg);
}

.panel,
.side-card,
.content-panel,
.footer-inner,
.nav {
  border-color: var(--line);
}

.cta {
  background: linear-gradient(180deg, #0084e8, var(--ps-blue));
  box-shadow: 0 10px 26px rgba(0,112,204,.22);
}

.cta:hover {
  filter: brightness(.98);
  box-shadow: 0 12px 28px rgba(0,112,204,.26);
}

.search svg,
.icon-btn {
  color: #607792;
}

.search input:focus,
.catalog-search input:focus,
.side-search input:focus,
.checkout-form input:focus,
.checkout-form textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(0,112,204,.55);
  box-shadow: 0 0 0 4px rgba(0,112,204,.12);
}

.search-suggestions button:hover,
.nav .all-games,
.cart-trigger,
.filter.active,
.game-chip.active,
.buy,
.pagination .current,
.status-result.success {
  background: var(--green-soft);
}

.cart-trigger,
.buy,
.nav .all-games,
.filter.active,
.pagination .current,
.link-more,
.back-link,
.content-body a,
.side-card h3 a:hover,
.simple-nav a:hover,
.simple-nav button:hover,
.product-title:hover,
.product-path button:hover,
.product-path a:hover,
.admin-edit-action,
.feature-close:hover,
.cart-trigger:hover {
  color: var(--green-dark);
}

.buy {
  border: 1px solid rgba(213,59,0,.16);
  transition: transform .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.buy:hover,
.buy:focus-visible {
  background: linear-gradient(180deg, #f05a1d, var(--green));
  border-color: rgba(173,47,0,.72);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: inset 0 -2px 0 rgba(124,37,0,.24), 0 10px 20px rgba(213,59,0,.22);
}

.buy:hover svg,
.buy:focus-visible svg {
  color: #fff;
}

.cart-trigger span,
.section-title h2::before,
.product-path span::before,
.product-path button::before,
.product-path a::before {
  background: var(--green);
  color: #fff;
}

.nav a.active {
  color: var(--ps-blue-dark);
  box-shadow: inset 0 -3px 0 var(--ps-blue);
}

.game-chip:hover,
.product-card:hover,
.simple-nav a:hover,
.simple-nav button:hover {
  border-color: rgba(213,59,0,.5);
}

.game-chip.active {
  border-color: rgba(213,59,0,.72);
  box-shadow: inset 0 -3px 0 var(--green);
}

.product-gallery-thumb.active,
.product-options button:hover,
.admin-edit-action:hover {
  border-color: var(--green-dark);
}

.product-gallery-thumb.active {
  box-shadow: 0 0 0 2px rgba(213,59,0,.18);
}

.product-options button,
.admin-edit-action {
  border-color: rgba(213,59,0,.34);
  background: #fff7f3;
  color: var(--green-dark);
}

.feature-buy,
.more,
.order-form button,
.primary-action {
  background: linear-gradient(180deg, #f05a1d, var(--green));
  color: #fff;
  box-shadow: inset 0 -2px 0 rgba(124,37,0,.2);
}

.feature-buy:hover,
.buy:hover,
.more:hover,
.order-form button:hover,
.primary-action:hover {
  filter: brightness(.97);
  box-shadow: inset 0 -2px 0 rgba(124,37,0,.24), 0 10px 22px rgba(213,59,0,.18);
}

.side-card h3::before {
  border-color: var(--ps-blue);
}

.badge {
  background: var(--ps-blue-soft);
  color: var(--ps-blue-dark);
}

.payment-methods input:checked + span {
  border-color: rgba(213,59,0,.62);
  background: var(--green-soft);
  color: var(--green-dark);
  box-shadow: inset 0 0 0 1px rgba(213,59,0,.2);
}

.pay-box {
  border-color: rgba(213,59,0,.42);
}

.qty button,
.empty-cart,
.checkout-summary,
.status-result,
.checkout-payment-visual {
  background: #f8fbff;
}
