/* ============================================
   FONDO GENERAL (DEGRADADO ESTILO CARNES ESTRADA)
============================================ */
body,
.wrapper,
.content-wrapper {
    background: linear-gradient(135deg, #EFE2D0, #E7D4BC) !important;
    min-height: 100vh !important;
}


/* ============================================
   HEADER (mantener AdminLTE pero cálido)
============================================ */
.main-header,
.main-header .logo,
.main-header .navbar {
    background: #5A351C !important; /* café madera */
    border-bottom: none !important;
}



/* ============================================
   RESETEAR ESTILOS DE ADMINLTE (OBLIGATORIO)
============================================ */
.opcion-card.box,
.box.opcion-card {
    border: none !important;
    border-top: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}



/* ============================================
   TARJETAS (ESTILO PREMIUM RÚSTICO)
============================================ */
.opcion-card {
    background: #fff !important;
    border-radius: 20px !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    padding: 35px 15px !important;
    text-align: center;
    border: 2px solid transparent !important;

    /* Sombra cálida tipo madera */
    box-shadow: 0 10px 25px rgba(120, 70, 30, 0.15) !important;
}

.opcion-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(120, 70, 30, 0.22) !important;
}


/* ============================================
   TARJETA SELECCIONADA (ROJO CARNE PREMIUM)
============================================ */
.opcion-card.selected {
    background: #B53024 !important;       /* rojo vino premium */
    border: 3px solid #ffffff !important;
    transform: scale(1.05) !important;
    box-shadow: 0 0 25px rgba(181, 48, 36, 0.5) !important;
}

/* Colores internos cuando está seleccionado */
.opcion-card.selected .opcion-icon,
.opcion-card.selected h4,
.opcion-card.selected p {
    color: #fff !important;
}


/* ============================================
   ICONOS
============================================ */
.opcion-icon {
    font-size: 50px !important;
    margin-bottom: 12px !important;
    color: #5A351C !important; /* café madera */
}



/* ============================================
   BOTÓN "USAR MI UBICACIÓN"
============================================ */
.opcion-ubicacion {
    background: #B53024 !important; /* rojo vino */
    border: 1px solid #8B2F23 !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 15px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    transition: 0.3s ease !important;
}

.opcion-ubicacion:hover {
    background: #8B2F23 !important; /* rojo oscuro */
}

.opcion-ubicacion:disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}



/* ============================================
   ANIMACIÓN DE LOGO
============================================ */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.07); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}



/* ============================================
   LOADER
============================================ */
.loader {
    border: 4px solid #e3e3e3;
    border-top: 4px solid #B53024; /* rojo vino */
    border-radius: 50%;
    width: 35px;
    height: 35px;
    margin: 0 auto;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/* ============================================
   CARRITO (menú)
============================================ */
.carrito-container {
    position: relative;
    display: inline-block;
}

.carrito-icon {
    font-size: 32px !important;
    color: #fff !important;
}

.carrito-badge {
    position: absolute;
    top: -10px;
    right: -12px;
    background: #B53024; /* rojo vino */
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 22px;
    text-align: center;
}



/* ============================================
   RESPONSIVE (versión móvil)
============================================ */
@media (max-width: 768px) {

    .opcion-card {
        padding: 25px 20px !important;
        margin-bottom: 25px !important;
    }

    h2 {
        font-size: 1.8rem !important;
        padding: 0 15px !important;
        color: #5A351C !important; /* café */
    }
}


/* Evitar scroll en Loader */
.swal2-html-container {
    overflow-y: hidden !important;
}
