:root {
    --ya-azul: #0099cc;
    --ya-naranja: #ff9900;
    --ya-azul-claro: #00ccff;
    --ya-amarillo: #ffcc33;
    --ya-gris: #cccccc;
    --ya-marino: #0a4a6b;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    background: #f5f6f8;
}

/* ── TIPOGRAFÍA ── */
h1,
h2,
.nunito {
    font-family: 'Nunito', sans-serif;
}

.eyebrow {
    font-family: 'Poppins', sans-serif;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--ya-azul);
}

/* HEADER */

.ya-header {
    background: #fff;
    height: 68px;
    position: relative;
    box-shadow: 0 2px 14px rgba(0, 153, 204, .09);
}

.ya-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ya-azul) 50%, var(--ya-naranja) 50%);
}

.ya-nav-link {
    font-size: .72rem;
    font-weight: 700;
    color: var(--ya-marino);
    letter-spacing: .6px;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}

.ya-nav-link.yabox {
    color: var(--ya-azul);
    border-bottom-color: var(--ya-azul);
}

.ya-nav-link.compraya {
    color: var(--ya-naranja);
    border-bottom-color: var(--ya-naranja);
}

.logo-text {
    font-family: 'Nunito', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
}

.logo-ya {
    color: var(--ya-marino);
}

.logo-Y {
    color: var(--ya-naranja);
}

.logo-a {
    color: var(--ya-azul);
}

.search-bar {
    display: flex;
    align-items: center;
    border: 1px solid #d0e8f5;
    border-radius: 100px;
    overflow: hidden;
    height: 28px;
    background: #f5fbff;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    font-size: .67rem;
    font-weight: 600;
    color: var(--ya-marino);
    padding: 0 10px;
    width: 165px;
}

.search-bar input::placeholder {
    opacity: .5;
}

.search-bar button {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--ya-azul);
    color: #fff;
    font-size: .68rem;
    cursor: pointer;
}

.login-btn {
    font-size: .6rem;
    font-weight: 700;
    color: var(--ya-marino);
    letter-spacing: .4px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

/* aqui termina el hader */

/* FOOTER */

/* ── FOOTER ── */
.ya-footer {
    background: #111;
}

.footer-link {
    font-size: .75rem;
    color: rgba(255, 255, 255, .4);
    display: block;
    margin-bottom: .4rem;
    text-decoration: none;
}

.footer-col-title {
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    font-family: 'Poppins', sans-serif;
}

.footer-badge {
    font-size: .6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .25);
    border: .5px solid rgba(255, 255, 255, .1);
    padding: 3px 10px;
    border-radius: 3px;
}

.footer-addr {
    font-size: .73rem;
    color: rgba(255, 255, 255, .35);
    line-height: 1.75;
}

.footer-copy {
    font-size: .68rem;
    color: rgba(255, 255, 255, .25);
}

/* AQUI TERMINA EL FOOTER */

/* MENU */

.scene {
    display: flex;
    /* min-height: 680px; */
    background: rgba(0, 0, 0, 0.35);
}

.menu {
    /* width: 300px; */
    background: #fff;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.menu-header {
    background: #fff;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: #1a1a2e;
}

.logo-ya {
    color: #f5a623;
}

.logo-underline {
    width: 36px;
    height: 3px;
    background: #f5a623;
    border-radius: 2px;
    margin-top: 2px;
}

.close-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #eee;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #888;
    font-size: 16px;
}

.close-btn:hover {
    background: #f0f0f0;
}

.user-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #f8f9fb;
    border-bottom: 1px solid #eee;
}

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1a6ea8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    flex-shrink: 0;
}

.user-name {
    font-size: 13px;
    font-weight: bold;
    color: #222;
}

.user-sub {
    font-size: 11px;
    color: #999;
    margin-top: 1px;
}

.menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    cursor: pointer;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.menu-item:hover {
    background: #f8f9fb;
}

.menu-item.active {
    background: #1a6ea8;
    color: #fff;
    border-left-color: #f5a623;
}

.mi-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #888;
}

.menu-item.active .mi-icon {
    color: #fff;
}

.mi-label {
    flex: 1;
}

.mi-arrow {
    width: 14px;
    height: 14px;
    color: #ccc;
    flex-shrink: 0;
}

.sub-section {
    background: #f8f9fb;
    border-left: 3px solid #f5a623;
}

.sub-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px 10px 36px;
    cursor: pointer;
    color: #555;
    font-size: 12px;
}

.sub-item:hover {
    background: #f0f2f5;
    color: #1a6ea8;
}

.sub-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #f5a623;
    flex-shrink: 0;
}

.section-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 6px 20px;
}

.menu-footer {
    padding: 14px 20px;
    border-top: 1px solid #f0f0f0;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    color: #c0392b;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #fde8e8;
    background: #fff8f8;
}

.logout-btn:hover {
    background: #fde8e8;
}

.page-bg {
    flex: 1;
    opacity: 0.4;
    background: #eee;
}