/**
 * =========================================================
 * Gamers Things — Header limpio
 * WordPress + WooCommerce + Flatsome
 *
 * Objetivo de esta versión:
 * - Mantener el Header V2 estable.
 * - Conservar logo, top menu, plataformas, search nativo, cuenta, wishlist y carrito.
 * - Quitar por completo el search custom roto: gt-search-panel, gt-product-menu,
 *   gt-header-search-open, gt-header-search-has-query, gt-header-search-has-results.
 * - Evitar overlays globales sobre #header::before / #header::after.
 * =========================================================
 */

:root {
  --gt-site-shell-width: 1400px;
  --gt-header-bg: rgba(8, 9, 20, 0.72);
  --gt-header-bg-strong: rgba(11, 12, 27, 0.92);
  --gt-header-border: rgba(255, 255, 255, 0.075);
  --gt-header-border-strong: rgba(124, 92, 255, 0.34);
  --gt-header-text: rgba(255, 255, 255, 0.88);
  --gt-header-muted: rgba(255, 255, 255, 0.64);
  --gt-header-soft: rgba(255, 255, 255, 0.035);
  --gt-header-soft-hover: rgba(255, 255, 255, 0.06);
  --gt-header-accent: #7c5cff;
  --gt-header-accent-2: #9d7cff;
  --gt-header-topmenu-color: rgba(255, 255, 255, 0.66);
  --gt-header-radius-pill: 999px;
  --gt-header-radius-card: 18px;
  --gt-header-shadow: 0 26px 70px rgba(0, 0, 0, 0.48);
  --gt-font-display: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gt-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --gt-ease-out: cubic-bezier(.2, .8, .2, 1);
}

/* =========================================================
   Limpieza segura de restos del search custom roto
========================================================= */

#header.gt-header-v2::before,
#header.gt-header-v2::after {
  content: none !important;
  display: none !important;
}

#header.gt-header-v2 .gt-search-panel,
#header.gt-header-v2 .gt-search-backdrop,
#header.gt-header-v2 .gt-product-menu,
#header.gt-header-v2 #gt-product-menu,
#header.gt-header-v2 #gt-search-bar-app,
#header.gt-header-v2 #gt-search-autocompletion {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#header.gt-header-v2.gt-custom-search-enabled,
#header.gt-header-v2.gt-header-search-open,
#header.gt-header-v2.gt-header-search-has-query,
#header.gt-header-v2.gt-header-search-has-results {
  isolation: auto !important;
}

/* =========================================================
   Header shell
========================================================= */

#header,
#header .header-wrapper {
  position: relative;
  z-index: 1000;
}

#header.gt-header-v2 .header-wrapper {
  background:
    radial-gradient(circle at 50% 0%, rgba(124, 92, 255, 0.075), transparent 34%),
    radial-gradient(circle at 18% 0%, rgba(124, 92, 255, 0.045), transparent 28%),
    linear-gradient(180deg, rgba(10, 11, 25, 0.76), rgba(8, 9, 20, 0.62)) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055) !important;
  box-shadow: none !important;
  backdrop-filter: blur(18px) saturate(118%);
  -webkit-backdrop-filter: blur(18px) saturate(118%);
}

#header.gt-header-v2 .header-wrapper.stuck,
#header.gt-header-v2 .header-wrapper.stuck #masthead,
#header.gt-header-v2 .header-wrapper.stuck .header-main {
  background:
    radial-gradient(circle at 50% 0%, rgba(124, 92, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(9, 10, 23, 0.88), rgba(8, 9, 20, 0.76)) !important;
  border-bottom-color: rgba(255, 255, 255, 0.07) !important;
}

#header.gt-header-v2 .header-bg-container,
#header.gt-header-v2 .header-bg-image,
#header.gt-header-v2 .header-bg-color,
#header.gt-header-v2 .top-divider {
  display: none !important;
}

#header.gt-header-v2 .gt-header-meta__inner,
#header.gt-header-v2 #masthead .header-inner {
  width: min(calc(100% - 48px), var(--gt-site-shell-width)) !important;
  max-width: var(--gt-site-shell-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* =========================================================
   Top menu
========================================================= */

#header.gt-header-v2 .gt-header-meta {
  display: block;
  min-height: 38px !important;
  padding-top: 8px !important;
  padding-bottom: 4px !important;
  border-bottom: 0 !important;
  background: transparent !important;
}

#header.gt-header-v2 .gt-header-meta__inner {
  position: relative !important;
  min-height: 30px !important;
}

#header.gt-header-v2 .gt-header-meta__nav {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 13px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translate(-50%, -50%) !important;
}

#header.gt-header-v2 .gt-header-meta__link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 26px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.66) !important;
  font-family: var(--gt-font-display) !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: -0.006em !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap !important;
  transition: color 180ms var(--gt-ease-out), background 180ms var(--gt-ease-out);
}

#header.gt-header-v2 .gt-header-meta__link:hover,
#header.gt-header-v2 .gt-header-meta__link.is-active {
  color: rgba(255, 255, 255, 0.96) !important;
  background: transparent !important;
}

#header.gt-header-v2 .gt-header-meta__link::before,
#header.gt-header-v2 .gt-header-meta__trust {
  display: none !important;
  content: none !important;
}

/* =========================================================
   Main row + logo
========================================================= */

@media (min-width: 850px) {
  #header.gt-header-v2 #masthead,
  #header.gt-header-v2 .header-main {
    min-height: 82px !important;
    height: auto !important;
    padding-top: 10px !important;
    padding-bottom: 16px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  #header.gt-header-v2 #masthead .header-inner {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 280px minmax(0, 1fr) 280px !important;
    align-items: center !important;
    min-height: 58px !important;
    height: 58px !important;
    column-gap: 20px !important;
    overflow: visible !important;
  }

  #header.gt-header-v2 .hide-for-medium.flex-left {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  #header.gt-header-v2 #logo {
    grid-column: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    display: flex !important;
    align-items: center !important;
    width: 280px !important;
    max-width: 280px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-2px) !important;
  }

  #header.gt-header-v2 #logo a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    min-height: 52px !important;
    line-height: 1 !important;
  }

  #header.gt-header-v2 #logo a > img {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  #header.gt-header-v2 #logo a > img.header_logo.header-logo:not(.header-logo-dark),
  #header.gt-header-v2 #logo a > img.header-logo:not(.header-logo-dark) {
    display: block !important;
    width: 214px !important;
    max-width: 214px !important;
    height: auto !important;
    max-height: 42px !important;
    object-fit: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  #header.gt-header-v2 #logo a > img.header-logo-dark {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
}

/* =========================================================
   Platform navigation
========================================================= */

#header.gt-header-v2 .gt-platform-nav {
  display: none;
}

@media (min-width: 850px) {
  #header.gt-header-v2 .gt-platform-nav {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    z-index: 4 !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translate(-50%, calc(-50% + 2px)) !important;
  }

  #header.gt-header-v2 .gt-platform-nav__list {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 5px !important;
    gap: 4px !important;
    border: 1px solid rgba(255, 255, 255, 0.075) !important;
    border-radius: 18px !important;
    background:
      radial-gradient(circle at 0% 50%, rgba(124, 92, 255, 0.10), transparent 38%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.040), rgba(255, 255, 255, 0.014)),
      rgba(13, 14, 28, 0.78) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.035),
      0 18px 42px rgba(0, 0, 0, 0.18) !important;
    backdrop-filter: blur(18px) saturate(118%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(118%) !important;
    list-style: none !important;
    overflow: visible !important;
  }

  #header.gt-header-v2 .gt-platform-nav__item {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  #header.gt-header-v2 .gt-platform-nav__link,
  #header.gt-header-v2 .gt-mobile-platform-rail__link {
    position: relative !important;
    isolation: isolate !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    min-height: 40px !important;
    padding: 0 15px !important;
    border: 1px solid transparent !important;
    border-radius: 14px !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.62) !important;
    font-family: var(--gt-font-display) !important;
    font-size: 12.4px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: -0.008em !important;
    text-decoration: none !important;
    text-transform: none !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    transition:
      color 180ms var(--gt-ease-out),
      background 180ms var(--gt-ease-out),
      border-color 180ms var(--gt-ease-out),
      box-shadow 180ms var(--gt-ease-out),
      transform 180ms var(--gt-ease-out);
  }

  #header.gt-header-v2 .gt-platform-nav__link::before,
  #header.gt-header-v2 .gt-mobile-platform-rail__link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background:
      radial-gradient(circle at 50% 0%, rgba(124, 92, 255, 0.18), transparent 62%),
      rgba(255, 255, 255, 0.035);
    opacity: 0;
    transition: opacity 180ms var(--gt-ease-out);
  }

  #header.gt-header-v2 .gt-platform-nav__link:hover,
  #header.gt-header-v2 .gt-platform-nav__link.is-active,
  #header.gt-header-v2 .gt-mobile-platform-rail__link:hover,
  #header.gt-header-v2 .gt-mobile-platform-rail__link.is-active {
    border-color: rgba(124, 92, 255, 0.32) !important;
    color: #fff !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(124, 92, 255, 0.22), transparent 64%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.060), rgba(255, 255, 255, 0.022)),
      rgba(255, 255, 255, 0.038) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.055),
      0 8px 22px rgba(124, 92, 255, 0.12) !important;
  }

  #header.gt-header-v2 .gt-platform-nav__link:hover::before,
  #header.gt-header-v2 .gt-platform-nav__link.is-active::before,
  #header.gt-header-v2 .gt-mobile-platform-rail__link:hover::before,
  #header.gt-header-v2 .gt-mobile-platform-rail__link.is-active::before {
    opacity: 1;
  }
}

#header.gt-header-v2 .gt-platform-icon {
  position: relative !important;
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 21px !important;
  height: 21px !important;
  color: inherit !important;
  opacity: 1 !important;
}

#header.gt-header-v2 .gt-platform-icon svg {
  display: none !important;
}

#header.gt-header-v2 .gt-platform-icon::before {
  content: "" !important;
  display: block !important;
  width: 21px !important;
  height: 21px !important;
  background-color: var(--gt-header-topmenu-color) !important;
  mask-repeat: no-repeat !important;
  mask-position: center !important;
  mask-size: contain !important;
  -webkit-mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  -webkit-mask-size: contain !important;
  transition: background-color 180ms var(--gt-ease-out), filter 180ms var(--gt-ease-out), transform 180ms var(--gt-ease-out) !important;
}

#header.gt-header-v2 [data-gt-platform="pc"] .gt-platform-icon::before {
  mask-image: url("/wp-content/themes/flatsome-child/assets/icons/header/gt-icon-pc.svg") !important;
  -webkit-mask-image: url("/wp-content/themes/flatsome-child/assets/icons/header/gt-icon-pc.svg") !important;
}

#header.gt-header-v2 [data-gt-platform="playstation"] .gt-platform-icon::before {
  mask-image: url("/wp-content/themes/flatsome-child/assets/icons/header/gt-icon-playstation.svg") !important;
  -webkit-mask-image: url("/wp-content/themes/flatsome-child/assets/icons/header/gt-icon-playstation.svg") !important;
}

#header.gt-header-v2 [data-gt-platform="xbox"] .gt-platform-icon::before {
  mask-image: url("/wp-content/themes/flatsome-child/assets/icons/header/gt-icon-xbox.svg") !important;
  -webkit-mask-image: url("/wp-content/themes/flatsome-child/assets/icons/header/gt-icon-xbox.svg") !important;
}

#header.gt-header-v2 [data-gt-platform="nintendo"] .gt-platform-icon::before {
  mask-image: url("/wp-content/themes/flatsome-child/assets/icons/header/gt-icon-nintendo.svg") !important;
  -webkit-mask-image: url("/wp-content/themes/flatsome-child/assets/icons/header/gt-icon-nintendo.svg") !important;
}

#header.gt-header-v2 [data-gt-platform="pc"]:hover .gt-platform-icon::before {
  background-color: rgba(235, 238, 255, 0.96) !important;
  filter: drop-shadow(0 0 10px rgba(235, 238, 255, 0.18)) !important;
}

#header.gt-header-v2 [data-gt-platform="playstation"]:hover .gt-platform-icon::before {
  background-color: #008aff !important;
  filter: drop-shadow(0 0 11px rgba(0, 138, 255, 0.38)) !important;
}

#header.gt-header-v2 [data-gt-platform="xbox"]:hover .gt-platform-icon::before {
  background-color: #289728 !important;
  filter: drop-shadow(0 0 11px rgba(40, 151, 40, 0.38)) !important;
}

#header.gt-header-v2 [data-gt-platform="nintendo"]:hover .gt-platform-icon::before {
  background-color: #ff242e !important;
  filter: drop-shadow(0 0 11px rgba(255, 36, 46, 0.36)) !important;
}

/* =========================================================
   Search nativo integrado al menú de plataformas
========================================================= */

@media (min-width: 850px) {
  #header.gt-header-v2 .gt-platform-nav__list > .header-search {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 0 0 4px !important;
    padding: 0 !important;
    list-style: none !important;
  }

  #header.gt-header-v2 .gt-platform-nav__list > .header-search > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px !important;
    min-width: 50px !important;
    height: 50px !important;
    min-height: 50px !important;
    margin: -4px -4px -4px 3px !important;
    padding: 0 !important;
    border: 1px solid rgba(124, 92, 255, 0.28) !important;
    border-radius: 16px !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(124, 92, 255, 0.34), transparent 62%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.080), rgba(255, 255, 255, 0.025)),
      rgba(124, 92, 255, 0.16) !important;
    color: #fff !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.10),
      0 12px 28px rgba(124, 92, 255, 0.18) !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transform: none !important;
  }

  #header.gt-header-v2 .gt-platform-nav__list > .header-search > a::after {
    display: none !important;
    content: none !important;
  }

  #header.gt-header-v2 .gt-platform-nav__list > .header-search > a i {
    color: #fff !important;
    font-size: 19px !important;
    line-height: 1 !important;
  }

  #header.gt-header-v2 .gt-platform-nav__list > .header-search > a:hover,
  #header.gt-header-v2 .gt-platform-nav__list > .header-search.current-dropdown > a,
  #header.gt-header-v2 .gt-platform-nav__list > .header-search.active > a {
    border-color: rgba(124, 92, 255, 0.42) !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(124, 92, 255, 0.42), transparent 64%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.030)),
      rgba(124, 92, 255, 0.20) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 14px 32px rgba(124, 92, 255, 0.24) !important;
    transform: translateY(-1px) !important;
  }

  #header.gt-header-v2 .gt-platform-nav__list > .header-search #ux-search-dropdown {
    left: 50% !important;
    right: auto !important;
    top: calc(100% + 12px) !important;
    width: 420px !important;
    min-width: 420px !important;
    max-width: 420px !important;
    margin-top: 0 !important;
    padding: 12px !important;
    border: 1px solid var(--gt-header-border) !important;
    border-radius: 22px !important;
    background:
      radial-gradient(circle at 20% 0%, rgba(124, 92, 255, 0.16), transparent 45%),
      linear-gradient(180deg, rgba(17, 18, 38, 0.98), rgba(8, 9, 21, 0.98)) !important;
    box-shadow: var(--gt-header-shadow) !important;
    backdrop-filter: blur(18px) saturate(118%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(118%) !important;
    transform: translateX(-50%) !important;
    overflow: visible !important;
  }

  #header.gt-header-v2 .gt-platform-nav__list > .header-search #ux-search-dropdown::before {
    content: "" !important;
    position: absolute !important;
    top: -6px !important;
    left: 50% !important;
    width: 12px !important;
    height: 12px !important;
    border-left: 1px solid var(--gt-header-border) !important;
    border-top: 1px solid var(--gt-header-border) !important;
    background: rgba(17, 18, 38, 0.98) !important;
    transform: translateX(-50%) rotate(45deg) !important;
  }
}

#header.gt-header-v2 .header-search.has-dropdown::before,
#header.gt-header-v2 .header-search.has-dropdown::after,
#header.gt-header-v2 .header-search.current-dropdown::before,
#header.gt-header-v2 .header-search.current-dropdown::after,
#header.gt-header-v2 .header-search.active::before,
#header.gt-header-v2 .header-search.active::after,
#header.gt-header-v2 .account-item.has-dropdown::before,
#header.gt-header-v2 .account-item.has-dropdown::after,
#header.gt-header-v2 .cart-item.has-dropdown::before,
#header.gt-header-v2 .cart-item.has-dropdown::after {
  display: none !important;
  content: none !important;
}

#header.gt-header-v2 #ux-search-dropdown > li,
#header.gt-header-v2 #ux-search-dropdown .header-search-form,
#header.gt-header-v2 #ux-search-dropdown .header-search-form-wrapper,
#header.gt-header-v2 #ux-search-dropdown .searchform-wrapper,
#header.gt-header-v2 #ux-search-dropdown form {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

#header.gt-header-v2 #ux-search-dropdown > li::before {
  content: "BUSCAR" !important;
  display: block !important;
  margin: 0 0 10px 2px !important;
  color: rgba(139, 139, 255, 0.72) !important;
  font-family: var(--gt-font-mono) !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}

#header.gt-header-v2 #ux-search-dropdown .searchform .flex-row,
#header.gt-header-v2 #ux-search-dropdown .searchform .flex-row.relative {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 1fr 48px !important;
  align-items: center !important;
  min-height: 48px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.075) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.055) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

#header.gt-header-v2 #ux-search-dropdown .search-field,
#header.gt-header-v2 #ux-search-dropdown input.search-field {
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-family: var(--gt-font-display) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 48px !important;
  box-shadow: none !important;
  outline: none !important;
}

#header.gt-header-v2 #ux-search-dropdown .search-field::placeholder {
  color: rgba(255, 255, 255, 0.42) !important;
}

#header.gt-header-v2 #ux-search-dropdown .ux-search-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 0 !important;
  background: linear-gradient(135deg, var(--gt-header-accent), #6848ff) !important;
  color: #fff !important;
  box-shadow: none !important;
}

#header.gt-header-v2 #ux-search-dropdown .live-search-results {
  position: relative !important;
  z-index: 5 !important;
  margin-top: 10px !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

#header.gt-header-v2 #ux-search-dropdown .autocomplete-suggestions {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  max-height: 340px !important;
  margin-top: 10px !important;
  overflow: hidden auto !important;
  border: 1px solid rgba(255, 255, 255, 0.075) !important;
  border-radius: 16px !important;
  background: rgba(10, 11, 25, 0.98) !important;
  box-shadow: none !important;
}

#header.gt-header-v2 #ux-search-dropdown .autocomplete-suggestion {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 56px !important;
  padding: 10px 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065) !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
  cursor: pointer !important;
}

#header.gt-header-v2 #ux-search-dropdown .autocomplete-suggestion:hover,
#header.gt-header-v2 #ux-search-dropdown .autocomplete-selected {
  background: rgba(255, 255, 255, 0.03) !important;
  color: #fff !important;
}

#header.gt-header-v2 #ux-search-dropdown .autocomplete-suggestion img {
  flex: 0 0 auto !important;
  width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 9px !important;
  object-fit: cover !important;
  background: rgba(255, 255, 255, 0.035) !important;
}

/* =========================================================
   Right actions: wishlist, account, cart
========================================================= */

@media (min-width: 850px) {
  #header.gt-header-v2 .hide-for-medium.flex-right {
    grid-column: 3 !important;
    justify-self: end !important;
    align-self: center !important;
    display: flex !important;
    align-items: center !important;
    width: 280px !important;
    max-width: 280px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-2px) !important;
  }

  #header.gt-header-v2 .hide-for-medium.flex-right .header-nav {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #header.gt-header-v2 .header-nav.nav-right > li {
    margin: 0 !important;
  }

  #header.gt-header-v2 .wishlist-link,
  #header.gt-header-v2 .account-link,
  #header.gt-header-v2 .header-cart-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.70) !important;
    box-shadow: none !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: color 180ms var(--gt-ease-out), transform 180ms var(--gt-ease-out) !important;
  }

  #header.gt-header-v2 .wishlist-link:hover,
  #header.gt-header-v2 .header-cart-link:hover {
    color: #fff !important;
    transform: translateY(-1px) !important;
  }

  #header.gt-header-v2 .account-link {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 999px !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.10), transparent 58%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.070), rgba(255, 255, 255, 0.024)),
      rgba(255, 255, 255, 0.036) !important;
    color: rgba(255, 255, 255, 0.84) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.060),
      0 10px 28px rgba(0, 0, 0, 0.18) !important;
  }

  #header.gt-header-v2 .account-link:hover,
  #header.gt-header-v2 .account-item.current-dropdown > .account-link,
  #header.gt-header-v2 .account-item.active > .account-link {
    border-color: rgba(124, 92, 255, 0.34) !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(124, 92, 255, 0.24), transparent 62%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.080), rgba(255, 255, 255, 0.026)),
      rgba(124, 92, 255, 0.10) !important;
    color: #fff !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.075),
      0 12px 30px rgba(124, 92, 255, 0.14) !important;
    transform: translateY(-1px) !important;
  }

  #header.gt-header-v2 .wishlist-link i,
  #header.gt-header-v2 .account-link i,
  #header.gt-header-v2 .header-cart-link i {
    color: currentColor !important;
    font-size: 21px !important;
    line-height: 1 !important;
  }

  #header.gt-header-v2 .account-link i,
  #header.gt-header-v2 .header-cart-link i {
    font-size: 22px !important;
  }

  #header.gt-header-v2 .header-cart-title {
    display: none !important;
  }

  #header.gt-header-v2 .header-cart-link i[data-icon-label="0"]::after {
    display: none !important;
  }

  #header.gt-header-v2 .header-cart-link i[data-icon-label]:not([data-icon-label="0"])::after {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    top: -7px !important;
    right: -9px !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 5px !important;
    border: 2px solid rgba(8, 9, 20, 0.96) !important;
    border-radius: 999px !important;
    background: var(--gt-header-accent) !important;
    color: #fff !important;
    font-family: var(--gt-font-mono) !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 14px !important;
    box-shadow: 0 8px 18px rgba(124, 92, 255, 0.32) !important;
  }
}

/* =========================================================
   Dropdowns cuenta y carrito
========================================================= */

#header.gt-header-v2 .nav-dropdown {
  border: 1px solid var(--gt-header-border) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(124, 92, 255, 0.13), transparent 46%),
    linear-gradient(180deg, rgba(17, 18, 38, 0.98), rgba(8, 9, 21, 0.98)) !important;
  box-shadow: var(--gt-header-shadow) !important;
  backdrop-filter: blur(24px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(120%) !important;
}

@media (min-width: 850px) {
  #header.gt-header-v2 .account-item > .nav-dropdown {
    left: auto !important;
    right: -12px !important;
    width: 248px !important;
    min-width: 248px !important;
    max-width: 248px !important;
    margin-top: 14px !important;
    padding: 12px !important;
    overflow: visible !important;
    transform: none !important;
  }

  #header.gt-header-v2 .cart-item > .nav-dropdown {
    left: auto !important;
    right: 0 !important;
    width: 330px !important;
    min-width: 330px !important;
    max-width: 330px !important;
    margin-top: 14px !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: none !important;
  }
}

#header.gt-header-v2 .account-item > .nav-dropdown > li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

#header.gt-header-v2 .account-item > .nav-dropdown > li:first-child::before {
  content: "CUENTA" !important;
  display: block !important;
  margin: 0 0 8px 2px !important;
  color: rgba(139, 139, 255, 0.72) !important;
  font-family: var(--gt-font-mono) !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}

#header.gt-header-v2 .account-item > .nav-dropdown > li > a {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  min-height: 33px !important;
  padding: 0 11px 0 27px !important;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.60) !important;
  font-size: 11.6px !important;
  font-weight: 650 !important;
  line-height: 1.25 !important;
  text-transform: none !important;
  text-decoration: none !important;
}

#header.gt-header-v2 .account-item > .nav-dropdown > li > a:hover {
  border-color: rgba(255, 255, 255, 0.09) !important;
  background: rgba(255, 255, 255, 0.035) !important;
  color: rgba(255, 255, 255, 0.94) !important;
}

#header.gt-header-v2 .widget_shopping_cart_content {
  padding: 0 !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

#header.gt-header-v2 .woocommerce-mini-cart,
#header.gt-header-v2 .cart_list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 16px 18px 0 !important;
  list-style: none !important;
}

#header.gt-header-v2 .woocommerce-mini-cart-item,
#header.gt-header-v2 .mini_cart_item {
  position: relative !important;
  display: block !important;
  min-height: 78px !important;
  margin: 0 !important;
  padding: 0 34px 18px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
  background: transparent !important;
}

#header.gt-header-v2 .woocommerce-mini-cart-item > a:not(.remove),
#header.gt-header-v2 .mini_cart_item > a:not(.remove) {
  position: relative !important;
  display: block !important;
  min-height: 58px !important;
  padding: 0 0 0 70px !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.32 !important;
  text-decoration: none !important;
  text-transform: none !important;
}

#header.gt-header-v2 .woocommerce-mini-cart-item > a:not(.remove) img,
#header.gt-header-v2 .mini_cart_item > a:not(.remove) img {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 58px !important;
  height: 58px !important;
  max-width: 58px !important;
  margin: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  object-fit: cover !important;
  background: rgba(255, 255, 255, 0.035) !important;
}

#header.gt-header-v2 .woocommerce-mini-cart-item > a.remove,
#header.gt-header-v2 .mini_cart_item > a.remove {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px !important;
  height: 26px !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 18px !important;
  font-weight: 300 !important;
  line-height: 24px !important;
  text-decoration: none !important;
}

#header.gt-header-v2 .woocommerce-mini-cart__total,
#header.gt-header-v2 .total {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 16px 18px 14px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

#header.gt-header-v2 .woocommerce-mini-cart__buttons,
#header.gt-header-v2 .buttons {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 16px 18px 18px !important;
}

#header.gt-header-v2 .woocommerce-mini-cart__buttons a,
#header.gt-header-v2 .buttons a,
#header.gt-header-v2 .return-to-shop .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 10px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 38%),
    var(--gt-header-accent) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-align: center !important;
  text-transform: none !important;
  box-shadow: none !important;
}

#header.gt-header-v2 .woocommerce-mini-cart__buttons .wc-forward:not(.checkout),
#header.gt-header-v2 .buttons .wc-forward:not(.checkout) {
  background: rgba(255, 255, 255, 0.045) !important;
  color: rgba(255, 255, 255, 0.86) !important;
}

/* =========================================================
   Mobile header + platform rail
========================================================= */

#header.gt-header-v2 .gt-mobile-platform-rail {
  display: none;
}

@media (max-width: 849px) {
  #header.gt-header-v2 .gt-header-meta,
  #header.gt-header-v2 .gt-platform-nav,
  #header.gt-header-v2 .hide-for-medium.flex-left,
  #header.gt-header-v2 .hide-for-medium.flex-right {
    display: none !important;
  }

  #header.gt-header-v2 .header-main,
  #header.gt-header-v2 #masthead.header-main,
  #header.gt-header-v2 #masthead {
    min-height: 76px !important;
    border-bottom-color: rgba(255, 255, 255, 0.065) !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.006)),
      rgba(17, 17, 28, 0.96) !important;
  }

  #header.gt-header-v2 #masthead .header-inner,
  #header.gt-header-v2 .header-inner {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) 44px !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 76px !important;
    padding-inline: 16px !important;
  }

  #header.gt-header-v2 #logo {
    grid-column: 2 !important;
    justify-self: center !important;
    margin: 0 !important;
  }

  #header.gt-header-v2 #logo img.header-logo,
  #header.gt-header-v2 #logo .header-logo {
    display: block !important;
    width: 178px !important;
    max-height: 42px !important;
    object-fit: contain !important;
  }

  #header.gt-header-v2 #logo img.header-logo-dark,
  #header.gt-header-v2 #logo .header-logo-dark {
    display: none !important;
  }

  #header.gt-header-v2 .show-for-medium.flex-left {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    display: flex !important;
  }

  #header.gt-header-v2 .show-for-medium.flex-right {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    display: flex !important;
  }

  #header.gt-header-v2 .mobile-nav {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
  }

  #header.gt-header-v2 .mobile-nav > li {
    margin: 0 !important;
  }

  #header.gt-header-v2 .nav-icon > a,
  #header.gt-header-v2 .mobile-nav .nav-icon > a,
  #header.gt-header-v2 .show-for-medium .header-cart-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border: 1px solid var(--gt-header-border) !important;
    border-radius: 15px !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)) !important;
    color: rgba(255, 255, 255, 0.86) !important;
    box-shadow: none !important;
  }

  #header.gt-header-v2 .show-for-medium .header-cart-title {
    display: none !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail {
    display: block !important;
    border-top: 1px solid rgba(255, 255, 255, 0.045);
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    background: rgba(255, 255, 255, 0.025);
  }

  #header.gt-header-v2 .gt-mobile-platform-rail__inner {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    padding: 8px 14px 10px !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail__inner::-webkit-scrollbar {
    display: none;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail__link {
    flex: 0 0 auto !important;
    min-height: 36px !important;
    padding: 0 13px !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
    background: rgba(255, 255, 255, 0.045) !important;
    color: rgba(255, 255, 255, 0.66) !important;
    font-size: 11px !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail__link.is-active {
    color: #fff !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail__link .gt-platform-icon,
  #header.gt-header-v2 .gt-mobile-platform-rail__link .gt-platform-icon::before {
    width: 18px !important;
    height: 18px !important;
  }
}

@media (max-width: 549px) {
  #header.gt-header-v2 #logo img.header-logo,
  #header.gt-header-v2 #logo .header-logo {
    width: 166px !important;
  }

  #header.gt-header-v2 #masthead .header-inner,
  #header.gt-header-v2 .header-inner {
    padding-inline: 14px !important;
  }
}

@media (max-width: 380px) {
  #header.gt-header-v2 #logo img.header-logo,
  #header.gt-header-v2 #logo .header-logo {
    width: 150px !important;
  }
}

/* =========================================================
   Mobile off-canvas: fondo, menú y carrito
========================================================= */

@media (max-width: 849px) {
  .mfp-bg,
  .mfp-bg.off-canvas-left,
  .mfp-bg.off-canvas-right,
  .mfp-bg.off-canvas-cart {
    background:
      radial-gradient(circle at 50% 0%, rgba(91, 91, 245, 0.12), transparent 34%),
      rgba(5, 5, 7, 0.78) !important;
    opacity: 1 !important;
    backdrop-filter: blur(18px) saturate(118%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(118%) !important;
  }

  .mfp-close,
  .mfp-wrap .mfp-close,
  .off-canvas .mfp-close,
  .off-canvas-left .mfp-close,
  .off-canvas-cart .mfp-close {
    top: 14px !important;
    right: 14px !important;
    width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 12px !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)),
      rgba(255, 255, 255, 0.04) !important;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 30px !important;
    font-weight: 300 !important;
    line-height: 40px !important;
    opacity: 1 !important;
    text-shadow: none !important;
  }

  .mfp-content:has(#main-menu),
  .mfp-content #main-menu,
  #main-menu.mobile-sidebar,
  .off-canvas-left .mfp-content {
    width: min(82vw, 330px) !important;
    max-width: 330px !important;
    min-height: 100vh !important;
    border-right: 1px solid rgba(255, 255, 255, 0.035) !important;
    box-shadow: 18px 0 54px rgba(0, 0, 0, 0.48), 1px 0 0 rgba(139, 139, 255, 0.035) !important;
  }

  .mfp-content #main-menu.mobile-sidebar,
  #main-menu.mobile-sidebar,
  #main-menu .sidebar-menu {
    background:
      radial-gradient(circle at 0% 0%, rgba(91, 91, 245, 0.11), transparent 34%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
      #1E1E25 !important;
    color: rgba(255, 255, 255, 0.78) !important;
  }

  #main-menu .sidebar-menu {
    padding: 30px 18px 28px !important;
    overflow: hidden auto !important;
  }

  #main-menu .sidebar-menu::before {
    content: "MENÚ" !important;
    display: block !important;
    margin: 0 0 12px 2px !important;
    color: rgba(139, 139, 255, 0.70) !important;
    font-family: var(--gt-font-mono) !important;
    font-size: 8px !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
  }

  #main-menu .nav.nav-sidebar {
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }

  #main-menu .nav.nav-sidebar > li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  #main-menu .nav.nav-sidebar > li.menu-item > a,
  #main-menu .nav.nav-sidebar > li.account-item > a.account-link {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    min-height: 46px !important;
    padding: 0 14px !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.70) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-transform: none !important;
    text-decoration: none !important;
  }

  #main-menu .nav.nav-sidebar > li.menu-item > a:hover,
  #main-menu .nav.nav-sidebar > li.current-menu-item > a,
  #main-menu .nav.nav-sidebar > li.current_page_parent > a,
  #main-menu .nav.nav-sidebar > li.account-item.active > a.account-link {
    border-color: rgba(255, 255, 255, 0.095) !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.046), rgba(255, 255, 255, 0.018)),
      rgba(255, 255, 255, 0.036) !important;
    color: rgba(255, 255, 255, 0.94) !important;
  }

  #main-menu .header-search-form,
  #main-menu .header-search-form-wrapper,
  #main-menu .searchform-wrapper,
  #main-menu .searchform {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  #main-menu .searchform .flex-row {
    display: grid !important;
    grid-template-columns: 1fr 46px !important;
    align-items: center !important;
    min-height: 46px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 12px !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.02)),
      rgba(255, 255, 255, 0.036) !important;
  }

  #main-menu .search-field {
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 0 !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.94) !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 46px !important;
    box-shadow: none !important;
    outline: none !important;
  }

  #main-menu .ux-search-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0 !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 40%),
      var(--gt-header-accent) !important;
    color: #fff !important;
    box-shadow: none !important;
  }

  #main-menu .live-search-results,
  #main-menu .autocomplete-suggestions {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 310px !important;
    margin: 10px 0 0 !important;
    padding: 7px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.075) !important;
    border-radius: 15px !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0.014)),
      rgba(12, 12, 18, 0.78) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 18px 42px rgba(0, 0, 0, 0.24) !important;
    backdrop-filter: blur(18px) saturate(118%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(118%) !important;
  }

  #main-menu .autocomplete-suggestion {
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    column-gap: 12px !important;
    row-gap: 3px !important;
    align-items: center !important;
    min-height: 64px !important;
    padding: 9px 10px !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.78) !important;
  }

  #main-menu .autocomplete-suggestion:hover,
  #main-menu .autocomplete-selected {
    border-color: rgba(255, 255, 255, 0.09) !important;
    background: rgba(255, 255, 255, 0.03) !important;
  }

  #main-menu .autocomplete-suggestion img {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    width: 46px !important;
    height: 46px !important;
    max-width: 46px !important;
    min-width: 46px !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.085) !important;
    border-radius: 10px !important;
    object-fit: cover !important;
    background: rgba(255, 255, 255, 0.035) !important;
  }

  .mfp-content.off-canvas-cart {
    width: min(86vw, 390px) !important;
    max-width: min(86vw, 390px) !important;
    height: var(--gt-mobile-vh, 100dvh) !important;
    min-height: var(--gt-mobile-vh, 100dvh) !important;
    max-height: var(--gt-mobile-vh, 100dvh) !important;
    margin-left: auto !important;
    border-left: 1px solid rgba(255, 255, 255, 0.10) !important;
    background:
      radial-gradient(circle at 0% 0%, rgba(91, 91, 245, 0.10), transparent 36%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.012)),
      #1E1E25 !important;
    box-shadow: -24px 0 80px rgba(0, 0, 0, 0.56) !important;
    overflow: hidden !important;
  }

  .mfp-content.off-canvas-cart #cart-popup,
  .mfp-content.off-canvas-cart .cart-popup-inner,
  .mfp-content.off-canvas-cart .cart-popup-inner--sticky {
    width: 100% !important;
    max-width: 100% !important;
    height: var(--gt-mobile-vh, 100dvh) !important;
    min-height: var(--gt-mobile-vh, 100dvh) !important;
    max-height: var(--gt-mobile-vh, 100dvh) !important;
    padding: 0 !important;
    background: #1E1E25 !important;
    color: rgba(255, 255, 255, 0.78) !important;
    overflow: hidden !important;
  }
}

/* =========================================================
   Back to top
========================================================= */

#top-link {
  right: 24px !important;
  bottom: 24px !important;
  z-index: 900 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 999px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(17, 17, 20, 0.78) !important;
  color: rgba(255, 255, 255, 0.72) !important;
  box-shadow: none !important;
  backdrop-filter: blur(18px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(120%) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(10px) scale(.96) !important;
  transition: opacity 220ms var(--gt-ease-out), visibility 220ms var(--gt-ease-out), transform 220ms var(--gt-ease-out), color 220ms var(--gt-ease-out) !important;
}

#top-link.active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
}

#top-link:hover {
  color: #fff !important;
  transform: translateY(-2px) scale(1) !important;
}

#top-link i {
  margin: 0 !important;
  color: currentColor !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

@media (max-width: 849px) {
  #top-link {
    display: none !important;
  }
}

/* =========================================================
   Responsive desktop compact
========================================================= */

@media (min-width: 850px) and (max-width: 1240px) {
  :root {
    --gt-site-shell-width: 1180px;
  }

  #header.gt-header-v2 #masthead .header-inner {
    grid-template-columns: 230px minmax(0, 1fr) 230px !important;
  }

  #header.gt-header-v2 #logo,
  #header.gt-header-v2 .hide-for-medium.flex-right {
    width: 230px !important;
    max-width: 230px !important;
  }

  #header.gt-header-v2 #logo a > img.header_logo.header-logo:not(.header-logo-dark),
  #header.gt-header-v2 #logo a > img.header-logo:not(.header-logo-dark) {
    width: 198px !important;
    max-width: 198px !important;
  }

  #header.gt-header-v2 .gt-platform-nav__link {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  #header.gt-header-v2 .gt-platform-icon,
  #header.gt-header-v2 .gt-platform-icon::before {
    width: 18px !important;
    height: 18px !important;
  }
}

@media (min-width: 850px) and (max-width: 1080px) {
  #header.gt-header-v2 .gt-platform-nav__link {
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-size: 11.5px !important;
  }

  #header.gt-header-v2 .gt-platform-nav__list > .header-search > a {
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
  }

  #header.gt-header-v2 .wishlist-link,
  #header.gt-header-v2 .header-cart-link {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  #header.gt-header-v2 .account-link {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
  }
}

/* =========================================================
   Gamers Things - Header Search UI V1.3
   Search custom + resultados del live search nativo Flatsome
   ========================================================= */

/* Apagar paneles viejos */
#header .gt-search-ui-v1,
#header .gt-search-ui-v12,
#header .gt-search-panel:not(.gt-search-ui-v13) {
  display: none !important;
}

/* Apagar overlays viejos */
#header.gt-header-search-open::before,
#header.gt-header-search-has-query::before,
#header.gt-header-search-has-results::before {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* El dropdown nativo queda operativo, pero fuera de pantalla.
   Importante: NO usar display:none, porque puede cortar el live search. */
#header li.header-search.gt-platform-search > ul.nav-dropdown,
#header .gt-platform-search > ul.nav-dropdown,
#header .gt-platform-search #ux-search-dropdown {
  display: block !important;
  position: absolute !important;
  left: -99999px !important;
  top: 100% !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 1px !important;
  max-width: 1px !important;
  max-height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: none !important;
}

/* Host */
#header.gt-search-v13-ready {
  --gt-search-v13-bg-start: #7c5cff;
  --gt-search-v13-bg-end: #4c34d8;
  --gt-search-v13-text: #ffffff;
  --gt-search-v13-muted: rgba(255, 255, 255, .7);
  --gt-search-v13-border: rgba(255, 255, 255, .18);
  --gt-search-v13-radius: 21px;
  --gt-search-v13-shadow: 0 18px 44px rgba(10, 8, 30, .42);
  --gt-search-v13-results-bg: rgba(18, 22, 34, .98);
  --gt-search-v13-results-border: rgba(255, 255, 255, .1);
}

#header.gt-search-v13-open {
  position: relative;
  z-index: 10020 !important;
}

#header .gt-search-v13-host,
#header .gt-search-v13-host-list {
  position: relative !important;
  overflow: visible !important;
}

#header .gt-search-v13-host-list {
  isolation: isolate;
}

#header .gt-search-v13-trigger,
#header .gt-search-v13-trigger-link {
  cursor: pointer;
}

/* Panel encima de PC / PlayStation / Xbox / Nintendo / Search */
#header .gt-search-ui-v13 {
  position: absolute !important;
  inset: 0;
  z-index: 80;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  min-width: 100%;
  height: 100%;
  min-height: 52px;
  display: flex !important;
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scaleX(.08);
  transform-origin: right center;
  transition:
    transform .34s cubic-bezier(.18, .88, .28, 1),
    opacity .18s ease,
    visibility .18s ease;
}

#header.gt-search-v13-open .gt-search-ui-v13 {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scaleX(1);
}

#header .gt-search-ui-v13__form {
  width: 100%;
  height: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
}

#header .gt-search-ui-v13__shell {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 15px 0 18px;
  border-radius: var(--gt-search-v13-radius);
  border: 1px solid var(--gt-search-v13-border);
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, .18), transparent 34%),
    linear-gradient(135deg, var(--gt-search-v13-bg-start), var(--gt-search-v13-bg-end));
  color: var(--gt-search-v13-text);
  box-shadow: var(--gt-search-v13-shadow);
  overflow: hidden;
}

#header .gt-search-ui-v13__icon {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  color: rgba(255, 255, 255, .92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#header .gt-search-ui-v13__icon svg,
#header .gt-search-ui-v13__backspace svg,
#header .gt-search-ui-v13__close svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#header .gt-search-ui-v13__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -.01em;
  appearance: none;
}

#header .gt-search-ui-v13__input::placeholder {
  color: var(--gt-search-v13-muted);
  opacity: 1;
}

#header .gt-search-ui-v13__input::-webkit-search-decoration,
#header .gt-search-ui-v13__input::-webkit-search-cancel-button,
#header .gt-search-ui-v13__input::-webkit-search-results-button,
#header .gt-search-ui-v13__input::-webkit-search-results-decoration {
  display: none;
}

#header .gt-search-ui-v13__advanced {
  flex: 0 0 auto;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  opacity: .95;
  transition:
    opacity .18s ease,
    transform .18s ease;
}

#header .gt-search-ui-v13__advanced:hover {
  opacity: 1;
  transform: translateY(-1px);
}

#header .gt-search-ui-v13__backspace {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background .18s ease,
    transform .18s ease;
}

#header .gt-search-ui-v13__backspace:hover {
  background: rgba(255, 255, 255, .24);
  transform: translateY(-1px);
}

#header .gt-search-ui-v13--has-query .gt-search-ui-v13__advanced {
  display: none;
}

#header .gt-search-ui-v13--has-query .gt-search-ui-v13__backspace {
  display: inline-flex;
}

#header .gt-search-ui-v13__close {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .06)),
    rgba(17, 20, 34, .86);
  color: rgba(255, 255, 255, .92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    background .18s ease,
    border-color .18s ease,
    transform .18s ease,
    color .18s ease;
}

#header .gt-search-ui-v13__close:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .08)),
    rgba(25, 29, 47, .94);
  transform: translateY(-1px);
}

#header .gt-search-ui-v13__shell,
#header .gt-search-ui-v13__close {
  opacity: 0;
  transform: translateX(12px);
  transition:
    opacity .2s ease .08s,
    transform .22s ease .08s;
}

#header.gt-search-v13-open .gt-search-ui-v13__shell,
#header.gt-search-v13-open .gt-search-ui-v13__close {
  opacity: 1;
  transform: translateX(0);
}

/* Resultados custom */
#header .gt-search-ui-v13__results {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 54px;
  z-index: 100;
  max-height: min(460px, calc(100vh - 160px));
  overflow: auto;
  border-radius: 18px;
  border: 1px solid var(--gt-search-v13-results-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)),
    var(--gt-search-v13-results-bg);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .48);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity .18s ease,
    visibility .18s ease,
    transform .18s ease;
}

#header.gt-search-v13-open.gt-search-v13-has-query .gt-search-ui-v13__results {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

#header .gt-search-ui-v13__results-inner {
  display: block;
}

/* Mensajes: buscando / sin resultados */
#header .gt-search-ui-v13__message {
  padding: 18px 18px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  font-weight: 650;
}

/* Compatibilidad genérica con resultados de Flatsome */
#header .gt-search-ui-v13__results .autocomplete-suggestion {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .075);
  color: rgba(255, 255, 255, .88);
  cursor: pointer;
  transition:
    background .16s ease,
    transform .16s ease;
}

#header .gt-search-ui-v13__results .autocomplete-suggestion:hover {
  background: rgba(124, 92, 255, .13);
}

#header .gt-search-ui-v13__results .autocomplete-suggestion:last-child {
  border-bottom: 0;
}

#header .gt-search-ui-v13__results .autocomplete-suggestion img,
#header .gt-search-ui-v13__results img {
  width: 72px;
  height: 46px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, .08);
}

#header .gt-search-ui-v13__results .search-name,
#header .gt-search-ui-v13__results .product-title,
#header .gt-search-ui-v13__results .woocommerce-loop-product__title {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

#header .gt-search-ui-v13__results .search-price,
#header .gt-search-ui-v13__results .price {
  margin-left: auto;
  color: rgba(255, 255, 255, .9);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

#header .gt-search-ui-v13__results a {
  color: inherit;
  text-decoration: none !important;
}

#header .gt-search-ui-v13__see-all {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  color: rgba(255, 255, 255, .76) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, .025);
  transition:
    color .16s ease,
    background .16s ease;
}

#header .gt-search-ui-v13__see-all:hover {
  color: #fff !important;
  background: rgba(124, 92, 255, .13);
}

/* Overlay solo cuando hay texto */
.gt-search-backdrop-v13 {
  position: fixed;
  inset: 0;
  z-index: 9990;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0, rgba(124, 92, 255, .16), transparent 34%),
    rgba(3, 5, 13, .68);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition:
    opacity .22s ease,
    visibility .22s ease;
}

body.gt-search-v13-overlay-on .gt-search-backdrop-v13 {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.gt-search-v13-overlay-on #header {
  z-index: 10020 !important;
}

@media (max-width: 849px) {
  #header .gt-search-ui-v13 {
    min-height: 50px;
  }

  #header .gt-search-ui-v13__form {
    min-height: 50px;
    gap: 7px;
  }

  #header .gt-search-ui-v13__shell {
    min-height: 50px;
    border-radius: 18px;
    padding-left: 15px;
    padding-right: 12px;
  }

  #header .gt-search-ui-v13__input {
    font-size: 13px;
  }

  #header .gt-search-ui-v13__advanced {
    font-size: 12px;
  }

  #header .gt-search-ui-v13__close {
    width: 42px;
    height: 42px;
  }

  #header .gt-search-ui-v13__results {
    right: 50px;
    max-height: min(420px, calc(100vh - 140px));
  }
}

/* =========================================================
   Gamers Things - Search Bar Premium Polish V1.3.1
   Solo barra superior: proporciones, color, cierre, backspace,
   sombra y alineación fina.
   ========================================================= */

#header.gt-search-v13-ready {
  --gt-search-v13-bar-height: 50px;
  --gt-search-v13-bg-start: #8064ff;
  --gt-search-v13-bg-mid: #6848f2;
  --gt-search-v13-bg-end: #4b32ce;
  --gt-search-v13-text: #ffffff;
  --gt-search-v13-muted: rgba(255, 255, 255, .66);
  --gt-search-v13-border: rgba(255, 255, 255, .16);
  --gt-search-v13-radius: 19px;
  --gt-search-v13-shadow:
    0 18px 42px rgba(15, 9, 45, .34),
    0 0 0 1px rgba(255, 255, 255, .045) inset,
    0 1px 0 rgba(255, 255, 255, .16) inset;
}

/* Panel alineado al row de categorías */
#header .gt-search-ui-v13 {
  min-height: var(--gt-search-v13-bar-height) !important;
  height: 100% !important;
  align-items: center !important;
}

/* Form más compacto y premium */
#header .gt-search-ui-v13__form {
  min-height: var(--gt-search-v13-bar-height) !important;
  height: var(--gt-search-v13-bar-height) !important;
  align-items: center !important;
  gap: 7px !important;
}

/* Barra principal */
#header .gt-search-ui-v13__shell {
  min-height: var(--gt-search-v13-bar-height) !important;
  height: var(--gt-search-v13-bar-height) !important;
  border-radius: var(--gt-search-v13-radius) !important;
  padding: 0 13px 0 18px !important;
  gap: 12px !important;
  border: 1px solid var(--gt-search-v13-border) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, .22), transparent 34%),
    radial-gradient(circle at 88% 100%, rgba(121, 97, 255, .32), transparent 42%),
    linear-gradient(135deg, var(--gt-search-v13-bg-start) 0%, var(--gt-search-v13-bg-mid) 46%, var(--gt-search-v13-bg-end) 100%) !important;
  box-shadow: var(--gt-search-v13-shadow) !important;
}

/* Ícono lupa más fino */
#header .gt-search-ui-v13__icon {
  width: 20px !important;
  height: 20px !important;
  color: rgba(255, 255, 255, .9) !important;
  opacity: .95;
}

#header .gt-search-ui-v13__icon svg {
  width: 18px !important;
  height: 18px !important;
  stroke-width: 2.25 !important;
}

/* Input más legible y menos pesado */
#header .gt-search-ui-v13__input {
  height: var(--gt-search-v13-bar-height) !important;
  font-size: 13.5px !important;
  font-weight: 780 !important;
  letter-spacing: -.015em !important;
  color: #fff !important;
  caret-color: #fff !important;
}

#header .gt-search-ui-v13__input::placeholder {
  color: var(--gt-search-v13-muted) !important;
  font-weight: 720 !important;
}

/* Búsqueda avanzada integrada, no tan “botón suelto” */
#header .gt-search-ui-v13__advanced {
  height: 34px !important;
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  color: rgba(255, 255, 255, .94) !important;
  background: rgba(255, 255, 255, .075) !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  font-size: 12.5px !important;
  font-weight: 820 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  opacity: 1 !important;
}

#header .gt-search-ui-v13__advanced:hover {
  background: rgba(255, 255, 255, .13) !important;
  border-color: rgba(255, 255, 255, .14) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

/* Backspace más premium y alineado */
#header .gt-search-ui-v13__backspace {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border-radius: 999px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .08)) !important;
  border: 1px solid rgba(255, 255, 255, .1) !important;
  color: rgba(255, 255, 255, .92) !important;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, .14),
    0 1px 0 rgba(255, 255, 255, .11) inset !important;
}

#header .gt-search-ui-v13__backspace svg {
  width: 17px !important;
  height: 17px !important;
  stroke-width: 2.2 !important;
}

#header .gt-search-ui-v13__backspace:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .23), rgba(255, 255, 255, .11)) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

/* Botón cerrar: más compacto, más alineado y menos separado visualmente */
#header .gt-search-ui-v13__close {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border-radius: 17px !important;
  margin-left: 0 !important;
  border: 1px solid rgba(255, 255, 255, .13) !important;
  background:
    radial-gradient(circle at 30% 0%, rgba(255, 255, 255, .14), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .035)),
    rgba(15, 18, 32, .92) !important;
  color: rgba(255, 255, 255, .86) !important;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, .26),
    0 0 0 1px rgba(124, 92, 255, .12) inset !important;
}

#header .gt-search-ui-v13__close svg {
  width: 17px !important;
  height: 17px !important;
  stroke-width: 2.25 !important;
}

#header .gt-search-ui-v13__close:hover {
  color: #fff !important;
  border-color: rgba(124, 92, 255, .34) !important;
  background:
    radial-gradient(circle at 30% 0%, rgba(255, 255, 255, .17), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .05)),
    rgba(23, 27, 46, .96) !important;
  transform: translateY(-1px) !important;
}

/* Animación un poco más premium y menos brusca */
#header .gt-search-ui-v13 {
  transform: scaleX(.12) translateX(4px) !important;
  transform-origin: right center !important;
  transition:
    transform .36s cubic-bezier(.16, .92, .24, 1),
    opacity .18s ease,
    visibility .18s ease !important;
}

#header.gt-search-v13-open .gt-search-ui-v13 {
  transform: scaleX(1) translateX(0) !important;
}

/* Entrada interna más sutil */
#header .gt-search-ui-v13__shell,
#header .gt-search-ui-v13__close {
  transform: translateX(10px) !important;
  transition:
    opacity .2s ease .07s,
    transform .24s cubic-bezier(.18, .8, .25, 1) .07s !important;
}

#header.gt-search-v13-open .gt-search-ui-v13__shell,
#header.gt-search-v13-open .gt-search-ui-v13__close {
  transform: translateX(0) !important;
}

/* Cuando hay texto, que la barra se sienta activa */
#header.gt-search-v13-has-query .gt-search-ui-v13__shell {
  border-color: rgba(255, 255, 255, .21) !important;
  box-shadow:
    0 18px 42px rgba(15, 9, 45, .38),
    0 0 0 1px rgba(255, 255, 255, .06) inset,
    0 0 28px rgba(124, 92, 255, .18) !important;
}

/* Responsive fino */
@media (max-width: 849px) {
  #header.gt-search-v13-ready {
    --gt-search-v13-bar-height: 48px;
    --gt-search-v13-radius: 17px;
  }

  #header .gt-search-ui-v13__form {
    gap: 6px !important;
  }

  #header .gt-search-ui-v13__shell {
    padding-left: 15px !important;
    padding-right: 11px !important;
    gap: 10px !important;
  }

  #header .gt-search-ui-v13__input {
    font-size: 13px !important;
  }

  #header .gt-search-ui-v13__advanced {
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 9px !important;
    font-size: 12px !important;
  }

  #header .gt-search-ui-v13__backspace {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }

  #header .gt-search-ui-v13__close {
    width: 41px !important;
    height: 41px !important;
    min-width: 41px !important;
    border-radius: 15px !important;
  }
}

/* =========================================================
   Gamers Things - Search Bar Premium Polish V1.3.2
   Objetivo:
   - Más cerca del comportamiento visual Instant Gaming
   - Barra más grande, limpia y sólida
   - "Búsqueda avanzada" como texto integrado, sin pill
   - Cierre circular externo
   - Menos brillo, más premium
   ========================================================= */

#header.gt-search-v13-ready {
  --gt-search-v13-bar-height: 58px;
  --gt-search-v13-close-size: 52px;

  /* Variante violeta Gamers Things, más sobria */
  --gt-search-v13-bg-start: #785cff;
  --gt-search-v13-bg-end: #5b3ee6;

  --gt-search-v13-text: #ffffff;
  --gt-search-v13-placeholder: rgba(255, 255, 255, .62);
  --gt-search-v13-soft: rgba(255, 255, 255, .76);
  --gt-search-v13-border: rgba(255, 255, 255, .14);

  --gt-search-v13-radius: 25px;
  --gt-search-v13-shadow:
    0 18px 42px rgba(10, 8, 32, .32),
    0 1px 0 rgba(255, 255, 255, .13) inset,
    0 0 0 1px rgba(255, 255, 255, .04) inset;
}

/*
   Si después queremos probar una variante más cercana a Instant Gaming,
   solo reemplazamos las variables de color por estas:

#header.gt-search-v13-ready {
  --gt-search-v13-bg-start: #ff6828;
  --gt-search-v13-bg-end: #ff432f;
}
*/

/* El panel ahora se centra verticalmente y puede ser más alto que el row */
#header .gt-search-ui-v13 {
  top: 50% !important;
  right: 0 !important;
  bottom: auto !important;
  left: 0 !important;
  inset: auto 0 auto 0 !important;

  height: var(--gt-search-v13-bar-height) !important;
  min-height: var(--gt-search-v13-bar-height) !important;

  align-items: center !important;
  transform-origin: right center !important;
  transform: translateY(-50%) scaleX(.08) !important;

  transition:
    transform .34s cubic-bezier(.16, .9, .24, 1),
    opacity .16s ease,
    visibility .16s ease !important;
}

#header.gt-search-v13-open .gt-search-ui-v13 {
  transform: translateY(-50%) scaleX(1) !important;
}

/* Form: menos comprimido, más parecido a una barra real */
#header .gt-search-ui-v13__form {
  height: var(--gt-search-v13-bar-height) !important;
  min-height: var(--gt-search-v13-bar-height) !important;
  align-items: center !important;
  gap: 9px !important;
}

/* Barra principal */
#header .gt-search-ui-v13__shell {
  height: var(--gt-search-v13-bar-height) !important;
  min-height: var(--gt-search-v13-bar-height) !important;

  border-radius: var(--gt-search-v13-radius) !important;
  padding: 0 20px 0 21px !important;
  gap: 13px !important;

  border: 1px solid var(--gt-search-v13-border) !important;

  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, .18), transparent 34%),
    linear-gradient(135deg, var(--gt-search-v13-bg-start) 0%, var(--gt-search-v13-bg-end) 100%) !important;

  box-shadow: var(--gt-search-v13-shadow) !important;
}

/* Lupa más sutil */
#header .gt-search-ui-v13__icon {
  width: 20px !important;
  height: 20px !important;
  color: rgba(255, 255, 255, .84) !important;
  opacity: .9 !important;
}

#header .gt-search-ui-v13__icon svg {
  width: 18px !important;
  height: 18px !important;
  stroke-width: 2.15 !important;
}

/* Input: más aire, menos peso visual */
#header .gt-search-ui-v13__input {
  height: var(--gt-search-v13-bar-height) !important;
  font-size: 14px !important;
  font-weight: 760 !important;
  letter-spacing: -.015em !important;
  color: var(--gt-search-v13-text) !important;
  caret-color: #fff !important;
}

#header .gt-search-ui-v13__input::placeholder {
  color: var(--gt-search-v13-placeholder) !important;
  font-weight: 720 !important;
  opacity: 1 !important;
}

/* Búsqueda avanzada: vuelve a ser texto integrado, no pill */
#header .gt-search-ui-v13__advanced {
  height: auto !important;
  min-height: 0 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0 !important;
  margin: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  color: rgba(255, 255, 255, .92) !important;
  text-decoration: none !important;

  font-size: 14px !important;
  font-weight: 820 !important;
  line-height: 1 !important;
  letter-spacing: -.01em !important;
  white-space: nowrap !important;

  opacity: 1 !important;

  transition:
    color .16s ease,
    opacity .16s ease,
    transform .16s ease !important;
}

#header .gt-search-ui-v13__advanced:hover {
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  transform: translateY(-1px) !important;
}

/* Backspace: reemplaza a búsqueda avanzada, pero sin sentirse como botón pesado */
#header .gt-search-ui-v13__backspace {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 999px !important;

  background: rgba(255, 255, 255, .105) !important;
  color: rgba(255, 255, 255, .88) !important;

  box-shadow: none !important;

  align-items: center !important;
  justify-content: center !important;

  transition:
    background .16s ease,
    color .16s ease,
    transform .16s ease !important;
}

#header .gt-search-ui-v13__backspace svg {
  width: 17px !important;
  height: 17px !important;
  stroke-width: 2.15 !important;
}

#header .gt-search-ui-v13__backspace:hover {
  background: rgba(255, 255, 255, .17) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

/* Cierre circular externo, más parecido a Instant Gaming */
#header .gt-search-ui-v13__close {
  width: var(--gt-search-v13-close-size) !important;
  height: var(--gt-search-v13-close-size) !important;
  min-width: var(--gt-search-v13-close-size) !important;

  margin: 0 !important;
  padding: 0 !important;

  border-radius: 999px !important;

  border: 1px solid rgba(255, 255, 255, .16) !important;

  background:
    radial-gradient(circle at 35% 18%, rgba(255, 255, 255, .14), transparent 42%),
    rgba(22, 26, 39, .72) !important;

  color: rgba(255, 255, 255, .84) !important;

  box-shadow:
    0 16px 34px rgba(0, 0, 0, .28),
    0 0 0 1px rgba(255, 255, 255, .035) inset !important;

  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;

  transition:
    background .16s ease,
    border-color .16s ease,
    color .16s ease,
    transform .16s ease !important;
}

#header .gt-search-ui-v13__close svg {
  width: 18px !important;
  height: 18px !important;
  stroke-width: 2.15 !important;
}

#header .gt-search-ui-v13__close:hover {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .24) !important;

  background:
    radial-gradient(circle at 35% 18%, rgba(255, 255, 255, .18), transparent 42%),
    rgba(30, 34, 50, .86) !important;

  transform: translateY(-1px) !important;
}

/* Entrada interna más natural */
#header .gt-search-ui-v13__shell,
#header .gt-search-ui-v13__close {
  opacity: 0;
  transform: translateX(9px) !important;

  transition:
    opacity .18s ease .06s,
    transform .22s cubic-bezier(.18, .78, .25, 1) .06s !important;
}

#header.gt-search-v13-open .gt-search-ui-v13__shell,
#header.gt-search-v13-open .gt-search-ui-v13__close {
  opacity: 1;
  transform: translateX(0) !important;
}

/* Estado escribiendo: apenas más vivo, sin exagerar */
#header.gt-search-v13-has-query .gt-search-ui-v13__shell {
  border-color: rgba(255, 255, 255, .19) !important;

  box-shadow:
    0 18px 42px rgba(10, 8, 32, .36),
    0 1px 0 rgba(255, 255, 255, .15) inset,
    0 0 24px rgba(124, 92, 255, .16) !important;
}

/* Ajuste del dropdown para que nazca desde la nueva altura */
#header .gt-search-ui-v13__results {
  top: calc(100% + 13px) !important;
}

/* Responsive */
@media (max-width: 849px) {
  #header.gt-search-v13-ready {
    --gt-search-v13-bar-height: 52px;
    --gt-search-v13-close-size: 46px;
    --gt-search-v13-radius: 22px;
  }

  #header .gt-search-ui-v13__form {
    gap: 7px !important;
  }

  #header .gt-search-ui-v13__shell {
    padding-left: 17px !important;
    padding-right: 14px !important;
    gap: 10px !important;
  }

  #header .gt-search-ui-v13__input {
    font-size: 13px !important;
  }

  #header .gt-search-ui-v13__advanced {
    font-size: 12.5px !important;
  }

  #header .gt-search-ui-v13__backspace {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }

  #header .gt-search-ui-v13__close svg {
    width: 17px !important;
    height: 17px !important;
  }
}

/* =========================================================
   Gamers Things - Search Bar Position Fix V1.3.3
   Corrige posición: el search vuelve a tapar el row de categorías,
   no el menú superior.
   ========================================================= */

/* El row de categorías vuelve a ser el ancla real del search */
#header .gt-search-v13-host,
#header .gt-search-v13-host-list {
  position: relative !important;
  overflow: visible !important;
}

/* Le damos altura real al row para que el search no calcule mal */
#header .gt-search-v13-host-list {
  min-height: 58px !important;
  height: 58px !important;
  align-items: center !important;
}

/* El panel ya no flota con top:50%.
   Ahora ocupa el row desde arriba, como la referencia. */
#header .gt-search-ui-v13 {
  top: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  left: 0 !important;
  inset: 0 auto auto 0 !important;

  width: 100% !important;
  height: 58px !important;
  min-height: 58px !important;

  transform: scaleX(.08) translateX(4px) !important;
  transform-origin: right center !important;

  align-items: center !important;
}

/* Estado abierto */
#header.gt-search-v13-open .gt-search-ui-v13 {
  transform: scaleX(1) translateX(0) !important;
}

/* Form y barra alineados a la nueva altura */
#header .gt-search-ui-v13__form {
  height: 58px !important;
  min-height: 58px !important;
  align-items: center !important;
}

/* Barra principal más similar a la referencia: grande, horizontal, clara */
#header .gt-search-ui-v13__shell {
  height: 58px !important;
  min-height: 58px !important;
  border-radius: 25px !important;
}

/* Cierre circular alineado al centro de la barra */
#header .gt-search-ui-v13__close {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  border-radius: 999px !important;
}

/* Cuando el search está abierto, que el row original no “compita” visualmente */
#header.gt-search-v13-open .gt-platform-nav__item,
#header.gt-search-v13-open .gt-platform-search {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity .12s ease !important;
}

/* Pero el panel custom sí queda visible */
#header.gt-search-v13-open .gt-search-ui-v13 {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Ajuste del dropdown según la barra reposicionada */
#header .gt-search-ui-v13__results {
  top: calc(58px + 12px) !important;
}

/* Responsive */
@media (max-width: 849px) {
  #header .gt-search-v13-host-list {
    min-height: 52px !important;
    height: 52px !important;
  }

  #header .gt-search-ui-v13,
  #header .gt-search-ui-v13__form,
  #header .gt-search-ui-v13__shell {
    height: 52px !important;
    min-height: 52px !important;
  }

  #header .gt-search-ui-v13__close {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
  }

  #header .gt-search-ui-v13__results {
    top: calc(52px + 10px) !important;
  }
}

/* =========================================================
   Gamers Things - Search Row Transform V1.3.5
   Objetivo:
   - El search NO aparece como popup
   - El search nace desde la lupa
   - Se expande hacia la izquierda
   - Cubre el row de categorías como una transformación
   - La X queda circular por fuera, como referencia
   ========================================================= */

#header.gt-search-v13-ready {
  --gt-search-v13-row-height: 58px;
  --gt-search-v13-origin-size: 58px;
  --gt-search-v13-close-size: 52px;
  --gt-search-v13-close-gap: 10px;

  --gt-search-v13-bg-start: #7d61ff;
  --gt-search-v13-bg-end: #5d40e8;

  --gt-search-v13-text: #ffffff;
  --gt-search-v13-placeholder: rgba(255, 255, 255, .62);
  --gt-search-v13-border: rgba(255, 255, 255, .14);
  --gt-search-v13-radius: 25px;

  --gt-search-v13-shadow:
    0 18px 42px rgba(10, 8, 32, .34),
    0 1px 0 rgba(255, 255, 255, .13) inset,
    0 0 0 1px rgba(255, 255, 255, .04) inset;
}

/* El nav mantiene su ancho y posición original */
#header .gt-platform-nav.gt-search-v13-host {
  position: relative !important;
  overflow: visible !important;
}

/* El UL conserva el layout del row.
   No ocultamos ni destruimos los LI estructurales. */
#header .gt-platform-nav__list.gt-search-v13-host-list {
  position: relative !important;
  overflow: visible !important;
  isolation: isolate !important;

  min-height: var(--gt-search-v13-row-height) !important;
  height: var(--gt-search-v13-row-height) !important;
  align-items: center !important;
}

/* Panel absoluto sobre el MISMO row de categorías */
#header .gt-search-ui-v13 {
  position: absolute !important;

  top: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  left: 0 !important;
  inset: 0 0 auto 0 !important;

  z-index: 90 !important;

  width: 100% !important;
  height: var(--gt-search-v13-row-height) !important;
  min-height: var(--gt-search-v13-row-height) !important;

  margin: 0 !important;
  padding: 0 !important;

  display: flex !important;
  align-items: center !important;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: none !important;

  transition:
    opacity .08s ease,
    visibility .08s ease !important;
}

/* Abierto: el panel existe, pero la animación la hace la barra interna */
#header.gt-search-v13-open .gt-search-ui-v13 {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
}

/* Form como escenario de transformación */
#header .gt-search-ui-v13__form {
  position: relative !important;

  width: 100% !important;
  height: var(--gt-search-v13-row-height) !important;
  min-height: var(--gt-search-v13-row-height) !important;

  margin: 0 !important;
  padding: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;

  gap: 0 !important;
}

/* La barra nace con el tamaño de la lupa y crece hacia la izquierda */
#header .gt-search-ui-v13__shell {
  flex: 0 0 var(--gt-search-v13-origin-size) !important;

  width: var(--gt-search-v13-origin-size) !important;
  max-width: 100% !important;

  height: var(--gt-search-v13-row-height) !important;
  min-height: var(--gt-search-v13-row-height) !important;

  margin: 0 !important;
  padding: 0 20px !important;

  display: flex !important;
  align-items: center !important;
  gap: 13px !important;

  border-radius: var(--gt-search-v13-radius) !important;
  border: 1px solid var(--gt-search-v13-border) !important;

  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, .18), transparent 34%),
    linear-gradient(135deg, var(--gt-search-v13-bg-start) 0%, var(--gt-search-v13-bg-end) 100%) !important;

  color: var(--gt-search-v13-text) !important;
  box-shadow: var(--gt-search-v13-shadow) !important;

  overflow: hidden !important;

  transform: none !important;

  transition:
    width .38s cubic-bezier(.16, .9, .24, 1),
    flex-basis .38s cubic-bezier(.16, .9, .24, 1),
    border-radius .24s ease,
    box-shadow .24s ease !important;
}

/* Estado abierto: ocupa todo el row.
   La derecha queda fija; la expansión va hacia la izquierda. */
#header.gt-search-v13-open .gt-search-ui-v13__shell {
  flex-basis: 100% !important;
  width: 100% !important;
}

/* El contenido interno aparece después de que la barra empieza a crecer */
#header .gt-search-ui-v13__icon,
#header .gt-search-ui-v13__input,
#header .gt-search-ui-v13__advanced,
#header .gt-search-ui-v13__backspace {
  opacity: 0;
  transform: translateX(8px);
  transition:
    opacity .18s ease .12s,
    transform .22s ease .12s !important;
}

#header.gt-search-v13-open .gt-search-ui-v13__icon,
#header.gt-search-v13-open .gt-search-ui-v13__input,
#header.gt-search-v13-open .gt-search-ui-v13__advanced,
#header.gt-search-v13-open .gt-search-ui-v13__backspace {
  opacity: 1;
  transform: translateX(0);
}

/* Lupa */
#header .gt-search-ui-v13__icon {
  flex: 0 0 auto !important;
  width: 20px !important;
  height: 20px !important;
  color: rgba(255, 255, 255, .84) !important;
}

#header .gt-search-ui-v13__icon svg {
  width: 18px !important;
  height: 18px !important;
  stroke-width: 2.15 !important;
}

/* Input */
#header .gt-search-ui-v13__input {
  flex: 1 1 auto !important;
  min-width: 0 !important;

  height: var(--gt-search-v13-row-height) !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;

  color: #fff !important;
  caret-color: #fff !important;

  font-size: 14px !important;
  font-weight: 760 !important;
  letter-spacing: -.015em !important;
}

#header .gt-search-ui-v13__input::placeholder {
  color: var(--gt-search-v13-placeholder) !important;
  opacity: 1 !important;
  font-weight: 720 !important;
}

/* Búsqueda avanzada como texto integrado */
#header .gt-search-ui-v13__advanced {
  flex: 0 0 auto !important;

  padding: 0 !important;
  margin: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  color: rgba(255, 255, 255, .92) !important;
  text-decoration: none !important;

  font-size: 14px !important;
  font-weight: 820 !important;
  line-height: 1 !important;
  letter-spacing: -.01em !important;
  white-space: nowrap !important;
}

#header .gt-search-ui-v13__advanced:hover {
  color: #fff !important;
  transform: translateY(-1px) !important;
}

/* Backspace integrado, liviano */
#header .gt-search-ui-v13__backspace {
  flex: 0 0 auto !important;

  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 999px !important;

  background: rgba(255, 255, 255, .105) !important;
  color: rgba(255, 255, 255, .88) !important;

  box-shadow: none !important;

  align-items: center !important;
  justify-content: center !important;

  transition:
    background .16s ease,
    color .16s ease,
    transform .16s ease !important;
}

#header .gt-search-ui-v13__backspace svg {
  width: 17px !important;
  height: 17px !important;
  stroke-width: 2.15 !important;
}

#header .gt-search-ui-v13__backspace:hover {
  background: rgba(255, 255, 255, .17) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

/* La X queda por fuera del row, no roba ancho a la barra */
#header .gt-search-ui-v13__close {
  position: absolute !important;

  top: 50% !important;
  right: calc((var(--gt-search-v13-close-size) + var(--gt-search-v13-close-gap)) * -1) !important;

  width: var(--gt-search-v13-close-size) !important;
  height: var(--gt-search-v13-close-size) !important;
  min-width: var(--gt-search-v13-close-size) !important;

  margin: 0 !important;
  padding: 0 !important;

  border-radius: 999px !important;

  border: 1px solid rgba(255, 255, 255, .16) !important;

  background:
    radial-gradient(circle at 35% 18%, rgba(255, 255, 255, .14), transparent 42%),
    rgba(22, 26, 39, .72) !important;

  color: rgba(255, 255, 255, .84) !important;

  box-shadow:
    0 16px 34px rgba(0, 0, 0, .28),
    0 0 0 1px rgba(255, 255, 255, .035) inset !important;

  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;

  opacity: 0 !important;
  pointer-events: none !important;

  transform: translateY(-50%) scale(.88) !important;

  transition:
    opacity .18s ease .16s,
    transform .22s cubic-bezier(.18, .8, .25, 1) .16s,
    background .16s ease,
    border-color .16s ease,
    color .16s ease !important;
}

#header.gt-search-v13-open .gt-search-ui-v13__close {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(-50%) scale(1) !important;
}

#header .gt-search-ui-v13__close svg {
  width: 18px !important;
  height: 18px !important;
  stroke-width: 2.15 !important;
}

#header .gt-search-ui-v13__close:hover {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .24) !important;

  background:
    radial-gradient(circle at 35% 18%, rgba(255, 255, 255, .18), transparent 42%),
    rgba(30, 34, 50, .86) !important;
}

/* Mientras está abierto, el search queda por encima del row */
#header.gt-search-v13-open .gt-search-ui-v13 {
  z-index: 95 !important;
}

/* No ocultamos los LI originales.
   La barra los tapa naturalmente al expandirse.
   Esto evita que el row pierda ancho o se vaya de posición. */
#header.gt-search-v13-open .gt-platform-nav__item,
#header.gt-search-v13-open .gt-platform-search {
  visibility: visible !important;
}

/* Pero el link nativo de la lupa no debe quedar clickeable por encima */
#header.gt-search-v13-open .gt-search-v13-trigger-link {
  pointer-events: none !important;
}

/* Resultados alineados al ancho de la barra, no a la X */
#header .gt-search-ui-v13__results {
  top: calc(var(--gt-search-v13-row-height) + 12px) !important;
  left: 0 !important;
  right: 0 !important;
}

/* Estado activo escribiendo */
#header.gt-search-v13-has-query .gt-search-ui-v13__shell {
  border-color: rgba(255, 255, 255, .19) !important;

  box-shadow:
    0 18px 42px rgba(10, 8, 32, .38),
    0 1px 0 rgba(255, 255, 255, .15) inset,
    0 0 24px rgba(124, 92, 255, .16) !important;
}

/* Responsive */
@media (max-width: 849px) {
  #header.gt-search-v13-ready {
    --gt-search-v13-row-height: 52px;
    --gt-search-v13-origin-size: 52px;
    --gt-search-v13-close-size: 46px;
    --gt-search-v13-close-gap: 8px;
    --gt-search-v13-radius: 22px;
  }

  #header .gt-search-ui-v13__shell {
    padding-left: 17px !important;
    padding-right: 17px !important;
    gap: 10px !important;
  }

  #header .gt-search-ui-v13__input {
    font-size: 13px !important;
  }

  #header .gt-search-ui-v13__advanced {
    font-size: 12.5px !important;
  }

  #header .gt-search-ui-v13__backspace {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }

  #header .gt-search-ui-v13__close svg {
    width: 17px !important;
    height: 17px !important;
  }
}

/* =========================================================
   Gamers Things - Search Anchor + Closing Animation V1.3.6
   Hace que el search use la posición real del row y cierre hacia la derecha.
   ========================================================= */

#header.gt-search-v13-ready {
  --gt-search-v13-fixed-left: 0px;
  --gt-search-v13-fixed-top: 0px;
  --gt-search-v13-fixed-width: 520px;
  --gt-search-v13-fixed-height: 56px;
  --gt-search-v13-origin-size: 56px;
  --gt-search-v13-close-size: 52px;
  --gt-search-v13-close-gap: 10px;
}

/* El panel ya no depende del parent interno de Flatsome.
   Va exactamente donde el JS midió el row de categorías. */
#header .gt-search-ui-v13 {
  position: fixed !important;

  top: var(--gt-search-v13-fixed-top) !important;
  left: var(--gt-search-v13-fixed-left) !important;
  right: auto !important;
  bottom: auto !important;
  inset: auto !important;

  width: var(--gt-search-v13-fixed-width) !important;
  min-width: var(--gt-search-v13-fixed-width) !important;
  max-width: var(--gt-search-v13-fixed-width) !important;

  height: var(--gt-search-v13-fixed-height) !important;
  min-height: var(--gt-search-v13-fixed-height) !important;

  z-index: 10040 !important;

  margin: 0 !important;
  padding: 0 !important;

  display: flex !important;
  align-items: center !important;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: none !important;

  transition:
    opacity .08s ease,
    visibility .08s ease !important;
}

#header.gt-search-v13-open .gt-search-ui-v13,
#header.gt-search-v13-closing .gt-search-ui-v13 {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Form fijo, alineado a la derecha para que la barra crezca hacia la izquierda */
#header .gt-search-ui-v13__form {
  position: relative !important;

  width: 100% !important;
  height: var(--gt-search-v13-fixed-height) !important;
  min-height: var(--gt-search-v13-fixed-height) !important;

  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;

  gap: 0 !important;

  margin: 0 !important;
  padding: 0 !important;
}

/* Estado cerrado: la barra mide lo mismo que la lupa original */
#header .gt-search-ui-v13__shell {
  flex: 0 0 var(--gt-search-v13-origin-size) !important;

  width: var(--gt-search-v13-origin-size) !important;
  min-width: var(--gt-search-v13-origin-size) !important;
  max-width: var(--gt-search-v13-fixed-width) !important;

  height: var(--gt-search-v13-fixed-height) !important;
  min-height: var(--gt-search-v13-fixed-height) !important;

  margin: 0 !important;

  overflow: hidden !important;

  transition:
    width .38s cubic-bezier(.16, .9, .24, 1),
    flex-basis .38s cubic-bezier(.16, .9, .24, 1),
    min-width .38s cubic-bezier(.16, .9, .24, 1),
    box-shadow .22s ease,
    border-color .22s ease !important;
}

/* Abre hacia la izquierda */
#header.gt-search-v13-open:not(.gt-search-v13-closing) .gt-search-ui-v13__shell {
  flex-basis: var(--gt-search-v13-fixed-width) !important;
  width: var(--gt-search-v13-fixed-width) !important;
  min-width: var(--gt-search-v13-fixed-width) !important;
}

/* Cierra hacia la derecha */
#header.gt-search-v13-open.gt-search-v13-closing .gt-search-ui-v13__shell {
  flex-basis: var(--gt-search-v13-origin-size) !important;
  width: var(--gt-search-v13-origin-size) !important;
  min-width: var(--gt-search-v13-origin-size) !important;
}

/* Contenido aparece al abrir */
#header.gt-search-v13-open:not(.gt-search-v13-closing) .gt-search-ui-v13__icon,
#header.gt-search-v13-open:not(.gt-search-v13-closing) .gt-search-ui-v13__input,
#header.gt-search-v13-open:not(.gt-search-v13-closing) .gt-search-ui-v13__advanced,
#header.gt-search-v13-open:not(.gt-search-v13-closing) .gt-search-ui-v13__backspace {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Contenido se esconde antes/durante el cierre */
#header.gt-search-v13-closing .gt-search-ui-v13__icon,
#header.gt-search-v13-closing .gt-search-ui-v13__input,
#header.gt-search-v13-closing .gt-search-ui-v13__advanced,
#header.gt-search-v13-closing .gt-search-ui-v13__backspace {
  opacity: 0 !important;
  transform: translateX(8px) !important;
  transition:
    opacity .12s ease,
    transform .12s ease !important;
}

/* X flotante: visible al abrir y durante el cierre */
#header.gt-search-v13-open .gt-search-ui-v13__close,
#header.gt-search-v13-closing .gt-search-ui-v13__close {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Durante el cierre, la X se apaga un poco después */
#header.gt-search-v13-closing .gt-search-ui-v13__close {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(-50%) scale(.88) !important;
  transition:
    opacity .16s ease,
    transform .18s ease !important;
}

/* Resultados acompañan la posición fija del panel */
#header .gt-search-ui-v13__results {
  top: calc(var(--gt-search-v13-fixed-height) + 12px) !important;
  left: 0 !important;
  right: 0 !important;
  width: var(--gt-search-v13-fixed-width) !important;
}

/* =========================================================
   Gamers Things - Search Anchor Position Repair V1.3.7
   Corrige "Narnia":
   - Restaura el row de plataformas al centro del header
   - Evita que V1.3.5 lo convierta en bloque relativo
   - Mantiene la animación correcta de expansión/cierre
   ========================================================= */

@media (min-width: 850px) {

  /* Restaurar posición original del bloque de plataformas */
  #header.gt-header-v2 .gt-platform-nav.gt-search-v13-host,
  #header.gt-header-v2 nav.gt-platform-nav.gt-search-v13-host {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;

    z-index: 4 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: translate(-50%, calc(-50% + 2px)) !important;
    overflow: visible !important;
  }

  /* Restaurar el tamaño real del row de categorías */
  #header.gt-header-v2 .gt-platform-nav__list.gt-search-v13-host-list,
  #header.gt-header-v2 nav.gt-platform-nav.gt-search-v13-host > ul.gt-platform-nav__list.gt-search-v13-host-list {
    position: relative !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    max-width: none !important;

    height: 52px !important;
    min-height: 52px !important;

    margin: 0 !important;
    padding: 5px !important;
    gap: 4px !important;

    overflow: visible !important;
    isolation: isolate !important;
  }

  /* Evita que los fixes anteriores escondan el row antes de la animación */
  #header.gt-header-v2.gt-search-v13-open .gt-platform-nav__item,
  #header.gt-header-v2.gt-search-v13-open .gt-platform-search,
  #header.gt-search-v13-open .gt-platform-nav__item,
  #header.gt-search-v13-open .gt-platform-search {
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Pero el link nativo de la lupa no debe capturar clicks por encima del panel */
  #header.gt-header-v2.gt-search-v13-open .gt-search-v13-trigger-link,
  #header.gt-search-v13-open .gt-search-v13-trigger-link {
    pointer-events: none !important;
  }

  /* El panel custom sigue usando posición fija medida por JS */
  #header.gt-header-v2 .gt-search-ui-v13 {
    position: fixed !important;

    top: var(--gt-search-v13-fixed-top) !important;
    left: var(--gt-search-v13-fixed-left) !important;
    right: auto !important;
    bottom: auto !important;
    inset: auto !important;

    width: var(--gt-search-v13-fixed-width) !important;
    min-width: var(--gt-search-v13-fixed-width) !important;
    max-width: var(--gt-search-v13-fixed-width) !important;

    height: var(--gt-search-v13-fixed-height) !important;
    min-height: var(--gt-search-v13-fixed-height) !important;

    z-index: 10040 !important;
  }

  /* La barra sigue creciendo desde la derecha hacia la izquierda */
  #header.gt-header-v2.gt-search-v13-open:not(.gt-search-v13-closing) .gt-search-ui-v13__shell,
  #header.gt-search-v13-open:not(.gt-search-v13-closing) .gt-search-ui-v13__shell {
    flex-basis: var(--gt-search-v13-fixed-width) !important;
    width: var(--gt-search-v13-fixed-width) !important;
    min-width: var(--gt-search-v13-fixed-width) !important;
  }

  /* Y cierra hacia la derecha */
  #header.gt-header-v2.gt-search-v13-open.gt-search-v13-closing .gt-search-ui-v13__shell,
  #header.gt-search-v13-open.gt-search-v13-closing .gt-search-ui-v13__shell {
    flex-basis: var(--gt-search-v13-origin-size) !important;
    width: var(--gt-search-v13-origin-size) !important;
    min-width: var(--gt-search-v13-origin-size) !important;
  }
}

/* =========================================================
   Gamers Things - Search Native Ghost Fix V1.3.12
   Solución precisa:
   - No toca medidas
   - No toca animación
   - No oculta todo el row
   - Apaga solo la lupa nativa que queda detrás
   - El search activo cubre visualmente los bordes residuales
   ========================================================= */

@media (min-width: 850px) {

  /*
   * El borde que se ve detrás viene principalmente del botón nativo
   * .gt-platform-search > a, porque tiene margen negativo, borde,
   * fondo y sombra propios.
   *
   * Lo apagamos solo cuando el search custom está abierto/cerrando.
   * No tocamos los LI de plataformas.
   */
  #header.gt-header-v2.gt-search-v13-open .gt-platform-search > a.nav-top-link,
  #header.gt-header-v2.gt-search-v13-closing .gt-platform-search > a.nav-top-link,
  #header.gt-header-v2.gt-search-v13-open .gt-search-v13-trigger-link,
  #header.gt-header-v2.gt-search-v13-closing .gt-search-v13-trigger-link {
    opacity: 0 !important;
    visibility: visible !important;
    pointer-events: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
    background: transparent !important;
    transition: opacity .14s ease !important;
  }

  /*
   * Importante:
   * No ocultamos el row completo ni sus LI.
   * La barra custom hace el trabajo de cubrirlos naturalmente.
   */
  #header.gt-header-v2.gt-search-v13-open .gt-platform-nav__item,
  #header.gt-header-v2.gt-search-v13-closing .gt-platform-nav__item,
  #header.gt-header-v2.gt-search-v13-open .gt-platform-search,
  #header.gt-header-v2.gt-search-v13-closing .gt-platform-search {
    opacity: 1 !important;
    visibility: visible !important;
  }

  /*
   * Cover visual mínimo:
   * No agranda el elemento, no rompe la medición y no mueve nada.
   * Solo pinta 2px extra alrededor del shell activo para tapar
   * cualquier borde del bloque original que quede asomando.
   */
  #header.gt-header-v2.gt-search-v13-open:not(.gt-search-v13-closing) .gt-search-ui-v13__shell {
    box-shadow:
      0 0 0 2px #6f50f4,
      0 18px 42px rgba(10, 8, 32, .38),
      0 1px 0 rgba(255, 255, 255, .15) inset,
      0 0 24px rgba(124, 92, 255, .16) !important;
  }

  /*
   * Durante el cierre no usamos el cover sólido,
   * así el row vuelve sin salto visual.
   */
  #header.gt-header-v2.gt-search-v13-open.gt-search-v13-closing .gt-search-ui-v13__shell {
    box-shadow:
      0 18px 42px rgba(10, 8, 32, .34),
      0 1px 0 rgba(255, 255, 255, .13) inset,
      0 0 0 1px rgba(255, 255, 255, .04) inset !important;
  }
}

/* =========================================================
   Gamers Things - Search Closing Animation Restore V1.3.13
   Restaura la animación de cierre hacia la derecha
   sin tocar posición, medición ni resultados.
   ========================================================= */

@media (min-width: 850px) {

  /*
   * Durante el cierre el panel debe seguir visible.
   * Si se apaga el panel antes de tiempo, no se ve la contracción.
   */
  #header.gt-header-v2.gt-search-v13-closing .gt-search-ui-v13,
  #header.gt-search-v13-closing .gt-search-ui-v13 {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /*
   * La clave:
   * mientras están activas las clases open + closing,
   * el shell vuelve al tamaño de la lupa.
   */
  #header.gt-header-v2.gt-search-v13-open.gt-search-v13-closing .gt-search-ui-v13__shell,
  #header.gt-search-v13-open.gt-search-v13-closing .gt-search-ui-v13__shell {
    flex-basis: var(--gt-search-v13-origin-size) !important;
    width: var(--gt-search-v13-origin-size) !important;
    min-width: var(--gt-search-v13-origin-size) !important;
    max-width: var(--gt-search-v13-fixed-width) !important;

    opacity: 1 !important;
    visibility: visible !important;

    box-shadow:
      0 0 0 2px #6f50f4,
      0 18px 42px rgba(10, 8, 32, .34),
      0 1px 0 rgba(255, 255, 255, .13) inset,
      0 0 0 1px rgba(255, 255, 255, .04) inset !important;

    transition:
      width .38s cubic-bezier(.16, .9, .24, 1),
      flex-basis .38s cubic-bezier(.16, .9, .24, 1),
      min-width .38s cubic-bezier(.16, .9, .24, 1),
      box-shadow .22s ease,
      border-color .22s ease !important;
  }

  /*
   * El contenido interno desaparece rápido,
   * pero la barra sigue visible mientras se contrae.
   */
  #header.gt-header-v2.gt-search-v13-closing .gt-search-ui-v13__icon,
  #header.gt-header-v2.gt-search-v13-closing .gt-search-ui-v13__input,
  #header.gt-header-v2.gt-search-v13-closing .gt-search-ui-v13__advanced,
  #header.gt-header-v2.gt-search-v13-closing .gt-search-ui-v13__backspace,
  #header.gt-search-v13-closing .gt-search-ui-v13__icon,
  #header.gt-search-v13-closing .gt-search-ui-v13__input,
  #header.gt-search-v13-closing .gt-search-ui-v13__advanced,
  #header.gt-search-v13-closing .gt-search-ui-v13__backspace {
    opacity: 0 !important;
    transform: translateX(8px) !important;

    transition:
      opacity .11s ease,
      transform .11s ease !important;
  }

  /*
   * La X no debe desaparecer instantáneamente.
   * Sale suave mientras la barra vuelve a la derecha.
   */
  #header.gt-header-v2.gt-search-v13-closing .gt-search-ui-v13__close,
  #header.gt-search-v13-closing .gt-search-ui-v13__close {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-50%) scale(.88) !important;

    transition:
      opacity .22s ease .08s,
      transform .22s ease .08s !important;
  }

  /*
   * Mientras cierra, el botón nativo de lupa sigue apagado
   * para que no aparezca debajo antes de tiempo.
   */
  #header.gt-header-v2.gt-search-v13-closing .gt-platform-search > a.nav-top-link,
  #header.gt-search-v13-closing .gt-platform-search > a.nav-top-link {
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* =========================================================
   Gamers Things - Search Unified Accent V1.3.18
   Unifica el color del search abierto con el botón de búsqueda cerrado
   ========================================================= */

#header.gt-header-v2,
#header.gt-search-v13-ready {
  /* Paleta tomada del botón cerrado */
  --gt-search-accent-start: #5c54c8;
  --gt-search-accent-mid:   #4e46b0;
  --gt-search-accent-end:   #40388f;

  --gt-search-accent-border: rgba(255, 255, 255, 0.10);
  --gt-search-accent-border-strong: rgba(255, 255, 255, 0.14);

  --gt-search-accent-text: #f7f7ff;
  --gt-search-accent-placeholder: rgba(247, 247, 255, 0.58);

  --gt-search-accent-ring: rgba(108, 97, 219, 0.62);
  --gt-search-accent-glow: rgba(92, 84, 200, 0.14);

  --gt-search-accent-shadow:
    0 12px 28px rgba(7, 8, 20, 0.30),
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 -1px 0 rgba(0, 0, 0, 0.18) inset,
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

/* ---------------------------------------------------------
   Botón de búsqueda cerrado
   --------------------------------------------------------- */
#header .gt-platform-search > a.nav-top-link,
#header .gt-search-v13-trigger-link {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.10), transparent 34%),
    linear-gradient(
      135deg,
      var(--gt-search-accent-start) 0%,
      var(--gt-search-accent-mid) 55%,
      var(--gt-search-accent-end) 100%
    ) !important;

  border: 1px solid var(--gt-search-accent-border-strong) !important;
  box-shadow: var(--gt-search-accent-shadow) !important;
  color: var(--gt-search-accent-text) !important;
}

/* Hover del botón cerrado */
#header .gt-platform-search > a.nav-top-link:hover,
#header .gt-search-v13-trigger-link:hover {
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow:
    0 12px 28px rgba(7, 8, 20, 0.32),
    0 1px 0 rgba(255, 255, 255, 0.09) inset,
    0 -1px 0 rgba(0, 0, 0, 0.18) inset,
    0 0 0 1px rgba(255, 255, 255, 0.025) inset,
    0 0 14px rgba(92, 84, 200, 0.10) !important;
}

/* ---------------------------------------------------------
   Search abierto
   --------------------------------------------------------- */
#header .gt-search-ui-v13__shell {
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.10), transparent 32%),
    linear-gradient(
      135deg,
      var(--gt-search-accent-start) 0%,
      var(--gt-search-accent-mid) 55%,
      var(--gt-search-accent-end) 100%
    ) !important;

  border: 1px solid var(--gt-search-accent-border) !important;
  box-shadow: var(--gt-search-accent-shadow) !important;
}

/* Estado activo / escribiendo */
#header.gt-header-v2.gt-search-v13-open:not(.gt-search-v13-closing) .gt-search-ui-v13__shell,
#header.gt-search-v13-has-query .gt-search-ui-v13__shell {
  border: 1px solid var(--gt-search-accent-border-strong) !important;

  box-shadow:
    0 0 0 1px var(--gt-search-accent-ring),
    0 12px 28px rgba(7, 8, 20, 0.32),
    0 1px 0 rgba(255, 255, 255, 0.09) inset,
    0 -1px 0 rgba(0, 0, 0, 0.18) inset,
    0 0 14px var(--gt-search-accent-glow) !important;
}

/* Estado de cierre */
#header.gt-header-v2.gt-search-v13-open.gt-search-v13-closing .gt-search-ui-v13__shell,
#header.gt-search-v13-open.gt-search-v13-closing .gt-search-ui-v13__shell {
  border: 1px solid var(--gt-search-accent-border) !important;

  box-shadow:
    0 0 0 1px rgba(108, 97, 219, 0.44),
    0 12px 28px rgba(7, 8, 20, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 -1px 0 rgba(0, 0, 0, 0.16) inset !important;
}

/* ---------------------------------------------------------
   Tipografía e íconos dentro del search
   --------------------------------------------------------- */
#header .gt-search-ui-v13__input {
  color: var(--gt-search-accent-text) !important;
}

#header .gt-search-ui-v13__input::placeholder {
  color: var(--gt-search-accent-placeholder) !important;
}

#header .gt-search-ui-v13__advanced {
  color: rgba(247, 247, 255, 0.88) !important;
}

#header .gt-search-ui-v13__advanced:hover {
  color: #ffffff !important;
}

#header .gt-search-ui-v13__icon {
  color: rgba(247, 247, 255, 0.82) !important;
}

/* ---------------------------------------------------------
   Backspace
   --------------------------------------------------------- */
#header .gt-search-ui-v13__backspace {
  background: rgba(255, 255, 255, 0.07) !important;
  color: rgba(247, 247, 255, 0.86) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

#header .gt-search-ui-v13__backspace:hover {
  background: rgba(255, 255, 255, 0.11) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
}

/* ---------------------------------------------------------
   Botón cerrar
   --------------------------------------------------------- */
#header .gt-search-ui-v13__close {
  background:
    radial-gradient(circle at 35% 18%, rgba(255, 255, 255, 0.08), transparent 42%),
    rgba(15, 18, 30, 0.84) !important;

  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  color: rgba(247, 247, 255, 0.82) !important;

  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.26),
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 0 0 1px rgba(255, 255, 255, 0.015) inset !important;
}

#header .gt-search-ui-v13__close:hover {
  background:
    radial-gradient(circle at 35% 18%, rgba(255, 255, 255, 0.12), transparent 42%),
    rgba(21, 25, 39, 0.92) !important;

  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
}

/* =========================================================
   Gamers Things - Search Results Container Polish V1.3.19
   Solo contenedor del dropdown:
   - Fondo premium dark/glass
   - Borde más fino
   - Sombra más elegante
   - Scrollbar oscuro
   - Footer siempre limpio abajo
   - No toca los items todavía
   ========================================================= */

@media (min-width: 850px) {

  #header.gt-header-v2,
  #header.gt-search-v13-ready {
    --gt-search-results-bg: rgba(13, 15, 28, 0.96);
    --gt-search-results-bg-2: rgba(18, 21, 36, 0.94);
    --gt-search-results-border: rgba(255, 255, 255, 0.085);
    --gt-search-results-border-soft: rgba(255, 255, 255, 0.055);
    --gt-search-results-radius: 20px;
    --gt-search-results-shadow:
      0 26px 70px rgba(0, 0, 0, 0.46),
      0 1px 0 rgba(255, 255, 255, 0.045) inset,
      0 0 0 1px rgba(255, 255, 255, 0.018) inset;
  }

  /* Panel general */
  #header.gt-header-v2 .gt-search-ui-v13__results {
    top: calc(var(--gt-search-v13-fixed-height) + 13px) !important;
    left: 0 !important;
    right: 0 !important;

    width: var(--gt-search-v13-fixed-width) !important;

    max-height: min(438px, calc(100vh - 170px)) !important;

    display: flex !important;
    flex-direction: column !important;

    overflow: hidden !important;

    border-radius: var(--gt-search-results-radius) !important;
    border: 1px solid var(--gt-search-results-border) !important;

    background:
      radial-gradient(circle at 18% 0%, rgba(92, 84, 200, 0.16), transparent 38%),
      radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.045), transparent 34%),
      linear-gradient(180deg, var(--gt-search-results-bg-2), var(--gt-search-results-bg)) !important;

    box-shadow: var(--gt-search-results-shadow) !important;

    backdrop-filter: blur(20px) saturate(118%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(118%) !important;

    transform: translateY(8px) scale(0.985) !important;

    transition:
      opacity 180ms ease,
      visibility 180ms ease,
      transform 200ms cubic-bezier(.2, .8, .2, 1) !important;
  }

  #header.gt-header-v2.gt-search-v13-open.gt-search-v13-has-query .gt-search-ui-v13__results {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
  }

  /* El scroll queda dentro del área de resultados, no en todo el panel */
  #header.gt-header-v2 .gt-search-ui-v13__results-inner {
    flex: 1 1 auto !important;
    min-height: 0 !important;

    max-height: 360px !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;

    scrollbar-width: thin !important;
    scrollbar-color: rgba(255, 255, 255, 0.22) rgba(255, 255, 255, 0.045) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar {
    width: 8px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.035) !important;
    border-radius: 999px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar-thumb {
    border: 2px solid rgba(13, 15, 28, 0.96) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.24) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.34) !important;
  }

  /* Footer del panel: queda como remate fijo y limpio */
  #header.gt-header-v2 .gt-search-ui-v13__see-all {
    flex: 0 0 auto !important;

    min-height: 50px !important;
    padding: 0 18px !important;

    border-top: 1px solid var(--gt-search-results-border-soft) !important;

    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.012)),
      rgba(255, 255, 255, 0.018) !important;

    color: rgba(247, 247, 255, 0.72) !important;

    font-size: 13px !important;
    font-weight: 820 !important;
    letter-spacing: -0.01em !important;

    text-decoration: none !important;

    transition:
      color 160ms ease,
      background 160ms ease !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__see-all:hover {
    color: #ffffff !important;

    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.046), rgba(255, 255, 255, 0.018)),
      rgba(92, 84, 200, 0.10) !important;
  }

  /* Estado buscando / sin resultados */
  #header.gt-header-v2 .gt-search-ui-v13__message {
    padding: 20px 18px !important;

    color: rgba(247, 247, 255, 0.66) !important;

    font-size: 13px !important;
    font-weight: 720 !important;
    line-height: 1.35 !important;
  }
}

/* =========================================================
   Gamers Things - Search Results Premium Polish V1.3.20
   Orden:
   1. Ocultar "Búsqueda avanzada" con query
   2. Pulir filas de resultados
   3. Pulir miniatura, título y precio
   4. Pulir scrollbar
   5. Pulir footer
   ========================================================= */

@media (min-width: 850px) {

  /* =======================================================
     1. Estado con query:
     "Búsqueda avanzada" desaparece y entra backspace
     ======================================================= */

  #header.gt-header-v2.gt-search-v13-has-query .gt-search-ui-v13__advanced,
  #header.gt-search-v13-has-query .gt-search-ui-v13__advanced,
  #header .gt-search-ui-v13.gt-search-ui-v13--has-query .gt-search-ui-v13__advanced {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  #header.gt-header-v2.gt-search-v13-has-query .gt-search-ui-v13__backspace,
  #header.gt-search-v13-has-query .gt-search-ui-v13__backspace,
  #header .gt-search-ui-v13.gt-search-ui-v13--has-query .gt-search-ui-v13__backspace {
    display: inline-flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Cuando no hay query, backspace oculto */
  #header.gt-header-v2:not(.gt-search-v13-has-query) .gt-search-ui-v13__backspace,
  #header:not(.gt-search-v13-has-query) .gt-search-ui-v13__backspace {
    display: none !important;
  }

  /* Más aire entre input y acción derecha */
  #header.gt-header-v2 .gt-search-ui-v13__shell {
    gap: 15px !important;
  }

  /* =======================================================
     2. Pulido general de filas
     ======================================================= */

  #header.gt-header-v2 .gt-search-ui-v13__results-inner {
    max-height: 352px !important;
    padding: 8px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion {
    position: relative !important;

    min-height: 66px !important;
    height: auto !important;

    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) auto !important;
    align-items: center !important;
    column-gap: 14px !important;

    padding: 9px 12px !important;
    margin: 0 !important;

    border: 1px solid transparent !important;
    border-radius: 13px !important;
    border-bottom: 0 !important;

    background: transparent !important;

    color: rgba(247, 247, 255, 0.84) !important;

    cursor: pointer !important;

    transition:
      background 160ms ease,
      border-color 160ms ease,
      transform 160ms ease,
      box-shadow 160ms ease !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion + .autocomplete-suggestion {
    margin-top: 3px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion::after {
    content: "" !important;
    position: absolute !important;
    left: 98px !important;
    right: 12px !important;
    bottom: -2px !important;
    height: 1px !important;
    background: rgba(255, 255, 255, 0.045) !important;
    pointer-events: none !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:last-child::after {
    display: none !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-selected {
    background:
      radial-gradient(circle at 0% 50%, rgba(92, 84, 200, 0.14), transparent 44%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.018)) !important;

    border-color: rgba(255, 255, 255, 0.075) !important;

    box-shadow:
      0 8px 24px rgba(0, 0, 0, 0.12),
      0 1px 0 rgba(255, 255, 255, 0.04) inset !important;

    transform: translateY(-1px) !important;
  }

  /* =======================================================
     3. Miniatura, título y precio
     ======================================================= */

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion img,
  #header.gt-header-v2 .gt-search-ui-v13__results img {
    grid-column: 1 !important;

    width: 72px !important;
    height: 46px !important;
    min-width: 72px !important;
    max-width: 72px !important;

    margin: 0 !important;

    object-fit: cover !important;

    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.075) !important;

    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
      rgba(255, 255, 255, 0.035) !important;

    box-shadow:
      0 8px 18px rgba(0, 0, 0, 0.18),
      0 1px 0 rgba(255, 255, 255, 0.035) inset !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .search-name,
  #header.gt-header-v2 .gt-search-ui-v13__results .product-title,
  #header.gt-header-v2 .gt-search-ui-v13__results .woocommerce-loop-product__title {
    grid-column: 2 !important;

    display: block !important;

    min-width: 0 !important;
    max-width: 100% !important;

    color: rgba(247, 247, 255, 0.94) !important;

    font-size: 13px !important;
    font-weight: 820 !important;
    line-height: 1.28 !important;
    letter-spacing: -0.012em !important;

    white-space: normal !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .search-price,
  #header.gt-header-v2 .gt-search-ui-v13__results .price {
    grid-column: 3 !important;

    margin-left: 18px !important;

    color: rgba(247, 247, 255, 0.88) !important;

    font-size: 12.8px !important;
    font-weight: 840 !important;
    line-height: 1 !important;
    letter-spacing: -0.006em !important;

    white-space: nowrap !important;

    opacity: 0.92 !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .search-name,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .product-title,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .woocommerce-loop-product__title {
    color: #ffffff !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .search-price,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .price {
    color: #ffffff !important;
    opacity: 1 !important;
  }

  /* Links nativos internos */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion a {
    color: inherit !important;
    text-decoration: none !important;
  }

  /* =======================================================
     4. Scrollbar más fino y oscuro
     ======================================================= */

  #header.gt-header-v2 .gt-search-ui-v13__results-inner {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(247, 247, 255, 0.16) transparent !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar {
    width: 6px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar-track {
    background: transparent !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar-thumb {
    border: 2px solid transparent !important;
    border-radius: 999px !important;
    background-clip: padding-box !important;
    background-color: rgba(247, 247, 255, 0.18) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar-thumb:hover {
    background-color: rgba(247, 247, 255, 0.28) !important;
  }

  /* =======================================================
     5. Footer "Ver todos los resultados"
     ======================================================= */

  #header.gt-header-v2 .gt-search-ui-v13__see-all {
    position: relative !important;

    min-height: 52px !important;
    padding: 0 18px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;

    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0.012)),
      rgba(255, 255, 255, 0.016) !important;

    color: rgba(247, 247, 255, 0.70) !important;

    font-size: 12.8px !important;
    font-weight: 820 !important;
    line-height: 1 !important;
    letter-spacing: -0.008em !important;

    text-decoration: none !important;

    transition:
      color 160ms ease,
      background 160ms ease !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__see-all::after {
    content: "→" !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 18px !important;
    height: 18px !important;

    border-radius: 999px !important;

    color: rgba(247, 247, 255, 0.62) !important;

    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;

    transform: translateX(0) !important;

    transition:
      color 160ms ease,
      transform 160ms ease,
      background 160ms ease !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__see-all:hover {
    color: #ffffff !important;

    background:
      radial-gradient(circle at 50% 0%, rgba(92, 84, 200, 0.12), transparent 58%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.046), rgba(255, 255, 255, 0.018)),
      rgba(255, 255, 255, 0.022) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__see-all:hover::after {
    color: #ffffff !important;
    transform: translateX(2px) !important;
  }

  /* Mensajes buscando / sin resultados */
  #header.gt-header-v2 .gt-search-ui-v13__message {
    padding: 19px 18px !important;

    color: rgba(247, 247, 255, 0.62) !important;

    font-size: 13px !important;
    font-weight: 720 !important;
    line-height: 1.35 !important;
  }
}

/* =========================================================
   Gamers Things - Search Backspace Icon Clean V1.3.21
   Backspace sin pill / sin cápsula
   ========================================================= */

@media (min-width: 850px) {

  #header.gt-header-v2 .gt-search-ui-v13__backspace,
  #header .gt-search-ui-v13__backspace {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    color: rgba(247, 247, 255, 0.72) !important;

    display: none;
    align-items: center !important;
    justify-content: center !important;

    opacity: 0.82 !important;

    transition:
      color 160ms ease,
      opacity 160ms ease,
      transform 160ms ease !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__backspace svg,
  #header .gt-search-ui-v13__backspace svg {
    width: 17px !important;
    height: 17px !important;

    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.15 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__backspace:hover,
  #header .gt-search-ui-v13__backspace:hover {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;

    color: #ffffff !important;
    opacity: 1 !important;

    transform: translateY(-1px) !important;
  }

  #header.gt-header-v2.gt-search-v13-has-query .gt-search-ui-v13__backspace,
  #header.gt-search-v13-has-query .gt-search-ui-v13__backspace,
  #header .gt-search-ui-v13.gt-search-ui-v13--has-query .gt-search-ui-v13__backspace {
    display: inline-flex !important;
  }
}

/* =========================================================
   Gamers Things - Search Backspace Size Tuning V1.3.22
   Ícono backspace más visible, sin pill
   ========================================================= */

@media (min-width: 850px) {

  #header.gt-header-v2 .gt-search-ui-v13__backspace,
  #header .gt-search-ui-v13__backspace {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    color: rgba(247, 247, 255, 0.76) !important;
    opacity: 0.9 !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__backspace svg,
  #header .gt-search-ui-v13__backspace svg {
    width: 21px !important;
    height: 21px !important;

    stroke-width: 2.05 !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__backspace:hover,
  #header .gt-search-ui-v13__backspace:hover {
    color: #ffffff !important;
    opacity: 1 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: translateY(-1px) !important;
  }
}

/* =========================================================
   Gamers Things - Search Backspace SVG Icon V1.3.23
   Nuevo ícono backspace fill-based
   ========================================================= */

@media (min-width: 850px) {

  #header.gt-header-v2 .gt-search-ui-v13__backspace svg,
  #header .gt-search-ui-v13__backspace svg {
    width: 22px !important;
    height: 22px !important;

    fill: currentColor !important;
    stroke: none !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__backspace svg path,
  #header .gt-search-ui-v13__backspace svg path {
    fill: currentColor !important;
    stroke: none !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__backspace,
  #header .gt-search-ui-v13__backspace {
    color: rgba(247, 247, 255, 0.76) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__backspace:hover,
  #header .gt-search-ui-v13__backspace:hover {
    color: #ffffff !important;
  }
}

/* =========================================================
   Gamers Things - Search Backspace Size Tuning V1.3.24
   Backspace más grande, limpio y mejor proporcionado
   ========================================================= */

@media (min-width: 850px) {

  #header.gt-header-v2 .gt-search-ui-v13__backspace,
  #header .gt-search-ui-v13__backspace {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    color: rgba(247, 247, 255, 0.78) !important;
    opacity: 0.95 !important;

    transform: translateY(0) !important;
    transition:
      color 160ms ease,
      opacity 160ms ease,
      transform 160ms ease !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__backspace svg,
  #header .gt-search-ui-v13__backspace svg {
    width: 24px !important;
    height: 24px !important;

    fill: currentColor !important;
    stroke: none !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__backspace svg path,
  #header .gt-search-ui-v13__backspace svg path {
    fill: currentColor !important;
    stroke: none !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__backspace:hover,
  #header .gt-search-ui-v13__backspace:hover {
    color: #ffffff !important;
    opacity: 1 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: translateY(-1px) !important;
  }
}

/* =========================================================
   Gamers Things - Search Results Premium Final Pass V1.3.25
   Microajustes premium:
   - Placeholder más suave
   - Filas más compactas
   - Miniaturas más refinadas
   - Precio menos duro
   - Scrollbar más discreto
   - Footer más elegante
   ========================================================= */

@media (min-width: 850px) {

  /* Barra: placeholder e input más premium */
  #header.gt-header-v2 .gt-search-ui-v13__input {
    font-size: 13.7px !important;
    font-weight: 740 !important;
    letter-spacing: -0.012em !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__input::placeholder {
    color: rgba(247, 247, 255, 0.52) !important;
    font-weight: 680 !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__icon {
    color: rgba(247, 247, 255, 0.76) !important;
  }

  /* Dropdown: menos alto bruto, más controlado */
  #header.gt-header-v2 .gt-search-ui-v13__results {
    max-height: min(410px, calc(100vh - 170px)) !important;
    border-radius: 19px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner {
    max-height: 332px !important;
    padding: 7px !important;
  }

  /* Filas: más compactas y más finas */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion {
    min-height: 60px !important;

    grid-template-columns: 68px minmax(0, 1fr) auto !important;
    column-gap: 13px !important;

    padding: 7px 11px !important;

    border-radius: 12px !important;

    color: rgba(247, 247, 255, 0.82) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion + .autocomplete-suggestion {
    margin-top: 2px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion::after {
    left: 92px !important;
    right: 12px !important;
    bottom: -1px !important;
    background: rgba(255, 255, 255, 0.035) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-selected {
    background:
      radial-gradient(circle at 0% 50%, rgba(92, 84, 200, 0.12), transparent 42%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0.014)) !important;

    border-color: rgba(255, 255, 255, 0.06) !important;

    box-shadow:
      0 7px 20px rgba(0, 0, 0, 0.10),
      0 1px 0 rgba(255, 255, 255, 0.035) inset !important;

    transform: translateY(-1px) !important;
  }

  /* Miniaturas: más editoriales, menos “thumbnail crudo” */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion img,
  #header.gt-header-v2 .gt-search-ui-v13__results img {
    width: 68px !important;
    height: 43px !important;
    min-width: 68px !important;
    max-width: 68px !important;

    border-radius: 9px !important;
    border: 1px solid rgba(255, 255, 255, 0.065) !important;

    box-shadow:
      0 7px 16px rgba(0, 0, 0, 0.16),
      0 1px 0 rgba(255, 255, 255, 0.03) inset !important;
  }

  /* Título: más limpio, menos pesado */
  #header.gt-header-v2 .gt-search-ui-v13__results .search-name,
  #header.gt-header-v2 .gt-search-ui-v13__results .product-title,
  #header.gt-header-v2 .gt-search-ui-v13__results .woocommerce-loop-product__title {
    color: rgba(247, 247, 255, 0.90) !important;

    font-size: 12.75px !important;
    font-weight: 790 !important;
    line-height: 1.27 !important;
    letter-spacing: -0.01em !important;
  }

  /* Precio: menos rígido, más premium */
  #header.gt-header-v2 .gt-search-ui-v13__results .search-price,
  #header.gt-header-v2 .gt-search-ui-v13__results .price {
    margin-left: 20px !important;

    color: rgba(247, 247, 255, 0.78) !important;

    font-size: 12.6px !important;
    font-weight: 800 !important;
    letter-spacing: -0.004em !important;

    opacity: 0.88 !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .search-name,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .product-title,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .woocommerce-loop-product__title {
    color: rgba(255, 255, 255, 0.98) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .search-price,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .price {
    color: rgba(255, 255, 255, 0.92) !important;
    opacity: 1 !important;
  }

  /* Scrollbar: casi invisible, más premium */
  #header.gt-header-v2 .gt-search-ui-v13__results-inner {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(247, 247, 255, 0.12) transparent !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar {
    width: 5px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar-track {
    background: transparent !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar-thumb {
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    background-clip: padding-box !important;
    background-color: rgba(247, 247, 255, 0.14) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar-thumb:hover {
    background-color: rgba(247, 247, 255, 0.24) !important;
  }

  /* Footer: más sobrio y de marca */
  #header.gt-header-v2 .gt-search-ui-v13__see-all {
    min-height: 50px !important;

    border-top: 1px solid rgba(255, 255, 255, 0.052) !important;

    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.010)),
      rgba(255, 255, 255, 0.012) !important;

    color: rgba(247, 247, 255, 0.66) !important;

    font-size: 12.7px !important;
    font-weight: 790 !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__see-all::after {
    color: rgba(247, 247, 255, 0.48) !important;
    font-size: 12px !important;
    transform: translateX(0) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__see-all:hover {
    color: #ffffff !important;

    background:
      radial-gradient(circle at 50% 0%, rgba(92, 84, 200, 0.10), transparent 58%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.014)),
      rgba(255, 255, 255, 0.018) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__see-all:hover::after {
    color: #ffffff !important;
    transform: translateX(3px) !important;
  }
}

/* =========================================================
   Gamers Things - Search Results Portrait Covers V1.3.26
   Adapta resultados del search a portadas verticales 1440x2160
   ========================================================= */

@media (min-width: 850px) {

  /* Panel: permite 4-5 resultados bien presentados */
  #header.gt-header-v2 .gt-search-ui-v13__results {
    max-height: min(448px, calc(100vh - 170px)) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner {
    max-height: 384px !important;
    padding: 8px !important;
  }

  /* Fila: más editorial, pensada para cover vertical */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion {
    min-height: 74px !important;

    grid-template-columns: 48px minmax(0, 1fr) auto !important;
    column-gap: 14px !important;

    padding: 8px 12px !important;
    border-radius: 13px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion + .autocomplete-suggestion {
    margin-top: 3px !important;
  }

  /* Divisor alineado con el texto, no con la portada */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion::after {
    left: 74px !important;
    right: 12px !important;
    bottom: -2px !important;
    background: rgba(255, 255, 255, 0.038) !important;
  }

  /* Portada vertical */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion img,
  #header.gt-header-v2 .gt-search-ui-v13__results img {
    width: 48px !important;
    height: 64px !important;
    min-width: 48px !important;
    max-width: 48px !important;

    object-fit: cover !important;
    object-position: center center !important;

    border-radius: 9px !important;
    border: 1px solid rgba(255, 255, 255, 0.075) !important;

    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
      rgba(255, 255, 255, 0.035) !important;

    box-shadow:
      0 8px 18px rgba(0, 0, 0, 0.20),
      0 1px 0 rgba(255, 255, 255, 0.035) inset !important;
  }

  /* Título con más presencia al lado de portada */
  #header.gt-header-v2 .gt-search-ui-v13__results .search-name,
  #header.gt-header-v2 .gt-search-ui-v13__results .product-title,
  #header.gt-header-v2 .gt-search-ui-v13__results .woocommerce-loop-product__title {
    font-size: 12.9px !important;
    font-weight: 800 !important;
    line-height: 1.28 !important;
    color: rgba(247, 247, 255, 0.91) !important;
  }

  /* Precio alineado y más fino */
  #header.gt-header-v2 .gt-search-ui-v13__results .search-price,
  #header.gt-header-v2 .gt-search-ui-v13__results .price {
    margin-left: 22px !important;
    font-size: 12.7px !important;
    font-weight: 800 !important;
    color: rgba(247, 247, 255, 0.80) !important;
  }

  /* Hover más premium, sin exagerar */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover {
    background:
      radial-gradient(circle at 0% 50%, rgba(92, 84, 200, 0.13), transparent 44%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.015)) !important;

    border-color: rgba(255, 255, 255, 0.065) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover img {
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow:
      0 10px 22px rgba(0, 0, 0, 0.24),
      0 0 0 1px rgba(92, 84, 200, 0.16) !important;
  }

  /* Footer se mantiene visible y equilibrado */
  #header.gt-header-v2 .gt-search-ui-v13__see-all {
    min-height: 50px !important;
  }
}

/* =========================================================
   Gamers Things - Search Results Portrait Refinement V1.3.27
   Ajuste fino sobre resultados con portadas verticales
   ========================================================= */

@media (min-width: 850px) {

  /* Panel: 4 resultados completos + pista del quinto */
  #header.gt-header-v2 .gt-search-ui-v13__results {
    max-height: min(426px, calc(100vh - 170px)) !important;
    border-radius: 19px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner {
    max-height: 368px !important;
    padding: 8px !important;
  }

  /* Fila más editorial */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion {
    min-height: 70px !important;

    grid-template-columns: 50px minmax(0, 1fr) auto !important;
    column-gap: 15px !important;

    padding: 7px 12px !important;
    border-radius: 13px !important;

    background: transparent !important;
    border-color: transparent !important;

    transform: none !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion + .autocomplete-suggestion {
    margin-top: 2px !important;
  }

  /* El seleccionado nativo no debe verse tan fuerte */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-selected {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.010)),
      rgba(255, 255, 255, 0.010) !important;

    border-color: rgba(255, 255, 255, 0.045) !important;
    box-shadow: none !important;
    transform: none !important;
  }

  /* Hover real más fino */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover {
    background:
      radial-gradient(circle at 0% 50%, rgba(92, 84, 200, 0.12), transparent 44%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.036), rgba(255, 255, 255, 0.014)) !important;

    border-color: rgba(255, 255, 255, 0.065) !important;

    box-shadow:
      0 8px 22px rgba(0, 0, 0, 0.12),
      0 1px 0 rgba(255, 255, 255, 0.035) inset !important;

    transform: translateY(-1px) !important;
  }

  /* Portada vertical un poco más presente */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion img,
  #header.gt-header-v2 .gt-search-ui-v13__results img {
    width: 50px !important;
    height: 62px !important;
    min-width: 50px !important;
    max-width: 50px !important;

    object-fit: cover !important;
    object-position: center center !important;

    border-radius: 9px !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;

    box-shadow:
      0 8px 18px rgba(0, 0, 0, 0.18),
      0 1px 0 rgba(255, 255, 255, 0.035) inset !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover img {
    border-color: rgba(255, 255, 255, 0.12) !important;

    box-shadow:
      0 10px 24px rgba(0, 0, 0, 0.24),
      0 0 0 1px rgba(92, 84, 200, 0.14) !important;
  }

  /* Divisor más delicado y alineado */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion::after {
    left: 78px !important;
    right: 12px !important;
    bottom: -1px !important;
    background: rgba(255, 255, 255, 0.032) !important;
  }

  /* Título */
  #header.gt-header-v2 .gt-search-ui-v13__results .search-name,
  #header.gt-header-v2 .gt-search-ui-v13__results .product-title,
  #header.gt-header-v2 .gt-search-ui-v13__results .woocommerce-loop-product__title {
    font-size: 12.85px !important;
    font-weight: 795 !important;
    line-height: 1.28 !important;
    letter-spacing: -0.01em !important;
    color: rgba(247, 247, 255, 0.90) !important;
  }

  /* Precio */
  #header.gt-header-v2 .gt-search-ui-v13__results .search-price,
  #header.gt-header-v2 .gt-search-ui-v13__results .price {
    margin-left: 22px !important;

    font-size: 12.65px !important;
    font-weight: 795 !important;

    color: rgba(247, 247, 255, 0.78) !important;
    opacity: 0.9 !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .search-price,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .price {
    color: rgba(255, 255, 255, 0.94) !important;
    opacity: 1 !important;
  }

  /* Scrollbar más discreto */
  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar {
    width: 4px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar-thumb {
    background-color: rgba(247, 247, 255, 0.10) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar-thumb:hover {
    background-color: rgba(247, 247, 255, 0.22) !important;
  }

  /* Footer apenas más compacto */
  #header.gt-header-v2 .gt-search-ui-v13__see-all {
    min-height: 48px !important;
    font-size: 12.65px !important;
  }
}

/* =========================================================
   Gamers Things - Search Results Large Portrait Covers V1.3.28
   Portadas más grandes, completas y legibles
   ========================================================= */

@media (min-width: 850px) {

  /* Panel: pensado para 4 resultados completos + parte del 5to */
  #header.gt-header-v2 .gt-search-ui-v13__results {
    max-height: min(448px, calc(100vh - 170px)) !important;
    border-radius: 19px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner {
    max-height: 392px !important;
    padding: 8px !important;
  }

  /* Fila más alta para que la portada respire */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion {
    min-height: 86px !important;

    grid-template-columns: 58px minmax(0, 1fr) auto !important;
    column-gap: 15px !important;

    padding: 8px 12px !important;
    border-radius: 14px !important;

    align-items: center !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion + .autocomplete-suggestion {
    margin-top: 3px !important;
  }

  /* Divisor alineado con el texto */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion::after {
    left: 86px !important;
    right: 12px !important;
    bottom: -1px !important;
    background: rgba(255, 255, 255, 0.032) !important;
  }

  /* Cover portrait grande y COMPLETA */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion img,
  #header.gt-header-v2 .gt-search-ui-v13__results img {
    width: 58px !important;
    height: 78px !important;
    min-width: 58px !important;
    max-width: 58px !important;

    object-fit: contain !important;
    object-position: center center !important;

    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.075) !important;

    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.016)),
      rgba(8, 10, 22, 0.88) !important;

    box-shadow:
      0 8px 18px rgba(0, 0, 0, 0.20),
      0 1px 0 rgba(255, 255, 255, 0.035) inset !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover img {
    border-color: rgba(255, 255, 255, 0.12) !important;

    box-shadow:
      0 10px 24px rgba(0, 0, 0, 0.24),
      0 0 0 1px rgba(92, 84, 200, 0.14) !important;
  }

  /* Título con mejor lectura al lado de la portada */
  #header.gt-header-v2 .gt-search-ui-v13__results .search-name,
  #header.gt-header-v2 .gt-search-ui-v13__results .product-title,
  #header.gt-header-v2 .gt-search-ui-v13__results .woocommerce-loop-product__title {
    font-size: 12.95px !important;
    font-weight: 795 !important;
    line-height: 1.28 !important;
    letter-spacing: -0.01em !important;
    color: rgba(247, 247, 255, 0.91) !important;
  }

  /* Precio */
  #header.gt-header-v2 .gt-search-ui-v13__results .search-price,
  #header.gt-header-v2 .gt-search-ui-v13__results .price {
    margin-left: 22px !important;

    font-size: 12.7px !important;
    font-weight: 795 !important;

    color: rgba(247, 247, 255, 0.79) !important;
    opacity: 0.92 !important;
    white-space: nowrap !important;
  }

  /* Hover */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover {
    background:
      radial-gradient(circle at 0% 50%, rgba(92, 84, 200, 0.12), transparent 44%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.036), rgba(255, 255, 255, 0.014)) !important;

    border-color: rgba(255, 255, 255, 0.065) !important;

    box-shadow:
      0 8px 22px rgba(0, 0, 0, 0.12),
      0 1px 0 rgba(255, 255, 255, 0.035) inset !important;

    transform: translateY(-1px) !important;
  }

  /* Scrollbar */
  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar {
    width: 4px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar-thumb {
    background-color: rgba(247, 247, 255, 0.10) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar-thumb:hover {
    background-color: rgba(247, 247, 255, 0.22) !important;
  }

  /* Footer */
  #header.gt-header-v2 .gt-search-ui-v13__see-all {
    min-height: 48px !important;
    font-size: 12.65px !important;
  }
}

/* =========================================================
   Gamers Things - Search Results Premium Portrait Fix V1.3.29
   Corrige el intento anterior:
   - Portadas grandes
   - Ratio real 2:3
   - Sin sensación de sticker
   - 4 resultados completos + footer
   ========================================================= */

@media (min-width: 850px) {

  #header.gt-header-v2 .gt-search-ui-v13__results {
    max-height: min(444px, calc(100vh - 170px)) !important;
    border-radius: 19px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner {
    max-height: 386px !important;
    padding: 8px !important;
  }

  /* Fila pensada para portada vertical grande */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion {
    min-height: 92px !important;

    grid-template-columns: 60px minmax(0, 1fr) auto !important;
    column-gap: 16px !important;

    padding: 8px 13px !important;
    border-radius: 14px !important;

    align-items: center !important;

    background: transparent !important;
    border-color: transparent !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion + .autocomplete-suggestion {
    margin-top: 2px !important;
  }

  /* Divisor alineado con texto */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion::after {
    left: 90px !important;
    right: 12px !important;
    bottom: -1px !important;
    background: rgba(255, 255, 255, 0.032) !important;
  }

  /* Portada grande en proporción 2:3 */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion img,
  #header.gt-header-v2 .gt-search-ui-v13__results img {
    width: 60px !important;
    height: 90px !important;
    min-width: 60px !important;
    max-width: 60px !important;

    object-fit: cover !important;
    object-position: center center !important;

    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.075) !important;

    background: rgba(8, 10, 22, 0.88) !important;

    box-shadow:
      0 10px 22px rgba(0, 0, 0, 0.24),
      0 1px 0 rgba(255, 255, 255, 0.035) inset !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover img {
    border-color: rgba(255, 255, 255, 0.13) !important;

    box-shadow:
      0 12px 26px rgba(0, 0, 0, 0.28),
      0 0 0 1px rgba(92, 84, 200, 0.14) !important;
  }

  /* Título: más respirado al lado de una portada grande */
  #header.gt-header-v2 .gt-search-ui-v13__results .search-name,
  #header.gt-header-v2 .gt-search-ui-v13__results .product-title,
  #header.gt-header-v2 .gt-search-ui-v13__results .woocommerce-loop-product__title {
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.28 !important;
    letter-spacing: -0.01em !important;

    color: rgba(247, 247, 255, 0.91) !important;
  }

  /* Precio */
  #header.gt-header-v2 .gt-search-ui-v13__results .search-price,
  #header.gt-header-v2 .gt-search-ui-v13__results .price {
    margin-left: 22px !important;

    font-size: 12.75px !important;
    font-weight: 800 !important;

    color: rgba(247, 247, 255, 0.80) !important;
    opacity: 0.92 !important;

    white-space: nowrap !important;
  }

  /* Hover premium */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover {
    background:
      radial-gradient(circle at 0% 50%, rgba(92, 84, 200, 0.12), transparent 44%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.036), rgba(255, 255, 255, 0.014)) !important;

    border-color: rgba(255, 255, 255, 0.065) !important;

    box-shadow:
      0 8px 22px rgba(0, 0, 0, 0.12),
      0 1px 0 rgba(255, 255, 255, 0.035) inset !important;

    transform: translateY(-1px) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .search-name,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .product-title,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .woocommerce-loop-product__title {
    color: #ffffff !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .search-price,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .price {
    color: rgba(255, 255, 255, 0.94) !important;
    opacity: 1 !important;
  }

  /* Footer */
  #header.gt-header-v2 .gt-search-ui-v13__see-all {
    min-height: 50px !important;
    font-size: 12.65px !important;
  }
}

/* =========================================================
   Gamers Things - Search Results Hero Portrait Covers V1.3.30
   Portadas más grandes y protagonistas
   ========================================================= */

@media (min-width: 850px) {

  /* Panel más generoso para portadas grandes */
  #header.gt-header-v2 .gt-search-ui-v13__results {
    max-height: min(540px, calc(100vh - 155px)) !important;
    border-radius: 20px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner {
    max-height: 486px !important;
    padding: 9px !important;
  }

  /* Fila más premium, pensada para cover 2:3 grande */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion {
    min-height: 118px !important;

    grid-template-columns: 72px minmax(0, 1fr) auto !important;
    column-gap: 18px !important;

    padding: 8px 14px !important;
    border-radius: 15px !important;

    align-items: center !important;

    background: transparent !important;
    border-color: transparent !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion + .autocomplete-suggestion {
    margin-top: 3px !important;
  }

  /* Divisor alineado con el contenido textual */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion::after {
    left: 106px !important;
    right: 14px !important;
    bottom: -2px !important;
    background: rgba(255, 255, 255, 0.032) !important;
  }

  /* Portada grande, ratio exacto 2:3 */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion img,
  #header.gt-header-v2 .gt-search-ui-v13__results img {
    width: 72px !important;
    height: 108px !important;
    min-width: 72px !important;
    max-width: 72px !important;

    object-fit: cover !important;
    object-position: center center !important;

    border-radius: 11px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;

    background: rgba(8, 10, 22, 0.88) !important;

    box-shadow:
      0 12px 28px rgba(0, 0, 0, 0.28),
      0 1px 0 rgba(255, 255, 255, 0.04) inset !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover img {
    border-color: rgba(255, 255, 255, 0.14) !important;

    box-shadow:
      0 14px 32px rgba(0, 0, 0, 0.32),
      0 0 0 1px rgba(92, 84, 200, 0.16) !important;
  }

  /* Título más legible al lado de portada grande */
  #header.gt-header-v2 .gt-search-ui-v13__results .search-name,
  #header.gt-header-v2 .gt-search-ui-v13__results .product-title,
  #header.gt-header-v2 .gt-search-ui-v13__results .woocommerce-loop-product__title {
    font-size: 13.15px !important;
    font-weight: 805 !important;
    line-height: 1.32 !important;
    letter-spacing: -0.01em !important;

    color: rgba(247, 247, 255, 0.92) !important;
  }

  /* Precio más respirado */
  #header.gt-header-v2 .gt-search-ui-v13__results .search-price,
  #header.gt-header-v2 .gt-search-ui-v13__results .price {
    margin-left: 24px !important;

    font-size: 12.85px !important;
    font-weight: 800 !important;

    color: rgba(247, 247, 255, 0.80) !important;
    opacity: 0.92 !important;

    white-space: nowrap !important;
  }

  /* Hover del item */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover {
    background:
      radial-gradient(circle at 0% 50%, rgba(92, 84, 200, 0.13), transparent 44%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.040), rgba(255, 255, 255, 0.016)) !important;

    border-color: rgba(255, 255, 255, 0.07) !important;

    box-shadow:
      0 10px 26px rgba(0, 0, 0, 0.14),
      0 1px 0 rgba(255, 255, 255, 0.035) inset !important;

    transform: translateY(-1px) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .search-name,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .product-title,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .woocommerce-loop-product__title {
    color: #ffffff !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .search-price,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .price {
    color: rgba(255, 255, 255, 0.94) !important;
    opacity: 1 !important;
  }

  /* Footer se mantiene limpio */
  #header.gt-header-v2 .gt-search-ui-v13__see-all {
    min-height: 50px !important;
  }
}

/* =========================================================
   Gamers Things - Search Results XL Portrait Covers V1.3.31
   Portadas más grandes y premium
   Ratio exacto 2:3 para covers 1440x2160
   ========================================================= */

@media (min-width: 850px) {

  /* Panel más alto para portadas XL */
  #header.gt-header-v2 .gt-search-ui-v13__results {
    max-height: min(590px, calc(100vh - 145px)) !important;
    border-radius: 21px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner {
    max-height: 534px !important;
    padding: 10px !important;
  }

  /* Fila premium con cover protagonista */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion {
    min-height: 144px !important;

    grid-template-columns: 86px minmax(0, 1fr) auto !important;
    column-gap: 20px !important;

    padding: 9px 15px !important;
    border-radius: 16px !important;

    align-items: center !important;

    background: transparent !important;
    border-color: transparent !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion + .autocomplete-suggestion {
    margin-top: 4px !important;
  }

  /* Divisor alineado con texto, no con la portada */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion::after {
    left: 121px !important;
    right: 15px !important;
    bottom: -2px !important;
    background: rgba(255, 255, 255, 0.032) !important;
  }

  /* Portada XL, ratio exacto 2:3 */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion img,
  #header.gt-header-v2 .gt-search-ui-v13__results img {
    width: 86px !important;
    height: 129px !important;
    min-width: 86px !important;
    max-width: 86px !important;

    object-fit: cover !important;
    object-position: center center !important;

    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.085) !important;

    background: rgba(8, 10, 22, 0.90) !important;

    box-shadow:
      0 14px 34px rgba(0, 0, 0, 0.34),
      0 1px 0 rgba(255, 255, 255, 0.045) inset !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover img {
    border-color: rgba(255, 255, 255, 0.15) !important;

    box-shadow:
      0 16px 38px rgba(0, 0, 0, 0.38),
      0 0 0 1px rgba(92, 84, 200, 0.18) !important;
  }

  /* Texto al lado de portada grande */
  #header.gt-header-v2 .gt-search-ui-v13__results .search-name,
  #header.gt-header-v2 .gt-search-ui-v13__results .product-title,
  #header.gt-header-v2 .gt-search-ui-v13__results .woocommerce-loop-product__title {
    font-size: 13.2px !important;
    font-weight: 810 !important;
    line-height: 1.34 !important;
    letter-spacing: -0.012em !important;

    color: rgba(247, 247, 255, 0.92) !important;
  }

  /* Precio con aire */
  #header.gt-header-v2 .gt-search-ui-v13__results .search-price,
  #header.gt-header-v2 .gt-search-ui-v13__results .price {
    margin-left: 26px !important;

    font-size: 12.9px !important;
    font-weight: 805 !important;

    color: rgba(247, 247, 255, 0.80) !important;
    opacity: 0.92 !important;

    white-space: nowrap !important;
  }

  /* Hover más editorial */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover {
    background:
      radial-gradient(circle at 0% 50%, rgba(92, 84, 200, 0.13), transparent 44%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.040), rgba(255, 255, 255, 0.016)) !important;

    border-color: rgba(255, 255, 255, 0.072) !important;

    box-shadow:
      0 12px 30px rgba(0, 0, 0, 0.16),
      0 1px 0 rgba(255, 255, 255, 0.04) inset !important;

    transform: translateY(-1px) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .search-name,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .product-title,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .woocommerce-loop-product__title {
    color: #ffffff !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .search-price,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .price {
    color: rgba(255, 255, 255, 0.94) !important;
    opacity: 1 !important;
  }

  /* Scrollbar más discreto con panel grande */
  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar {
    width: 4px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar-thumb {
    background-color: rgba(247, 247, 255, 0.10) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar-thumb:hover {
    background-color: rgba(247, 247, 255, 0.22) !important;
  }

  /* Footer */
  #header.gt-header-v2 .gt-search-ui-v13__see-all {
    min-height: 52px !important;
  }
}

/* =========================================================
   Gamers Things - Search Results Premium Poster Mode V1.3.32
   Portadas aún más grandes y layout más tipo mini-ficha premium
   ========================================================= */

@media (min-width: 850px) {

  /* Panel más alto para soportar portadas más protagonistas */
  #header.gt-header-v2 .gt-search-ui-v13__results {
    max-height: min(640px, calc(100vh - 132px)) !important;
    border-radius: 22px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner {
    max-height: 582px !important;
    padding: 10px !important;
  }

  /* Fila premium */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion {
    min-height: 156px !important;

    grid-template-columns: 94px minmax(0, 1fr) auto !important;
    column-gap: 20px !important;

    padding: 10px 16px !important;
    border-radius: 17px !important;

    align-items: center !important;

    background: transparent !important;
    border: 1px solid transparent !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion + .autocomplete-suggestion {
    margin-top: 4px !important;
  }

  /* Divisor */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion::after {
    left: 131px !important;
    right: 16px !important;
    bottom: -2px !important;
    height: 1px !important;
    background: rgba(255, 255, 255, 0.030) !important;
  }

  /* Portada XL real */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion img,
  #header.gt-header-v2 .gt-search-ui-v13__results img {
    width: 94px !important;
    height: 141px !important;
    min-width: 94px !important;
    max-width: 94px !important;

    object-fit: cover !important;
    object-position: center center !important;

    border-radius: 13px !important;
    border: 1px solid rgba(255, 255, 255, 0.085) !important;

    background: rgba(8, 10, 22, 0.92) !important;

    box-shadow:
      0 16px 36px rgba(0, 0, 0, 0.34),
      0 1px 0 rgba(255, 255, 255, 0.045) inset !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover img {
    border-color: rgba(255, 255, 255, 0.15) !important;

    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.38),
      0 0 0 1px rgba(92, 84, 200, 0.18) !important;
  }

  /* Título */
  #header.gt-header-v2 .gt-search-ui-v13__results .search-name,
  #header.gt-header-v2 .gt-search-ui-v13__results .product-title,
  #header.gt-header-v2 .gt-search-ui-v13__results .woocommerce-loop-product__title {
    font-size: 13.35px !important;
    font-weight: 805 !important;
    line-height: 1.34 !important;
    letter-spacing: -0.012em !important;

    color: rgba(247, 247, 255, 0.93) !important;

    max-width: 100% !important;
  }

  /* Precio */
  #header.gt-header-v2 .gt-search-ui-v13__results .search-price,
  #header.gt-header-v2 .gt-search-ui-v13__results .price {
    margin-left: 24px !important;

    align-self: center !important;

    font-size: 13px !important;
    font-weight: 805 !important;
    line-height: 1 !important;
    letter-spacing: -0.008em !important;

    color: rgba(247, 247, 255, 0.82) !important;
    opacity: 0.94 !important;

    white-space: nowrap !important;
  }

  /* Hover general */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover {
    background:
      radial-gradient(circle at 0% 50%, rgba(92, 84, 200, 0.14), transparent 44%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.044), rgba(255, 255, 255, 0.018)) !important;

    border-color: rgba(255, 255, 255, 0.074) !important;

    box-shadow:
      0 14px 34px rgba(0, 0, 0, 0.16),
      0 1px 0 rgba(255, 255, 255, 0.04) inset !important;

    transform: translateY(-1px) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .search-name,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .product-title,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .woocommerce-loop-product__title {
    color: #ffffff !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .search-price,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .price {
    color: rgba(255, 255, 255, 0.96) !important;
    opacity: 1 !important;
  }

  /* Scrollbar */
  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar {
    width: 4px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar-thumb {
    background-color: rgba(247, 247, 255, 0.10) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar-thumb:hover {
    background-color: rgba(247, 247, 255, 0.22) !important;
  }

  /* Footer */
  #header.gt-header-v2 .gt-search-ui-v13__see-all {
    min-height: 52px !important;
    font-size: 12.8px !important;
  }
}

/* =========================================================
   Gamers Things - Search Results Horizontal Keyart Layout V1.3.34
   Resultados con keyart horizontal desde galería
   ========================================================= */

@media (min-width: 850px) {

  /* Panel vuelve a formato search premium compacto */
  #header.gt-header-v2 .gt-search-ui-v13__results {
    max-height: min(438px, calc(100vh - 165px)) !important;
    border-radius: 20px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner {
    max-height: 376px !important;
    padding: 8px !important;
  }

  /* Fila horizontal premium */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion {
    min-height: 72px !important;

    grid-template-columns: 112px minmax(0, 1fr) auto !important;
    column-gap: 15px !important;

    padding: 8px 13px !important;
    border-radius: 14px !important;

    align-items: center !important;

    background: transparent !important;
    border: 1px solid transparent !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion + .autocomplete-suggestion {
    margin-top: 3px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion::after {
    left: 140px !important;
    right: 13px !important;
    bottom: -2px !important;
    background: rgba(255, 255, 255, 0.034) !important;
  }

  /* Keyart horizontal 16:9 */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion img,
  #header.gt-header-v2 .gt-search-ui-v13__results img {
    width: 112px !important;
    height: 63px !important;
    min-width: 112px !important;
    max-width: 112px !important;

    object-fit: cover !important;
    object-position: center center !important;

    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.075) !important;

    background: rgba(8, 10, 22, 0.90) !important;

    box-shadow:
      0 10px 24px rgba(0, 0, 0, 0.24),
      0 1px 0 rgba(255, 255, 255, 0.035) inset !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover img {
    border-color: rgba(255, 255, 255, 0.13) !important;

    box-shadow:
      0 12px 28px rgba(0, 0, 0, 0.30),
      0 0 0 1px rgba(92, 84, 200, 0.16) !important;
  }

  /* Título */
  #header.gt-header-v2 .gt-search-ui-v13__results .search-name,
  #header.gt-header-v2 .gt-search-ui-v13__results .product-title,
  #header.gt-header-v2 .gt-search-ui-v13__results .woocommerce-loop-product__title {
    font-size: 13px !important;
    font-weight: 805 !important;
    line-height: 1.28 !important;
    letter-spacing: -0.01em !important;

    color: rgba(247, 247, 255, 0.92) !important;
  }

  /* Precio */
  #header.gt-header-v2 .gt-search-ui-v13__results .search-price,
  #header.gt-header-v2 .gt-search-ui-v13__results .price {
    margin-left: 22px !important;

    font-size: 12.85px !important;
    font-weight: 805 !important;
    line-height: 1 !important;

    color: rgba(247, 247, 255, 0.80) !important;
    opacity: 0.92 !important;

    white-space: nowrap !important;
  }

  /* Hover editorial */
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover {
    background:
      radial-gradient(circle at 0% 50%, rgba(92, 84, 200, 0.13), transparent 44%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.040), rgba(255, 255, 255, 0.016)) !important;

    border-color: rgba(255, 255, 255, 0.070) !important;

    box-shadow:
      0 10px 26px rgba(0, 0, 0, 0.14),
      0 1px 0 rgba(255, 255, 255, 0.035) inset !important;

    transform: translateY(-1px) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .search-name,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .product-title,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .woocommerce-loop-product__title {
    color: #ffffff !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .search-price,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .price {
    color: rgba(255, 255, 255, 0.95) !important;
    opacity: 1 !important;
  }

  /* Footer */
  #header.gt-header-v2 .gt-search-ui-v13__see-all {
    min-height: 50px !important;
    font-size: 12.7px !important;
  }

  /* Scrollbar fino */
  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar {
    width: 4px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar-thumb {
    background-color: rgba(247, 247, 255, 0.11) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar-thumb:hover {
    background-color: rgba(247, 247, 255, 0.22) !important;
  }
}

/* =========================================================
   Gamers Things - Search Results IG Size Target V1.3.36
   Objetivo visual:
   - Imagen horizontal grande estilo Instant Gaming
   - Tamaño aprox. 150x86
   - Fila compacta premium
   - 4-5 resultados visibles
   ========================================================= */

@media (min-width: 850px) {

  #header.gt-header-v2 .gt-search-ui-v13__results {
    max-height: min(474px, calc(100vh - 160px)) !important;
    border-radius: 20px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner {
    max-height: 416px !important;
    padding: 8px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion {
    min-height: 92px !important;

    grid-template-columns: 150px minmax(0, 1fr) auto !important;
    column-gap: 16px !important;

    padding: 8px 14px !important;
    border-radius: 15px !important;

    align-items: center !important;

    background: transparent !important;
    border: 1px solid transparent !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion + .autocomplete-suggestion {
    margin-top: 3px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion::after {
    left: 180px !important;
    right: 14px !important;
    bottom: -2px !important;
    background: rgba(255, 255, 255, 0.034) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion img,
  #header.gt-header-v2 .gt-search-ui-v13__results img,
  #header.gt-header-v2 .gt-search-ui-v13__results img.search-image {
    width: 150px !important;
    height: 86px !important;
    min-width: 150px !important;
    max-width: 150px !important;

    object-fit: cover !important;
    object-position: center center !important;

    border-radius: 11px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;

    background: rgba(8, 10, 22, 0.90) !important;

    box-shadow:
      0 11px 26px rgba(0, 0, 0, 0.26),
      0 1px 0 rgba(255, 255, 255, 0.035) inset !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover img,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover img.search-image {
    border-color: rgba(255, 255, 255, 0.14) !important;

    box-shadow:
      0 13px 30px rgba(0, 0, 0, 0.32),
      0 0 0 1px rgba(92, 84, 200, 0.16) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .search-name,
  #header.gt-header-v2 .gt-search-ui-v13__results .product-title,
  #header.gt-header-v2 .gt-search-ui-v13__results .woocommerce-loop-product__title {
    font-size: 13px !important;
    font-weight: 805 !important;
    line-height: 1.30 !important;
    letter-spacing: -0.01em !important;

    color: rgba(247, 247, 255, 0.92) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .search-price,
  #header.gt-header-v2 .gt-search-ui-v13__results .price {
    margin-left: 24px !important;

    font-size: 12.85px !important;
    font-weight: 805 !important;
    line-height: 1 !important;

    color: rgba(247, 247, 255, 0.80) !important;
    opacity: 0.92 !important;

    white-space: nowrap !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover {
    background:
      radial-gradient(circle at 0% 50%, rgba(92, 84, 200, 0.13), transparent 44%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.040), rgba(255, 255, 255, 0.016)) !important;

    border-color: rgba(255, 255, 255, 0.070) !important;

    box-shadow:
      0 10px 26px rgba(0, 0, 0, 0.14),
      0 1px 0 rgba(255, 255, 255, 0.035) inset !important;

    transform: translateY(-1px) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .search-name,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .product-title,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .woocommerce-loop-product__title {
    color: #ffffff !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .search-price,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .price {
    color: rgba(255, 255, 255, 0.95) !important;
    opacity: 1 !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__see-all {
    min-height: 50px !important;
    font-size: 12.7px !important;
  }
}

/* =========================================================
   Gamers Things - Search Results Balanced Keyart V1.3.38
   - Imagen horizontal premium equilibrada
   - Línea secundaria de plataforma
   - 4-5 resultados visibles
   ========================================================= */

@media (min-width: 850px) {

  #header.gt-header-v2 .gt-search-ui-v13__results {
    max-height: min(454px, calc(100vh - 165px)) !important;
    border-radius: 20px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner {
    max-height: 396px !important;
    padding: 8px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion {
    min-height: 88px !important;

    grid-template-columns: 140px minmax(0, 1fr) auto !important;
    column-gap: 16px !important;

    padding: 8px 14px !important;
    border-radius: 15px !important;

    align-items: center !important;

    background: transparent !important;
    border: 1px solid transparent !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion + .autocomplete-suggestion {
    margin-top: 3px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion::after {
    left: 168px !important;
    right: 14px !important;
    bottom: -2px !important;
    background: rgba(255, 255, 255, 0.034) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion img,
  #header.gt-header-v2 .gt-search-ui-v13__results img,
  #header.gt-header-v2 .gt-search-ui-v13__results img.search-image {
    width: 140px !important;
    height: 80px !important;
    min-width: 140px !important;
    max-width: 140px !important;

    object-fit: cover !important;
    object-position: center center !important;

    border-radius: 11px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;

    background: rgba(8, 10, 22, 0.90) !important;

    box-shadow:
      0 11px 26px rgba(0, 0, 0, 0.26),
      0 1px 0 rgba(255, 255, 255, 0.035) inset !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover img,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover img.search-image {
    border-color: rgba(255, 255, 255, 0.14) !important;

    box-shadow:
      0 13px 30px rgba(0, 0, 0, 0.32),
      0 0 0 1px rgba(92, 84, 200, 0.16) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .search-name,
  #header.gt-header-v2 .gt-search-ui-v13__results .product-title,
  #header.gt-header-v2 .gt-search-ui-v13__results .woocommerce-loop-product__title {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 5px !important;

    min-width: 0 !important;

    color: rgba(247, 247, 255, 0.92) !important;
    font-size: 13px !important;
    font-weight: 805 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .gt-search-result-title {
    display: block !important;

    max-width: 100% !important;

    color: rgba(247, 247, 255, 0.93) !important;

    font-size: 13px !important;
    font-weight: 810 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .gt-search-result-platform {
    display: inline-flex !important;
    align-items: center !important;

    min-height: 18px !important;

    color: rgba(247, 247, 255, 0.52) !important;

    font-size: 11.8px !important;
    font-weight: 720 !important;
    line-height: 1 !important;
    letter-spacing: -0.004em !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .search-price,
  #header.gt-header-v2 .gt-search-ui-v13__results .price {
    margin-left: 22px !important;

    font-size: 12.85px !important;
    font-weight: 805 !important;
    line-height: 1 !important;

    color: rgba(247, 247, 255, 0.80) !important;
    opacity: 0.92 !important;

    white-space: nowrap !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover {
    background:
      radial-gradient(circle at 0% 50%, rgba(92, 84, 200, 0.13), transparent 44%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.040), rgba(255, 255, 255, 0.016)) !important;

    border-color: rgba(255, 255, 255, 0.070) !important;

    box-shadow:
      0 10px 26px rgba(0, 0, 0, 0.14),
      0 1px 0 rgba(255, 255, 255, 0.035) inset !important;

    transform: translateY(-1px) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .gt-search-result-title {
    color: #ffffff !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .gt-search-result-platform {
    color: rgba(247, 247, 255, 0.68) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .search-price,
  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .price {
    color: rgba(255, 255, 255, 0.95) !important;
    opacity: 1 !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__see-all {
    min-height: 50px !important;
    font-size: 12.7px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar {
    width: 4px !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar-thumb {
    background-color: rgba(247, 247, 255, 0.11) !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results-inner::-webkit-scrollbar-thumb:hover {
    background-color: rgba(247, 247, 255, 0.22) !important;
  }
}

/* =========================================================
   Gamers Things - Search Result Smart Title Style V1.3.40
   Título + metadata secundaria premium
   ========================================================= */

@media (min-width: 850px) {

  #header.gt-header-v2 .gt-search-ui-v13__results .search-name,
  #header.gt-header-v2 .gt-search-ui-v13__results .product-title,
  #header.gt-header-v2 .gt-search-ui-v13__results .woocommerce-loop-product__title {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 5px !important;

    min-width: 0 !important;
    max-width: 100% !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .gt-search-result-title {
    display: block !important;

    max-width: 100% !important;

    color: rgba(247, 247, 255, 0.94) !important;

    font-size: 13.2px !important;
    font-weight: 820 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.012em !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .gt-search-result-platform {
    display: inline-flex !important;
    align-items: center !important;

    max-width: 100% !important;

    color: rgba(247, 247, 255, 0.54) !important;

    font-size: 11.8px !important;
    font-weight: 720 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.004em !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .gt-search-result-title {
    color: #ffffff !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .gt-search-result-platform {
    color: rgba(247, 247, 255, 0.70) !important;
  }
}

/* =========================================================
   Gamers Things - Search Result Title Parser Style V1.3.42
   Estilo limpio para título + plataforma
   ========================================================= */

@media (min-width: 850px) {

  #header.gt-header-v2 .gt-search-ui-v13__results .search-name,
  #header.gt-header-v2 .gt-search-ui-v13__results .product-title,
  #header.gt-header-v2 .gt-search-ui-v13__results .woocommerce-loop-product__title {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 5px !important;

    min-width: 0 !important;
    max-width: 100% !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .gt-search-result-title {
    display: block !important;

    max-width: 100% !important;

    color: rgba(247, 247, 255, 0.94) !important;

    font-size: 13.15px !important;
    font-weight: 820 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.012em !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .gt-search-result-platform {
    display: inline-flex !important;
    align-items: center !important;

    max-width: 100% !important;

    color: rgba(247, 247, 255, 0.56) !important;

    font-size: 11.9px !important;
    font-weight: 720 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.004em !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .gt-search-result-title {
    color: #ffffff !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .gt-search-result-platform {
    color: rgba(247, 247, 255, 0.72) !important;
  }
}

/* =========================================================
   Gamers Things - Search Result Metadata Final Style V1.3.44
   Línea secundaria tipo metadata premium
   ========================================================= */

@media (min-width: 850px) {

  #header.gt-header-v2 .gt-search-ui-v13__results .search-name,
  #header.gt-header-v2 .gt-search-ui-v13__results .product-title,
  #header.gt-header-v2 .gt-search-ui-v13__results .woocommerce-loop-product__title {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 6px !important;

    min-width: 0 !important;
    max-width: 100% !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .gt-search-result-title {
    display: block !important;

    max-width: 100% !important;

    color: rgba(247, 247, 255, 0.94) !important;

    font-size: 13.15px !important;
    font-weight: 820 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.012em !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .gt-search-result-platform {
    display: inline-flex !important;
    align-items: center !important;

    max-width: 100% !important;

    color: rgba(247, 247, 255, 0.54) !important;

    font-size: 11.65px !important;
    font-weight: 720 !important;
    line-height: 1 !important;
    letter-spacing: -0.004em !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .gt-search-result-title {
    color: #ffffff !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .gt-search-result-platform {
    color: rgba(247, 247, 255, 0.72) !important;
  }
}

/* =========================================================
   Gamers Things - Search Result Clean Metadata Style V1.3.46
   ========================================================= */

@media (min-width: 850px) {

  #header.gt-header-v2 .gt-search-ui-v13__results .search-name,
  #header.gt-header-v2 .gt-search-ui-v13__results .product-title,
  #header.gt-header-v2 .gt-search-ui-v13__results .woocommerce-loop-product__title {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 6px !important;

    min-width: 0 !important;
    max-width: 100% !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .gt-search-result-title {
    display: block !important;

    max-width: 100% !important;

    color: rgba(247, 247, 255, 0.94) !important;

    font-size: 13.15px !important;
    font-weight: 820 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.012em !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .gt-search-result-platform {
    display: inline-flex !important;
    align-items: center !important;

    max-width: 100% !important;

    color: rgba(247, 247, 255, 0.56) !important;

    font-size: 11.75px !important;
    font-weight: 720 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.004em !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .gt-search-result-title {
    color: #ffffff !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .gt-search-result-platform {
    color: rgba(247, 247, 255, 0.72) !important;
  }
}

/* =========================================================
   Gamers Things - Search Result PHP Metadata Style V1.3.47
   Metadata renderizada desde PHP en suggestion.value
   ========================================================= */

@media (min-width: 850px) {

  #header.gt-header-v2 .gt-search-ui-v13__results .search-name {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 6px !important;

    min-width: 0 !important;
    max-width: 100% !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .gt-search-result-title {
    display: block !important;
    max-width: 100% !important;

    color: rgba(247, 247, 255, 0.94) !important;

    font-size: 13.15px !important;
    font-weight: 820 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.012em !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .gt-search-result-platform {
    display: inline-flex !important;
    align-items: center !important;

    max-width: 100% !important;

    color: rgba(247, 247, 255, 0.56) !important;

    font-size: 11.75px !important;
    font-weight: 720 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.004em !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .gt-search-result-title {
    color: #ffffff !important;
  }

  #header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion:hover .gt-search-result-platform {
    color: rgba(247, 247, 255, 0.72) !important;
  }
}

/* =========================================================
   Gamers Things - Search Result Click State V1.3.49
   ========================================================= */

#header.gt-header-v2 .gt-search-ui-v13__results .autocomplete-suggestion {
  cursor: pointer !important;
}

#header.gt-header-v2 .gt-search-ui-v13__results .gt-search-result-url {
  display: none !important;
}

/* =========================================================
   Gamers Things - Header / Hero Unified Background V1.0
   Objetivo:
   - Reducir el corte entre header y hero/product page
   - Mantener jerarquía premium del header
   - Fundir visualmente header + contenido con degradado suave
   ========================================================= */

#header.gt-header-v2 {
  position: relative !important;

  background:
    radial-gradient(circle at 50% 0%, rgba(112, 91, 255, 0.085), transparent 42%),
    linear-gradient(
      180deg,
      #090b19 0%,
      #0a0d1b 42%,
      #0b0e1e 72%,
      #0c0f20 100%
    ) !important;

  border-bottom: 1px solid rgba(255, 255, 255, 0.028) !important;

  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.018) inset,
    0 18px 42px rgba(0, 0, 0, 0.10) !important;

  isolation: isolate !important;
}

#header.gt-header-v2 .header-wrapper,
#header.gt-header-v2 #masthead,
#header.gt-header-v2 .header-main,
#header.gt-header-v2 .header-inner,
#header.gt-header-v2 .gt-header-meta {
  background: transparent !important;
}

/* Capa de transición entre header y hero */
#header.gt-header-v2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -42px;

  height: 42px;

  pointer-events: none;
  z-index: -1;

  background:
    linear-gradient(
      180deg,
      rgba(12, 15, 32, 0.74) 0%,
      rgba(12, 15, 32, 0.44) 42%,
      rgba(12, 15, 32, 0.16) 72%,
      rgba(12, 15, 32, 0) 100%
    ) !important;
}

/* Suaviza la primera franja del contenido para que no corte tan seco */
body.single-product #main,
body.single-product .shop-container,
body.single-product .product-main {
  background:
    radial-gradient(circle at 50% -120px, rgba(112, 91, 255, 0.045), transparent 34%),
    linear-gradient(180deg, #0c0f20 0%, #090b17 42%, #080a13 100%) !important;
}

/* Mantiene el bloque de plataformas con presencia propia */
#header.gt-header-v2 .gt-platform-nav__list {
  background:
    linear-gradient(180deg, rgba(43, 40, 74, 0.82), rgba(30, 31, 54, 0.82)) !important;

  border-color: rgba(255, 255, 255, 0.070) !important;

  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.20),
    0 1px 0 rgba(255, 255, 255, 0.035) inset !important;
}

/* Botón search mantiene el acento violeta sin separarse del header */
#header.gt-header-v2 .gt-platform-search > a,
#header.gt-header-v2 .gt-platform-search .nav-top-link {
  background:
    radial-gradient(circle at 50% 0%, rgba(145, 123, 255, 0.22), transparent 58%),
    linear-gradient(180deg, rgba(78, 67, 142, 0.96), rgba(55, 47, 108, 0.96)) !important;

  border-color: rgba(142, 124, 255, 0.24) !important;

  box-shadow:
    0 12px 26px rgba(66, 49, 160, 0.24),
    0 1px 0 rgba(255, 255, 255, 0.075) inset !important;
}

/* En estado search abierto, evitamos que el degradado genere ruido */
#header.gt-header-v2.gt-search-v13-open {
  background:
    radial-gradient(circle at 50% 0%, rgba(112, 91, 255, 0.09), transparent 42%),
    linear-gradient(
      180deg,
      #090b19 0%,
      #0a0d1b 48%,
      #0c0f20 100%
    ) !important;
}

#header.gt-header-v2.gt-search-v13-open::after {
  opacity: 0.82 !important;
}

/* ==========================================================
   Gamers Things - Mobile Header Final Layout V2.0
   Corrección limpia:
   - Logo izquierda
   - Search centro
   - Cart + user derecha
   - Rail mobile estable debajo
   - Corrige lupa SVG del botón mobile
   ========================================================== */

@media (max-width: 849px) {

  /* Evita que el ::after del header se meta visualmente sobre el mobile */
  #header.gt-header-v2::after {
    display: none !important;
    content: none !important;
  }

  /* Main row mobile: una sola fila controlada por posiciones absolutas */
  #header.gt-header-v2 #masthead,
  #header.gt-header-v2 .header-main,
  #header.gt-header-v2 #masthead.header-main {
    min-height: 64px !important;
    height: 64px !important;
    padding: 0 !important;
    overflow: visible !important;
    border-bottom: 0 !important;
    background: transparent !important;
  }

  #header.gt-header-v2 #masthead .header-inner,
  #header.gt-header-v2 .header-inner {
    position: relative !important;
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    min-height: 64px !important;
    height: 64px !important;

    margin: 0 !important;
    padding: 0 14px !important;

    overflow: visible !important;
  }

  /* Apagamos columnas mobile vacías de Flatsome para que no empujen nada */
  #header.gt-header-v2 .show-for-medium.flex-left,
  #header.gt-header-v2 .show-for-medium.flex-right,
  #header.gt-header-v2 .hide-for-medium.flex-left {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* El nav desktop de plataformas queda apagado en mobile. Usamos la rail custom. */
  #header.gt-header-v2 .gt-platform-nav {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* =========================
     LOGO IZQUIERDA
     ========================= */
  #header.gt-header-v2 #logo,
  #header.gt-header-v2 .logo {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    z-index: 8 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: auto !important;
    max-width: 112px !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: translateY(-50%) !important;
  }

  #header.gt-header-v2 #logo a,
  #header.gt-header-v2 .logo a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: auto !important;
    max-width: 112px !important;

    min-height: 0 !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
  }

  /* Primero ocultamos ambas imágenes para evitar duplicado */
  #header.gt-header-v2 #logo a > img,
  #header.gt-header-v2 .logo a > img {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  /* Luego mostramos solo el logo principal */
  #header.gt-header-v2 #logo a > img.header_logo.header-logo:not(.header-logo-dark),
  #header.gt-header-v2 #logo a > img.header-logo:not(.header-logo-dark),
  #header.gt-header-v2 .logo a > img.header_logo.header-logo:not(.header-logo-dark),
  #header.gt-header-v2 .logo a > img.header-logo:not(.header-logo-dark) {
    display: block !important;
    width: 112px !important;
    max-width: 112px !important;
    height: auto !important;
    max-height: 25px !important;

    opacity: 1 !important;
    visibility: visible !important;

    object-fit: contain !important;
  }

  #header.gt-header-v2 #logo a > img.header-logo-dark,
  #header.gt-header-v2 .logo a > img.header-logo-dark {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  /* =========================
     SEARCH CENTRADO
     ========================= */
  #header.gt-header-v2 .gt-mobile-search-launcher {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    z-index: 9 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 48px !important;
    height: 38px !important;
    min-width: 48px !important;
    min-height: 38px !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;

    background:
      radial-gradient(circle at 28% 0%, rgba(255, 255, 255, 0.12), transparent 42%),
      linear-gradient(180deg, #5c54c8 0%, #4e46b0 58%, #40388f 100%) !important;

    color: #ffffff !important;

    box-shadow:
      0 12px 28px rgba(7, 8, 20, 0.30),
      0 1px 0 rgba(255, 255, 255, 0.08) inset,
      0 -1px 0 rgba(0, 0, 0, 0.18) inset !important;

    transform: translate(-50%, -50%) !important;
    appearance: none !important;
    cursor: pointer !important;
  }

  #header.gt-header-v2 .gt-mobile-search-launcher svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;

    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.15 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  #header.gt-header-v2 .gt-mobile-search-launcher svg * {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.15 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  /* =========================
     CART + USER DERECHA
     ========================= */
  #header.gt-header-v2 .hide-for-medium.flex-right {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    z-index: 10 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    width: auto !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: translateY(-50%) !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  #header.gt-header-v2 .hide-for-medium.flex-right > ul,
  #header.gt-header-v2 .hide-for-medium.flex-right .header-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
  }

  #header.gt-header-v2 .hide-for-medium.flex-right li,
  #header.gt-header-v2 .cart-item,
  #header.gt-header-v2 .account-item {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
  }

  #header.gt-header-v2 .cart-item > .header-button,
  #header.gt-header-v2 .cart-item > .header-button > a,
  #header.gt-header-v2 .cart-item > a,
  #header.gt-header-v2 .account-item > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #header.gt-header-v2 .cart-item > .header-button > a,
  #header.gt-header-v2 .cart-item > a,
  #header.gt-header-v2 .account-item > a {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 13px !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;

    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.050), rgba(255, 255, 255, 0.014)),
      rgba(10, 13, 26, 0.74) !important;

    color: rgba(255, 255, 255, 0.88) !important;

    box-shadow:
      0 10px 24px rgba(0, 0, 0, 0.22),
      0 1px 0 rgba(255, 255, 255, 0.05) inset !important;

    text-decoration: none !important;
    line-height: 1 !important;
  }

  #header.gt-header-v2 .cart-item i,
  #header.gt-header-v2 .account-item i {
    color: currentColor !important;
    font-size: 15.5px !important;
    line-height: 1 !important;
  }

  #header.gt-header-v2 .cart-item .header-cart-title,
  #header.gt-header-v2 .cart-item .cart-price {
    display: none !important;
  }

  #header.gt-header-v2 .cart-item .nav-dropdown,
  #header.gt-header-v2 .account-item .nav-dropdown {
    display: none !important;
  }

  /* =========================
     RAIL DE PLATAFORMAS
     ========================= */
  #header.gt-header-v2 .gt-mobile-platform-rail {
    display: block !important;

    margin: 0 !important;
    padding: 0 12px 10px !important;

    border-top: 1px solid rgba(255, 255, 255, 0.035) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055) !important;

    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.014), rgba(255, 255, 255, 0.004)),
      rgba(10, 13, 27, 0.74) !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail__inner {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: center !important;
    gap: 6px !important;

    max-width: 100% !important;

    margin: 0 !important;
    padding: 9px 0 0 !important;

    overflow: visible !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail__link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;

    min-width: 0 !important;
    width: 100% !important;
    min-height: 35px !important;

    margin: 0 !important;
    padding: 0 5px !important;

    border-radius: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.050) !important;

    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.030), rgba(255, 255, 255, 0.008)),
      rgba(255, 255, 255, 0.018) !important;

    color: rgba(255, 255, 255, 0.72) !important;

    font-family: var(--gt-font-display) !important;
    font-size: 10px !important;
    font-weight: 790 !important;
    line-height: 1 !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;

    text-decoration: none !important;
    text-transform: none !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail__link.is-active {
    color: #ffffff !important;
    border-color: rgba(124, 92, 255, 0.24) !important;
    background:
      linear-gradient(180deg, rgba(124, 92, 255, 0.11), rgba(255, 255, 255, 0.010)),
      rgba(255, 255, 255, 0.024) !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail .gt-platform-icon,
  #header.gt-header-v2 .gt-mobile-platform-rail .gt-platform-icon::before {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail .gt-platform-text {
    display: inline-block !important;
    min-width: 0 !important;
    max-width: 100% !important;

    font-size: 10px !important;
    font-weight: 790 !important;
    line-height: 1 !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail__link[data-gt-platform="playstation"] .gt-platform-text,
  #header.gt-header-v2 .gt-mobile-platform-rail__link[data-gt-platform="nintendo"] .gt-platform-text {
    font-size: 9.4px !important;
  }
}

@media (max-width: 390px) {

  #header.gt-header-v2 #masthead,
  #header.gt-header-v2 .header-main,
  #header.gt-header-v2 #masthead.header-main {
    min-height: 60px !important;
    height: 60px !important;
  }

  #header.gt-header-v2 #masthead .header-inner,
  #header.gt-header-v2 .header-inner {
    min-height: 60px !important;
    height: 60px !important;
    padding: 0 10px !important;
  }

  #header.gt-header-v2 #logo,
  #header.gt-header-v2 .logo {
    left: 10px !important;
    max-width: 102px !important;
  }

  #header.gt-header-v2 #logo a,
  #header.gt-header-v2 .logo a,
  #header.gt-header-v2 #logo a > img.header_logo.header-logo:not(.header-logo-dark),
  #header.gt-header-v2 #logo a > img.header-logo:not(.header-logo-dark),
  #header.gt-header-v2 .logo a > img.header_logo.header-logo:not(.header-logo-dark),
  #header.gt-header-v2 .logo a > img.header-logo:not(.header-logo-dark) {
    max-width: 102px !important;
  }

  #header.gt-header-v2 #logo a > img.header_logo.header-logo:not(.header-logo-dark),
  #header.gt-header-v2 #logo a > img.header-logo:not(.header-logo-dark),
  #header.gt-header-v2 .logo a > img.header_logo.header-logo:not(.header-logo-dark),
  #header.gt-header-v2 .logo a > img.header-logo:not(.header-logo-dark) {
    width: 102px !important;
    max-height: 23px !important;
  }

  #header.gt-header-v2 .gt-mobile-search-launcher {
    width: 44px !important;
    height: 36px !important;
    min-width: 44px !important;
    min-height: 36px !important;
  }

  #header.gt-header-v2 .hide-for-medium.flex-right {
    right: 10px !important;
  }

  #header.gt-header-v2 .hide-for-medium.flex-right > ul,
  #header.gt-header-v2 .hide-for-medium.flex-right .header-nav {
    gap: 6px !important;
  }

  #header.gt-header-v2 .cart-item > .header-button > a,
  #header.gt-header-v2 .cart-item > a,
  #header.gt-header-v2 .account-item > a {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    border-radius: 12px !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail__inner {
    gap: 5px !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail__link {
    min-height: 34px !important;
    gap: 4px !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail .gt-platform-icon,
  #header.gt-header-v2 .gt-mobile-platform-rail .gt-platform-icon::before {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail .gt-platform-text {
    font-size: 9.4px !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail__link[data-gt-platform="playstation"] .gt-platform-text,
  #header.gt-header-v2 .gt-mobile-platform-rail__link[data-gt-platform="nintendo"] .gt-platform-text {
    font-size: 8.8px !important;
  }
}

/* ==========================================================
   Gamers Things - Hide Mobile Search Launcher on Desktop
   Evita que el botón search mobile aparezca en desktop
========================================================== */

#header.gt-header-v2 .gt-mobile-search-launcher {
	display: none !important;
}

/* Solo se muestra en mobile */
@media (max-width: 849px) {
	#header.gt-header-v2 .gt-mobile-search-launcher {
		display: inline-flex !important;
	}
}

/* ==========================================================
   Gamers Things - Mobile Platform Rail Polish V2
   Solo ajusta la barra PC / PlayStation / Xbox / Nintendo
========================================================== */

@media (max-width: 849px) {

  #header.gt-header-v2 .gt-mobile-platform-rail {
    display: block !important;

    margin: 0 !important;
    padding: 0 12px 10px !important;

    background:
      linear-gradient(
        180deg,
        rgba(10, 13, 27, .90) 0%,
        rgba(8, 10, 20, .86) 100%
      ) !important;

    border-top: 1px solid rgba(255, 255, 255, .030) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .045) !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail__inner {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 5px !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail__link {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 34px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;

    padding: 0 5px !important;

    border-radius: 0 !important;
    border: 1px solid rgba(255, 255, 255, .035) !important;

    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, .026),
        rgba(255, 255, 255, .006)
      ),
      rgba(255, 255, 255, .014) !important;

    color: rgba(255, 255, 255, .72) !important;

    box-shadow: none !important;
    text-decoration: none !important;

    overflow: hidden !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail__link.is-active {
    color: rgba(255, 255, 255, .94) !important;

    border-color: rgba(124, 92, 255, .20) !important;

    background:
      linear-gradient(
        180deg,
        rgba(124, 92, 255, .095),
        rgba(255, 255, 255, .008)
      ),
      rgba(255, 255, 255, .018) !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail .gt-platform-icon,
  #header.gt-header-v2 .gt-mobile-platform-rail .gt-platform-icon::before {
    width: 16px !important;
    height: 16px !important;

    flex: 0 0 16px !important;

    opacity: .86 !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail .gt-platform-text {
    display: inline-block !important;

    min-width: 0 !important;
    max-width: 100% !important;

    color: currentColor !important;

    font-size: 10px !important;
    font-weight: 780 !important;
    line-height: 1 !important;
    letter-spacing: -.025em !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail__link[data-gt-platform="playstation"] .gt-platform-text {
    font-size: 9.7px !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail__link[data-gt-platform="nintendo"] .gt-platform-text {
    font-size: 9.5px !important;
  }
}

@media (max-width: 380px) {

  #header.gt-header-v2 .gt-mobile-platform-rail {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail__inner {
    gap: 4px !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail__link {
    min-height: 33px !important;
    gap: 4px !important;
    padding: 0 4px !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail .gt-platform-icon,
  #header.gt-header-v2 .gt-mobile-platform-rail .gt-platform-icon::before {
    width: 15px !important;
    height: 15px !important;
    flex-basis: 15px !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail .gt-platform-text {
    font-size: 9.3px !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail__link[data-gt-platform="playstation"] .gt-platform-text {
    font-size: 8.9px !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail__link[data-gt-platform="nintendo"] .gt-platform-text {
    font-size: 8.8px !important;
  }
}

/* ==========================================================
   Gamers Things - Mobile Cart Icon Clean V1
   Solo limpia el carrito mobile, mantiene user con pill
========================================================== */

@media (max-width: 849px) {

  #header.gt-header-v2 .cart-item > .header-button,
  #header.gt-header-v2 .cart-item > .header-button > a,
  #header.gt-header-v2 .cart-item > a {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    width: 34px !important;
    height: 36px !important;
    min-width: 34px !important;

    padding: 0 !important;
    margin: 0 !important;

    border-radius: 0 !important;
  }

  #header.gt-header-v2 .cart-item i,
  #header.gt-header-v2 .cart-item .icon-shopping-cart {
    color: rgba(255, 255, 255, .88) !important;
    font-size: 21px !important;
    line-height: 1 !important;

    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .24)) !important;
  }

  #header.gt-header-v2 .cart-item > .header-button > a:hover,
  #header.gt-header-v2 .cart-item > a:hover {
    color: #fff !important;
    background: transparent !important;
  }
}

/* ==========================================================
   Gamers Things - Mobile Header Micro Polish V2
   No toca verticalidad. Solo active platform, search y cart.
========================================================== */

@media (max-width: 849px) {

  /* Search: un poco más cápsula y menos botón redondo */
  #header.gt-header-v2 .gt-mobile-search-launcher {
    width: 56px !important;
    height: 38px !important;
    border-radius: 999px !important;

    background:
      radial-gradient(circle at 50% 0%, rgba(178, 159, 255, .30), transparent 58%),
      linear-gradient(180deg, rgba(130, 98, 255, .98), rgba(101, 75, 224, .98)) !important;

    box-shadow:
      0 14px 30px rgba(124, 92, 255, .24),
      inset 0 1px 0 rgba(255, 255, 255, .17) !important;
  }

  /* Cart: sin pill, un poco más liviano */
  #header.gt-header-v2 .cart-item i,
  #header.gt-header-v2 .cart-item .icon-shopping-cart {
    font-size: 20px !important;
    opacity: .92 !important;
    transform: translateY(-1px) !important;
  }

  /* User: mantiene pill, pero más fino */
  #header.gt-header-v2 .account-item > a {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)),
      rgba(9, 11, 22, .68) !important;

    border-color: rgba(255, 255, 255, .075) !important;
    box-shadow:
      0 10px 24px rgba(0, 0, 0, .20),
      inset 0 1px 0 rgba(255, 255, 255, .040) !important;
  }

  /* Platform rail: active más premium */
  #header.gt-header-v2 .gt-mobile-platform-rail__link.is-active {
    color: #fff !important;

    border-color: rgba(124, 92, 255, .34) !important;

    background:
      radial-gradient(circle at 50% 0%, rgba(124, 92, 255, .18), transparent 62%),
      linear-gradient(180deg, rgba(124, 92, 255, .135), rgba(255, 255, 255, .012)),
      rgba(255, 255, 255, .020) !important;

    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .050),
      0 0 0 1px rgba(124, 92, 255, .045),
      0 10px 22px rgba(0, 0, 0, .12) !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail__link.is-active .gt-platform-icon {
    opacity: 1 !important;
    filter: drop-shadow(0 0 8px rgba(124, 92, 255, .30)) !important;
  }
}

/* ==========================================================
   Gamers Things - Mobile User Pill Enhancement
========================================================== */

@media (max-width: 849px) {

  #header.gt-header-v2 .account-item > a {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;

    background:
      radial-gradient(circle at 50% 0%,
      rgba(124, 92, 255, .16),
      transparent 62%),
      linear-gradient(
      180deg,
      rgba(255,255,255,.055),
      rgba(255,255,255,.015)
      ),
      rgba(12,14,28,.82) !important;

    border: 1px solid rgba(255,255,255,.08) !important;

    box-shadow:
      0 12px 24px rgba(0,0,0,.22),
      inset 0 1px 0 rgba(255,255,255,.06),
      0 0 18px rgba(124,92,255,.08) !important;

    backdrop-filter: blur(10px);
  }

  #header.gt-header-v2 .account-item i,
  #header.gt-header-v2 .icon-user {
    font-size: 18px !important;
    opacity: .96 !important;
    color: rgba(255,255,255,.96) !important;
  }

  #header.gt-header-v2 .account-item > a:hover,
  #header.gt-header-v2 .account-item > a:active {
    transform: translateY(-1px);
    border-color: rgba(124,92,255,.22) !important;

    box-shadow:
      0 16px 28px rgba(0,0,0,.28),
      0 0 22px rgba(124,92,255,.14) !important;
  }
}

/* ==========================================================
   Gamers Things - Mobile Search Open Like Instant Gaming V1
   Al abrir búsqueda:
   - oculta logo/cart/user/search launcher
   - muestra barra full-width
   - mantiene plataformas debajo
========================================================== */

@media (max-width: 849px) {

  /* Estado abierto: ocultar top normal */
  #header.gt-header-v2.gt-search-v13-open #logo,
  #header.gt-header-v2.gt-search-v13-open .logo,
  #header.gt-header-v2.gt-search-v13-open .gt-mobile-search-launcher,
  #header.gt-header-v2.gt-search-v13-open .hide-for-medium.flex-right {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Rehabilitamos la nav desktop oculta solo como host del search */
  #header.gt-header-v2.gt-search-v13-open #masthead .gt-platform-nav {
    display: block !important;
    visibility: visible !important;
    pointer-events: auto !important;

    position: absolute !important;
    left: 12px !important;
    right: 12px !important;
    top: 10px !important;

    width: auto !important;
    height: auto !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    z-index: 30 !important;
  }

  /* Ocultar items de plataforma dentro de la nav desktop */
  #header.gt-header-v2.gt-search-v13-open #masthead .gt-platform-nav__item,
  #header.gt-header-v2.gt-search-v13-open #masthead .gt-platform-search {
    display: none !important;
  }

  #header.gt-header-v2.gt-search-v13-open #masthead .gt-platform-nav__list {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  /* Mostrar search custom */
  #header.gt-header-v2.gt-search-v13-open #masthead .gt-search-ui-v13 {
    display: block !important;
    position: relative !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;

    background: transparent !important;
  }

  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 48px !important;
    align-items: center !important;
    gap: 10px !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  /* Pill principal */
  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__shell {
    min-height: 48px !important;
    height: 48px !important;

    display: flex !important;
    align-items: center !important;

    padding: 0 14px !important;

    border-radius: 999px !important;
    border: 1px solid rgba(153, 125, 255, .38) !important;

    background:
      radial-gradient(circle at 50% 0%, rgba(178, 159, 255, .28), transparent 58%),
      linear-gradient(180deg, rgba(130, 98, 255, .98), rgba(101, 75, 224, .98)) !important;

    box-shadow:
      0 16px 34px rgba(124, 92, 255, .24),
      inset 0 1px 0 rgba(255, 255, 255, .17) !important;
  }

  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__icon {
    width: 22px !important;
    height: 22px !important;
    margin-right: 10px !important;

    color: rgba(255, 255, 255, .92) !important;
  }

  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__icon svg {
    width: 22px !important;
    height: 22px !important;

    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__input {
    flex: 1 1 auto !important;

    width: 100% !important;
    min-width: 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;

    color: #fff !important;

    font-size: 15px !important;
    font-weight: 750 !important;
    line-height: 1 !important;
  }

  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__input::placeholder {
    color: rgba(255, 255, 255, .55) !important;
    opacity: 1 !important;
  }

  /* Advanced dentro del pill, estilo IG */
  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__advanced {
    display: inline-flex !important;
    align-items: center !important;

    margin-left: 10px !important;

    color: rgba(255, 255, 255, .92) !important;

    font-size: 12px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
  }

  /* Backspace oculto hasta que haya query */
  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__backspace {
    display: none !important;
  }

  #header.gt-header-v2.gt-search-v13-open.gt-search-v13-has-query .gt-search-ui-v13__backspace {
    display: inline-flex !important;
  }

  /* Botón X externo */
  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__close {
    width: 48px !important;
    height: 48px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, .16) !important;

    background:
      linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .014)),
      rgba(8, 10, 20, .76) !important;

    color: rgba(255, 255, 255, .90) !important;

    box-shadow:
      0 12px 28px rgba(0, 0, 0, .24),
      inset 0 1px 0 rgba(255, 255, 255, .050) !important;
  }

  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__close svg {
    width: 20px !important;
    height: 20px !important;

    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.2 !important;
    stroke-linecap: round !important;
  }

  /* Resultados debajo del header */
  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__results {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 58px !important;

    width: 100% !important;
    max-height: min(62dvh, 520px) !important;

    margin: 0 !important;

    border-radius: 20px !important;
    overflow: hidden !important;

    z-index: 40 !important;
  }
}

@media (max-width: 390px) {
  #header.gt-header-v2.gt-search-v13-open #masthead .gt-platform-nav {
    left: 10px !important;
    right: 10px !important;
    top: 9px !important;
  }

  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__form {
    grid-template-columns: minmax(0, 1fr) 44px !important;
    gap: 8px !important;
  }

  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__shell {
    height: 46px !important;
    min-height: 46px !important;
  }

  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__close {
    width: 44px !important;
    height: 44px !important;
  }

  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__advanced {
    font-size: 11px !important;
  }
}

/* ==========================================================
   Gamers Things - Mobile Search Open Refinement V3
   Search mobile más contenido + X visible
========================================================== */

@media (max-width: 849px) {

  #header.gt-header-v2.gt-search-v13-open #masthead .gt-platform-nav {
    left: 12px !important;
    right: 12px !important;
    top: 12px !important;
    width: auto !important;
    max-width: calc(100vw - 24px) !important;
  }

  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 46px !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__shell {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    height: 46px !important;
    min-height: 46px !important;

    padding: 0 14px !important;
    overflow: hidden !important;
  }

  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__input {
    min-width: 0 !important;
    width: 100% !important;

    font-size: 14px !important;
    font-weight: 760 !important;

    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* En mobile ocupa demasiado: lo ocultamos para que respire */
  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__advanced {
    display: none !important;
  }

  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__close {
    display: inline-flex !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;

    border-radius: 50% !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__close svg {
    width: 19px !important;
    height: 19px !important;
  }
}

@media (max-width: 390px) {

  #header.gt-header-v2.gt-search-v13-open #masthead .gt-platform-nav {
    left: 10px !important;
    right: 10px !important;
    max-width: calc(100vw - 20px) !important;
  }

  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__form {
    grid-template-columns: minmax(0, 1fr) 42px !important;
    gap: 8px !important;
  }

  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__shell {
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 12px !important;
  }

  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__close {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
  }
}

/* ==========================================================
   Gamers Things - Mobile Search Overlay REAL FIX
========================================================== */

@media (max-width: 849px) {

  /* CONTENEDOR PRINCIPAL */
  #header.gt-header-v2.gt-search-v13-open {
    position: relative !important;
    z-index: 9999 !important;
  }

  /* EL NAV DE PLATAFORMAS QUEDA ABAJO */
  #header.gt-header-v2.gt-search-v13-open .gt-platform-nav {
    position: relative !important;
    padding-top: 74px !important;
  }

  /* SEARCH SALE DEL FLOW */
  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13 {
    position: absolute !important;

    top: 10px !important;
    left: 12px !important;
    right: 12px !important;

    width: auto !important;
    max-width: none !important;

    z-index: 50 !important;

    display: block !important;
    pointer-events: auto !important;
  }

  /* FORM */
  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__form {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;

    width: 100% !important;
  }

  /* SEARCH PILL */
  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__shell {
    flex: 1 1 auto !important;

    display: flex !important;
    align-items: center !important;

    min-width: 0 !important;
    width: 100% !important;

    height: 48px !important;
    padding: 0 16px !important;

    border-radius: 999px !important;

    overflow: hidden !important;
  }

  /* INPUT */
  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__input {
    flex: 1 1 auto !important;

    min-width: 0 !important;
    width: 100% !important;

    font-size: 15px !important;
    font-weight: 700 !important;

    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  /* OCULTAMOS ADVANCED EN MOBILE */
  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__advanced {
    display: none !important;
  }

  /* BOTON CLOSE */
  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__close {
    flex: 0 0 46px !important;

    width: 46px !important;
    height: 46px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;

    opacity: 1 !important;
    visibility: visible !important;

    pointer-events: auto !important;
  }

  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__close svg {
    width: 18px !important;
    height: 18px !important;
  }

  /* RESULTADOS */
  #header.gt-header-v2.gt-search-v13-open .gt-search-ui-v13__results {
    margin-top: 12px !important;
  }
}

/* ==========================================================
   Gamers Things - Mobile Search Panel V1
   Panel propio, separado de gt-search-ui-v13 desktop
========================================================== */

#header.gt-header-v2 .gt-mobile-search-panel {
	display: none !important;
}

@media (max-width: 849px) {

	#header.gt-header-v2.gt-mobile-search-open #logo,
	#header.gt-header-v2.gt-mobile-search-open .logo,
	#header.gt-header-v2.gt-mobile-search-open .gt-mobile-search-launcher,
	#header.gt-header-v2.gt-mobile-search-open .hide-for-medium.flex-right {
		opacity: 0 !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}

	#header.gt-header-v2 .gt-mobile-search-panel {
		position: absolute !important;
		left: 12px !important;
		right: 12px !important;
		top: 10px !important;

		display: none !important;

		z-index: 999 !important;
	}

	#header.gt-header-v2.gt-mobile-search-open .gt-mobile-search-panel {
		display: block !important;
	}

	#header.gt-header-v2 .gt-mobile-search-panel__form {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) 46px !important;
		gap: 10px !important;

		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	#header.gt-header-v2 .gt-mobile-search-panel__shell {
		display: flex !important;
		align-items: center !important;

		min-width: 0 !important;
		width: 100% !important;
		height: 48px !important;

		padding: 0 14px !important;

		border-radius: 999px !important;
		border: 1px solid rgba(153, 125, 255, .38) !important;

		background:
			radial-gradient(circle at 50% 0%, rgba(178, 159, 255, .28), transparent 58%),
			linear-gradient(180deg, rgba(130, 98, 255, .98), rgba(101, 75, 224, .98)) !important;

		box-shadow:
			0 16px 34px rgba(124, 92, 255, .24),
			inset 0 1px 0 rgba(255, 255, 255, .17) !important;

		overflow: hidden !important;
	}

	#header.gt-header-v2 .gt-mobile-search-panel__icon {
		flex: 0 0 20px !important;

		width: 20px !important;
		height: 20px !important;

		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;

		margin-right: 10px !important;

		color: rgba(255, 255, 255, .94) !important;
	}

	#header.gt-header-v2 .gt-mobile-search-panel__icon svg,
	#header.gt-header-v2 .gt-mobile-search-panel__clear svg,
	#header.gt-header-v2 .gt-mobile-search-panel__close svg {
		display: block !important;

		fill: none !important;
		stroke: currentColor !important;
		stroke-width: 2.25 !important;
		stroke-linecap: round !important;
		stroke-linejoin: round !important;
	}

	#header.gt-header-v2 .gt-mobile-search-panel__icon svg {
		width: 20px !important;
		height: 20px !important;
	}

	#header.gt-header-v2 .gt-mobile-search-panel__input {
		flex: 1 1 auto !important;

		min-width: 0 !important;
		width: 100% !important;
		height: 100% !important;

		margin: 0 !important;
		padding: 0 !important;

		border: 0 !important;
		outline: 0 !important;
		box-shadow: none !important;
		background: transparent !important;

		color: #fff !important;

		font-size: 14px !important;
		font-weight: 760 !important;
		line-height: 1 !important;

		overflow: hidden !important;
		text-overflow: ellipsis !important;
		white-space: nowrap !important;
	}

	#header.gt-header-v2 .gt-mobile-search-panel__input::placeholder {
		color: rgba(255, 255, 255, .58) !important;
		opacity: 1 !important;
	}

	#header.gt-header-v2 .gt-mobile-search-panel__clear {
		flex: 0 0 30px !important;

		width: 30px !important;
		height: 30px !important;

		display: none !important;
		align-items: center !important;
		justify-content: center !important;

		margin: 0 0 0 6px !important;
		padding: 0 !important;

		border: 0 !important;
		background: transparent !important;

		color: rgba(255, 255, 255, .84) !important;
	}

	#header.gt-header-v2.gt-mobile-search-has-query .gt-mobile-search-panel__clear {
		display: inline-flex !important;
	}

	#header.gt-header-v2 .gt-mobile-search-panel__clear svg {
		width: 17px !important;
		height: 17px !important;
	}

	#header.gt-header-v2 .gt-mobile-search-panel__close {
		width: 46px !important;
		height: 46px !important;

		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;

		margin: 1px 0 0 !important;
		padding: 0 !important;

		border-radius: 50% !important;
		border: 1px solid rgba(255, 255, 255, .15) !important;

		background:
			linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .014)),
			rgba(8, 10, 20, .76) !important;

		color: rgba(255, 255, 255, .90) !important;

		box-shadow:
			0 12px 28px rgba(0, 0, 0, .24),
			inset 0 1px 0 rgba(255, 255, 255, .050) !important;
	}

	#header.gt-header-v2 .gt-mobile-search-panel__close svg {
		width: 19px !important;
		height: 19px !important;
	}

	#header.gt-header-v2 .gt-mobile-search-panel__results {
		display: none !important;

		width: 100% !important;
		max-height: min(58dvh, 520px) !important;

		margin-top: 10px !important;

		border-radius: 20px !important;
		border: 1px solid rgba(255, 255, 255, .075) !important;

		background:
			linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .010)),
			rgba(8, 10, 22, .94) !important;

		box-shadow:
			0 24px 70px rgba(0, 0, 0, .36),
			inset 0 1px 0 rgba(255, 255, 255, .040) !important;

		overflow: hidden !important;
	}

	#header.gt-header-v2.gt-mobile-search-has-results .gt-mobile-search-panel__results {
		display: block !important;
	}

	#header.gt-header-v2 .gt-mobile-search-panel__results-inner {
		max-height: calc(min(58dvh, 520px) - 48px) !important;
		overflow-y: auto !important;
		overscroll-behavior: contain !important;
	}

	#header.gt-header-v2 .gt-mobile-search-panel__see-all {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;

		min-height: 48px !important;

		color: rgba(255, 255, 255, .74) !important;
		font-size: 13px !important;
		font-weight: 820 !important;
		text-decoration: none !important;

		border-top: 1px solid rgba(255, 255, 255, .055) !important;
		background: rgba(255, 255, 255, .018) !important;
	}

	#header.gt-header-v2 .gt-mobile-search-panel__message {
		padding: 18px !important;

		color: rgba(255, 255, 255, .68) !important;
		font-size: 13px !important;
		font-weight: 700 !important;
	}
}

@media (max-width: 390px) {

	#header.gt-header-v2 .gt-mobile-search-panel {
		left: 10px !important;
		right: 10px !important;
		top: 9px !important;
	}

	#header.gt-header-v2 .gt-mobile-search-panel__form {
		grid-template-columns: minmax(0, 1fr) 42px !important;
		gap: 8px !important;
	}

	#header.gt-header-v2 .gt-mobile-search-panel__shell {
		height: 46px !important;
		padding: 0 12px !important;
	}

	#header.gt-header-v2 .gt-mobile-search-panel__input {
		font-size: 13.5px !important;
	}

	#header.gt-header-v2 .gt-mobile-search-panel__close {
		width: 42px !important;
		height: 42px !important;
	}

	#header.gt-header-v2 .gt-mobile-search-panel__close svg {
		width: 18px !important;
		height: 18px !important;
	}
}

/* ==========================================================
   Gamers Things - Mobile Search Panel IG Alignment V3
   Pill + close separado, más parecido a Instant Gaming
========================================================== */

@media (max-width: 849px) {

  #header.gt-header-v2 .gt-mobile-search-panel {
    top: 12px !important;
    left: 14px !important;
    right: 14px !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 48px !important;
    gap: 10px !important;
    align-items: center !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__shell {
    height: 48px !important;
    min-height: 48px !important;

    border-radius: 999px !important;
    padding: 0 15px !important;

    background:
      radial-gradient(circle at 50% 0%, rgba(185, 170, 255, .24), transparent 58%),
      linear-gradient(180deg, rgba(129, 98, 255, .98), rgba(105, 78, 228, .98)) !important;

    box-shadow:
      0 14px 30px rgba(124, 92, 255, .22),
      inset 0 1px 0 rgba(255, 255, 255, .16) !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__close {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;

    margin: 0 !important;

    border-radius: 50% !important;

    background:
      linear-gradient(180deg, rgba(255,255,255,.060), rgba(255,255,255,.014)),
      rgba(8, 10, 20, .84) !important;

    border: 1px solid rgba(255,255,255,.16) !important;

    color: rgba(255,255,255,.88) !important;

    box-shadow:
      0 12px 28px rgba(0,0,0,.26),
      inset 0 1px 0 rgba(255,255,255,.05) !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__close svg {
    width: 19px !important;
    height: 19px !important;
  }

  #header.gt-header-v2.gt-mobile-search-open .gt-mobile-platform-rail {
    padding-top: 6px !important;
  }
}

@media (max-width: 390px) {

  #header.gt-header-v2 .gt-mobile-search-panel {
    left: 12px !important;
    right: 12px !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__form {
    grid-template-columns: minmax(0, 1fr) 44px !important;
    gap: 8px !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__shell {
    height: 46px !important;
    min-height: 46px !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__close {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
  }
}

/* ==========================================================
   Gamers Things - Mobile Search Panel Open Animation V1
   Animación: la barra se expande desde el centro hacia ambos lados
========================================================== */

@media (max-width: 849px) {

  #header.gt-header-v2 .gt-mobile-search-panel {
    transform-origin: center center !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__shell {
    transform-origin: center center !important;
  }

  #header.gt-header-v2.gt-mobile-search-open .gt-mobile-search-panel__shell {
    animation: gtMobileSearchPillOpen .34s cubic-bezier(.22, 1, .36, 1) both !important;
  }

  #header.gt-header-v2.gt-mobile-search-open .gt-mobile-search-panel__close {
    animation: gtMobileSearchCloseOpen .28s cubic-bezier(.22, 1, .36, 1) .08s both !important;
  }

  #header.gt-header-v2.gt-mobile-search-open .gt-mobile-search-panel__icon,
  #header.gt-header-v2.gt-mobile-search-open .gt-mobile-search-panel__input {
    animation: gtMobileSearchContentFade .22s ease .13s both !important;
  }

  #header.gt-header-v2.gt-mobile-search-open .gt-mobile-platform-rail {
    animation: gtMobileSearchRailSettle .26s ease .05s both !important;
  }
}

@keyframes gtMobileSearchPillOpen {
  0% {
    opacity: 0;
    transform: scaleX(.18) scaleY(.92);
    filter: brightness(1.2) blur(.2px);
  }

  58% {
    opacity: 1;
    transform: scaleX(1.035) scaleY(1);
    filter: brightness(1.08) blur(0);
  }

  100% {
    opacity: 1;
    transform: scaleX(1) scaleY(1);
    filter: brightness(1);
  }
}

@keyframes gtMobileSearchCloseOpen {
  0% {
    opacity: 0;
    transform: scale(.72) rotate(-12deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes gtMobileSearchContentFade {
  0% {
    opacity: 0;
    transform: translateY(2px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gtMobileSearchRailSettle {
  0% {
    opacity: .72;
    transform: translateY(-4px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================
   Gamers Things - Mobile Search Panel Open Animation V2
   Más suave, sin rebote brusco
========================================================== */

@media (max-width: 849px) {

  #header.gt-header-v2.gt-mobile-search-open .gt-mobile-search-panel__shell {
    animation: gtMobileSearchPillOpenSoft .46s cubic-bezier(.16, 1, .3, 1) both !important;
    will-change: transform, opacity, filter !important;
  }

  #header.gt-header-v2.gt-mobile-search-open .gt-mobile-search-panel__close {
    animation: gtMobileSearchCloseOpenSoft .38s cubic-bezier(.16, 1, .3, 1) .10s both !important;
    will-change: transform, opacity !important;
  }

  #header.gt-header-v2.gt-mobile-search-open .gt-mobile-search-panel__icon,
  #header.gt-header-v2.gt-mobile-search-open .gt-mobile-search-panel__input {
    animation: gtMobileSearchContentFadeSoft .30s ease-out .18s both !important;
  }

  #header.gt-header-v2.gt-mobile-search-open .gt-mobile-platform-rail {
    animation: gtMobileSearchRailSettleSoft .34s ease-out .06s both !important;
  }
}

@keyframes gtMobileSearchPillOpenSoft {
  0% {
    opacity: 0;
    transform: scaleX(.24) scaleY(.96);
    filter: brightness(1.08);
  }

  72% {
    opacity: 1;
    transform: scaleX(1.012) scaleY(1);
    filter: brightness(1.03);
  }

  100% {
    opacity: 1;
    transform: scaleX(1) scaleY(1);
    filter: brightness(1);
  }
}

@keyframes gtMobileSearchCloseOpenSoft {
  0% {
    opacity: 0;
    transform: scale(.86);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes gtMobileSearchContentFadeSoft {
  0% {
    opacity: 0;
    transform: translateY(1px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gtMobileSearchRailSettleSoft {
  0% {
    opacity: .86;
    transform: translateY(-2px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================
   Gamers Things - Mobile Search Close Animation V1
========================================================== */

@media (max-width: 849px) {

  #header.gt-header-v2.gt-mobile-search-closing .gt-mobile-search-panel {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
  }

  #header.gt-header-v2.gt-mobile-search-closing .gt-mobile-search-panel__shell {
    animation: gtMobileSearchPillCloseSoft .34s cubic-bezier(.4, 0, .2, 1) both !important;
  }

  #header.gt-header-v2.gt-mobile-search-closing .gt-mobile-search-panel__close {
    animation: gtMobileSearchCloseCloseSoft .26s cubic-bezier(.4, 0, .2, 1) both !important;
  }

  #header.gt-header-v2.gt-mobile-search-closing .gt-mobile-search-panel__icon,
  #header.gt-header-v2.gt-mobile-search-closing .gt-mobile-search-panel__input {
    animation: gtMobileSearchContentCloseSoft .18s ease both !important;
  }
}

@keyframes gtMobileSearchPillCloseSoft {
  0% {
    opacity: 1;
    transform: scaleX(1) scaleY(1);
    filter: brightness(1);
  }

  100% {
    opacity: 0;
    transform: scaleX(.24) scaleY(.96);
    filter: brightness(1.06);
  }
}

@keyframes gtMobileSearchCloseCloseSoft {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(.86);
  }
}

@keyframes gtMobileSearchContentCloseSoft {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(1px);
  }
}

/* ==========================================================
   Gamers Things - Mobile Search Typography + Results Polish
========================================================== */

@media (max-width: 849px) {

  /* Placeholder / input */
  #header.gt-header-v2 .gt-mobile-search-panel__input {
    font-size: 13.5px !important;
    font-weight: 760 !important;
    letter-spacing: -.02em !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__input::placeholder {
    color: rgba(255, 255, 255, .54) !important;
    font-size: 13.5px !important;
    font-weight: 760 !important;
  }

  /* Backspace interno */
  #header.gt-header-v2 .gt-mobile-search-panel__clear {
    color: rgba(255, 255, 255, .82) !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__clear svg {
    width: 21px !important;
    height: 21px !important;
    fill: currentColor !important;
    stroke: none !important;
  }

  /* Resultados */
  #header.gt-header-v2 .gt-mobile-search-panel__results {
    border-radius: 18px !important;
    background:
      linear-gradient(180deg, rgba(17, 19, 36, .94), rgba(8, 10, 22, .96)),
      rgba(8, 10, 22, .96) !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__results .autocomplete-suggestion {
    min-height: 64px !important;
    padding: 10px 12px !important;

    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) auto !important;
    gap: 11px !important;
    align-items: center !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__results img.search-image {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;

    border-radius: 50% !important;
    object-fit: cover !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__results .search-name {
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__results .gt-search-result-title {
    display: block !important;

    color: rgba(255, 255, 255, .94) !important;
    font-size: 13.5px !important;
    font-weight: 850 !important;
    line-height: 1.18 !important;
    letter-spacing: -.025em !important;

    white-space: normal !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__results .gt-search-result-platform {
    display: block !important;

    color: rgba(255, 255, 255, .66) !important;
    font-size: 12px !important;
    font-weight: 720 !important;
    line-height: 1.15 !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__results .search-price {
    color: rgba(255, 255, 255, .90) !important;
    font-size: 12.5px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__see-all {
    min-height: 46px !important;
    font-size: 12.5px !important;
    font-weight: 820 !important;
  }
}

/* ==========================================================
   Gamers Things - Mobile Search Results Wide Images + Scrollbar
   Corrige scroll nativo blanco y cambia imágenes circulares a wide
========================================================== */

@media (max-width: 849px) {

  /* Scroll interno más premium */
  #header.gt-header-v2 .gt-mobile-search-panel__results-inner {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(124, 92, 255, .42) rgba(255, 255, 255, .035) !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__results-inner::-webkit-scrollbar {
    width: 6px !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__results-inner::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .030) !important;
    border-radius: 999px !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__results-inner::-webkit-scrollbar-thumb {
    background:
      linear-gradient(
        180deg,
        rgba(146, 113, 255, .72),
        rgba(96, 75, 210, .56)
      ) !important;

    border-radius: 999px !important;
    border: 1px solid rgba(8, 10, 22, .70) !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__results-inner::-webkit-scrollbar-thumb:hover {
    background:
      linear-gradient(
        180deg,
        rgba(164, 134, 255, .86),
        rgba(112, 86, 230, .68)
      ) !important;
  }

  /* Contenedor de resultados */
  #header.gt-header-v2 .gt-mobile-search-panel__results {
    overflow: hidden !important;
    border-radius: 18px !important;
  }

  /* Cada resultado con imagen wide */
  #header.gt-header-v2 .gt-mobile-search-panel__results .autocomplete-suggestion {
    min-height: 72px !important;

    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;

    padding: 10px 13px !important;

    border-bottom: 1px solid rgba(255, 255, 255, .045) !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__results .autocomplete-suggestion:last-child {
    border-bottom: 0 !important;
  }

  /* Imagen horizontal, no circular */
  #header.gt-header-v2 .gt-mobile-search-panel__results img.search-image,
  #header.gt-header-v2 .gt-mobile-search-panel__results .autocomplete-suggestion img {
    width: 88px !important;
    height: 50px !important;
    min-width: 88px !important;
    max-width: 88px !important;

    display: block !important;

    border-radius: 9px !important;

    object-fit: cover !important;
    object-position: center center !important;

    background: rgba(255, 255, 255, .035) !important;

    border: 1px solid rgba(255, 255, 255, .070) !important;

    box-shadow:
      0 10px 22px rgba(0, 0, 0, .22),
      inset 0 1px 0 rgba(255, 255, 255, .050) !important;
  }

  /* Texto más ordenado al lado de imagen wide */
  #header.gt-header-v2 .gt-mobile-search-panel__results .search-name {
    min-width: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__results .gt-search-result-title {
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1.16 !important;
    letter-spacing: -.025em !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;

    overflow: hidden !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__results .gt-search-result-platform {
    font-size: 11.5px !important;
    font-weight: 720 !important;
    line-height: 1.12 !important;

    color: rgba(255, 255, 255, .62) !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__results .search-price {
    align-self: center !important;

    font-size: 12px !important;
    font-weight: 850 !important;
    line-height: 1 !important;

    white-space: nowrap !important;

    color: rgba(255, 255, 255, .88) !important;
  }
}

@media (max-width: 390px) {

  #header.gt-header-v2 .gt-mobile-search-panel__results .autocomplete-suggestion {
    grid-template-columns: 78px minmax(0, 1fr) auto !important;
    gap: 10px !important;

    min-height: 68px !important;
    padding: 9px 11px !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__results img.search-image,
  #header.gt-header-v2 .gt-mobile-search-panel__results .autocomplete-suggestion img {
    width: 78px !important;
    height: 44px !important;
    min-width: 78px !important;
    max-width: 78px !important;

    border-radius: 8px !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__results .gt-search-result-title {
    font-size: 12.4px !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__results .gt-search-result-platform {
    font-size: 11px !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__results .search-price {
    font-size: 11.4px !important;
  }
}

/* ==========================================================
   Gamers Things - Mobile Search Results Readability Overlay
   Mejora lectura del panel de resultados mobile
========================================================== */

@media (max-width: 849px) {

  #header.gt-header-v2 .gt-mobile-search-panel__results {
    position: relative !important;

    background:
      linear-gradient(
        180deg,
        rgba(10, 12, 26, .985) 0%,
        rgba(7, 9, 20, .975) 100%
      ) !important;

    backdrop-filter: blur(18px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(120%) !important;

    box-shadow:
      0 28px 80px rgba(0, 0, 0, .58),
      0 0 0 1px rgba(124, 92, 255, .11),
      inset 0 1px 0 rgba(255, 255, 255, .045) !important;

    isolation: isolate !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__results::before {
    content: "" !important;

    position: absolute !important;
    inset: 0 !important;

    z-index: 0 !important;
    pointer-events: none !important;

    background:
      radial-gradient(circle at 50% 0%, rgba(124, 92, 255, .10), transparent 42%),
      linear-gradient(
        180deg,
        rgba(4, 6, 14, .38) 0%,
        rgba(4, 6, 14, .68) 100%
      ) !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__results-inner,
  #header.gt-header-v2 .gt-mobile-search-panel__see-all {
    position: relative !important;
    z-index: 2 !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__results .autocomplete-suggestion {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, .018),
        rgba(255, 255, 255, .006)
      ) !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__results .autocomplete-suggestion:hover,
  #header.gt-header-v2 .gt-mobile-search-panel__results .autocomplete-suggestion:active {
    background:
      linear-gradient(
        180deg,
        rgba(124, 92, 255, .085),
        rgba(255, 255, 255, .012)
      ) !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__see-all {
    background:
      linear-gradient(
        180deg,
        rgba(12, 15, 31, .98),
        rgba(8, 10, 22, .98)
      ) !important;
  }
}

/* ==========================================================
   Gamers Things - Mobile Search Backdrop Safe V2
   Overlay global detrás del header/search, sin tapar el panel
========================================================== */

@media (max-width: 849px) {

  body.gt-mobile-search-backdrop-on {
    overflow-x: hidden !important;
  }

  body.gt-mobile-search-backdrop-on::before {
    content: "" !important;

    position: fixed !important;
    inset: 0 !important;

    z-index: 9000 !important;
    pointer-events: none !important;

    background:
      radial-gradient(
        circle at 50% 96px,
        rgba(124, 92, 255, .10),
        transparent 34%
      ),
      linear-gradient(
        180deg,
        rgba(5, 7, 16, .20) 0%,
        rgba(5, 7, 16, .48) 42%,
        rgba(3, 5, 12, .66) 100%
      ) !important;

    backdrop-filter: blur(5px) saturate(108%) !important;
    -webkit-backdrop-filter: blur(5px) saturate(108%) !important;

    animation: gtMobileSearchBackdropSafeIn .28s ease-out both !important;
  }

  #header.gt-header-v2 {
    position: relative !important;
    z-index: 9999 !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel {
    z-index: 10020 !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__results {
    z-index: 10030 !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail {
    position: relative !important;
    z-index: 10010 !important;
  }
}

@keyframes gtMobileSearchBackdropSafeIn {
  0% {
    opacity: 0;
    backdrop-filter: blur(0) saturate(100%);
    -webkit-backdrop-filter: blur(0) saturate(100%);
  }

  100% {
    opacity: 1;
    backdrop-filter: blur(5px) saturate(108%);
    -webkit-backdrop-filter: blur(5px) saturate(108%);
  }
}

/* ==========================================================
   Gamers Things - Mobile Search Results Below Platform Rail
   Evita que la rail PC/PS/Xbox/Nintendo tape el primer resultado
========================================================== */

@media (max-width: 849px) {

  #header.gt-header-v2.gt-mobile-search-open .gt-mobile-search-panel__results {
    margin-top: 64px !important;

    max-height: calc(100dvh - 176px) !important;

    position: relative !important;
    z-index: 10040 !important;
  }

  #header.gt-header-v2.gt-mobile-search-open .gt-mobile-search-panel__results-inner {
    max-height: calc(100dvh - 224px) !important;
  }

  #header.gt-header-v2.gt-mobile-search-open .gt-mobile-platform-rail {
    position: relative !important;
    z-index: 10030 !important;
  }
}

@media (max-width: 390px) {

  #header.gt-header-v2.gt-mobile-search-open .gt-mobile-search-panel__results {
    margin-top: 60px !important;
    max-height: calc(100dvh - 168px) !important;
  }

  #header.gt-header-v2.gt-mobile-search-open .gt-mobile-search-panel__results-inner {
    max-height: calc(100dvh - 216px) !important;
  }
}

/* ==========================================================
   Gamers Things - Mobile Search Advanced + Compact Polish
   Placeholder más chico + botón búsqueda avanzada + menos salto visual
========================================================== */

@media (max-width: 849px) {

  /* Evita que el search abierto genere sensación de salto vertical */
  #header.gt-header-v2 #masthead {
    position: relative !important;
  }

  #header.gt-header-v2.gt-mobile-search-open .gt-mobile-platform-rail {
    padding-top: 0 !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel {
    top: 11px !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__form {
    grid-template-columns: minmax(0, 1fr) 46px !important;
    gap: 10px !important;
    align-items: center !important;
  }

  /* Pill apenas más compacto */
  #header.gt-header-v2 .gt-mobile-search-panel__shell {
    height: 44px !important;
    min-height: 44px !important;

    padding: 0 12px !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__icon {
    width: 18px !important;
    height: 18px !important;
    flex-basis: 18px !important;

    margin-right: 9px !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__icon svg {
    width: 18px !important;
    height: 18px !important;
  }

  /* Placeholder/input más fino */
  #header.gt-header-v2 .gt-mobile-search-panel__input {
    font-size: 12.8px !important;
    font-weight: 760 !important;
    letter-spacing: -.018em !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__input::placeholder {
    font-size: 12.8px !important;
    font-weight: 760 !important;
    letter-spacing: -.018em !important;
    color: rgba(255, 255, 255, .52) !important;
  }

  /* Búsqueda avanzada dentro del pill */
  #header.gt-header-v2 .gt-mobile-search-panel__advanced {
    flex: 0 0 auto !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    max-width: 118px !important;

    margin-left: 10px !important;
    padding-left: 10px !important;

    border-left: 1px solid rgba(255, 255, 255, .16) !important;

    color: rgba(255, 255, 255, .88) !important;

    font-size: 10.8px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    letter-spacing: -.015em !important;

    text-decoration: none !important;
    white-space: nowrap !important;

    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__advanced:hover,
  #header.gt-header-v2 .gt-mobile-search-panel__advanced:active {
    color: #fff !important;
  }

  /* Backspace interno más contenido para convivir con advanced */
  #header.gt-header-v2 .gt-mobile-search-panel__clear {
    flex-basis: 26px !important;

    width: 26px !important;
    height: 26px !important;

    margin-left: 6px !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__clear svg {
    width: 19px !important;
    height: 19px !important;
  }

  /* X externa alineada con el pill compacto */
  #header.gt-header-v2 .gt-mobile-search-panel__close {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__close svg {
    width: 18px !important;
    height: 18px !important;
  }
}

@media (max-width: 390px) {

  #header.gt-header-v2 .gt-mobile-search-panel {
    top: 10px !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__form {
    grid-template-columns: minmax(0, 1fr) 42px !important;
    gap: 8px !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__shell {
    height: 42px !important;
    min-height: 42px !important;

    padding: 0 11px !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__input,
  #header.gt-header-v2 .gt-mobile-search-panel__input::placeholder {
    font-size: 12px !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__advanced {
    max-width: 92px !important;

    margin-left: 8px !important;
    padding-left: 8px !important;

    font-size: 10px !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__close {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
  }
}

/* ==========================================================
   Gamers Things - Mobile Search Open Final Spacing Polish
   Baja rail de plataformas + quita separador advanced
========================================================== */

@media (max-width: 849px) {

  /* Baja un poco la rail cuando el search mobile está abierto */
  #header.gt-header-v2.gt-mobile-search-open .gt-mobile-platform-rail {
    padding-top: 7px !important;
  }

  /* Quitar separador del botón Búsqueda avanzada */
  #header.gt-header-v2 .gt-mobile-search-panel__advanced {
    border-left: 0 !important;
    padding-left: 0 !important;
    margin-left: 12px !important;
  }
}

@media (max-width: 390px) {

  #header.gt-header-v2.gt-mobile-search-open .gt-mobile-platform-rail {
    padding-top: 6px !important;
  }

  #header.gt-header-v2 .gt-mobile-search-panel__advanced {
    margin-left: 9px !important;
  }
}

/* ==========================================================
   Gamers Things - Mobile Platform Rail Top Spacing Fix
   Baja apenas la rail PC / PlayStation / Xbox / Nintendo
========================================================== */

@media (max-width: 849px) {

  #header.gt-header-v2 .gt-mobile-platform-rail {
    padding-top: 8px !important;
    padding-bottom: 10px !important;
  }

  #header.gt-header-v2 .gt-mobile-platform-rail__inner {
    align-items: center !important;
  }
}

@media (max-width: 390px) {

  #header.gt-header-v2 .gt-mobile-platform-rail {
    padding-top: 8px !important;
    padding-bottom: 9px !important;
  }
}

/* =========================================================
   Gamers Things - Login Popup / Account Lightbox V1
   WooCommerce + Flatsome login modal
   ========================================================= */

.mfp-wrap #login-form-popup {
  width: min(460px, calc(100vw - 32px)) !important;
  max-width: 460px !important;
  padding: 0 !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(124, 92, 255, .16), transparent 36%),
    linear-gradient(145deg, rgba(17, 18, 30, .96), rgba(7, 8, 15, .98)) !important;
  border: 1px solid rgba(255, 255, 255, .09) !important;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, .55),
    inset 0 1px 0 rgba(255, 255, 255, .045) !important;
}

.mfp-wrap #login-form-popup.lightbox-content {
  color: #f7f7fb !important;
}

.mfp-wrap #login-form-popup .woocommerce {
  margin: 0 !important;
  padding: 0 !important;
}

.mfp-wrap #login-form-popup .account-container,
.mfp-wrap #login-form-popup .lightbox-inner,
.mfp-wrap #login-form-popup .account-login-inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: inherit !important;
}

/* Contenido interno */
.mfp-wrap #login-form-popup .account-login-inner {
  padding: 34px 34px 32px !important;
}

/* Título */
.mfp-wrap #login-form-popup h2 {
  margin: 0 0 8px !important;
  color: #ffffff !important;
  font-size: 28px !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  letter-spacing: -.04em !important;
  text-transform: none !important;
}

.mfp-wrap #login-form-popup h2::after {
  content: "Accedé a tu cuenta para ver tus compras, pedidos y soporte.";
  display: block;
  max-width: 340px;
  margin-top: 10px;
  color: rgba(244, 245, 251, .62);
  font-size: 13.5px;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: 0;
}

/* Form */
.mfp-wrap #login-form-popup form.login {
  display: grid !important;
  gap: 16px !important;
  margin: 26px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.mfp-wrap #login-form-popup p {
  margin: 0 !important;
}

/* Labels */
.mfp-wrap #login-form-popup label {
  display: block !important;
  margin: 0 0 8px !important;
  color: rgba(244, 245, 251, .78) !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
}

.mfp-wrap #login-form-popup .required {
  color: #a996ff !important;
}

/* Inputs */
.mfp-wrap #login-form-popup input[type="text"],
.mfp-wrap #login-form-popup input[type="email"],
.mfp-wrap #login-form-popup input[type="password"],
.mfp-wrap #login-form-popup .woocommerce-Input {
  width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, .10) !important;
  background:
    linear-gradient(145deg, rgba(6, 7, 13, .92), rgba(11, 12, 20, .86)) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035) !important;
  outline: none !important;
}

.mfp-wrap #login-form-popup input[type="text"]:focus,
.mfp-wrap #login-form-popup input[type="email"]:focus,
.mfp-wrap #login-form-popup input[type="password"]:focus,
.mfp-wrap #login-form-popup .woocommerce-Input:focus {
  border-color: rgba(124, 92, 255, .50) !important;
  box-shadow:
    0 0 0 4px rgba(124, 92, 255, .10),
    inset 0 1px 0 rgba(255, 255, 255, .04) !important;
}

/* Password wrapper */
.mfp-wrap #login-form-popup .password-input {
  display: block !important;
  position: relative !important;
}

.mfp-wrap #login-form-popup .password-input input {
  padding-right: 48px !important;
}

/* Botón mostrar contraseña */
.mfp-wrap #login-form-popup .show-password-input {
  position: absolute !important;
  top: 50% !important;
  right: 12px !important;
  width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  transform: translateY(-50%) !important;
  background: rgba(255, 255, 255, .045) !important;
  color: rgba(244, 245, 251, .58) !important;
  box-shadow: none !important;
}

.mfp-wrap #login-form-popup .show-password-input:hover {
  background: rgba(124, 92, 255, .12) !important;
  color: #ffffff !important;
}

/* Remember + submit */
.mfp-wrap #login-form-popup .form-row:not(.form-row-wide) {
  display: grid !important;
  gap: 16px !important;
  margin-top: 2px !important;
}

.mfp-wrap #login-form-popup .woocommerce-form-login__rememberme {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: max-content !important;
  margin: 0 !important;
  color: rgba(244, 245, 251, .70) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}

.mfp-wrap #login-form-popup .woocommerce-form-login__rememberme input[type="checkbox"] {
  appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  border-radius: 6px !important;
  border: 1px solid rgba(255, 255, 255, .20) !important;
  background: rgba(255, 255, 255, .04) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035) !important;
  cursor: pointer !important;
}

.mfp-wrap #login-form-popup .woocommerce-form-login__rememberme input[type="checkbox"]:checked {
  border-color: rgba(124, 92, 255, .72) !important;
  background:
    linear-gradient(135deg, #7c5cff, #9d83ff) !important;
}

.mfp-wrap #login-form-popup .woocommerce-form-login__rememberme input[type="checkbox"]:checked::after {
  content: "";
  display: block;
  width: 9px;
  height: 5px;
  margin: 5px auto 0;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

/* Submit */
.mfp-wrap #login-form-popup .woocommerce-form-login__submit,
.mfp-wrap #login-form-popup button[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: max-content !important;
  min-width: 170px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #7c5cff, #9d83ff) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: -.01em !important;
  text-transform: none !important;
  box-shadow: 0 14px 36px rgba(124, 92, 255, .24) !important;
  cursor: pointer !important;
}

.mfp-wrap #login-form-popup .woocommerce-form-login__submit:hover,
.mfp-wrap #login-form-popup button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(124, 92, 255, .30) !important;
}

/* Lost password */
.mfp-wrap #login-form-popup .woocommerce-LostPassword {
  margin-top: 0 !important;
}

.mfp-wrap #login-form-popup .woocommerce-LostPassword a {
  display: inline-flex !important;
  width: max-content !important;
  color: rgba(244, 245, 251, .62) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  text-decoration-color: rgba(169, 150, 255, .26) !important;
}

.mfp-wrap #login-form-popup .woocommerce-LostPassword a:hover {
  color: #ffffff !important;
  text-decoration-color: rgba(169, 150, 255, .62) !important;
}

/* Notices */
.mfp-wrap #login-form-popup .woocommerce-notices-wrapper {
  margin: 0 !important;
}

.mfp-wrap #login-form-popup .woocommerce-error,
.mfp-wrap #login-form-popup .woocommerce-message,
.mfp-wrap #login-form-popup .woocommerce-info {
  margin: 0 0 18px !important;
  padding: 13px 15px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, .10) !important;
  background: rgba(255, 255, 255, .045) !important;
  color: rgba(244, 245, 251, .78) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

/* Overlay */
.mfp-bg {
  background: #05060d !important;
  opacity: .82 !important;
}

/* Close button */
.mfp-wrap .mfp-close {
  width: 42px !important;
  height: 42px !important;
  line-height: 42px !important;
  color: rgba(244, 245, 251, .70) !important;
  font-size: 28px !important;
  opacity: 1 !important;
}

.mfp-wrap .mfp-close:hover {
  color: #ffffff !important;
}

/* Mobile */
@media (max-width: 520px) {
  .mfp-wrap #login-form-popup {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    border-radius: 24px !important;
  }

  .mfp-wrap #login-form-popup .account-login-inner {
    padding: 28px 22px 24px !important;
  }

  .mfp-wrap #login-form-popup h2 {
    font-size: 26px !important;
  }

  .mfp-wrap #login-form-popup h2::after {
    font-size: 13px !important;
  }

  .mfp-wrap #login-form-popup form.login {
    gap: 15px !important;
    margin-top: 24px !important;
  }

  .mfp-wrap #login-form-popup .woocommerce-form-login__submit,
  .mfp-wrap #login-form-popup button[type="submit"] {
    width: 100% !important;
  }

  .mfp-wrap #login-form-popup .woocommerce-LostPassword a {
    margin-inline: auto;
  }
}

/* =========================================================
   Gamers Things - Login Popup Mobile Polish V2
   Ajuste fino de modal login mobile
   ========================================================= */

/* Asegura que el lightbox quede por encima del header */
.mfp-bg,
.mfp-wrap {
  z-index: 999999 !important;
}

/* Overlay más uniforme */
.mfp-bg {
  background:
    radial-gradient(circle at 50% 0%, rgba(124, 92, 255, .16), transparent 38%),
    #05060d !important;
  opacity: .88 !important;
}

/* Centrado real y respiración */
.mfp-wrap .mfp-container {
  padding: 22px 16px !important;
}

/* Caja principal */
.mfp-wrap #login-form-popup {
  width: min(430px, calc(100vw - 32px)) !important;
  max-width: 430px !important;
  margin: 0 auto !important;
  border-radius: 26px !important;
}

/* Padding interno un poco más compacto */
.mfp-wrap #login-form-popup .account-login-inner {
  padding: 30px 24px 26px !important;
}

/* Título más compacto */
.mfp-wrap #login-form-popup h2 {
  font-size: 25px !important;
  line-height: 1.08 !important;
  margin-bottom: 0 !important;
}

.mfp-wrap #login-form-popup h2::after {
  max-width: 320px !important;
  margin-top: 9px !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

/* Menos espacio general del form */
.mfp-wrap #login-form-popup form.login {
  gap: 14px !important;
  margin-top: 22px !important;
}

/* Labels */
.mfp-wrap #login-form-popup label {
  margin-bottom: 7px !important;
  font-size: 11.5px !important;
}

/* Inputs más compactos */
.mfp-wrap #login-form-popup input[type="text"],
.mfp-wrap #login-form-popup input[type="email"],
.mfp-wrap #login-form-popup input[type="password"],
.mfp-wrap #login-form-popup .woocommerce-Input {
  min-height: 46px !important;
  border-radius: 15px !important;
  font-size: 13.5px !important;
}

/* Recordarme + submit */
.mfp-wrap #login-form-popup .form-row:not(.form-row-wide) {
  gap: 14px !important;
}

.mfp-wrap #login-form-popup .woocommerce-form-login__rememberme {
  font-size: 12.5px !important;
}

/* Botón full width en mobile */
.mfp-wrap #login-form-popup .woocommerce-form-login__submit,
.mfp-wrap #login-form-popup button[type="submit"] {
  width: 100% !important;
  min-height: 48px !important;
}

/* Link contraseña */
.mfp-wrap #login-form-popup .woocommerce-LostPassword a {
  font-size: 12.5px !important;
}

/* Botón cerrar más integrado */
.mfp-wrap .mfp-close {
  top: 10px !important;
  right: 10px !important;
  width: 38px !important;
  height: 38px !important;
  line-height: 38px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .045) !important;
  color: rgba(244, 245, 251, .72) !important;
  font-size: 24px !important;
}

.mfp-wrap .mfp-close:hover {
  background: rgba(124, 92, 255, .12) !important;
  color: #ffffff !important;
}

/* Mobile chico */
@media (max-width: 420px) {
  .mfp-wrap .mfp-container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .mfp-wrap #login-form-popup {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    border-radius: 24px !important;
  }

  .mfp-wrap #login-form-popup .account-login-inner {
    padding: 28px 22px 24px !important;
  }

  .mfp-wrap #login-form-popup h2 {
    font-size: 24px !important;
  }
}

/* Pantallas bajas: permite scroll interno sin romper */
@media (max-height: 720px) {
  .mfp-wrap #login-form-popup {
    max-height: calc(100vh - 44px) !important;
    overflow-y: auto !important;
  }

  .mfp-wrap #login-form-popup .account-login-inner {
    padding-top: 26px !important;
    padding-bottom: 22px !important;
  }
}

/* =========================================================
   Gamers Things - Login Popup Color Polish V3
   Menos violeta, más dark premium
   ========================================================= */

/* Overlay menos violeta */
.mfp-bg {
  background: #050712 !important;
  opacity: .86 !important;
}

/* Caja principal más neutral */
.mfp-wrap #login-form-popup {
  background:
    linear-gradient(145deg, rgba(17, 18, 28, .98), rgba(7, 8, 15, .99)) !important;
  border-color: rgba(255, 255, 255, .095) !important;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, .58),
    inset 0 1px 0 rgba(255, 255, 255, .045) !important;
}

/* Quitamos la sensación de glow violeta interno */
.mfp-wrap #login-form-popup::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .045), transparent 34%);
  opacity: .7;
}

/* Contenido por encima del pseudo */
.mfp-wrap #login-form-popup .woocommerce,
.mfp-wrap #login-form-popup .account-container,
.mfp-wrap #login-form-popup .account-login-inner {
  position: relative;
  z-index: 1;
}

/* Título */
.mfp-wrap #login-form-popup h2 {
  color: #f7f7fb !important;
}

.mfp-wrap #login-form-popup h2::after {
  color: rgba(244, 245, 251, .58) !important;
}

/* Labels */
.mfp-wrap #login-form-popup label {
  color: rgba(244, 245, 251, .74) !important;
}

.mfp-wrap #login-form-popup .required {
  color: rgba(169, 150, 255, .82) !important;
}

/* Inputs más oscuros y menos violetas */
.mfp-wrap #login-form-popup input[type="text"],
.mfp-wrap #login-form-popup input[type="email"],
.mfp-wrap #login-form-popup input[type="password"],
.mfp-wrap #login-form-popup .woocommerce-Input {
  background:
    linear-gradient(145deg, rgba(5, 6, 12, .94), rgba(9, 10, 17, .90)) !important;
  border-color: rgba(255, 255, 255, .10) !important;
  color: #ffffff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .035) !important;
}

.mfp-wrap #login-form-popup input[type="text"]:focus,
.mfp-wrap #login-form-popup input[type="email"]:focus,
.mfp-wrap #login-form-popup input[type="password"]:focus,
.mfp-wrap #login-form-popup .woocommerce-Input:focus {
  border-color: rgba(169, 150, 255, .38) !important;
  box-shadow:
    0 0 0 3px rgba(124, 92, 255, .075),
    inset 0 1px 0 rgba(255, 255, 255, .04) !important;
}

/* Mostrar contraseña más neutral */
.mfp-wrap #login-form-popup .show-password-input {
  background: rgba(255, 255, 255, .04) !important;
  color: rgba(244, 245, 251, .50) !important;
}

.mfp-wrap #login-form-popup .show-password-input:hover {
  background: rgba(255, 255, 255, .075) !important;
  color: #ffffff !important;
}

/* Checkbox menos violeta por defecto */
.mfp-wrap #login-form-popup .woocommerce-form-login__rememberme input[type="checkbox"] {
  background: rgba(255, 255, 255, .035) !important;
  border-color: rgba(255, 255, 255, .18) !important;
}

.mfp-wrap #login-form-popup .woocommerce-form-login__rememberme input[type="checkbox"]:checked {
  border-color: rgba(124, 92, 255, .56) !important;
  background:
    linear-gradient(135deg, #6f55e8, #8b73f4) !important;
}

/* Botón principal: sigue violeta, pero menos glow y menos saturado */
.mfp-wrap #login-form-popup .woocommerce-form-login__submit,
.mfp-wrap #login-form-popup button[type="submit"] {
  background:
    linear-gradient(135deg, #7256ee, #947cff) !important;
  box-shadow:
    0 12px 30px rgba(124, 92, 255, .18) !important;
}

.mfp-wrap #login-form-popup .woocommerce-form-login__submit:hover,
.mfp-wrap #login-form-popup button[type="submit"]:hover {
  box-shadow:
    0 16px 38px rgba(124, 92, 255, .24) !important;
}

/* Link recuperar contraseña más sobrio */
.mfp-wrap #login-form-popup .woocommerce-LostPassword a {
  color: rgba(244, 245, 251, .58) !important;
  text-decoration-color: rgba(244, 245, 251, .20) !important;
}

.mfp-wrap #login-form-popup .woocommerce-LostPassword a:hover {
  color: #ffffff !important;
  text-decoration-color: rgba(169, 150, 255, .46) !important;
}

/* Botón cerrar más neutral */
.mfp-wrap .mfp-close {
  background: rgba(255, 255, 255, .045) !important;
  color: rgba(244, 245, 251, .68) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .04) !important;
}

.mfp-wrap .mfp-close:hover {
  background: rgba(255, 255, 255, .08) !important;
  color: #ffffff !important;
}

/* Mobile: un poco menos alto visualmente */
@media (max-width: 520px) {
  .mfp-wrap #login-form-popup .account-login-inner {
    padding-top: 26px !important;
    padding-bottom: 24px !important;
  }

  .mfp-wrap #login-form-popup form.login {
    margin-top: 20px !important;
  }
}

/* =========================================================
   Gamers Things - Login Popup Close Button Polish V4
   Cierre más limpio y premium para lightbox login
   ========================================================= */

.mfp-wrap .mfp-close {
  top: 14px !important;
  right: 14px !important;
  width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  line-height: 34px !important;
  padding: 0 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, .09) !important;
  background:
    linear-gradient(145deg, rgba(18, 19, 29, .88), rgba(8, 9, 16, .94)) !important;

  color: transparent !important;
  opacity: 1 !important;
  text-shadow: none !important;
  box-shadow:
    0 10px 26px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .045) !important;

  transition:
    background .18s ease,
    border-color .18s ease,
    transform .18s ease,
    box-shadow .18s ease !important;
}

/* Dibujamos una X propia, más fina */
.mfp-wrap .mfp-close::before,
.mfp-wrap .mfp-close::after {
  content: "" !important;
  position: absolute !important;
  width: 13px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: rgba(244, 245, 251, .68) !important;
  top: 50% !important;
  left: 50% !important;
  transform-origin: center !important;
}

.mfp-wrap .mfp-close::before {
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

.mfp-wrap .mfp-close::after {
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}

.mfp-wrap .mfp-close:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(169, 150, 255, .28) !important;
  background:
    linear-gradient(145deg, rgba(24, 25, 37, .94), rgba(10, 11, 18, .98)) !important;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 255, 255, .055) !important;
}

.mfp-wrap .mfp-close:hover::before,
.mfp-wrap .mfp-close:hover::after {
  background: #ffffff !important;
}

.mfp-wrap .mfp-close:focus-visible {
  outline: none !important;
  border-color: rgba(169, 150, 255, .42) !important;
  box-shadow:
    0 0 0 4px rgba(124, 92, 255, .10),
    0 14px 32px rgba(0, 0, 0, .34) !important;
}

/* Ajuste mobile */
@media (max-width: 520px) {
  .mfp-wrap .mfp-close {
    top: 12px !important;
    right: 12px !important;
    width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
  }

  .mfp-wrap .mfp-close::before,
  .mfp-wrap .mfp-close::after {
    width: 12px !important;
    height: 2px !important;
  }
}

/* =========================================================
   Gamers Things - Login Popup Overlay Stronger V5
   Overlay más agresivo para foco total en el login
   ========================================================= */

.mfp-bg {
  background:
    radial-gradient(circle at 50% 0%, rgba(124, 92, 255, .10), transparent 34%),
    rgba(3, 4, 10, .96) !important;
  opacity: .94 !important;
}

/* Oscurece un poco más el contenido detrás del modal */
.mfp-wrap::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(3, 4, 10, .18),
      rgba(3, 4, 10, .34)
    );
  z-index: -1;
}

/* El modal queda bien por encima del overlay */
.mfp-wrap #login-form-popup {
  position: relative !important;
  z-index: 2 !important;
}

/* El botón cerrar también queda por encima */
.mfp-wrap .mfp-close {
  z-index: 3 !important;
}

/* =========================================================
   Gamers Things - Desktop Header Dropdowns Polish V1
   Cart + Account dropdown premium
   ========================================================= */

@media (min-width: 850px) {

  /* Dropdown base */
  .header-nav-main .has-dropdown .nav-dropdown {
    min-width: 292px !important;
    padding: 12px !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, .09) !important;
    background:
      linear-gradient(145deg, rgba(17, 18, 28, .96), rgba(7, 8, 15, .98)) !important;
    box-shadow:
      0 28px 80px rgba(0, 0, 0, .46),
      inset 0 1px 0 rgba(255, 255, 255, .045) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: hidden !important;
  }

  .header-nav-main .has-dropdown .nav-dropdown::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .045), transparent 34%);
  }

  /* Cuenta: etiqueta superior */
  .header-nav-main .account-item .nav-dropdown::after {
    content: "Cuenta";
    display: block;
    margin: 0 0 8px;
    padding: 4px 6px 8px;
    color: rgba(169, 150, 255, .82);
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, .065);
  }

  /* Account links */
  .header-nav-main .account-item .nav-dropdown > li {
    position: relative;
    z-index: 1;
    margin: 0 !important;
    border: 0 !important;
  }

  .header-nav-main .account-item .nav-dropdown > li > a {
    display: flex !important;
    align-items: center !important;
    min-height: 42px !important;
    padding: 0 12px !important;
    border-radius: 14px !important;
    color: rgba(244, 245, 251, .68) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    transition:
      background .18s ease,
      color .18s ease,
      transform .18s ease !important;
  }

  .header-nav-main .account-item .nav-dropdown > li > a:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, .055) !important;
    transform: translateX(2px);
  }

  .header-nav-main .account-item .nav-dropdown > li.active > a,
  .header-nav-main .account-item .nav-dropdown > li.is-active > a {
    color: #ffffff !important;
    background: rgba(124, 92, 255, .12) !important;
  }

  /* Logout más separado */
  .header-nav-main .account-item .nav-dropdown .woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 8px !important;
    padding-top: 8px !important;
    border-top: 1px solid rgba(255, 255, 255, .065) !important;
  }

  /* Mini cart */
  .header-nav-main .cart-item .nav-dropdown {
    min-width: 330px !important;
  }

  .header-nav-main .cart-item .widget_shopping_cart_content {
    position: relative;
    z-index: 1;
  }

  .header-nav-main .cart-item .ux-mini-cart-empty {
    padding: 22px 18px 18px !important;
    color: rgba(244, 245, 251, .72) !important;
  }

  .header-nav-main .cart-item .ux-mini-cart-empty-icon {
    margin-bottom: 12px !important;
  }

  .header-nav-main .cart-item .ux-mini-cart-empty-icon svg {
    height: 58px !important;
    opacity: .16 !important;
    color: rgba(244, 245, 251, .72) !important;
  }

  .header-nav-main .cart-item .woocommerce-mini-cart__empty-message {
    margin: 0 0 16px !important;
    color: rgba(244, 245, 251, .72) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
  }

  .header-nav-main .cart-item .return-to-shop {
    margin: 0 !important;
  }

  .header-nav-main .cart-item .return-to-shop .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 44px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    border: 0 !important;
    background: linear-gradient(135deg, #7256ee, #947cff) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: 0 12px 30px rgba(124, 92, 255, .18) !important;
  }

  .header-nav-main .cart-item .return-to-shop .button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 38px rgba(124, 92, 255, .24) !important;
  }

  /* Flechita/triángulo default de Flatsome fuera */
  .header-nav-main .nav-dropdown::after,
  .header-nav-main .nav-dropdown::before {
    border: 0 !important;
  }
}

/* =========================================================
   Gamers Things - Desktop Header Dropdowns Polish V2
   Más jerarquía para carrito y cuenta
   ========================================================= */

@media (min-width: 850px) {

  .header-nav-main .cart-item .nav-dropdown,
  .header-nav-main .account-item .nav-dropdown {
    padding: 16px !important;
    border-radius: 26px !important;
    background:
      radial-gradient(circle at 0% 0%, rgba(124, 92, 255, .10), transparent 34%),
      linear-gradient(145deg, rgba(17, 18, 28, .98), rgba(6, 7, 13, .99)) !important;
  }

  /* Carrito vacío más premium */
  .header-nav-main .cart-item .ux-mini-cart-empty {
    padding: 24px 18px 18px !important;
  }

  .header-nav-main .cart-item .ux-mini-cart-empty::before {
    content: "Carrito";
    display: block;
    margin-bottom: 18px;
    color: rgba(169, 150, 255, .78);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
    line-height: 1;
    text-transform: uppercase;
    text-align: left;
  }

  .header-nav-main .cart-item .ux-mini-cart-empty-icon svg {
    height: 52px !important;
    opacity: .12 !important;
  }

  .header-nav-main .cart-item .woocommerce-mini-cart__empty-message {
    margin-bottom: 18px !important;
    color: rgba(244, 245, 251, .70) !important;
    font-size: 13px !important;
  }

  .header-nav-main .cart-item .return-to-shop .button {
    min-height: 42px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #7256ee, #8f76f7) !important;
  }

  /* Cuenta: header interno mejor colocado */
  .header-nav-main .account-item .nav-dropdown::after {
    margin: 0 0 10px !important;
    padding: 2px 4px 12px !important;
  }

  .header-nav-main .account-item .nav-dropdown > li > a {
    min-height: 40px !important;
    padding: 0 13px !important;
    border-radius: 13px !important;
    color: rgba(244, 245, 251, .66) !important;
    font-size: 12.5px !important;
  }

  .header-nav-main .account-item .nav-dropdown > li > a::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: 10px;
    border-radius: 999px;
    background: rgba(169, 150, 255, .42);
    opacity: 0;
    transform: scale(.7);
    transition: opacity .18s ease, transform .18s ease;
  }

  .header-nav-main .account-item .nav-dropdown > li > a:hover::before,
  .header-nav-main .account-item .nav-dropdown > li.active > a::before,
  .header-nav-main .account-item .nav-dropdown > li.is-active > a::before {
    opacity: 1;
    transform: scale(1);
  }

  .header-nav-main .account-item .nav-dropdown > li > a:hover {
    background: rgba(255, 255, 255, .045) !important;
  }

  .header-nav-main .account-item .nav-dropdown > li.active > a,
  .header-nav-main .account-item .nav-dropdown > li.is-active > a {
    background: rgba(124, 92, 255, .10) !important;
  }
}

/* =========================================================
   Gamers Things - Header Surgical Reset
   Quitar ajustes quirúrgicos fallidos
   ========================================================= */

@media (min-width: 850px) {
  #header.gt-header-v2 #masthead {
    min-height: initial !important;
    display: block !important;
  }

  #header.gt-header-v2 #masthead > .header-inner {
    position: relative !important;
    display: flex !important;
    grid-template-columns: unset !important;
    justify-content: unset !important;
    gap: unset !important;
    min-height: initial !important;
  }

  #header.gt-header-v2 #logo,
  #header.gt-header-v2 .gt-platform-nav,
  #header.gt-header-v2 .hide-for-medium.flex-right {
    grid-column: auto !important;
    justify-self: auto !important;
    align-self: auto !important;
    width: auto !important;
  }

  #header.gt-header-v2 .gt-platform-nav__list {
    display: flex !important;
    grid-template-columns: unset !important;
    width: auto !important;
    height: auto !important;
  }

  #header.gt-header-v2 .gt-platform-nav__link,
  #header.gt-header-v2 .gt-platform-search,
  #header.gt-header-v2 .gt-platform-search > a {
    width: auto !important;
    height: auto !important;
    min-height: initial !important;
  }

  #header.gt-header-v2 .gt-header-meta__inner {
    display: block !important;
    grid-template-columns: unset !important;
    height: auto !important;
  }

  #header.gt-header-v2 .gt-header-meta__nav {
    grid-column: auto !important;
  }
}

/* =========================================================
   Gamers Things - Header Logo + Actions Polish
   Solo logo, carrito y usuario. No toca el centro.
   ========================================================= */

@media (min-width: 850px) {
  /* Logo un poco más chico */
  #header.gt-header-v2 #logo img,
  #header.gt-header-v2 #logo .header-logo,
  #header.gt-header-v2 #logo .header-logo-dark {
    width: 205px !important;
    max-width: 205px !important;
    height: auto !important;
  }

  #header.gt-header-v2 #logo {
    margin-right: 22px !important;
  }

  /* Acciones derecha separadas del logo */
  #header.gt-header-v2 .hide-for-medium.flex-right {
    margin-left: auto !important;
  }

  #header.gt-header-v2 .hide-for-medium.flex-right > .header-nav {
    display: inline-flex !important;
    align-items: center !important;
    gap: 20px !important;
    margin: 0 !important;
  }

  /* Evita que carrito quede pegado al logo */
  #header.gt-header-v2 .cart-item {
    margin-left: 18px !important;
  }

  #header.gt-header-v2 .account-item {
    margin-left: 0 !important;
  }

  /* Botones más compactos */
  #header.gt-header-v2 .header-cart-link,
  #header.gt-header-v2 .account-link {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
  }

  /* Ocultar precio del carrito en header */
  #header.gt-header-v2 .header-cart-title,
  #header.gt-header-v2 .cart-price {
    display: none !important;
  }

  /* Iconos más prolijos */
  #header.gt-header-v2 .header-cart-link i,
  #header.gt-header-v2 .account-link i {
    font-size: 19px !important;
    line-height: 1 !important;
  }
}

/* =========================================================
   Gamers Things - Header 1200 Alignment: Logo + Actions
   No toca plataformas/search
   ========================================================= */

@media (min-width: 850px) {
  #header.gt-header-v2 {
    --gt-header-container: 1200px;
    --gt-header-gutter: 24px;
  }

  #header.gt-header-v2 #masthead > .header-inner {
    width: min(var(--gt-header-container), calc(100% - 48px)) !important;
    max-width: var(--gt-header-container) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relative !important;
  }

  /* Logo: más chico y clavado al borde izquierdo del layout */
  #header.gt-header-v2 #logo {
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 3 !important;
  }

  #header.gt-header-v2 #logo a {
    display: inline-flex !important;
    align-items: center !important;
  }

  #header.gt-header-v2 #logo img,
  #header.gt-header-v2 #logo .header-logo,
  #header.gt-header-v2 #logo .header-logo-dark {
    width: 185px !important;
    max-width: 185px !important;
    height: auto !important;
  }

  /* Acciones: clavadas al borde derecho del layout */
  #header.gt-header-v2 .hide-for-medium.flex-right {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 3 !important;
  }

  #header.gt-header-v2 .hide-for-medium.flex-right > .header-nav {
    display: inline-flex !important;
    align-items: center !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #header.gt-header-v2 .cart-item,
  #header.gt-header-v2 .account-item {
    margin: 0 !important;
    padding: 0 !important;
  }

  #header.gt-header-v2 .header-cart-title,
  #header.gt-header-v2 .cart-price {
    display: none !important;
  }

  #header.gt-header-v2 .header-cart-link,
  #header.gt-header-v2 .account-link {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
  }

  #header.gt-header-v2 .header-cart-link i,
  #header.gt-header-v2 .account-link i {
    font-size: 18px !important;
  }
}

/* =========================================================
   Gamers Things - Header Logo/Actions Inset Polish
   Mete logo e iconos un poco hacia adentro del layout
   ========================================================= */

@media (min-width: 850px) {
  #header.gt-header-v2 {
    --gt-header-side-inset: 32px;
  }

  #header.gt-header-v2 #logo {
    left: var(--gt-header-side-inset) !important;
  }

  #header.gt-header-v2 .hide-for-medium.flex-right {
    right: var(--gt-header-side-inset) !important;
  }
}

/* =========================================================
   Gamers Things - Header Logo Visual Scale Fix
   Achica el logo aunque Flatsome fuerce tamaño interno
   ========================================================= */

@media (min-width: 850px) {
  #header.gt-header-v2 #logo {
    transform: translateY(-50%) scale(.82) !important;
    transform-origin: left center !important;
  }
}

/* =========================================================
   Gamers Things - Header Cart/User Icon Size Polish
   Agranda iconos sin tocar layout general
   ========================================================= */

@media (min-width: 850px) {

  /* Botones carrito / usuario */
  #header.gt-header-v2 .header-cart-link,
  #header.gt-header-v2 .account-link {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Icono carrito */
  #header.gt-header-v2 .header-cart-link .icon-shopping-cart {
    font-size: 24px !important;
    line-height: 1 !important;
  }

  /* Icono usuario */
  #header.gt-header-v2 .account-link .icon-user {
    font-size: 23px !important;
    line-height: 1 !important;
  }

  /* Ajuste fino de alineación */
  #header.gt-header-v2 .header-cart-link i,
  #header.gt-header-v2 .account-link i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
  }

  /* Si Flatsome muestra contador del carrito sobre el icono */
  #header.gt-header-v2 .header-cart-link .icon-shopping-cart[data-icon-label]::after {
    font-size: 9px !important;
    min-width: 15px !important;
    height: 15px !important;
    line-height: 15px !important;
    top: -7px !important;
    right: -9px !important;
  }
}

