/*
Theme Name: mt MMO HELP
Author: mrtime
Version: 2.0
Author URI: http://www.mrtime.in.ua
*/
:root {
  --green: #90da43;
  --green-dark: #6cb61d;
  --text: #1a1a1a;
  --muted: #6b7280;
  --bg: #faf9f8;
  --card: #ffffff;
  --border: #e7e8e5;
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: var(--bg);
  color: var(--text);
}
.section_body {
  background-image: url("assets/images/xbox/back.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.grecaptcha-badge {
  visibility: hidden !important;
  pointer-events: none !important;
}
.addtoany_content {
  display: none !important;
}
.container {
  max-width: 932px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HEADER */
header.site-header {
  padding: 18px 0;
}
.header-row {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
.header-col {
  gap: 16px;
  display: flex;
  width: 90%;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 22px;
  white-space: nowrap;
  max-width: 320px;
}
.logo img {
  width: 100%;
}
.search-box {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--card);
  border-radius: 10px;
  padding: 16px 16px;
  border: 1px solid #ecebea;
  gap: 10px;
  color: var(--muted);
  max-width: 480px;
  position: relative;
}
.search-box svg {
  width: 18px;
  height: 18px;
}
.search-box input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 14px;
  color: var(--text);
}
.search-suggest {
  position: absolute;
  z-index: 1000;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 4px 12px 28px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}
.search-suggest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.search-suggest-item:last-child {
  border-bottom: none;
}
.search-suggest-item:hover {
  background: #f7fbf2;
}
.search-suggest-item img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  flex: none;
}
.search-suggest-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.search-suggest-copy strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-suggest-copy small {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}
.search-suggest-copy b {
  color: var(--green-dark);
  font-weight: 700;
}
.search-suggest-empty {
  padding: 14px;
  font-size: 12px;
  color: var(--muted);
}
.btn-cta {
  background: var(--green);
  color: #000;
  padding: 15px 22px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(144, 218, 67, 0.24);
}
.tg-icon {
  flex: none;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #42a5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tg-icon img {
  width: 100%;
  height: 100%;
}
.tg-icon svg {
  width: 31px;
  height: 31px;
}

nav.main-nav {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  overflow-x: auto;
  padding: 16px;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 4px 1px 8px rgba(0, 0, 0, 0.1);
}
nav.main-nav a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding-bottom: 8px;
  position: relative;
}

nav.main-nav a svg {
  font-size: 24px;
  width: 24px;
  height: 24px;
  fill: var(--green-dark);
  padding: 0;
  stroke: var(--green-dark);
}

nav.main-nav a.active {
  color: var(--green-dark);
  font-weight: 600;
}
nav.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--green);
}
nav.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--green);
}
.nav-all-games {
  background: #f2fae7;
  color: #000 !important;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 400;
}

/* MAIN LAYOUT */
main {
  padding: 28px 0 60px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 400;
  margin: 0 0 16px;
}
.section-title::before {
  content: "";
  width: 4px;
  height: 20px;
  background: var(--green);
  border-radius: 2px;
}

.main-row {
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}

.main-row.second {
  background-color: #fff;
  border: 1px solid #eeeded;
}
/* Banners */
.hero-banner {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 16/8.5;
}
.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.banner-row .banner {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1/0.8;
  position: relative;
}
.banner-row .banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card > .product-card-link:first-child {
  display: flex;
  flex-direction: column;
}
.product-card .thumb {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1/1;
  margin-bottom: 10px;
  position: relative;
}
.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badge {
  font-size: 8px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  background: #fff;
  display: inline-block;
  margin: 4px 0;
  min-height: 20px;
  align-self: flex-start;
}
.badge-slot {
  min-height: 28px;
}
.badge.hit {
  color: #e1762f;
  background: #fdeee3;
}
.badge.pop {
  color: #7c3aed;
  background: #f1e9fe;
}
.badge.new {
  color: #2563eb;
  background: #e5eefe;
}
.badge.sale {
  color: #d6336c;
  background: #fce4ec;
}
.product-card .name {
  font-size: 10px;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--text);
  min-height: 26px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card .price {
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 8px;
}
.buy-btn {
  width: 100%;
  background: #eaf7ec;
  color: var(--green-dark);
  border: none;
  padding: 9px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  margin-top: auto;
}
.show-more {
  display: block;
  margin: 28px auto 0;
  background: #eaf7ec;
  color: var(--green-dark);
  border: none;
  padding: 13px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

/* sidebar */
.side-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 4px 1px 8px rgba(0, 0, 0, 0.1);

  margin-bottom: 16px;
}
.side-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  margin: 0 0 14px;
  font-weight: 500;
}
.side-card h3 svg,
.side-card h3 img {
  width: 18px;
  height: 18px;
  flex: none;
}
.news-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.news-item img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex: none;
}
.news-item .t {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}
.news-item .d {
  font-size: 13px;
  color: var(--muted);
}
.see-all {
  color: var(--green-dark);
  font-weight: 400;
  font-size: 12px;
  margin-top: 10px;
  display: block;
}

.order-input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.order-input-row input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  width: 120px;
  outline: none;
}
.order-input-row button {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 500;
  font-size: 12px;
  cursor: pointer;
}
.side-card .link-muted {
  font-size: 13px;
  color: var(--green-dark);
  font-weight: 600;
}

.review-stars {
  color: #ffb020;
  font-weight: 700;
  font-size: 13px;
  margin-right: 6px;
}
.review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
}
.review-author {
  color: var(--muted);
}
.review-text {
  font-size: 12px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 8px;
}
.review-date {
  font-size: 11px;
  color: var(--muted);
}

.recent-item {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}
.recent-item img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex: none;
}
.recent-item .t {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.recent-item .p {
  font-size: 14px;
  color: #000;
  font-weight: 600;
}

.post-list a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 9px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.post-list a:last-child {
  border-bottom: none;
}
.post-list .date {
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}

/* footer */
footer {
  padding: 48px 0 28px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 2fr 1.4fr;
  gap: 24px;
}
.footer-col {
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 14px;
}
.footer-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
}
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}

.footer-social span {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(22, 22, 22, 0.08);
  color: #000;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: default;
}

.footer-social span svg {
  width: 22px;
  height: 22px;
}
.footer-grid h4 {
  font-size: 14px;
  margin: 0 0 14px;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-grid ul a {
  font-size: 13px;
  color: var(--muted);
}
.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-grid span {
  background: #f6f5f3;
  border: 1px solid #f1f0f0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
}
.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .copy {
  font-size: 12px;
  color: var(--muted);
}
.payments {
  display: flex;
  gap: 14px;
  align-items: center;
  font-weight: 700;
  color: var(--muted);
  font-size: 13px;
}
.blob {
  position: absolute;
  width: 140px;
  height: 140px;
  background: var(--green);
  border-radius: 50%;
  opacity: 0.9;
}
.blob.top {
  top: -40px;
  right: 60px;
}
.blob.bottom {
  bottom: -60px;
  left: -30px;
}
.search-container {
  width: 100%;
  display: flex;
  gap: 24px;
}

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--card);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 4px 1px 8px rgba(0, 0, 0, 0.1);
  flex: none;
}
.burger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  transition: 0.3s ease;
}
.burger-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger-btn.open span:nth-child(2) {
  opacity: 0;
}
.burger-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .burger-btn {
    display: flex;
    order: 1;
  }
  .logo-box {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  nav.main-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    overflow: visible;
  }
  nav.main-nav.open {
    display: flex;
    position: absolute;
    z-index: 999;
    width: 90%;
    top: 56px;
  }
  .search-container {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    gap: 16px;
    margin-top: 10px;
  }
  .search-suggest {
    top: calc(100% + 6px);
  }
  .reviews-layout {
    grid-template-columns: 1fr;
  }
  nav.main-nav a {
    width: 100%;
    padding: 12px 4px;
    border-bottom: 1px solid var(--border);
  }
  nav.main-nav a:last-child {
    border-bottom: none;
  }
  nav.main-nav a.active::after {
    display: none;
  }
  .nav-all-games {
    display: block !important;
    margin-top: 8px;
  }
}

/* breadcrumbs */
.breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  padding: 18px 0 6px;
}
.breadcrumbs a {
  color: var(--muted);
}
.breadcrumbs .sep {
  margin: 0 6px;
}
.breadcrumbs .current {
  color: var(--text);
  font-weight: 600;
}

main {
  padding: 10px 0 60px;
}
.layout {
  display: grid;
  grid-template-columns: 1fr 265px;
  gap: 24px;
  align-items: start;
}

.page-banner {
  background-image: url("assets/images/xbox/hero.png");
  height: 255px;
  background-repeat: no-repeat;
  padding: 24px;
  margin-bottom: 16px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-size: cover;
}

.page-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.page-desctiption {
  color: #fff;
}

.banner-btn {
  padding: 16px 16px;
  background: var(--green);
  color: #fff;
  border-radius: 12px;
  width: 200px;
  text-align: center;
}

/* category pills */
.pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.pill {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.pill.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.all-categories-section {
  margin-top: 28px;
}
.all-categories-section .section-title {
  color: var(--text);
  font-size: 17px;
  margin-bottom: 12px;
  padding-left: 12px;
  position: relative;
}
.all-categories-section .section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 3px;
  height: 18px;
  border-radius: 3px;
  background: var(--green);
}
.all-categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.all-cat-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}
.all-cat-item .count {
  min-width: 22px;
  padding: 2px 6px;
  border-radius: 6px;
  background: #edf8e8;
  color: var(--green-dark);
  text-align: center;
  font-size: 12px;
}

/* filter row */
.filter-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.filter-select {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
select.filter-select {
  appearance: auto;
  min-width: 140px;
}
.filter-select.sort {
  margin-left: auto;
}

/* sidebar */
.side-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
}
.side-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin: 0 0 14px;
  font-weight: 600;
}
.side-card h3 svg,
.side-card h3 img {
  width: 18px;
  height: 18px;
  flex: none;
}
.cat-list a {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.cat-list a span span {
  color: var(--muted);
  background: #eaf3e2;
  padding: 4px;
  border-radius: 4px;
  width: 32px;
  text-align: center;
  margin-right: 8px;
}
.cat-list a:last-child {
  border-bottom: none;
}
.cat-list .count {
  color: var(--muted);
  background: #eaf3e2;
  padding: 4px;
  border-radius: 4px;
  width: 32px;
  text-align: center;
}
.see-all {
  color: var(--green-dark);
  font-weight: 400;
  font-size: 12px;
  display: inline-block;
  margin-top: 4px;
}

.perk {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.perk:last-child {
  margin-bottom: 0;
}
.perk .ic {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eaf7ec;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-size: 14px;
}
.perk .t {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}
.perk .d {
  font-size: 11px;
  color: var(--muted);
}

.pay-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.pay-icons span {
  background: var(--bg);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.search-page .main-row,
.reviews-page .container > .side-card,
.reviews-form-card,
.reviews-list-card {
  box-shadow: 4px 1px 8px rgba(0, 0, 0, 0.04);
}
.search-product-grid {
  margin-top: 18px;
}
.search-other-results {
  margin-top: 24px;
}
.search-other-results h2 {
  font-size: 16px;
  margin: 0 0 12px;
}
.search-other-card {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.search-other-title {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}
.search-other-text {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.empty-state {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  margin-top: 18px;
}
.empty-state h2 {
  margin: 0 0 8px;
  font-size: 18px;
}
.empty-state p {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 16px;
}

.reviews-page-title {
  font-size: 24px;
  margin: 0 0 18px;
}
.reviews-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
}
.reviews-page .side-card {
  margin-bottom: 0;
}
.reviews-page label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}
.reviews-page input,
.reviews-page textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
}
.reviews-page textarea {
  resize: vertical;
  min-height: 130px;
}
.reviews-page input:focus,
.reviews-page textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(144, 218, 67, 0.18);
}
.reviews-submit-btn {
  width: 100%;
  border: none;
  border-radius: 10px;
  background: var(--green);
  color: #000;
  padding: 13px 18px;
  font-weight: 700;
  cursor: pointer;
}
.review-form-error {
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #ffe4e6;
  padding: 10px;
  border-radius: 8px;
  font-size: 12px;
}
.review-list-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.review-list-item:first-child {
  padding-top: 0;
}
.review-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.review-list-item .review-head {
  margin-bottom: 8px;
}
.review-list-item .review-author {
  color: var(--text);
  font-weight: 700;
}
.review-list-item .review-date {
  margin-left: auto;
}
.side-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.content-page {
  padding-bottom: 60px;
}
.page-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 4px 1px 8px rgba(0, 0, 0, 0.04);
}
.page-heading {
  font-size: 26px;
  margin: 0 0 16px;
}
.page-content {
  color: #333;
  font-size: 14px;
  line-height: 1.8;
}
.page-content h2,
.page-content h3 {
  color: var(--text);
  margin: 24px 0 10px;
}
.page-content p {
  margin: 0 0 14px;
}
.page-content ul,
.page-content ol {
  padding-left: 22px;
}
.page-content a {
  color: var(--green-dark);
  font-weight: 600;
}

/* Catalog */

.catalog-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.product-card .name {
  font-size: 10px;
  line-height: 1.3;
  margin-bottom: 6px;
  color: var(--muted);
  min-height: 26px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card .old-price {
  font-size: 11px;
  color: #b0b3ae;
  text-decoration: line-through;
  margin-bottom: 2px;
  min-height: 14px;
}
.product-card .price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-card .price {
  font-weight: 600;
  font-size: 12px;
}
.icon-btns {
  display: flex;
  gap: 6px;
}
.icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.buy-btn {
  width: 100%;
  background: #f7f6f3;
  color: var(--green-dark);
  border: none;
  padding: 6px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  margin-top: auto;
}
.buy-btn svg,
.buy-btn img {
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  flex: none;
}
.catalog-buy {
  min-height: 34px;
}
.product-card-link {
  display: block;
  color: inherit;
}
.buy-btn.is-disabled {
  pointer-events: none;
}
.show-more {
  display: block;
  margin: 28px auto 0;
  background: #eaf7ec;
  color: #000;
  border: none;
  padding: 13px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
}

.product-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
  margin-bottom: 36px;
}

.gallery {
  max-width: 200px;
}

.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/3.5;
  margin-bottom: 12px;
  background: #111;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
}
.gallery-thumbs .th {
  width: 84px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
}
.gallery-thumbs .th.active {
  border-color: var(--green);
}
.gallery-thumbs .th img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 18px;
}

.product-info h1 {
  font-size: 26px;
  margin: 0 0 10px;
}
.meta-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.meta-row span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.meta-row svg,
.meta-row img {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  flex: none;
}
.meta-dot {
  width: auto;
  color: var(--green-dark);
  font-weight: 700;
}
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eaf7ec;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 10px;
}
.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.rating-row .stars {
  color: #ffb020;
  font-weight: 700;
}
.rating-row .num {
  color: var(--text);
  font-weight: 700;
}

.price-box {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 16px;
}

.action-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.buy-btn-main {
  flex: 1;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}
.buy-btn-main svg,
.buy-btn-main img {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  flex: none;
}
.fav-btn {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
}
.pay-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(400px, calc(100vw - 32px));
  transform: translate(-50%, -50%);
  z-index: 1001;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}
.pay-modal h3 {
  margin: 0 0 18px;
  font-size: 20px;
  text-align: center;
}
.pay-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pay-inline-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 14px 0 0;
}
.pay-inline-fields label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.pay-inline-fields label:first-child,
.pay-inline-fields label:has(select) {
  grid-column: 1 / -1;
}
.pay-inline-fields input,
.pay-inline-fields select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f7f8f5;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  padding: 13px 14px;
  outline: none;
}
.pay-inline-fields input:focus,
.pay-inline-fields select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(144, 218, 67, 0.18);
}
.pay-inline-error {
  grid-column: 1 / -1;
  color: #be123c;
  background: #fff1f2;
  border: 1px solid #ffe4e6;
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 12px;
}
.pay-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f8faf6;
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.pay-option:hover {
  border-color: var(--green);
  background: #f0f9e8;
}
.pay-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  flex: none;
}
.pay-option b,
.pay-option small {
  display: block;
}
.pay-option small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}
.pay-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  margin-top: 16px;
  padding: 13px 16px;
  border: 0;
  border-radius: 10px;
  background: #edf1e9;
  color: var(--text);
  font-family: inherit;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}
.pay-submit:hover {
  background: #e4ecd8;
}
.pay-submit-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  color: #ffd866;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.8));
}
.pay-submit-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.mh-var-block {
  left: 50% !important;
  top: 50% !important;
  width: min(378px, calc(100vw - 28px)) !important;
  max-height: calc(100vh - 40px);
  transform: translate(-50%, -50%);
  overflow: auto;
}
.mh-var-block [id^="fancybox-content"] {
  width: 100% !important;
}
.mh-var-image img,
.mh-var-image .image img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
}
.mh-var-block input[type="email"] {
  max-width: 100%;
}

.feature-list {
  display: none;
  flex-direction: column;
  gap: 10px;
}
.feature-list .f {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
}
.feature-list .f::before {
  content: "✓";
  color: var(--green-dark);
  font-weight: 700;
}

.desc-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.desc-section h2 {
  font-size: 18px;
  margin: 0 0 14px;
}
.desc-section p {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

.spec-table {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.spec-row:last-child {
  border-bottom: none;
}
.spec-row .k {
  color: var(--muted);
}
.spec-row .v {
  font-weight: 600;
}

@media (max-width: 860px) {
  .product-top {
    grid-template-columns: 1fr;
  }
  .desc-section {
    grid-template-columns: 1fr;
  }
  .header-row {
    flex-wrap: wrap;
  }
  .search-box {
    order: 3;
    max-width: 100%;
  }
}
/* RESPONSIVE */
@media (max-width: 1100px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 860px) {
  header.site-header {
    padding: 14px 0;
  }
  .catalog-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .filter-select {
    padding: 8px 6px;
    font-size: 12px;
  }
  .pill-row {
    gap: 6px;
  }
  .pill {
    padding: 8px 6px;
    font-size: 12px;
  }
  .main-row {
    padding: 16px;
  }
  .header-row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .header-col {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }
  .logo {
    max-width: 160px;
    font-size: 0; /* matn bo'lsa yashirin, faqat rasm chiqadi */
  }
  .btn-cta {
    flex: 1;
    padding: 12px 14px;
    font-size: 13px;
    order: 2;
  }
  .search-box {
    order: 3;
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
  }
  .tg-icon {
    display: none;
  }
  nav.main-nav {
    margin-top: 12px;
    padding: 10px 12px;
    gap: 16px;
  }
  nav.main-nav a {
    font-size: 14px;
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .header-row {
    flex-wrap: wrap;
  }
  .search-box {
    order: 3;
    max-width: 100%;
  }
  .tg-icon {
    display: none;
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  nav.main-nav {
    gap: 18px;
  }
  .nav-all-games {
    display: none;
  }
  .banner-row {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .btn-cta {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* --- WordPress integration utilities (added for theme port) --- */
.hidden { display: none !important; }
.fav-btn.active,
.fav-toggle.active,
.icon-circle.active {
  color: #e2231a;
}
.footer-col ul.menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul.menu li {
  margin-bottom: 8px;
}
.footer-col ul.menu a {
  font-size: 13px;
  color: var(--muted);
}
.footer-col ul.menu a:hover {
  color: var(--text);
}

body.admin-bar #wpadminbar {
  background: #1f232a;
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
body.admin-bar #wpadminbar .ab-top-menu > li.hover > .ab-item,
body.admin-bar #wpadminbar .ab-top-menu > li:hover > .ab-item,
body.admin-bar #wpadminbar .ab-top-menu > li > .ab-item:focus,
body.admin-bar #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus {
  background: #2b3139;
  color: #fff;
}
body.admin-bar #wpadminbar .ab-sub-wrapper {
  background: #252b33;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
body.admin-bar #wpadminbar .ab-submenu .ab-item {
  color: #d8dde5;
}
body.admin-bar #wpadminbar .ab-submenu .ab-item:hover {
  background: #3f5ee8;
  color: #fff;
}
