		/* =========================
   MODAL CARRITO PRO
========================= */

#staplesbmincart .modal-content {
    border-radius: 18px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    overflow: hidden;
}

/* HEADER */
#staplesbmincart .modal-header {
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 25px;
}

#staplesbmincart .modal-title {
    font-size: 26px;
    font-weight: 600;
    color: #111;
}

/* BODY */
#staplesbmincart .modal-body {
    padding: 20px 25px;
    max-height: 400px;
    overflow-y: auto;
}

/* ITEM DEL CARRITO */
#staplesbmincart .item-carrito {
    display: grid;
    grid-template-columns: 1fr 40px 90px 50px;
    align-items: center;
    gap: 10px;

    padding: 12px;
    border-radius: 12px;
    transition: 0.2s;
}

#staplesbmincart .item-carrito:hover {
    background: #f7f9fc;
}

/* NOMBRE */
#staplesbmincart .item-nombre {
    font-size: 15px;
    font-weight: 500;
}

/* CANTIDAD */
#staplesbmincart .item-cantidad {
    text-align: center;
    font-weight: 600;
}

/* PRECIO */
#staplesbmincart .item-precio {
    text-align: right;
    font-weight: 700;
}

/* DELETE */
#staplesbmincart .item-delete button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #ff4d4d;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.3s;
}

#staplesbmincart .item-delete button:hover {
    background: #ff4d4d;
    color: #fff;
}

/* FOOTER */
#staplesbmincart .modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 25px;
    border-top: 1px solid #f0f0f0;
}

/* BOTON WHATSAPP */
#staplesbmincart #whatsapp {
    flex: 1;
    background: linear-gradient(135deg, #25d366, #1ebe5d);
    border: none;
    color: #fff;

    border-radius: 50px;
    padding: 14px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    font-weight: 600;
    font-size: 15px;

    box-shadow: 0 6px 20px rgba(37,211,102,0.3);
    transition: 0.3s;
}

/* ICONO WHATSAPP */
#staplesbmincart .logo-whatsapp {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

/* HOVER */
#staplesbmincart #whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37,211,102,0.45);
}

/* BOTON VACIAR */
#staplesbmincart #vaciar {
    width: 55px;
    height: 55px;

    border-radius: 50%;
    border: 1px solid #eee;

    background: #fff;
    color: #ff4d4d;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    transition: 0.3s;
}

/* HOVER */
#staplesbmincart #vaciar:hover {
    background: #ff4d4d;
    color: #fff;
    transform: scale(1.1);
}

/* SCROLL SUAVE */
#staplesbmincart .modal-body::-webkit-scrollbar {
    width: 6px;
}

#staplesbmincart .modal-body::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}

/* RESPONSIVE */
@media (max-width: 576px){

    #staplesbmincart .modal-dialog {
        margin: 10px;
    }

    #staplesbmincart .modal-title {
        font-size: 20px;
    }

    #staplesbmincart #whatsapp {
        font-size: 14px;
        padding: 12px;
    }
}

		/* =========================
   MODAL FORMULARIO PEDIDO PRO
========================= */

#pedido .modal-content {
    border-radius: 18px;
    border: none;
    box-shadow: 0 25px 70px rgba(0,0,0,0.25);
    overflow: hidden;
}

/* HEADER */
#pedido .modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
}

#pedido .modal-title {
    font-size: 26px;
    font-weight: 700;
    color: #111;
}

/* BODY */
#pedido .modal-body {
    padding: 25px;
}

/* INPUTS */
#pedido .form-control {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 12px 14px;
    font-size: 15px;
    transition: all 0.25s ease;
}

/* FOCUS */
#pedido .form-control:focus {
    border-color: #25d366;
    box-shadow: 0 0 0 3px rgba(37,211,102,0.15);
}

/* LABEL */
#pedido .form-label {
    font-weight: 600;
    color: #444;
    margin-bottom: 5px;
}

/* ESPACIADO */
#pedido .mb-3 {
    margin-bottom: 18px !important;
}

/* =========================
   FOOTER PRO
========================= */

#pedido .modal-footer-pro {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px 25px;
    border-top: 1px solid #f0f0f0;
}

/* TOTAL */
#pedido .total-box {
    width: 100%;
    text-align: right;
    font-size: 13px;
    color: #666;
    border-top: 2px solid #eaeaea;
    padding-top: 10px;
}

#pedido .total-box span {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #111;
}

/* BOTONES */
#pedido .acciones-carrito {
    display: flex;
    gap: 12px;
}

/* WHATSAPP */
#pedido .btn-whatsapp {
    flex: 1;
    background: linear-gradient(135deg, #25d366, #1ebe5d);
    border: none;
    color: #fff;

    border-radius: 50px;
    padding: 14px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    font-size: 15px;
    font-weight: 600;

    box-shadow: 0 8px 25px rgba(37,211,102,0.35);
    transition: all 0.3s ease;
}

/* ICONO */
#pedido .btn-whatsapp i {
    font-size: 18px;
}

/* HOVER */
#pedido .btn-whatsapp:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 30px rgba(37,211,102,0.45);
}

/* CLICK */
#pedido .btn-whatsapp:active {
    transform: scale(0.96);
}

/* VACIAR */
#pedido .btn-vaciar {
    width: 55px;
    height: 55px;

    border-radius: 50%;
    border: 1px solid #eee;

    background: #fff;
    color: #ff4d4d;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

/* HOVER */
#pedido .btn-vaciar:hover {
    background: #ff4d4d;
    color: #fff;
    transform: scale(1.1);
}

/* CLICK */
#pedido .btn-vaciar:active {
    transform: scale(0.9);
}

/* =========================
   ANIMACION SUAVE
========================= */

#pedido .modal-content {
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 576px){

    #pedido .modal-dialog {
        margin: 10px;
    }

    #pedido .modal-title {
        font-size: 20px;
    }

    #pedido .form-control {
        font-size: 14px;
    }

    #pedido .btn-whatsapp {
        font-size: 14px;
        padding: 12px;
    }
}
/* =========================
   TOTAL PRO
========================= */

.total-box {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 20px;
    padding: 18px 20px;

    border-top: 2px solid #e9ecef;
    border-bottom: 2px solid #e9ecef;

    font-size: 15px;
    font-weight: 600;
    color: #555;
}

/* MONTO */
#total-modal {
    font-size: 26px;
    font-weight: 800;

    color: #212529;

    background: linear-gradient(135deg, #e9f7ef, #d4edda);
    padding: 8px 16px;

    border-radius: 10px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.08);

    letter-spacing: 1px;
}

/* EFECTO CUANDO CAMBIA */
#total-modal.animando {
    transform: scale(1.08);
    transition: all 0.2s ease;
}

/* MOBILE */
@media (max-width: 576px){
    #total-modal {
        font-size: 22px;
        padding: 6px 12px;
    }
}