/* =====================================================================
   Sancurec — PLANTILLAS DE BANNER de las promociones
   (portal del cliente final + vista previa/selector en Admin).
   Admin solo ELIGE la plantilla (destacada, oferta_limitada, promo_especial, nueva_oferta, ahorra_hoy):
   nunca escribe HTML ni CSS. Para añadir una plantilla: nueva clase aquí + entrada en
   services/promotions.js (TEMPLATES) + valor en el CHECK de la tabla promotions.
   ===================================================================== */
.pt-bn { scroll-snap-align: center; position: relative; overflow: hidden; border-radius: 22px; padding: 18px 18px 16px; color: #fff; min-height: 150px;
  display: flex; flex-direction: column; background: #0a1430; isolation: isolate; line-height: 1.35; }
.pt-bn::after { content: ''; position: absolute; inset: auto -40px -60px auto; width: 190px; height: 190px; border-radius: 50%; background: rgba(255, 255, 255, .12); z-index: -1; }
.pt-bn-kicker { align-self: flex-start; font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .2); }
.pt-bn-title { font-size: 22px; font-weight: 800; margin: 10px 0 0; letter-spacing: -.02em; line-height: 1.2; color: inherit; }
.pt-bn-body { font-size: 14.5px; opacity: .92; margin: 4px 0 0; }
.pt-bn-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pt-bn-price { display: flex; flex-direction: column; line-height: 1.15; }
.pt-bn-amount { font-size: 13px; font-weight: 700; opacity: .9; }
.pt-bn-price b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.pt-bn-price s { color: inherit; opacity: .7; font-size: 14px; }
.pt-bn-cta { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: #0a1430; text-decoration: none; font-weight: 800; font-size: 14.5px;
  padding: 10px 14px; border-radius: 12px; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .5); }
.pt-bn--destacada { background: linear-gradient(135deg, #1f3ad6 0%, #3355ff 45%, #00b4ff 100%); }
.pt-bn--oferta_limitada { background: linear-gradient(135deg, #b3261e 0%, #e5482f 50%, #ff8a3d 100%); }
.pt-bn--oferta_limitada .pt-bn-kicker::before { content: '⏱ '; }
.pt-bn--promo_especial { background: linear-gradient(135deg, #3b1a8f 0%, #6d2fd6 55%, #b44cff 100%); }
.pt-bn--promo_especial .pt-bn-kicker::before { content: '✦ '; }
.pt-bn--nueva_oferta { background: linear-gradient(135deg, #07684a 0%, #0f9f63 55%, #31c98a 100%); }
.pt-bn--ahorra_hoy { background: linear-gradient(135deg, #ffd23f 0%, #ffb800 100%); color: #3a2600; }
.pt-bn--ahorra_hoy .pt-bn-kicker { background: rgba(58, 38, 0, .12); }
.pt-bn--ahorra_hoy::after { background: rgba(255, 255, 255, .35); }
.pt-bn--ahorra_hoy .pt-bn-cta { background: #3a2600; color: #fff; }

/* Vista previa y selector de plantilla en Admin */
.bn-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.bn-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.bn-opt { position: relative; cursor: pointer; display: block; }
.bn-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bn-mini { min-height: 84px; padding: 12px; border-radius: 14px; gap: 8px; outline: 3px solid transparent; outline-offset: 2px; }
.bn-mini b { font-size: 15px; }
.bn-opt input:checked + .bn-mini { outline-color: #3355ff; }
.bn-opt input:focus-visible + .bn-mini { outline-color: #8fa2ff; }
