/* css/portal.css - BLINDAJE TOTAL CONTRA AZULES Y BORDES */

.rc-portal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.85) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999999 !important;
}

.rc-portal-card {
    background: #080808 !important;
    padding: 50px !important;
    border-radius: 15px !important;
    border: 1px solid #D4AF37 !important; /* Borde Dorado */
    width: 400px !important;
    box-shadow: 0 0 40px rgba(0,0,0,1) !important;
    text-align: center !important;
}

/* --- QUITAR EL AZUL Y BORDES DE LOS INPUTS Y SELECTS --- */
.rc-portal-input {
    width: 100% !important;
    padding: 15px !important;
    margin-bottom: 20px !important;
    background: #000 !important;
    color: #fff !important;
    border: 1px solid #222 !important; /* Borde oscuro sutil */
    border-radius: 5px !important;
    outline: none !important; /* MATA EL BORDE AZUL AL HACER CLICK */
    appearance: none !important; /* MATA EL ESTILO NATIVO DE WINDOWS/MAC */
    -webkit-appearance: none !important;
}

/* --- CAMBIAR EL AZUL DE SELECCIÓN POR AMARILLO/DORADO --- */
.rc-portal-input:focus {
    border-color: #D4AF37 !important; /* Borde amarillo al escribir */
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2) !important;
}

/* ESTO MATA EL FONDO AZUL DE LAS OPCIONES DEL SELECT */
.rc-portal-input option {
    background: #000 !important;
    color: #fff !important;
}

/* --- EL BOTÓN --- */
.rc-portal-btn {
    width: 100% !important;
    padding: 18px !important;
    background: #D4AF37 !important; /* Amarillo Raíz */
    color: #000 !important;
    border: none !important;
    font-weight: 900 !important;
    letter-spacing: 2px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
}

.rc-portal-btn:hover {
    background: #fff !important;
}

.rc-portal-close {
    color: #555 !important;
    font-size: 10px !important;
    cursor: pointer !important;
    text-align: right !important;
    margin-bottom: 10px !important;
    display: block !important;
}

/* --- ESTILOS DEL CARRITO (MIS PEDIDOS) --- */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px; /* Escondido por defecto */
    width: 400px;
    height: 100vh;
    background: #050505;
    z-index: 10001;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    padding: 30px;
}

/* Clase que activa el JS para mostrarlo */
.cart-sidebar.active {
    right: 0 !important;
}

/* Fondo oscuro cuando el carrito está abierto */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
}

.cart-overlay.active {
    visibility: visible;
    opacity: 1;
}