/* ── Ícono ─────────────────────────────────────────────────────────────── */
.a-icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

/* ── Botón ─────────────────────────────────────────────────────────────── */
.a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--a-space-2);
  min-height: 44px;
  padding: 0 var(--a-space-5);
  border: 1px solid transparent;
  border-radius: var(--a-radius-pill);
  font-family: var(--a-font);
  font-size: var(--a-text-md);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--a-dur) ease, border-color var(--a-dur) ease, color var(--a-dur) ease,
    transform var(--a-dur-press) var(--a-ease-out), box-shadow var(--a-dur) ease;
}

.a-btn:active:not(:disabled) {
  transform: scale(0.97);
}

.a-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.a-btn--sm {
  min-height: 38px;
  padding: 0 var(--a-space-4);
  font-size: var(--a-text-sm);
}

.a-btn--lg {
  min-height: 52px;
  padding: 0 var(--a-space-6);
  font-size: var(--a-text-base);
}

.a-btn--block {
  width: 100%;
}

.a-btn--primary,
.a-btn--primary:hover {
  background: var(--a-brand-700);
  color: var(--a-on-primary);
}

.a-btn--primary:hover:not(:disabled) {
  background: var(--a-brand-800);
}

.a-btn--offer,
.a-btn--offer:hover {
  background: var(--a-offer-600);
  color: var(--a-on-fill);
}

.a-btn--offer:hover:not(:disabled) {
  background: var(--a-offer-700);
}

.a-btn--outline,
.a-btn--outline:hover {
  background: var(--a-surface);
  border-color: var(--a-line-strong);
  color: var(--a-ink);
}

.a-btn--outline:hover:not(:disabled) {
  border-color: var(--a-brand-700);
  color: var(--a-brand-700);
}

.a-btn--ghost,
.a-btn--ghost:hover {
  background: transparent;
  color: var(--a-ink-2);
}

.a-btn--ghost:hover:not(:disabled) {
  background: var(--a-surface-2);
}

.a-btn--light,
.a-btn--light:hover {
  background: var(--a-paper);
  color: var(--a-paper-ink);
}

.a-btn--light:hover:not(:disabled) {
  box-shadow: var(--a-shadow);
}

.a-btn--accent,
.a-btn--accent:hover {
  background: var(--acc-field, var(--a-brand-700));
  color: var(--a-on-fill);
}

/* Color de la sección (AccentColor: ≥ 4.5:1 con blanco); el hover baja a su sombra. */
.a-btn--accent:hover:not(:disabled) {
  background: color-mix(in srgb, var(--acc-field, var(--a-brand-700)) 78%, var(--acc-deep, var(--a-brand-800)));
}

.a-btn--whatsapp,
.a-btn--whatsapp:hover {
  background: var(--a-whatsapp);
  color: var(--a-on-fill);
}

.a-btn--whatsapp:hover:not(:disabled) {
  background: var(--a-whatsapp-700);
}

/* ── Insignia ──────────────────────────────────────────────────────────── */
.a-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: var(--a-radius-sm);
  font-size: var(--a-text-xs);
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.a-badge--deal { background: var(--a-deal); color: var(--a-on-deal); }
.a-badge--offer { background: var(--a-offer-600); color: var(--a-on-fill); }
.a-badge--brand { background: var(--a-brand-50); color: var(--a-brand-800); }
.a-badge--neutral { background: var(--a-surface-3); color: var(--a-ink-2); }
.a-badge--dark { background: var(--a-paper-ink); color: var(--a-on-fill); }
.a-badge--success { background: var(--a-success-50); color: var(--a-success); }

/* ── Precio ────────────────────────────────────────────────────────────── */
.a-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  color: var(--a-ink);
}

.a-price__now {
  font-size: var(--a-text-lg);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.a-price__cur {
  margin-right: 3px;
  font-size: 0.8em;
  font-weight: 700;
}

.a-price--tag .a-price__now {
  padding: 3px 10px;
  border-radius: var(--a-radius-sm);
  background: var(--a-brand-50);
  color: var(--a-brand-800);
}

.a-price--tag.is-offer .a-price__now {
  background: var(--a-offer-600);
  color: var(--a-on-fill);
}

.a-price__was {
  font-size: var(--a-text-sm);
  color: var(--a-muted);
}

.a-price__save {
  flex-basis: 100%;
  font-size: var(--a-text-sm);
  font-weight: 700;
  color: var(--a-success);
}

.a-price__note {
  font-size: var(--a-text-xs);
  color: var(--a-muted);
}

.a-price--ref .a-price__now {
  background: var(--a-surface-2);
  color: var(--a-ink);
}

.a-price--sm .a-price__now { font-size: var(--a-text-md); }
.a-price--lg .a-price__now { font-size: var(--a-text-price-lg); padding: 4px 14px; }
.a-price--lg .a-price__was { font-size: var(--a-text-base); }

/* ── Encabezado de sección ─────────────────────────────────────────────── */
/*
 * Encabezado de marketplace (referencia del dueño): título a la izquierda,
 * una línea fina del color de la sección que corre hasta el borde derecho y,
 * bajo el final de la línea, "Ver más >" chico y subrayado. El subtítulo,
 * si hay, va bajo el título. Grilla de dos columnas en todos los anchos.
 */
.a-heading {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(2rem, 1fr);
  grid-template-areas: "title rule" "sub link";
  align-items: center;
  column-gap: var(--a-space-4);
  margin-bottom: var(--a-space-3);
}

/* Con link, el subtítulo deja libre el final de la fila para "Ver más". */
.a-heading.has-link .a-heading__sub { max-width: calc(62ch + 10rem); padding-right: 10rem; }

@media (max-width: 639px) {
  .a-heading.has-link .a-heading__sub { padding-right: 0; }
  .a-heading.has-sub { grid-template-areas: "title rule" "sub sub" ". link"; }
  .a-heading.has-sub .a-heading__link { grid-row: 3; }
}

.a-heading__title {
  grid-area: title;
  min-width: 0;
  font-size: var(--a-text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: var(--a-leading-tight);
  color: var(--a-ink);
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.a-heading__rule {
  grid-area: rule;
  align-self: center;
  height: 2px;
  margin-top: 0.15em;
  border-radius: var(--a-radius-pill);
  background: var(--acc-field, var(--a-brand-700));
}

.a-heading__sub {
  grid-column: 1 / -1;
  grid-row: 2;
  max-width: 62ch;
  margin-top: var(--a-space-1);
  font-size: var(--a-text-md);
  color: var(--a-muted);
}

.a-heading__link,
.a-heading__link:hover {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 30px;
  padding-left: var(--a-space-2);
  font-size: var(--a-text-sm);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: var(--acc-ink, var(--a-brand-700));
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.a-heading__link:hover { text-decoration-thickness: 2px; }
.a-heading__link .a-icon { transition: transform var(--a-dur) var(--a-ease-out); }

@media (hover: hover) {
  .a-heading__link:hover .a-icon { transform: translateX(2px); }
}

/* Sin link ni subtítulo: una sola fila. */
.a-heading:not(.has-link):not(.has-sub) { grid-template-areas: "title rule"; }

/* Compatibilidad: centrado (sin uso en el home/listados). */
.a-heading--center { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "sub" "link"; justify-items: center; text-align: center; }
.a-heading--center .a-heading__rule { display: none; }
.a-heading--center .a-heading__link { justify-self: center; }

/* ── Rail (carrusel con scroll-snap) ───────────────────────────────────── */
.a-rail {
  position: relative;
  container-type: inline-size;
}

/* Las variables viven en el track: una container query no puede estilar al propio contenedor. */
.a-rail__track {
  --rail-gap: 12px;
  --rail-cols: 2.2;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--rail-cols) - 1) * var(--rail-gap)) / var(--rail-cols));
  gap: var(--rail-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-block: 4px 12px;
  -webkit-overflow-scrolling: touch;
}

.a-rail.is-enhanced .a-rail__track {
  scrollbar-width: none;
}

.a-rail.is-enhanced .a-rail__track::-webkit-scrollbar {
  display: none;
}

.a-rail__track:focus-visible {
  outline: none;
  box-shadow: var(--a-focus);
  border-radius: var(--a-radius);
}

.a-rail__item {
  min-width: 0;
  scroll-snap-align: start;
}

@container (min-width: 480px) { .a-rail--products .a-rail__track { --rail-cols: 3.2; } }
@container (min-width: 720px) { .a-rail--products .a-rail__track { --rail-cols: 4; } }
@container (min-width: 960px) { .a-rail--products .a-rail__track { --rail-cols: 5; --rail-gap: 16px; } }
@container (min-width: 1180px) { .a-rail--products .a-rail__track { --rail-cols: 6; } }

/*
 * Tarjeta final "Ver todo · N productos" (components/product/rail-end).
 * En una fila más corta que sus columnas se estira hasta el final de la
 * fila: la fila nunca termina en aire vacío. Es siempre el último hijo, así
 * que su posición dice cuántas tarjetas hay antes.
 */
.a-rail__track:has(> .a-rail__item--end:nth-child(2)) { --rail-cols: 2; }

@container (min-width: 720px) {
  .a-rail--products .a-rail__item--end:nth-child(1) { grid-column: span 4; }
  .a-rail--products .a-rail__item--end:nth-child(2) { grid-column: span 3; }
  .a-rail--products .a-rail__item--end:nth-child(3) { grid-column: span 2; }
  .a-rail__track:has(> .a-rail__item--end:nth-child(2)) { --rail-cols: 4; }
}

@container (min-width: 960px) {
  .a-rail--products .a-rail__item--end:nth-child(1) { grid-column: span 5; }
  .a-rail--products .a-rail__item--end:nth-child(2) { grid-column: span 4; }
  .a-rail--products .a-rail__item--end:nth-child(3) { grid-column: span 3; }
  .a-rail--products .a-rail__item--end:nth-child(4) { grid-column: span 2; }
  .a-rail__track:has(> .a-rail__item--end:nth-child(2)) { --rail-cols: 5; }
}

@container (min-width: 1180px) {
  .a-rail--products .a-rail__item--end:nth-child(1) { grid-column: span 6; }
  .a-rail--products .a-rail__item--end:nth-child(2) { grid-column: span 5; }
  .a-rail--products .a-rail__item--end:nth-child(3) { grid-column: span 4; }
  .a-rail--products .a-rail__item--end:nth-child(4) { grid-column: span 3; }
  .a-rail--products .a-rail__item--end:nth-child(5) { grid-column: span 2; }
  .a-rail__track:has(> .a-rail__item--end:nth-child(2)) { --rail-cols: 6; }
}

.a-railend {
  --tone: var(--cat, var(--a-brand-700));
  /* Contiene su texto oculto (absoluto): sin esto escapaba del recorte de la fila y ensanchaba la página. */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: var(--a-space-4);
  height: 100%;
  min-height: 160px;
  padding: var(--a-space-5);
  border: 1px solid color-mix(in srgb, var(--tone) 28%, var(--a-surface));
  border-radius: var(--a-radius-lg);
  background: color-mix(in srgb, var(--tone) 9%, var(--a-surface));
  color: var(--a-ink);
  text-decoration: none;
  transition: background-color var(--a-dur) ease, border-color var(--a-dur) ease;
}

.a-railend:hover {
  border-color: color-mix(in srgb, var(--tone) 50%, var(--a-surface));
  background: color-mix(in srgb, var(--tone) 15%, var(--a-surface));
  text-decoration: none;
}

.a-railend:focus-visible { outline: none; box-shadow: var(--a-focus); }

.a-railend__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--tone);
  color: var(--a-on-fill);
  transition: transform var(--a-dur) var(--a-ease-out);
}

@media (hover: hover) {
  .a-railend:hover .a-railend__icon { transform: translateX(4px); }
}

.a-railend__text { display: grid; gap: 2px; }

.a-railend__title {
  font-size: var(--a-text-lg);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: var(--a-leading-tight);
}

.a-railend__count {
  font-size: var(--a-text-md);
  font-weight: 600;
  color: var(--a-ink-2);
}

/* Estirada sobre varias columnas: ícono y texto en una línea, centrados. */
@container (min-width: 720px) {
  .a-rail--products .a-rail__item--end:nth-child(-n+3) .a-railend { flex-direction: row; align-items: center; justify-content: center; }
}

@container (min-width: 960px) {
  .a-rail--products .a-rail__item--end:nth-child(4) .a-railend { flex-direction: row; align-items: center; justify-content: center; }
}

@container (min-width: 1180px) {
  .a-rail--products .a-rail__item--end:nth-child(5) .a-railend { flex-direction: row; align-items: center; justify-content: center; }
}

/* Franja (colección compacta en escritorio): horizontal, a lo ancho. */
.a-railend--strip {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  min-height: 0;
}

.a-rail__nav {
  position: absolute;
  top: calc(50% - 32px);
  z-index: var(--a-z-rail-ui);
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--a-line);
  border-radius: 50%;
  background: var(--a-surface);
  color: var(--a-ink);
  box-shadow: var(--a-shadow);
  cursor: pointer;
  transition: opacity var(--a-dur) ease, transform var(--a-dur-press) var(--a-ease-out), background-color var(--a-dur) ease;
}

.a-rail__nav--prev { left: -10px; }
.a-rail__nav--next { right: -10px; }

.a-rail__nav:hover { background: var(--a-surface-2); }
.a-rail__nav:active { transform: scale(0.94); }

.a-rail__nav:disabled {
  opacity: 0;
  pointer-events: none;
}

@media (hover: hover) and (min-width: 768px) {
  .a-rail.is-enhanced .a-rail__nav:not([hidden]) { display: inline-flex; }
}

.a-rail__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: var(--a-space-2);
}

.a-rail__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.a-rail__dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: var(--a-radius-pill);
  background: var(--a-line-strong);
  transition: transform var(--a-dur) var(--a-ease-out), background-color var(--a-dur) ease;
}

/* Punto activo alargado con transform (no se anima width: evita relayout). */
.a-rail__dot[aria-current="true"]::before {
  transform: scaleX(2.5);
  background: var(--a-brand-700);
}

/* ── Tarjeta de producto / combo / a pedido ────────────────────────────── */
.a-pcard {
  container-type: inline-size;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--a-line);
  border-radius: var(--a-radius-lg);
  background: var(--a-surface);
  transition: box-shadow var(--a-dur) ease, border-color var(--a-dur) ease;
}

.a-pcard:has(.a-pcard__link:focus-visible) {
  box-shadow: var(--a-focus);
}

.a-pcard__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--a-paper);
}

.a-pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 320ms var(--a-ease-out);
}

.a-pcard.is-out .a-pcard__media img {
  opacity: 0.55;
}

.a-pcard__flags {
  position: absolute;
  top: 10px;
  right: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

/*
 * El favorito ocupa la esquina derecha (8px + 36px): las insignias nunca
 * pasan por debajo. Si no caben en una línea ("Más vendido" en una tarjeta
 * de 150px) se parten en dos en vez de taparse.
 */
.a-pcard:has(.a-pcard__fav) .a-pcard__flags { right: 52px; }

.a-pcard__flags .a-badge {
  max-width: 100%;
  white-space: normal;
}

.a-pcard__flags .a-badge .a-icon { flex-shrink: 0; }

/*
 * "Más vendido": siempre en una línea, apilada bajo el % y pegada a la
 * esquina (no tapa el centro del producto). En tarjetas angostas (rieles de
 * celular) pasa a ícono + "Top" en un paso más chico.
 */
.a-pcard__flags .a-pcard__top { white-space: nowrap; }
.a-pcard__top-short { display: none; }

@container (max-width: 180px) {
  .a-pcard__flags { gap: 3px; }
  .a-pcard__flags .a-badge { min-height: 20px; padding: 1px 6px; }
  .a-pcard__flags .a-pcard__top { gap: 3px; font-size: var(--a-text-micro); }
  .a-pcard__flags .a-pcard__top .a-icon { width: 12px; height: 12px; }
  .a-pcard__top-long { display: none; }
  .a-pcard__top-short { display: inline; }
}

.a-pcard__out {
  position: absolute;
  inset: auto 10px 10px;
  padding: 6px;
  border-radius: var(--a-radius-sm);
  background: color-mix(in srgb, var(--a-paper-ink) 82%, transparent);
  color: var(--a-on-fill);
  font-size: var(--a-text-xs);
  font-weight: 700;
  text-align: center;
}

.a-pcard__fav {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  /* Círculo blanco con sombra suave: se lee sobre cualquier foto. */
  border: 1px solid rgb(0 0 0 / 0.06);
  background: #fff;
  color: #f21364;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.12), 0 1px 2px rgb(0 0 0 / 0.08);
  cursor: pointer;
  transition:
    color var(--a-dur) ease,
    box-shadow var(--a-dur) ease,
    transform var(--a-dur-press) var(--a-ease-out);
}

.a-pcard__fav svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
  fill: transparent;
  transition: fill var(--a-dur) ease;
}

@media (hover: hover) {
  .a-pcard__fav:hover {
    color: #d10f56;
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgb(0 0 0 / 0.16), 0 1px 3px rgb(0 0 0 / 0.1);
  }
}
.a-pcard__fav:active { transform: scale(0.92); }
.a-pcard__fav:focus-visible { outline: 2px solid #f21364; outline-offset: 2px; }
/* Marcado: mismo círculo blanco, corazón relleno de rosa. */
.a-pcard__fav.is-active { background: #fff; color: #f21364; }
.a-pcard__fav.is-active svg { fill: currentColor; }

.a-pcard__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: var(--a-space-3) var(--a-space-3) var(--a-space-4);
}

.a-pcard__cat {
  overflow: hidden;
  font-size: var(--a-text-xs);
  font-weight: 600;
  color: var(--a-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.a-pcard__name {
  display: -webkit-box;
  min-height: calc(2 * 1.3em);
  overflow: hidden;
  font-size: var(--a-text-md);
  font-weight: 600;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-wrap: pretty;
}

.a-pcard__link,
.a-pcard__link:hover {
  color: var(--a-ink);
  text-decoration: none;
}

.a-pcard__link:focus-visible {
  box-shadow: none;
}

/* Un solo link por tarjeta, estirado sobre toda la superficie. */
.a-pcard__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.a-pcard__pres {
  font-size: var(--a-text-xs);
  color: var(--a-muted);
}

.a-pcard__rating {
  font-size: var(--a-text-xs);
  font-weight: 700;
  color: var(--a-ink-2);
}

.a-pcard__rating > span:first-child { color: var(--a-star); }
.a-pcard__rating-count { font-weight: 500; color: var(--a-muted); }

.a-pcard__price {
  margin-top: auto;
  padding-top: var(--a-space-1);
}

.a-pcard__parts {
  display: flex;
  gap: 4px;
}

.a-pcard__parts li {
  width: 36px;
  height: 36px;
  overflow: hidden;
  border: 1px solid var(--a-line);
  border-radius: var(--a-radius-sm);
  background: var(--a-paper);
}

.a-pcard__parts img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.a-pcard__parts-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--a-text-xs);
  font-weight: 700;
  color: var(--a-ink-2);
}

.a-pcard__actions {
  position: relative;
  z-index: 2;
  display: flex;
  gap: var(--a-space-2);
  margin-top: var(--a-space-2);
}

/*
 * La acción principal nunca se corta: la etiqueta es corta ("Agregar",
 * "Pedir", "Agotado"), no se encoge (flex-shrink: 0) y en tarjetas angostas
 * primero se ajusta el relleno lateral y solo al final se cae el ícono del
 * carrito. Medido con "Agotado" (la etiqueta más larga, con 4px de holgura): el ícono cabe desde
 * 152px de tarjeta (los rieles de 390, 768, 1024, 1280 y 1440 lo muestran).
 */
.a-pcard__add {
  flex: 1 1 auto;
  min-width: 0;
  gap: 6px;
  padding-inline: var(--a-space-3);
}

.a-pcard__add span {
  flex-shrink: 0;
  white-space: nowrap;
}

@container (max-width: 179px) {
  .a-pcard__body { padding-inline: var(--a-space-2); }
}

@container (max-width: 171px) {
  .a-pcard__add { gap: 4px; padding-inline: var(--a-space-2); }
  .a-pcard__actions { gap: 6px; }
}

@container (max-width: 163px) {
  .a-pcard__add { padding-inline: var(--a-space-1); }
}

@container (max-width: 149px) {
  .a-pcard__add .a-icon { display: none; }
}

.a-pcard__wa,
.a-pcard__wa:hover {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--a-line-strong);
  border-radius: 50%;
  color: var(--a-whatsapp);
  transition: background-color var(--a-dur) ease, transform var(--a-dur-press) var(--a-ease-out);
}

.a-pcard__wa:hover { background: var(--a-success-50); }
.a-pcard__wa:active { transform: scale(0.94); }


/*
 * Tarjeta de bloque (variant shelf, referencia "Bombas del día"): marca en el
 * color de su categoría, precio tachado a la izquierda y oferta en rosado a
 * la derecha en la misma fila, retiro/envío con íconos y "Agregar a carrito"
 * a todo el ancho en el color de la sección. En tarjetas angostas (< 200px)
 * el botón dice "Agregar" para no partirse en dos líneas.
 */
.a-pcard--shelf .a-pcard__media { aspect-ratio: 1; padding: var(--a-space-2); }
.a-pcard--shelf .a-pcard__body { gap: 4px; padding: var(--a-space-3); }

.a-pcard--shelf .a-pcard__cat {
  font-size: var(--a-text-xs);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-ink, var(--acc-ink, var(--a-brand-700)));
}

.a-pcard--shelf .a-pcard__name { font-size: var(--a-text-md); font-weight: 600; }

.a-pcard__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0 var(--a-space-2);
  margin-top: auto;
  padding-top: var(--a-space-2);
}

.a-pcard__was {
  font-size: var(--a-text-sm);
  font-weight: 500;
  color: var(--a-muted);
}

.a-pcard__now {
  margin-left: auto;
  font-size: var(--a-text-lg);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--a-ink);
  white-space: nowrap;
}

.a-pcard__now:only-child { margin-left: 0; }
.a-pcard__now.is-offer { color: var(--a-offer-700); }

.a-pcard--shelf .a-pcard__actions { margin-top: var(--a-space-3); }
.a-pcard--shelf .a-pcard__add { min-height: 40px; }

.a-pcard__add-short { display: none; }

@container (max-width: 183px) {
  .a-pcard__add-long { display: none; }
  .a-pcard__add-short { display: inline; }
}

@container (max-width: 199px) {
  .a-pcard__now { font-size: var(--a-text-base); }
  .a-pcard__was { font-size: var(--a-text-xs); }
}

/* El combo dentro de un bloque usa el mismo precio en fila (sin la etiqueta de color). */
.a-pcard--shelf.a-ccard .a-price--tag .a-price__now { padding: 0; background: none; color: var(--a-ink); }
.a-pcard--shelf.a-ccard .a-price--tag.is-offer .a-price__now { color: var(--a-offer-700); }

/* ── Cuenta regresiva ──────────────────────────────────────────────────── */
.a-countdown__label {
  margin-bottom: var(--a-space-2);
  font-size: var(--a-text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.a-countdown__cells {
  display: flex;
  gap: 6px;
}

.a-countdown__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
  padding: 8px 4px 6px;
  border-radius: var(--a-radius);
  background: var(--a-surface);
  color: var(--a-offer-700);
}

.a-countdown__cell b {
  font-size: var(--a-text-numeral);
  font-weight: 800;
  line-height: 1.1;
}

.a-countdown__cell small {
  font-size: var(--a-text-micro);
  font-weight: 700;
  color: var(--a-ink-2);
}

.a-countdown--dark .a-countdown__label { color: var(--a-offer-700); }

.a-countdown--dark .a-countdown__cell {
  background: var(--a-offer-50);
  color: var(--a-offer-700);
}

.a-countdown--dark .a-countdown__cell small { color: var(--a-ink-2); }

.a-countdown[data-ended] .a-countdown__cells { opacity: 0.5; }

/* ── Grilla de listados ────────────────────────────────────────────────── */
.a-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--a-space-3);
}

@media (min-width: 600px) {
  .a-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--a-space-4); }
}

/* ── Vacío ─────────────────────────────────────────────────────────────── */
.a-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--a-space-2);
  margin-block: var(--a-space-8);
  padding: var(--a-space-10) var(--a-space-4);
  border: 1px dashed var(--a-line-strong);
  border-radius: var(--a-radius-xl);
  color: var(--a-muted);
  text-align: center;
}

.a-empty > .a-icon { color: var(--a-brand-700); }

.a-empty__title {
  font-size: var(--a-text-lg);
  font-weight: 700;
  color: var(--a-ink);
}

.a-empty p { max-width: 52ch; }

.a-empty__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--a-space-2);
  margin-top: var(--a-space-3);
}

/* ── Preguntas frecuentes (components/faq-section) ─────────────────────── */
/*
 * Encabezado alineado al inicio como todas las secciones (One-Heading Rule);
 * en escritorio las preguntas van en dos columnas para no dejar media
 * pantalla en blanco al lado de una lista angosta.
 */
.faq-section {
  margin-block: var(--a-section-gap);
}

.faq-section__title {
  font-size: var(--a-text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: var(--a-leading-tight);
  text-wrap: balance;
  color: var(--a-ink);
}

.faq-section .faq-sub {
  max-width: 62ch;
  margin: var(--a-space-1) 0 var(--a-space-5);
  font-size: var(--a-text-md);
  color: var(--a-muted);
}

.faq-list {
  display: grid;
  gap: var(--a-space-2);
  align-items: start;
}

@media (min-width: 1024px) {
  .faq-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--a-space-3); }
}

.faq-item {
  border: 1px solid var(--a-line);
  border-radius: var(--a-radius-lg);
  background: var(--a-surface);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--a-space-3);
  padding: var(--a-space-4);
  font-size: var(--a-text-md);
  font-weight: 600;
  color: var(--a-ink);
  list-style: none;
  cursor: pointer;
  border-radius: var(--a-radius-lg);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item .faq-chevron {
  color: var(--a-muted);
  transition: transform var(--a-dur) var(--a-ease-out);
}

.faq-item[open] .faq-chevron { transform: rotate(180deg); }

.faq-item p {
  margin: 0;
  padding: 0 var(--a-space-4) var(--a-space-4);
  max-width: 70ch;
  font-size: var(--a-text-md);
  line-height: var(--a-leading);
  color: var(--a-muted);
}

/* ══════════════════════════════════════════════════════════════════════
 * Fase 2: primitivas compartidas por checkout, cuenta, ficha de producto,
 * modales y páginas de contenido.
 * ══════════════════════════════════════════════════════════════════════ */

/* ── Insignias de estado (pedidos) ─────────────────────────────────────── */
.a-badge--warning { background: var(--a-warning-100); color: var(--a-warning-700); }
.a-badge--danger { background: var(--a-offer-50); color: var(--a-offer-700); }
.a-badge--lg { min-height: 26px; padding: 3px 10px; font-size: var(--a-text-sm); font-weight: 700; }


/* ── Botón: estado de carga y variante peligro ─────────────────────────── */
.a-btn--danger,
.a-btn--danger:hover {
  background: var(--a-surface);
  border-color: var(--a-offer-100);
  color: var(--a-offer-700);
}

.a-btn--danger:hover:not(:disabled) {
  border-color: var(--a-offer-600);
  background: var(--a-offer-50);
}

.a-btn.is-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.a-btn.is-loading::after {
  content: "";
  position: absolute;
  inset: calc(50% - 9px) auto auto calc(50% - 9px);
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: var(--a-on-fill);
  border-radius: 50%;
  animation: a-spin 700ms linear infinite;
}

.a-btn--outline.is-loading::after,
.a-btn--ghost.is-loading::after {
  border-color: var(--a-line-strong);
  border-top-color: var(--a-brand-700);
}

@keyframes a-spin {
  to { transform: rotate(360deg); }
}

/* Botón redondo solo con ícono (cerrar, quitar, ver contraseña). */
.a-iconbtn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--a-ink-2);
  transition: background-color var(--a-dur) ease, color var(--a-dur) ease, transform var(--a-dur-press) var(--a-ease-out);
}

.a-iconbtn:hover { background: var(--a-surface-2); color: var(--a-ink); }
.a-iconbtn:active { transform: scale(0.94); }
.a-iconbtn:disabled { opacity: 0.4; cursor: not-allowed; }
.a-iconbtn--sm { width: 36px; height: 36px; }
.a-iconbtn--danger:hover { background: var(--a-offer-50); color: var(--a-offer-700); }

/* ── Panel (superficie de formulario / resumen) ────────────────────────── */
.a-panel {
  min-width: 0;
  padding: var(--a-space-5);
  border: 1px solid var(--a-line);
  border-radius: var(--a-radius-lg);
  background: var(--a-surface);
}

@media (min-width: 768px) {
  .a-panel { padding: var(--a-space-6); }
}

.a-panel--muted { background: var(--a-surface-2); border-color: transparent; }

.a-panel__title {
  display: flex;
  align-items: center;
  gap: var(--a-space-2);
  margin-bottom: var(--a-space-4);
  font-size: var(--a-text-lg);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--a-ink);
}

.a-panel__title > .a-icon { color: var(--a-brand-700); }

.a-panel__lead {
  margin: calc(-1 * var(--a-space-2)) 0 var(--a-space-4);
  font-size: var(--a-text-md);
  color: var(--a-muted);
}

/* ── Formularios ───────────────────────────────────────────────────────── */
.a-form { display: grid; gap: var(--a-space-4); }

.a-form__row { display: grid; gap: var(--a-space-4); }

@media (min-width: 640px) {
  .a-form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.a-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--a-space-2);
  margin-top: var(--a-space-1);
}

.a-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.a-label {
  font-size: var(--a-text-sm);
  font-weight: 700;
  color: var(--a-ink-2);
}

.a-label__opt {
  font-weight: 500;
  color: var(--a-muted);
}

.a-control {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.a-control > .a-icon:first-child {
  position: absolute;
  left: 14px;
  z-index: 1;
  color: var(--a-muted);
  pointer-events: none;
}

.a-control--textarea { align-items: flex-start; }
.a-control--textarea > .a-icon:first-child { top: 14px; }

.a-input,
.a-select,
.a-textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--a-line-strong);
  border-radius: var(--a-radius);
  background: var(--a-surface);
  color: var(--a-ink);
  font-family: var(--a-font);
  font-size: var(--a-text-base);
  transition: border-color var(--a-dur) ease, box-shadow var(--a-dur) ease;
}

.a-control > .a-icon:first-child ~ .a-input,
.a-control > .a-icon:first-child ~ .a-select,
.a-control > .a-icon:first-child ~ .a-textarea { padding-left: 44px; }

.a-control--action .a-input { padding-right: 52px; }

.a-textarea {
  min-height: 104px;
  padding-block: 12px;
  line-height: 1.5;
  resize: vertical;
}

.a-select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235b6577' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  appearance: none;
  cursor: pointer;
}

.a-input::placeholder,
.a-textarea::placeholder { color: var(--a-muted); opacity: 1; }

.a-input:hover,
.a-select:hover,
.a-textarea:hover { border-color: var(--a-muted); }

.a-input:focus,
.a-select:focus,
.a-textarea:focus {
  outline: none;
  border-color: var(--a-brand-700);
  box-shadow: 0 0 0 3px var(--a-brand-100);
}

.a-input[aria-invalid="true"],
.a-select[aria-invalid="true"],
.a-textarea[aria-invalid="true"] { border-color: var(--a-offer-600); }

.a-input:disabled,
.a-select:disabled { background: var(--a-surface-2); color: var(--a-muted); cursor: not-allowed; }

.a-control__action {
  position: absolute;
  right: 2px;
}

.a-hint {
  font-size: var(--a-text-xs);
  line-height: 1.4;
  color: var(--a-muted);
}

.a-field__error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  font-size: var(--a-text-sm);
  font-weight: 600;
  line-height: 1.4;
  color: var(--a-offer-700);
}
.a-field__error > .a-icon { flex-shrink: 0; margin-top: 2px; }
.a-field__error[hidden] { display: none; }

.a-counter {
  justify-self: end;
  font-size: var(--a-text-xs);
  color: var(--a-muted);
  font-variant-numeric: tabular-nums;
}

/* Medidor de fuerza de contraseña (site.js: data-auth-strength) */
.a-strength { display: flex; align-items: center; gap: var(--a-space-2); }
.a-strength__bars { display: flex; flex: 1; gap: 4px; }
.a-strength__bar { flex: 1; height: 4px; border-radius: var(--a-radius-pill); background: var(--a-line); }
.a-strength__bar.filled.weak { background: var(--a-offer-600); }
.a-strength__bar.filled.medium { background: var(--a-warning); }
.a-strength__bar.filled.strong { background: var(--a-success); }
.a-strength__label { min-width: 3.5rem; font-size: var(--a-text-xs); font-weight: 700; color: var(--a-muted); text-align: right; }

/* ── Avisos ────────────────────────────────────────────────────────────── */
.a-alert {
  display: flex;
  align-items: flex-start;
  gap: var(--a-space-3);
  padding: var(--a-space-3) var(--a-space-4);
  border: 1px solid transparent;
  border-radius: var(--a-radius);
  font-size: var(--a-text-md);
  line-height: 1.45;
}

.a-alert > .a-icon { flex-shrink: 0; margin-top: 1px; }
.a-alert > div { min-width: 0; }
.a-alert strong { font-weight: 800; }
.a-alert a { font-weight: 700; text-decoration: underline; }

.a-alert--success { border-color: color-mix(in srgb, var(--a-success) 25%, transparent); background: var(--a-success-50); color: var(--a-success); }
.a-alert--error { border-color: var(--a-offer-100); background: var(--a-offer-50); color: var(--a-offer-700); }
.a-alert--info { border-color: var(--a-brand-100); background: var(--a-brand-50); color: var(--a-brand-800); }
.a-alert--warning { border-color: var(--a-warning-200); background: var(--a-warning-50); color: var(--a-warning-700); }
.a-alert--neutral { border-color: var(--a-line); background: var(--a-surface-2); color: var(--a-ink-2); }


/* ── Selector de cantidad ──────────────────────────────────────────────── */
.a-qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--a-line-strong);
  border-radius: var(--a-radius-pill);
  background: var(--a-surface);
}

.a-qty__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--a-ink);
  transition: background-color var(--a-dur) ease, transform var(--a-dur-press) var(--a-ease-out);
}

.a-qty__btn:hover:not(:disabled) { background: var(--a-surface-2); }
.a-qty__btn:active:not(:disabled) { transform: scale(0.9); }
.a-qty__btn:disabled { opacity: 0.35; cursor: not-allowed; }

.a-qty__val {
  width: 2.75rem;
  min-height: 40px;
  border: 0;
  background: none;
  color: var(--a-ink);
  font-weight: 800;
  text-align: center;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}

.a-qty__val::-webkit-outer-spin-button,
.a-qty__val::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }

.a-qty__val:focus-visible { border-radius: var(--a-radius-sm); }

.a-qty--sm .a-qty__btn { width: 34px; height: 34px; }
.a-qty--sm .a-qty__val { width: 2rem; min-height: 30px; font-size: var(--a-text-md); }

/* ── Opciones tipo tarjeta (métodos de pago) ───────────────────────────── */
.a-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: var(--a-space-2);
}

.a-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 80px;
  padding: var(--a-space-3) var(--a-space-2);
  border: 1.5px solid var(--a-line-strong);
  border-radius: var(--a-radius);
  background: var(--a-surface);
  color: var(--a-ink-2);
  font-size: var(--a-text-sm);
  font-weight: 700;
  text-align: center;
  transition: border-color var(--a-dur) ease, background-color var(--a-dur) ease, transform var(--a-dur-press) var(--a-ease-out);
}

.a-option:hover { border-color: var(--a-brand-700); }
.a-option:active { transform: scale(0.97); }
.a-option > .a-icon { color: var(--a-muted); }

.a-option[aria-pressed="true"] {
  border-color: var(--a-brand-700);
  background: var(--a-brand-50);
  color: var(--a-brand-800);
  box-shadow: inset 0 0 0 1px var(--a-brand-700);
}

.a-option[aria-pressed="true"] > .a-icon { color: var(--a-brand-700); }

/* ── Subida de archivo (site.js: data-file-field / data-file-input) ────── */
.a-upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 148px;
  padding: var(--a-space-4);
  overflow: hidden;
  border: 1.5px dashed var(--a-line-strong);
  border-radius: var(--a-radius-lg);
  background: var(--a-surface-2);
  color: var(--a-muted);
  font-size: var(--a-text-sm);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--a-dur) ease, background-color var(--a-dur) ease;
}

.a-upload:hover { border-color: var(--a-brand-700); background: var(--a-brand-50); }
.a-upload:focus-within { box-shadow: var(--a-focus); }
.a-upload > .a-icon { color: var(--a-brand-700); }
.a-upload b { color: var(--a-ink); }

.a-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.a-upload__preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--a-surface);
  object-fit: contain;
  pointer-events: none;
}

.a-upload__name {
  font-size: var(--a-text-xs);
  color: var(--a-muted);
  overflow-wrap: anywhere;
}

/* ── Pestañas tipo píldora (navegación de cuenta, tipo de pedido) ──────── */
.a-tabs[data-more-end] { mask-image: linear-gradient(90deg, var(--a-ink) calc(100% - 48px), transparent); }
.a-tabs[data-more-start] { mask-image: linear-gradient(90deg, transparent, var(--a-ink) 48px); }
.a-tabs[data-more-start][data-more-end] { mask-image: linear-gradient(90deg, transparent, var(--a-ink) 48px, var(--a-ink) calc(100% - 48px), transparent); }

.a-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 3px;
  scrollbar-width: none;
}

.a-tabs::-webkit-scrollbar { display: none; }

.a-tab {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 var(--a-space-4);
  border: 1px solid var(--a-line-strong);
  border-radius: var(--a-radius-pill);
  background: var(--a-surface);
  color: var(--a-ink-2);
  font-size: var(--a-text-sm);
  font-weight: 700;
  white-space: nowrap;
  transition: border-color var(--a-dur) ease, background-color var(--a-dur) ease, color var(--a-dur) ease;
}

.a-tab:hover { border-color: var(--a-brand-700); color: var(--a-brand-700); }

.a-tab[aria-current] {
  border-color: var(--a-brand-700);
  background: var(--a-brand-700);
  color: var(--a-on-primary);
}

/* ── Totales ───────────────────────────────────────────────────────────── */
.a-sum { display: grid; gap: var(--a-space-2); }

.a-sum__row {
  display: flex;
  justify-content: space-between;
  gap: var(--a-space-3);
  font-size: var(--a-text-md);
  color: var(--a-ink-2);
}

.a-sum__row > :last-child { font-weight: 700; color: var(--a-ink); font-variant-numeric: tabular-nums; text-align: right; }
.a-sum__row--muted > :last-child { font-weight: 500; color: var(--a-muted); }
.a-sum__row--good > :last-child { color: var(--a-success); }

.a-sum__row--total {
  margin-top: var(--a-space-1);
  padding-top: var(--a-space-3);
  border-top: 1px solid var(--a-line);
  font-size: var(--a-text-lg);
  font-weight: 800;
  color: var(--a-ink);
}

.a-sum__row--total > :last-child { font-weight: 800; }

/* ── Línea de producto (carrito, resumen, detalle de pedido) ───────────── */
.a-lines { display: grid; }

.a-line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--a-space-3);
  padding-block: var(--a-space-3);
  border-bottom: 1px solid var(--a-line);
}

.a-line:last-child { border-bottom: 0; }

.a-line--noimg { grid-template-columns: minmax(0, 1fr) auto; }

.a-line__img {
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 1px solid var(--a-line);
  border-radius: var(--a-radius);
  background: var(--a-paper);
}

.a-line__img img { width: 100%; height: 100%; object-fit: contain; }

.a-line__body { display: grid; gap: 2px; min-width: 0; }

.a-line__name {
  display: -webkit-box;
  overflow: hidden;
  font-size: var(--a-text-md);
  font-weight: 600;
  line-height: 1.3;
  color: var(--a-ink);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

a.a-line__name:hover { color: var(--a-brand-700); text-decoration: underline; }

.a-line__meta { font-size: var(--a-text-sm); color: var(--a-muted); font-variant-numeric: tabular-nums; }
.a-line__total { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.a-line__total s { display: block; font-size: var(--a-text-xs); font-weight: 500; color: var(--a-muted); }

/* ── Lista de datos (método, dirección, notas…) ────────────────────────── */
.a-facts { display: grid; gap: var(--a-space-3); }

.a-fact {
  display: flex;
  gap: var(--a-space-3);
  font-size: var(--a-text-md);
  line-height: 1.45;
  color: var(--a-ink-2);
}

.a-fact > .a-icon { flex-shrink: 0; margin-top: 1px; color: var(--a-muted); }
.a-fact > div { min-width: 0; overflow-wrap: anywhere; }
.a-fact b { color: var(--a-ink); font-weight: 700; }
.a-fact small { display: block; font-size: var(--a-text-xs); color: var(--a-muted); }
.a-fact a { color: var(--a-brand-700); font-weight: 700; text-decoration: underline; }

/* ── Cabecera de página interna (título + acción) ──────────────────────── */
.a-titlebar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--a-space-3);
  margin-bottom: var(--a-space-5);
}

.a-titlebar__title {
  font-size: var(--a-text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--a-ink);
}

.a-titlebar__sub { margin-top: 2px; font-size: var(--a-text-md); color: var(--a-muted); }

.a-back,
.a-back:hover {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  margin-bottom: var(--a-space-2);
  color: var(--a-brand-700);
  font-size: var(--a-text-sm);
  font-weight: 700;
}

.a-back:hover { text-decoration: underline; }

/* ── Estrellas de calificación ─────────────────────────────────────────── */
.a-stars { display: inline-flex; gap: 1px; color: var(--a-star); }
.a-stars .a-icon { fill: currentColor; }
.a-stars .a-icon.is-off { color: var(--a-line-strong); fill: none; }

/* ── Ver/ocultar contraseña (site.js: data-auth-toggle-pass, aria-pressed) ─ */
[data-auth-toggle-pass] .a-icon + .a-icon { display: none; }
[data-auth-toggle-pass][aria-pressed="true"] .a-icon:first-child { display: none; }
[data-auth-toggle-pass][aria-pressed="true"] .a-icon + .a-icon { display: inline-block; }


/* Título del FAQ sin subtítulo: separación propia antes de la lista. */
.faq-section__title { margin-bottom: var(--a-space-5); }
.faq-section__title:has(+ .faq-sub) { margin-bottom: 0; }

/* ── Dato copiable (components/ui/copy-value) ──────────────────────────── */
.a-copy { display: grid; gap: 2px; min-width: 0; }

.a-copy__label {
  font-size: var(--a-text-sm);
  font-weight: 600;
  color: var(--a-muted);
}

.a-copy__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--a-space-1) var(--a-space-3);
}

/* Un número que se copia para pagar nunca se parte a mitad. */
.a-copy__value {
  font-size: var(--a-text-lg);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--a-ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  user-select: all;
}

.a-copy--sm .a-copy__value { font-size: var(--a-text-md); font-weight: 700; }
.a-copy--xl .a-copy__value { font-size: var(--a-text-xl); }

@media (max-width: 420px) {
  .a-copy--md .a-copy__value { font-size: var(--a-text-base); }
}

.a-copy__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 var(--a-space-3);
  border: 1px solid var(--a-line-strong);
  border-radius: var(--a-radius-pill);
  background: var(--a-surface);
  color: var(--a-brand-800);
  font: inherit;
  font-size: var(--a-text-sm);
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--a-dur) ease, border-color var(--a-dur) ease, transform var(--a-dur-press) var(--a-ease-out);
}

/* Área táctil de 44px sin agrandar el botón. */
.a-copy__btn { position: relative; }
.a-copy__btn::after { content: ""; position: absolute; inset: -6px -2px; }

.a-copy__btn:hover { border-color: var(--a-brand-700); background: var(--a-brand-50); }
.a-copy__btn:active { transform: scale(0.97); }
.a-copy__btn:focus-visible { outline: none; box-shadow: var(--a-focus); }
.a-copy__btn.is-done { border-color: var(--a-success); background: var(--a-success-50); color: var(--a-success); }
.a-copy__btn[hidden] { display: none; }

/* ══════════════════════════════════════════════════════════════════════
 * Combos: identidad del tipo (Combo, Kit, Bolsa…).
 * --type es DATO del POS (style="--type: #rrggbb", solo hex validados por
 * ApiValue::hexColor); sin él cae a --a-brand-700. Nunca va detrás de texto
 * chico: se usa como tinte (10–18% sobre --a-surface, tinta normal) y como
 * --t-strong para íconos (mezclado con --a-ink: oscurece en claro, aclara
 * en oscuro, así el trazo pasa 3:1 sobre su tinte). El campo lleno del
 * color solo aparece cuando ComboTypeData::fieldInk() midió >= 4.5:1.
 * ══════════════════════════════════════════════════════════════════════ */
.a-typed {
  --t: var(--type, var(--a-brand-700));
  --t-strong: color-mix(in oklab, var(--t) 70%, var(--a-ink));
  --t-tint: color-mix(in srgb, var(--t) 10%, var(--a-surface));
  --t-tint-2: color-mix(in srgb, var(--t) 18%, var(--a-surface));
  --t-line: color-mix(in srgb, var(--t) 32%, var(--a-surface));
}

/* Insignia del tipo */
.a-ctype {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 22px;
  padding: 2px 8px 2px 6px;
  border-radius: var(--a-radius-sm);
  background: var(--t-tint-2);
  box-shadow: inset 0 0 0 1px var(--t-line);
  color: var(--a-ink);
  font-size: var(--a-text-xs);
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.a-ctype .a-icon { flex-shrink: 0; color: var(--t-strong); }

.a-ctype--link,
.a-ctype--link:hover {
  min-height: 32px;
  padding-inline: 10px 12px;
  font-size: var(--a-text-sm);
  color: var(--a-ink);
  text-decoration: none;
  transition: background-color var(--a-dur) ease;
}

.a-ctype--link:hover { background: var(--t-line); }
.a-ctype--link:focus-visible { outline: none; box-shadow: var(--a-focus); }

/* Miniatura de un producto del combo (sin foto: inicial sobre el tinte) */
.a-cthumb {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: var(--size, 40px);
  height: var(--size, 40px);
  overflow: hidden;
  border-radius: var(--a-radius-sm);
  background: var(--a-paper);
  box-shadow: 0 0 0 2px var(--a-surface), inset 0 0 0 1px var(--a-line);
}

.a-cthumb img { width: 100%; height: 100%; object-fit: contain; }

/* Miniaturas chicas (pila de la tarjeta y franja del detalle): cover, si no la foto de producto se pierde en su propio blanco. */
.a-ccard__thumbs .a-cthumb img { object-fit: cover; }

.a-cthumb.is-empty { background: var(--t-tint-2, var(--a-surface-2)); box-shadow: 0 0 0 2px var(--a-surface); }

.a-cthumb__initial {
  font-size: calc(var(--size, 40px) * 0.42);
  font-weight: 800;
  line-height: 1;
  color: var(--a-ink-2);
}

/* ── Tarjeta de combo (sobre .a-pcard) ─────────────────────────────────── */
.a-ccard__noimg {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: var(--t-tint);
  color: var(--t-strong);
}

.a-ccard__noimg .a-icon { width: 34%; height: auto; }

.a-ccard__parts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}

.a-ccard__thumbs { display: flex; align-items: center; }
.a-ccard__thumbs > * + * { margin-left: -8px; }
.a-ccard__thumbs > li { display: inline-flex; }

.a-ccard__thumbs-more {
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 4px;
  border-radius: var(--a-radius-sm);
  background: var(--a-surface-3);
  box-shadow: 0 0 0 2px var(--a-surface);
  color: var(--a-ink-2);
  font-size: var(--a-text-xs);
  font-weight: 800;
}

/* Tarjeta angosta (fila de celular, ~150px): miniaturas más chicas y más encimadas para que 4 + "+N" quepan. */
@container (max-width: 180px) {
  .a-ccard__thumbs .a-cthumb,
  .a-ccard__thumbs-more { width: 26px; min-width: 26px; height: 26px; }
  .a-ccard__thumbs > * + * { margin-left: -10px; }
  .a-ccard__thumbs .a-cthumb__initial { font-size: 0.6875rem; }
}

.a-ccard__count {
  font-size: var(--a-text-xs);
  font-weight: 700;
  color: var(--a-ink-2);
}

.a-ccard__price {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding-top: var(--a-space-1);
}

.a-ccard__save {
  justify-self: start;
  padding: 2px 8px;
  border-radius: var(--a-radius-sm);
  background: var(--a-success-50);
  color: var(--a-success);
  font-size: var(--a-text-xs);
  font-weight: 800;
  white-space: nowrap;
}

.a-ccard__meta { display: grid; gap: 2px; }

.a-ccard__deadline,
.a-cavail {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--a-text-xs);
  font-weight: 700;
  line-height: 1.3;
}

.a-ccard__deadline { color: var(--a-offer-700); }
.a-ccard__deadline .a-icon,
.a-cavail .a-icon { flex-shrink: 0; }

.a-cavail.is-ok,
.a-cavail.is-unlimited { color: var(--a-success); }
.a-cavail.is-last { color: var(--a-offer-700); }
.a-cavail.is-out { color: var(--a-muted); }

/* Disponibilidad grande (detalle): una marca por combo que alcanza (hasta 10) */
.a-cmeter {
  display: grid;
  gap: 6px;
  width: 100%;
  max-width: 480px;
  padding: var(--a-space-3) var(--a-space-4);
  border-radius: var(--a-radius-lg);
  background: var(--a-surface-2);
}

.a-cmeter__label {
  display: flex;
  align-items: center;
  gap: var(--a-space-2);
  font-size: var(--a-text-base);
  font-weight: 800;
  color: var(--a-ink);
}

.a-cmeter.is-ok .a-icon,
.a-cmeter.is-unlimited .a-icon { color: var(--a-success); }
.a-cmeter.is-last .a-cmeter__label { color: var(--a-offer-700); }
.a-cmeter.is-out .a-cmeter__label { color: var(--a-ink-2); }
.a-cmeter.is-out .a-icon { color: var(--a-muted); }

.a-cmeter__pips { display: flex; gap: 4px; }

.a-cmeter__pips i {
  flex: 1 1 0;
  max-width: 32px;
  height: 8px;
  border-radius: var(--a-radius-pill);
  background: var(--a-success);
}

.a-cmeter.is-last .a-cmeter__pips i { background: var(--a-offer-600); }

.a-cmeter__note { font-size: var(--a-text-sm); color: var(--a-muted); }

/* ── Mosaico de tipo (vitrina de /combos y cabecera de fila del home) ──── */
.a-ctile,
.a-ctile:hover {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--t-line);
  border-radius: var(--a-radius-lg);
  background: var(--t-tint);
  color: var(--a-ink);
  text-decoration: none;
}

a.a-ctile { transition: border-color var(--a-dur) ease, box-shadow var(--a-dur) ease, transform var(--a-dur-press) var(--a-ease-out); }

@media (hover: hover) {
  a.a-ctile:hover { border-color: var(--t); box-shadow: var(--a-shadow); }
  a.a-ctile:hover .a-ctile__media img { transform: scale(1.03); }
  a.a-ctile:hover .a-ctile__count .a-icon { transform: translateX(3px); }
}

a.a-ctile:active { transform: scale(0.99); }
.a-ctile:focus-visible { outline: none; box-shadow: var(--a-focus); }

.a-ctile__media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--t-tint-2);
  color: var(--t-strong);
}

.a-ctile.has-image .a-ctile__media { background: var(--t-tint-2); }

.a-ctile__media img {
  width: 100%;
  height: 100%;
  /* contain: la imagen del tipo puede traer texto propio (como los banners del POS) y nunca se recorta. */
  object-fit: contain;
  transition: transform 320ms var(--a-ease-out);
}

.a-ctile__glyph { width: clamp(44px, 28%, 88px); height: auto; }

/* Campo lleno del color del tipo: solo con contraste medido (fieldInk). */
.a-ctile.is-ink-light:not(.has-image) .a-ctile__media { background: var(--t); color: var(--a-on-fill); }
.a-ctile.is-ink-dark:not(.has-image) .a-ctile__media { background: var(--t); color: var(--a-paper-ink); }

.a-ctile__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  padding: var(--a-space-3) var(--a-space-4) var(--a-space-4);
}

.a-ctile__head { display: flex; align-items: center; gap: var(--a-space-2); min-width: 0; }

.a-ctile__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--a-radius);
  background: var(--a-surface);
  box-shadow: inset 0 0 0 1px var(--t-line);
  color: var(--t-strong);
}

/* Sin foto el ícono ya está grande en el campo de color: no se repite. */
.a-ctile:not(.has-image) .a-ctile__icon { display: none; }

.a-ctile__name {
  min-width: 0;
  font-size: var(--a-text-lg);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: var(--a-leading-tight);
  overflow-wrap: anywhere;
}

.a-ctile__desc {
  display: -webkit-box;
  overflow: hidden;
  font-size: var(--a-text-sm);
  line-height: 1.4;
  color: var(--a-ink-2);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.a-ctile__count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: var(--a-space-1);
  font-size: var(--a-text-sm);
  font-weight: 800;
  color: var(--a-ink);
}

.a-ctile__count .a-icon { color: var(--t-strong); transition: transform var(--a-dur) var(--a-ease-out); }

@media (max-width: 639px) {
  .a-ctile--tile .a-ctile__media { aspect-ratio: 4 / 3; }
  .a-ctile--tile .a-ctile__body { padding: var(--a-space-2) var(--a-space-3) var(--a-space-3); }
  .a-ctile--tile .a-ctile__name { font-size: var(--a-text-md); }
  .a-ctile--tile .a-ctile__desc { display: none; }
  .a-ctile--tile .a-ctile__icon { width: 28px; height: 28px; }
}

/* Cabecera de fila (home): fila compacta en celular, columna en escritorio. */
.a-ctile--lane {
  flex-direction: row;
  align-items: center;
  gap: var(--a-space-3);
  padding: var(--a-space-2);
}

.a-ctile--lane .a-ctile__media { flex: 0 0 64px; aspect-ratio: 1; border-radius: var(--a-radius); }
.a-ctile--lane .a-ctile__glyph { width: 32px; }
.a-ctile--lane .a-ctile__body { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px var(--a-space-3); padding: 0 var(--a-space-2) 0 0; }
.a-ctile--lane .a-ctile__head { flex: 1 1 10rem; }
.a-ctile--lane .a-ctile__icon { display: none; }
.a-ctile--lane .a-ctile__desc { flex-basis: 100%; order: 3; -webkit-line-clamp: 1; }
.a-ctile--lane .a-ctile__count { margin-top: 0; padding-top: 0; white-space: nowrap; }

@media (min-width: 1024px) {
  .a-ctile--lane { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
  .a-ctile--lane .a-ctile__media { flex: none; aspect-ratio: 4 / 3; border-radius: 0; }
  .a-ctile--lane .a-ctile__glyph { width: 72px; }
  .a-ctile--lane .a-ctile__body { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 6px; padding: var(--a-space-4); }
  .a-ctile--lane .a-ctile__head { flex: none; }
  .a-ctile--lane.has-image .a-ctile__icon { display: inline-flex; }
  .a-ctile--lane .a-ctile__desc { order: 0; -webkit-line-clamp: 3; }
  .a-ctile--lane .a-ctile__count { margin-top: auto; }
}

/* Filtro por tipo (links reales, sobre .a-tabs/.a-tab) */
.a-ctypenav .a-tabs { margin: 0; list-style: none; }

.a-tab--type .a-icon { color: var(--t-strong); }
.a-tab[aria-current] .a-icon { color: inherit; }

.a-tab__count {
  display: inline-flex;
  align-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--a-radius-pill);
  background: var(--a-surface-2);
  color: var(--a-ink-2);
  font-size: var(--a-text-xs);
  font-weight: 800;
}

.a-tab[aria-current] .a-tab__count {
  background: color-mix(in srgb, var(--a-on-primary) 22%, transparent);
  color: var(--a-on-primary);
}

@media (prefers-reduced-motion: reduce) {
  .a-ctile__media img,
  .a-ctile__count .a-icon,
  a.a-ctile { transition: none; }
}

/* ── Imagen de la tarjeta: caja fija, la foto la llena (cover) ─────────── */
.a-pcard__media img { object-fit: cover; }
.a-pcard--shelf .a-pcard__media { padding: 0; }

/* ── Variantes en la tarjeta: muestras y "N variantes" con borde punteado ─ */
.a-pcard__swatches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.a-pcard__swatch {
  display: block;
  cursor: pointer;
  width: 20px;
  height: 20px;
  border: 1.5px dashed var(--a-line-strong);
  border-radius: 50%;
  background: var(--sw, var(--a-surface-3)) center / cover no-repeat;
  background-clip: content-box;
  padding: 2px;
}

.a-pcard__swatch[aria-pressed="true"] { border-style: solid; border-color: var(--a-ink); }
.a-pcard__swatch:focus-visible { outline: none; box-shadow: var(--a-focus); }

.a-pcard__swatch-more {
  font-size: var(--a-text-xs);
  font-weight: 700;
  color: var(--a-muted);
}

.a-pcard__variants {
  align-self: flex-start;
  padding: 2px 8px;
  border: 1.5px dashed var(--a-line-strong);
  border-radius: var(--a-radius-pill);
  font-size: var(--a-text-xs);
  font-weight: 700;
  color: var(--a-ink-2);
}

/* ── Movimiento (emil-design-eng: ease-out fuerte, transform + opacity) ── */
/* Tarjetas: el hover solo afecta a la imagen; si hay segunda foto, se cruza con la principal. */
.a-pcard .a-pcard__media img.a-pcard__alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 260ms var(--a-ease-out);
}

@media (hover: hover) {
  .a-pcard .a-pcard__media:hover img.a-pcard__alt { opacity: 1; }
}

/* La imagen queda sobre el link estirado de la tarjeta para tener su propio hover. */
.a-pcard:has(.a-pcard__media-link) .a-pcard__media { z-index: 2; }
.a-pcard__media-link { position: absolute; inset: 0; z-index: 1; }
.a-pcard__swatches { position: relative; z-index: 2; }

/* Secciones que entran al hacer scroll (storefront.js marca is-pending → is-in). */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { transition: opacity 640ms var(--a-ease-out), transform 640ms var(--a-ease-out); }
  [data-reveal].is-pending:not(.is-in) { opacity: 0; transform: translateY(22px); }
}

/* Dígito de la cuenta regresiva que cambia: un tic corto hacia arriba. */
@keyframes a-tick { from { opacity: 0.35; transform: translateY(-38%); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .a-countdown__cell b.is-tick { display: inline-block; animation: a-tick 320ms var(--a-ease-out); }
}

/* Brillo de carga mientras llega una imagen (storefront.js: is-loading). */
@keyframes a-shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--a-paper) 55%, transparent) 50%, transparent 70%) 0 0 / 200% 100%;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .is-loading::after { animation: a-shimmer 1.2s linear infinite; }
}

/* Contador del carrito al agregar + aviso corto. */
@keyframes a-bump { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  [data-cart-badge].is-bump { animation: a-bump 420ms var(--a-ease-out); }
}

.a-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--a-space-6) + env(safe-area-inset-bottom, 0px));
  z-index: calc(var(--a-z-drawer) + 5);
  display: flex;
  align-items: center;
  gap: var(--a-space-2);
  max-width: min(92vw, 28rem);
  padding: 12px 18px;
  border-radius: var(--a-radius-pill);
  background: var(--a-paper-ink);
  color: var(--a-on-fill);
  font-size: var(--a-text-md);
  font-weight: 700;
  box-shadow: var(--a-shadow-lg);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity var(--a-dur) ease, transform 280ms var(--a-ease-out);
}

.a-toast .a-icon { color: var(--a-deal); }
.a-toast span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

:root[data-theme="dark"] .a-toast { background: var(--a-surface-3); color: var(--a-ink); }

/* Botón de tema del header. */
.a-hact--theme { min-width: 44px; justify-content: center; }
.a-hact--theme .a-icon { transition: transform 360ms var(--a-ease-out); }
.a-hact--theme:hover .a-icon { transform: rotate(-18deg); }

/* ── Tema oscuro: tarjetas ─────────────────────────────────────────────── */
:root[data-theme="dark"] .a-pcard { background: var(--a-surface); }
:root[data-theme="dark"] .a-pcard__fav,
:root[data-theme="dark"] .a-pcard__fav.is-active { background: #fff; color: #f21364; }
:root[data-theme="dark"] .a-btn--light,
:root[data-theme="dark"] .a-btn--light:hover { background: var(--a-paper); color: var(--a-paper-ink); }

/*
 * La línea del encabezado es solo del home (pedido del dueño): fuera de él
 * (ficha de producto, ofertas, combos, páginas) el título va solo y "Ver más"
 * en su misma fila, a la derecha.
 */
.a-heading__rule { display: none; }
/* Con "Ver más" en la fila del título, su columna mide lo que mide el enlace y el título baja de línea;
   con minmax(2rem, 1fr) el enlace (nowrap) se desbordaba encima del título en celular */
.a-heading.has-link:not(.a-heading--center) { grid-template-columns: minmax(0, 1fr) auto; }
.a-heading .a-heading__link,
.a-heading.has-sub .a-heading__link { grid-row: 1; align-self: center; }
.a-heading.has-link .a-heading__sub { padding-right: 0; }

.a-home .a-heading:not(.a-heading--center) .a-heading__rule { display: block; }
/* En el home el enlace va en la segunda fila: vuelve la grilla original (título + línea de color) */
.a-home .a-heading.has-link:not(.a-heading--center) { grid-template-columns: minmax(0, auto) minmax(2rem, 1fr); }
.a-home .a-heading .a-heading__link,
.a-home .a-heading.has-sub .a-heading__link { grid-row: 2; align-self: start; }
.a-home .a-heading.has-link .a-heading__sub { padding-right: 10rem; }

@media (max-width: 639px) {
  .a-home .a-heading.has-link .a-heading__sub { padding-right: 0; }
  .a-home .a-heading.has-sub .a-heading__link { grid-row: 3; }
}

/* ── Chispas al marcar favorito (storefront.js: .a-burst) ──────────────── */
.a-burst {
  position: fixed;
  z-index: calc(var(--a-z-header) + 5);
  width: 0;
  height: 0;
  pointer-events: none;
}

.a-burst__bit {
  position: absolute;
  left: 0;
  top: 0;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 2px;
  background: var(--c, #f21364);
}

.a-burst__bit--dot { border-radius: 50%; }
.a-burst__bit--star {
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 0;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

/* El corazón late al marcarlo. */
@keyframes a-fav-pop { 0% { transform: scale(1); } 35% { transform: scale(1.28); } 65% { transform: scale(0.92); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  .a-pcard__fav.is-pop { animation: a-fav-pop 460ms var(--a-ease-out); }
}
