/* =======================================================
   HOME GLOBAL THEME — colores, fuentes y márgenes base
   ======================================================= */
:root {
  --theme-bg: linear-gradient(135deg, #1a0f00 0%, #994407 60%, #1a0f00 100%);
  --theme-text: #ffffff;
  --secondary-bar-height: 70px;
  --font-primary: 'Poppins', sans-serif;
}

/* =======================================================
   BASE DEL BODY
   ======================================================= */
body {
  background: linear-gradient(135deg, #1a0f00 0%, #471e01 60%, #1a0f00 100%);
  color: var(--theme-text);
  font-family: var(--font-primary);
  margin: 0;
  padding-top: var(--secondary-bar-height);
}

/* =======================================================
   MAIN HEADER
   ======================================================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--secondary-bar-height);
  background: var(--theme-bg);
  color: var(--theme-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  z-index: 1000;
}

/* LOGO */
.header-logo {
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.header-logo:hover {
  transform: scale(1.05);
  opacity: 0.8;
}
.logo-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: url('logo.png') center/cover no-repeat;
  border: 2px solid #f8f5f3;
}
.logo-text {
  color: var(--theme-text);
  text-decoration: none;
}
.header-logo:hover .logo-text {
  text-decoration: underline;
  text-decoration-color: #ffffff;
}

/* =======================================================
   ICONO HOME 2D (VERSIÓN A — x:-10px)
   ======================================================= */
.home-icon-2d {
  --icon-color: #fff;
  --icon-size: 30px;
  --icon-move-x: -10px;
  --icon-move-y: 5px;
  width: 22px;
  height: 22px;
  position: relative;
  margin-left: 0.6rem;
  top: -10px;
  color: var(--icon-color);
  transform: translate(var(--icon-move-x), var(--icon-move-y)) scale(calc(var(--icon-size) / 22px));
  transform-origin: left top;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.home-icon-2d::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 11px solid currentColor;
}
.home-icon-2d::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 3px;
  width: 16px;
  height: 11px;
  background: currentColor;
}
.home-icon-2d:hover {
  transform: scale(1.1) rotate(8deg);
  opacity: 0.85;
}

/* =======================================================
   BOTÓN HOME
   ======================================================= */
.language-selector {
  margin-left: 1rem;
}
.lang-btn {
  background: linear-gradient(180deg, #eb4411 0%, #000000 50%, #6b2205 100%);
  border: 2px solid #faf6f6;
  color: var(--theme-text);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  position: relative;
  top: 2px;
}
.lang-btn:hover {
  background: #fffdfc;
  color: #000;
}

/* =======================================================
   HOME CONTROLS
   ======================================================= */
.home-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: 970px;
}

/* =======================================================
   BLOQUE DERECHO DE LA BARRA SUPERIOR
   ======================================================= */
.header-right {
  position: absolute;
  top: 0;
  right: 6rem;
  height: 100%;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 0 1rem;
  box-sizing: border-box;
  z-index: 1200;
}

/* AVATARES */
.user-avatar,
.curator-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.95);
  background: rgba(0,0,0,0.12);
  flex: 0 0 auto;
  cursor: pointer;
}
.user-avatar img,
.curator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .18s ease, opacity .18s ease;
}
.user-avatar img:hover,
.curator-avatar img:hover {
  transform: scale(1.08);
  opacity: 0.95;
}

/* SELECTOR DE IDIOMA */
.lang-selector {
  padding: 6px 12px;
  border: 2px solid #fff;
  border-radius: 25px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s ease;
}
.lang-selector:hover {
  background: #fff;
  color: #000;
}
/* BOTONES DEL BLOQUE DERECHO */
.nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-btn i {
  font-size: 1.3rem;
  margin-bottom: 0.15rem;
}
.nav-btn:hover {
  transform: scale(1.1);
  opacity: 0.85;
}

/* ============================================================
   MENÚ EXPLORAR — NUEVO DISEÑO COMPACTO Y VISTOSO
   ============================================================ */
.explorar-dropdown {
  position: absolute;
  top: 50px;
  right: 140px;
  width: 360px;

  background: #120700;
  border: 2px solid #ff9a3c;
  border-radius: 14px;

  padding: 15px 0;

  display: flex;
  flex-direction: column;
  gap: 8px;

  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.35s ease, opacity 0.35s ease, transform 0.35s ease;

  box-shadow: 0 6px 18px rgba(0,0,0,0.65),
              0 0 10px rgba(255,120,0,0.55);

  z-index: 99999;
}

#user-menu {
  right: 140px !important;
  top: 50px !important;
}

.explorar-dropdown.show {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
}

.explorar-item {
  width: 90%;
  padding: 3px 0;
  text-align: center;

  font-weight: 800;
  font-size: 0.95rem;
  color: #ffd79e;

  border-bottom: 2px solid rgba(255,150,50,0.35);

  background: linear-gradient(180deg, #4a1a00, #2a0c00);
  cursor: pointer;
  transition: all .2s ease;

  border-radius: 10px;
  margin: 3px auto;
}

.explorar-item:last-child {
  border-bottom: none;
}

.explorar-item:hover {
  background: linear-gradient(180deg, #ff7c11, #b93f00);
  color: #fff;
  transform: scale(1.03);
}

/* =======================================================
   RESPONSIVE
   ======================================================= */
@media (max-width: 880px) {
  .header-right {
    max-width: calc(100% - 120px);
    right: 0.6rem;
    gap: 0.6rem;
  }
  .user-avatar,
  .curator-avatar {
    width: 36px;
    height: 36px;
  }
  .nav-btn i {
    font-size: 1.1rem;
  }
  .nav-btn .nav-label {
    font-size: 0.72rem;
  }
}

/* ============================================================
   TOKENS - MENÚ MOBILE BASE OCULTA PC (REAL-LIVE)
   ============================================================ */
.mobile-dashboard-menu-shell,
.mobile-dashboard-menu-btn,
#mobile-dashboard-menu {
  display: none;
}

/* === Barra Secundaria Ajustada === */
.secondary-bar {
  width: 100%;
  background: linear-gradient(180deg, rgba(97, 13, 2, 0.9) 0%, rgba(11,11,11,0.8) 100%);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  position: relative;
  z-index: 9;
  border-bottom: 0px solid rgb(41, 19, 1);
  backdrop-filter: blur(6px);
}

.secondary-bar .container {
  width: 100%;
  max-width: 1400px;
  padding: 0;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.sb-group {
  display: flex;
  align-items: center;
  gap: 20px;
  transform: translateX(70px);
}

/* Título de barra secundaria */
.language-selector {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 26px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 25px;
  background: rgba(207, 94, 14, 0.678);
  box-shadow: 0 3px 8px rgba(255,107,0,0.28);
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
  margin-left: -35px;
}
.language-selector:hover {
  background: rgba(255, 106, 0, 0.959);
  transform: translateY(-1px);
}

/* =======================================================
   BOTÓN DE DIRECCIÓN
   ======================================================= */
.direction-btn {
  --scale: 1;
  --arrow-ratio: 0.50;

  background-color: #220b01;
  border: 2px solid #ffffff;
  border-radius: 10px;
  width: calc(35px * var(--scale));
  height: calc(35px * var(--scale));
  position: absolute;
  top: 21.8px;
  left: 400px;
  margin-left: 13px;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.direction-btn .arrow-icon {
  position: absolute;
  top: calc(50% + var(--offset-y, 0px));
  left: calc(50% + var(--offset-x, 0px));
  transform: translate(-50%, -50%) scale(var(--scale, 1));
  width: 0;
  height: 0;
  border-left: calc(12px * var(--scale, 1)) solid transparent;
  border-right: calc(12px * var(--scale, 1)) solid transparent;
  border-bottom: calc(15px * var(--scale, 1)) solid var(--arrow-color, #fff);
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.4));
  transition: all 0.3s ease;
}

.direction-btn.down .arrow-icon {
  transform: translateX(-50%) rotate(180deg);
}

.direction-btn:hover {
  background-color: #f70b0b;
  transform: scale(1.05);
}

.direction-btn:active {
  transform: scale(0.80);
  opacity: 0.85;
}

.direction-btn {
  transform: scale(var(--btn-scale, 1));
  transform-origin: center center;
}
/* =======================================================
   TOKENS EN BARRA SECUNDARIA
   ======================================================= */
.tokens-container {
  display: flex;
  align-items: center;
  gap: 0px;
  margin-left: 0px;
  cursor: pointer;

}

.token-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(165, 73, 11, 0);
  border-radius: 50px;
  padding: 6px 12px;
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
  transition: transform 0.2s ease;
}
.token-item:hover {
  transform: scale(1.05);
}

.token-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

.token-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}

.token-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.token-count {
  font-size: 0.7rem;
  font-weight: 800;
  color: #ffae42;
}

.token-item:nth-child(1) .token-icon { box-shadow: 0 0 10px rgba(0,145,255,0.8); }
.token-item:nth-child(2) .token-icon { box-shadow: 0 0 10px rgba(0,255,120,0.8); }
.token-item:nth-child(3) .token-icon { box-shadow: 0 0 10px rgba(255,0,200,0.8); }

/* =======================================================
   SECCIÓN GALERÍA DE TOKENS
   ======================================================= */
#tokens-gallery-section {
  width: 100%;
  margin-top: 20px;
  background: linear-gradient(135deg, #1a0f00 0%, #5e2602 50%, #1a0f00 100%);
  padding-bottom: 20px;
  padding-top: 20px;

}

.tokens-columns {
  max-width: 1400px;
  margin: auto;
  display: flex;
  align-items: stretch;
  gap: 40px;
  padding: 0 40px;
}

.tokens-left {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tokens-info-box {
  background: linear-gradient(180deg, #3a1400 0%, #120700 100%);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 144, 72, 0.35);
  box-shadow: 0 0 18px rgba(255, 80, 0, 0.25);
}

.tokens-info-line {
  font-size: 1rem;
  font-weight: 700;
  color: #ffe0c2;
  margin: -2px 0;
  line-height: 1.70;
}

.token-info-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 20px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, #5e1a00 0%, #1f0700 100%);
  border: 1px solid rgba(255, 140, 60, 0.3);
  box-shadow: 0 0 10px rgba(255, 70, 0, 0.25);
}

.token-info-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 8px rgba(255,150,40,0.65);
  margin-top: -6px;
  margin-left: -6px;
}

.token-info-text {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.token-info-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffae5e;
  margin-bottom: 2px;
  margin-top: -6px;
}

.token-info-line {
  font-size: 0.95rem;
  font-weight: 650;
  color: #ffe2d0;
  line-height: 0;
}

@media (max-width: 900px) {
  .tokens-columns {
    flex-direction: column;
  }
  .tokens-left,
  .tokens-right {
    width: 100%;
  }
}

/* ========================= */
/* COLUMNA DERECHA — TIENDA  */
/* ========================= */
.tokens-right {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ========================= */
/* CONTENEDOR GENERAL TIENDA */
/* ========================= */
.tienda-container {
  flex: 1;
  background: linear-gradient(180deg, #2a0b00 0%, #0c0300 100%);
  border-radius: 20px;
  padding: 25px;
  border: 1px solid rgba(255, 140, 60, 0.25);
  box-shadow: 0 0 16px rgba(255, 75, 0, 0.28);
  margin-right: -25px;
}

/* ========================= */
/* BANNER PRINCIPAL TIENDA   */
/* ========================= */
.tienda-banner {
  text-align: center;
  margin-bottom: 0px;
}

.tienda-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: #ffb46a;
  margin: -15px 0 0 0;
}

/* ========================= */
/* GRID DE TOKENS            */
/* ========================= */
.tienda-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

/* ========================= */
/* CARD BASE — TOKENS        */
/* ========================= */
.tienda-card {
  background: linear-gradient(145deg, #5a1a00 0%, #210900 100%);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 140, 60, 0.35);
  box-shadow: 0 0 10px rgba(255, 80, 0, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 160px;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}

.tienda-card:hover {
  transform: scale(1.04);
  opacity: 0.92;
}

.tienda-card-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px;
  border: 2px solid #fff;
  box-shadow: 0 0 8px rgba(255,150,40,0.65);
}

.tienda-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffe2c8;
  margin-bottom: 4px;
}

.tienda-card-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffbf75;
}
/* ========================= */
/* ESTADO DESHABILITADO      */
/* ========================= */
.tienda-card.disabled {
  filter: grayscale(100%) brightness(55%);
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================================
   TOKENS - BARRA PRINCIPAL MOBILE REAL-LIVE
   Replica móvil del Dashboard/Historial sin tocar la versión PC.
   ============================================================ */
@media (hover: none) and (pointer: coarse) and (max-width: 920px),
       (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 560px) {
  html,
  body {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    position: relative;
    overflow-x: hidden !important;
    overscroll-behavior-x: none;
    touch-action: pan-y;
  }

  @supports (overflow: clip) {
    html,
    body {
      overflow-x: clip !important;
    }
  }

  .main-header,
  .main-header * {
    box-sizing: border-box;
  }

  .main-header {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: var(--secondary-bar-height);
    min-height: var(--secondary-bar-height);
    padding: 10px;
    gap: 0;
    justify-content: flex-start;
    align-items: center;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
    overflow: visible;
  }

  .header-logo {
    gap: 0.6rem;
    min-width: 0;
    max-width: calc(100vw - 238px);
    margin-right: 0;
    font-size: 0.88rem;
    font-weight: 900;
    flex: 0 1 auto;
    transform: none;
  }

  .header-logo:hover {
    transform: none;
    opacity: 0.88;
  }

  .logo-circle {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
  }

  .logo-text {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-icon-2d,
  .header-right > :not(.lang-selector):not(.mobile-dashboard-menu-shell) {
    display: none !important;
  }

  .home-controls {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    z-index: 1202;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    margin-left: 6px;
    margin-right: 0;
    transform: none;
  }

  .language-selector-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .lang-btn {
    top: 0;
    min-width: 54px;
    min-height: 34px;
    padding: 6px 11px;
    border-radius: 25px;
    font-size: 0.84rem;
    line-height: 1;
    text-transform: uppercase;
  }

  .direction-btn {
    --scale: 1;
    position: relative;
    top: auto;
    left: auto;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    margin-left: 0;
  }

  .direction-btn .arrow-icon {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 13px solid #fff;
  }

  .direction-btn.down .arrow-icon {
    transform: translate(-50%, -50%) rotate(180deg);
  }

  .header-right {
    position: relative;
    top: auto;
    right: auto;
    height: auto;
    max-width: none;
    z-index: 1201;
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 0;
    transform: none;
    gap: 6px;
  }

  .header-right .lang-selector {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 34px;
    padding: 6px 9px;
    border-radius: 25px;
    font-size: 0.84rem;
    font-weight: 900;
    line-height: 1;
  }

  /* ============================================================
     TOKENS - MENÚ MOBILE BOTÓN Y DESPLEGABLE (REAL-LIVE)
     ============================================================ */
  .mobile-dashboard-menu-shell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }

  .mobile-dashboard-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    min-height: 34px;
    padding: 6px 10px;
    border: 2px solid #fff;
    border-radius: 25px;
    background: linear-gradient(180deg, #4a1a00, #120700);
    color: #fff;
    font-family: var(--font-primary);
    font-size: 0.84rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    list-style: none;
    transition: transform .2s ease, opacity .2s ease, background .2s ease;
  }

  .mobile-dashboard-menu-btn::-webkit-details-marker {
    display: none;
  }

  .mobile-dashboard-menu-btn:hover,
  .mobile-dashboard-menu-btn:focus-visible {
    background: linear-gradient(180deg, #ff7c11, #7a2600);
    opacity: 0.95;
    outline: none;
    transform: scale(1.03);
  }

  #mobile-dashboard-menu.mobile-dashboard-dropdown {
    position: fixed;
    top: calc(var(--secondary-bar-height) + 8px);
    left: 50%;
    right: auto;
    width: min(310px, calc(100vw - 32px));
    max-height: 0;
    display: flex;
    padding: 12px 0;
    transform: translate(-50%, -10px);
    z-index: 99999;
  }

  #mobile-dashboard-menu.mobile-dashboard-dropdown .explorar-item {
    min-height: 36px;
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
  }

  .mobile-dashboard-menu-shell[open] #mobile-dashboard-menu.mobile-dashboard-dropdown,
  #mobile-dashboard-menu.mobile-dashboard-dropdown.show {
    max-height: min(520px, calc(100vh - var(--secondary-bar-height) - 24px));
    overflow-y: auto;
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (hover: none) and (pointer: coarse) and (max-width: 360px) {
  .header-logo {
    max-width: calc(100vw - 238px);
  }

  .lang-btn {
    min-width: 50px;
    padding-right: 9px;
    padding-left: 9px;
  }

  .mobile-dashboard-menu-btn {
    min-width: 56px;
    padding-right: 8px;
    padding-left: 8px;
  }
}

/* ============================================================
   TOKENS - BARRA SECUNDARIA MOBILE REAL-LIVE
   ============================================================ */
@media (hover: none) and (pointer: coarse) and (max-width: 920px),
       (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 560px) {
  .secondary-bar {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .secondary-bar .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .secondary-bar .sb-group {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    transform: none;
  }

  .secondary-bar .sb-group > .language-selector:not(:first-child),
  .secondary-bar .tokens-container {
    display: none !important;
  }

  .secondary-bar .sb-group > .language-selector:first-child {
    margin-left: 0;
    max-width: 100%;
    padding: 8px 26px;
    text-align: center;
    font-size: 0;
    line-height: 1;
    pointer-events: none;
  }

  .secondary-bar .sb-group > .language-selector:first-child::after {
    content: attr(data-mobile-label);
    display: inline-block;
    max-width: 100%;
    color: #fff;
    font-size: 0.84rem;
    font-weight: 900;
    line-height: 1.15;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* ============================================================
   TOKENS - CONTENIDO MOBILE SIN OVERFLOW (REAL-LIVE)
   ============================================================ */
@media (hover: none) and (pointer: coarse) and (max-width: 920px),
       (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 560px) {
  #tokens-gallery-section,
  #tokens-gallery-section * {
    box-sizing: border-box;
  }

  #tokens-gallery-section {
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
    padding: 18px 10px 24px;
    overflow-x: hidden;
  }

  .tokens-columns {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    gap: 18px;
    overflow-x: hidden;
  }

  .tokens-left,
  .tokens-right,
  .tokens-info-box,
  .tienda-container,
  .tienda-section,
  .tienda-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .tokens-left,
  .tokens-right {
    gap: 16px;
  }

  .tokens-info-box,
  .tienda-container {
    padding: 16px 12px;
    border-radius: 16px;
    margin-right: 0;
    overflow-x: hidden;
  }

  .tokens-info-line,
  .token-info-title,
  .token-info-line,
  .tienda-card-title,
  .tienda-card-price {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .tokens-info-line {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .token-info-block {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 12px;
    padding: 14px 12px;
  }

  .token-info-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
  }

  .token-info-text {
    min-width: 0;
  }

  .token-info-title {
    font-size: 1.08rem;
  }

  .token-info-line {
    font-size: 0.88rem;
    line-height: 1.25;
  }

  .tienda-title {
    font-size: 1.18rem;
    margin-top: -6px;
  }

  .tienda-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .tienda-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 12px 8px;
  }

  .tienda-card-icon {
    width: 52px;
    height: 52px;
  }
}

@media (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 560px) {
  .tienda-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

