/* ================= ALERTA PERSONALIZADA (El Castillo del Sabor) ================= */
.alerta-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.alerta-overlay.visible {
    opacity: 1;
}

.alerta-caja {
    background: #1a1a1a;
    border: 1px solid rgba(255, 183, 3, 0.3);
    border-radius: 20px;
    padding: 28px 24px 22px;
    max-width: 340px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 183, 3, 0.08);
    transform: scale(0.9) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.alerta-overlay.visible .alerta-caja {
    transform: scale(1) translateY(0);
}

.alerta-icono {
    font-size: 2.2rem;
    margin-bottom: 12px;
    display: block;
}

.alerta-texto {
    color: #e0e0e0;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 18px;
}

/* Input dentro del modal */
.alerta-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 183, 3, 0.25);
    background: rgba(255, 255, 255, 0.06);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    outline: none;
    transition: all 0.3s ease;
    margin-bottom: 16px;
    box-sizing: border-box;
    text-align: center;
}

.alerta-input:focus {
    border-color: #FFB703;
    box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.15);
}

.alerta-input::placeholder {
    color: #666;
}

/* Botón principal dorado */
.alerta-btn {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #FFB703, #e6a200);
    color: #000;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
    -webkit-tap-highlight-color: transparent;
}

.alerta-btn:active {
    transform: scale(0.96);
    box-shadow: 0 2px 10px rgba(255, 183, 3, 0.3);
}

.alerta-btn:disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* Botón GPS dentro del modal */
.alerta-btn-gps {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid rgba(52, 152, 219, 0.3);
    border-radius: 14px;
    background: rgba(52, 152, 219, 0.12);
    color: #5dade2;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 12px;
    -webkit-tap-highlight-color: transparent;
}

.alerta-btn-gps:active {
    transform: scale(0.97);
}

.alerta-btn-gps.gps-ok {
    background: rgba(39, 174, 96, 0.15);
    border-color: rgba(39, 174, 96, 0.4);
    color: #2ecc71;
}

.alerta-gps-status {
    font-size: 0.75rem;
    color: #777;
    margin-bottom: 14px;
}

/* Botón cancelar (secundario) */
.alerta-btn-cancel {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 50px;
    background: transparent;
    color: #888;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 8px;
    -webkit-tap-highlight-color: transparent;
}

/* ================= MODAL CONFIRMACIÓN FINAL ================= */
.confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.confirm-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.confirm-caja {
    background: #1a1a1a;
    border: 1px solid rgba(255, 183, 3, 0.25);
    border-radius: 24px;
    padding: 28px 22px 22px;
    max-width: 370px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 183, 3, 0.06);
    transform: scale(0.92) translateY(12px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.confirm-overlay.visible .confirm-caja {
    transform: scale(1) translateY(0);
}

.confirm-titulo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.3;
}

.confirm-resumen {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.confirm-fila {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.confirm-fila-label {
    font-size: 0.85rem;
    color: #aaa;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.confirm-fila-valor {
    font-size: 0.95rem;
    color: white;
    font-weight: 600;
}

.confirm-total-box {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.12), rgba(230, 57, 70, 0.08));
    border: 1px solid rgba(255, 183, 3, 0.3);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 22px;
}

.confirm-total-label {
    font-size: 0.8rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.confirm-total-valor {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #FFB703;
    text-shadow: 0 2px 12px rgba(255, 183, 3, 0.25);
}

.confirm-btn-enviar {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #27ae60, #1e8449);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
    -webkit-tap-highlight-color: transparent;
}

.confirm-btn-enviar:active {
    transform: scale(0.97);
}

.confirm-btn-corregir {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    background: transparent;
    color: #999;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.confirm-btn-corregir:active {
    background: rgba(255, 255, 255, 0.05);
}

/* ================= PRODUCT DETAIL MODAL ================= */

/* Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    touch-action: manipulation;
    /* Prevent pinch-zoom so arrows stay visible */
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1010;
    backdrop-filter: blur(8px);
}

.modal-close:hover {
    background: var(--brand-red);
    transform: rotate(90deg) scale(1.1);
}

/* Navigation Arrows */
.modal-nav-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    animation: arrowPulse 2s ease-in-out infinite;
    line-height: 1;
    padding-bottom: 3px;
}

.modal-nav-prev {
    left: 8px;
}

.modal-nav-next {
    right: 8px;
}

.modal-nav-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.15);
}

@keyframes arrowPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* 3D Perspective Container */
.modal-card-wrapper {
    perspective: 1200px;
    width: 100%;
    max-width: 78vw;
    transform: scale(0.8) translateY(30px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.modal-overlay.active .modal-card-wrapper {
    transform: scale(1) translateY(0);
}

/* Inner card that flips */
.modal-card-inner {
    position: relative;
    width: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform-style: preserve-3d;
}

.modal-card-inner.flipped {
    transform: rotateY(180deg);
}

/* Shared face styles */
.modal-front,
.modal-back {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(230, 57, 70, 0.1);
}

.modal-back {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotateY(180deg);
}

/* ================= FRONT FACE ================= */
.modal-front-img-container {
    width: 100%;
    height: 38vh;
    min-height: 290px;
    max-height: 44vh;
    position: relative;
    background: radial-gradient(circle at center, #2f2f2f 0%, #0f0f0f 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 800px;
}

/* Reflective light sweep */
.modal-front-img-container::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: radial-gradient(ellipse at 30% 40%, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
    animation: lightSweep 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 3;
}

.modal-front-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    z-index: 2;
    animation: product3DRotate 8s ease-in-out infinite;
    transform-style: preserve-3d;
    mix-blend-mode: screen;
    mask-image: radial-gradient(circle at center, black 65%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 65%, transparent 100%);
}

@keyframes product3DRotate {

    0%,
    100% {
        transform: rotateY(0deg) translateY(0) scale(1);
    }

    25% {
        transform: rotateY(20deg) translateY(-6px) scale(1.02);
    }

    50% {
        transform: rotateY(0deg) translateY(-10px) scale(1.03);
    }

    75% {
        transform: rotateY(-20deg) translateY(-6px) scale(1.02);
    }
}

@keyframes lightSweep {

    0%,
    100% {
        background-position: 30% 40%;
        opacity: 0.5;
    }

    50% {
        background-position: 70% 60%;
        opacity: 1;
    }
}

/* Price badge floating */
.modal-price-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--brand-red);
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.5);
    z-index: 5;
    letter-spacing: -0.3px;
}

/* Front info section */
.modal-front-info {
    padding: 24px 20px 20px;
}

.modal-front-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 6px;
    line-height: 1.2;
}

.modal-front-desc {
    font-size: 0.95rem;
    color: #999;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Variants Section */
.modal-variants-container {
    margin-bottom: 20px;
}

.variants-label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 700;
}

.variants-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.variant-btn {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ccc;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.variant-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.variant-btn.active {
    background: rgba(255, 183, 3, 0.15);
    border-color: var(--brand-gold);
    color: var(--brand-gold);
}

/* Action buttons container */
.modal-actions {
    display: flex;
    gap: 10px;
    padding: 0 20px 20px;
    flex-wrap: wrap;
}

/* Quantity controls row */
.modal-qty-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    margin-bottom: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 6px 8px;
}

.modal-qty-btn {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
}

.modal-qty-btn:active {
    transform: scale(0.9);
}

.modal-qty-minus {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

.modal-qty-minus:active {
    background: rgba(231, 76, 60, 0.4);
}

.modal-qty-plus {
    background: rgba(39, 174, 96, 0.2);
    color: #2ecc71;
}

.modal-qty-plus:active {
    background: rgba(39, 174, 96, 0.4);
}

.modal-qty-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    min-width: 50px;
    text-align: center;
}

.modal-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 16px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.modal-btn-flip {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.modal-btn-flip:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.modal-btn-cart {
    background: var(--brand-red);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.modal-btn-cart:hover {
    background: #FF5A6E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.5);
}

.modal-btn-cart.added {
    background: #27ae60;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

.modal-btn-order {
    background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
    color: white;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

.modal-btn-order:hover {
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.5);
    transform: translateY(-2px);
}

/* ================= BACK FACE ================= */
.modal-back {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
}

.modal-back-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-back-thumb {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    background: #1a1a1a;
}

.modal-back-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.modal-back-price {
    font-size: 0.95rem;
    color: var(--brand-gold);
    font-weight: 700;
    margin-top: 2px;
}

/* Section label */
.modal-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brand-gold);
    font-weight: 700;
    margin-bottom: 10px;
}

.modal-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(255, 183, 3, 0.3), transparent);
}

/* Ingredient text */
.modal-ingredients-text {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Details text */
.modal-details-text {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
}

/* Back flip button */
.modal-btn-back {
    margin-top: auto;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-btn-back:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

/* ================= CART COUNTER (floating) ================= */
.cart-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--brand-red);
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 500;
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.5);
    cursor: pointer;
    transition: transform 0.3s ease;
    border: none;
}

.cart-float.visible {
    display: flex;
}

.cart-float:hover {
    transform: scale(1.1);
}

.cart-float svg {
    width: 24px;
    height: 24px;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--brand-gold);
    color: #000;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================= CART PANEL (slide-up) ================= */
.cart-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 70vh;
    background: #1a1a1a;
    border-radius: 24px 24px 0 0;
    z-index: 1100;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    /* Flexbox: header + items scroll + total/botón fijos abajo */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cart-panel.open {
    transform: translateY(0);
}

.cart-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    background: #1a1a1a;
    z-index: 5;
}

.cart-panel-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.cart-panel-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.cart-panel-close:hover {
    background: var(--brand-red);
}

.cart-items-list {
    padding: 16px 24px;
    /* Scroll independiente de la lista de items */
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    position: relative;
}

/* Píldora flotante "▼ X más" — siempre visible, imposible de ignorar */
.cart-scroll-pill {
    position: sticky;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 20px;
    margin: 0 auto;
    width: fit-content;
    background: rgba(255, 183, 3, 0.15);
    border: 1px solid rgba(255, 183, 3, 0.4);
    border-radius: 20px;
    color: var(--brand-gold, #FFB703);
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: pillPulse 2s ease-in-out infinite;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    z-index: 2;
}

.cart-scroll-pill .pill-arrow {
    font-size: 0.65rem;
    animation: pillBounce 1.5s ease-in-out infinite;
}

@keyframes pillPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 183, 3, 0.2); }
    50% { box-shadow: 0 0 12px 4px rgba(255, 183, 3, 0.15); }
}

@keyframes pillBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

.cart-item-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.cart-item-row:last-child {
    border-bottom: none;
}

.cart-item-thumb {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    background: #2a2a2a;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
}

.cart-item-price {
    font-size: 0.85rem;
    color: var(--brand-gold);
    font-weight: 700;
}

/* Quantity controls */
.cart-qty-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cart-qty-btn:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
}

.cart-qty-num {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    min-width: 20px;
    text-align: center;
}

/* Cart total */
.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: rgba(255, 183, 3, 0.08);
    border-top: 1px solid rgba(255, 183, 3, 0.15);
    /* Siempre visible en el fondo del panel */
    flex-shrink: 0;
}

.cart-total-label {
    font-size: 1rem;
    color: #aaa;
    font-weight: 600;
}

.cart-total-price {
    font-size: 1.4rem;
    color: var(--brand-gold);
    font-weight: 800;
}

/* Empty cart */
.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 0.95rem;
}

.cart-empty-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    display: block;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 400px) {
    .modal-card-wrapper {
        max-width: 100%;
    }

    .modal-front-img-container {
        height: 220px;
    }

    .modal-front-title {
        font-size: 1.3rem;
    }

    .modal-actions {
        flex-direction: column;
    }
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* ================= CART CONFIRM BUTTON ================= */
.cart-confirm-container {
    padding: 12px 24px 20px;
    background: #1a1a1a;
    /* Siempre visible en el fondo del panel */
    flex-shrink: 0;
}

.cart-confirm-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
    letter-spacing: 0.3px;
}

.cart-confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.5);
}

.cart-confirm-btn:active {
    transform: translateY(0);
}

/* Variante para carrito vacío: "Seguir Viendo el Menú" */
.cart-confirm-btn.cart-confirm-empty {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.4);
}

/* ================= ORDER CONFIRMATION MODAL ================= */
.order-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.order-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.order-modal-content {
    background: var(--bg-card, #1e1e1e);
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    max-height: 85vh;
    max-height: 85dvh;
    display: flex;
    flex-direction: column;
    padding: 18px 16px 12px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.order-modal-body {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    margin: -18px -16px -12px;
    padding: 18px 16px 12px;
}

.order-modal-overlay.active .order-modal-content {
    transform: scale(1) translateY(0);
}

.order-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.order-modal-close:hover {
    background: var(--brand-red, #e63946);
}

.order-modal-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    text-align: center;
}

/* Etiqueta de paso */
.checkout-step-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    margin-bottom: 10px;
}

/* ===== TARJETAS DE SELECCIÓN (Cards grandes touch-friendly) ===== */
.order-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 14px 8px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    font-family: 'Outfit', sans-serif;
    color: #eee;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.type-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(30deg) translateX(-100%);
    transition: all 0.6s ease;
}

.type-card:not(.active) {
    animation: typeCardIdlePulse 2.5s infinite;
}

@keyframes typeCardIdlePulse {
    0% { border-color: rgba(255, 255, 255, 0.12); }
    50% { border-color: rgba(255, 183, 3, 0.4); box-shadow: 0 8px 24px rgba(255, 183, 3, 0.1); }
    100% { border-color: rgba(255, 255, 255, 0.12); }
}

.type-card:hover::after {
    transform: rotate(30deg) translateX(100%);
}

.type-card:active {
    transform: scale(0.96);
}

.type-card.active {
    background: linear-gradient(145deg, rgba(37, 211, 102, 0.15), rgba(37, 211, 102, 0.05));
    border-color: #25D366; /* Verde WhatsApp */
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.3);
    transform: translateY(-2px);
}

.type-card.active .type-card-title {
    color: #25D366;
}

.type-card-icon {
    font-size: 1.6rem;
    line-height: 1;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4));
}

.type-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #eee;
    transition: color 0.3s ease;
}

.type-card-sub {
    font-size: 0.7rem;
    font-weight: 400;
    color: #777;
}

/* ===== SECCIONES DESPLEGABLES (Mesa / Domicilio) ===== */
.checkout-section {
    animation: checkoutSlideIn 0.35s ease-out;
    padding-bottom: 20px;
}

@keyframes checkoutSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.checkout-section-header {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-gold, #FFB703);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Caja informativa (pago en mesa) */
.checkout-info-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 183, 3, 0.06);
    border: 1px solid rgba(255, 183, 3, 0.15);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 16px;
    line-height: 1.4;
}

.checkout-info-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ===== BOTÓN GPS ===== */
.checkout-btn-gps {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: rgba(52, 152, 219, 0.12);
    border: 1px solid rgba(52, 152, 219, 0.3);
    border-radius: 14px;
    color: #5dade2;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.checkout-btn-gps:active {
    transform: scale(0.97);
}

.gps-btn-icon {
    font-size: 1.1rem;
}

.gps-status {
    font-size: 0.75rem;
    color: #777;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 4px;
}

.alerta-pay-opt:active {
    transform: scale(0.96);
}

/* ===== DISPLAY DE VUELTAS ===== */
.vueltas-display {
    margin-top: 10px;
    padding: 10px 14px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    min-height: 0;
    transition: all 0.3s ease;
}

.vueltas-display:empty {
    display: none;
}

/* ===== BOTÓN FINAL WHATSAPP (Verde, grande, full-width, SIEMPRE VISIBLE) ===== */
.checkout-btn-whatsapp {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 24px;
    margin-top: 8px;
    background: #25D366;
    border: none;
    border-radius: 16px;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    /* Fijo en la parte inferior del modal */
    position: sticky;
    bottom: 0;
    z-index: 5;
}

.checkout-btn-whatsapp:active {
    transform: scale(0.97);
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}

.checkout-btn-whatsapp svg {
    flex-shrink: 0;
}

/* ===== BOTÓN TRANSFERENCIA / NEQUI (Morado premium) ===== */
.checkout-btn-transfer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    margin-top: 10px;
    background: linear-gradient(135deg, #4A148C, #6A1B9A);
    border: 1px solid rgba(106, 27, 154, 0.4);
    border-radius: 16px;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(74, 20, 140, 0.3);
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.checkout-btn-transfer:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(74, 20, 140, 0.25);
}

/* ===== FORM INPUTS (Grandes y touch-friendly: mínimo 50px) ===== */
.order-form-group {
    margin-bottom: 12px;
}

.order-form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #bbb;
    margin-bottom: 8px;
}

.order-input {
    width: 100%;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    outline: none;
    transition: all 0.3s ease;
    min-height: 50px;
    box-sizing: border-box;
}

.order-input:focus {
    border-color: var(--brand-gold, #FFB703);
    box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.15);
}

.order-input::placeholder {
    color: #666;
}

.order-input-error {
    border-color: var(--brand-red, #e63946) !important;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2) !important;
    animation: inputShake 0.4s ease;
}

@keyframes inputShake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-8px);
    }

    50% {
        transform: translateX(8px);
    }

    75% {
        transform: translateX(-4px);
    }
}

/* Order preview */
.order-preview {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 16px;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    /* Limitar altura para que no empuje el formulario y botón fuera de pantalla */
    max-height: 35vh;
    overflow-y: auto;
    position: relative;
}

/* Sombra inferior sutil cuando hay más items */
.order-preview.can-scroll-preview::after {
    content: '▼';
    position: sticky;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 30%, transparent 100%);
    color: rgba(255, 183, 3, 0.5);
    font-size: 0.6rem;
    letter-spacing: 4px;
    animation: pillBounce 1.5s ease-in-out infinite;
    pointer-events: none;
}

.order-preview-header {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-gold, #FFB703);
    margin-bottom: 8px;
}

.order-preview-divider {
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
    margin: 10px 0;
}

.order-preview-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.order-preview-item:last-of-type {
    border-bottom: none;
}

.order-preview-item-name {
    font-size: 0.85rem;
    color: #e0e0e0;
    font-weight: 500;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 10px;
}

.order-preview-item-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.order-preview-qty-ctrl {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 2px;
}

.oq-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
}

.oq-btn:active {
    transform: scale(0.85);
}

.oq-minus {
    color: #e74c3c;
}

.oq-plus {
    color: #2ecc71;
}

.oq-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: white;
    min-width: 24px;
    text-align: center;
}

.order-preview-item-price {
    font-size: 0.85rem;
    color: #aaa;
    font-weight: 600;
    min-width: 55px;
    text-align: right;
}

.order-preview-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    color: var(--brand-gold, #FFB703);
}

/* Action buttons */
.order-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-btn {
    padding: 15px 20px;
    border: none;
    border-radius: 16px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
}

.order-btn-send {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.order-btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.order-btn-delivery {
    background: linear-gradient(135deg, #e67e22, #f39c12);
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

.order-btn-delivery:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.5);
}

.order-btn-location {
    background: linear-gradient(135deg, #3498db, #2980b9);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
    width: 100%;
}

.order-btn-location:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.5);
}

.order-btn-location.location-success {
    background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

/* Delivery Section */
.delivery-section {
    margin-top: 15px;
    animation: fadeInUp 0.4s ease;
}

.delivery-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 15px 0;
}

.delivery-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #f39c12;
    text-align: center;
    margin-bottom: 15px;
}

/* Location Status */
.location-status {
    font-size: 0.85rem;
    margin-top: 8px;
    padding: 4px 8px;
    border-radius: 8px;
}

.location-status.location-ok {
    color: #2ecc71;
}

.location-status.location-error {
    color: #e74c3c;
}

.location-link {
    color: #3498db;
    text-decoration: underline;
}

/* Payment Options */
.payment-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-option {
    flex: 1;
    min-width: 100px;
    padding: 12px 8px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.payment-option:hover:not(.disabled) {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.payment-option.active {
    border-color: #f39c12;
    background: rgba(243, 156, 18, 0.15);
    color: #f39c12;
    box-shadow: 0 0 15px rgba(243, 156, 18, 0.2);
}

.payment-option.disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= SUCCESS TOAST ================= */
.order-success-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    z-index: 9999;
    box-shadow: 0 8px 30px rgba(39, 174, 96, 0.5);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
    opacity: 0;
}

.order-success-toast.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}


/* ================= BEVERAGE MODAL (no 3D rotation) ================= */
/* Flat beverage images don't look good with horizontal rotateY.
   Keep the gentle float, remove the rotation. Show them bigger. */
.modal-overlay.beverage .modal-front-img {
    animation: beverageFloat 4s ease-in-out infinite;
    max-width: 92%;
    max-height: 92%;
}

.modal-overlay.beverage .modal-front-img-container {
    height: 42vh;
    min-height: 340px;
    max-height: 50vh;
}

@keyframes beverageFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.5));
    }

    50% {
        transform: translateY(-10px) scale(1.02);
        filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.4));
    }
}

/* ================= CELEBRACIÓN POST-ENVÍO ================= */
.celebration-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    overflow: hidden;
}

.celebration-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.celebration-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.celebration-content {
    text-align: center;
    z-index: 2;
    animation: celebrationPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    transform: scale(0.5);
    opacity: 0;
}

.celebration-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: celebrationBounce 1s ease infinite;
}

.celebration-title {
    font-size: 2rem;
    font-weight: 800;
    color: #FFB703;
    margin-bottom: 8px;
    text-shadow: 0 2px 15px rgba(255, 183, 3, 0.3);
}

.celebration-subtitle {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 28px;
}

.celebration-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: linear-gradient(135deg, #FFB703, #FB8500);
    color: #1a1a1a;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(255, 183, 3, 0.4);
}

.celebration-btn:active {
    transform: scale(0.95);
}

/* Botón de reseña Google en celebración */
.celebration-review-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #FFFFFF, #FFF8E1);
    color: #333;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid #FFB703;
    border-radius: 14px;
    margin-bottom: 14px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 18px rgba(255, 183, 3, 0.3);
    animation: reviewPulse 2s ease-in-out infinite;
}

.celebration-review-btn:active {
    transform: scale(0.95);
}

@keyframes reviewPulse {
    0%, 100% { box-shadow: 0 4px 18px rgba(255, 183, 3, 0.3); }
    50% { box-shadow: 0 4px 28px rgba(255, 183, 3, 0.6); }
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

@keyframes celebrationPop {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes celebrationBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}