@media (max-width: 768px) {
    .landing-layout header {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 0.5rem;
    }
    .landing-layout header > div {
        flex-direction: column;
        gap: 1rem;
        justify-content: flex-start;
        align-items: center;
    }
    .landing-layout form {
        min-width: 0;
        max-width: 100%;
        width: 100%;
    }
    .landing-layout nav {
        justify-content: center;
        gap: 1rem;
        margin-top: 0.5rem;
    }
    .landing-layout h1 {
        font-size: 1.4rem !important;
    }
    .landing-layout main {
        padding: 1rem;
    }
    .landing-layout footer {
        font-size: 0.85rem;
        padding: 0.8rem;
    }
}

/* Barra de menú principal */
.menu-bar {
    width: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border-bottom: 2px solid #e5e5e5;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 600;
    gap: 2rem;
    justify-content: center;
}

@media (max-width: 768px) {
    .menu-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 0.8rem 0.5rem;
        font-size: 0.98rem;
        overflow-x: auto;
    }
    .menu-bar > div {
        width: 100%;
        justify-content: flex-start;
        padding: 0.4rem 0;
        border-bottom: 1px solid #f2f2f2;
    }
    .menu-bar > div:last-child {
        border-bottom: none;
    }
}

.landing-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0a0f1f 0%, #1b2b45 100%);
}

.landing-header {
    padding: 1.3rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10,20,35,0.92);
    color: #fff;
    box-shadow: 0 2px 18px rgba(0,0,0,0.35);
    border-bottom: 1px solid rgba(0, 255, 234, 0.12);
    flex-wrap: wrap;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.store-title {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
}

.store-title-highlight {
    color: #00eaff;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 220px;
    max-width: 400px;
    width: 100%;
}

.search-input {
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    border: none;
    font-size: 1rem;
    width: 100%;
    background: #fff;
    color: #222;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

.search-button {
    background: #00eaff;
    color: #fff;
    border: none;
    border-radius: 2rem;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
}

.header-nav {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #FFD700;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    transition: .3s;
}

.nav-link-acceso {
    color: #FFD700;
}

.nav-icon {
    font-size: 1.3rem;
}

.landing-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 1rem 0.5rem;
    box-sizing: border-box;
}

.landing-footer {
    background: #0d0f14;
    color: #d8d8d8;
    padding: 1.2rem;
    text-align: center;
    border-top: 1px solid rgba(0, 255, 234, 0.12);
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    .header-nav {
        gap: 0.8rem;
    }
    .store-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .landing-header {
        flex-direction: column;
        padding: 1rem 0.5rem;
    }
    .header-content {
        flex-direction: column;
        align-items: stretch;
        gap: 0.7rem;
    }
    .search-form {
        min-width: 0;
        max-width: 100%;
    }
    .landing-main {
        padding: 0.5rem 0.2rem;
    }
    .header-nav {
        flex-direction: row;
        justify-content: center;
        width: 100%;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }
    .nav-link {
        font-size: 1rem;
    }
    .store-title {
        font-size: 1.1rem;
    }
}
