/* GB Menu */
.gb-menu {
  display: grid;
  gap: 10px;
  color: #e7efff;
  position: relative;
  padding: 14px 16px;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
}

.gb-menu-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.gb-menu-tab {
  border: 0;
  border-radius: 0;
  padding: 6px 8px;
  background: transparent !important;
  box-shadow: none;
  color: #f2f6ff;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
  font-size: 13px;
  letter-spacing: 0.2px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.primary-nav .gb-menu-tabs {
  justify-content: flex-start;
  gap: 22px;
}

.primary-nav .gb-menu-tabs .gb-menu-tab {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 2px !important;
  box-shadow: none !important;
  font-weight: 600;
  letter-spacing: 0.1px;
}

.gb-menu-tab.is-active,
.gb-menu-tab:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-1px);
  text-decoration: underline !important;
}

.gb-menu-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 90vw);
  background: #fff;
  border: 1px solid #e2e6ef;
  border-top: 3px solid #cc0f1a;
  border-radius: 6px;
  padding: 18px 20px 22px;
  box-shadow: 0 20px 40px rgba(10, 16, 30, 0.25);
  display: none;
  z-index: 200;
}

.gb-menu-dropdown::before {
  content: "";
  position: absolute;
  top: -10px;
  left: var(--gb-pointer-x, 50%);
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #cc0f1a;
}

.gb-menu-dropdown::after {
  content: "";
  position: absolute;
  top: -8px;
  left: var(--gb-pointer-x, 50%);
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
}

.gb-menu-dropdown.is-open {
  display: block;
}

.gb-menu-panels {
  display: grid;
  gap: 12px;
}

.gb-menu-panel {
  display: none;
  gap: 12px;
}

.gb-menu-panel.is-active {
  display: grid;
}

.gb-menu-search {
  border: 1px solid #cbd6ea;
  border-radius: 999px;
  padding: 10px 16px;
  background: #ffffff;
  color: #15233c;
  font-weight: 600;
  width: 100%;
}

.gb-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.gb-menu-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.gb-menu-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 60px;
  border-radius: 0;
  border: 0;
  background: transparent;
  text-decoration: none;
  box-shadow: none;
  overflow: hidden;
}

.gb-menu-tile-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gb-menu-tile-text {
  color: #1c2b4a;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.gb-menu-panel[data-panel="themes"] .gb-menu-tiles,
.gb-menu-panel[data-panel="categories"] .gb-menu-tiles,
.gb-menu-panel[data-panel="brands"] .gb-menu-tiles {
  grid-template-columns: repeat(auto-fill, 200px);
  gap: 6px;
  justify-content: center;
}

.gb-menu-panel[data-panel="themes"] .gb-menu-tile,
.gb-menu-panel[data-panel="categories"] .gb-menu-tile,
.gb-menu-panel[data-panel="brands"] .gb-menu-tile {
  width: 200px;
  height: 120px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gb-menu-panel[data-panel="themes"] .gb-menu-tile-img,
.gb-menu-panel[data-panel="categories"] .gb-menu-tile-img,
.gb-menu-panel[data-panel="brands"] .gb-menu-tile-img {
  width: auto;
  height: auto;
  max-width: 180px;
  max-height: 90px;
  object-fit: contain;
}

.gb-menu-dropdown .gb-menu-tile {
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.gb-menu-dropdown .gb-menu-tile-img {
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  max-width: 180px !important;
  max-height: 90px !important;
  object-fit: contain !important;
}

.gb-products-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin: 12px 0 24px;
}

.gb-products-grid--taxonomy {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gb-products-wrap--taxonomy .woocommerce-ordering {
  float: none;
  margin: 0;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}

.gb-products-wrap--taxonomy {
  position: relative;
  padding-top: 34px;
}

@media (max-width: 640px) {
  .gb-products-wrap--taxonomy {
    padding-top: 0;
  }

  .gb-products-wrap--taxonomy .woocommerce-ordering {
    position: static;
    margin: 0 0 12px;
  }
}

@media (max-width: 960px) {
  .gb-products-grid--taxonomy {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gb-products-grid--taxonomy {
    grid-template-columns: minmax(0, 1fr);
  }
}

.gb-products-page .entry,
.gb-products-page .entry-content {
  background: transparent !important;
}

.gb-products-page .entry-content .gb-products-wrap {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 20px;
}

.gb-products-loader {
  min-height: 24px;
  text-align: center;
  color: #0d2b6b;
  font-weight: 600;
  font-size: 13px;
}

.gb-products-grid .gb-product-card {
  background: #fff !important;
  border: 1px solid #d8dce6 !important;
  border-radius: 4px !important;
  padding: 18px 18px 16px !important;
  display: grid !important;
  gap: 10px;
  justify-items: center;
  text-align: left;
  position: relative;
}

.gb-products-grid .gb-card-image-link {
  display: block !important;
  width: 100%;
  text-align: center;
}

.gb-products-grid .gb-card-image {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
}

.gb-preorder-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 25%;
  max-width: 110px;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  border: 2px solid #0b3c7a;
  border-radius: 6px;
  overflow: hidden;
  font-size: 9px;
  line-height: 1.2;
  text-transform: uppercase;
}

.gb-preorder-badge-label {
  background: #0b3c7a;
  color: #ffffff;
  padding: 6px 8px;
  font-weight: 700;
}

.gb-preorder-badge-date {
  background: #ffffff;
  color: #0b3c7a;
  padding: 6px 8px;
  font-weight: 700;
  text-align: center;
}

.gb-products-grid .gb-card-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 6px;
  background: #1b1f6b !important;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.gb-products-grid .gb-card-title {
  color: #0d2b6b !important;
  text-decoration: none !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 14px;
}

.gb-products-grid .gb-card-sku {
  color: #33415e;
  font-size: 13px;
  width: 100%;
}

.gb-products-grid .gb-card-stock {
  font-weight: 700;
  width: 100%;
  font-size: 14px;
}

.gb-products-grid .gb-card-stock.is-instock {
  color: #0f8a2f;
}

.gb-products-grid .gb-card-stock.is-preorder {
  color: #b36b00;
}

.gb-products-grid .gb-card-stock.is-outofstock {
  color: #b11b1b;
}

.gb-products-grid .gb-card-price {
  font-size: 22px;
  font-weight: 700;
  color: #1f2937;
  width: 100%;
}

.gb-menu-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d3dced;
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  color: #12213a;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-height: 84px;
}

.gb-menu-list a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(17, 32, 64, 0.18);
  border-color: rgba(28, 58, 107, 0.35);
}

.gb-menu-viewall {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #1c3a6b;
  padding: 10px 18px;
  background: #1c3a6b;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.gb-menu-empty {
  margin: 0;
}

@media (max-width: 900px) {
  .gb-menu-tab {
    width: 100%;
    justify-content: center;
  }

  .gb-menu-dropdown {
    position: static;
    width: 100%;
  }
}

/* GB Hot */
.gb-products-grid.gb-products-grid--hot {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin: 12px 0 24px;
}

.gb-products-grid--hot .gb-product-card {
  background: #fff !important;
  border: 1px solid #d8dce6 !important;
  border-radius: 4px !important;
  padding: 18px 18px 16px !important;
  display: grid !important;
  gap: 10px;
  justify-items: center;
  text-align: left;
  position: relative;
}

.gb-products-grid--hot .gb-card-image-link {
  display: block !important;
  width: 100%;
  text-align: center;
}

.gb-products-grid--hot .gb-card-image {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
}

.gb-products-grid--hot .gb-card-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 6px;
  background: #1b1f6b !important;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.gb-products-grid--hot .gb-card-title {
  color: #0d2b6b !important;
  text-decoration: none !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 14px;
}

.gb-products-grid--hot .gb-card-sku {
  color: #33415e;
  font-size: 13px;
  width: 100%;
}

.gb-products-grid--hot .gb-card-stock {
  font-weight: 700;
  width: 100%;
  font-size: 14px;
}

.gb-products-grid--hot .gb-card-stock.is-instock {
  color: #0f8a2f;
}

.gb-products-grid--hot .gb-card-stock.is-preorder {
  color: #b36b00;
}

.gb-products-grid--hot .gb-card-stock.is-outofstock {
  color: #b11b1b;
}

.gb-products-grid--hot .gb-card-price {
  font-size: 22px;
  font-weight: 700;
  color: #1f2937;
  width: 100%;
}

/* GB Loyalty */
.gb-loyalty-card {
  border: 1px solid #e4e4e4;
  padding: 20px;
  border-radius: 12px;
  margin: 20px 0;
  background: #fafafa;
}

.gb-loyalty-level {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.gb-loyalty-level-image {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
}

.gb-loyalty-badge {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #1b1b1b;
  color: #fff;
  font-weight: 700;
}

.gb-loyalty-title {
  font-size: 18px;
  font-weight: 600;
}

.gb-loyalty-discount {
  color: #444;
}

.gb-loyalty-progress {
  height: 10px;
  background: #e0e0e0;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}

.gb-loyalty-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #f05a28, #f9a826);
  transition: width 0.3s ease;
}

.gb-loyalty-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-top: 6px;
  color: #555;
}

.gb-loyalty-hardness {
  font-weight: 600;
}

.gb-loyalty-decay {
  margin-top: 10px;
  font-size: 13px;
}

.gb-loyalty-decay-warning {
  color: #b33a1a;
  font-weight: 600;
}

.gb-loyalty-birthday {
  margin-top: 10px;
  font-size: 26px;
  font-weight: 600;
  color: #1b1b1b;
}

.gb-loyalty-double-xp-badge {
  display: inline-block;
  margin: 8px 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #1b1b1b;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

/* GB Age Gate */
.gb-age-gate-page {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #111;
}

.gb-age-gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.gb-age-card {
  background: #fff;
  border: 2px solid #111;
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  max-width: 420px;
  width: 100%;
}

.gb-age-sign {
  width: 140px;
  height: 140px;
  display: block;
  margin: 0 auto 16px;
}

.gb-age-link {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 20px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
}

.gb-age-back {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  border: 2px solid #111;
  color: #111;
  text-decoration: none;
  border-radius: 8px;
}

.gb-age-thumb-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.gb-age-thumb-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.gb-age-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: #cc0000;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
