/* PLAYER: la tienda web (v1.1.3, R21). Colores muestreados de la imagen de referencia (docs/v113/DISENO.md §2):
   fondo exterior cálido, app oscura con bordes de 16 px, barra lateral negra con la marca naranja en el ítem activo,
   destacado con "Comprar ahora", grilla de ofertas y la tabla de compras al estilo "Challenges". */

[data-skin="player"] body { background: var(--shop-outer); color: var(--shop-text-2); }

.shop-frame {
  --shop-pad: clamp(0px, 2.2vw, 28px);
  min-height: 100vh; padding: var(--shop-pad);
  background: radial-gradient(120% 90% at 0% 0%, #5c3532 0%, var(--shop-outer) 45%, #2a1918 100%);
}
.shop-app {
  display: grid; grid-template-columns: 236px minmax(0, 1fr);
  max-width: 1480px; margin: 0 auto; min-height: calc(100vh - 2 * var(--shop-pad));
  /* la columna de la barra lateral se pinta en el fondo: la barra es pegajosa y no llega hasta abajo */
  background: linear-gradient(90deg, var(--shop-side) 236px, var(--shop-bg) 0); border-radius: 18px; overflow: clip;
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.8), 0 0 0 1px rgb(255 255 255 / 0.03);
}

/* ─── Barra lateral ─── */
.shop-side {
  position: sticky; top: var(--shop-pad); align-self: start; height: calc(100vh - 2 * var(--shop-pad)); overflow-y: auto;
  display: flex; flex-direction: column; gap: 22px; padding: 24px 0 18px; background: var(--shop-side);
}
.shop-brand { display: flex; align-items: center; gap: 11px; padding: 0 22px; color: var(--shop-text); text-decoration: none; }
.shop-brand:hover { text-decoration: none; }
.shop-brand .brand-mark { width: 36px; height: 36px; flex: none; }
.shop-brand b { display: block; font-weight: 600; font-size: 17px; line-height: 1.1; }
.shop-brand small { display: block; margin-top: 2px; color: var(--shop-accent); font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.shop-nav { display: grid; gap: 2px; }
.shop-nav a, .shop-back {
  position: relative; display: flex; align-items: center; gap: 13px; padding: 11px 22px;
  color: var(--shop-text-3); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.shop-nav a svg, .shop-back svg { width: 18px; height: 18px; flex: none; }
.shop-nav a:hover, .shop-back:hover { color: var(--shop-text); text-decoration: none; }
.shop-nav a[aria-current="page"] { color: var(--shop-text); background: linear-gradient(90deg, rgb(255 91 21 / 0.16), transparent 80%); }
.shop-nav a[aria-current="page"]::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--shop-accent); }
.shop-nav a[aria-current="page"] svg { color: var(--shop-accent); }
.shop-side-foot { margin-top: auto; display: grid; gap: 14px; }
.shop-back { padding-block: 8px; }
.shop-promo {
  display: grid; gap: 6px; margin: 0 14px; padding: 18px 16px; border-radius: 14px; color: var(--shop-text); text-decoration: none;
  background: radial-gradient(120% 80% at 100% 0%, rgb(255 91 21 / 0.45), transparent 60%), linear-gradient(170deg, #2a1b2c, #120d1c);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.05);
}
.shop-promo:hover { text-decoration: none; filter: brightness(1.08); }
.shop-promo b { font-size: 16px; font-weight: 600; }
.shop-promo span { font-size: 12px; line-height: 1.45; color: var(--shop-text-2); }
.shop-promo .shop-promo-go { justify-self: start; margin-top: 6px; padding: 6px 12px; border-radius: 8px; background: rgb(255 255 255 / 0.1); color: var(--shop-text); font-weight: 500; }

/* ─── Barra superior ─── */
.shop-body { min-width: 0; display: flex; flex-direction: column; }
.shop-top { display: flex; align-items: center; gap: 16px; padding: 20px 28px 8px; }
.shop-search {
  display: flex; align-items: center; gap: 10px; flex: 1 1 auto; max-width: 420px; height: 42px; padding: 0 14px;
  border-radius: 12px; background: var(--shop-input); color: var(--shop-text-3);
}
.shop-search svg { width: 16px; height: 16px; flex: none; }
.shop-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--shop-text); font: inherit; font-size: 13.5px; outline: none; }
.shop-search input::placeholder { color: var(--shop-text-3); }
.shop-search:focus-within { box-shadow: 0 0 0 2px rgb(255 91 21 / 0.55); }
.shop-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.shop-tools .menu-toggle { display: none; }
.shop-tools .user-btn { background: transparent; border-color: transparent; }
.shop-tools .user-btn .avatar { border-radius: 50%; }
.shop-tools .user-btn-text { display: grid; line-height: 1.2; text-align: left; }
.shop-tools .user-btn-name { max-width: 16ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--shop-text); font-size: 13.5px; font-weight: 500; }
.shop-tools .user-btn small { color: var(--shop-text-3); font-size: 11px; font-weight: 400; }
.shop-tools .bell .badge { border-color: var(--shop-bg); background: var(--shop-accent); }

/* ─── Contenido ─── */
.shop-main { display: grid; gap: 30px; align-content: start; padding: 14px 28px 36px; min-width: 0; }
.shop-main h1, .shop-main h2, .shop-main h3 { font-family: var(--font-body); color: var(--shop-text); letter-spacing: 0; text-transform: none; }
.shop-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.shop-head h2 { font-size: 22px; font-weight: 500; }
.shop-page-head { margin-bottom: 0; }
.shop-page-head h1 { font-size: clamp(22px, 3vw, 28px); font-weight: 500; }
.shop-page-head h1 small { margin-left: 8px; color: var(--shop-text-3); font-size: 0.6em; font-weight: 400; font-family: var(--font-mono, monospace); }
.shop-block { min-width: 0; }
.shop-card { border-radius: 14px; background: var(--shop-card); padding: 18px; }
.shop-muted { color: var(--shop-text-3); font-size: 13.5px; }
.shop-link { display: inline-flex; align-items: center; gap: 8px; color: var(--shop-accent); font-weight: 500; font-size: 14px; }
.shop-link svg { width: 16px; height: 16px; }
.shop-kicker { display: block; color: var(--shop-accent); font-size: 13px; font-style: italic; font-weight: 500; }
.shop-note { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: rgb(255 91 21 / 0.1); color: var(--shop-text); font-size: 14px; }
.shop-note svg { width: 18px; height: 18px; color: var(--shop-accent); flex: none; }

/* Botones de la tienda: naranja quemado, bordes de 8 px */
.btn.shop-btn { --b-bg: var(--shop-btn); --b-fg: #fff; --b-bd: transparent; border-radius: 8px; font-weight: 500; }
.btn.shop-btn:hover { background: color-mix(in oklab, var(--shop-btn) 85%, #fff); }
.btn.shop-outline { --b-bg: transparent; --b-fg: var(--shop-text); --b-bd: rgb(255 91 21 / 0.55); border-radius: 999px; font-weight: 500; }
.btn.shop-outline:hover { background: rgb(255 91 21 / 0.12); }
.shop-coin {
  display: inline-block; width: 15px; height: 15px; flex: none; border-radius: 50%; vertical-align: -2px;
  background: radial-gradient(circle at 35% 35%, #ffe066, var(--shop-coin) 55%, #8a6f00); box-shadow: inset 0 0 0 1.5px rgb(0 0 0 / 0.25);
}
.shop-price { display: inline-flex; align-items: center; gap: 7px; color: var(--shop-text); font-weight: 500; font-size: 15px; white-space: nowrap; }
.shop-price small { color: var(--shop-text-3); font-size: 12px; font-weight: 400; }
.shop-tag {
  display: inline-block; justify-self: start; align-self: flex-start; padding: 3px 10px; border-radius: 6px; background: var(--shop-tag);
  color: #f0a27e; font-size: 11.5px; font-weight: 500;
}
.shop-art { display: block; width: 100%; height: 100%; }

/* ─── Destacado ─── */
.shop-hero { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(250px, 1fr); gap: 18px; }
.shop-feature {
  position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: center;
  min-height: 300px; padding: 34px 32px 72px; border-radius: 16px; background: var(--shop-card);
}
.shop-feature-art { position: absolute; inset: 0; z-index: -2; }
.shop-feature::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(13 10 24 / 0.95) 22%, rgb(13 10 24 / 0.55) 58%, transparent); }
.shop-feature-body { display: grid; gap: 10px; max-width: min(460px, 54%); }
.shop-feature-title { font-size: clamp(26px, 3.2vw, 36px); font-weight: 500; line-height: 1.15; }
.shop-feature-meta { display: flex; align-items: center; gap: 8px; color: var(--shop-text-2); font-size: 13.5px; }
.shop-feature-meta svg { width: 18px; height: 18px; flex: none; color: var(--shop-accent); }
.shop-feature-desc { color: var(--shop-text-2); font-size: 14px; line-height: 1.55; max-width: 52ch; }
.shop-feature-buy { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.shop-feature-buy .shop-btn { padding: 11px 22px; }
.shop-thumbs { position: absolute; right: 18px; bottom: 16px; display: flex; gap: 8px; }
.shop-thumbs button { width: 74px; height: 46px; padding: 0; border: 2px solid rgb(255 255 255 / 0.18); border-radius: 8px; overflow: hidden; background: none; cursor: pointer; }
.shop-thumbs button:hover, .shop-thumbs button:focus-visible { border-color: var(--shop-accent); }
.shop-how { display: grid; gap: 14px; align-content: start; }
.shop-how h2 { font-size: 17px; font-weight: 500; }
.shop-how ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: paso; }
.shop-how li { display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; counter-increment: paso; }
.shop-how li::before {
  content: counter(paso); grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: rgb(255 91 21 / 0.14); color: var(--shop-accent); font-weight: 600;
}
.shop-how li b { color: var(--shop-text); font-weight: 500; font-size: 14px; }
.shop-how li span { color: var(--shop-text-3); font-size: 12.5px; line-height: 1.45; }
.shop-how li span b { font-size: inherit; color: var(--shop-text-2); }

/* ─── Ofertas ─── */
.shop-sort .select { width: auto; min-width: 190px; border-radius: 10px; background: var(--shop-input); border-color: transparent; color: var(--shop-text); }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.shop-offer { display: flex; flex-direction: column; min-width: 0; border-radius: 14px; overflow: hidden; background: var(--shop-card); transition: transform 160ms var(--ease), box-shadow 160ms var(--ease); }
.shop-offer:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -18px rgb(0 0 0 / 0.9); }
.shop-offer.is-out { opacity: 0.6; }
.shop-offer-art { aspect-ratio: 16 / 10; overflow: hidden; }
/* en columna: el precio y "Comprar" quedan abajo y alineados aunque el título ocupe dos líneas */
.shop-offer-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 16px; }
.shop-offer h3 { font-size: 15px; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop-offer-gets { color: var(--shop-text-3); font-size: 12.5px; line-height: 1.4; }
.shop-offer-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.shop-offer-foot .shop-btn { border-radius: 8px; }
.shop-empty { display: grid; justify-items: center; gap: 10px; padding: 36px 18px; text-align: center; color: var(--shop-text-3); }
.shop-empty svg { width: 34px; height: 34px; color: var(--shop-accent); }

/* ─── Compras, al estilo "Challenges" ─── */
.shop-rows { display: grid; gap: 10px; }
.shop-row {
  display: grid; grid-template-columns: 64px minmax(0, 2fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr) 18px; align-items: center; gap: 16px;
  padding: 12px 16px; border-radius: 14px; background: var(--shop-row); color: var(--shop-text); text-decoration: none;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.03);
}
.shop-row:hover { text-decoration: none; background: color-mix(in oklab, var(--shop-row) 88%, #fff); }
.shop-row-art { width: 64px; height: 40px; border-radius: 8px; overflow: hidden; }
.shop-row-cell { display: grid; gap: 2px; min-width: 0; }
.shop-row-cell small { color: var(--shop-text-3); font-size: 11.5px; }
.shop-row-cell b { font-weight: 500; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-row-main b { font-size: 15px; }
.shop-row-main small { font-family: var(--font-mono, monospace); }
.shop-row-go svg { width: 16px; height: 16px; color: var(--shop-text-3); }
.shop-pill { display: inline-flex; align-items: center; justify-self: start; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; background: rgb(255 255 255 / 0.07); color: var(--shop-text-2); }
.shop-pill.tone-wait { background: rgb(255 91 21 / 0.14); color: #ff8a52; }
.shop-pill.tone-ok { background: rgb(43 177 10 / 0.16); color: #63d64a; }
.shop-pill.tone-bad { background: rgb(255 90 110 / 0.15); color: #ff8091; }
.shop-pill.tone-warn { background: rgb(255 197 61 / 0.14); color: #ffd36b; }

/* ─── Una compra ─── */
.shop-order { display: grid; grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr); gap: 18px; align-items: start; }
.shop-order-main { display: grid; gap: 22px; padding: 22px; }
.shop-order-product { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; align-items: center; }
.shop-order-art { border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; height: auto; }
.shop-order-product h2 { font-size: 22px; font-weight: 500; margin: 2px 0 4px; }
.shop-order-product p { color: var(--shop-text-2); font-size: 14px; }
.shop-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.shop-steps li { position: relative; display: grid; justify-items: center; gap: 8px; color: var(--shop-text-3); font-size: 13px; font-weight: 500; text-align: center; }
.shop-steps li::after { content: ''; position: absolute; top: 17px; left: calc(50% + 24px); width: calc(100% - 40px); height: 2px; background: rgb(255 255 255 / 0.08); }
.shop-steps li:last-child::after { display: none; }
.shop-steps li > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgb(255 255 255 / 0.06); color: var(--shop-text-2); font-weight: 600; }
.shop-steps li > span svg { width: 18px; height: 18px; }
.shop-steps li.done { color: var(--shop-text-2); }
.shop-steps li.done > span { background: rgb(43 177 10 / 0.2); color: #63d64a; }
.shop-steps li.done::after { background: rgb(43 177 10 / 0.45); }
.shop-steps li.now { color: var(--shop-text); }
.shop-steps li.now > span { background: var(--shop-btn); color: #fff; box-shadow: 0 0 0 5px rgb(255 91 21 / 0.18); }
.shop-steps.is-bad li.now > span { background: #a8333f; box-shadow: 0 0 0 5px rgb(255 90 110 / 0.16); }
.shop-order-status { display: grid; gap: 8px; }
.shop-order-status p { color: var(--shop-text-2); font-size: 14px; line-height: 1.5; }
.shop-order-actions { gap: 10px; }
.shop-deliveries h3 { font-size: 15px; font-weight: 500; margin-bottom: 10px; }
.shop-deliveries ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.shop-deliveries li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--shop-row); }
.shop-deliveries li > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgb(255 91 21 / 0.14); color: #ff8a52; }
.shop-deliveries li > span svg { width: 15px; height: 15px; }
.shop-deliveries li.dl-done > span { background: rgb(43 177 10 / 0.18); color: #63d64a; }
.shop-deliveries li.dl-failed > span { background: rgb(255 90 110 / 0.16); color: #ff8091; }
.shop-deliveries li b { font-weight: 500; font-size: 14px; }
.shop-deliveries li small { color: var(--shop-text-3); font-size: 12.5px; }
.shop-order-side { display: grid; gap: 14px; }
.shop-facts { display: grid; gap: 12px; margin: 0; }
.shop-facts div { display: grid; gap: 2px; }
.shop-facts dt { color: var(--shop-text-3); font-size: 12px; }
.shop-facts dd { margin: 0; color: var(--shop-text); font-weight: 500; }

/* ─── Términos ─── */
.shop-terms { max-width: 820px; padding: 26px 28px; line-height: 1.65; }
.shop-terms h2 { font-size: 18px; font-weight: 500; margin: 18px 0 8px; }
.shop-terms h2:first-child { margin-top: 0; }

/* ─── Diálogo de compra ─── */
[data-skin="player"] .modal { border-radius: 16px; background: var(--shop-card); }
.shop-checkout { --gap: 16px; }
.shop-checkout-item { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: center; }
.shop-checkout-art { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; height: auto; }
.shop-checkout-item b { display: block; color: var(--shop-text); font-size: 17px; font-weight: 500; }
.shop-gets { display: grid; gap: 6px; padding: 12px 14px; border-radius: 12px; background: var(--shop-row); }
.shop-gets > span { color: var(--shop-text-3); font-size: 12px; }
.shop-gets ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.shop-gets li { display: flex; align-items: center; gap: 8px; color: var(--shop-text); font-size: 14px; }
.shop-gets li svg { width: 16px; height: 16px; color: #63d64a; }
.shop-gets small { color: var(--shop-text-3); font-size: 12px; }
.shop-methods { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.shop-methods legend { margin-bottom: 8px; padding: 0; color: var(--shop-text-3); font-size: 12px; }
.shop-method {
  display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px;
  border-radius: 12px; background: var(--shop-row); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.05); cursor: pointer;
}
.shop-method:has(input:checked) { box-shadow: inset 0 0 0 2px var(--shop-accent); }
.shop-method input { width: 18px; height: 18px; accent-color: var(--shop-accent); }
.shop-method-name { display: grid; color: var(--shop-text); font-weight: 500; }
.shop-method-name small { color: var(--shop-text-3); font-size: 12px; font-weight: 400; }
.shop-method b { color: var(--shop-text); font-weight: 500; white-space: nowrap; }
.shop-method.is-off { opacity: 0.5; cursor: not-allowed; }
.shop-pay { width: 100%; justify-content: center; padding-block: 12px; border-radius: 10px; }

/* ─── Pantallas medianas y celular ─── */
@media (max-width: 1100px) {
  .shop-hero, .shop-order { grid-template-columns: minmax(0, 1fr); }
  .shop-row { grid-template-columns: 56px minmax(0, 2fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.4fr) 16px; }
  .shop-row-cell:nth-of-type(5) { display: none; } /* la fecha */
}
@media (max-width: 860px) {
  .shop-frame { padding: 0; }
  .shop-app { display: block; min-height: 100vh; border-radius: 0; background: var(--shop-bg); }
  .shop-tools .user-btn-text { display: none; }
  /* la barra lateral pasa a pestañas horizontales arriba */
  .shop-side { position: static; height: auto; overflow: visible; display: grid; gap: 12px; padding: 14px 0 0; }
  .shop-brand { padding: 0 16px; }
  .shop-nav { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 12px; scrollbar-width: none; border-bottom: 1px solid rgb(255 255 255 / 0.06); }
  .shop-nav::-webkit-scrollbar { display: none; }
  .shop-nav a { flex: none; padding: 8px 14px; border-radius: 999px; background: rgb(255 255 255 / 0.04); font-size: 13px; }
  .shop-nav a[aria-current="page"] { background: rgb(255 91 21 / 0.18); }
  .shop-nav a[aria-current="page"]::before { display: none; }
  .shop-side-foot { display: none; }
  .shop-top { position: absolute; top: 12px; right: 12px; left: auto; padding: 0; }
  .shop-search { display: none; }
  .shop-main { padding: 18px 16px 30px; gap: 26px; }
  /* en el celular el arte queda en una franja arriba y el texto debajo, sin pisarse */
  .shop-feature { min-height: 0; padding: 164px 18px 20px; align-content: end; }
  .shop-feature-art { inset: 0 0 auto; height: 178px; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
  .shop-feature::before { display: none; }
  .shop-feature-body { max-width: none; }
  .shop-thumbs { display: none; }
  .shop-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .shop-offer-foot { flex-wrap: wrap; }
  .shop-row { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px 12px; padding: 10px 12px; }
  .shop-row-art { width: 52px; height: 34px; }
  .shop-row-cell:not(.shop-row-main):not(.shop-row-status) { display: none; }
  .shop-row-status small, .shop-row-go { display: none; }
  .shop-order-product { grid-template-columns: 1fr; }
  .shop-order-art { max-width: 320px; }
  .shop-order-main { padding: 16px; }
}
@media (max-width: 420px) {
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .shop-offer-body { padding: 10px 10px 12px; }
  .shop-offer-foot .shop-btn { width: 100%; justify-content: center; }
  .shop-price { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-offer { transition: none; }
  .shop-offer:hover { transform: none; }
}

/* ─── v1.1.5: ítems del sistema, carrito y comprobantes ─── */
.shop-art-img { object-fit: cover; background: #0d0a18; }
.shop-sys-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.shop-sys-actions .btn { flex: 1 1 180px; justify-content: center; }
.shop-sys-actions .shop-pay { width: auto; }
.shop-sys-desc { display: block; margin-top: 2px; color: var(--shop-text-3); font-size: 13px; line-height: 1.4; }
.shop-bullets li { display: block; }
.shop-granted { display: flex; align-items: center; gap: 8px; margin-top: 4px; padding: 8px 10px; border-radius: 10px; background: rgb(43 177 10 / 0.12); color: #9be58a; font-size: 13px; }
.shop-granted svg { width: 16px; height: 16px; flex: none; }
.shop-name-now { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.shop-name-now div { padding: 10px 12px; border-radius: 12px; background: var(--shop-row); min-width: 0; }
.shop-name-now dt { color: var(--shop-text-3); font-size: 12px; }
.shop-name-now dd { margin: 2px 0 0; color: var(--shop-text); font-weight: 600; overflow-wrap: anywhere; }
.shop-pill.tone-off { background: rgb(150 120 255 / 0.16); color: #c4b2ff; }
.shop-vip-note { margin: 0; font-size: 13px; }
.vip-levels { display: grid; gap: 8px; }
.vip-level { border-radius: 12px; background: var(--shop-row); }
.vip-level summary { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 12px 14px; cursor: pointer; list-style: none; }
.vip-level summary::-webkit-details-marker { display: none; }
.vip-level summary::after { content: '+'; margin-left: auto; color: var(--shop-text-3); font-weight: 700; }
.vip-level[open] summary::after { content: '−'; }
.vip-level summary small { flex-basis: 100%; color: var(--shop-text-3); font-size: 13px; }
.vip-level-name { color: var(--shop-text); font-weight: 700; }
.vip-benefits { list-style: none; margin: 0; padding: 0 14px 14px; display: grid; gap: 6px; }
.vip-benefits li { display: flex; gap: 8px; color: var(--shop-text-2); font-size: 14px; line-height: 1.45; }
.vip-dot { color: var(--shop-accent); font-weight: 700; }

.shop-cart-link { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--shop-text); background: rgb(255 255 255 / 0.05); }
.shop-cart-link:hover { background: rgb(255 255 255 / 0.1); }
.shop-cart-link svg { width: 20px; height: 20px; }
.shop-cart-count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--shop-accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }

.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 18px; align-items: start; }
.cart-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: var(--shop-row); }
.cart-item.has-error { box-shadow: inset 0 0 0 1px rgb(255 90 110 / 0.5); }
.cart-art { display: block; width: 72px; height: 48px; border-radius: 10px; overflow: hidden; }
.cart-main { display: grid; gap: 3px; min-width: 0; }
.cart-main b { color: var(--shop-text); overflow-wrap: anywhere; }
.cart-main small { color: var(--shop-text-3); }
.cart-error { display: flex; align-items: center; gap: 6px; color: #ff8091; font-size: 13px; }
.cart-error svg { width: 14px; height: 14px; flex: none; }
.cart-acts { display: flex; gap: 6px; align-items: center; }
.cart-pay h2 { margin: 0; font-size: 18px; }
.shop-order-items { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.shop-order-items li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; background: var(--shop-row); }
.shop-order-items small { color: var(--shop-text-3); white-space: nowrap; }

/* Comprobante: una hoja blanca, también en pantalla */
.receipt { max-width: 820px; margin: 0 auto; padding: 32px; border-radius: 16px; background: #fff; color: #1d1b26; font-size: 14px; line-height: 1.45; position: relative; }
.receipt-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding-bottom: 18px; border-bottom: 2px solid #1d1b26; }
.receipt-issuer { display: flex; gap: 14px; align-items: flex-start; }
.receipt-issuer div { display: grid; gap: 2px; }
.receipt-issuer b { font-size: 18px; }
.receipt-logo { width: 64px; height: 64px; object-fit: contain; }
.receipt-id { display: grid; gap: 2px; text-align: right; }
.receipt-id b { font-size: 18px; }
.receipt-id span:first-child { text-transform: uppercase; letter-spacing: 0.06em; font-size: 12px; color: #5b5866; }
.receipt-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 18px 0; }
.receipt-meta dt { font-size: 12px; color: #5b5866; }
.receipt-meta dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.receipt-items { width: 100%; border-collapse: collapse; }
.receipt-items th, .receipt-items td { padding: 8px 6px; border-bottom: 1px solid #d9d6e0; text-align: left; }
.receipt-items th:nth-child(n+2), .receipt-items td:nth-child(n+2) { text-align: right; white-space: nowrap; }
.receipt-items tfoot th, .receipt-items tfoot td { border-bottom: 0; font-size: 16px; font-weight: 700; }
.receipt-items tfoot th { text-align: right; }
.receipt-void { margin: 16px 0 0; padding: 10px 12px; border: 2px solid #c8102e; border-radius: 8px; color: #c8102e; font-weight: 700; }
.receipt.is-void::after { content: 'ANULADO'; position: absolute; inset: 40% 0 auto; text-align: center; font-size: 72px; font-weight: 800; color: rgb(200 16 46 / 0.14); transform: rotate(-12deg); pointer-events: none; }
.receipt-legend { margin: 22px 0 0; color: #5b5866; font-size: 12px; text-align: center; }

@media (max-width: 860px) {
  .cart-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .cart-item { grid-template-columns: 56px minmax(0, 1fr); }
  .cart-art { width: 56px; height: 40px; }
  .cart-acts { grid-column: 1 / -1; justify-content: flex-end; }
  .shop-name-now { grid-template-columns: minmax(0, 1fr); }
  .receipt { padding: 18px; }
  .receipt-id { text-align: left; }
}
@media print {
  .shop-side, .shop-top, .no-print, .skip, .toasts { display: none !important; }
  .shop-frame, .shop-app, .shop-body, .shop-main { display: block !important; padding: 0 !important; margin: 0 !important; background: #fff !important; }
  body { background: #fff !important; }
  .receipt { max-width: none; border-radius: 0; padding: 0; }
}
/* v1.1.5: el precio de los ítems del sistema puede ser largo ("5.000 SP de Zombie Roleplay"): baja de renglón y el botón no se corta */
.shop-offer-foot { flex-wrap: wrap; }
.shop-price-sys { white-space: normal; line-height: 1.3; flex: 1 1 130px; min-width: 0; }
.shop-price-sys > :first-child { flex: none; }
/* v1.1.5: en el carrito y en los formularios del sistema el precio puede ser largo: va debajo del nombre */
.cart-pay .shop-method, .shop-checkout[data-sys] .shop-method { grid-template-columns: auto minmax(0, 1fr); }
.cart-pay .shop-method b, .shop-checkout[data-sys] .shop-method b { grid-column: 2; white-space: normal; }

/* ─── v1.1.6, fase 6: ofertas, lista de deseos, paquetes, meta del mes, regalos y la página del VIP ─── */
/* 53: la oferta (el porcentaje, la cuenta regresiva y el precio de antes) */
.to-strip { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; }
.to-tag { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 6px; background: var(--shop-accent); color: #1a0a03; font-size: 12px; font-weight: 700; line-height: 1.5; }
.to-cuenta { display: inline-flex; align-items: center; gap: 5px; color: var(--shop-text-2); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.to-cuenta svg { width: 14px; height: 14px; flex: none; color: var(--shop-accent); }
.to-antes { color: var(--shop-text-3); font-size: 12.5px; font-weight: 400; text-decoration-thickness: 1.5px; }
/* 52: el corazón */
.shop-offer-art { position: relative; }
.to-heart {
  display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
  background: rgb(13 10 24 / 0.72); color: var(--shop-text); cursor: pointer; transition: transform 120ms var(--ease), color 120ms var(--ease);
}
.to-heart svg { width: 19px; height: 19px; }
.to-heart:hover { color: #ff9aa9; }
.to-heart[aria-pressed="true"] { color: #ff5f7e; }
.to-heart[aria-pressed="true"] svg { fill: currentColor; }
.to-heart:focus-visible { outline: 2px solid var(--shop-accent); outline-offset: 2px; }
.to-heart:active { transform: scale(0.9); }
.to-heart:disabled { opacity: 0.6; cursor: progress; }
.shop-offer-art .to-heart { position: absolute; top: 8px; right: 8px; }
.shop-feature-buy .to-heart { background: rgb(255 255 255 / 0.08); }
/* 54 y 58: el enlace a la comparación del VIP */
.to-vip-link { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; color: #f0a27e; font-size: 12.5px; font-weight: 500; }
.to-vip-link svg { width: 14px; height: 14px; }
/* 57: la meta del mes */
.to-meta { display: grid; gap: 8px; padding: 12px 16px; border-radius: 12px; background: var(--shop-card); }
.to-meta-txt { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--shop-text-2); font-size: 14px; }
.to-meta-txt svg { width: 18px; height: 18px; flex: none; color: var(--shop-accent); }
.to-meta-txt b { color: var(--shop-text); font-weight: 600; }
.to-meta-bar { height: 8px; border-radius: 999px; background: var(--shop-tag); overflow: hidden; }
.to-meta-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--shop-btn), var(--shop-accent)); }
/* 51 y 60: regalar */
.to-regalo { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px 20px; background: linear-gradient(100deg, rgb(255 91 21 / 0.16), var(--shop-card) 62%); }
.to-regalo-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgb(255 91 21 / 0.16); color: var(--shop-accent); }
.to-regalo-ic svg { width: 26px; height: 26px; }
.to-regalo-txt h2 { font-size: 17px; font-weight: 500; }
.to-regalo-txt p { margin: 4px 0 0; max-width: 64ch; color: var(--shop-text-2); font-size: 13.5px; line-height: 1.5; }
.to-regalo-acc { display: flex; gap: 10px; flex-wrap: wrap; }
.shop-checkout[data-regalo] .shop-method { grid-template-columns: auto minmax(0, 1fr); }
.shop-checkout[data-regalo] .shop-method b { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 8px; white-space: normal; }
.rg-modo { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.rg-modo legend { margin-bottom: 8px; padding: 0; color: var(--shop-text-3); font-size: 12px; }
.rg-seg { display: flex; background: var(--shop-input); border-color: transparent; }
.rg-seg label { flex: 1 1 auto; justify-content: center; color: var(--shop-text-3); }
.rg-seg label:has(input:checked) { background: var(--shop-row); color: var(--shop-text); box-shadow: inset 0 0 0 2px var(--shop-accent); }
.hint.rg-ok { color: #7fe0a0; }
/* 52: la lista de deseos */
.to-deseos-bloque:empty { display: none; }
.to-deseos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.to-deseo { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--shop-card); }
.to-deseo-art { width: 64px; height: 40px; border-radius: 8px; overflow: hidden; }
.to-deseo-txt { display: grid; gap: 3px; min-width: 0; }
.to-deseo-txt b { overflow: hidden; color: var(--shop-text); font-size: 14px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.to-deseo-txt small { color: var(--shop-text-3); font-size: 12.5px; }
.to-deseo .to-heart { width: 32px; height: 32px; background: var(--shop-tag); }
/* 59: los términos en cinco renglones */
.to-resumen { display: grid; gap: 10px; box-shadow: inset 0 0 0 1px rgb(255 91 21 / 0.4); }
.to-resumen h2 { font-size: 17px; font-weight: 500; }
.to-resumen ul { display: grid; gap: 6px; margin: 0; padding-left: 20px; color: var(--shop-text-2); font-size: 14px; line-height: 1.55; }
.to-resumen li::marker { color: var(--shop-accent); }
.to-resumen p { margin: 0; }
/* la orden: el regalo, la tarjeta y los cambios de nombre del paquete */
.to-orden-extras { display: grid; gap: 12px; margin-top: 14px; }
.to-orden-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px; border-radius: 12px; background: rgb(255 255 255 / 0.04); }
.to-orden-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgb(255 91 21 / 0.14); color: var(--shop-accent); }
.to-orden-ic svg { width: 20px; height: 20px; }
.to-orden-item h3 { font-size: 15px; font-weight: 500; }
.to-orden-item p { margin: 4px 0 0; color: var(--shop-text-2); font-size: 13.5px; line-height: 1.5; }
.to-orden-item .to-orden-estado { color: var(--shop-text-3); }
.to-msg { margin: 8px 0 0; padding: 8px 12px; border-left: 3px solid var(--shop-accent); border-radius: 0 8px 8px 0; background: rgb(255 255 255 / 0.04); color: var(--shop-text); font-size: 14px; font-style: italic; }
.to-codigo { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.to-codigo code { padding: 8px 14px; border-radius: 8px; background: var(--shop-input); color: var(--shop-text); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 20px; letter-spacing: 0.12em; }
/* 54 y 55: la página del VIP */
.vc-probar, .vc-tabla-card { display: grid; gap: 14px; min-width: 0; }
.vc-tabla-card > * { min-width: 0; }
.vc-probar-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap; }
.vc-probar-head h2, .vc-tabla-head h2 { font-size: 17px; font-weight: 500; }
.vc-tabla-head { display: grid; gap: 4px; }
.vc-niveles { background: var(--shop-input); border-color: transparent; }
.vc-niveles button { color: var(--shop-text-3); cursor: pointer; }
.vc-niveles button[aria-pressed="true"] { background: var(--shop-accent); color: #1a0a03; box-shadow: none; }
.vc-probar-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 28px; align-items: center; }
.vc-perfil {
  grid-row: span 2; display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 14px;
  background: radial-gradient(120% 140% at 0% 0%, rgb(255 91 21 / 0.16), transparent 60%), var(--shop-row);
}
.vc-perfil-txt { display: grid; gap: 6px; min-width: 0; }
.vc-perfil-name { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--shop-text); font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; overflow-wrap: anywhere; }
.vc-perfil-meta { margin: 0; color: var(--shop-text-3); font-size: 13px; }
.vc-perfil-meta b { color: var(--shop-text-2); font-weight: 500; }
.vc-resumen { margin: 0; color: var(--shop-text-2); font-size: 14px; line-height: 1.55; }
.vc-ops { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.vc-ops li { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 10px; background: var(--shop-row); }
.vc-ops li > span:first-child { display: grid; gap: 2px; }
.vc-ops b { color: var(--shop-text); font-size: 14px; font-weight: 500; }
.vc-ops small { color: var(--shop-text-3); font-size: 12.5px; }
.vc-ops-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.vc-nota { display: flex; align-items: center; gap: 8px; margin: 0; }
.vc-nota svg { width: 16px; height: 16px; flex: none; color: var(--shop-accent); }
/* relative: los .sr-only de las celdas (absolutos) quedan adentro y no estiran la página en el celular */
.vc-scroll { position: relative; min-width: 0; max-width: 100%; overflow-x: auto; border-radius: 10px; }
.vc-scroll:focus-visible { outline: 2px solid var(--shop-accent); outline-offset: 2px; }
.vc-table { width: 100%; min-width: 900px; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.vc-table th, .vc-table td { padding: 10px 8px; border-bottom: 1px solid rgb(255 255 255 / 0.06); text-align: center; vertical-align: middle; }
.vc-benef-h, .vc-table .vc-benef { position: sticky; left: 0; z-index: 1; min-width: 230px; max-width: 300px; background: var(--shop-card); text-align: left; }
.vc-benef-h { color: var(--shop-text-3); font-size: 12px; font-weight: 500; }
.vc-benef b { display: block; color: var(--shop-text); font-size: 13.5px; font-weight: 500; }
.vc-benef small { display: block; margin-top: 2px; color: var(--shop-text-3); font-size: 12px; font-weight: 400; line-height: 1.4; }
.vc-col { min-width: 88px; }
.vc-col small { display: block; color: var(--shop-text-3); font-size: 11px; font-weight: 400; }
.vc-colbtn { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 8px; border: 0; border-radius: 10px; background: transparent; color: var(--shop-text); font: inherit; font-weight: 600; cursor: pointer; }
.vc-colbtn:hover { background: rgb(255 255 255 / 0.05); }
.vc-colbtn:focus-visible { outline: 2px solid var(--shop-accent); outline-offset: 1px; }
.vc-table .vc-grupo th { padding: 16px 8px 6px; border-bottom: 0; text-align: left; color: #f0a27e; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.vc-grupo th span { position: sticky; left: 8px; }
.vc-si svg { width: 18px; height: 18px; color: #6fdc96; }
.vc-no { color: var(--shop-text-3); }
.vc-val { min-width: 96px; color: var(--shop-text-2); font-size: 12px; line-height: 1.35; }
.vc-val.is-nuevo { color: var(--shop-text); font-weight: 600; }
.vc-table .is-sel { background: rgb(255 91 21 / 0.1); }
.vc-table thead .is-sel .vc-colbtn { color: var(--shop-accent); }
.vc-desliza { display: none; margin: 0; }
@media (max-width: 900px) {
  .vc-desliza { display: block; }
  .vc-probar-body { grid-template-columns: 1fr; }
  .vc-perfil { grid-row: auto; }
}
@media (max-width: 720px) {
  .to-regalo { grid-template-columns: auto minmax(0, 1fr); }
  .to-regalo-acc { grid-column: 1 / -1; }
  .to-regalo-acc .btn { flex: 1 1 auto; justify-content: center; }
  .vc-benef-h, .vc-table .vc-benef { min-width: 160px; max-width: 180px; }
  .vc-table { min-width: 780px; }
}
@media (prefers-reduced-motion: reduce) { .to-heart { transition: none; } .to-heart:active { transform: none; } }
