﻿:root {
  --bg: #f7f8f6;
  --surface: #ffffff;
  --surface-soft: #fbfcfa;
  --text: #1f271f;
  --muted: #7d8679;
  --line: #edf0ea;
  --green: #75d839;
  --green-dark: #50ba23;
  --green-soft: #eaf8df;
  --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(117,216,57,.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;
}
.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(117,216,57,.62); box-shadow: 0 0 0 4px rgba(117,216,57,.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: #eef3ea; }
.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-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: #346b20; 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: #17320e; 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: #346b20; }
.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(117,216,57,.55); }
.game-chip.active { border-color: rgba(80,186,35,.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: #eef3ea; 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: #eef3ea; }
.filter.active { border-color: transparent; background: var(--green-soft); color: #2f6d19; 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 { 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; }
.product-path button { cursor: pointer; }
.product-path button:hover { color: #2f6d19; }
.product-path span::before, .product-path button::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: #f2f6ef; 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: #eef3ea; }
.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: #eef3ea; cursor: pointer; }
.product-gallery-thumb.active { border-color: var(--green-dark); box-shadow: 0 0 0 2px rgba(117,216,57,.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 { font-size: 31px; font-weight: 950; line-height: 1.05; }
.product-options { display: flex; flex-wrap: wrap; gap: 8px; }
.product-options button { min-height: 40px; border: 1px solid rgba(117,216,57,.48); border-radius: 8px; background: #f7faf4; color: #29451d; 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: #f7faf4; 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(117,216,57,.42); border-radius: 8px; background: #f7faf4; color: #2f6d19; 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(34,94,12,.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(34,94,12,.2), 0 10px 22px rgba(80,186,35,.18); }
.catalog-section .filters { margin-bottom: 16px; }
.catalog-section .products { margin-top: 4px; }
.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(117,216,57,.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: #eef3ea; 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: #346b20; }
.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: #327018; 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; margin-top: 18px; }
.more { border: 0; background: linear-gradient(180deg, #b8ef87, #85dc4b); color: #244a14; 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; }
.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: #244a14; 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; }
.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; }
.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(117,216,57,.55); color: #2f6d19; }
.content-layout { padding: 0 0 36px; }
.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; }
.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: #2f6d19; 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(720px, 100%); max-height: min(760px, 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: 12px; top: 10px; width: 34px; height: 34px; border: 0; border-radius: 999px; background: #f3f6f1; color: #4c5848; font-size: 24px; line-height: 1; cursor: pointer; }
.modal-head { padding: 24px 58px 10px 24px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: 22px; line-height: 1.25; }
.modal-body { padding: 22px 24px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 0 24px 24px; flex-wrap: wrap; }
.primary-action, .secondary-action { min-height: 42px; border-radius: 8px; padding: 0 18px; font-weight: 850; cursor: pointer; }
.primary-action { border: 0; background: linear-gradient(180deg, var(--green), var(--green-dark)); color: #17320e; }
.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); }
.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: #eef3ea; }
.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: #f5f8f2; 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: #f6f8f4; color: var(--muted); text-align: center; }
.checkout-form { display: grid; gap: 12px; }
.checkout-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 800; color: #43503f; }
.checkout-form input, .checkout-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; outline: none; resize: vertical; }
.checkout-form input:focus, .checkout-form textarea:focus { border-color: rgba(117,216,57,.62); box-shadow: 0 0 0 4px rgba(117,216,57,.12); }
.payment-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; border: 0; }
.payment-methods legend { grid-column: 1 / -1; padding: 0 0 2px; font-size: 13px; font-weight: 850; color: #43503f; }
.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: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #4e594b; font-size: 13px; font-weight: 850; }
.payment-methods input:checked + span { border-color: rgba(117,216,57,.75); background: var(--green-soft); color: #2f6d19; box-shadow: inset 0 0 0 1px rgba(117,216,57,.32); }
.checkout-summary { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; padding: 14px; border-radius: 8px; background: #f7faf4; color: #4e594b; }
.status-result { display: grid; gap: 8px; padding: 16px; border-radius: 8px; background: #f7faf4; 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(80,186,35,.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); }
.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; }
  .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-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; }
  .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; }
}
