/* ==================== GLOBAL BACKGROUND  ==================== */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: #111;
    color: #ffffff;
    padding-top: 100px;
}

/* ==================== HEADER  ==================== */
.header {
    background-color: #222;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.header-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
}

.botones {
    margin-left: auto;
}

/* LOGO E IMAGEN IZQUIERDA */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.logo:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.texto-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-nombre {
    font-size: 2rem;
    font-weight: bold;
    color: white;
}

.logo-slogan {
    font-size: 0.75rem;
    color: #ccc;
}

/* ==================== HERO SECTION ==================== */
.hero {
    width: 100%;
    height: 90vh;
    background-image: url("imagenes/Fondo.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content {
    z-index: 10;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.5rem;
    color: #ffc107;
}

/* CATEGORÍAS DROPDOWN */
.categorias {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 0;
}

.categorias-label {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-family: Arial, sans-serif;
}

.categorias-label:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.categorias-dropdown {
    position: absolute;
    margin-left: auto;
    top: 100%;
    left: 0;
    background-color: #333;
    border: 1px solid #555;
    min-width: 180px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.categorias:hover .categorias-dropdown {
    max-height: 200px;
}

.categoria-item {
    display: block;
    padding: 0.8rem 1rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s ease, padding-left 0.2s ease;
    border-bottom: 1px solid #555;
}

.categoria-item:last-child {
    border-bottom: none;
}

.categoria-item:hover {
    background-color: #444;
    padding-left: 1.5rem;
}

/* BARRA DE BÚSQUEDA */
.barra-busqueda {
    display: flex;
    align-items: center;
    margin: 0 1rem 0 3rem;
    flex: 1;
    max-width: 400px;
}

.busqueda-input {
    width: 100%;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    background-color: white;
    color: #333;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.busqueda-input::placeholder {
    color: #999;
}

.busqueda-input:hover {
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

.busqueda-input:focus {
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.3);
}

/* PANEL DROPDOWN */
.panel,
.panel-usuario {
    position: relative;
    display: flex;
    align-items: center;
}

.panel-usuario {
    margin-left: 1rem;
}

.panel-label {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-family: Arial, sans-serif;
}

.panel-label:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.panel-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    border: 1px solid #555;
    min-width: 180px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.panel:hover .panel-dropdown,
.panel-usuario:hover .panel-dropdown {
    max-height: 200px;
}

.panel-item {
    display: block;
    padding: 0.8rem 1rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s ease, padding-left 0.2s ease;
    border-bottom: 1px solid #555;
}

.panel-item:last-child {
    border-bottom: none;
}

.panel-item:hover {
    background-color: #444;
    padding-left: 1.5rem;
}

/* MODIFICAR PRODUCTOS */
.productos-lista-modificar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.producto-caracteristicas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.producto-caracteristica-icono {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px;
}

.caracteristicas-editar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    grid-auto-rows: 32px;
    gap: 0.35rem;
    margin: 0.4rem 0;
    max-height: 75px;
    overflow-y: auto;
    padding: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.caracteristica-boton-editar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 5px;
    padding: 0.3rem 0.4rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 500;
}

.caracteristica-boton-editar:hover {
    background: rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.3);
}

.caracteristica-boton-editar.seleccionada {
    background: #ffc107;
    border-color: #ffc107;
    color: #111;
    font-weight: bold;
}

.caracteristica-boton-editar.seleccionada:hover {
    background: #ffb300;
    border-color: #ffb300;
}

.caracteristica-contenido-editar {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.caracteristica-icono {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    object-fit: contain;
}

.caracteristica-contenido-editar span {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    flex: 0 1 auto;
    font-size: 0.75rem;
}

.producto-modificar {
    display: flex;
    align-items: center;
    background-color: #222;
    padding: 1rem;
    border-radius: 5px;
    gap: 1rem;
}

.sin-productos {
    text-align: center;
    color: #888;
    padding: 2rem 1rem;
    font-size: 1.1rem;
}

.producto-img-modificar {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.producto-info {
    flex: 1;
}

.producto-info h3 {
    margin: 0;
    color: white;
}

.producto-info p {
    margin: 0.2rem 0;
    color: #ccc;
}

.producto-modificar .btn-editar,
.producto-modificar .btn-eliminar {
    min-width: 120px;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    border: none;
}

.producto-modificar .btn-editar {
    background-color: #ffc107;
    color: black;
}

.producto-modificar .btn-eliminar {
    background-color: #888;
    color: black;
}

.producto-modificar .btn-editar:hover {
    background-color: #e0a800;
}

.producto-modificar .btn-eliminar:hover {
    background-color: #777;
}

.btn-editar:hover {
    background-color: #e0a800;
}

/* MODAL EDITAR */
.modal-editar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content-editar {
    background-color: #222;
    padding: 2rem;
    border-radius: 5px;
    width: 90%;
    max-width: 500px;
    color: white;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content-editar h2 {
    margin-top: 0;
}

.modal-content-editar form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-content-editar label {
    font-weight: bold;
}

.modal-content-editar input,
.modal-content-editar textarea {
    padding: 0.5rem;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #333;
    color: white;
}

.modal-content-editar button {
    padding: 0.7rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.modal-content-editar button[type="submit"] {
    background-color: #28a745;
    color: white;
}

.modal-content-editar button[type="submit"]:hover {
    background-color: #218838;
}

.modal-content-editar #cancelarEditar {
    background-color: #dc3545;
    color: white;
}

.modal-content-editar #cancelarEditar:hover {
    background-color: #c82333;
}

/* CREAR CARACTERÍSTICA EN MODAL */
.crear-caracteristica-section-modal {
    margin-top: 1rem;
    padding: 0.8rem;
    background-color: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 5px;
}

.crear-caracteristica-section-modal h4 {
    margin: 0 0 0.8rem 0;
    color: #ffc107;
    font-size: 0.9rem;
}

.crear-caracteristica-form-modal {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.crear-caracteristica-form-modal input {
    flex: 1;
    min-width: 100px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 0.85rem;
}

.crear-caracteristica-form-modal input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.crear-caracteristica-form-modal input:focus {
    outline: none;
    border-color: #ffc107;
    background-color: rgba(0, 0, 0, 0.5);
}

.btn-agregar-caracteristica-modal {
    padding: 0.5rem 1rem;
    background-color: #ffc107;
    color: #111;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-agregar-caracteristica-modal:hover {
    background-color: #ffb300;
    transform: scale(1.05);
}

.btn-agregar-caracteristica-modal:active {
    transform: scale(0.95);
}

/* ESTADÍSTICAS */
.estadisticas-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.estadistica {
    background-color: #222;
    padding: 2rem;
    border-radius: 5px;
    text-align: center;
    min-width: 200px;
}

.estadistica h2 {
    margin-top: 0;
    color: #ffc107;
}

.estadistica p {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    margin: 0;
}

/* MENÚ HAMBURGUESA (para movil) */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: rgb(0, 0, 0);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* BOTONES DERECHA */
.botones {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.botones button {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-cuenta {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-cuenta:hover {
    background-color: white;
    color: #000000;
}

.btn-sesion {
    background-color: white;
    color: #000000;
}

.btn-sesion:hover {
    background-color: #ccc;
}

.btn-carrito {
    background-color: #ffc107;
    color: black;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    margin-right: 1rem;
}

.btn-carrito:hover {
    background-color: #ffb300;
    transform: scale(1.05);
}

/* ==================== USUARIO AUTENTICADO  ==================== */
.usuario-autenticado {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.usuario-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.usuario-nombre {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ==================== AVATAR  ==================== */
.avatar-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.avatar-btn:hover .avatar {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}

.avatar-btn:active .avatar {
    transform: scale(0.95);
}

#avatarIniciales {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================== DROPDOWN MENU  ==================== */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 200px;
    margin-top: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 1001;
    overflow: hidden;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.75rem 1.25rem;
    color: #e0e0e0;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-align: left;
    font-family: inherit;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding-left: 1.5rem;
}

.dropdown-item.btn-logout {
    color: #ff6b6b;
}

.dropdown-item.btn-logout:hover {
    background-color: rgba(255, 107, 107, 0.15);
    color: #ff8585;
}

.dropdown-divider {
    margin: 0.5rem 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.botones-grupo {
    display: flex;
    gap: 1rem;
}

/* ==================== TABLET  ==================== */
@media screen and (max-width: 768px) {
    .hero {
        height: 70vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .header-container {
        padding: 1rem 1.5rem;
    }

    .menu-toggle {
        display: flex;
    }

    .usuario-autenticado {
        gap: 0.5rem;
    }

    .usuario-info {
        display: none;
    }

    .avatar {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .dropdown-menu {
        right: -10px;
    }

    .botones {
        flex-direction: column;
        gap: 0.5rem;
    }

    .botones-grupo {
        flex-direction: column;
        width: 100%;
    }

    .botones button {
        width: 100%;
    }

    .header-der {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #222;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
        border-top: 1px solid #444;
    }

    .header-der.active {
        max-height: 300px;
        padding: 1rem;
    }

    .header-der button {
        width: 100%;
        padding: 1rem;
        margin: 0.5rem 0;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }

    .logo-nombre {
        font-size: 1.2rem;
    }

    .logo-slogan {
        font-size: 0.65rem;
    }

    /* Ocultar panel de usuario en móviles */
    .panel-usuario {
        display: none;
    }

    /* Animación del menú hamburguesa */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* ==================== CELULAR  ==================== */
@media screen and (max-width: 480px) {
    .hero {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .header-container {
        padding: 0.8rem 1rem;
    }

    .header-izq {
        gap: 0.75rem;
    }

    .logo-img {
        width: 35px;
        height: 35px;
    }

    .logo-nombre {
        font-size: 1rem;
    }

    .logo-slogan {
        font-size: 0.6rem;
    }

    .menu-toggle span {
        width: 20px;
        height: 2.5px;
    }

    .header-der button {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* ==================== MAIN ==================== */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    margin-bottom: 120px;
    background-color: #111;
}

/* ==================== SECCIONES DE PRODUCTOS ==================== */
.productos-section {
    margin-bottom: 3rem;
}

.seccion-titulo {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
    text-align: left;
    border-bottom: 2px solid #fff;
    padding-bottom: 0.5rem;
}

/* LISTA DE PRODUCTOS (HORIZONTAL) */
.productos-lista {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: #666 #333;
}

.productos-lista::-webkit-scrollbar {
    height: 8px;
}

.productos-lista::-webkit-scrollbar-track {
    background: #333;
    border-radius: 4px;
}

.productos-lista::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 4px;
}

.productos-lista::-webkit-scrollbar-thumb:hover {
    background: #888;
}

/* PRODUCTO INDIVIDUAL */
.producto {
    flex: 0 0 250px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.producto:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.producto-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    background-color: rgba(255, 255, 255, 0.2);
}

.producto-nombre {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: white;
}

.producto-precio {
    font-size: 1rem;
    font-weight: bold;
    color: #ffc107;
    margin: 0;
}

.precio-anterior {
    text-decoration: line-through;
    color: #ccc;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

/* ==================== RESPONSIVE PRODUCTOS ==================== */
@media screen and (max-width: 768px) {
    main {
        padding: 1rem;
        margin-top: 70px;
        margin-bottom: 100px;
    }

    .productos-section {
        margin-bottom: 2rem;
    }

    .seccion-titulo {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .productos-lista {
        gap: 1rem;
    }

    .producto {
        flex: 0 0 200px;
        padding: 0.8rem;
    }

    .producto-img {
        height: 120px;
    }

    .producto-nombre {
        font-size: 1rem;
    }

    .producto-precio {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    main {
        padding: 0.5rem;
        margin-top: 60px;
        margin-bottom: 80px;
    }

    .productos-section {
        margin-bottom: 1.5rem;
    }

    .seccion-titulo {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .productos-lista {
        gap: 0.8rem;
    }

    .producto {
        flex: 0 0 160px;
        padding: 0.6rem;
    }

    .producto-img {
        height: 100px;
    }

    .producto-nombre {
        font-size: 0.9rem;
    }

    .producto-precio {
        font-size: 0.8rem;
    }
}

/* ==================== PAGINACIÓN ==================== */
.paginacion {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-inicio, .btn-anterior, .btn-siguiente {
    background-color: #ffc107;
    color: black;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-inicio:hover:not(:disabled), .btn-anterior:hover:not(:disabled), .btn-siguiente:hover:not(:disabled) {
    background-color: #ffb300;
}

.btn-inicio:disabled, .btn-anterior:disabled, .btn-siguiente:disabled {
    background-color: #666;
    cursor: not-allowed;
}

.pagina-info {
    color: white;
    font-size: 1rem;
}

/* ==================== FOOTER  ==================== */
.footer {
    background-color: #222;
    color: #ccc;
    position: bottom;
    width: 100%;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
}

.footer-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-izq {
    flex: 1;
}

.footer-texto {
    font-size: 0.95rem;
    color: #ccc;
    margin: 0;
}

.footer-der {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-btn:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.footer-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* ==================== FOOTER TABLET  ==================== */
@media screen and (max-width: 768px) {
    .footer-container {
        padding: 1rem 1.5rem;
    }

    .footer-texto {
        font-size: 0.85rem;
    }

    .footer-img {
        width: 35px;
        height: 35px;
    }

    .footer-der {
        gap: 0.75rem;
    }
}

/* ==================== FOOTER CELULAR  ==================== */
@media screen and (max-width: 480px) {
    .footer-container {
        padding: 0.8rem 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .footer-izq {
        text-align: center;
    }

    .footer-texto {
        font-size: 0.75rem;
    }

    .footer-img {
        width: 30px;
        height: 30px;
    }

    .footer-der {
        gap: 0.5rem;
    }
}

/* ==================== MODAL DE USUARIO ==================== */
.user-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background-color: #222;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #555;
}

.modal-content h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.modal-btn {
    padding: 1rem 2rem;
    margin: 0.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-btn {
    background-color: #ff4444;
    color: white;
}

.admin-btn:hover {
    background-color: #cc3333;
}

.user-btn {
    background-color: #ffc107;
    color: black;
}

.user-btn:hover {
    background-color: #ffb300;
}