/* Kaizen Force V4 — Componentes reutilizables
   Botones, tarjetas, badges, formularios, tabs, estrellas, drawer, toast. */

/* ===== Botones ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform var(--tr), background var(--tr), color var(--tr), border-color var(--tr), box-shadow var(--tr);
  white-space: nowrap;
  user-select: none;
  text-align: center;
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--color-red);
  color: #fff;
  border-color: var(--color-red);
}
.btn--primary:hover {
  background: var(--color-red-bright);
  box-shadow: var(--shadow-glow-red);
  color: #fff;
}

.btn--gold {
  background: var(--color-gold);
  color: #181000;
  border-color: var(--color-gold);
}
.btn--gold:hover {
  background: var(--color-gold-bright);
  box-shadow: var(--shadow-glow-gold);
  color: #181000;
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-strong);
}
.btn--ghost:hover {
  background: var(--bg-surface);
  border-color: var(--color-gold);
  color: var(--color-gold-bright);
}

.btn--outline-red {
  background: transparent;
  color: var(--color-red);
  border-color: var(--color-red);
}
.btn--outline-red:hover {
  background: var(--color-red);
  color: #fff;
}

.btn--whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}
.btn--whatsapp:hover {
  background: #1ebe5d;
  box-shadow: 0 0 22px rgba(37, 211, 102, 0.4);
  color: #fff;
}

.btn--block { width: 100%; }
.btn--sm { padding: 8px 14px; font-size: 0.78rem; }
.btn--lg { padding: 16px 30px; font-size: 1rem; }

/* ===== Cards ===== */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--color-border-gold);
  box-shadow: var(--shadow-md);
}
.card__body {
  padding: 16px;
}

/* ===== Product Card ===== */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
  height: 100%;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-border-gold);
  box-shadow: var(--shadow-md);
}
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #0e0e0e, #1c1c1c);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}
.product-card__media svg,
.product-card__media img {
  width: 64%;
  height: 64%;
  object-fit: contain;
}
.product-card__media img {
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.7));
  transition: filter var(--tr), transform var(--tr);
}
.product-card:hover .product-card__media img {
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.85));
  transform: translateY(-3px) scale(1.03);
}

/* Category-specific glow backgrounds */
[data-img-kind="protein"] {
  background: radial-gradient(ellipse 80% 55% at 50% 85%, rgba(225,29,44,.2) 0%, #0d0d0d 68%),
              linear-gradient(160deg, #0f0808 0%, #1a0909 100%);
}
[data-img-kind="creatine"] {
  background: radial-gradient(ellipse 80% 55% at 50% 85%, rgba(40,90,200,.15) 0%, #0d0d0d 68%),
              linear-gradient(160deg, #080c12 0%, #0e0e0e 100%);
}
[data-img-kind="preworkout"] {
  background: radial-gradient(ellipse 80% 55% at 50% 85%, rgba(225,29,44,.28) 0%, #0d0d0d 62%),
              linear-gradient(160deg, #110808 0%, #1c0808 100%);
}
[data-img-kind="vitamin"] {
  background: radial-gradient(ellipse 80% 55% at 50% 85%, rgba(202,161,47,.2) 0%, #0d0d0d 68%),
              linear-gradient(160deg, #0e0c07 0%, #141000 100%);
}
[data-img-kind="shot"] {
  background: radial-gradient(ellipse 80% 55% at 50% 85%, rgba(202,161,47,.22) 0%, #0d0d0d 68%),
              linear-gradient(160deg, #0e0d09 0%, #151208 100%);
}
[data-img-kind="burner"] {
  background: radial-gradient(ellipse 80% 55% at 50% 85%, rgba(220,85,20,.22) 0%, #0d0d0d 62%),
              linear-gradient(160deg, #110c08 0%, #1a1008 100%);
}
[data-img-kind="gear"] {
  background: radial-gradient(ellipse 80% 55% at 50% 85%, rgba(202,161,47,.12) 0%, #0d0d0d 70%),
              linear-gradient(160deg, #0e0e0d 0%, #121210 100%);
}
.product-card__fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.55);
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  transition: color var(--tr), background var(--tr), border-color var(--tr);
  z-index: 2;
}
.product-card__fav:hover {
  color: var(--color-gold-bright);
  border-color: var(--color-gold);
}
.product-card__fav.is-active {
  color: var(--color-gold-bright);
  background: var(--color-gold-soft);
  border-color: var(--color-gold);
}
.product-card__fav svg { width: 18px; height: 18px; }

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  z-index: 2;
  max-width: calc(100% - 128px);
}
.product-card__badge--gold {
  background: var(--color-gold);
  color: #181000;
}
.product-card__badge--ghost {
  background: rgba(0, 0, 0, 0.7);
  color: var(--color-gold-bright);
  border: 1px solid var(--color-gold);
}

.product-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__cat {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 4px;
}
.product-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 6px;
}
.product-card__desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.product-card__price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.product-card__price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-gold-bright);
  letter-spacing: 0.04em;
}
.product-card__currency {
  font-size: 0.75rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.product-card__stock {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}
.product-card__stock--low { color: var(--color-warning); }
.product-card__stock--out { color: var(--color-danger); }
.product-card__actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
}
.product-card__discount-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 14px;
  margin-left: auto;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-red-bright), var(--color-red-dark));
  color: var(--color-gold-bright);
  font-family: var(--font-accent);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 16px rgba(225, 29, 44, 0.32);
}
.product-card__actions .btn { flex: 1; }
.product-card__actions .btn--in-cart {
  background: var(--color-success);
  color: #062a10;
  border-color: var(--color-success);
}
.product-card__link-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ===== Badges ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--color-text);
}
.badge--red    { background: var(--color-red); color: #fff; }
.badge--gold   { background: var(--color-gold); color: #181000; }
.badge--green  { background: rgba(74, 222, 128, 0.18); color: var(--color-success); border: 1px solid rgba(74, 222, 128, 0.4); }
.badge--warn   { background: rgba(250, 204, 21, 0.16); color: var(--color-warning); border: 1px solid rgba(250, 204, 21, 0.4); }
.badge--ghost  { background: transparent; border: 1px solid var(--color-border-gold); color: var(--color-gold-bright); }
.badge--demo   { background: rgba(250, 204, 21, 0.12); color: var(--color-warning); border: 1px dashed var(--color-warning); }

/* ===== Estrellas ===== */
.stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--color-gold-bright);
}
.stars svg { width: 16px; height: 16px; }
.stars--lg svg { width: 20px; height: 20px; }
.stars__count {
  margin-left: 6px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ===== Forms ===== */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.field__label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.field__input,
.field__select,
.field__textarea {
  background: var(--bg-carbon);
  border: 1px solid var(--color-border-strong);
  color: var(--color-text);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: border-color var(--tr), background var(--tr);
  width: 100%;
}
.field__select {
  min-height: 48px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 46px;
  background-color: var(--bg-carbon);
  background-image:
    linear-gradient(135deg, rgba(202, 161, 47, 0.08), transparent 44%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23caa12f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='7 9 12 14 17 9'/></svg>");
  background-repeat: no-repeat, no-repeat;
  background-position: left top, right 14px center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.field__select:hover {
  border-color: var(--color-border-gold);
  background-color: var(--bg-surface);
}
.field__select option {
  background: #101010;
  color: var(--color-text);
}
.field__select option:checked {
  background: #2a1718;
  color: var(--color-gold-bright);
}
.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background: var(--bg-surface);
}
input[type="file"].field__input {
  min-height: 48px;
  padding: 8px;
  color: var(--color-text-muted);
  cursor: pointer;
  overflow: hidden;
}
input[type="file"].field__input::file-selector-button {
  margin-right: 12px;
  border: 1px solid var(--color-red);
  border-radius: var(--radius-sm);
  background: var(--color-red-soft);
  color: var(--color-text);
  padding: 9px 12px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--tr), border-color var(--tr), color var(--tr);
}
input[type="file"].field__input:hover::file-selector-button {
  background: var(--color-red);
  border-color: var(--color-red-bright);
  color: #fff;
}
.field__input::placeholder,
.field__textarea::placeholder {
  color: var(--color-text-dim);
}
.field__textarea { resize: vertical; min-height: 90px; }
.field__hint {
  font-size: 0.78rem;
  color: var(--color-text-dim);
}
.field__error {
  font-size: 0.78rem;
  color: var(--color-danger);
}
.field--error .field__input,
.field--error .field__select,
.field--error .field__textarea {
  border-color: var(--color-danger);
}

.input-prefix {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
}
.input-prefix__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 0 12px;
  background: var(--bg-surface);
  border: 1px solid var(--color-border-strong);
  border-right: 0;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  color: var(--color-gold-bright);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}
.input-prefix .field__input {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.field__help--left {
  text-align: left;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.checkbox input {
  appearance: none;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xs);
  background: var(--bg-carbon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--tr), border-color var(--tr);
}
.checkbox input:checked {
  background: var(--color-red);
  border-color: var(--color-red);
}
.checkbox input:checked::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

/* ===== Tabs / Filtros chip ===== */
.chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.chip-row::-webkit-scrollbar { height: 4px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--tr), color var(--tr), border-color var(--tr);
  scroll-snap-align: start;
}
.chip:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-bright);
}
.chip.is-active {
  background: var(--color-red);
  border-color: var(--color-red);
  color: #fff;
}
.chip svg { width: 14px; height: 14px; }

/* ===== Drawer carrito ===== */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  pointer-events: none;
  visibility: hidden;
}
.cart-drawer.is-open { pointer-events: auto; visibility: visible; }
.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--tr);
}
.cart-drawer.is-open .cart-drawer__backdrop { opacity: 1; }
.cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(92vw, 420px);
  background: var(--bg-carbon);
  border-left: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--tr-slow);
}
.cart-drawer.is-open .cart-drawer__panel { transform: translateX(0); }
.cart-drawer__head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-drawer__head h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-drawer__foot {
  border-top: 1px solid var(--color-border);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-base);
}
.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-display);
}
.cart-drawer__total span:last-child {
  color: var(--color-gold-bright);
  font-size: 1.4rem;
  font-weight: 700;
}
.cart-line {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.cart-line__media {
  width: 60px;
  height: 60px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-line__media svg { width: 70%; height: 70%; }
.cart-line__info { flex: 1; min-width: 0; }
.cart-line__name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-line__meta {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}
.cart-line__price {
  color: var(--color-gold-bright);
  font-weight: 600;
  font-size: 0.9rem;
}
.cart-line__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-carbon);
}
.qty button {
  width: 28px;
  height: 28px;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.qty button:hover { color: var(--color-red); }
.qty input {
  width: 36px;
  text-align: center;
  background: transparent;
  border: 0;
  color: var(--color-text);
  font-weight: 600;
}
.qty input::-webkit-inner-spin-button,
.qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.empty-state {
  text-align: center;
  padding: 32px 20px;
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-lg);
  color: var(--color-text-muted);
}
.empty-state svg { width: 48px; height: 48px; color: var(--color-text-dim); margin-bottom: 8px; }
.empty-state h4 { color: var(--color-text); margin-bottom: 6px; }

/* ===== Toast ===== */
.toast-region {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  width: min(92%, 380px);
}
.toast {
  background: var(--bg-elevated);
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 10px;
  align-items: center;
  pointer-events: auto;
  animation: fadeUp 220ms ease both;
  font-size: 0.9rem;
}
.toast--success { border-color: var(--color-success); }
.toast--success svg { color: var(--color-success); }
.toast--error   { border-color: var(--color-danger); }
.toast--error svg { color: var(--color-danger); }
.toast--info    { border-color: var(--color-info); }
.toast svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--tr), visibility var(--tr);
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__panel {
  background: var(--bg-carbon);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  max-width: 420px;
  width: 100%;
  padding: 24px;
  text-align: center;
  transform: scale(0.95);
  transition: transform var(--tr);
}
.modal.is-open .modal__panel { transform: scale(1); }
.modal h3 { margin-bottom: 8px; }
.modal p { color: var(--color-text-muted); margin-bottom: 20px; }
.modal__actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* ===== Banner promo (oferta limitada) ===== */
.offer-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(90deg, var(--color-red-dark), var(--color-red), var(--color-red-dark));
  color: #fff;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  flex-wrap: wrap;
  text-align: center;
}
.offer-banner__text {
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.offer-banner__text strong { color: var(--color-gold-bright); }
.offer-banner__icon { color: var(--color-gold-bright); }
.offer-banner__icon svg { width: 22px; height: 22px; }

/* Section heading helper */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.section-head .eyebrow { margin-bottom: 10px; }
.section-head h2 small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-top: 8px;
}

/* Notice / aviso */
.notice {
  background: var(--bg-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin: 16px 0 24px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.notice + .grid-products,
.notice + .carousel-row { margin-top: 8px; }
.notice svg { width: 18px; height: 18px; color: var(--color-gold-bright); flex-shrink: 0; margin-top: 2px; }
.notice--red { border-left-color: var(--color-red); }
.notice--red svg { color: var(--color-red); }

.legal-content {
  display: grid;
  gap: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.legal-content h3 {
  font-size: 1.05rem;
  margin-top: 6px;
}
.legal-content h3:first-child { margin-top: 0; }
.legal-content p {
  color: var(--color-text-muted);
}

/* Skeleton loaders */
.skeleton {
  background: linear-gradient(90deg, var(--bg-surface) 0%, var(--bg-elevated) 50%, var(--bg-surface) 100%);
  background-size: 200% 100%;
  animation: skel 1.4s ease-in-out infinite;
  border-radius: var(--radius-sm);
}
@keyframes skel {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== Responsive helpers para grids ===== */
.grid-products {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 480px) {
  .grid-products { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
@media (min-width: 1024px) {
  .grid-products { grid-template-columns: repeat(4, 1fr); }
}
