/* ==========================================================
   SELECTAS · Privilegios como "tarjeta de socio" (2026-11-01)
   Reemplaza el diseño anterior de vale/cupón (respaldo: css/vale.css.bak-2026-11-01).
   Formato tarjeta de crédito: marca arriba, beneficio al centro, el local abajo.
   Selectores con "html body .aliados" porque los estilos base viven dentro del body.
   ========================================================== */

html body .aliados {
  background: #1a0a12;
  border-top: 1px solid rgba(226,195,145,.16);
  border-bottom: 1px solid rgba(226,195,145,.16);
}
html body .aliados .aliados-tag { border: 0; padding: 0; color: rgba(226,195,145,.7); letter-spacing: .32em; }

/* ---------- la tarjeta ---------- */
html body .aliados .al-g.al-socio {
  display: flex;
  flex: 0 0 min(330px, 86vw);
  height: auto;
  aspect-ratio: 1.586 / 1;
  padding: 1px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e2c391 0%, #7d5f3e 32%, #e8cd9c 58%, #8a6a44 100%);
  animation: none;
  box-shadow: 0 18px 40px rgba(0,0,0,.5);
}
html body .aliados .al-g.al-socio:hover { transform: translateY(-3px); box-shadow: 0 26px 54px rgba(0,0,0,.6); }

html body .aliados .al-socio .al-g-in {
  position: relative;
  flex: 1; height: auto;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px 20px 16px;
  border-radius: 13px;
  overflow: hidden;
  background: radial-gradient(130% 150% at 88% 0%, #5a2a40 0%, #3a1a2a 42%, #1d0b15 100%);
}
/* textura fina tipo tarjeta (guilloché) */
html body .aliados .al-socio .al-g-in::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-radial-gradient(circle at 112% -12%, rgba(226,195,145,.06) 0 1px, transparent 1px 10px);
}
/* reflejo diagonal */
html body .aliados .al-s-brillo {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 28%, rgba(255,240,215,.09) 44%, transparent 60%);
}

/* foto aprobada del local: de fondo, muy tenue */
html body .aliados .al-socio .al-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; filter: saturate(.6) brightness(.85); }
html body .aliados .al-socio .al-velo { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29,11,21,.45), rgba(29,11,21,.88)); mix-blend-mode: normal; }

html body .aliados .al-s-top,
html body .aliados .al-s-mid,
html body .aliados .al-s-bot { position: relative; z-index: 2; }

/* arriba: marca + logo del local */
html body .aliados .al-s-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
html body .aliados .al-s-k {
  padding-top: 4px;
  font-size: 9px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase;
  color: #e2c391;
}
html body .aliados .al-socio .al-s-top .al-logo { flex: 0 0 46px; width: 46px; height: 46px; border-width: 1px; }

/* centro: el beneficio */
html body .aliados .al-s-mid {
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 500;
  font-size: 30px; line-height: 1.05; color: #faf0e8; text-align: left;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  text-wrap: balance;
}
html body .aliados .al-s-mid.al-s-suave { font-size: 22px; color: rgba(250,240,232,.85); }

/* abajo: el local y la ciudad */
html body .aliados .al-s-bot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
html body .aliados .al-socio .al-txt { gap: 2px; }
html body .aliados .al-socio .al-rubro { font-size: 8.5px; letter-spacing: .28em; }
html body .aliados .al-socio .al-nombre { font-size: 20px; -webkit-line-clamp: 1; }
html body .aliados .al-socio .al-ciu { flex: none; font-size: 9px; letter-spacing: .16em; color: rgba(250,240,232,.7); }

@media (min-width: 900px) {
  html body .aliados .al-g.al-socio { flex: 0 0 calc((100% - 40px) / 3); height: auto; }
  html body .aliados .al-s-mid { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html body .aliados .al-g.al-socio:hover { transform: none; }
}
