/* =========================================
   DELIVERY MODAL
========================================= */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000; /* Asegura que cubra el Navbar (que tiene z-index 100/200) */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.is-active {
    opacity: 1;
    pointer-events: auto;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px); /* Efecto difuminado moderno */
    -webkit-backdrop-filter: blur(4px);
}

.modal__content {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-lg, 24px);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg, 0 20px 60px rgba(0,0,0,0.18));
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.is-active .modal__content {
    transform: translateY(0) scale(1);
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
    color: var(--dark);
    transition: background 0.2s ease;
}

.modal__close:hover {
    background: #e0e0e0;
}

.modal__close svg {
    width: 20px;
    height: 20px;
}

.modal__title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.modal__desc {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.modal__apps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.delivery-app-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border: 2px solid #f0f0f0;
    border-radius: var(--radius-md, 16px);
    text-decoration: none;
    color: var(--dark);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.25s ease;
}

.delivery-app-btn:hover {
    border-color: var(--orange);
    background: rgba(248, 153, 29, 0.05); /* Tinte naranja sutil al pasar el mouse */
    transform: translateY(-2px);
}

.delivery-app-btn img {
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}


/* =========================================
   Fila final del popup: precio a la izquierda,
   "Pídelo en:" + logos a la derecha
========================================= */
.modal__expand-footer {
    margin-top: 1.2rem;
   
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.modal__expand-order {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.modal__expand-order-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.modal__expand-order-logos {
    display: flex;
    gap: 0.5rem;
}

.modal__expand-order-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}