/* Tienda pública. Usa los mismos colores y paletas del panel (tokens.css + base.css). */

body.store {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.store > main {
  flex: 1;
}
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }
}
.store a {
  color: inherit;
}
.store h1,
.store h2,
.store h3 {
  font-family: var(--font-head);
  letter-spacing: -0.01em;
}
.btn-lg {
  height: auto;
  min-height: 48px;
  padding: 10px 22px;
  font-size: 15px;
  border-radius: 14px;
}
.flip {
  transform: rotate(180deg);
}

/* ───── Aviso superior ───── */
.notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
.notice svg {
  flex: none;
}

/* ───── Encabezado ───── */
.st-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.st-head-in {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 66px;
}
.st-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}
.st-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--on-accent);
}
.st-logo-img {
  height: 38px;
  max-width: 140px;
  object-fit: contain;
}
.st-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
}
.st-search {
  flex: 1;
  max-width: 520px;
  margin-left: auto;
  position: relative;
  display: flex;
  align-items: center;
}
.st-search svg {
  position: absolute;
  left: 14px;
  color: var(--muted);
  pointer-events: none;
}
.st-search input {
  width: 100%;
  height: 42px;
  padding: 0 16px 0 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.st-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.st-icon-btn {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.st-icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
[data-theme='dark'] .i-sun,
[data-theme='light'] .i-moon {
  display: none;
}
.st-icon-btn span {
  display: grid;
}
@media (max-width: 640px) {
  .st-head-in {
    flex-wrap: wrap;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 10px;
  }
  .st-search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }
  .st-brand {
    margin-right: auto;
  }
}

/* chips de categorías */
.st-cats {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 2px;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.st-cats::-webkit-scrollbar {
  display: none;
}
.chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.chip:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
}
.chip.on {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

/* ───── Portada ───── */
.hero-slider {
  position: relative;
  margin-top: 22px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}
.hs-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.hs-track::-webkit-scrollbar {
  display: none;
}
.hs-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
}
.hs-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hs-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0) 100%);
}
.hs-slide.no-img {
  background:
    radial-gradient(600px 300px at 85% 20%, var(--accent-soft), transparent 70%),
    linear-gradient(135deg, var(--surface-2), var(--surface));
}
.hs-slide.no-img::after {
  display: none;
}
.hs-text {
  position: relative;
  z-index: 1;
  padding: 40px 44px;
  max-width: 620px;
  color: #fff;
}
.hs-slide.no-img .hs-text {
  color: var(--text);
}
.hs-ico {
  width: 64px;
  height: 64px;
  border-radius: 22%;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.hs-text h2 {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.1;
  margin: 0 0 10px;
}
.hs-text p {
  margin: 0 0 20px;
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.5;
}
.hs-dots {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 6px;
}
.hs-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.2s, background 0.2s;
}
.hs-dots button.on {
  width: 24px;
  background: #fff;
}
@media (max-width: 640px) {
  .hero-slider {
    border-radius: 18px;
    margin-top: 16px;
  }
  .hs-slide {
    min-height: 280px;
  }
  .hs-slide::after {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.2) 70%);
  }
  .hs-text {
    padding: 24px 22px 40px;
  }
}

.hero-plain {
  margin-top: 22px;
  padding: 48px 44px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background:
    radial-gradient(700px 320px at 90% 0%, var(--accent-soft), transparent 70%),
    var(--surface);
}
.hero-plain h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.1;
  margin: 0 0 12px;
  max-width: 720px;
}
.hero-plain p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
  max-width: 600px;
  line-height: 1.55;
}
.hero-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 7px 14px;
  border-radius: 99px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}
@media (max-width: 640px) {
  .hero-plain {
    padding: 30px 22px;
    border-radius: 18px;
  }
}

/* secciones */
.sec {
  margin-top: 36px;
}
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.sec-head h2 {
  font-size: 21px;
  margin: 0;
}
.sec-head a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

/* destacadas: fila con desplazamiento */
.feat-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.feat {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background:
    radial-gradient(260px 140px at 100% 0%, var(--accent-soft), transparent 70%),
    var(--surface);
  text-decoration: none;
  transition: transform 0.15s, border-color 0.15s;
}
.feat:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
}
.feat .ico {
  margin-bottom: 10px;
}
.feat strong {
  font-family: var(--font-head);
  font-size: 17px;
}
.feat small {
  color: var(--muted);
  font-size: 13px;
}
.feat-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  margin-top: 6px;
  flex: 1;
}
.feat-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 14px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 13px;
  font-weight: 600;
}

/* íconos de app */
.ico {
  flex: none;
  border-radius: 22%;
  object-fit: cover;
  background: var(--surface-2);
  box-shadow: 0 0 0 1px var(--border);
}
.ico.ph {
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  color: var(--accent);
  background: var(--accent-soft);
}
.ico.big.ph {
  font-size: 48px;
}

/* ranking */
.rank {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 18px;
}
@media (max-width: 960px) {
  .rank {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .rank {
    grid-template-columns: minmax(0, 1fr);
  }
}
.rank a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 14px;
  text-decoration: none;
}
.rank a:hover {
  background: var(--surface);
}
.rank-n {
  width: 22px;
  flex: none;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  color: var(--muted);
}
.rank li:nth-child(-n + 3) .rank-n {
  color: var(--accent);
}
.rank-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rank-body strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-body small {
  color: var(--muted);
  font-size: 13px;
}

/* cuadrícula de apps */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 14px;
}
@media (max-width: 400px) {
  .grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.app-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  transition: transform 0.15s, border-color 0.15s;
  min-width: 0;
}
.app-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
}
.ac-body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ac-body strong {
  font-size: 15.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ac-sub {
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 500;
}
.ac-desc {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.4;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ac-meta {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 12.5px;
}
.ac-meta .dl {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

/* categorías */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}
.cat-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.15s;
}
.cat-tile:hover {
  border-color: var(--accent);
}
.cat-tile small {
  color: var(--muted);
}
.cat-ico {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 8px;
  flex: none;
}
.cat-ico.lg {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin: 0;
}

/* título de página (categoría / búsqueda) */
.page-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0 18px;
}
.page-title h1 {
  font-size: clamp(24px, 3.5vw, 32px);
  margin: 0;
}
.page-title p {
  margin: 2px 0 0;
}
.list-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.sort {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.sort a {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.sort a.on {
  background: var(--accent);
  color: var(--on-accent);
}
.st-pager {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 26px;
}
.st-pager a {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  font-size: 14px;
}
.st-pager a.on {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}

/* vacío */
.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.empty svg {
  color: var(--accent);
  margin-bottom: 10px;
}
.empty h1,
.empty h2 {
  color: var(--text);
  font-size: 22px;
  margin: 0 0 6px;
}
.empty.big {
  padding: 100px 20px;
}
.empty a {
  color: var(--accent);
}

/* ───── Ficha de la app ───── */
.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 22px 0 18px;
  font-size: 13.5px;
  color: var(--muted);
}
.crumbs a {
  color: var(--muted);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--accent);
}
.crumbs span {
  color: var(--text);
}
.store .warn-box {
  margin-top: 18px;
}
.app-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background:
    radial-gradient(600px 260px at 0% 0%, var(--accent-soft), transparent 70%),
    var(--surface);
}
.app-hero .ico.big {
  width: 120px;
  height: 120px;
  box-shadow:
    0 0 0 1px var(--border),
    0 12px 30px rgba(0, 0, 0, 0.25);
}
.app-hero h1 {
  font-size: clamp(26px, 4vw, 36px);
  margin: 0;
  line-height: 1.1;
}
.app-hero .dev {
  margin: 6px 0 0;
  color: var(--accent);
  font-weight: 500;
}
.app-hero .lead {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
  max-width: 560px;
}
.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.app-tags a {
  text-decoration: none;
}
.app-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 210px;
}
.btn-dl {
  justify-content: center;
  gap: 12px;
  text-align: left;
}
.btn-dl span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-weight: 700;
  font-size: 16px;
}
.btn-dl small {
  font-weight: 500;
  font-size: 12px;
  opacity: 0.85;
}
.app-cta > .btn:not(.btn-dl) {
  justify-content: center;
}
@media (max-width: 860px) {
  .app-hero {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 22px;
  }
  .app-cta {
    grid-column: 1 / -1;
    flex-direction: row;
    min-width: 0;
  }
  .app-cta .btn {
    flex: 1;
  }
}
@media (max-width: 520px) {
  .app-hero {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
    justify-items: center;
    gap: 16px;
  }
  .app-tags {
    justify-content: center;
  }
  .app-cta {
    flex-direction: column;
    width: 100%;
  }
  .app-hero .ico.big {
    width: 100px;
    height: 100px;
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}
.stats > div {
  padding: 16px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stats > div + div {
  border-left: 1px solid var(--border);
}
.stats strong {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
}
.stats span {
  color: var(--muted);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (max-width: 600px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats > div:nth-child(3) {
    border-left: 0;
  }
  .stats > div:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }
}

/* capturas */
.shots-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.shots-row .shot {
  flex: none;
  height: 420px;
  aspect-ratio: 9 / 16;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-2);
  cursor: zoom-in;
  scroll-snap-align: start;
}
.shots-row .shot.wide {
  aspect-ratio: 16 / 9;
  height: 300px;
}
.shots-row .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 640px) {
  .shots-row .shot {
    height: 340px;
  }
  .shots-row .shot.wide {
    height: 190px;
  }
}

.app-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
  margin-top: 4px;
}
@media (max-width: 900px) {
  .app-cols {
    grid-template-columns: minmax(0, 1fr);
  }
}
.app-main .sec:first-child {
  margin-top: 22px;
}
.app-side {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}
.card-flat {
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.app-main .card-flat + .card-flat {
  margin-top: 14px;
}
.card-flat h2 {
  font-size: 17px;
  margin: 0 0 12px;
}
.prose {
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
  line-height: 1.7;
  font-size: 15px;
}
.prose p {
  margin: 0 0 12px;
}
.prose p:last-child,
.prose ul:last-child {
  margin-bottom: 0;
}
.prose ul {
  margin: 0 0 12px;
  padding-left: 20px;
}
.prose li {
  margin: 3px 0;
}
.prose a {
  color: var(--accent);
  word-break: break-all;
}
.info {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 16px;
  margin: 0;
  font-size: 14px;
}
.info dt {
  color: var(--muted);
}
.info dd {
  margin: 0;
  text-align: right;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.vers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.vers li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-2);
}
.vers li span {
  display: flex;
  flex-direction: column;
}
.vers small {
  color: var(--muted);
  font-size: 12.5px;
}
.vers .btn {
  text-decoration: none;
}
.howto {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 16px;
  margin-top: 10px;
  background: var(--surface-2);
}
.howto summary {
  padding: 14px 0;
  font-weight: 600;
  cursor: pointer;
}
.howto ol {
  margin: 0 0 12px;
  padding-left: 22px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
}
.copy-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px 22px;
  padding: 8px 8px 8px 14px;
  border-radius: 12px;
  border: 1px dashed var(--border);
  background: var(--surface);
}
.copy-line code {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 13.5px;
  overflow-wrap: anywhere;
  color: var(--accent);
}
@media (max-width: 520px) {
  .copy-line {
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
  }
}

/* ───── Pie ───── */
.st-foot {
  margin-top: 60px;
  border-top: 1px solid var(--border);
  background: var(--side);
}
.st-foot-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 28px;
  flex-wrap: wrap;
}
.st-foot p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.st-foot-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.st-foot-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.st-foot-links a:hover {
  color: var(--accent);
}
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s;
}
.wa-float:hover {
  transform: scale(1.06);
}

/* ───── Visor de capturas ───── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 70px;
  background: rgba(0, 0, 0, 0.88);
}
.lightbox[hidden] {
  display: none;
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 14px;
  object-fit: contain;
}
.lb-x,
.lb-nav {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}
.lb-x:hover,
.lb-nav:hover {
  background: rgba(255, 255, 255, 0.24);
}
.lb-x {
  top: 18px;
  right: 18px;
}
.lb-nav.prev {
  left: 14px;
}
.lb-nav.next {
  right: 14px;
}
@media (max-width: 640px) {
  .lightbox {
    padding: 70px 12px;
  }
  .lb-nav {
    top: auto;
    bottom: 14px;
  }
  .lb-nav.prev {
    left: calc(50% - 56px);
  }
  .lb-nav.next {
    right: calc(50% - 56px);
  }
}

.st-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 110;
  transform: translateX(-50%);
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  font-weight: 500;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.st-toast[hidden] {
  display: none;
}
.app-tags > .pill {
  font-size: 11px;
  line-height: 1.3;
  min-width: 0;
}
