/* Valdoria: la tienda de razas de pago (0.25.0). Se carga después de valdoria.css en /tienda/ y en /cuenta/. v3 */
:root {
  --undead: #a9c2cf;        /* hueso frío, del busto 60 */
  --undead-deep: #141c22;
  --tiger: #dfeff5;         /* blanco lunar, del tigre blanco del busto 65 */
  --tiger-deep: #0f2126;
}
.theme-undead { --race: var(--undead); --deep: var(--undead-deep); --race-glow: 120, 170, 190; }
.theme-tiger { --race: var(--tiger); --deep: var(--tiger-deep); --race-glow: 90, 190, 205; }

.prod [hidden] { display: none !important; }
.prod .kicker, .shelf-item .kicker, .noscript-products .kicker { color: var(--race, var(--gold)); }

/* ---- Ficha de producto ---- */
.products { display: grid; gap: 34px; }
.prod {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "media" "head" "buy" "classes" "body";
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow);
  overflow: hidden; overflow: clip; min-width: 0; scroll-margin-top: calc(var(--header) + 16px);
  transition: border-color .2s ease, box-shadow .2s ease;
}
/* Filo del color de la raza en el borde superior. */
.prod::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; z-index: 4; background: linear-gradient(90deg, transparent, var(--race), transparent); }
.prod.hl { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset, 0 0 44px rgba(214, 165, 72, .3), var(--shadow); }
.prod:focus-visible { outline: 2px solid var(--gold-2); outline-offset: -2px; }

/* Foto principal (16:9, siempre a todo el ancho de la ficha) sobre un degradado temático que se queda si falta. */
.prod-media { grid-area: media; position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 600px; overflow: hidden; background: var(--deep, var(--bg-2)); }
/* 0.27.x: the colours of a race travel in its data (style="--race:...;--deep:...;--race-glow:..." on its card): a race
   without a backdrop of its own, like the two rules below, gets this one. */
.prod .prod-media { background: radial-gradient(ellipse at 28% 35%, rgba(var(--race-glow, 214, 165, 72), .28), transparent 55%), linear-gradient(160deg, var(--deep, var(--bg-2)), #08090d); }
.theme-undead .prod-media {
  background: radial-gradient(ellipse at 28% 35%, rgba(169, 194, 207, .28), transparent 55%),
    radial-gradient(ellipse at 85% 85%, rgba(200, 68, 46, .35), transparent 50%),
    linear-gradient(135deg, #0f1317 0%, #141c22 55%, #2a1310 100%);
}
.theme-tiger .prod-media {
  background: repeating-linear-gradient(115deg, rgba(0, 0, 0, .26) 0 14px, transparent 14px 36px),
    radial-gradient(ellipse at 70% 30%, rgba(143, 224, 234, .30), transparent 55%),
    linear-gradient(135deg, #0b1518 0%, #0f2126 55%, #2a2412 100%);
}
.prod-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.prod:hover .prod-photo { transform: scale(1.03); }
/* Sombra arriba (etiquetas) y fundido del pie con la ficha: el nombre y el precio se leen sin apagar la foto. */
.prod-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: linear-gradient(180deg, rgba(8, 9, 13, .42) 0%, transparent 22%, transparent 48%, rgba(14, 16, 23, .8) 84%, var(--panel-2) 100%); }
/* Sin foto de producto: los cinco bustos de /avatares/ en fila, que cuentan «cinco personajes» mejor que un hueco. */
.prod-emblems { display: none; }
.prod-media.no-photo .prod-emblems {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(8px, 1.6vw, 18px);
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; width: 100%; padding: 0 12px;
}
.prod-emblems img {
  flex: none; width: clamp(52px, 14%, 170px); height: auto; aspect-ratio: 1; border-radius: 50%;
  border: 2px solid var(--race); object-fit: cover; background: var(--bg); box-shadow: var(--shadow);
}
.prod-emblems img:nth-child(3) { width: clamp(64px, 17%, 200px); }
/* Over a real photo (which can be bright) the two labels need a darker plate than the page's pills. */
.prod-faction { position: absolute; top: 16px; left: 16px; z-index: 2; background: rgba(5, 6, 9, .84); }
.prod-badge { position: absolute; top: 16px; right: 16px; z-index: 2; color: var(--gold-2); border-color: var(--gold); background: rgba(5, 6, 9, .84); }
.prod-price-badge {
  position: absolute; right: 18px; bottom: 18px; z-index: 3;
  display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2;
  padding: 10px 18px; border-radius: 10px; background: rgba(5, 6, 9, .8); border: 1px solid var(--gold);
  box-shadow: 0 0 26px rgba(214, 165, 72, .25); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.prod-price-badge b { font: 800 1.6rem var(--title); color: var(--gold-2); }
.prod-price-badge small { font-size: .72rem; color: var(--muted); }
/* La insignia dice el estado con palabras; el color solo acompaña. */
[data-state="owned"] .prod-badge, [data-state="admin"] .prod-badge { color: var(--ok); border-color: rgba(111, 207, 133, .6); }
[data-state="closed"] .prod-badge, [data-state="loading"] .prod-badge, [data-state="confirming"] .prod-badge { color: #cfc8b8; border-color: var(--line-2); }
[data-state="down"] .prod-badge { color: #ffa69a; border-color: rgba(240, 117, 101, .6); }

.prod-head { grid-area: head; position: relative; z-index: 2; padding: 18px 18px 0; }
.prod-name {
  margin: 0 0 .12em; padding-bottom: .05em; font: 800 clamp(1.9rem, 4.6vw, 3.4rem)/1.05 var(--title); letter-spacing: .02em;
  background: var(--gilt); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.prod-tagline { margin: 0 0 .4em; font: italic 500 clamp(1.12rem, 2vw, 1.42rem)/1.4 var(--lore); color: #ebe3d1; }

/* Caja de compra: la columna es la celda de la rejilla y la caja va dentro, de modo que en escritorio se queda
   pegada al bajar sin salirse nunca de su columna (no tapa la galería de clases). */
.prod-buy-col { grid-area: buy; margin: 16px 18px 0; min-width: 0; }
.prod-buy { position: relative; padding: 22px; background: linear-gradient(180deg, #181b28, #0d0f16); border: 1px solid var(--line-gold); border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .05); }
.prod-price { display: flex; flex-direction: column; margin: 0 0 14px; }
.prod-price b { font: 800 2.3rem/1.08 var(--title); color: var(--gold-2); }
.prod-buy .btn { width: 100%; min-height: 52px; font-size: 1rem; }
.prod-hint { margin: 12px 0 0; }
.prod-msg { margin-top: 8px; margin-bottom: 0; }

.prod-body { grid-area: body; padding: 18px 18px 22px; }
.prod-lore { font-size: 1.02rem; line-height: 1.7; color: #d6cfc0; }
.prod-passives, .prod-includes { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; font-size: .93rem; color: #d6cfc0; }
.prod-passives li { padding: 10px 14px; background: rgba(8, 9, 13, .5); border: 1px solid var(--line); border-left: 2px solid var(--race); border-radius: var(--radius-sm); }
.prod-passives b { color: var(--gold-2); }
.prod-includes { margin-bottom: 0; }
.prod-includes li { position: relative; padding-left: 22px; }
.prod-includes li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.prod-sub { font: 600 .74rem var(--body); text-transform: uppercase; letter-spacing: .16em; color: var(--gold); margin: 0 0 12px; }

/* Galería de las cinco clases (fotos verticales 2:3 con el nombre encima; de respaldo, el busto de /avatares/). */
.prod-classes { grid-area: classes; padding: 20px 18px 22px; border-top: 1px solid var(--line); background: rgba(8, 9, 13, .45); }
.classes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.klass { min-width: 0; }
.klass-art {
  position: relative; margin: 0; overflow: hidden; border-radius: 10px; border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--deep), var(--bg)); transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.klass img {
  /* height: auto undoes the height="900" attribute, so the 2:3 box comes from aspect-ratio whatever the file is */
  width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; object-position: center 20%; transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}
.klass img.fallback { object-position: center 30%; }
.klass figcaption { position: absolute; inset: auto 0 0; padding: 46px 12px 12px; background: linear-gradient(180deg, transparent, rgba(5, 6, 9, .93) 64%); }
.klass:hover .klass-art { border-color: var(--race); transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 0, 0, .55), 0 0 26px rgba(var(--race-glow, 214, 165, 72), .28); }
.klass:hover img { transform: scale(1.05); }
.klass b { display: block; font: 700 .98rem/1.2 var(--title); color: #fff6dc; }
.klass span { display: block; margin-top: 3px; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--race); }
.klass small { display: block; font-size: .8rem; line-height: 1.45; color: var(--muted); margin-top: 8px; }

/* Variante compacta (/cuenta/): sin lore ni «Qué incluye», con la foto a un lado. */
.compact .prod-lore, .compact .prod-includes, .compact .prod-body .prod-sub, .compact .klass small { display: none; }
.compact .prod-name { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.compact .prod-tagline { font-size: 1.12rem; }
.compact .prod-price b { font-size: 1.7rem; }
.compact .prod-passives { margin-bottom: 0; }
.compact .classes { gap: 10px; }

@media (min-width: 900px) {
  .prod { grid-template-columns: minmax(0, 1fr) minmax(300px, 390px); grid-template-areas: "media media" "body buy" "classes classes"; column-gap: 36px; }
  /* El nombre va sobre el pie de la foto, como en un cartel. */
  .prod-head { grid-area: media; align-self: end; max-width: min(66%, 760px); padding: 0 0 24px 30px; }
  .prod-name { filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .8)); }
  .prod-tagline { margin-bottom: 0; text-shadow: 0 2px 10px rgba(0, 0, 0, .9); }
  .prod-buy-col { margin: 26px 28px 28px 0; }
  .prod-buy { position: sticky; top: calc(var(--header) + 16px); }
  .prod-body { padding: 26px 0 30px 30px; }
  .prod-classes { padding: 22px 28px 28px; }
  /* Sin foto, una banda más baja: el relleno no necesita 600 px. */
  .prod-media.no-photo { aspect-ratio: 21 / 9; max-height: 380px; }
  .compact .prod { grid-template-columns: minmax(240px, 38%) minmax(0, 1fr); grid-template-areas: "media head" "media body" "media buy" "classes classes"; column-gap: 26px; }
  .compact .prod-media, .compact .prod-media.no-photo { aspect-ratio: auto; max-height: none; min-height: 320px; height: 100%; }
  .compact .prod-media::after { background: linear-gradient(180deg, rgba(8, 9, 13, .42) 0%, transparent 26%), linear-gradient(90deg, transparent 62%, rgba(20, 22, 32, .9) 100%); }
  /* The photo column is narrow here: the state badge goes under the faction ribbon instead of beside it, and the
     five busts of the placeholder go in two rows (3 + 2) instead of one. */
  .compact .prod-badge { top: 56px; right: auto; left: 16px; }
  .compact .prod-emblems img, .compact .prod-emblems img:nth-child(3) { width: 24%; }
  .compact .prod-head { grid-area: head; align-self: auto; max-width: none; padding: 22px 26px 0 0; }
  .compact .prod-name { filter: none; }
  .compact .prod-tagline { margin-bottom: .4em; text-shadow: none; }
  .compact .prod-body { padding: 0 26px 0 0; }
  .compact .prod-buy-col { margin: 12px 26px 22px 0; }
  .compact .prod-buy { position: static; }
  .compact .prod-classes { padding: 16px 26px 20px; }
}

@media (max-width: 640px) {
  .prod { scroll-margin-top: calc(var(--header) + 12px); }
  .prod-media, .prod-media.no-photo { aspect-ratio: 16 / 9; max-height: none; }
  .prod-price-badge b { font-size: 1.15rem; }
  .prod-price-badge { padding: 6px 12px; right: 12px; bottom: 12px; }
  .prod-faction, .prod-badge { font-size: .75rem; padding: 5px 10px; top: 12px; }
  .prod-faction { left: 12px; }
  .prod-badge { top: auto; right: auto; bottom: 12px; left: 12px; }
  /* Las cinco clases en una tira que se desplaza dentro de la ficha, nunca la página: al 40 % asoma la tercera,
     que es lo que avisa de que hay más, y el rótulo lo dice con palabras. */
  .classes { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 40%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 16px; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
  .klass { scroll-snap-align: start; }
  .klass small { display: none; }
  .klass:hover .klass-art { transform: none; }
  .prod-classes .prod-sub::after { content: " · desliza →"; text-transform: none; letter-spacing: 0; color: var(--muted); }
}

/* ---- Página /tienda/ ---- */
.shop-hero {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip; text-align: center;
  padding: calc(var(--header) + clamp(36px, 7vw, 84px)) 0 clamp(30px, 5vw, 56px); border-bottom: 1px solid rgba(214, 165, 72, .2);
}
.shop-hero-art { position: absolute; inset: 0; z-index: -1; background: #0a0b10; }
.shop-hero-art .half { position: absolute; inset: 0; overflow: hidden; }
.shop-hero-art .half img { position: absolute; inset: -2%; width: 104%; height: 104%; max-width: none; object-fit: cover; object-position: center 18%; filter: saturate(.9) brightness(.7); }
.shop-hero-art .undead { clip-path: polygon(0 0, 56% 0, 44% 100%, 0 100%); }
.shop-hero-art .tiger { clip-path: polygon(56% 0, 100% 0, 100% 100%, 44% 100%); }
.shop-hero-art .undead img { object-position: 30% 18%; }
.shop-hero-art .tiger img { object-position: 70% 18%; }
/* 0.27.x: with more than two races for sale the art of the hero is a grid, a row for each faction (StampRaceWeb.py). */
.shop-hero-art .tiles { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); }
.shop-hero-art .tile { position: relative; overflow: hidden; }
.shop-hero-art .tile img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 18%; filter: saturate(.9) brightness(.7); }
/* The shop page groups its cards by faction when one of them has more than one race (tienda.js, groupByFaction). */
.faction-head { margin: 18px 0 -12px; font: 800 clamp(1.5rem, 3vw, 2.1rem)/1.15 var(--title); letter-spacing: .02em; }
.faction-head:first-child { margin-top: 0; }
/* The races that are earned by playing: a note under the products, never a card with a price. */
.earned-note { max-width: 860px; margin: 28px auto 0; text-align: center; color: var(--muted); font-size: .95rem; }
.shop-hero-art::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 62% 70% at 50% 50%, rgba(8, 9, 13, .9) 0%, rgba(8, 9, 13, .62) 60%, rgba(8, 9, 13, .3) 100%),
    linear-gradient(180deg, rgba(8, 9, 13, .78) 0%, transparent 30%, transparent 60%, var(--bg) 100%);
}
.shop-hero h1 {
  margin: 0 0 .2em; padding-bottom: .05em; font: 900 clamp(2.2rem, 7vw, 4.6rem)/1.05 var(--title); letter-spacing: .04em;
  background: var(--gilt); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 rgba(44, 26, 4, .9)) drop-shadow(0 12px 30px rgba(0, 0, 0, .8));
}
.shop-hero .lead { max-width: 700px; margin: 0 auto; font-size: clamp(1rem, 1.6vw, 1.18rem); color: #ebe3d2; text-shadow: 0 2px 12px rgba(0, 0, 0, .95); }
.trust { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.shop-state { margin: 14px 0 0; }
.shop-who { margin: 12px auto 0; max-width: 640px; color: var(--text); text-shadow: 0 2px 8px rgba(0, 0, 0, .8); }
.shop-who:empty { display: none; }
.shelf { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 26px; }
.shelf-item {
  display: inline-flex; align-items: center; gap: 14px; padding: 8px 22px 8px 8px; border-radius: 999px; text-align: left;
  background: rgba(8, 9, 13, .72); border: 1px solid var(--line-2); color: var(--text);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.shelf-item:hover { border-color: var(--gold); text-decoration: none; transform: translateY(-2px); box-shadow: var(--glow); }
.shelf-item img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--race); }
.shelf-item b { display: block; font: 700 1.02rem var(--title); color: #fff6dc; }
.shelf-item small { color: var(--muted); }
.status-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.status-row .msg { margin: 0; flex: 1 1 260px; }
.status-row:has(.msg:empty):has(.hidden) { display: none; }
#productos { padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(40px, 6vw, 72px); }
.noscript-products { margin-bottom: 28px; }
.noscript-products .card { padding: 20px 22px; }

/* Cómo funciona: tres pasos en fila y dos notas. */
.how { counter-reset: how; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.how li { counter-increment: how; position: relative; padding: 26px 22px 22px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); color: #cfc8b8; font-size: .95rem; }
.how li::before {
  content: counter(how); display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px;
  font: 800 1.2rem var(--title); color: var(--gold-2); background: radial-gradient(circle at 50% 30%, #2f3550, #141724);
  border: 1px solid var(--gold); border-radius: 50%; box-shadow: 0 0 0 5px rgba(214, 165, 72, .07);
}
.how li b { display: block; margin-bottom: 6px; font: 700 1.08rem/1.25 var(--title); color: var(--gold-2); }
.how-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.how-notes .panel h3 { color: var(--gold-2); margin-bottom: 8px; }
.how-notes .panel p { margin: 0; color: #cfc8b8; }
@media (max-width: 860px) { .how, .how-notes { grid-template-columns: minmax(0, 1fr); } }

/* Preguntas frecuentes. */
.faq-layout { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 30px 56px; align-items: start; }
.faq-layout .section-head { margin: 0; position: sticky; top: calc(var(--header) + 24px); }
details.faq { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; transition: border-color .2s ease; }
details.faq[open], details.faq:hover { border-color: var(--line-gold); }
.faq summary { padding: 16px 20px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; border-radius: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px; border-right: 2px solid var(--gold-2); border-bottom: 2px solid var(--gold-2); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease; }
.faq[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq[open] summary { color: var(--gold-2); }
.faq p { padding: 0 20px 18px; margin: 0; color: #cfc8b8; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: minmax(0, 1fr); } .faq-layout .section-head { position: static; } }

@media (max-width: 640px) {
  .shop-hero { padding-top: calc(var(--header) + 30px); }
  .shop-hero-art .undead { clip-path: polygon(0 0, 74% 0, 26% 100%, 0 100%); }
  .shop-hero-art .tiger { clip-path: polygon(74% 0, 100% 0, 100% 100%, 26% 100%); }
  .shop-hero-art::after { background: radial-gradient(ellipse 100% 70% at 50% 50%, rgba(8, 9, 13, .9) 0%, rgba(8, 9, 13, .66) 70%, rgba(8, 9, 13, .4) 100%), linear-gradient(180deg, rgba(8, 9, 13, .78) 0%, transparent 30%, transparent 60%, var(--bg) 100%); }
  .trust { display: none; }   /* el lead y la píldora de estado ya lo dicen; el producto debe caber en la primera pantalla */
  .shelf { gap: 8px; margin-top: 18px; }
  .shelf-item { flex: 1 1 45%; gap: 8px; padding: 5px 10px 5px 5px; }
  .shelf-item img { width: 40px; height: 40px; }
  .shelf-item b { font-size: .88rem; white-space: nowrap; }
  .shelf-item small { font-size: .76rem; }
}

/* ---- Bloque en /cuenta/ ---- */
.shop-block { padding: clamp(36px, 5vw, 56px) 0 0; scroll-margin-top: calc(var(--header) + 16px); }
.shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.shop-head > div { flex: 1 1 420px; min-width: 0; }
.shop-head p:last-child { margin-bottom: 0; }
.shop-title { margin: 0 0 .3em; padding-bottom: .05em; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; background: var(--gilt); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.shop-block .msg { margin-bottom: 10px; }

/* ---- Accesibilidad y movimiento ---- */
.btn:focus-visible, a.btn:focus-visible, .shelf-item:focus-visible, .faq summary:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.btn.gold:focus-visible { outline-color: #fff; }   /* sobre el botón dorado un anillo dorado no se ve */
@media (prefers-reduced-motion: reduce) {
  .btn, .prod, .klass-art, .klass img, .prod-photo, .shelf-item { transition: none; }
  .prod:hover .prod-photo, .klass:hover img, .klass:hover .klass-art, .shelf-item:hover { transform: none; }
}

/* >>> web-028 (work/web-028/aplicar_web_028.py; no editar entre estas marcas) */
/* Con cinco razas o más, la estantería va de tres en tres: sin esto quedaban cinco arriba y una sola abajo. */
@media (min-width: 641px) {
  .shelf:has(> .shelf-item:nth-child(5)) { max-width: 760px; margin-left: auto; margin-right: auto; }
}
[data-price] { white-space: nowrap; }
/* <<< web-028 */
