/* =============================================================
   components.css — Lujo Minimalista Claro · Massimo Dutti
   Tarjetas blancas · Imagen en gris estudio · Borde dorado en hover
   ============================================================= */

/* ── SKELETON LOADER ────────────────────────────────────────── */

@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position:  400px 0; }
}

@keyframes shimmer-sweep {
  0%   { left: -80%; }
  100% { left: 130%; }
}

.prod-card.skeleton {
  pointer-events: none;
  box-shadow: none;
  border: 1px solid #EBEBEB;
  background: #FFFFFF;
}

.sk-img {
  height: 160px;
  border-radius: 0;
  background: linear-gradient(90deg, #ECECEC 25%, #F5F5F5 50%, #ECECEC 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite;
}

.sk-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.sk-line {
  height: 12px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ECECEC 25%, #F5F5F5 50%, #ECECEC 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite;
}

.sk-short { width: 45%; }
.sk-med   { width: 70%; }
.sk-price { height: 18px; width: 55%; margin-top: .4rem; }

.loading-txt {
  color: rgba(26,26,26,0.35);
  font-style: italic;
  font-size: .9rem;
}

/* ── MENÚ DE USUARIO (NAV) ──────────────────────────────────── */

.user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #f0e6ff;
  border: 1px solid rgba(102,51,170,0.28);
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.50), 0 0 0 1px rgba(102,51,170,0.10);
  min-width: 210px;
  z-index: 200;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}

.user-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.um-header {
  padding: .9rem 1rem;
  background: rgba(102,51,170,0.08);
  border-bottom: 1px solid rgba(102,51,170,0.18);
}

.um-name {
  font-weight: 600;
  font-size: .9rem;
  color: #2d1155;
}

.um-email {
  font-size: .78rem;
  color: rgba(61,31,110,0.70);
  margin-top: .15rem;
}

.um-divider {
  height: 1px;
  background: rgba(102,51,170,0.15);
}

.um-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  width: 100%;
  padding: .75rem 1rem;
  background: none;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  color: rgba(61,31,110,0.65);
  cursor: pointer;
  text-align: left;
  transition: background .15s, color .15s;
}

.um-item:hover {
  background: rgba(102,51,170,0.10);
  color: #2d1155;
}

a.um-item { text-decoration: none; }

.um-item svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  opacity: 0.45;
  transition: opacity .15s;
}

.um-item:hover svg { opacity: 0.80; }

.nav-actions { position: relative; }

/* ── GRID DE PRODUCTOS ──────────────────────────────────────── */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Mensaje "sin resultados" */
.no-results {
  grid-column: 1 / -1;
  padding: 56px 0;
  text-align: center;
  color: rgba(61,31,110,0.40);
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
}
.no-results button {
  color: #E8A020;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
}

/* ── TARJETA DE PRODUCTO ────────────────────────────────────── */
.prod-card {
  background: #f0e6ff;
  border: 1px solid rgba(102,51,170,0.22);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.prod-card:hover {
  border-color: #F5C430;
  box-shadow: 0 6px 32px rgba(102,51,170,0.25), 0 0 0 1px rgba(245,196,48,0.15);
  transform: translateY(-3px);
}

/* Área de imagen — gris estudio fotográfico */
.card-img-area {
  position: relative;
  aspect-ratio: 4 / 4.5;
  overflow: hidden;
  background: #e8d6ff;
  display: flex; align-items: center; justify-content: center;
}

/* Overlay sutil en hover */
.card-img-area::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(245,196,48,0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--e);
  pointer-events: none;
}
.prod-card:hover .card-img-area::after { opacity: 1; }

.card-emoji {
  font-size: 80px;
  user-select: none;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.10));
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.prod-card:hover .card-emoji { transform: scale(1.06) translateY(-3px); }

/* Foto real de producto */
.card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.prod-card:hover .card-photo { transform: scale(1.03); }

/* Badge */
.card-badge {
  position: absolute;
  top: 10px; left: 10px;
  padding: 3px 9px;
  border-radius: 2px;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.8px;
  text-transform: uppercase;
}
.b-hot { background: var(--red); color: #fff; }
.b-new { background: #6633aa; color: #fff; }
.b-off { background: #F5C430; color: #111111; }

/* Botón de favoritos */
.wish-btn {
  position: absolute; top: 8px; right: 8px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(13,5,32,0.80);
  border: 1px solid rgba(102,51,170,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  backdrop-filter: blur(4px);
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  opacity: 0;
  transition: opacity var(--e), transform var(--e-spring), background var(--e);
}
.prod-card:hover .wish-btn, .wish-btn.active { opacity: 1; }
.wish-btn:hover  { background: rgba(13,5,32,0.95); transform: scale(1.12); }
.wish-btn.active { background: rgba(245,196,48,0.15); border-color: rgba(245,196,48,0.40); }

/* Franja de envío gratis */
.free-strip {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(245,196,48,0.06);
  border-top: 1px solid rgba(245,196,48,0.20);
  padding: 5px 12px; text-align: center;
  font-size: 11px; font-weight: 600; color: #E8A020;
  transform: translateY(100%);
  transition: transform var(--e);
}
.prod-card:hover .free-strip { transform: translateY(0); }

/* Tag FOMO */
.fomo-tag {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(245,196,48,0.05);
  border-top: 1px solid rgba(245,196,48,0.16);
  padding: 4px 10px; text-align: center;
  font-size: 10.5px; font-weight: 500; color: #E8A020;
}

/* ── CUERPO DE LA TARJETA ───────────────────────────────────── */
.card-body {
  padding: 16px 16px 8px;
  flex: 1;
  display: flex; flex-direction: column; gap: 5px;
}

.card-cat {
  font-size: 9.5px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: #92640A;
  font-family: 'Poppins', sans-serif;
}

.card-name {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-size: 16px; font-weight: 600;
  color: #2d1155; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Estrellas y reseñas */
.card-stars   { display: flex; align-items: center; gap: 6px; }
.stars        { display: flex; gap: 1px; }
.star         { font-size: 11px; color: #F5C430; }
.star.e       { color: rgba(102,51,170,0.25); }
.rev-n        { font-size: 11px; color: rgba(61,31,110,0.65); font-family: 'Poppins', sans-serif; }
.seller-chip  {
  font-size: 10px; font-weight: 600; color: #E8A020;
  background: rgba(245,196,48,0.08); border: 1px solid rgba(245,196,48,0.22);
  padding: 1px 7px; border-radius: 2px;
  font-family: 'Poppins', sans-serif;
}

/* Precios */
.card-price-area { margin-top: 6px; }
.price-orig      { font-size: 12px; color: rgba(61,31,110,0.62); text-decoration: line-through; line-height: 1; font-family: 'Poppins', sans-serif; }
.price-row       { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-main      { font-size: 22px; font-weight: 700; color: #2d1155; line-height: 1.1; font-family: 'Poppins', sans-serif; }
.price-disc {
  font-size: 12px; font-weight: 600; color: #E8A020;
  background: rgba(245,196,48,0.08); padding: 2px 7px; border-radius: 2px;
  font-family: 'Poppins', sans-serif;
}
.price-install        { font-size: 11.5px; color: rgba(61,31,110,0.68); margin-top: 3px; font-family: 'Poppins', sans-serif; }
.price-install strong { color: #6633aa; font-weight: 600; }

.card-ship       { font-size: 12px; font-weight: 600; color: #F5C430; margin-top: 5px; display: flex; align-items: center; gap: 5px; font-family: 'Poppins', sans-serif; }
.card-ship-paid  { color: rgba(61,31,110,0.62); font-weight: 400; }
.card-arrive     { font-size: 11px; color: rgba(61,31,110,0.62); font-family: 'Poppins', sans-serif; }

/* ── BOTÓN AÑADIR AL CARRITO ────────────────────────────────── */
.card-btn {
  position: relative;
  overflow: hidden;
  margin: 14px 16px 16px;
  padding: 12px;
  background: #2D1555;
  color: #f0e6ff;
  border: 1px solid rgba(102,51,170,0.35);
  border-radius: 2px;
  font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Poppins', sans-serif;
  transition: background var(--e), color var(--e), border-color var(--e), box-shadow var(--e), transform var(--e);
}

/* Shimmer sweep */
.card-btn::after {
  content: '';
  position: absolute;
  top: -50%; left: -80%;
  width: 40%; height: 200%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.14), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.card-btn:hover {
  background: #F5C430;
  color: #0D0520;
  border-color: #F5C430;
  box-shadow: 0 4px 18px rgba(245,196,48,0.35);
}
.card-btn:hover::after { left: 130%; }

.card-btn:active { transform: scale(0.98); }

.card-btn.added {
  background: rgba(245,196,48,0.12);
  color: #F5C430;
  border-color: rgba(245,196,48,0.35);
}

.card-btn svg { width: 14px; height: 14px; }

/* ── AGOTADO ─────────────────────────────────────────────────── */
.card-agotado-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(220,38,38,0.88);
  display: flex; align-items: center; justify-content: center;
  padding: 7px 0; z-index: 2; pointer-events: none;
}
.card-agotado-overlay::after {
  content: 'AGOTADO';
  font-family: 'Poppins', sans-serif;
  font-size: .72rem; font-weight: 800; letter-spacing: .18em; color: #fff;
}
.prod-agotado .card-img-area .card-photo,
.prod-agotado .card-img-area .card-emoji { filter: grayscale(60%) brightness(0.85); }
.prod-agotado .card-name        { opacity: .55; }
.prod-agotado .card-price-area  { opacity: .45; }

/* ── PRODUCT DETAIL MODAL ───────────────────────────────────── */

.pdm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.50);
  z-index: 850;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
  backdrop-filter: blur(2px);
}
.pdm-overlay.open { opacity: 1; pointer-events: auto; }

.pdm-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  z-index: 851;
  background: #f0e6ff;
  border: 1px solid rgba(102,51,170,0.30);
  border-radius: 2px;
  width: min(860px, 94vw);
  max-height: 88vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease, transform .28s cubic-bezier(.22,.68,0,1.2);
}
.pdm-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.pdm-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  border: none;
  background: rgba(26,26,26,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1A1A1A;
  z-index: 10;
  transition: background .2s;
}
.pdm-close:hover { background: rgba(26,26,26,0.16); }
.pdm-close svg { width: 16px; height: 16px; }

.pdm-img-col {
  background: #e8d6ff;
  position: relative;
  overflow: hidden;
  min-height: 340px;
}
.pdm-img-area {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdm-img-area .card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.pdm-img-area .card-emoji {
  font-size: clamp(8rem, 18vw, 14rem);
  line-height: 1;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.10));
}
.pdm-badge-row { position: absolute; top: 1.2rem; left: 1.2rem; z-index: 1; }

.pdm-info-col {
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  overflow-y: auto;
  background: #f0e6ff;
}

.pdm-cat {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #92640A;
  font-family: 'Poppins', sans-serif;
}

.pdm-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #2d1155;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin: 0;
}

.pdm-variant { font-size: .82rem; color: rgba(61,31,110,0.75); font-family: 'Poppins', sans-serif; font-weight: 300; }
.pdm-variant.hidden { display: none; }

.pdm-stars-row { display: flex; align-items: center; gap: .6rem; }
.pdm-reviews { font-size: .78rem; color: rgba(61,31,110,0.70); font-family: 'Poppins', sans-serif; }

.pdm-price-area {
  border-top: 1px solid rgba(102,51,170,0.20);
  border-bottom: 1px solid rgba(102,51,170,0.20);
  padding: .85rem 0;
}
.pdm-price-orig { font-size: .86rem; color: rgba(61,31,110,0.62); text-decoration: line-through; font-family: 'Poppins', sans-serif; display: block; }
.pdm-price-main { font-family: 'Poppins', sans-serif; font-size: 1.80rem; font-weight: 700; color: #2d1155; }
.pdm-price-disc {
  display: inline-block;
  margin-left: .6rem;
  background: rgba(245,196,48,0.12);
  color: #92640A;
  border: 1px solid rgba(245,196,48,0.28);
  border-radius: 2px;
  font-size: .70rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .18rem .55rem;
  font-family: 'Poppins', sans-serif;
  vertical-align: middle;
}
.pdm-install { font-size: .78rem; color: rgba(61,31,110,0.70); margin-top: .3rem; font-family: 'Poppins', sans-serif; }

.pdm-desc { font-size: .875rem; line-height: 1.72; color: rgba(61,31,110,0.65); font-family: 'Poppins', sans-serif; font-weight: 300; margin: 0; }
.pdm-desc.hidden { display: none; }

.pdm-fomo {
  font-size: .78rem;
  font-weight: 600;
  color: #92400E;
  background: rgba(217,119,6,0.07);
  border: 1px solid rgba(217,119,6,0.18);
  border-radius: 2px;
  padding: .4rem .75rem;
  font-family: 'Poppins', sans-serif;
}
.pdm-fomo.hidden { display: none; }

.pdm-ship-row { display: flex; align-items: center; gap: .5rem; font-size: .80rem; color: rgba(61,31,110,0.72); font-family: 'Poppins', sans-serif; }
.pdm-ship-row svg { width: 16px; height: 16px; flex-shrink: 0; stroke: rgba(61,31,110,0.55); }
.pdm-ship-row.pdm-ship-free { color: #065F46; }
.pdm-ship-row.pdm-ship-free svg { stroke: #065F46; }

.pdm-actions { display: flex; align-items: center; gap: .85rem; flex-shrink: 0; }

.pdm-qty-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #E4E1DC;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}
.pdm-qty-b {
  width: 36px; height: 44px;
  border: none;
  background: #F8F7F5;
  cursor: pointer;
  font-size: 1.1rem;
  color: #1A1A1A;
  transition: background .15s;
  display: flex; align-items: center; justify-content: center;
}
.pdm-qty-b:hover { background: #EBEBEB; }
.pdm-qty-n {
  min-width: 38px;
  text-align: center;
  font-size: .90rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: #1A1A1A;
  border-left: 1px solid #E4E1DC;
  border-right: 1px solid #E4E1DC;
  line-height: 44px;
}

.pdm-add-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  height: 44px;
  background: #6633aa;
  color: #FFFFFF;
  border: none;
  border-radius: 2px;
  font-family: 'Poppins', sans-serif;
  font-size: .80rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background .25s, color .25s;
}
.pdm-add-btn::after {
  content: '';
  position: absolute; top: -50%; left: -80%;
  width: 40%; height: 200%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.14), transparent);
  transform: skewX(-20deg); transition: left 0.55s ease;
  pointer-events: none;
}
.pdm-add-btn:hover { background: #F5C430; color: #111111; }
.pdm-add-btn:hover::after { left: 130%; }
.pdm-add-btn svg { width: 14px; height: 14px; }

.pdm-wish-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  padding: .72rem 1rem;
  flex-shrink: 0;
  border: 1px solid rgba(102,51,170,0.28);
  border-radius: 2px;
  background: transparent;
  font-family: 'Poppins', sans-serif;
  font-size: .80rem;
  font-weight: 500;
  color: rgba(61,31,110,0.60);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
  letter-spacing: .03em;
}
.pdm-wish-btn svg { width: 15px; height: 15px; transition: fill .2s; }
.pdm-wish-btn:hover { border-color: #6633aa; color: #6633aa; }
.pdm-wish-btn.active { border-color: #F5C430; color: #F5C430; background: rgba(245,196,48,0.08); }
.pdm-wish-btn.active svg { fill: currentColor; }

/* ── STOCK EN MODAL ─────────────────────────────────────────── */
.pdm-stock { margin: 6px 0 10px; font-family: 'Poppins', sans-serif; font-size: .80rem; font-weight: 600; }
.pdm-stock-ok  { color: #16a34a; }
.pdm-stock-low { color: #d97706; }
.pdm-stock-out { color: #dc2626; font-size: .85rem; letter-spacing: .01em; }
.pdm-actions-hidden { display: none !important; }

/* ── TABS DEL MODAL ─────────────────────────────────────────── */

.pdm-tabs {
  display: flex;
  border-bottom: 1px solid #EBEBEB;
  flex-shrink: 0;
  gap: 1.5rem;
}
.pdm-tab {
  padding: .55rem 0;
  background: none; border: none;
  font-family: 'Poppins', sans-serif;
  font-size: .72rem; font-weight: 600;
  color: rgba(61,31,110,0.65);
  letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.pdm-tab.active { color: #1A1A1A; border-bottom-color: #F5C430; }
.pdm-tab-panel  { display: flex; flex-direction: column; gap: .75rem; }
.pdm-tab-panel.hidden { display: none; }

/* ── BARRA DE CALIFICACIÓN ──────────────────────────────────── */

.rb-summary {
  display: flex; align-items: center; gap: 1.2rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid #EBEBEB;
  margin-bottom: .75rem;
}
.rb-big-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem; font-weight: 700; color: #1A1A1A; line-height: 1;
}
.rb-big-stars { display: flex; gap: 1px; margin-top: 4px; }
.rb-total { font-size: .70rem; color: rgba(61,31,110,0.65); font-family: 'Poppins', sans-serif; margin-top: 4px; }
.rb-bars { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.rb-row  { display: flex; align-items: center; gap: 7px; }
.rb-label { font-size: .68rem; color: rgba(61,31,110,0.70); font-family: 'Poppins', sans-serif; width: 10px; text-align: right; flex-shrink: 0; }
.rb-track { flex: 1; height: 5px; background: rgba(102,51,170,0.18); border-radius: 99px; overflow: hidden; }
.rb-fill  { height: 100%; background: #F5C430; border-radius: 99px; transition: width .6s ease; }
.rb-pct   { font-size: .65rem; color: rgba(61,31,110,0.62); font-family: 'Poppins', sans-serif; width: 26px; text-align: right; flex-shrink: 0; }

/* ── TARJETAS DE RESEÑA ─────────────────────────────────────── */

.rev-list { display: flex; flex-direction: column; gap: .7rem; }
.rev-card {
  border: 1px solid #EBEBEB; border-radius: 2px;
  padding: .85rem 1rem; background: #FBFBFA;
}
.rev-head  { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: .45rem; gap: .5rem; }
.rev-user  { display: flex; align-items: center; gap: .6rem; }
.rev-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: #1A1A1A; color: #F5C430;
  display: flex; align-items: center; justify-content: center;
  font-size: .68rem; font-weight: 700; font-family: 'Poppins', sans-serif;
  flex-shrink: 0;
}
.rev-name  { font-size: .78rem; font-weight: 600; color: #2d1155; font-family: 'Poppins', sans-serif; }
.rev-date  { font-size: .67rem; color: rgba(61,31,110,0.58); font-family: 'Poppins', sans-serif; }
.rev-stars { display: flex; gap: 1px; flex-shrink: 0; }
.rev-stars .star { font-size: .68rem; }
.rev-titulo { font-size: .80rem; font-weight: 600; color: #1A1A1A; font-family: 'Poppins', sans-serif; margin-bottom: .2rem; }
.rev-body   { font-size: .78rem; color: rgba(61,31,110,0.75); line-height: 1.65; font-family: 'Poppins', sans-serif; font-weight: 300; }
.rev-verified { font-size: .63rem; color: #065F46; font-family: 'Poppins', sans-serif; font-weight: 600; margin-top: .35rem; }
.rev-empty  { text-align: center; padding: 1.2rem; font-size: .78rem; color: rgba(61,31,110,0.62); font-family: 'Poppins', sans-serif; }

/* ── FORMULARIO DE RESEÑA ───────────────────────────────────── */

.rev-form { border: 1px dashed #E4E1DC; border-radius: 2px; padding: .85rem 1rem; }
.rev-form-title {
  font-size: .70rem; font-weight: 700; letter-spacing: .10em; text-transform: uppercase;
  color: rgba(61,31,110,0.68); margin-bottom: .65rem; font-family: 'Poppins', sans-serif;
}
.rev-star-pick { display: flex; gap: 3px; margin-bottom: .65rem; }
.rev-star-pick span {
  font-size: 1.55rem; cursor: pointer; color: #DADADA;
  transition: transform .15s, color .1s; line-height: 1;
  user-select: none;
}
.rev-star-pick span.on    { color: #F5C430; }
.rev-star-pick span:hover { transform: scale(1.25); }
.rev-input {
  width: 100%; padding: .55rem .7rem;
  border: 1px solid #E4E1DC; border-radius: 2px;
  font-size: .80rem; color: #1A1A1A; background: #fff;
  font-family: 'Poppins', sans-serif; outline: none; box-sizing: border-box;
  transition: border-color .2s, box-shadow .2s; margin-bottom: .4rem; display: block;
}
.rev-input:focus        { border-color: #F5C430; box-shadow: 0 0 0 3px rgba(245,196,48,0.08); }
.rev-input::placeholder { color: rgba(26,26,26,0.28); }
.rev-textarea           { resize: vertical; min-height: 68px; }
.rev-submit {
  width: 100%; padding: .65rem;
  background: #1A1A1A; color: #fff; border: none; border-radius: 2px;
  font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  font-family: 'Poppins', sans-serif; cursor: pointer; transition: background .2s, color .2s;
}
.rev-submit:hover    { background: #F5C430; color: #111; }
.rev-submit:disabled { opacity: .4; cursor: default; }
.rev-login-note {
  font-size: .78rem; color: rgba(61,31,110,0.70); text-align: center;
  padding: .75rem; font-family: 'Poppins', sans-serif;
}
.rev-login-note a { color: #E8A020; font-weight: 600; text-decoration: none; }
.rev-login-note a:hover { text-decoration: underline; }

/* Mobile: bottom sheet */
@media (max-width: 680px) {
  .pdm-modal {
    top: auto;
    bottom: 0;
    left: 0;
    transform: translateY(100%);
    width: 100%;
    border-radius: 12px 12px 0 0;
    grid-template-columns: 1fr;
    max-height: 92vh;
  }
  .pdm-modal.open { transform: translateY(0); }
  .pdm-img-col { min-height: 220px; }
  .pdm-img-area .card-emoji { font-size: clamp(6rem, 30vw, 9rem); }
  .pdm-info-col { padding: 1.5rem 1.5rem 2.5rem; }
  .pdm-name { font-size: 1.45rem; }
  .pdm-price-main { font-size: 1.55rem; }
}
