/* =========================================================
   luna.css · Lo propio de la tienda nueva (no viene de Tebex).
   Se carga DESPUÉS de shared.css y generic.css: aquí solo se
   añaden piezas nuevas y los ajustes que piden los cambios de
   la tienda propia. Los bloques siguen la numeración FASE 26+.
   ========================================================= */

/* =========================================================
   FASE 26 · Accesibilidad: foco visible y "Saltar al contenido"
   (shared.css quita el outline a todo: aquí vuelve, solo con teclado)
   ========================================================= */
:focus-visible {
  outline: 2px solid var(--color-neon);
  outline-offset: 3px;
  border-radius: 4px;
}
.saltar-contenido {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200000;
  padding: 10px 16px;
  background: var(--color-neon-soft);
  color: #fff;
  font-weight: 700;
  border-radius: 6px;
}
.saltar-contenido:focus { top: 12px; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* =========================================================
   FASE 27 · Logo ya RECORTADO (sin margen transparente)
   El PNG nuevo no trae aire arriba/abajo, así que sobran los
   márgenes negativos de FASE 14/25. Los tamaños se calcularon
   para que el logo VISIBLE mida lo mismo que antes.
   ========================================================= */
.hero-brand-wrap {
  --logo-h: clamp(110px, 10.5vw, 180px);
  margin: 1.2rem auto 1.4rem;
}
@media (width <= 900px) {
  .hero-brand-wrap { margin: .6rem auto 1.2rem; }
}
body:not(.page-index) .site-header-inner .site-title img {
  max-height: 52px;
}
@media (width > 1400px) {
  body:not(.page-index) .site-header-inner .site-title img {
    max-height: 70px;
    margin-block: 0;
  }
}
@media (width <= 960px) {
  .site-header-inner .site-title img { max-height: 48px; }
}
/* FASE 14 subía el logo al centro desde 1400 px, pero ahora a la derecha también
   va la cesta y el menú llega hasta el centro: hasta 1700 px el logo sigue debajo. */
@media (960px < width <= 1700px) {
  /* 24px (top de los botones) + 46px (alto) = 70px: el logo empieza debajo */
  body:not(.page-index) .site-header-inner { padding: 74px 0 6px; }
  body:not(.page-index) .site-header-inner .site-title img {
    max-height: 52px;
    animation: floatY 5s ease-in-out infinite;
  }
}
.footer-brand img { max-height: 72px; }

/* =========================================================
   FASE 28 · Cabecera: sesión + cesta juntos a la derecha
   ========================================================= */
.site-header-inner .header-right .user-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* El contador va DENTRO del botón: .btn-primary necesita overflow:hidden
   para que su destello (::before de generic.css) no se salga. */
.boton-cesta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.boton-cesta svg { width: 18px; height: 18px; flex: none; }
.boton-cesta .contador-cesta { position: static; }
@media (width <= 960px) {
  .boton-cesta { width: var(--btn-size); justify-content: center; padding: 0; }
  .boton-cesta .open-basket-text { display: none; }
  .boton-cesta .contador-cesta {
    position: absolute;
    top: 3px;
    right: 3px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 10px;
    line-height: 16px;
  }
}
.contador-cesta {
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--metal-silver);
  color: #120424;
  font-size: 12px;
  font-weight: 900;
  line-height: 20px;
  text-align: center;
  box-shadow: 0 0 10px rgba(199, 125, 255, .6);
}
/* Desplegables: también con teclado (focus) y toque (clase .abierto) */
.primary-nav .nav-item:focus-within .nav-dropdown,
.primary-nav .nav-item.abierto .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (width <= 600px) {
  .site-header-inner .log-in span { display: none; }
  .site-header-inner .log-in { padding: 0 10px; }
}
/* El menú lateral solo existe en móvil: en escritorio manda la barra .primary-nav */
@media (width > 960px) {
  .site-navigation { display: none; }
}
@media (width <= 960px) {
  .site-navigation .menu { border-right: 1px solid rgba(157, 78, 221, .25); }
  .site-navigation .close-navigation { --btn-icon: url("/img/iconos/close.svg"); }
  .site-header-inner .toggle-navigation { display: block; }
}

/* Logos de pago del pie: los SVG no traen tamaño propio, sin alto fijo miden 0 */
.site-footer-inner .we-accept img { height: 22px; width: auto; opacity: .85; }
.site-footer-inner .we-accept { flex-wrap: wrap; gap: 16px; }

/* Franja de confianza: icono + nombre (los iconos solos no se reconocían) */
.trust-logo { gap: 10px; }
.trust-logo img { height: 30px; }
.trust-logo-nombre {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: .01em;
}
@media (width <= 600px) {
  .trust-logos { gap: 1rem 1.8rem; }
  .trust-logo img { height: 24px; }
  .trust-logo-nombre { font-size: 1.1rem; }
}

/* =========================================================
   FASE 29 · Vídeo de la portada (antes estilos en línea)
   ========================================================= */
.site-video {
  width: 100%;
  max-width: 1080px;
  margin: 2.5rem auto 1.25rem;
  padding: 0 24px;
}
.video-presentacion {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #000;
}
.video-frame.video-lite { padding-bottom: 56.25%; width: 100%; }

/* =========================================================
   FASE 30 · Títulos de página, migas y grupos de subcategoría
   ========================================================= */
.migas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 1rem;
  color: var(--color-text-secondary);
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.migas a:hover { color: var(--color-neon); }
.migas span { opacity: .5; }

.category-title {
  margin: 0 0 1.4rem;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.1;
  background: var(--metal-silver);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(157, 78, 221, .35));
}

.store-subcategories { margin-bottom: 2.4rem; }

.store-group { margin-top: 2.8rem; }
.store-group-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  margin-bottom: 1.4rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, rgba(199, 125, 255, .7), rgba(200, 200, 212, .35) 40%, transparent) 1;
}
.store-group-title {
  position: relative;
  padding-left: 16px;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: .02em;
}
.store-group-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  bottom: .15em;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, #c77dff, #5a189a);
  box-shadow: 0 0 10px rgba(199, 125, 255, .7);
}
.store-group-title a:hover { color: var(--color-neon); }
.store-group--nivel-2 .store-group-title { font-size: 1.15rem; opacity: .92; }
.store-group--nivel-3 .store-group-title { font-size: 1.05rem; opacity: .85; }
.store-group-link {
  color: var(--color-neon);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.store-group-link::after { content: " →"; }
.store-group-link:hover { text-shadow: 0 0 12px rgba(199, 125, 255, .6); }

/* =========================================================
   FASE 31 · Tarjetas de paquete: etiqueta, moneda e intervalo
   ========================================================= */
.store-product { position: relative; }
.chip-etiqueta {
  position: absolute;
  top: calc(var(--widget-padding) + 14px);
  left: calc(var(--widget-padding) + 14px);
  z-index: 3;
  padding: 4px 10px;
  border-radius: 4px;
  background: linear-gradient(135deg, #c77dff, #5a189a);
  color: #fff;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: 0 0 14px rgba(199, 125, 255, .55);
  pointer-events: none;
}
.chip-etiqueta--titulo {
  position: static;
  display: inline-block;
  vertical-align: middle;
  margin-left: .5rem;
  font-size: .75rem;
}
.hero-card-chip {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(157, 78, 221, .35);
  color: #e9d8ff;
  font-size: .62rem;
  letter-spacing: .1em;
  vertical-align: middle;
}
.price .moneda {
  margin-left: 2px;
  color: var(--color-text-secondary);
  font-size: .72em;
  font-weight: 700;
  letter-spacing: .06em;
  text-shadow: none;
}
.price .intervalo {
  display: block;
  margin-top: 2px;
  color: var(--color-text-secondary);
  font-size: .8rem;
  font-weight: 400;
  text-shadow: none;
}
.store-product .price .discount strong { font-size: .8em; }
/* El nombre ocupa su sitio aunque sea largo: los botones quedan alineados abajo */
.store-products-images .store-product .product-title { overflow-wrap: anywhere; }

/* =========================================================
   FASE 32 · Página de paquete: marco en la imagen y la galería,
   tabla de propiedades
   ========================================================= */
.store-product-full { margin-bottom: 1rem; }
/* El barrido de luz de las tarjetas (generic.css) no se recorta en la ficha
   (no puede llevar overflow:hidden o la barra sticky deja de funcionar). */
.store-product-full::after { display: none; }
/* La barra de compra de Tebex (sticky abajo) se queda en MÓVIL, donde deja el
   botón siempre a mano. En escritorio va en su sitio, bajo la galería. */
@media (width > 960px) {
  .store-product-full .actions {
    position: static !important;
    order: 0;
    margin: 0;
    border: 1px solid rgba(157, 78, 221, .25);
    border-radius: 10px;
    background: rgba(157, 78, 221, .06);
    backdrop-filter: none;
  }
}
.store-product-full .actions .price strong { font-size: 26px; }
.producto-imagen,
.store-product-full .media-slider .slider {
  position: relative;
  padding: 7px;
  border: 2px solid transparent;
  border-radius: 14px;
  background:
    linear-gradient(#070310, #070310) padding-box,
    linear-gradient(135deg, #c77dff 0%, #5a189a 32%, #c8c8d4 50%, #5a189a 68%, #c77dff 100%) border-box;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .55), 0 0 16px rgba(157, 78, 221, .18);
}
.producto-imagen::before,
.producto-imagen::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-neon);
  pointer-events: none;
  opacity: .85;
}
.producto-imagen::before { top: 7px; left: 7px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.producto-imagen::after { right: 7px; bottom: 7px; border-top: 0; border-left: 0; border-radius: 0 0 8px 0; }
.producto-imagen .image {
  display: block;
  width: 100%;
  max-height: 640px;
  object-fit: contain;
  border-radius: 8px;
}
.producto-imagen .cat-frame-empty { aspect-ratio: 16 / 9; }
.media-slider .thumb { border-radius: 7px; }
.media-slider .thumb-boton { display: block; width: 100%; height: 100%; }
.media-slider .thumb.active { box-shadow: 0 0 0 2px var(--color-neon), 0 0 12px rgba(199, 125, 255, .5); }
.media-slider .slide-image { max-height: 640px; }
.media-slider .thumb-mp4 { display: block; background: #000; }

.propiedades {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(157, 78, 221, .25);
  border-radius: 10px;
  font-size: 15px;
}
/* Título fuera de la tabla: el overflow:hidden de la tabla recortaba un <caption> */
.propiedades-titulo {
  margin-bottom: -.4rem;
  color: var(--color-neon);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.propiedades th,
.propiedades td {
  padding: 11px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.propiedades tr:last-child th,
.propiedades tr:last-child td { border-bottom: 0; }
.propiedades th {
  width: 38%;
  color: var(--color-silver-2);
  font-weight: 700;
  background: rgba(157, 78, 221, .08);
}
.propiedades tr:nth-child(even) td { background: rgba(255, 255, 255, .015); }
@media (width <= 600px) {
  .propiedades th, .propiedades td { padding: 9px 12px; }
  .propiedades th { width: 42%; }
}
.store-product-full .descr { font-size: 16px; line-height: 1.6; }
.text-content blockquote {
  margin: 1rem 0;
  padding: .8rem 1rem;
  border-left: 3px solid var(--color-neon-soft);
  background: rgba(157, 78, 221, .08);
  border-radius: 0 6px 6px 0;
}
.text-content code {
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(157, 78, 221, .18);
  font-family: ui-monospace, Consolas, monospace;
  font-size: .9em;
}
.text-content a:not(.btn-primary) { color: var(--color-neon); text-decoration: underline; text-underline-offset: 2px; }
.text-content h2 { margin-top: 1.6rem; }
.relacionados { margin-top: 3rem; }

/* =========================================================
   FASE 33 · Cesta lateral y página /carrito
   ========================================================= */
.basket-popup-content .basket {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.cesta-lineas {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.basket .basket-title--anonima::before { mask-image: url("/img/iconos/checkout.svg"); }
.basket .basket-header { background: linear-gradient(135deg, rgba(90, 24, 154, .45), rgba(16, 4, 23, .9)); }
.basket .basket-item {
  border: 1px solid rgba(157, 78, 221, .2);
  border-radius: 7px;
}
.basket-item-image {
  flex: none;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(199, 125, 255, .35);
}
.basket .basket-item .title { font-size: 16px; overflow-wrap: anywhere; }
.basket .basket-item .remove { --btn-icon: url("/img/iconos/delete.svg"); }
.basket .basket-empty { padding: 3rem 1rem; color: var(--color-text-secondary); }
.cesta-aviso {
  margin: 12px var(--widget-padding) 0;
  padding: 10px 14px;
  border: 1px solid rgba(202, 182, 0, .5);
  border-radius: 6px;
  background: rgba(202, 182, 0, .1);
  font-size: 14px;
  line-height: 1.4;
}
.basket .basket-checkout .checkout { display: block; width: 100%; }
@media (width <= 600px) {
  .basket .basket-item { flex-wrap: wrap; }
  .basket .basket-item .info { flex: 1 1 calc(100% - 70px); }
  .basket .basket-item .quantity-field { margin-left: 68px; }
}

/* Página /carrito: la cesta en columna + método de pago */
.site-content .basket.basket-pagina { display: block; z-index: auto; }
.carrito-columnas {
  display: grid;
  gap: 1.6rem;
  align-items: start;
}
@media (width > 960px) {
  .carrito-columnas { grid-template-columns: 1fr 380px; }
}
.basket-pagina .basket-second-header,
.basket-pagina .basket-content {
  border: 1px solid rgba(157, 78, 221, .18);
  border-radius: 7px;
  background: var(--color-brighter-bg);
}
.basket-pagina .basket-content { margin-top: 12px; }
.basket-pagina [data-sin-boton-pagar] .basket-checkout,
[data-sin-boton-pagar] .basket-checkout { display: none; }
.carrito-pago {
  padding: var(--widget-padding);
  border: 1px solid rgba(157, 78, 221, .3);
  border-radius: 10px;
  background: var(--color-brighter-bg);
  box-shadow: 0 0 22px rgba(157, 78, 221, .12);
}
@media (width > 960px) {
  .carrito-pago { position: sticky; top: 24px; }
}
.carrito-pago h2 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.metodos-pago { display: grid; gap: 10px; margin-bottom: 1.2rem; }
.metodo-pago {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.metodo-pago:has(input:checked) {
  border-color: var(--color-neon);
  box-shadow: 0 0 14px rgba(199, 125, 255, .35);
  background: rgba(157, 78, 221, .08);
}
.metodo-pago input { grid-row: span 3; width: 18px; height: 18px; }
.metodo-pago-nombre { font-weight: 800; }
.metodo-pago-logos { display: flex; gap: 10px; align-items: center; }
.metodo-pago-logos img { height: 18px; width: auto; opacity: .85; }
.metodo-pago-nota { color: var(--color-text-secondary); font-size: 13px; line-height: 1.35; }
.carrito-pago .checkout { display: block; width: 100%; text-align: center; }
.carrito-nota,
.carrito-legal {
  margin-top: 12px;
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 1.45;
}
.carrito-legal code { color: #e9d8ff; }

/* =========================================================
   FASE 34 · Páginas de información, login, 404 y 500
   ========================================================= */
.footer-col-title {
  margin: 0 0 1.1rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.aviso-borrador {
  margin: 0 0 1.4rem;
  padding: 10px 14px;
  border: 1px dashed rgba(202, 182, 0, .7);
  border-radius: 6px;
  background: rgba(202, 182, 0, .1);
  text-align: center;
  letter-spacing: .04em;
}
.caja-centrada { max-width: 640px; text-align: center; }
.caja-centrada .btn-primary { display: inline-block; margin: 0 auto; }
.btn-discord[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }

.error-pagina {
  max-width: 640px;
  margin: 2rem auto 3rem;
  text-align: center;
}
.error-pagina .error-codigo {
  font-size: clamp(5rem, 16vw, 9rem);
  font-weight: 900;
  line-height: 1;
  background: var(--metal-silver);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(157, 78, 221, .55));
}
.error-pagina h1 {
  margin: .6rem 0 .8rem;
  color: var(--color-neon);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  text-shadow: 0 0 18px rgba(157, 78, 221, .5);
}
.error-pagina p { color: var(--color-text-secondary); font-size: 1.05rem; }
.error-acciones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 1.6rem;
}

/* =========================================================
   FASE 35 · Visor a pantalla completa de la galería
   ========================================================= */
.popup.visor { background-color: rgba(4, 1, 10, .94); }
.visor .popup-scroll-cont { padding: 56px 12px 12px; }
.visor-imagen {
  max-width: min(1400px, 100%);
  max-height: calc(100dvh - 90px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(157, 78, 221, .35);
}
.visor .popup-close { top: 8px; right: 8px; opacity: .8; }
.visor-flecha {
  position: fixed;
  top: 50%;
  translate: 0 -50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(16, 4, 23, .8);
  color: #fff;
  font-size: 26px;
  text-align: center;
}
.visor-flecha:hover { background: rgba(157, 78, 221, .6); }
.visor-flecha--ant { left: 12px; }
.visor-flecha--sig { right: 12px; }

/* =========================================================
   FASE 36 · Móvil (390 px): ajustes finos
   ========================================================= */
@media (width <= 600px) {
  .site-video { padding: 0 var(--content-padding); }
  .store-group-header { align-items: center; }
  .store-product-full .product-title { font-size: 24px; }
}

/* =========================================================
   FASE 37 · Sesión, pedido, código de canje y «Mi cuenta»
   ========================================================= */
.usuario-cabecera { display: inline-flex; align-items: center; gap: 8px; max-width: 220px; }
.usuario-cabecera span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.usuario-avatar { width: 26px; height: 26px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(199, 125, 255, .6); }
.enlace-boton { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.site-navigation .log-out .enlace-boton { display: flex; align-items: center; gap: 8px; padding: 11px 0; }
.btn-discord { display: inline-flex !important; align-items: center; gap: 10px; }
.btn-discord svg { width: 22px; height: 22px; }

.carrito-error {
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(193, 46, 46, .6);
  border-radius: 6px;
  background: rgba(193, 46, 46, .12);
  font-size: 14px;
  line-height: 1.4;
}
.aviso-prueba { padding: 8px 12px; border: 1px dashed rgba(202, 182, 0, .6); border-radius: 6px; }

.pedido-pagina { max-width: 820px; margin: 0 auto; }
.pedido-estado {
  margin-bottom: 1.6rem;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: var(--color-brighter-bg);
  font-size: 16px;
  line-height: 1.45;
}
.pedido-estado--pagado { border-color: rgba(76, 175, 80, .7); background: rgba(76, 175, 80, .12); }
.pedido-estado--pendiente, .pedido-estado--esperando_pago { border-color: rgba(202, 182, 0, .6); background: rgba(202, 182, 0, .1); }
.pedido-estado--fallido, .pedido-estado--reembolsado, .pedido-estado--disputado { border-color: rgba(193, 46, 46, .6); background: rgba(193, 46, 46, .1); }

.codigo-canje {
  margin-bottom: 1.8rem;
  padding: 22px;
  border: 2px solid transparent;
  border-radius: 14px;
  background:
    linear-gradient(#0c0418, #0c0418) padding-box,
    linear-gradient(135deg, #c77dff 0%, #5a189a 32%, #c8c8d4 50%, #5a189a 68%, #c77dff 100%) border-box;
  box-shadow: 0 0 26px rgba(157, 78, 221, .25);
}
.codigo-canje h2, .pedido-detalle h2 {
  margin-bottom: 12px;
  color: var(--color-neon);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.codigo-caja { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.codigo-canje .codigo-valor {
  flex: 1 1 auto;
  padding: 12px 16px;
  border-radius: 8px;
  background: #070310;
  color: #fff;
  font-family: ui-monospace, Consolas, monospace;
  font-size: clamp(1.3rem, 4.5vw, 1.9rem);
  font-weight: 700;
  letter-spacing: .12em;
  text-align: center;
  user-select: all;
}
.codigo-pasos { margin: 0 0 10px 1.2rem; line-height: 1.7; font-size: 15px; }
.codigo-pasos li { display: list-item; }
.codigo-pasos code, .pedido-pagina code {
  padding: 1px 6px; border-radius: 4px; background: rgba(157, 78, 221, .18);
  font-family: ui-monospace, Consolas, monospace; font-size: .92em;
}
.pedido-detalle { padding: 18px 20px; border: 1px solid rgba(157, 78, 221, .2); border-radius: 10px; background: var(--color-brighter-bg); }
.pedido-lineas li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.pedido-linea-nombre { font-weight: 700; }
.pedido-total { margin-top: 12px; text-align: right; font-size: 16px; font-weight: 700; }

.cuenta-pagina { max-width: 900px; margin: 0 auto; }
.cuenta-cabecera { display: flex; align-items: center; gap: 18px; }
.cuenta-cabecera .category-title { margin-bottom: .2rem; }
.cuenta-avatar { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(199, 125, 255, .6), 0 0 22px rgba(157, 78, 221, .4); }
.cuenta-lista { display: grid; gap: 10px; }
.cuenta-item {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px;
  padding: 14px 16px; border: 1px solid rgba(157, 78, 221, .2); border-radius: 8px; background: var(--color-brighter-bg);
}
.cuenta-item > div:first-child { display: grid; gap: 4px; min-width: 0; }
.cuenta-pedido-enlace { font-weight: 700; overflow-wrap: anywhere; }
.cuenta-pedido-enlace:hover { color: var(--color-neon); }
.cuenta-meta { color: var(--color-text-secondary); font-size: 13px; }
.cuenta-derecha { display: flex; align-items: center; gap: 12px; }
.cuenta-codigo { padding: 4px 8px; border-radius: 5px; background: #070310; font-family: ui-monospace, Consolas, monospace; letter-spacing: .08em; user-select: all; }

@media (prefers-reduced-motion: reduce) {
  .contador-cesta { transition: none; }
}
