/* Identidad sacada del logo y las plantillas: negro cepillado, rojo, cromado y el #número amarillo de los reels. */
:root {
  --black: #0E0E10;
  --black-2: #1B1B1F;
  --red: #E3262B;
  --red-ink: #C4141A;
  --yellow: #FFD23F;
  --paper: #EFEFF1;
  --surface: #FFFFFF;
  --surface-2: #F4F4F6;
  --ink: #141416;
  --ink-2: #55555C;
  --line: #DCDCE0;
  --green: #14834B;
  --tg: #1577B4;
  --shadow: 0 1px 2px rgb(0 0 0 / .06), 0 10px 26px -14px rgb(0 0 0 / .28);
  --radius: 14px;
  --display: "Anton", "Impact", sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  /* Textura del negro cepillado de las fotos del canal */
  --brushed: repeating-linear-gradient(97deg, rgb(255 255 255 / .035) 0 1px, transparent 1px 3px, rgb(255 255 255 / .02) 3px 4px, transparent 4px 7px), var(--black);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121214; --surface: #1C1C20; --surface-2: #26262B; --ink: #F3F3F5; --ink-2: #A9A9B2;
    --line: #34343B; --red-ink: #FF5A5F; --green: #45D08A;
    --shadow: 0 1px 2px rgb(0 0 0 / .5), 0 12px 30px -14px rgb(0 0 0 / .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121214; --surface: #1C1C20; --surface-2: #26262B; --ink: #F3F3F5; --ink-2: #A9A9B2;
  --line: #34343B; --red-ink: #FF5A5F; --green: #45D08A;
  --shadow: 0 1px 2px rgb(0 0 0 / .5), 0 12px 30px -14px rgb(0 0 0 / .8);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.5 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1; }
.wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Letras cromadas como en el logo */
.chrome { background: linear-gradient(180deg, #FFFFFF 0%, #F1F1F3 42%, #9A9AA2 52%, #E6E6EA 70%, #FFFFFF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.red { color: #FF4B50; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; border: 0; border-radius: 999px; padding: 12px 22px; font: 700 17px/1 var(--cond); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; white-space: nowrap; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease; }
.btn:active { transform: scale(.97); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: #C4141A; }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--tg { background: var(--tg); color: #fff; }
.btn--tg svg, .btn--fb svg { fill: currentColor; stroke: none; }
.btn--fb { background: #1466D8; color: #fff; }
.btn--fb:hover { background: #0F55B8; }
.btn--white { background: #fff; color: var(--black); }
.btn--line { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .7); }
.btn--line:hover { background: rgb(255 255 255 / .12); }
.btn--sm { padding: 10px 14px; font-size: 15px; }
.btn--lg { padding: 16px 28px; font-size: 19px; }

/* Cabecera negra con la línea roja de las plantillas */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--brushed); color: #fff; box-shadow: 0 3px 0 var(--red); }
.topbar__inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__logo { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px var(--red); }
.brand__word { font: 400 22px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; transform: skewX(-8deg); }
.brand__amp { color: #FF4B50; }
.search { position: relative; display: flex; align-items: center; }
.search > svg { position: absolute; left: 16px; color: #77777F; pointer-events: none; }
.search input { width: 100%; min-height: 44px; border: 2px solid transparent; background: #fff; color: #141416; border-radius: 999px; font: 500 16px var(--body); outline: none; transition: border-color .15s, box-shadow .15s; }
.search input:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgb(227 38 43 / .25); }
.search--top { flex: 1; max-width: 420px; margin-left: auto; }
.search--top input { padding: 10px 16px 10px 46px; }
@media (max-width: 899px) { .search--top { display: none; } .topbar .btn--fb { margin-left: auto; } }
@media (max-width: 519px) {
  .brand__word { font-size: 19px; }
  .brand__amp { display: none; }
  .topbar .btn { padding: 10px 12px; }
  .topbar .btn span { display: none; }
}

/* Hero */
.hero { position: relative; background: var(--brushed); color: #fff; padding: 44px 0 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(520px 360px at 82% 30%, rgb(227 38 43 / .35), transparent 70%); pointer-events: none; }
.hero__grid { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero { padding-top: 64px; } .hero__grid { grid-template-columns: 1.2fr .8fr; gap: 56px; } }

/* El aviso rojo de la intro de los reels */
.alert { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 7px 16px; border-radius: 999px; background: var(--red); font: italic 700 18px/1 var(--cond); text-transform: uppercase; letter-spacing: .04em; transform: rotate(-2deg); }
.alert__arrows { color: var(--yellow); letter-spacing: -.1em; font-size: 22px; }
h1 { font: 400 clamp(42px, 5.6vw, 68px)/.95 var(--display); text-transform: uppercase; letter-spacing: .005em; transform: skewX(-6deg); margin-left: .05em; }
.lede { max-width: 46ch; margin: 22px 0 26px; font-size: clamp(18px, 2vw, 20px); color: #D3D3D8; }
.search--hero { max-width: 600px; }
.search--hero input { padding: 18px 150px 18px 50px; font-size: 17px; }
.search--hero > svg { left: 18px; }
.search--hero .btn { position: absolute; right: 6px; padding: 13px 22px; }
@media (max-width: 479px) {
  .search--hero { flex-direction: column; align-items: stretch; gap: 10px; }
  .search--hero > svg { top: 20px; }
  .search--hero input { padding-right: 16px; }
  .search--hero .btn { position: static; padding: 16px; }
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips button { min-height: 44px; border: 2px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 14px; font: 600 15px/1.2 var(--body); transition: border-color .15s, background-color .15s, color .15s; }
.chips button:hover { border-color: var(--ink); }
.chips button[aria-selected="true"], .chips button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.chips button small { color: var(--ink-2); font-size: 14px; font-weight: 600; margin-left: 2px; }
.chips button[aria-selected="true"] small { color: inherit; opacity: .8; }
.chips--popular { margin-top: 16px; }
.chips--popular button { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .22); color: #fff; }
.chips--popular button:hover { border-color: #fff; }
.chips__label { font-size: 15px; color: #B9B9C0; font-weight: 600; }
.fresh { display: inline-flex; align-items: center; gap: 8px; margin: 22px 0 0; font-size: 14px; color: #B9B9C0; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3BD27F; }

/* Chollo del día con el #1 amarillo en óvalo rojo */
.featured { position: relative; background: var(--surface); color: var(--ink); border-radius: 22px; padding: 16px; box-shadow: 0 30px 60px -24px rgb(0 0 0 / .8); }
.featured:empty { display: none; }
@media (min-width: 960px) { .featured { transform: rotate(1.5deg); } }
.featured__tag { position: absolute; top: -22px; right: 18px; z-index: 2; display: flex; align-items: center; gap: 10px; margin: 0; padding: 6px 16px 6px 8px; background: var(--red); color: #fff; border-radius: 999px; font: italic 700 16px/1 var(--cond); text-transform: uppercase; letter-spacing: .05em; box-shadow: 0 8px 20px -8px rgb(227 38 43 / .9); transform: rotate(-3deg); }
.featured__tag b { display: grid; place-items: center; min-width: 38px; height: 38px; border-radius: 50%; background: var(--black); color: var(--yellow); font: 400 22px/1 var(--display); text-shadow: 0 0 10px rgb(255 210 63 / .8); }
.featured__media { display: block; width: 100%; padding: 0; border: 0; background: #fff; border-radius: 12px; aspect-ratio: 6/5; overflow: hidden; margin-bottom: 14px; }
.featured__media img { width: 100%; height: 100%; object-fit: cover; }
.featured__title { font: 700 22px/1.2 var(--cond); margin-bottom: 8px; }
.featured .card__actions .btn { flex: 1; }

.stats { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 24px; margin: 48px auto 0; padding-bottom: 48px; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats div { padding: 14px 0; border-top: 1px solid rgb(255 255 255 / .16); }
.stats dt { font: 600 14px var(--body); color: #B9B9C0; text-transform: uppercase; letter-spacing: .06em; }
.stats dd { margin: 4px 0 0; font: 400 40px/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
/* Corte inclinado con la línea roja, como el borde de las fotos del canal */
.hero::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -26px; height: 44px; background: var(--paper); border-top: 5px solid var(--red); transform: rotate(-1.4deg); }

.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.price strong { font: 400 26px/1 var(--display); color: var(--red-ink); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.price s { color: var(--ink-2); font-size: 15px; }
.price--lg strong { font-size: 38px; }
.pill { padding: 2px 9px; border-radius: 999px; background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); font: 700 15px/1.4 var(--cond); }
.pill--red { background: var(--red); color: #fff; }

/* Comparador */
.compare-strip { padding: 44px 0 36px; background: var(--brushed); color: #fff; }
.compare-strip__head { margin-bottom: 18px; }
.compare-strip h2 { font: 400 clamp(26px, 3.6vw, 38px)/1.05 var(--display); text-transform: uppercase; }
.compare-strip p { margin: 8px 0 0; color: #C9C9CF; }
.stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.store { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface); color: var(--ink); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.store:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--red); }
.store__dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: #fff; font: 400 17px var(--display); flex: none; }
.store__name { flex: 1; font: 700 18px/1.1 var(--cond); min-width: 0; }
.store__name small { display: block; font: 500 14px var(--body); color: var(--ink-2); }
.store__go { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--ink-2); transition: background-color .15s, color .15s; }
.store:hover .store__go { background: var(--red); color: #fff; }
.store__go svg { width: 16px; height: 16px; }
.stores--modal .store { background: var(--surface-2); }
@media (max-width: 599px) {
  .stores { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .store { padding: 10px; gap: 10px; }
  .store__go { display: none; }
}

/* Listado */
.deals { padding: 52px 0 72px; }
.deals__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.title { font: 400 clamp(32px, 4.6vw, 48px)/1 var(--display); text-transform: uppercase; transform: skewX(-6deg); }
.title::after { content: ""; display: block; width: 72px; height: 5px; margin-top: 10px; background: var(--red); transform: skewX(-20deg); }
.sort { display: flex; align-items: center; gap: 8px; font: 600 15px var(--body); color: var(--ink-2); }
.sort select { min-height: 44px; font: 600 16px var(--body); color: var(--ink); background: var(--surface); border: 2px solid var(--line); border-radius: 999px; padding: 8px 12px; }
@media (max-width: 479px) { .sort span { display: none; } }
.filters { display: grid; gap: 10px; margin-bottom: 26px; }
.chips--cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; }
.chips--cats::-webkit-scrollbar { display: none; }
.chips--cats button { flex: none; }
@media (min-width: 720px) { .chips--cats { flex-wrap: wrap; margin: 0; padding: 0; } }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
@media (hover: hover) { .card:hover { transform: translateY(-3px); box-shadow: var(--shadow), 0 0 0 2px var(--red); } }
.card__media { display: block; padding: 0; border: 0; background: #fff; aspect-ratio: 6/5; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__noimg { display: grid; place-items: center; height: 100%; font-size: 48px; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 12px 14px 14px; }
.card__meta { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 6px; font: 700 14px var(--cond); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.card__meta span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--red-ink); }
.card__meta span:last-child { flex: none; }
.card__title { font: 500 16px/1.3 var(--body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 10px; min-height: 2.6em; }
.card .price { margin-top: auto; margin-bottom: 12px; }
.card__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.card .card__actions .btn { flex: 1 1 auto; }
@media (max-width: 479px) {
  .card__body { padding: 10px 10px 12px; }
  .card__title { font-size: 15px; }
  .card .price strong { font-size: 22px; }
  .card .card__actions .btn--outline { display: none; }
}

.empty { text-align: center; padding: 48px 16px; background: var(--surface); border-radius: var(--radius); color: var(--ink-2); }
.empty__title { font: 700 24px var(--cond); color: var(--ink); margin: 0 0 6px; }
.more { display: flex; justify-content: center; margin-top: 30px; }

/* Sorteos: el rojo y el aro blanco del Linktree */
.sorteos { position: relative; background: var(--red); color: #fff; padding: 64px 0; overflow: hidden; }
.sorteos::before { content: ""; position: absolute; top: 0; bottom: 0; right: -12%; width: 46%; background: var(--brushed); transform: skewX(-14deg); box-shadow: -10px 0 0 rgb(255 255 255 / .9); }
.sorteos__inner { position: relative; display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .sorteos__inner { grid-template-columns: 1fr auto; gap: 56px; } .sorteos__logo { order: 2; } }
.sorteos__logo { width: clamp(150px, 22vw, 240px); height: auto; aspect-ratio: 1; border-radius: 50%; border: 8px solid #fff; box-shadow: 0 24px 50px -18px rgb(0 0 0 / .7); }
.sorteos__kicker { display: inline-block; margin: 0 0 12px; padding: 5px 14px; background: var(--black); color: var(--yellow); border-radius: 999px; font: italic 700 16px/1.2 var(--cond); text-transform: uppercase; letter-spacing: .06em; }
.sorteos h2 { font: 400 clamp(36px, 5.4vw, 60px)/1 var(--display); text-transform: uppercase; transform: skewX(-6deg); }
.sorteos h2 span { color: var(--black); }
.sorteos p { max-width: 46ch; margin: 14px 0 0; font-size: 18px; }
.sorteos__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
@media (max-width: 859px) { .sorteos::before { width: 70%; right: -40%; opacity: .55; } }

/* Pie */
.footer { background: var(--brushed); color: #B9B9C0; padding: 40px 0 52px; font-size: 15px; }
.footer__inner { display: grid; gap: 14px; }
.footer .brand { color: #fff; }
.footer p { margin: 0; max-width: 60ch; }
.footer__small a { color: #fff; font-weight: 600; }

/* Modal comparador */
.modal { width: min(760px, calc(100% - 24px)); max-height: min(88vh, 900px); padding: 0; border: 0; border-radius: 20px; background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px -20px rgb(0 0 0 / .6); }
.modal::backdrop { background: rgb(10 10 12 / .7); backdrop-filter: blur(3px); }
.modal[open] { animation: pop .22s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media (max-width: 599px) {
  .modal { width: 100%; max-width: 100%; max-height: 92vh; margin: auto 0 0; border-radius: 20px 20px 0 0; }
  .modal[open] { animation: up .28s cubic-bezier(.2, .9, .3, 1); }
  @keyframes up { from { transform: translateY(40px); opacity: 0; } }
}
.modal__body { max-height: inherit; overflow-y: auto; padding: 24px; overscroll-behavior: contain; }
.modal__close { position: sticky; top: 0; float: right; z-index: 2; width: 40px; height: 40px; margin: -8px -8px 0 0; border: 0; border-radius: 50%; background: var(--black); color: #fff; font-size: 26px; line-height: 1; }
.cmp__product { display: grid; gap: 18px; }
@media (min-width: 600px) { .cmp__product { grid-template-columns: 220px 1fr; } }
.cmp__product img { width: 100%; aspect-ratio: 6/5; object-fit: cover; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
.cmp__product h2 { font: 600 20px/1.3 var(--body); margin: 0 0 12px; }
.muted { color: var(--ink-2); font-size: 15px; margin: -6px 0 14px; }
.cmp__sec { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.cmp__sec h3 { font: 400 24px/1 var(--display); text-transform: uppercase; margin-bottom: 12px; }
.cmp__sec .muted { margin: -4px 0 14px; }
.hist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hist li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--surface-2); border-radius: 10px; font-variant-numeric: tabular-nums; }
.hist li span { flex: 1; color: var(--ink-2); font-size: 15px; }
.hist em { font: 700 14px var(--cond); text-transform: uppercase; color: var(--green); }
.mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.mini__item { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; text-align: left; font: 600 14px/1.3 var(--body); }
.mini__item img { aspect-ratio: 6/5; object-fit: cover; background: #fff; border-radius: 8px; }
.mini__item span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini__item strong { color: var(--red-ink); font: 400 19px var(--display); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 30; transform: translateX(-50%); padding: 12px 22px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font: 700 18px/1 var(--cond); text-transform: uppercase; letter-spacing: .04em; box-shadow: 0 14px 30px -10px rgb(0 0 0 / .5); animation: toast-in .3s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 16px); } }

/* Referencia de precio que no es el mínimo de 30 días: se dice cuál es y no se tacha */
.ref { font-size: 14px; color: var(--ink-2); }
.footer__small a { display: inline-block; padding: 12px 0; }

/* Titular palabra a palabra al cargar */
h1.trocea .pal { display: inline-block; opacity: 0; transform: translateY(.4em); filter: blur(8px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1), filter .7s ease; transition-delay: calc(var(--i) * 70ms + 100ms); }
h1.trocea.go .pal { opacity: 1; transform: none; filter: none; }

/* Banda de palabras al ritmo del scroll */
.cinta { overflow: hidden; padding: 30px 0 6px; }
.cinta .pista { display: flex; align-items: center; width: max-content; white-space: nowrap; will-change: transform; }
.cinta span { font: 400 clamp(44px, 9vw, 96px)/1 var(--display); text-transform: uppercase; padding: 0 .25em; color: var(--ink); }
.cinta span.hueco { color: transparent; -webkit-text-stroke: 2px var(--red); }
.cinta i { font-style: normal; color: var(--red); font-size: clamp(28px, 4vw, 44px); }

/* Tarjetas que entran girando, ligadas al scroll: avanzan y retroceden con el dedo. Solo CSS. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .card { animation: entra linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    @keyframes entra { from { opacity: .15; transform: perspective(900px) translateY(40px) rotateX(14deg); } to { opacity: 1; transform: none; } }
  }
}

/* Lienzo de las chispas al pulsar */
.chispas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }

.store__precio { font: 400 22px/1 var(--display); color: var(--red-ink); font-variant-numeric: tabular-nums; }

/* Código y condiciones del chollo */
.codigo { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; margin: 0 0 12px; padding: 8px 12px; border: 2px dashed var(--red); border-radius: 10px; background: var(--surface); color: var(--ink); text-align: left; flex-wrap: wrap; }
.codigo span { flex: 1 1 100%; font: 600 14px/1.2 var(--body); color: var(--ink-2); }
.codigo b { flex: 1; min-width: 0; overflow-wrap: anywhere; font: 700 18px/1.2 var(--cond); letter-spacing: .04em; }
.codigo em { font: 700 15px/1 var(--cond); font-style: normal; text-transform: uppercase; color: var(--red-ink); }
.cond { margin: 0 0 12px; font: 600 14px/1.3 var(--body); color: var(--ink); }
.aviso { margin: 0 0 12px; font: 600 14px/1.3 var(--body); color: var(--red-ink); }

/* Pasos para usar un código en la ficha */
.pasos { margin: 0 0 16px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); }
.pasos h3 { font: 400 20px/1 var(--display); text-transform: uppercase; margin-bottom: 10px; }
.pasos ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; line-height: 1.4; }

.minimo { margin: 0 0 12px; font: 700 14px/1.3 var(--body); color: var(--green); }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
