/* FASE NUEVE — «Añadir al carrito» en tarjetas (Home y catálogo V21). Aditivo: comparte la fila de «Ver producto». */
.product-card__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 0;
}
.product-card__quick-add {
  appearance: none;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, opacity .18s ease;
}
.product-card__quick-add:hover:not([disabled]) { border-color: #fff; background: #fff; color: #0b0e13; }
.product-card__quick-add:focus-visible { outline: 2px solid rgb(var(--f9-accent-rgb, 255, 90, 31)); outline-offset: 2px; }
.product-card__quick-add[data-state="busy"] { cursor: progress; opacity: .7; }
.product-card__quick-add.is-added,
.product-card__quick-add.is-added[disabled] { border-color: #16b364; background: #16b364; color: #fff; opacity: 1; cursor: default; }
.product-card__quick-msg { margin: 0; max-width: 24ch; font-size: 11px; line-height: 1.35; text-align: right; opacity: .85; }

[data-resolved-scheme="light"] .product-card__quick-add { border-color: rgba(11, 14, 19, .28); color: #0b0e13; }
[data-resolved-scheme="light"] .product-card__quick-add:hover:not([disabled]) { border-color: #0b0e13; background: #0b0e13; color: #fff; }
[data-resolved-scheme="light"] .product-card__quick-add.is-added { border-color: #12a150; background: #12a150; color: #fff; }

/* Preventa: el mismo botón con el acento de la tienda. */
.product-card__quick-add[data-preorder="true"] { border-color: rgb(var(--f9-accent-rgb, 255, 90, 31)); }
.product-card__quick-add[data-preorder="true"]:hover:not([disabled]) { border-color: rgb(var(--f9-accent-rgb, 255, 90, 31)); background: rgb(var(--f9-accent-rgb, 255, 90, 31)); color: #0b0e13; }

/* Selector compacto de variantes (color, capacidad…): se añade exactamente la variante elegida. */
.product-card__options {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(8, 11, 16, .96);
  color: #fff;
  display: grid;
  gap: 10px;
  text-align: left;
}
.product-card__options-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.product-card__options-close { appearance: none; border: 0; background: transparent; color: inherit; font-size: 20px; line-height: 1; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; }
.product-card__options-close:hover { background: rgba(255, 255, 255, .1); }
.product-card__options-status, .product-card__options-price { margin: 0; font-size: 12px; opacity: .85; }
.product-card__options-body { display: grid; gap: 10px; }
.product-card__options-body fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.product-card__options-body legend { width: 100%; margin-bottom: 4px; padding: 0; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.product-card__option {
  appearance: none; min-height: 32px; padding: 0 11px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px;
  background: transparent; color: inherit; font: inherit; font-size: 12px; cursor: pointer;
}
.product-card__option[aria-pressed="true"] { border-color: rgb(var(--f9-accent-rgb, 255, 90, 31)); background: rgba(255, 90, 31, .16); }
.product-card__option:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.product-card__option:focus-visible, .product-card__options-close:focus-visible { outline: 2px solid rgb(var(--f9-accent-rgb, 255, 90, 31)); outline-offset: 2px; }
.product-card__options-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.product-card__options-confirm[disabled] { opacity: .45; cursor: not-allowed; }

[data-resolved-scheme="light"] .product-card__options { background: #fff; color: #0b0e13; border-color: rgba(11, 14, 19, .16); }
[data-resolved-scheme="light"] .product-card__option { border-color: rgba(11, 14, 19, .28); }
[data-resolved-scheme="light"] .product-card__options-close:hover { background: rgba(11, 14, 19, .08); }

@media (max-width: 520px) {
  .product-card__quick-add { min-height: 40px; }
  .product-card__option { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-card__quick-add { transition: none; }
}

/* Tarjeta sin datos técnicos: sin bloque vacío; el pie (precio y botones) queda abajo como en las demás. */
.product-card--no-specs .product-card__footer { margin-top: auto; }
