/* ========================= */
/* ESTILOS GENERALES */
/* ========================= */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;
    background: #f4f4f4;
    color: #333;
}

/* ========================= */
/* HEADER Y NAVEGACIÓN */
/* ========================= */

header{
    background: #4b2e2e;
    color: white;
    padding: 20px;
    text-align: center;
}

header h1{
    font-family: 'Dancing Script', cursive;
    font-size: 40px;
    margin-bottom: 10px;
}

nav{
    margin-top: 10px;
}

nav a{
    color: white;
    text-decoration: none;
    margin: 10px;
    font-weight: 600;
}

nav a:hover{
    color: #f1c40f;
}

/* ========================= */
/* SECCIONES Y PRODUCTOS */
/* ========================= */

.section{
    padding: 80px 8%;
    text-align: center;
}

.section h2{
    font-family: 'Playfair Display', serif;
    margin-bottom: 25px;
    text-align: center;
    font-size: 38px;
    color: #4b2e2e;
}

.productos{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.producto{
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 250px;
}

.producto img{
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
}



/* ========================= */
/* FORMULARIOS Y BOTONES */
/* ========================= */

form{
    background: white;
    padding: 20px;
    width: 320px; /* Un poco más ancho para comodidad */
    margin: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

input, textarea{
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Botón principal de los formularios */
button{
    background: #4b2e2e;
    color: white !important;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

button:hover{
    background: #6b3e3e;
}

/* ========================= */
/* PANEL ADMIN Y TABLAS */
/* ========================= */

table{
    width: 95%;
    margin: auto;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

th{
    background: #4b2e2e;
    color: white;
    padding: 10px;
}

td{
    padding: 10px;
    border: 1px solid #ccc;
    text-align: center;
}

/* ========================= */
/* BOTONES ESPECÍFICOS (CORREGIDOS) */
/* ========================= */

/* Botón Volver - Reparado */
.btn-volver {
    display: inline-block !important; /* Asegura que respete el padding */
    background: #4b2e2e !important;    /* Tu color café oscuro */
    color: #ffffff !important;         /* Fuerza el texto blanco */
    padding: 10px 20px !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    margin-top: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-volver:hover {
    background: #6b3e3e !important;    /* Café más claro al pasar el mouse */
    color: #f1c40f !important;         /* Texto cambia a amarillo para feedback visual */
}

.btn-editar{
    background: #3498db;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    display: inline-block;
    text-decoration: none;
    transition: 0.3s;
}

.btn-editar:hover{
    transform: translateY(-3px);
}

.btn-eliminar{
    background: #e74c3c;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    display: inline-block;
    text-decoration: none;
    transition: 0.3s;
}

.btn-eliminar:hover{
    transform: translateY(-3px);
}

.btn-agregar{
    background: #2ecc71;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    margin: 10px;
    text-decoration: none;
}
.btn-nav{
    display: inline-block !important;
    background: #4b2e2e !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-nav:hover{
    background: #6b3e3e !important;
    color: #f1c40f !important;
}

.btn-volverr {
    display: block;
    width: fit-content;
    margin: 15px auto;
    background: #4b2e2e !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

/* ========================= */
/* FOOTER Y OTROS */
/* ========================= */

footer{
    background: #4b2e2e;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}
/* ========================= */
/* NOSOTROS MODERNO */
/* ========================= */

.nosotros-modern{
    position: relative;
    padding: 100px 8%;
    background: linear-gradient(135deg,#f5f1ec,#ebe3d8);
    overflow: hidden;
}

.contenido-nosotros{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.texto-nosotros{
    flex: 1;
    min-width: 320px;
}

.mini-title{
    background: rgba(75,46,46,0.1);
    color: #4b2e2e;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}

.texto-nosotros h1{
    font-size: 55px;
    color: #3e2723;
    margin: 25px 0;
    line-height: 1.1;
}

.texto-nosotros p{
    color: #5d4037;
    line-height: 1.8;
    font-size: 18px;
}

.cards-info{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 20px;
    margin-top: 40px;
}

.card-mini{
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.card-mini:hover{
    transform: translateY(-10px);
}

.card-mini h3{
    color: #4b2e2e;
    margin-bottom: 12px;
}

.imagen-nosotros{
    flex: 1;
    min-width: 320px;
    text-align: center;
}

.imagen-nosotros img{
    width: 100%;
    max-width: 520px;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    transition: 0.4s;
}

.imagen-nosotros img:hover{
    transform: scale(1.03);
}

/* ========================= */
/* UBICACION PREMIUM */
/* ========================= */

.ubicacion-premium{
    padding: 100px 8%;
    background: white;
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    align-items: center;
}

.ubicacion-texto{
    flex: 1;
    min-width: 320px;
}

.ubicacion-texto h2{
    font-size: 45px;
    color: #3e2723;
    margin: 25px 0;
}

.ubicacion-texto p{
    color: #5d4037;
    line-height: 1.8;
}

.datos-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 20px;
    margin: 40px 0;
}

.dato-box{
    background: #f8f5f2;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.dato-box h4{
    color: #4b2e2e;
    margin-bottom: 10px;
}

.btn-premium{
    display: inline-block;
    background: #4b2e2e;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-premium:hover{
    background: #6b3e3e;
    transform: translateY(-5px);
}

.mapa-premium{
    flex: 1;
    min-width: 320px;
}

.mapa-premium iframe{
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media(max-width:768px){

    .texto-nosotros h1{
        font-size: 38px;
    }

    .ubicacion-texto h2{
        font-size: 34px;
    }

}





.navbar-premium{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(75, 46, 46, 0.55);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo-cafe{
    color: white;
    font-size: 22px;
    font-weight: bold;
}

.menu-premium a{
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    transition: 0.3s;
}

.menu-premium a:hover{
    color: #d4a373;
}

/* ========================= */
/* HERO SECTION */
/* ========================= */

.hero-premium{
    position: relative;
    min-height: 100vh;
    background: 
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), 
    url('../img/fondoin.jpeg'); /* <-- Cambia esto */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 8%;

}

.hero-content{
    max-width: 850px;
    color: white;
    animation: fadeUp 1s ease;
}

.hero-tag{
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 25px;
    font-size: 14px;
    letter-spacing: 1px;
}

.hero-content h1{
    font-size: 68px;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-content p{
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.hero-buttons{
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary{
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-hero-primary{
    background: #d4a373;
    color: white;
}

.btn-hero-primary:hover{
    transform: translateY(-5px);
}

.btn-hero-secondary{
    border: 2px solid white;
    color: white;
}

.btn-hero-secondary:hover{
    background: white;
    color: #3e2723;
}

/* ========================= */
/* EXPERIENCIA */
/* ========================= */

.experiencia-section{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 25px;
    padding: 80px 8%;
    background: #f8f5f2;
}

.experiencia-card{
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
    text-align: center;
}

.experiencia-card:hover{
    transform: translateY(-10px);
}

.experiencia-card h3{
    margin-bottom: 15px;
    color: #4b2e2e;
}

/* ========================= */
/* FRASE */
/* ========================= */

.frase-cafe{
    background: linear-gradient(135deg,#4b2e2e,#2b1b1b);
    color: white;
    text-align: center;
    padding: 100px 8%;
}

.frase-contenido h2{
    font-size: 45px;
    margin-bottom: 25px;
}

.frase-contenido p{
    max-width: 800px;
    margin: auto;
    line-height: 1.8;
}

/* ========================= */
/* INFO EXTRA */
/* ========================= */

.info-extra{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 25px;
    padding: 80px 8%;
    background: white;
}

.info-box{
    background: #f8f5f2;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
}

.info-box h3{
    margin-bottom: 15px;
    color: #4b2e2e;
}

/* ========================= */
/* ANIMACIONES */
/* ========================= */

@keyframes fadeUp{
    from{
        opacity: 0;
        transform: translateY(40px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media(max-width:768px){

    .hero-content h1{
        font-size: 42px;
    }

    .hero-content p{
        font-size: 17px;
    }

    .navbar-premium{
        flex-direction: column;
        gap: 15px;
    }

    .menu-premium a{
        margin: 0 10px;
    }

    .frase-contenido h2{
        font-size: 32px;
    }

}


/* ========================= */
/* NAVBAR PREMIUM GLOBAL (heaver) */
/* ========================= */

body{
    padding-top: 100px;
    background: #f8f5f2;
}

.navbar-premium{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(75, 46, 46, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo-cafe{
    color: white;
    font-size: 22px;
    font-weight: bold;
}

.menu-premium a{
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    transition: 0.3s;
}

.menu-premium a:hover{
    color: #d4a373;
    
}

    /* ========================= */
/* MEJORAS PARA LA SECCIÓN COMENTARIOS */
/* ========================= */

/* Contenedor principal de la página de comentarios */
.comentarios-page {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Títulos principales */
.comentarios-page h2, 
.comentarios-page h3 {
    font-family: 'Playfair Display', serif;
    color: #4b2e2e;
    text-align: center;
    margin-bottom: 30px;
    font-size: 36px;
}

/* --- FORMULARIO DE COMENTARIOS --- */
.comentarios-page form {
    background: white;
    padding: 40px;
    width: 100%;
    max-width: 550px; /* Más ancho y cómodo */
    margin: 0 auto 60px auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border: 1px solid rgba(75, 46, 46, 0.05);
}

/* Inputs y Textareas mejorados */
.comentarios-page input[type="text"],
.comentarios-page textarea {
    font-family: 'Poppins', sans-serif;
    border: 1px solid #e1dcd6;
    background-color: #fdfbf9;
    padding: 14px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.comentarios-page input[type="text"]:focus,
.comentarios-page textarea:focus {
    outline: none;
    border-color: #4b2e2e;
    background-color: white;
    box-shadow: 0 0 8px rgba(75, 46, 46, 0.15);
}

/* Contenedor de Calificación (Radio buttons y Estrellas) */
.rating-container {
    margin: 20px 0;
    text-align: left;
    background: #f8f5f2;
    padding: 15px 20px;
    border-radius: 12px;
}

.rating-container p {
    font-weight: 600;
    color: #4b2e2e;
    margin-bottom: 10px;
    font-size: 15px;
}

/* Alinear cada fila de estrella con su radio button */
.rating-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 14px;
}

.rating-option input[type="radio"] {
    accent-color: #4b2e2e; /* Pinta el puntito del color de la cafetería */
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* --- CUADRÍCULA DE COMENTARIOS DE CLIENTES --- */
.comentarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* Tarjeta individual de comentario */
.comentario-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    border-left: 5px solid #d4a373; /* Detalle elegante en dorado/café claro */
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.comentario-card:hover {
    transform: translateY(-5px);
}

.comentario-header {
    margin-bottom: 15px;
}

/* Nombre del cliente */
.comentario-usuario {
    font-weight: 700;
    color: #3e2723;
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
}

/* Texto del comentario */
.comentario-texto {
    color: #5d4037;
    font-style: italic;
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 15px;
}

/* Estrellas en la tarjeta */
.comentario-estrellas {
    font-size: 14px;
    margin-bottom: 10px;
}

/* Fecha del comentario */
.comentario-fecha {
    font-size: 12px;
    color: #a1958a;
    display: block;
    text-align: right;
}

/* ========================= */
/* MEJORAS PARA LA SECCIÓN PRODUCTOS (RESPONSIVE) */
/* ========================= */

/* Optimizamos el contenedor de productos */
.productos {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    padding: 20px 0;
    width: 100%;
}

/* Rediseño de la tarjeta de producto individual */
.producto {
    background: white;
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    width: 280px; /* Un poco más ancho en computadora para que luzca mejor */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(75, 46, 46, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.producto:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(75, 46, 46, 0.1);
}

/* Ajuste de la imagen del producto */
.producto img {
    width: 100%;
    height: 200px; /* Un poco más alta para que se aprecie mejor la comida/bebida */
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

/* Si tienes títulos o precios dentro del producto, estos estilos les darán orden */
.producto h3 {
    font-family: 'Poppins', sans-serif;
    color: #4b2e2e;
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.producto .precio {
    color: #d4a373; /* Dorado/café claro premium */
    font-weight: 750;
    font-size: 18px;
    margin-top: auto;
}
/* ========================= */
/* ADAPTACIÓN CRÍTICA PARA CELULARES (MÁXIMO APROVECHAMIENTO) */
/* ========================= */
@media (max-width: 576px) {
    /* Reducimos los márgenes de la sección al mínimo (solo 3% a los lados) */
    .section {
        padding: 35px 3% !important;
    }
    
    .section h2 {
        font-size: 28px !important;
        margin-bottom: 20px;
    }

    /* El contenedor ahora se expande por completo */
    .productos {
        gap: 15px; /* Reducimos el espacio entre productos para ganar altura */
        padding: 10px 0;
    }

    /* ¡La magia aquí! La tarjeta ahora ocupa todo el ancho real */
    .producto {
        width: 100% !important; 
        max-width: 100% !important; /* Quitamos el límite para que use todo el celular */
        box-sizing: border-box;
        margin: 0 0 10px 0; /* Espacio solo hacia abajo */
        padding: 15px; /* Espacio interno cómodo */
        border-radius: 14px; /* Un redondeado ligeramente menor para aprovechar las esquinas */
    }

    /* La imagen se estira perfectamente a lo ancho sin perder su proporción */
    .producto img {
        height: 240px; /* Un poco más alta para que con el nuevo ancho se vea espectacular */
        border-radius: 10px;
    }
}
/* ======================================================= */
/* CONFIGURACIÓN PREMIUM PARA MENÚ HAMBURGUESA (CELULARES) */
/* ======================================================= */

/* Ocultamos los elementos móviles en pantallas grandes (Laptop) */
.menu-hamburger {
    display: none;
}
.logo-imagen-movil {
    display: none;
}
.brand-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* En laptop mantiene la alineación original */
}

/* Regla para celulares (768px o menos de ancho) */
@media (max-width: 768px) {
    
    /* Reajustamos tu barra fija para el formato móvil */
    .navbar-premium {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 4% !important; /* Reducimos el padding lateral para ganar espacio */
        box-sizing: border-box;
    }

    /* Estructura de las 3 líneas de la hamburguesa */
    .menu-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 18px;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Animación interactiva para que la hamburguesa se vuelva una "X" */
    .menu-hamburger.active span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }
    .menu-hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-hamburger.active span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }

    /* Centrado perfecto del Título y el Logo */
    .brand-container {
        align-items: center !important;
        flex-grow: 1;
        text-align: center;
        /* Este margen izquierdo compensa el ancho de la hamburguesa para que quede perfectamente centrado */
        margin-left: -26px; 
    }

    /* Reducimos un poco el tamaño de letra en celular para que no se amontone */
    .logo-cafe {
        font-size: 15px !important;
        letter-spacing: 0.5px;
        margin-bottom: 4px;
    }

    /* Tu logo sin fondo centrado abajo de las letras */
    .logo-imagen-movil {
        display: block;
        width: 50px; /* Tamaño ideal y fino en celular */
        height: auto;
        object-fit: contain;
    }

    /* OPCIÓN A: Tu menú transformado en cortina borrosa */
    .menu-premium {
        display: flex !important;
        flex-direction: column !important;
        position: absolute !important;
        top: 100%; /* Inicia justo donde termina la barra */
        left: 0;
        width: 100%;
        background: rgba(75, 46, 46, 0.95) !important; /* Usamos tu base de color café */
        backdrop-filter: blur(15px) !important; /* Efecto borroso elegante */
        -webkit-backdrop-filter: blur(15px) !important;
        padding: 15px 0 !important;
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        
        /* Animación de desvanecimiento oculto */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
        z-index: 999;
    }

    /* Clase que activa el JavaScript para desplegar la cortina */
    .menu-premium.open {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    /* Estilos para las opciones del menú dentro de la cortina */
    .menu-premium a {
        width: 100%;
        text-align: center;
        padding: 12px 0 !important;
        margin: 0 !important;
        font-size: 17px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }

    .menu-premium a:last-child {
        border-bottom: none; /* Quitamos la línea al último enlace */
    }
}
/* ======================================================= */
/* VARIANTE DE COLOR ROJO PARA EL BOTÓN DE CREADORES       */
/* ======================================================= */

.btn-hero-primary.rojo {
    background: #c0392b !important; /* Rojo elegante base */
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.4) !important;
}

.btn-hero-primary.rojo:hover {
    background: #e74c3c !important; /* Rojo más vivo al pasar el mouse */
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6) !important;
    color: white !important; /* Mantiene el texto blanco impecable */
}
/* ======================================================= */
/* ALINEACIÓN DEFINITIVA EN LÍNEA: AVATAR DE ADMINISTRADOR */
/* ======================================================= */

/* Contenedor en Laptop: Se comporta exactamente igual que un enlace de texto */
.admin-text-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    margin-left: 25px !important; /* Misma separación exacta que tus otros enlaces */
    height: auto !important;
}

/* El enlace que envuelve al SVG */
.icon-admin {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    vertical-align: middle !important;
    padding: 0 !important; /* Evita desfases por rellenos extra */
}

/* El Avatar SVG: Mantiene sus 24px pero se sienta sobre la base del texto */
.icon-admin svg {
    width: 24px !important;   
    height: 24px !important;
    display: block !important;
    stroke: white !important; /* Color blanco idéntico al texto original */
    transition: stroke 0.3s ease, transform 0.2s ease !important;
}

/* Efecto hover dorado premium al pasar el mouse por encima en laptop */
.icon-admin:hover svg {
    stroke: #d4a373 !important; /* Cambia a tu dorado crema institucional */
}

/* OCULTADO ESTRICTO: En la computadora NO se ve la palabra administrador, solo el icono */
.text-admin {
    display: none !important;
}

/* ======================================================= */
/* COMPORTAMIENTO EXCLUSIVO EN CELULARES (RESPONSIVE)      */
/* ======================================================= */
@media (max-width: 768px) {
    
    /* En el celular el círculo con el avatar desaparece por completo */
    .icon-admin {
        display: none !important;
    }
    
    /* El texto aparece y se amolda a la lista de la cortina móvil */
    .text-admin {
        display: block !important;
        color: white !important;
        text-decoration: none !important;
        width: 100% !important;
        text-align: center !important;
        padding: 12px 0 !important;
        font-weight: 500 !important;
    }
    
    /* El contenedor se acopla verticalmente al menú hamburguesa */
    .menu-premium .admin-text-wrapper {
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
        display: block !important;
    }
}

