/*
Theme Name: Mobile GameDev Global
Theme URI: https://global.mobile-gamedev.info
Author: Mobile GameDev
Description: Custom dark arcade theme for global.mobile-gamedev.info. Sixty game e-learning courses with curriculum, about text, and cover art.
Version: 1.6.6
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
WC requires at least: 8.0
WC tested up to: 11.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mgd-global
Tags: e-commerce, education, custom-menu, featured-images, one-column, custom-colors
*/

:root {
  --bg: #0b0911;
  --surface: #161320;
  --ink: #ffffff;
  --muted: #afabba;
  --orange: #ff9500;
  --cyan: #00d4ff;
  --green: #1ae65d;
  --black: #000000;
  --card: #161320;
  --line: 3px solid #000;
  --shadow: 6px 6px 0 #000;
  --radius: 12px;
  --wrap: 1120px;
  --header: 92px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Outfit, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--orange);
  color: var(--bg);
  padding: 8px 12px;
  z-index: 200;
}
.skip-link:focus { left: 8px; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto;
}

.font-display { font-family: Bungee, cursive; font-weight: 400; letter-spacing: 0.02em; }
.font-pixel { font-family: "Press Start 2P", cursive; }

/* XP bar */
.xp-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 32px;
  background: #000;
  border-bottom: 4px solid #000;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
}
.xp-label {
  font-family: "Press Start 2P", cursive;
  font-size: 8px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.xp-track {
  flex: 1;
  height: 14px;
  background: #1f2937;
  border: 2px solid #000;
  overflow: hidden;
}
.xp-fill {
  height: 100%;
  width: 0;
  background: var(--green);
  transition: width 0.15s linear;
}
.xp-percent {
  font-family: "Press Start 2P", cursive;
  font-size: 8px;
  min-width: 36px;
  text-align: right;
}

/* Header */
.site-header {
  position: sticky;
  top: 32px;
  z-index: 90;
  background: rgba(11, 9, 17, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 4px solid #000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--orange);
  color: var(--bg);
  border: 3px solid #000;
  box-shadow: 3px 3px 0 #000;
  display: grid;
  place-items: center;
}
.logo-word {
  font-family: Bungee, cursive;
  font-size: 22px;
  letter-spacing: 0.02em;
}
.logo-word span { color: var(--orange); }

.primary-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  display: block;
  padding: 8px 14px;
  font-family: Bungee, cursive;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.primary-nav a:hover,
.primary-nav .current-menu-item a { color: var(--orange); }

.nav-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: 3px solid #000;
  box-shadow: 3px 3px 0 #000;
  width: 46px;
  height: 42px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  height: 2px;
  background: #fff;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--orange);
  color: var(--bg);
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
  padding: 12px 22px;
  font-family: Bungee, cursive;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 #000; color: var(--bg); }
.btn-cyan {
  background: transparent;
  color: var(--cyan);
  border-color: transparent;
  box-shadow: none;
  padding-left: 0;
}
.btn-cyan:hover { color: #fff; box-shadow: none; transform: none; }
.header-cta { flex: 0 0 auto; padding: 10px 18px; font-size: 13px; }
.header-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: #fff;
  background: var(--card);
  border: 3px solid #000;
  box-shadow: 3px 3px 0 #000;
  padding: 10px 14px;
  font-family: Bungee, cursive;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.header-cart .count {
  color: var(--cyan);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.account-menu, .region-menu { position: relative; }
.account-toggle, .region-toggle { cursor: pointer; }
.account-panel, .region-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 120;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #120f1c;
  border: 3px solid #000;
  box-shadow: 6px 6px 0 #000;
}
.account-panel.is-open, .region-panel.is-open { display: block; }
.account-panel a, .region-panel a {
  display: block;
  padding: 10px 12px;
  color: #fff;
  font-family: Bungee, cursive;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.account-panel a:hover, .region-panel a:hover,
.region-panel a[aria-current="page"] { color: var(--orange); }
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  background: var(--card);
  border: 3px solid #000;
  box-shadow: 3px 3px 0 #000;
  padding: 12px 14px;
  font-family: Bungee, cursive;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  background: var(--orange);
  color: var(--bg);
}
.header-search {
  display: flex;
  align-items: stretch;
  flex: 0 1 240px;
}
.header-search input {
  width: 100%;
  min-width: 0;
  background: #0e0c14;
  color: #fff;
  border: 3px solid #000;
  box-shadow: 3px 3px 0 #000;
  padding: 8px 12px;
  font-family: Outfit, sans-serif;
  font-size: 15px;
}
.header-search input::placeholder { color: #8d8798; }
.header-search button,
.search-toggle {
  background: var(--orange);
  color: var(--bg);
  border: 3px solid #000;
  box-shadow: 3px 3px 0 #000;
  font-family: Bungee, cursive;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 12px;
  cursor: pointer;
}
.header-search button { margin-left: -3px; }
.search-toggle { display: none; }
.search-results { display: grid; gap: 16px; padding-bottom: 72px; }
.search-hit {
  display: block;
  background: var(--card);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px;
}
.search-hit:hover { transform: translate(-2px, -2px); }
.search-hit small {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan);
  font-family: "Press Start 2P", cursive;
  font-size: 9px;
}
.search-hit h2 {
  margin: 0 0 8px;
  font-family: Bungee, cursive;
  font-size: 26px;
}
.search-hit p { margin: 0; color: var(--muted); }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 40px);
  display: flex;
  align-items: center;
  padding: 72px 0 48px;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 80% 20%, rgba(0, 212, 255, 0.16), transparent 60%),
    radial-gradient(700px 380px at 10% 90%, rgba(255, 149, 0, 0.12), transparent 55%),
    var(--bg);
}
.hero-inner { text-align: center; width: min(980px, calc(100% - 48px)); }
.level-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--bg);
  font-family: "Press Start 2P", cursive;
  font-size: 11px;
  padding: 10px 14px;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
  margin-bottom: 22px;
}
.hero h1 {
  margin: 0;
  font-family: Bungee, cursive;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.95;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.hero h1 .cyan { color: var(--cyan); }
.hero h1 .orange { color: var(--orange); }
.lede {
  max-width: 640px;
  margin: 22px auto 0;
  color: #d7d3df;
  font-size: 18px;
}
.hero-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.start-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cyan);
  font-family: Bungee, cursive;
  letter-spacing: 0.08em;
  font-size: 14px;
}
.start-ico {
  width: 46px;
  height: 46px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cyan);
}
.stat-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat {
  background: var(--card);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 10px;
  text-align: center;
}
.stat small {
  display: block;
  font-family: "Press Start 2P", cursive;
  font-size: 8px;
  color: var(--muted);
  margin-bottom: 8px;
}
.stat strong {
  font-family: Bungee, cursive;
  color: var(--cyan);
  font-size: 22px;
  font-weight: 400;
}

/* Levels */
.level {
  padding: 88px 0;
  position: relative;
}
.level.alt { background: rgba(22, 19, 32, 0.55); }
.level-head { text-align: center; margin-bottom: 28px; }
.level h2 {
  margin: 0;
  font-family: Bungee, cursive;
  font-size: clamp(32px, 5vw, 52px);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
}
.accent-bar {
  width: 96px;
  height: 8px;
  margin: 18px auto 0;
  background: var(--cyan);
  border: 3px solid #000;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}
.game-card {
  background: var(--card);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px 26px;
  transition: transform 0.2s ease;
}
.game-card:hover { transform: scale(1.02); }
.card-ico {
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.1);
  border: 2px solid var(--cyan);
  box-shadow: 3px 3px 0 #000;
}
.game-card h3 {
  margin: 0 0 10px;
  font-family: Bungee, cursive;
  font-size: 24px;
  text-transform: uppercase;
}
.game-card p { margin: 0; color: var(--muted); }
.game-card .more {
  display: inline-block;
  margin-top: 16px;
  color: var(--cyan);
  font-family: Bungee, cursive;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.showcase {
  margin-top: 36px;
  border: var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  background: #000;
}
.showcase img { width: 100%; }

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.price-card {
  background: #120f1c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.price-card h3 {
  margin: 0 0 10px;
  font-family: Bungee, cursive;
  font-size: 28px;
}
.price-card .summary { color: var(--muted); margin: 0 0 16px; min-height: 72px; }
.price-card .amount {
  font-family: Bungee, cursive;
  font-size: 40px;
  margin: 8px 0 16px;
}
.price-card ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  color: #e7e3ee;
  flex: 1;
}
.price-card li {
  padding: 7px 0 7px 22px;
  position: relative;
}
.price-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--cyan);
  position: absolute;
  left: 0;
  top: 14px;
}
.price-card .btn { width: 100%; }

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.course-card {
  background: var(--card);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 14px 18px;
  display: flex;
  flex-direction: column;
}
.course-cover {
  display: block;
  border: 3px solid #000;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}
.course-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.course-cover { flex: none; }
.course-kicker {
  flex: none;
  margin: 12px 0 6px;
  color: var(--cyan);
  font-family: "Press Start 2P", cursive;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}
.course-card h3 { flex: none; margin: 0 0 8px; font-family: Bungee, cursive; font-size: 20px; text-transform: uppercase; }
.course-card h3 a { color: #fff; }
.course-card p { margin: 0; color: var(--muted); }
.course-card > p:not(.course-kicker) { flex: 1; }
.course-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.course-buy .amount { font-family: Bungee, cursive; font-size: 26px; color: var(--orange); }
.course-about, .course-curriculum {
  margin: 28px 0;
  background: var(--card);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
}
.course-about h2, .course-curriculum h2, .module h3 {
  font-family: Bungee, cursive;
  text-transform: uppercase;
}
.course-facts { color: var(--cyan); font-family: "Press Start 2P", cursive; font-size: 9px; }
.module { margin-top: 18px; }
.module ol { margin: 8px 0 0; padding-left: 20px; color: #e7e3ee; }
.module li { margin: 6px 0; }
.single-product form.cart .quantity { display: none !important; }
.single-product #reviews,
.single-product .woocommerce-Reviews,
.single-product .reviews_tab,
.single-product #tab-reviews,
.single-product .woocommerce-review-link,
.single-product .star-rating { display: none !important; }

/* CTA */
.finale {
  padding: 88px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg), #100d18);
}
.finale h2 {
  font-family: Bungee, cursive;
  font-size: clamp(32px, 5vw, 56px);
  margin: 12px 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}
.limited {
  margin-top: 18px;
  color: var(--orange);
  font-family: "Press Start 2P", cursive;
  font-size: 10px;
}
.complete {
  margin: 48px auto 0;
  max-width: 760px;
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--card);
  padding: 28px;
}
.complete h3 {
  margin: 0 0 8px;
  font-family: Bungee, cursive;
  color: var(--cyan);
}

/* Footer */
.site-footer {
  background: #000;
  border-top: 4px solid #000;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.site-footer h3 {
  font-family: Bungee, cursive;
  letter-spacing: 0.08em;
  font-size: 16px;
  margin: 0 0 14px;
}
.site-footer p, .site-footer li { color: #c9c4d2; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a:hover { color: var(--orange); }
.support { color: var(--cyan) !important; }
.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid #222;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #9a95a6;
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* Inner pages */
.page-hero {
  padding: 56px 0 10px;
}
.page-hero h1,
.entry-title {
  font-family: Bungee, cursive;
  font-size: clamp(32px, 5vw, 52px);
  margin: 12px 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}
.page-body, .entry-content, .woocommerce {
  padding-bottom: 72px;
}
.entry-content h2, .page-body h2, .woocommerce h2 {
  font-family: Bungee, cursive;
  font-size: 28px;
}
.entry-content a, .page-body a { color: var(--cyan); }

.lesson-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  padding-bottom: 72px;
}
.lesson-main, .lesson-side, .content-card {
  background: var(--card);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.lesson-main h2 {
  font-family: Bungee, cursive;
  font-size: 22px;
  color: var(--cyan);
}
.lesson-main ul { padding-left: 18px; }
.lesson-side h2 {
  font-family: Bungee, cursive;
  font-size: 16px;
  margin-top: 0;
}
.lesson-side ol { margin: 0; padding-left: 18px; }
.lesson-side li { margin: 8px 0; }
.lesson-side a.is-current { color: var(--orange); }

.track-block { margin: 28px 0 48px; }
.track-block h2 {
  font-family: Bungee, cursive;
  font-size: 32px;
  margin-bottom: 6px;
}

/* Forms */
.mgd-form label, .wpcf7 label { display: block; margin: 14px 0 6px; font-family: Bungee, cursive; font-size: 13px; letter-spacing: 0.05em; }
.mgd-form input, .mgd-form textarea,
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"], .wpcf7 textarea,
.woocommerce form .input-text, .woocommerce input.input-text, .woocommerce textarea, .woocommerce select,
.woocommerce-input-wrapper input, .select2-container .select2-selection {
  width: 100%;
  background: #0e0c14;
  color: #fff;
  border: 2px solid #2a2636;
  border-radius: 8px;
  padding: 12px 14px;
}
.mgd-form textarea, .wpcf7 textarea { min-height: 140px; }
.wpcf7 input[type="submit"] {
  background: var(--orange);
  color: var(--bg);
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
  padding: 12px 22px;
  font-family: Bungee, cursive;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.notice-ok {
  background: rgba(26, 230, 93, 0.12);
  border: 2px solid var(--green);
  padding: 12px 14px;
  border-radius: 8px;
}

/* WooCommerce */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.woocommerce ul.products li.product {
  background: var(--card);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin: 0;
  width: auto !important;
  float: none !important;
}
.woocommerce ul.products li.product .button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--orange);
  color: var(--bg);
  border: 3px solid #000;
  border-radius: 0;
  box-shadow: 3px 3px 0 #000;
  font-family: Bungee, cursive;
  letter-spacing: 0.04em;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
  background: var(--orange);
  color: #000;
}
.woocommerce div.product .product_title { font-family: Bungee, cursive; }
.woocommerce div.product p.price, .woocommerce ul.products li.product .price { color: var(--cyan); font-family: Bungee, cursive; }
.woocommerce table.shop_table {
  background: var(--card);
  border: var(--line);
  border-radius: 12px;
  color: #fff;
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: #2a2636; }
.woocommerce-cart td.product-name,
.woocommerce-cart td.product-name a,
.wc-block-cart .wc-block-components-product-name {
  font-size: 18px;
  line-height: 1.45;
}
.woocommerce-cart td.product-name p,
.woocommerce-cart td.product-name .variation,
.wc-block-cart .wc-block-components-product-metadata,
.wc-block-cart .wc-block-components-product-metadata__description,
.wc-block-cart .wc-block-components-product-metadata__description p,
.wc-block-cart .wc-block-components-product-details {
  font-size: 16px;
  line-height: 1.5;
}
.woocommerce-info, .woocommerce-message, .woocommerce-error {
  background: #161320;
  color: #fff;
  border-top-color: var(--cyan);
}
.wc-block-components-order-summary-item__quantity {
  display: none !important;
}
.woocommerce-checkout #payment, .woocommerce-cart .cart-collaterals {
  background: var(--card);
  border-radius: 12px;
  padding: 8px;
}
.woocommerce #payment div.payment_box { background: #0e0c14; color: #fff; }

@media (max-width: 980px) {
  .card-grid, .price-grid, .course-grid, .stat-grid, .woocommerce ul.products, .footer-grid, .lesson-layout {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid, .lesson-layout { grid-template-columns: 1fr; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0b0911;
    border-bottom: 4px solid #000;
    padding: 10px 20px 18px;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .header-cta { display: none; }
  .header-cart { padding: 8px 10px; }
  .header-search {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 80;
    padding: 12px 16px;
    background: #0b0911;
    border-bottom: 4px solid #000;
    flex-basis: auto;
  }
  .header-search.is-open { display: flex; }
  .search-toggle { display: inline-flex; align-items: center; }
  .site-header { position: sticky; }
}

@media (max-width: 680px) {
  .card-grid, .price-grid, .course-grid, .stat-grid, .woocommerce ul.products { grid-template-columns: 1fr; }
  .xp-label { display: none; }
  .wrap { width: min(var(--wrap), calc(100% - 28px)); }
}

.product_meta {
  display: none;
}

/* Hide Cart from the main navigation */
header .wc-block-mini-cart__button,
.wcmenucart,
.menu-item-cart {
    display: none !important;
}
.woocommerce ul.products::before {
	content: none !important;}

@media screen and (max-width: 576px) {
	.header-inner {
		display: block;}
	.header-actions {
		display: block;width: 73%;  float: right;	
	}
	.header-actions nav 
	{
  float: left;
	}
	.header-cart{font-size: 10px !important;}
	.region-panel {
		right: auto !important;}
}
@media screen and (max-width: 350px) {
	.header-actions {
		display: block;width: 71%;  float: right;	
	}
	.header-cart {
    font-size: 8px !important;
  }
}
