/*
Theme Name: RetroRevive
Theme URI: https://retrorevive.pl
Author: Codex
Description: Motyw WordPress + WooCommerce dla butiku z używanymi konsolami, grami i akcesoriami retro.
Version: 2.0.21
Requires at least: 6.3
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: codex-game-store
*/

:root {
  color-scheme: dark;
  --cgs-bg: #06090d;
  --cgs-bg-2: #0a1017;
  --cgs-panel: #101720;
  --cgs-panel-2: #151d28;
  --cgs-line: rgba(158, 180, 205, .14);
  --cgs-text: #f4f7fb;
  --cgs-muted: #9caabe;
  --cgs-lime: #83e93f;
  --cgs-lime-2: #b8ff5a;
  --cgs-purple: #8e42ff;
  --cgs-blue: #3fd7ff;
  --cgs-danger: #ff4d6d;
  --cgs-radius: 8px;
  --cgs-shadow: 0 18px 48px rgba(0, 0, 0, .38);
  --cgs-max: 1320px;
  --cgs-gap: clamp(16px, 2vw, 28px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* RetroRevive final overrides must stay at the end of the stylesheet. */
body {
  background: var(--rr-bg);
  color: var(--rr-text);
}

.header {
  background: rgba(17, 20, 15, .84);
  border-bottom: 1px solid var(--rr-border);
}

.cgs-header,
.cgs-nav-wrap {
  display: none;
}

.hero-card {
  background:
    linear-gradient(90deg, rgba(17, 20, 15, .98) 0%, rgba(17, 20, 15, .82) 44%, rgba(17, 20, 15, .05) 100%),
    url("assets/images/hero-crt.png") center right / cover no-repeat;
}

.btn,
.cgs-button,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  min-height: 50px;
  border: 1px solid var(--rr-border);
  border-radius: 8px;
  background: rgba(0, 0, 0, .16);
  color: var(--rr-text);
  box-shadow: none;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.btn-primary,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: linear-gradient(180deg, #627747, var(--rr-accent));
  border-color: var(--rr-accent);
  color: var(--rr-text);
}

.eyebrow,
.cgs-section-kicker,
.product .onsale {
  color: #c4b990;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.product-grid,
.woocommerce ul.products,
.cgs-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.woocommerce ul.products li.product,
.product-card,
.cgs-product-card {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  border: 1px solid var(--rr-border);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(241, 235, 221, .035), rgba(241, 235, 221, .015));
}

.product-image img,
.cgs-product-card__media img,
.woocommerce ul.products li.product a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
}

.price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price {
  color: #c4b990;
}

.mini-cart,
.woocommerce ul.products li.product .button.mini-cart {
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border-color: var(--rr-accent);
  background: var(--rr-accent);
  font-size: 0;
}

.shop-layout,
.cgs-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
}

.filters,
.cgs-sidebar {
  position: static;
  padding-right: 28px;
  border-right: 1px solid var(--rr-border);
  background: transparent;
}

.footer {
  background: rgba(0, 0, 0, .16);
  border-top: 1px solid var(--rr-border);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.cgs-panel,
.cgs-info-card,
.woocommerce-tabs,
.cart_totals,
.woocommerce-checkout-review-order {
  background: linear-gradient(180deg, rgba(241, 235, 221, .035), rgba(241, 235, 221, .015));
  border-color: var(--rr-border);
  color: var(--rr-text);
}

@media (max-width: 980px) {
  .product-grid,
  .woocommerce ul.products,
  .cgs-product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shop-layout,
  .cgs-layout {
    grid-template-columns: 1fr;
  }

  .filters,
  .cgs-sidebar {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid var(--rr-border);
  }
}

@media (max-width: 680px) {
  .product-grid,
  .woocommerce ul.products,
  .cgs-product-grid {
    grid-template-columns: 1fr;
  }
}

/* Forced header sizing: this protects the header from older duplicated rules below. */
body .header .container {
  width: min(1500px, calc(100% - 56px)) !important;
}

body .header .header-inner {
  min-height: 76px !important;
  gap: 22px !important;
}

body .header .brand {
  flex: 0 0 270px !important;
  min-width: 270px !important;
  display: flex !important;
  align-items: center !important;
}

body .header .brand img {
  width: 270px !important;
  max-height: 72px !important;
  object-fit: contain !important;
}

body .header .nav {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

body .header .nav ul {
  width: 100% !important;
  justify-content: center !important;
  gap: clamp(18px, 2.2vw, 34px) !important;
}

body .header .nav a {
  min-height: 44px !important;
  white-space: nowrap !important;
  font-size: 12px !important;
  line-height: 1 !important;
  letter-spacing: .075em !important;
}

body .header .actions {
  flex: 0 0 auto !important;
  gap: 16px !important;
}

body .header .icon-btn {
  width: 32px !important;
  height: 32px !important;
}

body .header .icon-btn svg {
  width: 25px !important;
  height: 25px !important;
}

/* Header polish after menu cleanup. Keep this block last. */
.header .container {
  width: min(1500px, calc(100% - 56px));
}

.header-inner {
  min-height: 76px;
  gap: 22px;
}

.brand {
  flex: 0 0 270px;
  min-width: 270px;
  display: flex;
  align-items: center;
}

.brand img {
  width: 270px;
  max-height: 72px;
  object-fit: contain;
}

.nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav ul {
  width: 100%;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  color: rgba(241, 235, 221, .88);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .075em;
}

.actions {
  flex: 0 0 auto;
  gap: 16px;
}

.icon-btn {
  width: 32px;
  height: 32px;
}

.icon-btn svg {
  width: 25px;
  height: 25px;
}

@media (max-width: 1180px) {
  .brand {
    flex-basis: 230px;
    min-width: 230px;
  }

  .brand img {
    width: 230px;
  }

  .nav ul {
    gap: 16px;
  }

  .nav a {
    font-size: 11px;
  }
}

@media (max-width: 980px) {
  .header .container {
    width: min(100% - 28px, var(--rr-container));
  }

  .brand {
    flex-basis: 220px;
    min-width: 220px;
  }

  .brand img {
    width: 220px;
  }
}

/* Header polish after menu cleanup. Keep this block last. */
.header .container {
  width: min(1500px, calc(100% - 56px));
}

.header-inner {
  min-height: 76px;
  gap: 22px;
}

.brand {
  flex: 0 0 270px;
  min-width: 270px;
  display: flex;
  align-items: center;
}

.brand img {
  width: 270px;
  max-height: 72px;
  object-fit: contain;
}

.nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav ul {
  width: 100%;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  color: rgba(241, 235, 221, .88);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .075em;
}

.actions {
  flex: 0 0 auto;
  gap: 16px;
}

.icon-btn {
  width: 32px;
  height: 32px;
}

.icon-btn svg {
  width: 25px;
  height: 25px;
}

@media (max-width: 1180px) {
  .brand {
    flex-basis: 230px;
    min-width: 230px;
  }

  .brand img {
    width: 230px;
  }

  .nav ul {
    gap: 16px;
  }

  .nav a {
    font-size: 11px;
  }
}

@media (max-width: 980px) {
  .header .container {
    width: min(100% - 28px, var(--rr-container));
  }

  .brand {
    flex-basis: 220px;
    min-width: 220px;
  }

  .brand img {
    width: 220px;
  }
}

/* Header polish after menu cleanup. */
.header .container {
  width: min(1500px, calc(100% - 56px));
}

.header-inner {
  min-height: 76px;
  gap: 22px;
}

.brand {
  flex: 0 0 270px;
  min-width: 270px;
  display: flex;
  align-items: center;
}

.brand img {
  width: 270px;
  max-height: 72px;
  object-fit: contain;
}

.nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav ul {
  width: 100%;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  color: rgba(241, 235, 221, .88);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .075em;
}

.actions {
  flex: 0 0 auto;
  gap: 16px;
}

.icon-btn {
  width: 32px;
  height: 32px;
}

.icon-btn svg {
  width: 25px;
  height: 25px;
}

@media (max-width: 1180px) {
  .brand {
    flex-basis: 230px;
    min-width: 230px;
  }

  .brand img {
    width: 230px;
  }

  .nav ul {
    gap: 16px;
  }

  .nav a {
    font-size: 11px;
  }
}

@media (max-width: 980px) {
  .header .container {
    width: min(100% - 28px, var(--rr-container));
  }

  .brand {
    flex-basis: 220px;
    min-width: 220px;
  }

  .brand img {
    width: 220px;
  }
}

/* RetroRevive final visual layer. */
:root {
  color-scheme: dark;
  --rr-bg: #11140f;
  --rr-text: #f1ebdd;
  --rr-accent: #4f613a;
  --rr-bg-deep: #090b08;
  --rr-surface: #171b14;
  --rr-surface-2: #1e241a;
  --rr-muted: rgba(241, 235, 221, .72);
  --rr-dim: rgba(241, 235, 221, .48);
  --rr-border: rgba(241, 235, 221, .10);
  --rr-border-strong: rgba(79, 97, 58, .55);
  --rr-danger: #6b2e2e;
  --rr-radius: 10px;
  --rr-container: 1180px;
  --rr-shadow: 0 24px 80px rgba(0, 0, 0, .42);
  --cgs-bg: var(--rr-bg);
  --cgs-panel: var(--rr-surface);
  --cgs-panel-2: var(--rr-surface-2);
  --cgs-line: var(--rr-border);
  --cgs-text: var(--rr-text);
  --cgs-muted: var(--rr-muted);
  --cgs-lime: var(--rr-accent);
  --cgs-purple: var(--rr-accent);
  --cgs-blue: #c4b990;
  --cgs-radius: var(--rr-radius);
  --cgs-max: var(--rr-container);
}

body {
  background: var(--rr-bg);
  color: var(--rr-text);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .55;
  background:
    radial-gradient(circle at 70% 10%, rgba(79, 97, 58, .18), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, .10), rgba(0, 0, 0, .42)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

.container,
.cgs-container {
  width: min(var(--rr-container), calc(100% - 48px));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 20, 15, .84);
  border-bottom: 1px solid var(--rr-border);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 245px;
  max-height: 68px;
  object-fit: contain;
}

.nav,
.nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav a {
  color: var(--rr-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav a:hover,
.nav .current-menu-item > a {
  color: #c4b990;
}

.actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.icon-btn {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--rr-text);
  opacity: .95;
  cursor: pointer;
}

.icon-btn svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.7;
}

.cart-count::after {
  content: attr(data-count);
  position: absolute;
  top: -5px;
  right: -5px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 99px;
  background: var(--rr-accent);
  color: var(--rr-text);
  font-size: 11px;
  font-weight: 800;
}

.burger {
  display: none;
}

.hero {
  padding: 52px 0 38px;
}

.hero-card {
  min-height: 560px;
  display: grid;
  align-items: center;
  padding: 68px;
  border: 1px solid var(--rr-border);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(17, 20, 15, .98) 0%, rgba(17, 20, 15, .82) 44%, rgba(17, 20, 15, .05) 100%),
    url("assets/images/hero-crt.png") center right / cover no-repeat;
  box-shadow: var(--rr-shadow);
}

.eyebrow,
.cgs-section-kicker,
.product .onsale {
  color: #c4b990;
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.h1,
.h2,
.h3,
h1,
h2,
h3,
.cgs-page-title,
.woocommerce-products-header__title,
.product_title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0;
}

.h1 {
  max-width: 720px;
  margin: 18px 0 24px;
  font-size: 5.75rem;
}

.h2,
.section-head h2 {
  margin: 8px 0 0;
  font-size: 2.375rem;
}

.accent,
.h1 .accent,
.h2 .accent {
  color: #c4b990;
}

.lead,
.cgs-lead,
.cgs-page-intro {
  max-width: 560px;
  color: var(--rr-muted);
  font-size: 18px;
}

.buttons,
.cgs-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.btn,
.cgs-button,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wp-element-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 24px;
  border: 1px solid var(--rr-border);
  border-radius: 8px;
  background: rgba(0, 0, 0, .16);
  color: var(--rr-text);
  box-shadow: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-primary,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: linear-gradient(180deg, #627747, var(--rr-accent));
  border-color: var(--rr-accent);
  color: var(--rr-text);
}

.btn:hover,
.cgs-button:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  transform: translateY(-1px);
  border-color: var(--rr-border-strong);
  filter: none;
}

.trust-strip {
  margin-bottom: 56px;
  border-top: 1px solid var(--rr-border);
  border-bottom: 1px solid var(--rr-border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 26px;
  border-left: 1px solid var(--rr-border);
}

.trust-item:first-child {
  border-left: 0;
}

.trust-item svg {
  width: 32px;
  height: 32px;
  color: #c4b990;
}

.trust-item strong {
  display: block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.trust-item span {
  color: var(--rr-muted);
  font-size: 13px;
}

.section,
.cgs-section {
  padding: 50px 0;
}

.section-head,
.cgs-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}

.section-head.center {
  display: block;
  text-align: center;
}

.section-link {
  color: #c4b990;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.category-grid,
.cgs-category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.cat-card,
.cgs-category-card,
.product-card,
.cgs-panel,
.cgs-info-card,
.banner-card,
.order-card {
  overflow: hidden;
  border: 1px solid var(--rr-border);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(241, 235, 221, .035), rgba(241, 235, 221, .015));
}

.cat-card {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
}

.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .62;
  transition: .3s;
}

.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(17, 20, 15, .88));
}

.cat-card:hover img {
  transform: scale(1.04);
  opacity: .78;
}

.cat-card-content {
  position: relative;
  z-index: 2;
}

.cat-card h3 {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cat-card p {
  margin: 5px 0 0;
  color: var(--rr-muted);
  font-size: 13px;
}

.product-grid,
.woocommerce ul.products,
.cgs-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product,
.product-card,
.cgs-product-card {
  position: relative;
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

.product-image,
.cgs-product-card__media {
  display: block;
  aspect-ratio: 1.08;
  overflow: hidden;
  background: #0b0d0a;
}

.product-image img,
.cgs-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .86;
  transition: .3s;
}

.product-card:hover .product-image img {
  transform: scale(1.035);
  opacity: 1;
}

.product-info {
  padding: 18px;
}

.meta {
  color: #c4b990;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-title {
  margin: 8px 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.product-desc {
  min-height: 40px;
  margin: 0 0 14px;
  color: var(--rr-muted);
  font-size: 13px;
}

.price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #c4b990;
  font-size: 24px;
  font-weight: 900;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 4px;
  background: var(--rr-accent);
  color: var(--rr-text);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.heart {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rr-border);
  border-radius: 99px;
  background: rgba(0, 0, 0, .3);
}

.mini-cart,
.woocommerce ul.products li.product .button.mini-cart {
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border-color: var(--rr-accent);
  border-radius: 8px;
  background: var(--rr-accent);
  color: var(--rr-text);
  font-size: 0;
}

.mini-cart::before {
  content: "+";
  font-size: 24px;
  line-height: 1;
}

.split-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.banner-card {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px;
  background-position: center;
  background-size: cover;
}

.banner-card.sell {
  background-image: linear-gradient(90deg, rgba(17, 20, 15, .96), rgba(17, 20, 15, .60)), url("assets/images/sell-setup.png");
}

.banner-card.outlet {
  background-image: linear-gradient(90deg, rgba(17, 20, 15, .96), rgba(87, 42, 34, .62)), url("assets/images/classics-collection.png");
}

.banner-card h2 {
  margin: 8px 0;
}

.banner-card p,
.about-text p,
.cgs-panel p,
.cgs-info-card p {
  color: var(--rr-muted);
}

.about-band {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: center;
}

.about-photo {
  overflow: hidden;
  border: 1px solid var(--rr-border);
  border-radius: 10px;
}

.about-photo img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.footer {
  margin-top: 70px;
  padding: 44px 0 28px;
  border-top: 1px solid var(--rr-border);
  background: rgba(0, 0, 0, .16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1.4fr;
  gap: 32px;
}

.footer img {
  width: 220px;
}

.footer h4 {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer a,
.footer p {
  display: block;
  margin: 8px 0;
  color: var(--rr-muted);
  font-size: 14px;
}

.newsletter {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--rr-border);
  border-radius: 7px;
}

.newsletter input {
  flex: 1;
  min-width: 0;
  padding: 14px;
  border: 0;
  background: transparent;
  color: var(--rr-text);
}

.newsletter button {
  width: 48px;
  border: 0;
  background: var(--rr-accent);
  color: var(--rr-text);
}

.cgs-copyright {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--rr-border);
  color: var(--rr-dim);
  font-size: 12px;
}

.shop-layout,
.cgs-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
}

.filters,
.cgs-sidebar {
  position: static;
  padding-right: 28px;
  border-right: 1px solid var(--rr-border);
}

.filter-group,
.cgs-filter-card {
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid var(--rr-border);
  background: transparent;
}

.filter-group h4,
.cgs-filter-card h3 {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.filter-list,
.cgs-filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-list a,
.cgs-filter-list a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0;
  color: var(--rr-muted);
  font-size: 14px;
}

.toolbar,
.cgs-shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.woocommerce .woocommerce-ordering select,
.select,
.input,
textarea,
select,
.cgs-form input,
.cgs-form textarea,
.cgs-form select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
  width: 100%;
  min-height: 48px;
  padding: 14px 15px;
  border: 1px solid var(--rr-border);
  border-radius: 7px;
  background: rgba(0, 0, 0, .14);
  color: var(--rr-text);
}

.woocommerce div.product {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 48px;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  width: auto;
  float: none;
}

.woocommerce div.product div.images img {
  border: 1px solid var(--rr-border);
  border-radius: 10px;
  background: #090b08;
}

.woocommerce-tabs,
.cgs-product-details,
.cart_totals,
.woocommerce-checkout-review-order,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-navigation {
  margin-top: 42px;
  padding: 26px;
  border: 1px solid var(--rr-border);
  border-radius: 10px;
  background: rgba(0, 0, 0, .14);
}

.woocommerce table.shop_table,
.cgs-detail-table {
  border-color: var(--rr-border);
  border-radius: 10px;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td,
.cgs-detail-table th,
.cgs-detail-table td {
  border-color: var(--rr-border);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--rr-accent);
  background: var(--rr-surface);
  color: var(--rr-text);
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: #c4b990;
}

.cgs-page-grid,
.cgs-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cgs-span-2 {
  grid-column: span 2;
}

.cgs-span-all {
  grid-column: 1 / -1;
}

.cgs-panel,
.cgs-info-card {
  padding: 28px;
}

.cgs-form__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cgs-form__row {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--rr-muted);
  font-size: 14px;
}

@media (max-width: 1180px) {
  .nav,
  .nav ul {
    gap: 16px;
  }

  .brand img {
    width: 210px;
  }
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 74px;
  }

  .brand img {
    width: 190px;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    display: none;
    padding: 18px 24px;
    border-bottom: 1px solid var(--rr-border);
    background: rgba(17, 20, 15, .98);
  }

  .nav.is-open {
    display: block;
  }

  .nav ul {
    display: grid;
    gap: 14px;
  }

  .burger {
    display: grid;
  }

  .hero-card {
    min-height: 620px;
    padding: 38px;
    background:
      linear-gradient(180deg, rgba(17, 20, 15, .96) 0%, rgba(17, 20, 15, .65) 58%, rgba(17, 20, 15, .20)),
      url("assets/images/hero-crt.png") center bottom / cover no-repeat;
  }

  .h1 {
    font-size: 3.75rem;
  }

  .trust-grid,
  .category-grid,
  .cgs-category-grid,
  .product-grid,
  .woocommerce ul.products,
  .footer-grid,
  .cgs-info-grid,
  .cgs-page-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shop-layout,
  .cgs-layout,
  .woocommerce div.product,
  .about-band {
    grid-template-columns: 1fr;
  }

  .filters,
  .cgs-sidebar {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid var(--rr-border);
  }

  .split-banners {
    grid-template-columns: 1fr;
  }

  .cgs-span-2,
  .cgs-span-all {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .container,
  .cgs-container {
    width: min(100% - 28px, var(--rr-container));
  }

  .actions {
    gap: 10px;
  }

  .icon-btn {
    width: 30px;
  }

  .icon-btn svg {
    width: 24px;
    height: 24px;
  }

  .hero-card {
    min-height: 560px;
    padding: 26px;
  }

  .h1 {
    font-size: 2.875rem;
  }

  .buttons .btn,
  .cgs-button,
  .button,
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button {
    width: 100%;
  }

  .trust-grid,
  .category-grid,
  .cgs-category-grid,
  .product-grid,
  .woocommerce ul.products,
  .footer-grid,
  .cgs-info-grid,
  .cgs-page-grid,
  .cgs-form__split {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-left: 0;
    border-top: 1px solid var(--rr-border);
  }

  .trust-item:first-child {
    border-top: 0;
  }

  .footer img {
    width: 190px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 0%, rgba(142, 66, 255, .16), transparent 28rem),
    radial-gradient(circle at 82% 8%, rgba(63, 215, 255, .1), transparent 30rem),
    linear-gradient(180deg, #05080c 0%, var(--cgs-bg) 42%, #070b10 100%);
  color: var(--cgs-text);
  font-size: 16px;
  line-height: 1.55;
}

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

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

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cgs-container {
  width: min(var(--cgs-max), calc(100% - 32px));
  margin: 0 auto;
}

.cgs-site {
  min-height: 100vh;
}

.cgs-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 8, 12, .86);
  border-bottom: 1px solid var(--cgs-line);
  backdrop-filter: blur(18px);
}

.cgs-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 74px;
}

.cgs-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cgs-logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--cgs-lime), var(--cgs-purple), var(--cgs-blue), var(--cgs-lime));
  box-shadow: 0 0 26px rgba(131, 233, 63, .25);
  position: relative;
}

.cgs-logo-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #070a0f;
}

.cgs-search {
  position: relative;
}

.cgs-search form,
.woocommerce-product-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cgs-search input[type="search"],
.woocommerce-product-search input[type="search"],
.cgs-form input,
.cgs-form textarea,
.cgs-form select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
  width: 100%;
  min-height: 44px;
  color: var(--cgs-text);
  background: #0d141d;
  border: 1px solid var(--cgs-line);
  border-radius: var(--cgs-radius);
  padding: 11px 13px;
  outline: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--cgs-text);
}

.select2-dropdown {
  color: #111827;
}

.cgs-search button,
.woocommerce-product-search button,
.cgs-button,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--cgs-radius);
  background: linear-gradient(135deg, var(--cgs-lime), var(--cgs-lime-2));
  color: #071006;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(131, 233, 63, .14);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.cgs-search button {
  min-width: 46px;
  padding-inline: 12px;
}

.cgs-button:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.wp-element-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 18px 34px rgba(131, 233, 63, .18);
}

.cgs-button--secondary,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: linear-gradient(135deg, #6f38dd, #9b5cff);
  color: #fff;
  box-shadow: 0 12px 26px rgba(142, 66, 255, .18);
}

.cgs-button--ghost {
  background: rgba(255, 255, 255, .06);
  color: var(--cgs-text);
  border: 1px solid var(--cgs-line);
  box-shadow: none;
}

.cgs-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.cgs-icon-link,
.cgs-menu-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cgs-line);
  border-radius: var(--cgs-radius);
  background: rgba(255, 255, 255, .04);
  color: var(--cgs-text);
  position: relative;
}

.cgs-cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--cgs-lime);
  color: #061006;
  font-size: 11px;
  font-weight: 900;
}

.cgs-menu-toggle {
  display: none;
}

.cgs-nav-wrap {
  border-top: 1px solid rgba(158, 180, 205, .08);
}

.cgs-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
}

.cgs-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 0;
  margin: 0;
}

.cgs-nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--cgs-muted);
  font-size: 14px;
  font-weight: 750;
}

.cgs-nav .current-menu-item > a,
.cgs-nav a:hover {
  color: var(--cgs-text);
  background: rgba(142, 66, 255, .16);
}

.cgs-hero {
  min-height: clamp(560px, 72vh, 760px);
  display: grid;
  align-items: end;
  padding: 34px 0 0;
}

.cgs-hero__inner {
  min-height: clamp(510px, 64vh, 690px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--cgs-line);
  border-radius: 0 0 var(--cgs-radius) var(--cgs-radius);
  background:
    linear-gradient(90deg, rgba(5, 8, 12, .97) 0%, rgba(5, 8, 12, .72) 44%, rgba(5, 8, 12, .18) 100%),
    image-set(url("assets/img/gaming-hero.png") type("image/png"));
  background-size: cover;
  background-position: center right;
  box-shadow: var(--cgs-shadow);
}

.cgs-hero__copy {
  align-self: center;
  max-width: 720px;
  padding: clamp(28px, 5vw, 70px);
}

.cgs-kicker,
.cgs-section-kicker,
.product .onsale {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(142, 66, 255, .18);
  color: #d8c7ff;
  border: 1px solid rgba(142, 66, 255, .28);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cgs-hero h1 {
  margin: 18px 0 16px;
  max-width: 740px;
  font-size: clamp(40px, 6vw, 78px);
  line-height: .96;
  letter-spacing: 0;
}

.cgs-gradient-text {
  color: var(--cgs-lime);
}

.cgs-lead {
  max-width: 640px;
  margin: 0 0 28px;
  color: #c7d1de;
  font-size: clamp(17px, 2vw, 21px);
}

.cgs-hero__actions,
.cgs-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cgs-benefits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 18px;
  background: var(--cgs-line);
  border: 1px solid var(--cgs-line);
  border-radius: var(--cgs-radius);
  overflow: hidden;
}

.cgs-benefit {
  min-height: 98px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px;
  background: rgba(10, 16, 23, .9);
}

.cgs-benefit svg,
.cgs-tile svg,
.cgs-info-card svg {
  color: var(--cgs-lime);
}

.cgs-benefit strong {
  display: block;
  line-height: 1.2;
}

.cgs-benefit span {
  color: var(--cgs-muted);
  font-size: 13px;
}

.cgs-section {
  padding: clamp(40px, 6vw, 78px) 0;
}

.cgs-section--tight {
  padding-top: 30px;
}

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

.cgs-section-head h2,
.cgs-page-title,
.woocommerce-products-header__title,
.product_title {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.06;
  letter-spacing: 0;
}

.cgs-section-head p,
.cgs-page-intro {
  max-width: 660px;
  color: var(--cgs-muted);
  margin: 8px 0 0;
}

.cgs-category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.cgs-category-card {
  min-height: 148px;
  display: grid;
  align-content: end;
  padding: 16px;
  border: 1px solid var(--cgs-line);
  border-radius: var(--cgs-radius);
  background:
    linear-gradient(180deg, rgba(8, 12, 18, .2), rgba(8, 12, 18, .88)),
    radial-gradient(circle at 82% 12%, rgba(131, 233, 63, .2), transparent 5rem),
    #101720;
  overflow: hidden;
}

.cgs-category-card:nth-child(2n) {
  background:
    linear-gradient(180deg, rgba(8, 12, 18, .2), rgba(8, 12, 18, .88)),
    radial-gradient(circle at 80% 18%, rgba(142, 66, 255, .24), transparent 5rem),
    #101720;
}

.cgs-category-card strong {
  display: block;
  font-size: 17px;
}

.cgs-category-card span {
  color: var(--cgs-muted);
  font-size: 13px;
}

.cgs-product-grid,
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product,
.cgs-product-card {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

.cgs-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--cgs-line);
  border-radius: var(--cgs-radius);
  background: linear-gradient(180deg, rgba(21, 29, 40, .88), rgba(11, 16, 23, .94));
  overflow: hidden;
}

.cgs-product-card__media {
  aspect-ratio: 1.08 / .82;
  background:
    radial-gradient(circle at 55% 30%, rgba(131, 233, 63, .16), transparent 40%),
    #0a1017;
  overflow: hidden;
}

.cgs-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.cgs-product-card:hover img {
  transform: scale(1.045);
}

.cgs-product-card__body {
  display: grid;
  gap: 9px;
  padding: 13px;
}

.cgs-product-card__title {
  min-height: 44px;
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
}

.cgs-product-card__meta,
.cgs-product-card__state {
  color: var(--cgs-muted);
  font-size: 12px;
}

.cgs-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.price,
.woocommerce-Price-amount {
  color: var(--cgs-lime);
  font-weight: 900;
}

del .woocommerce-Price-amount {
  color: #8490a1;
  font-weight: 650;
}

ins {
  text-decoration: none;
}

.cgs-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.cgs-badge {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(131, 233, 63, .11);
  color: #bfff85;
  border: 1px solid rgba(131, 233, 63, .2);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.cgs-badge--outlet {
  background: rgba(255, 77, 109, .13);
  color: #ff9bad;
  border-color: rgba(255, 77, 109, .3);
}

.cgs-product-card__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 2px;
}

.cgs-product-card__actions .button,
.cgs-product-card__actions .added_to_cart {
  min-height: 38px;
  padding: 9px 11px;
  font-size: 12px;
}

.cgs-product-card__actions .cgs-view {
  background: rgba(255, 255, 255, .06);
  color: var(--cgs-text);
  border: 1px solid var(--cgs-line);
  box-shadow: none;
}

.cgs-cta {
  min-height: 280px;
  display: grid;
  align-items: center;
  border: 1px solid var(--cgs-line);
  border-radius: var(--cgs-radius);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 12, 18, .98), rgba(8, 12, 18, .78) 45%, rgba(8, 12, 18, .24)),
    image-set(url("assets/img/gaming-hero.png") type("image/png"));
  background-size: cover;
  background-position: center right;
  box-shadow: var(--cgs-shadow);
}

.cgs-cta__copy {
  max-width: 620px;
  padding: clamp(24px, 5vw, 58px);
}

.cgs-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.03;
}

.cgs-info-grid,
.cgs-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cgs-info-card,
.cgs-panel,
.woocommerce-cart-form,
.cart_totals,
.woocommerce-checkout-review-order,
.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields,
.woocommerce-order,
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content {
  border: 1px solid var(--cgs-line);
  border-radius: var(--cgs-radius);
  background: rgba(16, 23, 32, .86);
  padding: clamp(18px, 2vw, 24px);
}

.cgs-info-card h3,
.cgs-panel h2,
.cgs-panel h3 {
  margin: 0 0 8px;
}

.cgs-info-card p,
.cgs-panel p,
.cgs-panel li {
  color: var(--cgs-muted);
}

.cgs-span-2 {
  grid-column: span 2;
}

.cgs-span-all {
  grid-column: 1 / -1;
}

.cgs-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.cgs-sidebar {
  position: sticky;
  top: 140px;
  display: grid;
  gap: 14px;
}

.cgs-filter-card {
  border: 1px solid var(--cgs-line);
  border-radius: var(--cgs-radius);
  background: rgba(10, 16, 23, .9);
  padding: 16px;
}

.cgs-filter-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.cgs-filter-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cgs-filter-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--cgs-muted);
  font-size: 13px;
}

.cgs-filter-list a:hover {
  color: var(--cgs-text);
}

.cgs-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--cgs-muted);
}

.woocommerce .woocommerce-ordering select,
.woocommerce .woocommerce-result-count {
  margin: 0;
}

.woocommerce .woocommerce-ordering select {
  min-height: 42px;
  color: var(--cgs-text);
  background: #0d141d;
  border: 1px solid var(--cgs-line);
  border-radius: var(--cgs-radius);
  padding: 8px 12px;
}

.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, .68fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: start;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  width: auto !important;
  float: none !important;
}

.woocommerce div.product div.images {
  border: 1px solid var(--cgs-line);
  border-radius: var(--cgs-radius);
  background: rgba(16, 23, 32, .86);
  overflow: hidden;
}

.woocommerce div.product div.summary {
  margin: 0;
  border: 1px solid var(--cgs-line);
  border-radius: var(--cgs-radius);
  background: rgba(16, 23, 32, .86);
  padding: clamp(20px, 3vw, 30px);
}

.woocommerce div.product p.price {
  font-size: clamp(28px, 3vw, 40px);
  color: var(--cgs-lime);
}

.woocommerce div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 20px 0;
}

.woocommerce .quantity .qty {
  width: 74px;
  min-height: 46px;
  color: var(--cgs-text);
  background: #0d141d;
  border: 1px solid var(--cgs-line);
  border-radius: var(--cgs-radius);
}

.cgs-product-note,
.cgs-single-promises {
  display: grid;
  gap: 9px;
  margin: 18px 0;
  color: var(--cgs-muted);
}

.cgs-single-promises span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cgs-product-details {
  grid-column: 1 / -1;
  border: 1px solid var(--cgs-line);
  border-radius: var(--cgs-radius);
  background: rgba(16, 23, 32, .86);
  padding: clamp(18px, 2vw, 24px);
}

.cgs-detail-table {
  width: 100%;
  border-collapse: collapse;
}

.cgs-detail-table th,
.cgs-detail-table td {
  border-bottom: 1px solid var(--cgs-line);
  padding: 12px 8px;
  text-align: left;
  vertical-align: top;
}

.cgs-detail-table th {
  width: 220px;
  color: var(--cgs-muted);
  font-weight: 700;
}

.woocommerce-tabs {
  grid-column: 1 / -1;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: 1px solid var(--cgs-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: var(--cgs-muted);
  padding: 10px 14px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: rgba(131, 233, 63, .12);
  border-color: rgba(131, 233, 63, .3);
}

.woocommerce div.product .woocommerce-tabs .panel {
  border: 1px solid var(--cgs-line);
  border-radius: var(--cgs-radius);
  background: rgba(16, 23, 32, .86);
  padding: clamp(18px, 2vw, 24px);
}

.related.products,
.upsells.products {
  grid-column: 1 / -1;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border: 1px solid var(--cgs-line);
  border-radius: var(--cgs-radius);
  background: rgba(16, 23, 32, .95);
  color: var(--cgs-text);
}

.woocommerce-info,
.woocommerce-message {
  border-top-color: var(--cgs-lime);
}

.woocommerce-error {
  border-top-color: var(--cgs-danger);
}

.woocommerce table.shop_table {
  border-color: var(--cgs-line);
  border-radius: var(--cgs-radius);
  overflow: hidden;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: var(--cgs-line);
}

.cgs-form {
  display: grid;
  gap: 14px;
}

.cgs-form__row {
  display: grid;
  gap: 7px;
}

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

.cgs-footer {
  margin-top: 48px;
  border-top: 1px solid var(--cgs-line);
  background: rgba(5, 8, 12, .72);
}

.cgs-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 24px;
  padding: 40px 0;
}

.cgs-footer h2,
.cgs-footer h3 {
  margin: 0 0 12px;
}

.cgs-footer p,
.cgs-footer a,
.cgs-footer li {
  color: var(--cgs-muted);
}

.cgs-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
}

.cgs-copyright {
  border-top: 1px solid var(--cgs-line);
  padding: 16px 0 24px;
  color: var(--cgs-muted);
  font-size: 13px;
}

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

  .cgs-category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cgs-benefits {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .cgs-topbar {
    grid-template-columns: auto auto;
  }

  .cgs-search {
    grid-column: 1 / -1;
    order: 3;
    padding-bottom: 12px;
  }

  .cgs-menu-toggle {
    display: inline-flex;
  }

  .cgs-nav-wrap {
    display: none;
  }

  .cgs-nav-wrap.is-open {
    display: block;
  }

  .cgs-nav ul {
    display: grid;
    width: 100%;
    padding: 10px 0 14px;
  }

  .cgs-nav a {
    width: 100%;
    border-radius: var(--cgs-radius);
  }

  .cgs-hero__inner {
    grid-template-columns: 1fr;
    background:
      linear-gradient(180deg, rgba(5, 8, 12, .9), rgba(5, 8, 12, .78) 52%, rgba(5, 8, 12, .92)),
      image-set(url("assets/img/gaming-hero.png") type("image/png"));
    background-size: cover;
    background-position: center right;
  }

  .cgs-benefits,
  .cgs-info-grid,
  .cgs-page-grid,
  .cgs-footer__grid,
  .woocommerce div.product {
    grid-template-columns: 1fr;
  }

  .cgs-span-2,
  .cgs-span-all {
    grid-column: auto;
  }

  .cgs-layout {
    grid-template-columns: 1fr;
  }

  .cgs-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .cgs-container {
    width: min(var(--cgs-max), calc(100% - 22px));
  }

  .cgs-hero {
    min-height: auto;
    padding-top: 18px;
  }

  .cgs-hero__inner {
    min-height: 590px;
  }

  .cgs-hero__copy {
    padding: 28px 18px;
  }

  .cgs-hero h1 {
    font-size: clamp(36px, 12vw, 52px);
  }

  .cgs-hero__actions,
  .cgs-inline-actions,
  .cgs-shop-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .cgs-button,
  .button,
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button {
    width: 100%;
  }

  .cgs-category-grid,
  .cgs-product-grid,
  .woocommerce ul.products,
  .cgs-sidebar,
  .cgs-form__split {
    grid-template-columns: 1fr;
  }

  .cgs-section-head {
    display: block;
  }

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

  .cgs-detail-table th,
  .cgs-detail-table td {
    display: block;
    width: 100%;
    padding-inline: 0;
  }
}

/* RetroRevive final overrides must stay at the end of the stylesheet. */
body {
  background: var(--rr-bg);
  color: var(--rr-text);
}

.header {
  background: rgba(17, 20, 15, .84);
  border-bottom: 1px solid var(--rr-border);
}

.cgs-header,
.cgs-nav-wrap {
  display: none;
}

.hero-card {
  background:
    linear-gradient(90deg, rgba(17, 20, 15, .98) 0%, rgba(17, 20, 15, .82) 44%, rgba(17, 20, 15, .05) 100%),
    url("assets/images/hero-crt.png") center right / cover no-repeat;
}

.btn,
.cgs-button,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  min-height: 50px;
  border: 1px solid var(--rr-border);
  border-radius: 8px;
  background: rgba(0, 0, 0, .16);
  color: var(--rr-text);
  box-shadow: none;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.btn-primary,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: linear-gradient(180deg, #627747, var(--rr-accent));
  border-color: var(--rr-accent);
  color: var(--rr-text);
}

.eyebrow,
.cgs-section-kicker,
.product .onsale {
  color: #c4b990;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.product-grid,
.woocommerce ul.products,
.cgs-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.woocommerce ul.products li.product,
.product-card,
.cgs-product-card {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  border: 1px solid var(--rr-border);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(241, 235, 221, .035), rgba(241, 235, 221, .015));
}

.product-image img,
.cgs-product-card__media img,
.woocommerce ul.products li.product a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
}

.price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price {
  color: #c4b990;
}

.mini-cart,
.woocommerce ul.products li.product .button.mini-cart {
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border-color: var(--rr-accent);
  background: var(--rr-accent);
  font-size: 0;
}

.shop-layout,
.cgs-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
}

.filters,
.cgs-sidebar {
  position: static;
  padding-right: 28px;
  border-right: 1px solid var(--rr-border);
  background: transparent;
}

.footer {
  background: rgba(0, 0, 0, .16);
  border-top: 1px solid var(--rr-border);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.cgs-panel,
.cgs-info-card,
.woocommerce-tabs,
.cart_totals,
.woocommerce-checkout-review-order {
  background: linear-gradient(180deg, rgba(241, 235, 221, .035), rgba(241, 235, 221, .015));
  border-color: var(--rr-border);
  color: var(--rr-text);
}

@media (max-width: 980px) {
  .product-grid,
  .woocommerce ul.products,
  .cgs-product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shop-layout,
  .cgs-layout {
    grid-template-columns: 1fr;
  }

  .filters,
  .cgs-sidebar {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid var(--rr-border);
  }
}

@media (max-width: 680px) {
  .product-grid,
  .woocommerce ul.products,
  .cgs-product-grid {
    grid-template-columns: 1fr;
  }
}
