
/* ── Variables ───────────────────────────────────────── */
:root {
  --wrm-primary:   #25D366;
  --wrm-primary-d: #128C7E;
  --wrm-accent:    #FF6B35;
  --wrm-dark:      #111827;
  --wrm-text:      #1f2937;
  --wrm-muted:     #6b7280;
  --wrm-bg:        #f9fafb;
  --wrm-surface:   #ffffff;
  --wrm-border:    rgba(0,0,0,.09);
  --wrm-radius:    14px;
  --wrm-shadow:    0 4px 20px rgba(0,0,0,.08);
  --wrm-font:      'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* ── Tabs de categoría ───────────────────────────────── */
.wrm-cat-tabs {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  margin-bottom: 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.wrm-cat-tabs::-webkit-scrollbar { display: none; }
.wrm-cat-tab {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--wrm-border);
  background: var(--wrm-surface);
  font-size: .8rem;
  font-weight: 600;
  color: var(--wrm-muted);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  font-family: var(--wrm-font);
}
.wrm-cat-tab:hover { border-color: var(--wrm-primary); color: var(--wrm-primary); }
.wrm-cat-tab.active {
  background: var(--wrm-primary);
  border-color: var(--wrm-primary);
  color: #fff;
  box-shadow: 0 3px 10px rgba(37,211,102,.3);
}

/* ── Buscador ─────────────────────────────────────────── */
.wrm-search-wrap {
  position: relative;
  margin-bottom: 1.5rem;
}
.wrm-search-icon {
  position: absolute;
  left: .9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--wrm-muted);
  pointer-events: none;
}
.wrm-search {
  width: 100%;
  padding: .65rem .65rem .65rem 2.5rem;
  border: 1.5px solid var(--wrm-border);
  border-radius: 999px;
  font-size: .875rem;
  font-family: var(--wrm-font);
  background: var(--wrm-surface);
  color: var(--wrm-text);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.wrm-search:focus {
  outline: none;
  border-color: var(--wrm-primary);
  box-shadow: 0 0 0 3px rgba(37,211,102,.12);
}
.wrm-search-clear {
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--wrm-muted);
  cursor: pointer;
  display: none;
  padding: .15rem .3rem;
}

/* ── Grid de productos (Uber Eats style) ─────────────── */
.wrm-items-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}
@media(min-width: 700px) {
  .wrm-items-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}
@media(min-width: 1100px) {
  .wrm-items-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* ── Sección Promociones / Destacados ───────────────────── */
.wrm-promos-wrap {
  margin: 1.5rem 0 .5rem;
}
.wrm-promos-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--wrm-dark);
  margin-bottom: .85rem;
  letter-spacing: -.02em;
}
.wrm-promos-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 1rem;
  padding-top: .2rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.wrm-promos-scroll::-webkit-scrollbar { display: none; }

.wrm-no-promos-msg {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--wrm-surface);
  border: 1px dashed var(--wrm-border);
  padding: 1.2rem 1.5rem;
  border-radius: 14px;
  width: 100%;
  color: var(--wrm-muted);
  font-size: .85rem;
  line-height: 1.4;
}
.wrm-no-promos-msg .icon {
  font-size: 2rem;
  opacity: 0.8;
}


.wrm-promo-card {
  flex: 0 0 auto;
  width: 220px;
  background: var(--wrm-surface);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--wrm-border);
  box-shadow: 0 4px 12px rgba(0,0,0,.04);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .22s ease, box-shadow .22s ease;
}
.wrm-promo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.wrm-promo-img-wrap {
  width: 100%;
  height: 135px;
  position: relative;
  background: #f3f4f6;
  overflow: hidden;
}
.wrm-promo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wrm-promo-img-wrap .wrm-item-badge {
  position: absolute;
  top: .5rem;
  left: .5rem;
  background: #f97316;
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: .2rem .4rem;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(249, 115, 22, 0.3);
}
.wrm-promo-img-wrap .wrm-item-featured-badge {
  position: absolute;
  top: .5rem;
  right: .5rem;
  background: #fff;
  border-radius: 50%;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  box-shadow: 0 2px 5px rgba(0,0,0,.15);
}

.wrm-promo-body {
  padding: .85rem .85rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.wrm-promo-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--wrm-dark);
  margin-bottom: .4rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wrm-promo-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.wrm-promo-add-btn {
  background: #fff;
  color: var(--wrm-primary);
  border: 1.5px solid var(--wrm-border);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all .2s;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
}
.wrm-promo-add-btn:hover {
  background: var(--wrm-primary);
  color: #fff;
  border-color: var(--wrm-primary);
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(37,211,102,.2);
}
.wrm-promo-add-btn svg {
  width: 18px;
  height: 18px;
}

/* ── Tarjeta de producto (horizontal) ────────────────── */
.wrm-item-card {
  background: var(--wrm-surface);
  border-radius: var(--wrm-radius);
  overflow: hidden;
  border: 1px solid var(--wrm-border);
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
  transition: transform .22s ease, box-shadow .22s ease;
  display: flex;
  flex-direction: row;
  min-height: 0;
}
.wrm-item-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.10);
}
.wrm-item-card.wrm-unavailable { opacity: .55; pointer-events: none; }
.wrm-item-card.wrm-featured {
  border-color: rgba(37,211,102,.30);
  box-shadow: 0 2px 12px rgba(37,211,102,.10);
}

/* ── Imagen del producto (derecha) ───────────────────── */
.wrm-item-img-wrap {
  position: relative;
  overflow: hidden;
  width: 140px;
  min-width: 140px;
  flex-shrink: 0;
  align-self: stretch;
  order: 2;
  background: #f3f4f6;
  border-radius: 0 var(--wrm-radius) var(--wrm-radius) 0;
}
@media(max-width: 399px) {
  .wrm-item-img-wrap {
    width: 110px;
    min-width: 110px;
  }
}
.wrm-item-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
}
.wrm-item-card:hover .wrm-item-img-wrap img { transform: scale(1.06); }

/* ── Badge y destacado ───────────────────────────────── */
.wrm-item-badge {
  position: absolute;
  top: .45rem;
  left: .45rem;
  background: var(--wrm-accent);
  color: #fff;
  font-size: .6rem;
  font-weight: 800;
  padding: .18rem .5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
  z-index: 2;
  line-height: 1.3;
}
.wrm-item-featured-badge {
  position: absolute;
  top: .4rem;
  right: .4rem;
  font-size: .95rem;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
  z-index: 2;
}
.wrm-item-unavailable-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.wrm-item-unavailable-overlay span {
  background: #fff;
  color: #374151;
  font-size: .68rem;
  font-weight: 700;
  padding: .25rem .65rem;
  border-radius: 999px;
}

/* ── Cuerpo del producto (izquierda) ─────────────────── */
.wrm-item-body {
  padding: .85rem .9rem;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  order: 1;
}
.wrm-item-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--wrm-dark);
  margin-bottom: .2rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wrm-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-bottom: .4rem;
}
.wrm-tag-pill {
  font-size: .65rem;
  font-weight: 700;
  color: var(--wrm-primary-d);
  background: rgba(37, 211, 102, 0.15);
  padding: .1rem .4rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.wrm-item-desc {
  font-size: .74rem;
  color: var(--wrm-muted);
  line-height: 1.45;
  flex: 1;
  margin-bottom: .5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wrm-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .4rem;
  margin-top: auto;
}
.wrm-item-price-wrap {
  display: flex;
  align-items: baseline;
  gap: .3rem;
  flex-wrap: wrap;
}
.wrm-item-price {
  font-size: .95rem;
  font-weight: 800;
  color: var(--wrm-dark);
}
.wrm-item-price-old {
  font-size: .72rem;
  color: var(--wrm-muted);
  text-decoration: line-through;
}

/* ── Botón agregar ───────────────────────────────────── */
.wrm-add-btn {
  display: flex;
  align-items: center;
  gap: .3rem;
  background: var(--wrm-primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: .4rem .8rem;
  font-size: .74rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
  font-family: var(--wrm-font);
  white-space: nowrap;
  flex-shrink: 0;
}
.wrm-add-btn:hover {
  background: var(--wrm-primary-d);
  transform: scale(1.05);
  box-shadow: 0 3px 10px rgba(37,211,102,.25);
}
.wrm-add-btn svg {
  width: 15px;
  height: 15px;
}
.wrm-item-out {
  font-size: .7rem;
  color: var(--wrm-muted);
  font-style: italic;
}

/* ── Modal producto ──────────────────────────────────── */
.wrm-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
  animation: fadeIn .2s ease;
}
@media(min-width:540px){ .wrm-modal-overlay { align-items: center; } }
.wrm-modal-box {
  background: #fff;
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 500px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  animation: slideUp .3s cubic-bezier(.4,0,.2,1);
}
@media(min-width:540px){ .wrm-modal-box { border-radius: 20px; max-height: 90vh; } }
.wrm-modal-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0,0,0,.08);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 10;
}
.wrm-modal-close:hover { background: #e5e7eb; }

/* Cabecera: imagen izq + info der */
.wrm-modal-header {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1.25rem 0;
  flex-shrink: 0;
}
.wrm-modal-img {
  width: 120px;
  min-width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
  flex-shrink: 0;
  background: #f3f4f6;
}

.wrm-modal-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: .25rem;
  padding-right: 2rem; /* espacio botón cerrar */
}
.wrm-modal-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--wrm-dark);
  margin: 0 0 .3rem;
  line-height: 1.25;
}
.wrm-modal-desc {
  font-size: .75rem;
  color: var(--wrm-muted);
  line-height: 1.4;
  margin: 0 0 .4rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wrm-modal-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--wrm-dark);
  margin: 0;
}
/* Cuerpo scrollable del modal */
.wrm-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: .85rem 1.25rem;
  overscroll-behavior: contain;
}
.wrm-modal-section {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--wrm-muted);
  margin: .85rem 0 .45rem;
}
/* Divisor visual entre secciones */
.wrm-modal-divider {
  height: 1px;
  background: rgba(0,0,0,.06);
  margin: .6rem 0;
}

/* ── Tarjetas de variantes — iOS style ─────────────────── */
.wrm-variant-cards {
  display: flex;
  gap: .45rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: .05rem 0 .3rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.wrm-variant-cards::-webkit-scrollbar { display: none; }

.wrm-variant-card {
  flex: 0 0 auto;
  width: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;       /* centrado — elimina el espacio extra */
  padding: .55rem .45rem .5rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;           /* iOS rounded */
  background: #f9fafb;
  cursor: pointer;
  transition: border-color .15s ease,
              background .15s ease,
              box-shadow .15s ease,
              transform .12s ease;
  text-align: center;
  scroll-snap-align: start;
  gap: .08rem;                   /* gap mínimo — todo junto */
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

/* Nombre: gris discreto — texto auxiliar */
.wrm-variant-card .vc-name {
  font-size: .68rem;
  font-weight: 600;
  color: #9ca3af;
  line-height: 1.1;
  letter-spacing: -.01em;
}

/* Precio: protagonista — negro bold */
.wrm-variant-card .vc-price {
  font-size: .88rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.05;
  letter-spacing: -.02em;
}

/* Hover sutil */
.wrm-variant-card:hover {
  border-color: #d1d5db;
  background: #f3f4f6;
  transform: translateY(-1px);
}

/* Press / tap — micro-bounce iOS */
.wrm-variant-card:active {
  transform: scale(.95);
  transition-duration: .08s;
}

/* ── Estado seleccionado ────────────── */
.wrm-variant-card.selected {
  border-color: #22c55e;
  border-width: 2px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(34,197,94,.18),
              0 0 0 1px rgba(34,197,94,.08);
  transform: translateY(-1px);
}

/* Checkmark badge — esquina superior derecha */
.wrm-variant-card.selected::after {
  content: '✓';
  position: absolute;
  top: .22rem;
  right: .25rem;
  width: 13px;
  height: 13px;
  background: #22c55e;
  border-radius: 50%;
  font-size: .48rem;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 13px;
}

/* Nombre y precio cuando está seleccionado */
.wrm-variant-card.selected .vc-name  { color: #16a34a; }
.wrm-variant-card.selected .vc-price { color: #111827; }

/* Compatibilidad — chips (no activas) */
.wrm-variant-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.wrm-variant-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .42rem .75rem; border: 1.5px solid var(--wrm-border); border-radius: 999px;
  background: #fff; cursor: pointer; transition: all .18s; font-size: .8rem;
  font-family: var(--wrm-font); white-space: nowrap; color: var(--wrm-text);
}
.wrm-variant-chip.selected { border-color: var(--wrm-primary); background: var(--wrm-primary); color: #fff; }

/* ── Extras — iOS style ─────────────────────────────── */
.wrm-extra-list { display: flex; flex-direction: column; gap: .45rem; }

.wrm-extra-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .65rem .85rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;           /* iOS rounded */
  background: #f9fafb;
  cursor: pointer;
  transition: border-color .15s ease,
              background .15s ease,
              box-shadow .15s ease,
              transform .12s ease;
  font-size: .85rem;
  -webkit-tap-highlight-color: transparent;
}
.wrm-extra-item:hover {
  border-color: #d1d5db;
  background: #f3f4f6;
  transform: translateY(-1px);
}
.wrm-extra-item:active {
  transform: scale(.98);
}
.wrm-extra-item.selected {
  border-color: #22c55e;
  background: #fff;
  box-shadow: 0 1px 8px rgba(34,197,94,.12);
  transform: translateY(-1px);
}
.wrm-extra-item .e-name {
  font-weight: 600;
  color: #374151;
}
.wrm-extra-item.selected .e-name {
  color: #111827;
}
.wrm-extra-item .e-price {
  color: #10b981;
  font-weight: 800;
  font-size: .82rem;
}
/* Estilo nativo agrandado para el checkbox */
.wrm-extra-item input[type=checkbox] {
  accent-color: #22c55e;
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin: 0;
}

.wrm-modal-qty { display: flex; align-items: center; gap: .75rem; margin: .5rem 0 .75rem; }
.wrm-qty-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--wrm-border);
  background: #fff; font-size: 1.1rem; cursor: pointer; display: flex; align-items: center;
  justify-content: center; transition: all .2s; color: var(--wrm-dark);
}
.wrm-qty-btn:hover { border-color: var(--wrm-primary); color: var(--wrm-primary); }
.wrm-qty-val { font-size: 1.1rem; font-weight: 700; min-width: 24px; text-align: center; }

.wrm-modal-notes textarea {
  width: 100%; border: 1.5px solid var(--wrm-border); border-radius: 10px;
  padding: .6rem .8rem; font-size: .82rem; font-family: var(--wrm-font);
  resize: none; min-height: 60px; transition: border-color .2s; box-sizing: border-box;
}
.wrm-modal-notes textarea:focus { outline: none; border-color: var(--wrm-primary); }

/* Botón sticky flotante en la parte inferior del modal */
.wrm-modal-sticky-footer {
  flex-shrink: 0;
  padding: .75rem 1.25rem max(1rem, env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 -4px 16px rgba(0,0,0,.06);
}

.wrm-modal-add-btn {
  width: 100%; padding: .85rem; border: none; border-radius: 12px;
  background: var(--wrm-primary); color: #fff; font-size: .95rem; font-weight: 800;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  gap: .5rem; transition: all .25s; font-family: var(--wrm-font);
  box-shadow: 0 4px 14px rgba(37,211,102,.35);
}
.wrm-modal-add-btn:hover { background: var(--wrm-primary-d); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(37,211,102,.4); }

/* ── No results ───────────────────────────────────────── */
.wrm-no-results {
  text-align: center; padding: 3rem 1rem; color: var(--wrm-muted); font-size: .95rem;
}
.wrm-no-results p { font-size: 1.5rem; margin-bottom: .5rem; }

/* ── Responsive Móvil: Modal compacto (< 540px) ────────────
   Imagen 90px a la izquierda, descripción completa a la derecha,
   cuerpo scrollable en el centro, botón sticky siempre visible.
──────────────────────────────────────────────── */
@media (max-width: 539px) {

  /* Overlay: panel desde el fondo, sin padding lateral */
  .wrm-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  /* Panel: hoja desde abajo, bordes redondeados arriba */
  .wrm-modal-box {
    border-radius: 22px 22px 0 0;
    max-height: 92vh;
  }

  /* Cabecera: imagen compacta izq + info der, SIN card-lift
     para que el flex column del modal funcione correctamente */
  .wrm-modal-header {
    flex-direction: row;
    align-items: flex-start;
    gap: .85rem;
    padding: 1rem 1rem 0;
    position: relative;
  }

  /* Imagen más grande en móvil pero compacta (no hero) */
  .wrm-modal-img {
    width: 90px;
    min-width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
  }

  /* Info: muestra descripción completa, sin line-clamp */
  .wrm-modal-info {
    flex: 1;
    min-width: 0;
    padding-top: 0;
    padding-right: 2.5rem;  /* espacio botón × */
    justify-content: flex-start;
    gap: .2rem;
  }

  .wrm-modal-title {
    font-size: .95rem;
    margin-bottom: .2rem;
  }

  /* Descripción SIN clamp, completamente visible */
  .wrm-modal-desc {
    font-size: .74rem;
    line-height: 1.45;
    margin-bottom: .3rem;
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
    max-height: none;
  }

  .wrm-modal-price {
    font-size: 1.2rem;
  }

  /* Cuerpo: menos padding en móvil */
  .wrm-modal-body {
    padding: .55rem 1rem;
  }

  /* Tarjetas de variante: un poco más anchas en móvil */
  .wrm-variant-card {
    width: 82px;
    min-height: 66px;
  }

  /* Footer sticky: padding generoso para zona del pulgar */
  .wrm-modal-sticky-footer {
    padding: .8rem 1rem max(1rem, env(safe-area-inset-bottom));
  }

  .wrm-modal-add-btn {
    padding: .9rem;
    font-size: .95rem;
    border-radius: 12px;
  }
}

/* ── Animaciones ─────────────────────────────────────── */
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes slideUp { from{transform:translateY(40px);opacity:0} to{transform:translateY(0);opacity:1} }
@keyframes popIn { 0%{transform:scale(.7);opacity:0} 80%{transform:scale(1.1)} 100%{transform:scale(1);opacity:1} }
