/* --- ESTILOS GENERALES --- */
:root {
    --brand-color: #0d6efd;
    --brand-accent: #ff6b6b;
    --bg-canvas: #f4f6f9;
}

body {
    background-color: var(--bg-canvas);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding-bottom: 80px;
}

/* --- ENCABEZADO --- */
.hero-banner {
    background: linear-gradient(135deg, #0d6efd 0%, #0043a8 100%);
    border-radius: 0 0 24px 24px;
}

/* --- TARJETAS DE CUPONES --- */
.coupon-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.coupon-card:active {
    transform: scale(0.98);
}

.coupon-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.discount-tag {
    background: #fff3f3;
    color: var(--brand-accent);
    border: 1px dashed var(--brand-accent);
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 8px;
    padding: 6px 12px;
    display: inline-block;
}

/* --- BARRA DE CATEGORÍAS DESLIZABLE --- */
.category-scroll {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    padding-bottom: 8px;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.btn-chip {
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 16px;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #495057;
    margin-right: 8px;
    flex: 0 0 auto;
}

.btn-chip.active {
    background: var(--brand-color);
    color: #fff;
    border-color: var(--brand-color);
}

/* --- MODAL Y TICKET QR --- */
.ticket-modal {
    border-radius: 20px;
    border: none;
}

.ticket-stub {
    background: #fff;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 20px;
    position: relative;
}

#qrcode {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

#qrcode img {
    border-radius: 8px;
    padding: 6px;
    background: #fff;
    border: 1px solid #dee2e6;
}