:root {
    --bg: #09090b;
    --surface: #141416;
    --surface-2: #1c1c20;
    --text: #f5f5f7;
    --muted: #9a9aa2;
    --primary: #e5121f;
    --primary-dark: #a50d17;
    --gold: #ffcc00;
    --secondary: #1a73e8;
    --border: rgba(255,255,255,0.1);
    --admin-bg: #f5f7fb;
    --admin-surface: #ffffff;
    --admin-surface-alt: #f8fafc;
    --admin-text: #111827;
    --admin-muted: #64748b;
    --admin-accent: var(--primary);
    --admin-accent-soft: rgba(229, 18, 31, 0.1);
    --admin-border: #e5e7eb;
    --danger: #dc3545;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    background: linear-gradient(160deg, #0a0a0c 0%, #131316 55%, #17090b 100%);
    color: var(--text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

.page-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 40px;
}

.site-header {
    background: rgba(9, 9, 11, 0.97);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: sticky;
    top: 0;
    z-index: 500;
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.topbar {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.brand {
    color: var(--text);
    text-decoration: none;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.brand span {
    color: var(--primary);
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.main-nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 9px 14px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus {
    background: rgba(255,255,255,0.08);
    color: var(--primary);
}

.nav-pick-cine {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff !important;
    font: inherit;
    cursor: pointer;
}

.nav-pick-cine:hover {
    border-color: var(--primary);
    color: var(--primary) !important;
    background: rgba(229, 18, 31, 0.08) !important;
}

.nav-pick-cine .chev {
    font-size: 0.7rem;
    opacity: 0.8;
}

.login-link {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(229, 18, 31, 0.28);
}

.user-pill {
    color: var(--muted);
    font-size: 0.9rem;
    padding: 8px 10px;
}

.hero-slider {
    position: relative;
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.hero-slide {
    position: absolute;
    inset: 0;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #fff;
    opacity: 0;
    transform: translateX(30px);
}

.hero-slide-one {
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 100%), url('https://images.unsplash.com/photo-1517602302552-471fe67acf66?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    animation: heroFade 10s infinite;
}

.hero-slide-three {
    background: linear-gradient(90deg, rgba(30,4,6,0.9) 0%, rgba(30,4,6,0.2) 100%), url('https://images.unsplash.com/photo-1516280440614-37939bbacd81?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    animation: heroFade 10s infinite 5s;
}

.hero-copy {
    max-width: 540px;
}

.eyebrow {
    display: inline-block;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-copy h2 {
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    margin: 0 0 10px;
}

.hero-copy p {
    font-size: 1rem;
    color: #f7f7f7;
    margin-bottom: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    color: #111;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
}

.highlight-grid,
.card-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.highlight-card,
.promo-card,
.release-card,
.movie-card {
    background: linear-gradient(135deg, rgba(16,27,45,0.98), rgba(10,19,33,0.95));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.highlight-card h3,
.promo-card h3,
.release-card h3,
.movie-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.section-block {
    margin-top: 28px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-heading h2 {
    margin: 0;
    font-size: 1.5rem;
}

.text-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.movie-card {
    padding: 0;
    overflow: hidden;
}

.movie-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1d2a3f;
}

/* ===== Grid de productos ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

/* ===== Card ===== */
.product-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-dark, #1a1a1a);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.4); /* dorado sutil */
}

/* ===== Poster / imagen ===== */
.product-poster {
    position: relative;
    min-height: 200px;
    aspect-ratio: 4 / 3;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.product-card:hover .product-poster img {
    transform: scale(1.06);
}

/* Sombra inferior para separar imagen del contenido, incluso sin overlay de texto */
.product-poster::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent);
    pointer-events: none;
}

/* ===== Contenido ===== */
.movie-card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 6px;
}

.product-card-header h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.3;
    color: #fff;
}

.product-category {
    margin: 0 0 8px;
    color: var(--gold, #d4af37);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.movie-meta {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== Price pill ===== */
.price-pill {
    flex-shrink: 0;
    background: var(--red, #e50914);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

/* ===== Badge "Recomendado" ===== */
.cp-badge-recomendado {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold, #d4af37);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== Empty state ===== */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.price-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 204, 0, 0.16);
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.promo-feature-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100%;
}

.promo-feature-card-img {
    width: 100%;
    height: 140px;
    border-radius: 14px;
    background-color: #1d2a3f;
    background-size: cover;
    background-position: center;
}

.promo-price-old {
    text-decoration: line-through;
    color: var(--muted);
    font-size: 0.85rem;
    align-self: center;
}

.promo-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(229, 18, 31, 0.16);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.promo-description {
    margin: 0;
    color: var(--muted);
}

.promo-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.membership-box-compact {
    grid-template-columns: 1.2fr auto;
    padding: 20px 22px;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
}

.membership-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.membership-card {
    background: linear-gradient(135deg, rgba(16,27,45,0.98), rgba(10,19,33,0.95));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.membership-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.membership-plan {
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.9rem;
}

.membership-price {
    font-weight: 800;
    color: var(--gold);
}

.membership-copy {
    margin: 0;
    color: var(--muted);
}

.membership-features {
    margin: 0;
    padding-left: 18px;
    color: var(--text);
    display: grid;
    gap: 6px;
}

.movie-card-poster {
    width: 100%;
    min-height: 420px;
    overflow: hidden;
    border-radius: 20px;
}

.movie-card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showtimes {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.showtime-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 18px;
    align-items: center;
    padding: 14px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
}

.showtime-item strong {
    color: #fff;
    display: inline-block;
}

.showtime-item span {
    color: var(--muted);
}

.membership-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    margin-bottom: 22px;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-item label {
    color: var(--muted);
    font-size: 0.9rem;
}

.filter-item select {
    min-width: 180px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: #fff;
}

.movie-list {
    display: grid;
    gap: 22px;
}

@media (max-width: 980px) {
    .membership-box {
        grid-template-columns: 1fr;
    }
}

.movie-card-content p {
    margin: 4px 0;
    color: var(--muted);
}

.movie-meta {
    margin-bottom: 12px !important;
}

.empty-state,
.membership-box {
    background: linear-gradient(135deg, rgba(16,27,45,0.98), rgba(10,19,33,0.95));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 20px;
    color: var(--muted);
}

.promo-card span {
    display: inline-block;
    margin-top: 8px;
    color: var(--primary);
    font-weight: 700;
}

.promo-card.accent {
    background: linear-gradient(135deg, rgba(244,180,0,0.18), rgba(26,115,232,0.15));
}

.membership-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

footer {
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    text-align: center;
}

/* ============================================================
   SIDEBARS / OFFCANVAS (elegir cine, carrito de alimentos)
   ============================================================ */
.cp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1400;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cp-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.cp-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(400px, 92vw);
    background: linear-gradient(180deg, #141416 0%, #0c0c0e 100%);
    border-left: 1px solid rgba(255,255,255,0.08);
    box-shadow: -16px 0 40px rgba(0,0,0,0.5);
    z-index: 1500;
    transform: translateX(105%);
    transition: transform 0.32s cubic-bezier(.2,.8,.3,1);
    display: flex;
    flex-direction: column;
}

.cp-drawer.cp-drawer-left {
    right: auto;
    left: 0;
    border-left: none;
    border-right: 1px solid rgba(255,255,255,0.08);
    box-shadow: 16px 0 40px rgba(0,0,0,0.5);
    transform: translateX(-105%);
}

.cp-drawer.is-open {
    transform: translateX(0);
}

.cp-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cp-drawer-header h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #fff;
}

.cp-drawer-header .cp-drawer-sub {
    display: block;
    margin-top: 2px;
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 400;
}

.cp-drawer-close {
    background: rgba(255,255,255,0.08);
    border: none;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
    display: grid;
    place-items: center;
    transition: background 0.2s ease;
}

.cp-drawer-close:hover {
    background: var(--primary);
}

.cp-drawer-body {
    padding: 18px 20px 24px;
    overflow-y: auto;
    flex: 1;
}

.cp-drawer-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* Sidebar "Elegir cine" */
.cine-search {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.05);
    color: #fff;
    margin-bottom: 16px;
}

.cine-city-group {
    margin-bottom: 18px;
}

.cine-city-title {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 10px;
}

.cine-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 10px;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.cine-item:hover {
    border-color: var(--primary);
    background: rgba(229, 18, 31, 0.08);
    transform: translateX(2px);
}

.cine-item .cine-item-name {
    font-weight: 700;
    font-size: 0.95rem;
    display: block;
}

.cine-item .cine-item-addr {
    font-size: 0.78rem;
    color: var(--muted);
    display: block;
    margin-top: 2px;
}

.cine-item .cine-item-arrow {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.cine-empty-msg {
    color: var(--muted);
    text-align: center;
    padding: 30px 10px;
}

/* Carrito lateral de alimentos y bebidas */
.cart-fab {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 900;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    padding: 15px 22px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 16px 32px rgba(229, 18, 31, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cart-fab:hover {
    transform: translateY(-3px);
}

.cart-fab .cart-fab-badge {
    background: #fff;
    color: var(--primary-dark);
    border-radius: 999px;
    padding: 2px 9px;
    font-size: 0.82rem;
    font-weight: 800;
}

.cart-drawer .cart-sidebar,
.cart-drawer .booking-summary-card {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

/* ============================================================
   FILTROS ESTILO CINEMARK (Formatos / Idioma / Otras opciones)
   ============================================================ */
.cp-filterbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 12px;
    border-radius: 18px;
    margin-bottom: 22px;
}

.cp-filter {
    position: relative;
}

.cp-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1c1c20;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.cp-filter-btn:hover {
    border-color: var(--primary);
}

.cp-filter.is-active .cp-filter-btn,
.cp-filter-btn.has-selection {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(229, 18, 31, 0.1);
}

.cp-filter-btn .cp-filter-count {
    background: var(--primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    border-radius: 999px;
    padding: 1px 7px;
}

.cp-filter-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 230px;
    background: #18181b;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.55);
    z-index: 60;
    display: none;
}

.cp-filter.is-active .cp-filter-panel {
    display: block;
}

.cp-filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 6px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    color: #e6e6e6;
}

.cp-filter-option:hover {
    background: rgba(255,255,255,0.06);
}

.cp-filter-option input {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

.cp-filter-clear {
    margin-top: 8px;
    width: 100%;
    background: transparent;
    border: 1px dashed rgba(255,255,255,0.25);
    color: var(--muted);
    padding: 7px;
    border-radius: 10px;
    font-size: 0.78rem;
    cursor: pointer;
}

.cp-filter-clear:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.cp-filterbar-clearall {
    display: inline-flex;
    align-items: center;
    color: var(--muted);
    background: transparent;
    border: none;
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 10px 6px;
}

.cp-filterbar-clearall:hover {
    color: var(--primary);
}

/* ============================================================
   POSTERS Y BADGES ESTILO CINEMARK
   ============================================================ */
.cp-badge-recomendado {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 8px 16px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(229, 18, 31, 0.3);
}

.movie-card-poster,
.movie-card {
    position: relative;
}

.confirm-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin: 20px 0 22px;
}

.confirm-header h2 {
    margin: 4px 0 0;
    font-size: 1.4rem;
    color: #fff;
}

.cta-note {
    max-width: 340px;
    color: var(--muted);
    font-size: 0.88rem;
    margin: 0;
}

.duration-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.72);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    z-index: 5;
    backdrop-filter: blur(4px);
}

.alert {
    margin: 16px 0 8px;
    padding: 12px 14px;
    border-radius: 12px;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.18);
    color: #ffe3e8;
    border: 1px solid rgba(220, 53, 69, 0.35);
}

.alert-success {
    background: rgba(40, 167, 69, 0.18);
    color: #e2f7df;
    border: 1px solid rgba(40, 167, 69, 0.35);
}

.auth-shell {
    display: flex;
    justify-content: center;
    padding: 24px 0 12px;
}

.auth-card {
    width: min(100%, 520px);
    background: linear-gradient(145deg, rgba(16,27,45,0.98), rgba(11,19,33,0.98));
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.auth-hero {
    margin-bottom: 20px;
}

.auth-hero h2 {
    margin: 0 0 6px;
    font-size: 1.8rem;
}

.auth-hero p {
    margin: 0;
    color: var(--muted);
}

.auth-form .form-group {
    margin-bottom: 14px;
}

.auth-form .form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff !important;
}

.auth-form .form-group input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.12);
    color: #ffffff !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.auth-form .form-group input::placeholder {
    color: rgba(245, 247, 251, 0.85);
    opacity: 1;
}

.auth-form .form-group input:focus {
    outline: 2px solid rgba(244,180,0,0.55);
    border-color: rgba(244,180,0,0.95);
    background: rgba(255,255,255,0.22);
}

.btn-full {
    width: 100%;
    text-align: center;
    margin-top: 8px;
    padding: 14px 18px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #111;
    box-shadow: 0 12px 24px rgba(244, 180, 0, 0.18);
}

.btn-full:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #ffd500, #ff9f00);
}

.auth-links {
    margin-top: 16px;
    text-align: center;
    color: var(--muted);
}

.auth-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.admin-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    min-height: 100vh;
    background: var(--admin-bg);
    color: var(--admin-text);
}

.admin-sidebar {
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    color: #fff;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.admin-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.04em;
}

.admin-brand span {
    color: var(--primary);
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255,255,255,0.08);
}

.admin-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #111;
}

.admin-user strong {
    display: block;
    font-size: 0.95rem;
}

.admin-user p {
    margin: 2px 0 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-nav a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(255,255,255,0.12);
}

.admin-logout {
    margin-top: auto;
    padding: 10px 12px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    background: rgba(244,180,0,0.16);
    border: 1px solid rgba(244,180,0,0.32);
}

.admin-content {
    padding: 24px;
}

.panel-card {
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.panel-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--admin-accent);
    margin-bottom: 4px;
}

.panel-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--admin-text);
}

.panel-header p {
    margin: 4px 0 0;
    color: var(--admin-muted);
}

.search-panel {
    margin-bottom: 18px;
}

.search-box {
    display: flex;
    gap: 10px;
    align-items: center;
    position: relative;
    padding: 8px;
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.search-box input {
    flex: 1;
    padding: 10px 12px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: var(--admin-text);
    transition: box-shadow 0.2s ease;
}

.search-box input:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(244, 180, 0, 0.18);
}

.search-box .btn {
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--admin-accent);
    color: #fff;
}

.btn-secondary {
    background: var(--admin-accent-soft);
    color: var(--admin-accent);
}

.btn-cancel {
    background: transparent;
    border: 1px solid var(--admin-border);
    color: var(--admin-text);
}

.table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    background: var(--admin-surface);
}

.table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    background: var(--admin-surface);
}

.table-wrapper tbody tr {
    border-bottom: 1px solid var(--admin-border);
    transition: background 0.2s ease;
}

.table-wrapper tbody tr:hover {
    background: rgba(244, 180, 0, 0.04);
}

.table-wrapper th,
.table-wrapper td {
    padding: 14px 16px;
    text-align: left;
}

.table-wrapper th {
    background: var(--admin-surface-alt);
    color: var(--admin-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    border-bottom: 2px solid var(--admin-accent-soft);
}

.table-poster,
.product-thumb {
    width: 56px;
    height: 78px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.desc-text,
.date-text {
    font-size: 0.9rem;
    color: var(--admin-muted);
}

.payment-amount {
    font-weight: 700;
    color: #16a34a;
}

.no-img-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 78px;
    border-radius: 8px;
    background: var(--admin-surface-alt);
    color: var(--admin-muted);
    font-size: 0.8rem;
}

.status-pill {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.status-pill.active {
    background: #dcfce7;
    color: #166534;
}

.status-pill.inactive {
    background: #fee2e2;
    color: #991b1b;
}

.table-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.action-link {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.2s ease;
}

.action-link:hover {
    opacity: 0.8;
}

.action-link.edit {
    color: var(--admin-accent);
}

.action-link.delete {
    color: var(--danger);
}

.empty-state {
    padding: 24px;
    text-align: center;
    color: var(--admin-muted);
    background: var(--admin-surface-alt);
    border-radius: 16px;
    margin-top: 10px;
}

.pager-wrap {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
}

.admin-footer {
    margin-top: 20px;
    color: var(--admin-muted);
    font-size: 0.9rem;
    text-align: center;
}

@keyframes heroFade {
    0%, 100% {
        opacity: 0;
        transform: translateX(30px);
    }
    8%, 32% {
        opacity: 1;
        transform: translateX(0);
    }
    40%, 100% {
        opacity: 0;
        transform: translateX(-30px);
    }
}

/* Formularios Admin */
.form-container {
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: 24px;
    padding: 28px;
    max-width: 600px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.form-header {
    margin-bottom: 24px;
}

.form-header h2 {
    margin: 0 0 8px;
    font-size: 1.5rem;
    color: var(--admin-text);
}

.form-header p {
    margin: 0;
    color: var(--admin-muted);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--admin-text);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    background: var(--admin-surface-alt);
    color: var(--admin-text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Sidebar para confirmación de membresía */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1200;
}

.membership-sidebar {
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    width: 360px;
    background: linear-gradient(180deg, #0f172a 0%, #07111f 100%);
    box-shadow: -12px 0 32px rgba(0,0,0,0.6);
    padding: 24px;
    z-index: 1300;
    color: #fff;
}

.membership-sidebar .close-sidebar {
    position: absolute;
    left: 12px;
    top: 12px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.membership-sidebar .sidebar-content {
    margin-top: 48px;
}

.membership-sidebar .sidebar-actions { 
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--admin-accent);
    box-shadow: 0 0 0 3px hwb(0 94% 3% / 0.884);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group.checkbox-group input {
    width: auto;
    margin: 0;
}

.form-group.checkbox-group label {
    margin: 0;
    font-weight: 500;
    cursor: pointer;
}

.form-group .help-text {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--admin-muted);
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.form-actions .btn {
    flex: 1;
}

.form-actions .btn-secondary {
    background: transparent;
    border: 1px solid var(--admin-border);
    color: var(--admin-text);
}

.form-actions .btn-secondary:hover {
    background: var(--admin-surface-alt);
}

.form-errors {
    background: rgba(220, 53, 69, 0.16);
    border: 1px solid rgba(220, 53, 69, 0.32);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 18px;
    color: #ffb5bd;
}

.form-errors ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.form-errors li {
    margin-bottom: 4px;
    font-size: 0.9rem;
}

@media (max-width: 980px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        gap: 12px;
    }
}

@media (max-width: 780px) {
    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        justify-content: flex-start;
    }

    .hero-slider {
        height: 500px;
    }

    .hero-slide {
        padding: 24px;
    }

    .membership-box {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ============================================================
   ESTILOS DE PÁGINAS ESPECÍFICAS (unificados desde vistas)
   ============================================================ */

/* ============ Extraído de: app/Views/home/alimentos.php ============ */
.confiteria-section {
    background: #0d0d0d;
    color: #fff;
    padding: 48px 24px;
    border-radius: 12px;
}

.confiteria-section .eyebrow {
    color: #ffcc00;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.confiteria-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 6px 0 24px;
    color: #fff;
}

.confiteria-section .membership-box {
    background: linear-gradient(90deg, #a10000, #6e0000);
    border-left: 4px solid #ffcc00;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 32px;
}

.confiteria-section .membership-box p {
    margin: 0;
    font-size: 0.95rem;
    color: #f5f5f5;
}

/* Pestañas de categoría, estilo Cinemark */
.confiteria-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.confiteria-tabs button {
    background: #1a1a1a;
    color: #ddd;
    border: 1px solid #333;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.confiteria-tabs button.active,
.confiteria-tabs button:hover {
    background: #ffcc00;
    color: #111;
    border-color: #ffcc00;
}



.promo-card.accent {
    background: #1a1a1a;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #262626;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.promo-card.accent:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.15);
    border-color: #ffcc00;
}


.promo-card.accent .card-body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.promo-card.accent h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: #fff;
}

.promo-card.accent p {
    font-size: 0.85rem;
    color: #aaa;
    flex: 1;
    margin: 0 0 14px;
    line-height: 1.4;
}

.promo-card.accent .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.promo-card.accent .price {
    background: #ffcc00;
    color: #111;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 4px 12px;
    border-radius: 999px;
}

.promo-card.accent .btn-add {
    background: #a10000;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.promo-card.accent .btn-add:hover {
    background: #d90000;
}

.grid-with-cart,
.alimentos-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.cart-sidebar {
    background: #121217;
    border: 1px solid #222;
    border-radius: 20px;
    padding: 24px;
}

.cart-sidebar h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #ffcc00;
}

.cart-item {
    display: grid;
    grid-template-columns: 68px 1fr auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #222;
}

.cart-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.cart-item-thumb {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
}

.cart-item-meta {
    color: #ddd;
    font-size: 0.92rem;
}

.cart-item-meta strong {
    display: block;
    color: #fff;
    font-size: 0.98rem;
    margin-bottom: 4px;
}

    .cart-item-controls {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
    }

    .cart-item-controls input {
        width: 72px;
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 10px;
        padding: 6px 10px;
        color: #fff;
        background: rgba(255,255,255,0.04);
        text-align: center;
    }

    .qty-stepper {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .qty-stepper .quantity-input {
        width: 44px;
        -moz-appearance: textfield;
    }

    .qty-stepper .quantity-input::-webkit-outer-spin-button,
    .qty-stepper .quantity-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .qty-btn {
        width: 26px;
        height: 26px;
        border-radius: 8px;
        border: 1px solid rgba(255,255,255,0.14);
        background: rgba(255,255,255,0.06);
        color: #ffcc00;
        font-size: 1rem;
        line-height: 1;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.15s ease, transform 0.1s ease;
    }

    .qty-btn:hover {
        background: rgba(255,204,0,0.16);
    }

    .qty-btn:active {
        transform: scale(0.92);
    }

    .remove-item {
        background: transparent;
        border: none;
        color: #ff8b8b;
        cursor: pointer;
        font-size: 0.9rem;
        text-decoration: underline;
        padding: 0;
    }

.cart-totals div span:last-child {
    color: #fff;
}

.cart-actions {
    margin-top: 22px;
}

.cart-actions a {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: #ffcc00;
    color: #111;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
}

.cart-note {
    margin-top: 16px;
    font-size: 0.9rem;
    color: #aaa;
}

@media (max-width: 1024px) {
    .grid-with-cart {
        grid-template-columns: 1fr;
    }
}


/* ============ Extraído de: app/Views/home/alimentos/confirmacion.php ============ */
.confirmation-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 35px;
    background: #111;
    border: 1px solid #222;
    border-radius: 18px;
}

.confirmation-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.confirmation-header h2 {
    color: #ffcc00;
    margin: 0;
}

.confirmation-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.confirmation-card {
    background: #0d0d0d;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #1f1f1f;
}

.confirmation-card h3 {
    margin-top: 0;
    margin-bottom: 18px;
    color: #fff;
}

.confirmation-card p {
    margin: 8px 0;
    color: #bbb;
}

.product-item {
    display: grid;
    grid-template-columns: 82px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #222;
}

.product-item:last-child {
    border-bottom: none;
}

.product-thumb {
    width: 82px;
    height: 82px;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
}

.product-meta {
    color: #ddd;
}

.product-meta strong {
    display: block;
    color: #fff;
    margin-bottom: 6px;
}

.summary-box {
    background: #111;
    border: 1px solid #222;
    border-radius: 14px;
    padding: 20px;
}

.summary-box div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: #ccc;
}

.summary-box div strong {
    color: #fff;
}

.actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.actions-row .btn {
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 700;
}

.alert-mail {
    background: rgba(255, 204, 0, 0.08);
    border: 1px solid rgba(255, 204, 0, 0.2);
    padding: 16px;
    border-radius: 12px;
    color: #ffe9a8;
    margin-bottom: 20px;
}


/* ============ Extraído de: app/Views/home/alimentos/pago.php ============ */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 30px;
    margin: 40px auto;
    max-width: 1100px;
}

.checkout-card,
.summary-card {
    background: #0f0f14;
    border: 1px solid #222;
    border-radius: 18px;
    padding: 28px;
}

.checkout-card h2,
.summary-card h3 {
    color: #ffcc00;
    margin-bottom: 20px;
}

.checkout-card label {
    display: block;
    margin-bottom: 10px;
    color: #ccc;
    font-size: 0.95rem;
}

.checkout-card input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #333;
    background: #121217;
    color: #fff;
    margin-bottom: 18px;
}

.checkout-card button {
    width: 100%;
    background: #ffcc00;
    color: #121217;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}

.summary-card .item-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
    align-items: center;
}

.summary-card .item-row strong {
    color: #fff;
}

.summary-card .item-name {
    color: #ddd;
    font-size: 0.95rem;
}

.summary-card .divider {
    height: 1px;
    background: #222;
    margin: 18px 0;
}

.summary-card .total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.summary-card .badge {
    display: inline-block;
    background: rgba(255, 204, 0, 0.15);
    color: #ffcc00;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 16px;
}

.summary-card .checkout-note {
    margin-top: 24px;
    color: #aaa;
    font-size: 0.92rem;
    line-height: 1.5;
}


/* ============ Extraído de: app/Views/home/detalle_pelicula.php ============ */
.movie-detail-grid {
        display: grid;
        grid-template-columns: 300px 1fr;
        gap: 40px;
        align-items: start;
        margin-top: 10px;
    }

    @media (max-width: 900px) {
        .movie-detail-grid {
            grid-template-columns: 1fr;
        }
    }

    /* ---- Columna izquierda ---- */
    .movie-poster-wrap {
        position: relative;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .movie-poster-wrap img {
        width: 100%;
        display: block;
    }

    .poster-badge {
        position: absolute;
        top: 10px;
        background: rgba(0,0,0,0.75);
        color: #fff;
        font-size: 0.75rem;
        font-weight: 700;
        padding: 4px 8px;
        border-radius: 4px;
        letter-spacing: 0.03em;
    }

    .poster-badge.rating { left: 10px; }
    .poster-badge.duration { right: 10px; }

    .poster-play-btn {
        position: absolute;
        bottom: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: #e50914;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        text-decoration: none;
        font-size: 1.1rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.5);
        transition: transform 0.2s ease;
    }

    .poster-play-btn:hover {
        transform: scale(1.08);
    }

    .movie-action-btn {
        display: block;
        width: 100%;
        margin-top: 14px;
        padding: 10px;
        text-align: center;
        border-radius: 999px;
        border: 1px solid rgba(255,255,255,0.25);
        background: transparent;
        color: #fff;
        font-weight: 700;
        letter-spacing: 0.03em;
        text-decoration: none;
        font-size: 0.85rem;
    }

    .movie-action-btn:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

    .movie-synopsis {
        margin-top: 16px;
        color: #ccc;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .movie-facts {
        margin-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .movie-fact-row {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        font-size: 0.82rem;
    }

    .movie-fact-row .label {
        color: #888;
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: 0.04em;
        white-space: nowrap;
    }

    .movie-fact-row .value {
        color: #ddd;
        text-align: right;
    }

    .back-cartelera-link {
        display: inline-block;
        margin-top: 20px;
        color: var(--primary);
        font-size: 0.85rem;
        text-decoration: none;
    }

    /* ---- Columna derecha: horarios ---- */
    .horarios-title {
        font-size: 1.6rem;
        font-weight: 800;
        letter-spacing: 0.02em;
        margin: 0 0 18px 0;
        text-transform: uppercase;
    }

    .date-tabs {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        margin-bottom: 18px;
    }

    .date-tab {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 78px;
        padding: 8px 14px;
        border-radius: 8px;
        border: 1px solid rgba(255,255,255,0.15);
        background: rgba(255,255,255,0.03);
        color: #ccc;
        text-decoration: none;
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .date-tab strong {
        font-size: 0.9rem;
        color: #fff;
        text-transform: uppercase;
    }

    .date-tab.active {
        background: #fff;
        border-color: #fff;
    }

    .date-tab.active,
    .date-tab.active strong {
        color: #111;
    }

    .availability-legend {
        display: flex;
        flex-wrap: wrap;
        gap: 22px;
        margin: 20px 0 26px 0;
    }

    .availability-legend .legend-title {
        width: 100%;
        text-transform: uppercase;
        font-size: 0.72rem;
        letter-spacing: 0.05em;
        color: #888;
        font-weight: 700;
        margin-bottom: 4px;
    }

    .availability-legend .legend-entry {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 0.8rem;
        color: #ccc;
    }

    .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        display: inline-block;
    }

    .dot.alta { background: #4caf50; }
    .dot.media { background: #f4b400; }
    .dot.baja { background: #ff5722; }
    .dot.lleno { background: #666; }

    .cine-block {
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 12px;
        padding: 22px;
        margin-bottom: 20px;
    }

    .cine-block .cine-eyebrow {
        text-transform: uppercase;
        font-size: 0.72rem;
        letter-spacing: 0.05em;
        color: #888;
        font-weight: 700;
    }

    .cine-block .cine-name {
        margin: 2px 0 6px 0;
        font-size: 1.15rem;
        font-weight: 800;
        text-transform: uppercase;
        color: #ff4d4d;
    }

    .cine-block .cine-address {
        font-size: 0.8rem;
        color: #999;
        margin-bottom: 16px;
    }

    .formato-group {
        margin-bottom: 16px;
    }

    .formato-group .formato-title {
        font-size: 0.85rem;
        color: #ddd;
        font-weight: 700;
        margin-bottom: 8px;
        text-transform: uppercase;
    }

    .formato-group .formato-title span {
        color: #888;
        font-weight: 400;
        text-transform: none;
    }

    .horarios-row {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .horario-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 9px 16px;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: 6px;
        color: #fff;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 600;
        transition: background 0.2s ease, border-color 0.2s ease;
    }

    .horario-btn:hover {
        background: var(--primary);
        border-color: var(--primary);
        color: #111;
    }

    .horario-btn.lleno {
        opacity: 0.5;
        pointer-events: none;
        text-decoration: line-through;
    }

    .cines-cercanos-box {
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 10px;
        padding: 18px 20px;
        margin-top: 10px;
    }

    .cines-cercanos-box h4 {
        margin: 0 0 8px 0;
        font-size: 0.9rem;
        text-transform: uppercase;
    }

    .cines-cercanos-box p {
        margin: 0;
        font-size: 0.85rem;
        color: #aaa;
    }

    .cines-cercanos-box a {
        color: var(--primary);
    }


/* ============ Extraído de: app/Views/home/membresia/pago.php ============ */
.payment-container {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        margin-top: 30px;
        color: #fff;
        justify-content: center;
    }

    .checkout-form {
        flex: 1;
        min-width: 320px;
        max-width: 500px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        padding: 30px;
    }

    .booking-summary-card {
        width: 380px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 30px;
        align-self: flex-start;
    }

    /* CARD FLIP ANIMATION */
    .card-space {
        perspective: 1000px;
        width: 100%;
        max-width: 350px;
        height: 200px;
        margin: 0 auto 30px auto;
    }

    .credit-card {
        width: 100%;
        height: 100%;
        position: relative;
        transform-style: preserve-3d;
        transition: transform 0.6s ease;
        border-radius: 15px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    }

    .credit-card.flipped {
        transform: rotateY(180deg);
    }

    .card-front, .card-back {
        width: 100%;
        height: 100%;
        position: absolute;
        backface-visibility: hidden;
        border-radius: 15px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .card-front {
        background: linear-gradient(135deg, #1f1c2c 0%, #928dab 100%);
    }

    .card-back {
        background: linear-gradient(135deg, #2c3e50 0%, #0f2027 100%);
        transform: rotateY(180deg);
        padding: 20px 0;
    }

    /* Front Styles */
    .card-chip {
        width: 40px;
        height: 30px;
        background: radial-gradient(circle, #f9d976 0%, #e9b646 100%);
        border-radius: 5px;
    }

    .card-logo {
        font-weight: bold;
        font-style: italic;
        font-size: 1.4rem;
        color: #ff9800;
        text-align: right;
    }

    .card-number-display {
        font-size: 1.3rem;
        letter-spacing: 2px;
        font-family: 'Courier New', monospace;
        margin: 20px 0;
    }

    .card-meta {
        display: flex;
        justify-content: space-between;
        font-size: 0.8rem;
        text-transform: uppercase;
        color: rgba(255,255,255,0.7);
    }

    .card-holder-display {
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Back Styles */
    .card-stripe {
        width: 100%;
        height: 40px;
        background: #111;
        margin-top: 10px;
    }

    .card-signature-area {
        margin: 15px 20px 0 20px;
        background: #fff;
        height: 35px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding-right: 10px;
        border-radius: 3px;
    }

    .card-cvv-display {
        color: #000;
        font-weight: bold;
        font-family: monospace;
        letter-spacing: 1px;
    }

    .card-back-text {
        font-size: 0.6rem;
        color: rgba(255,255,255,0.5);
        padding: 10px 20px;
        text-align: justify;
    }

    /* Form Fields */
    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-size: 0.9rem;
        color: #ccc;
    }

    .form-control {
        width: 100%;
        padding: 12px;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: 6px;
        color: #fff;
        font-size: 1rem;
        outline: none;
        transition: border 0.3s ease;
    }

    .form-control:focus {
        border-color: #ff9800;
    }

    .row-fields {
        display: flex;
        gap: 15px;
    }

    .row-fields .form-group {
        flex: 1;
    }

    .btn-checkout {
        display: block;
        width: 100%;
        padding: 14px;
        background: #ff9800;
        border: none;
        border-radius: 6px;
        color: #000;
        font-weight: bold;
        font-size: 1.1rem;
        cursor: pointer;
        transition: background 0.2s ease;
        margin-top: 10px;
    }

    .btn-checkout:hover {
        background: #e68a00;
    }

    /* Summary Details */
    .booking-summary-card h3 {
        color: #ff9800;
        margin-top: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 10px;
    }

    .summary-item {
        display: flex;
        justify-content: space-between;
        margin-bottom: 12px;
        font-size: 0.95rem;
        color: #ccc;
    }

    .summary-item strong {
        color: #fff;
    }

    .summary-total {
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        justify-content: space-between;
        font-size: 1.2rem;
        font-weight: bold;
    }

    .summary-total span {
        color: #ff9800;
    }

    .benefit-list {
        margin: 15px 0 0 0;
        padding-left: 18px;
        color: #ccc;
        font-size: 0.9rem;
        line-height: 1.6;
    }


/* ============ Extraído de: app/Views/home/productos.php ============ */
.confiteria-section {
    background: #0d0d0d;
    color: #fff;
    padding: 48px 24px;
    border-radius: 12px;
}

.confiteria-section .eyebrow {
    color: #ffcc00;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.confiteria-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 6px 0 24px;
    color: #fff;
}

.confiteria-section .membership-box {
    background: linear-gradient(90deg, #a10000, #6e0000);
    border-left: 4px solid #ffcc00;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 32px;
}

.confiteria-section .membership-box p {
    margin: 0;
    font-size: 0.95rem;
    color: #f5f5f5;
}

/* Pestañas de categoría, estilo Cinemark */
.confiteria-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.confiteria-tabs button {
    background: #1a1a1a;
    color: #ddd;
    border: 1px solid #333;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.confiteria-tabs button.active,
.confiteria-tabs button:hover {
    background: #ffcc00;
    color: #111;
    border-color: #ffcc00;
}

.promo-card.accent {
    background: #1a1a1a;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #262626;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.promo-card.accent:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(255, 204, 0, 0.15);
    border-color: #ffcc00;
}

.promo-card.accent .card-img {
    width: 100%;
    height: 400px;
    background: #262626 url('https://via.placeholder.com/300x200?text=Producto') center/cover no-repeat;
}

.promo-card.accent .card-body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.promo-card.accent h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: #fff;
}

.promo-card.accent p {
    font-size: 0.85rem;
    color: #aaa;
    flex: 1;
    margin: 0 0 14px;
    line-height: 1.4;
}

.promo-card.accent .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.promo-card.accent .price {
    background: #ffcc00;
    color: #111;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 4px 12px;
    border-radius: 999px;
}

.promo-card.accent .btn-add {
    background: #a10000;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.promo-card.accent .btn-add:hover {
    background: #d90000;
}


/* ============ Extraído de: app/Views/home/promociones.php ============ */
.promo-section {
    background: #090909;
    color: #f8f8f8;
    padding: 44px 24px 28px;
    border-radius: 18px;
}

.promo-section .eyebrow {
    color: #ffcc00;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.promo-section h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    margin: 8px 0 24px;
    color: #ffffff;
}

.promo-section .membership-box {
    background: linear-gradient(90deg, rgba(161,0,0,0.95), rgba(110,0,0,0.92));
    border-left: 4px solid #ffcc00;
    padding: 18px 22px;
    border-radius: 14px;
    margin-bottom: 32px;
}

.promo-section .membership-box p {
    margin: 0;
    font-size: 0.98rem;
    color: #f5f5f5;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.promo-card.accent {
    background: linear-gradient(180deg, #121212 0%, #1e1e1e 100%);
    border-radius: 24px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.promo-card.accent:hover {
    transform: translateY(-4px);
}

.promo-card.accent .promo-visual {
    min-height: 180px;
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.16), rgba(19, 19, 19, 0.98));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    padding: 24px;
}

.promo-card.accent .discount-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #ffcc00;
    color: #111;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 999px;
}

.promo-card.accent .card-body {
    padding: 24px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.promo-card.accent h3 {
    font-size: 1.3rem;
    margin: 0;
    color: #ffffff;
}

.promo-card.accent .descripcion {
    margin: 0;
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

.promo-card.accent .validity {
    display: grid;
    gap: 6px;
    font-size: 0.85rem;
    color: #bbbbbb;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 18px;
    margin-top: auto;
}

.promo-card.accent .validity strong {
    color: #ffcc00;
    font-weight: 700;
}

.promo-card-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.promo-card-actions .btn {
    flex: 1;
    min-width: 130px;
}

.promo-card-actions .btn-primary {
    background: #ffcc00;
    color: #111;
}

.promo-card-actions .btn-secondary {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.14);
}

.promo-overlay,
.promo-detail-panel {
    position: fixed;
    inset: 0;
    z-index: 1500;
}

.promo-overlay {
    background: rgba(0, 0, 0, 0.72);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.promo-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.promo-detail-panel {
    display: grid;
    place-items: center;
    pointer-events: none;
}

.promo-detail-panel.active .promo-panel {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.promo-panel {
    width: min(980px, calc(100% - 36px));
    max-height: calc(100vh - 40px);
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(320px, 420px) 1fr;
    gap: 0;
    background: #111;
    border-radius: 26px;
    box-shadow: 0 36px 90px rgba(0, 0, 0, 0.48);
    transform: translateX(40px);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.promo-panel__image {
    background: radial-gradient(circle at top left, rgba(255, 204, 0, 0.3), transparent 38%),
                linear-gradient(180deg, #1b1b1b 0%, #111 100%);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
}

.promo-panel__image h3 {
    margin: 0;
    font-size: 1.45rem;
}

.promo-panel__image p {
    color: #d9d9d9;
    margin: 20px 0 0;
    line-height: 1.5;
}

.promo-panel__content {
    padding: 34px 32px;
    overflow-y: auto;
    color: #e8e8e8;
}

.promo-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
}

.promo-panel__header h2 {
    margin: 0;
    font-size: clamp(2rem, 2.8vw, 2.5rem);
}

.promo-panel__header .close-panel {
    background: rgba(255,255,255,0.08);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 1.3rem;
    cursor: pointer;
}

.promo-panel__info {
    display: grid;
    gap: 26px;
}

.promo-panel__info p {
    color: #cfcfcf;
    line-height: 1.8;
    margin: 0;
}

.meta-grid {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.meta-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 18px 20px;
}

.meta-card .meta-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #ffcc00;
}

.meta-card p {
    margin: 0;
    color: #f4f4f4;
    font-size: 0.95rem;
}

.promo-panel__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.promo-panel__actions .btn {
    min-width: 160px;
}

@media (max-width: 860px) {
    .promo-panel {
        grid-template-columns: 1fr;
        max-height: none;
    }

    .promo-panel__image,
    .promo-panel__content {
        padding: 24px;
    }
}


/* ============ Extraído de: app/Views/home/reserva/asientos.php ============ */
.booking-container {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        margin-top: 30px;
        color: #fff;
    }
    .cinema-layout {
        flex: 1;
        min-width: 320px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        padding: 30px;
    }
    .sidebar-summary {
        width: 350px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 30px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-self: flex-start;
    }
    .screen {
        width: 80%;
        height: 8px;
        background: #fff;
        margin: 0 auto 50px auto;
        border-radius: 50%;
        box-shadow: 0 4px 20px rgba(255, 255, 255, 0.8);
        text-align: center;
        position: relative;
    }
    .screen-text {
        position: absolute;
        top: 15px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.8rem;
        letter-spacing: 4px;
        color: rgba(255, 255, 255, 0.5);
        text-transform: uppercase;
        font-weight: bold;
    }
    .seats-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
        margin-bottom: 40px;
    }
    .seat-row {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .row-label {
        font-weight: bold;
        width: 25px;
        color: #ff9800;
        font-size: 1.1rem;
        text-align: center;
    }
    .seat {
        width: 35px;
        height: 35px;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
        font-weight: bold;
        cursor: pointer;
        user-select: none;
        transition: all 0.2s ease;
        position: relative;
    }
    .seat input {
        display: none;
    }
    
    /* Seat Types & States */
    .seat.disponible.estandar {
        background-color: #1a73e8;
        color: #fff;
        border: 1px solid #155cb4;
    }
    .seat.disponible.preferencial {
        background-color: #f4b400;
        color: #fff;
        border: 1px solid #c69200;
        box-shadow: 0 0 5px rgba(244, 180, 0, 0.4);
    }
    .seat.disponible.discapacitado {
        background-color: #9c27b0;
        color: #fff;
        border: 1px solid #7b1fa2;
    }
    .seat.ocupado {
        background-color: #334155 !important;
        color: rgba(255, 255, 255, 0.5);
        border: 1px solid #1e293b;
        cursor: not-allowed;
    }
    .seat.ocupado::after {
        content: "";
    }
    
    /* Hover & Selected States */
    .seat.disponible:hover {
        transform: scale(1.15);
        filter: brightness(1.2);
    }
    .seat.seleccionado {
        background-color: #4caf50 !important; /* Verde brillante para destacar los seleccionados */
        color: #fff !important;
        border: 1px solid #2e7d32 !important;
        transform: scale(1.1);
        box-shadow: 0 0 10px rgba(76, 175, 80, 0.8);
        animation: pulse 1.5s infinite;
    }

    @keyframes pulse {
        0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
        70% { box-shadow: 0 0 0 8px rgba(76, 175, 80, 0); }
        100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
    }

    /* Legends */
    .legend {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 20px;
    }
    .legend-item {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.85rem;
    }
    .legend-box {
        width: 18px;
        height: 18px;
        border-radius: 4px;
    }

    /* Summary Details */
    .sidebar-summary h3 {
        color: #ff9800;
        margin-top: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 10px;
    }
    .summary-info p {
        margin: 8px 0;
        font-size: 0.95rem;
        color: #ccc;
    }
    .summary-info p strong {
        color: #fff;
    }
    .selected-list {
        margin-top: 20px;
        max-height: 120px;
        overflow-y: auto;
        padding-right: 5px;
    }
    .selected-badge {
        display: inline-block;
        background: rgba(255, 152, 0, 0.2);
        border: 1px solid #ff9800;
        color: #ff9800;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 0.85rem;
        margin: 3px;
    }
    .price-total {
        margin: 25px 0;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .price-total span {
        font-size: 1.3rem;
        font-weight: bold;
        color: #ff9800;
    }
    .btn-block {
        display: block;
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 1.05rem;
    }


/* ============ Extraído de: app/Views/home/reserva/confirmacion.php ============ */
.success-container {
        max-width: 650px;
        margin: 40px auto;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 15px;
        padding: 40px;
        color: #fff;
        text-align: center;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    }

    .success-icon {
        width: 80px;
        height: 80px;
        background: #4caf50;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 3rem;
        color: #000;
        margin: 0 auto 25px auto;
        animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 0 20px rgba(76, 175, 80, 0.4);
    }

    @keyframes scaleIn {
        from { transform: scale(0); opacity: 0; }
        to { transform: scale(1); opacity: 1; }
    }

    .success-container h2 {
        color: #4caf50;
        margin-bottom: 5px;
        font-size: 1.8rem;
    }

    .reservation-code-box {
        background: rgba(255, 152, 0, 0.1);
        border: 1px dashed #ff9800;
        border-radius: 8px;
        padding: 15px;
        margin: 25px auto;
        max-width: 320px;
    }

    .reservation-code-box span {
        display: block;
        font-size: 0.85rem;
        color: #aaa;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 5px;
    }

    .reservation-code-box strong {
        font-size: 1.6rem;
        color: #ff9800;
        letter-spacing: 2px;
        font-family: monospace;
    }

    .info-card {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        padding: 25px;
        text-align: left;
        margin-bottom: 30px;
    }

    .info-card h4 {
        color: #ff9800;
        margin-top: 0;
        margin-bottom: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 8px;
        font-size: 1.1rem;
    }

    .info-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 12px;
        font-size: 0.95rem;
        color: #ccc;
    }

    .info-row strong {
        color: #fff;
    }

    .actions-row {
        display: flex;
        gap: 15px;
        justify-content: center;
        margin-top: 20px;
    }

    .actions-row .btn {
        flex: 1;
        padding: 14px 20px;
        font-size: 1rem;
        font-weight: bold;
    }

    .seat-pill {
        display: inline-block;
        background: rgba(255, 255, 255, 0.1);
        padding: 2px 6px;
        border-radius: 4px;
        margin-left: 5px;
        font-size: 0.85rem;
    }

    .alert-mail {
        border-radius: 6px;
        padding: 12px;
        margin-bottom: 25px;
        text-align: left;
        font-size: 0.9rem;
    }

    .alert-mail.success {
        background: rgba(76, 175, 80, 0.1);
        border: 1px solid #4caf50;
        color: #a5d6a7;
    }

    .alert-mail.warning {
        background: rgba(255, 152, 0, 0.1);
        border: 1px solid #ff9800;
        color: #ffe082;
    }


/* ============ Extraído de: app/Views/home/reserva/mis_compras.php ============ */
.mis-compras-wrapper {
        max-width: 900px;
        margin: 40px auto;
        padding: 0 20px 60px;
    }

    .mis-compras-header {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 35px;
    }

    .mis-compras-header h1 {
        font-size: 2rem;
        color: #fff;
        margin: 0;
    }

    .badge-count {
        background: rgba(255, 152, 0, 0.15);
        border: 1px solid #ff9800;
        color: #ff9800;
        border-radius: 50px;
        padding: 4px 14px;
        font-size: 0.9rem;
        font-weight: 600;
    }

    /* Empty state */
    .empty-state {
        text-align: center;
        padding: 80px 20px;
        color: #aaa;
    }
    .empty-state .empty-icon { font-size: 5rem; margin-bottom: 20px; opacity: 0.5; display:block; }
    .empty-state h3 { color: #fff; font-size: 1.4rem; margin-bottom: 10px; }

    /* Purchase card */
    .purchase-card {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px;
        overflow: hidden;
        margin-bottom: 22px;
        transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }
    .purchase-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(0,0,0,0.45);
        border-color: rgba(255,152,0,0.3);
    }
    .purchase-card-inner { display: flex; }

    /* Poster column */
    .card-poster {
        width: 110px;
        min-width: 110px;
        position: relative;
        overflow: hidden;
        background: #111;
    }
    .card-poster img { width:100%; height:100%; object-fit:cover; display:block; }
    .card-poster .no-poster {
        width:100%; height:100%; min-height:170px;
        display:flex; align-items:center; justify-content:center;
        font-size:2.5rem;
        background: linear-gradient(135deg,#1a1a2e,#16213e);
        color:#ff9800;
    }

    /* Main content */
    .card-content {
        flex: 1;
        padding: 20px 24px;
        color: #fff;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .card-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 15px;
        flex-wrap: wrap;
    }
    .movie-title { font-size:1.2rem; font-weight:700; color:#fff; margin:0; line-height:1.3; }

    .badge-status {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 4px 12px;
        border-radius: 50px;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }
    .badge-status.pagada   { background:rgba(76,175,80,0.15); border:1px solid #4caf50; color:#a5d6a7; }
    .badge-status.pendiente{ background:rgba(255,152,0,0.15);  border:1px solid #ff9800; color:#ffe082; }
    .badge-status.cancelada{ background:rgba(244,67,54,0.15);  border:1px solid #f44336; color:#ef9a9a; }

    /* Info grid */
    .card-meta {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
        gap: 8px 20px;
    }
    .meta-item { display:flex; flex-direction:column; gap:2px; }
    .meta-label { font-size:0.73rem; color:#777; text-transform:uppercase; letter-spacing:0.6px; }
    .meta-value  { font-size:0.9rem; color:#ddd; font-weight:500; }

    /* Footer */
    .card-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px;
        padding-top: 14px;
        border-top: 1px solid rgba(255,255,255,0.06);
        margin-top: auto;
    }
    .reservation-ref { font-family:monospace; font-size:1rem; color:#ff9800; letter-spacing:1.5px; font-weight:600; }
    .amount-label { font-size:1.2rem; font-weight:800; color:#fff; }
    .amount-label small { font-size:0.8rem; color:#888; font-weight:400; }

    .card-actions { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }

    .btn-sm {
        padding: 9px 18px;
        font-size: 0.87rem;
        border-radius: 8px;
        font-weight: 600;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: all 0.2s ease;
        cursor: pointer;
        border: none;
    }
    .btn-download {
        background: linear-gradient(135deg,#ff9800,#f57c00);
        color: #fff;
        box-shadow: 0 4px 15px rgba(255,152,0,0.3);
    }
    .btn-download:hover {
        background: linear-gradient(135deg,#ffb300,#ff9800);
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(255,152,0,0.45);
        color: #fff;
    }
    .btn-view {
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.12);
        color: #ccc;
    }
    .btn-view:hover { background:rgba(255,255,255,0.12); color:#fff; border-color:rgba(255,255,255,0.25); }

    .seats-pill {
        background: rgba(255,255,255,0.07);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 6px;
        padding: 2px 10px;
        font-size: 0.82rem;
        color: #aaa;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    @media (max-width:640px) {
        .purchase-card-inner { flex-direction:column; }
        .card-poster { width:100%; height:180px; min-width:auto; }
        .card-poster .no-poster { min-height:120px; }
    }


/* ============ Extraído de: app/Views/home/reserva/pago.php ============ */
.payment-container {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        margin-top: 30px;
        color: #fff;
        justify-content: center;
    }
    
    .checkout-form {
        flex: 1;
        min-width: 320px;
        max-width: 500px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        padding: 30px;
    }

    .booking-summary-card {
        width: 380px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 30px;
        align-self: flex-start;
    }

    /* CARD FLIP ANIMATION */
    .card-space {
        perspective: 1000px;
        width: 100%;
        max-width: 350px;
        height: 200px;
        margin: 0 auto 30px auto;
    }

    .credit-card {
        width: 100%;
        height: 100%;
        position: relative;
        transform-style: preserve-3d;
        transition: transform 0.6s ease;
        border-radius: 15px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    }

    .credit-card.flipped {
        transform: rotateY(180deg);
    }

    .card-front, .card-back {
        width: 100%;
        height: 100%;
        position: absolute;
        backface-visibility: hidden;
        border-radius: 15px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .card-front {
        background: linear-gradient(135deg, #1f1c2c 0%, #928dab 100%);
    }

    .card-back {
        background: linear-gradient(135deg, #2c3e50 0%, #0f2027 100%);
        transform: rotateY(180deg);
        padding: 20px 0;
    }

    /* Front Styles */
    .card-chip {
        width: 40px;
        height: 30px;
        background: radial-gradient(circle, #f9d976 0%, #e9b646 100%);
        border-radius: 5px;
    }

    .card-logo {
        font-weight: bold;
        font-style: italic;
        font-size: 1.4rem;
        color: #ff9800;
        text-align: right;
    }

    .card-number-display {
        font-size: 1.3rem;
        letter-spacing: 2px;
        font-family: 'Courier New', monospace;
        margin: 20px 0;
    }

    .card-meta {
        display: flex;
        justify-content: space-between;
        font-size: 0.8rem;
        text-transform: uppercase;
        color: rgba(255,255,255,0.7);
    }

    .card-holder-display {
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Back Styles */
    .card-stripe {
        width: 100%;
        height: 40px;
        background: #111;
        margin-top: 10px;
    }

    .card-signature-area {
        margin: 15px 20px 0 20px;
        background: #fff;
        height: 35px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding-right: 10px;
        border-radius: 3px;
    }

    .card-cvv-display {
        color: #000;
        font-weight: bold;
        font-family: monospace;
        letter-spacing: 1px;
    }

    .card-back-text {
        font-size: 0.6rem;
        color: rgba(255,255,255,0.5);
        padding: 10px 20px;
        text-align: justify;
    }

    /* Form Fields */
    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-size: 0.9rem;
        color: #ccc;
    }

    .form-control {
        width: 100%;
        padding: 12px;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: 6px;
        color: #fff;
        font-size: 1rem;
        outline: none;
        transition: border 0.3s ease;
    }

    .form-control:focus {
        border-color: #ff9800;
    }

    .row-fields {
        display: flex;
        gap: 15px;
    }

    .row-fields .form-group {
        flex: 1;
    }

    .btn-checkout {
        display: block;
        width: 100%;
        padding: 14px;
        background: #ff9800;
        border: none;
        border-radius: 6px;
        color: #000;
        font-weight: bold;
        font-size: 1.1rem;
        cursor: pointer;
        transition: background 0.2s ease;
        margin-top: 10px;
    }

    .btn-checkout:hover {
        background: #e68a00;
    }

    /* Summary Details */
    .booking-summary-card h3 {
        color: #ff9800;
        margin-top: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 10px;
    }

    .summary-item {
        display: flex;
        justify-content: space-between;
        margin-bottom: 12px;
        font-size: 0.95rem;
        color: #ccc;
    }

    .summary-item strong {
        color: #fff;
    }

    .selected-seats-container {
        margin: 15px 0;
    }

    .seat-badge {
        display: inline-block;
        background: rgba(255, 152, 0, 0.2);
        border: 1px solid #ff9800;
        color: #ff9800;
        padding: 3px 6px;
        border-radius: 4px;
        font-size: 0.8rem;
        margin-right: 5px;
        margin-bottom: 5px;
    }

    .summary-total {
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        justify-content: space-between;
        font-size: 1.2rem;
        font-weight: bold;
    }

    .summary-total span {
        color: #ff9800;
    }

    .summary-subitem {
        margin: 6px 0 0 0;
        font-size: 0.9rem;
        color: #bbb;
    }


/* Nota: .products-step, .product-grid, .product-card y .btn-primary
   de esta sección se removieron de aquí porque ya están definidas
   localmente dentro de app/Views/home/reserva/productos.php (su propio
   <style>). Estar duplicadas sin aislar aquí pisaba el diseño de
   Alimentos y bebidas en cartelera.php y el color de los botones
   .btn-primary en todo el sitio. */
    .summary-card {
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 14px;
        padding: 20px;
        position: sticky;
        top: 20px;
        align-self: start;
    }
    .summary-card h3 {
        color: #ff9800;
        margin-top: 0;
    }
    .summary-item {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 10px;
        color: #ddd;
    }
    .summary-total {
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 12px;
        margin-top: 12px;
        display: flex;
        justify-content: space-between;
        font-weight: 700;
    }
    @media (max-width: 900px) {
        .summary-card { position: static; }
    }



/* ============================================================
   CINE_DETALLE.PHP — Cartelera por cine (clases exclusivas cd-)
   Todo lo de esta sección usa el prefijo "cd-" a propósito:
   así ninguna regla de aquí puede afectar cartelera.php,
   cines.php ni ninguna otra vista que reutilice nombres
   genéricos como .movie-card, .movie-card-poster, etc.
   ============================================================ */

/* --- Línea de formatos + dirección bajo el título del cine --- */
/* --- Banner de promoción activa (filtro de tipo de sala) --- */
.cd-promo-banner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    background: rgba(229, 18, 31, 0.12);
    border: 1px solid rgba(229, 18, 31, 0.35);
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 18px;
    color: #fff;
}

.cd-promo-banner-icon {
    font-size: 1.1rem;
}

.cd-promo-banner-text {
    flex: 1;
    font-size: 0.9rem;
}

.cd-promo-banner-cancel {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    white-space: nowrap;
}

.cd-promo-banner-cancel:hover {
    text-decoration: underline;
}

.cd-formats-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.cd-format-tag {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cd-sep {
    color: rgba(255,255,255,0.25);
    font-size: 0.8rem;
}

.cd-address {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

/* --- Chips de fecha --- */
.cd-date-chip-row-wrap {
    margin: 18px 0 20px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.cd-date-chip-row-wrap::-webkit-scrollbar {
    display: none;
}

.cd-date-chip-row {
    display: flex;
    gap: 10px;
    padding-bottom: 2px;
}

.cd-date-chip {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 64px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.cd-date-chip:hover {
    border-color: rgba(229, 18, 31, 0.5);
}

.cd-date-chip.is-active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 10px 22px rgba(229, 18, 31, 0.3);
}

.cd-date-chip-day {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cd-date-chip-date {
    font-size: 0.78rem;
    color: var(--muted);
}

.cd-date-chip.is-active .cd-date-chip-date {
    color: rgba(255,255,255,0.85);
}

/* --- Listado de películas --- */
.cd-movie-list {
    display: grid;
    gap: 22px;
}

/* --- Tarjeta horizontal de película --- */
.cd-card {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 20px;
    align-items: start;
    background: linear-gradient(135deg, rgba(16,27,45,0.98), rgba(10,19,33,0.95));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.cd-card-poster {
    position: relative;
    width: 160px;
    max-width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 14px;
    background: #1d2a3f;
    flex-shrink: 0;
}

.cd-card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cd-badge {
    position: absolute;
    top: 10px;
    z-index: 5;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 6px;
    line-height: 1.4;
}

.cd-badge-class {
    right: 10px;
    background: var(--primary);
    color: #fff;
}

.cd-badge-duration {
    left: 10px;
    background: rgba(0,0,0,0.72);
    color: #fff;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.cd-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.cd-card-header {
    margin-bottom: 18px;
}

.cd-card-header h3 {
    margin: 0 0 4px;
    font-size: 1.2rem;
    color: #fff;
}

.cd-card-header p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

/* --- Filas de formato (2D, 3D, VIP, etc.) con sus horarios --- */
.cd-formats {
    display: grid;
    gap: 14px;
}

.cd-format-row {
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.cd-format-row:first-child {
    padding-top: 0;
    border-top: none;
}

.cd-format-row-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
    gap: 12px;
}

.cd-format-row-name {
    font-weight: 700;
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cd-format-row-price {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 600;
    white-space: nowrap;
}

.cd-showtime-pills {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
    gap: 8px;
}

.cd-showtime-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 6px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.05);
    transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.cd-showtime-pill:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.cd-ticket-icon {
    font-size: 0.85rem;
}

.cd-showtime-pill.disp-alta {
    border-color: rgba(46, 204, 113, 0.4);
    background: rgba(46, 204, 113, 0.12);
}

.cd-showtime-pill.disp-media {
    border-color: rgba(255, 204, 0, 0.4);
    background: rgba(255, 204, 0, 0.1);
}

.cd-showtime-pill.disp-baja {
    border-color: rgba(229, 18, 31, 0.5);
    background: rgba(229, 18, 31, 0.14);
}

.cd-showtime-pill.lleno {
    border-color: rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: var(--muted);
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 640px) {
    .cd-card {
        grid-template-columns: 1fr;
    }

    .cd-card-poster {
        width: 140px;
        margin: 0 auto;
    }

    .cd-format-row-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .cd-showtime-pills {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }
}

/* ============================================================
   promociones.php — Sección pública de promociones (clases pr-)
   Namespace exclusivo para no chocar con .promo-card usado en
   cartelera.php, alimentos.php, cines.php, productos.php, etc.
   ============================================================ */

.pr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 20px;
}

.pr-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(16,27,45,0.98), rgba(10,19,33,0.95));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.pr-card-inactive {
    opacity: 0.6;
}

.pr-card-img {
    position: relative;
    width: 100%;
    height: 170px;
    background-color: #1d2a3f;
    background-size: cover;
    background-position: center;
}

.pr-type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(0,0,0,0.65);
    color: #fff;
    backdrop-filter: blur(4px);
}

.pr-type-entrada {
    background: rgba(229, 18, 31, 0.85);
}

.pr-expired-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    background: rgba(0,0,0,0.75);
    color: #ff8b8b;
}

.pr-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    flex: 1;
}

.pr-card-body h3 {
    margin: 0;
    color: #fff;
    font-size: 1.15rem;
}

.pr-description {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.pr-days {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.pr-day-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    padding: 4px 6px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(255,255,255,0.05);
    color: var(--muted);
    border: 1px solid rgba(255,255,255,0.08);
}

.pr-day-active {
    background: rgba(229, 18, 31, 0.18);
    color: var(--primary);
    border-color: rgba(229, 18, 31, 0.4);
}

.pr-combo-includes {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 10px 12px;
}

.pr-combo-includes-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--gold);
    margin-bottom: 4px;
}

.pr-combo-includes ul {
    margin: 0;
    padding-left: 18px;
    color: #ddd;
    font-size: 0.85rem;
}

.pr-validity {
    font-size: 0.78rem;
    color: var(--muted);
}

.pr-motivo {
    margin: 0;
    font-size: 0.82rem;
    color: #ffb347;
    background: rgba(255, 179, 71, 0.1);
    border: 1px solid rgba(255, 179, 71, 0.25);
    border-radius: 8px;
    padding: 6px 10px;
}

.pr-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: auto;
}

.pr-price-old {
    text-decoration: line-through;
    color: var(--muted);
    font-size: 0.9rem;
}

.pr-price-final {
    color: var(--gold);
    font-size: 1.25rem;
    font-weight: 800;
}

.pr-card-actions {
    margin-top: 6px;
}

.pr-btn {
    width: 100%;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pr-btn-disabled,
.pr-add-to-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* --- Notificaciones flotantes (toast) --- */
.pr-toast-stack {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pr-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 260px;
    max-width: 340px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #14202f;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
    color: #fff;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.pr-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.pr-toast-success {
    border-left: 4px solid #2ecc71;
}

.pr-toast-error {
    border-left: 4px solid var(--primary);
}

.pr-toast-icon {
    font-size: 1.1rem;
}

.pr-toast-success .pr-toast-icon {
    color: #2ecc71;
}

.pr-toast-error .pr-toast-icon {
    color: var(--primary);
}

.pr-toast-msg {
    flex: 1;
    font-size: 0.88rem;
}

.pr-toast-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    white-space: nowrap;
}

.pr-toast-link:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .pr-toast-stack {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .pr-toast {
        min-width: 0;
        max-width: none;
        width: 100%;
    }
}

/*==========================
    CARRITO MODERNO
==========================*/

.cart-item{
    display:flex;
    gap:16px;
    padding:16px;
    margin-bottom:18px;
    background:#1f1f1f;
    border:1px solid #2d2d2d;
    border-radius:18px;
    transition:.25s;
    align-items:flex-start;
}

.cart-item:hover{
    border-color:#f5c518;
    transform:translateY(-2px);
    box-shadow:0 8px 22px rgba(0,0,0,.25);
}

.cart-item-thumb{
    width:88px;
    height:88px;
    flex-shrink:0;
    border-radius:14px;
    overflow:hidden;
    background:#2a2a2a;
}

.cart-item-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.cart-item-content{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:14px;
}

.cart-item-top{
    display:flex;
    justify-content:space-between;
    gap:14px;
}

.cart-item-info{
    flex:1;
}

.cart-item-info h4{
    margin:0;
    color:#fff;
    font-size:17px;
    font-weight:700;
    line-height:1.35;
}

.promo-badge{

    display:inline-flex;

    align-items:center;

    gap:6px;

    margin-top:8px;

    padding:5px 12px;

    border-radius:999px;

    background:#f5c518;

    color:#000;

    font-size:12px;

    font-weight:700;

}

.cart-price{

    margin-top:10px;

    display:flex;

    justify-content:space-between;

    color:#bdbdbd;

    font-size:14px;

}

.cart-price strong{

    color:#fff;

    font-size:15px;

}

.cart-item-bottom{
    margin-top:auto;
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    padding-top:14px;
    border-top:1px solid #333;
}

.cart-item-left{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
}

.qty-stepper{

    display:flex;

    align-items:center;

    gap:8px;

}

.qty-btn{

    width:36px;

    height:36px;

    border:none;

    border-radius:50%;

    background:#333;

    color:#fff;

    cursor:pointer;

    font-size:18px;

    transition:.2s;

}

.qty-btn:hover{

    background:#f5c518;

    color:#000;

}

.quantity-input{

    width:52px;

    height:36px;

    border:1px solid #444;

    background:#262626;

    color:#fff;

    border-radius:8px;

    text-align:center;

    font-weight:600;

}

.cart-subtotal{

    text-align:right;

}

.cart-subtotal span{

    display:block;

    color:#bfbfbf;

    font-size:13px;

}

.cart-subtotal strong{

    color:#fff;

    font-size:20px;

    font-weight:700;

}

.remove-item{

    padding:0;

    margin-left:6px;

    border:none;

    background:none;

    color:#ff6666;

    font-size:13px;

    cursor:pointer;

    transition:.25s;

}

.remove-item:hover{

    color:#ff2d2d;

    text-decoration:underline;

}

.cp-drawer-footer{

    border-top:1px solid #333;

    padding:22px;

    background:#181818;

}

.cart-totals>div{

    display:flex;

    justify-content:space-between;

    margin-bottom:12px;

    color:#ddd;

    font-size:15px;

}

.summary-total{

    margin-top:18px;

    padding-top:18px;

    border-top:1px solid #444;

    font-size:20px;

}

.summary-price{

    color:#f5c518;

    font-size:24px;

}

.discount{

    color:#4caf50;

    font-weight:700;

}

.cart-actions{

    margin-top:24px;

}

.cart-actions a{

    display:flex;

    justify-content:center;

    align-items:center;

    width:100%;

    height:52px;

    border-radius:12px;

    text-decoration:none;

    background:#f5c518;

    color:#000;

    font-weight:700;

    font-size:17px;

    transition:.25s;

}

.cart-actions a:hover{

    transform:translateY(-2px);

    background:#ffd84d;

}

.empty-state{

    text-align:center;

    color:#cfcfcf;

    padding:70px 20px;

}

.empty-state h4{

    color:#fff;

    margin:14px 0;

}

.cart-fab{

    box-shadow:0 8px 25px rgba(0,0,0,.30);

}

.cart-fab-badge{

    animation:pulse .8s infinite alternate;

}

@keyframes pulse{

    from{

        transform:scale(1);

    }

    to{

        transform:scale(1.18);

    }

}

@media(max-width:600px){

.cart-item{

flex-direction:column;

}

.cart-item-thumb{

width:100%;

height:180px;

}

.cart-item-top{

flex-direction:column;

}

.cart-item-bottom{

flex-direction:column;

align-items:flex-start;

}

.cart-subtotal{

width:100%;

text-align:left;

}

}