/* ===== ESTILO GENERAL DEL HEADER ===== */
header {
    margin: 0 auto;
    background: linear-gradient(to right, #8B3A3A, #B55656);
    color: white;
    padding: 1rem 2rem;
    font-family: 'Montserrat', sans-serif;
}

.div-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    background-color: transparent;
}

/* ===== LOGO Y TÍTULO ===== */
.logo-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: transparent;
}

.icon-crafts {
    height: 60px;
    width: auto;
    object-fit: contain;
    background-color: transparent;
}

.logo-title h1 {
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.2;
    font-weight: 700;
    background-color: transparent;
}

.logo-title h1 span {
    font-weight: 400;
    font-size: 0.9rem;
    display: block;
    background-color: transparent;
}

/* ===== MENÚ DE NAVEGACIÓN ===== */
nav .nav-list {
    list-style: none;
    display: flex;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
    align-items: center;
    background-color: transparent;
}

.nav-list li a {
    text-decoration: none;
    font-weight: 500;
    color: white;
    transition: color 0.3s ease;
    background-color: transparent;
    font-size: 1rem;
}

.nav-list li a:hover {
    color: #ffd8d8;
}

/* ===== ÍCONO LOGIN ===== */
.img-nav {
    height: 40px;
    width: auto;
    object-fit: contain;
    background-color: transparent;
}

/* ===== RESPONSIVE HEADER ===== */
@media (max-width: 768px) {
    .div-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

    .nav-list li a {
        font-size: 1.1rem;
    }

    .logo-title h1 {
        font-size: 1.2rem;
    }
}
