/* Promos (panel Marketing › Promos «Sitio web»). Loaded only on pages with a promo (worker.js putPromos) and on /promociones. */
.promo-bar { background: var(--ink); color: var(--paper); font-size: 14px; line-height: 1.4; padding: 10px 48px 10px max(var(--gutter), env(safe-area-inset-left, 0px)); position: relative; text-align: center; }
.promo-bar p { margin: 0; }
.promo-bar b { color: #e6c995; font-weight: 500; }
.promo-bar a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.promo-x { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: none; color: var(--paper); font-size: 22px; cursor: pointer; }
.promo-card { background: var(--paper-2); border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; margin-top: 16px; }
/* Promo images are designed cards with text: show them whole, never crop. */
.promo-card > .promo-media { width: 100%; height: 100%; max-height: 640px; aspect-ratio: 4 / 5; object-fit: contain; background: var(--paper-2); display: block; }
.promo-body { padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.promo-body h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; margin: 0; }
.promo-body p { margin: 0; color: var(--stone); }
.promo-until { font-size: 14px; color: var(--accent) !important; }
.promo-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.promo-card:not(:has(.promo-media)) { grid-template-columns: 1fr; }
@media (max-width: 760px) { .promo-card { grid-template-columns: 1fr; } .promo-card > .promo-media { height: auto; max-height: 70dvh; } .promo-acts { flex-direction: column; align-self: stretch; } }
.promo-list { margin: 24px 0; }
.promo-list .promo-card + .promo-card { margin-top: 24px; }
.promo-empty { border: 1px dashed var(--rule); border-radius: 28px; padding: 28px; text-align: center; }
.promo-empty p { margin: 0 0 8px; }
.promo-soon { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.promo-soon li { border: 1px solid var(--rule); border-radius: 20px; padding: 14px 18px; }
.promo-soon .pill, .promo-soon li .pill { font-size: 10px; padding: 3px 10px; margin-right: 6px; }
.promo-sheet { position: fixed; inset: 0; z-index: 60; }
.promo-sheet[hidden] { display: none; }
.promo-dim { position: absolute; inset: 0; background: rgba(42, 32, 25, .4); }
.promo-panel { position: absolute; left: 0; right: 0; bottom: 0; max-width: 560px; margin: 0 auto; max-height: 92dvh; overflow: auto; background: var(--paper); border-radius: 24px 24px 0 0; padding: 10px 20px max(24px, env(safe-area-inset-bottom, 0px)); box-shadow: 0 -12px 32px rgba(0, 0, 0, .2); touch-action: none; will-change: transform; overscroll-behavior: contain; }
.promo-grab { width: 40px; height: 5px; border-radius: 3px; background: var(--rule); margin: 0 auto 14px; }
.promo-panel > .promo-media { display: block; width: auto; max-width: 100%; height: auto; max-height: 48dvh; margin: 0 auto; object-fit: contain; border-radius: 16px; }
.promo-panel h2 { font-size: 30px; line-height: 1.08; margin: 14px 0 6px; }
.promo-panel p { margin: 0 0 6px; color: var(--stone); }
.promo-panel .promo-acts { flex-direction: column; }
.promo-panel .btn { width: 100%; }
.promo-later { display: block; margin: 10px auto 0; background: none; border: 0; color: var(--stone); text-decoration: underline; font: inherit; font-size: 14px; min-height: 44px; cursor: pointer; }
.promo-panel:focus { outline: none; }
.promo-card .pill, .promo-soon .pill { display: inline-block; padding: 6px 14px; border: 1px solid var(--rule); border-radius: 999px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.promo-list a.btn { text-decoration: none; }
/* Desktop: a centered dialog, card image whole on the left, text and buttons on the right (no bottom sheet look). */
@media (min-width: 761px) {
  .promo-panel { inset: 0; margin: auto; width: min(920px, calc(100vw - 64px)); max-width: none; height: fit-content; max-height: calc(100dvh - 64px); border-radius: 28px; padding: 28px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); gap: 36px; align-items: center; box-shadow: 0 24px 64px rgba(0, 0, 0, .28); }
  .promo-grab { display: none; }
  .promo-panel > .promo-media { width: 100%; max-height: calc(100dvh - 120px); }
  .promo-panel h2 { font-size: clamp(34px, 3.4vw, 46px); margin-top: 0; }
  .promo-copy { padding-right: 8px; }
}
