/* ==========================================================================
   sections/offers.css
   Sección OFERTAS: carrusel 3D de tarjetas que giran.
   ========================================================================== */
.offers { position: relative; height: 510px; perspective: 1400px; transform-style: preserve-3d; }
.offer { position: absolute; left: 50%; top: 0; width: min(320px, 78vw); height: 480px; margin-left: calc(min(320px, 78vw) / -2); transition: transform .9s var(--ease), opacity .6s; cursor: pointer; transform-style: preserve-3d; }
.offer__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.offer.flipped .offer__inner { transform: rotateY(180deg); }
.offer__face { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }
.offer.active .offer__face { border-color: rgba(227,38,43,.6); }
.offer__front { background: #111; }
.offer__front img { width: 100%; height: 100%; object-fit: cover; }
/* Barra inferior: ya no tapa el precio del flyer, el precio va en la cara de atrás */
.offer__bar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; background: rgba(8,8,11,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.offer__bar b { font-size: .86rem; line-height: 1.2; }
.offer:not(.active) .offer__flip { opacity: .5; }
.offer__flip { flex: none; display: inline-flex; align-items: center; gap: .4em; font-size: .76rem; font-weight: 700; padding: .45em .8em; border-radius: 999px; background: var(--red); }
.offer.active .offer__flip { animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(-4px); } }
.offer__back { transform: rotateY(180deg); padding: 26px; display: flex; flex-direction: column; background: radial-gradient(circle at 100% 0%, rgba(227,38,43,.35), transparent 50%), linear-gradient(160deg, #1a1a22, #0d0d12); }
.offer__back h3 { font-family: var(--font-d); font-size: 1.3rem; line-height: 1.15; margin: 0 0 10px; }
.offer__price { font-family: var(--font-d); font-size: 2rem; color: var(--red-2); margin-bottom: 10px; line-height: 1.1; }
.offer__price small { font-family: var(--font-b); font-size: .9rem; color: var(--muted); }
.offer__date { display: flex; gap: .5em; align-items: flex-start; font-size: .82rem; color: var(--muted); margin: auto 0 14px; }
.offer__date .ico { color: var(--red-2); margin-top: 3px; }
.offers__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 14px; }
.offers__dots { display: flex; gap: 8px; }
.offers__dots button { width: 9px; height: 9px; border-radius: 9px; background: var(--line-2); transition: all .4s var(--ease); }
.offers__dots button.on { width: 30px; background: var(--red); }
.ticks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.ticks li { display: flex; gap: .6em; align-items: flex-start; font-size: .93rem; }
.ticks .ico { color: var(--red-2); margin-top: 4px; flex: none; }
