/* CONTENEDOR */
.container {
    max-width: 1300px;
    margin: auto;
    padding: 0 15px;
}

/* TOP HEADER */
.header-top {
    background: var(--primary);
    color: var(--primary-text);
	position: relative;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

/* LEFT */
.left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
    font-size: 20px;
}

.logo img {
    width: 130px;
}

.btn-categorias {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
	padding: 15px;
}
.btn-categorias i {
    font-size: 20px;
}
.btn-categorias span {
    font-size: 11px;
    font-weight: 600;
}

/* SEARCH */
.search-box {
    flex: 1;
    display: flex;
    max-width: 500px;
}
.search-sect {
    width: 100%;
    overflow: hidden;
    background: var(--bg-global);
    border-radius: 25px;
}

.search-sect form {
    display: flex;
}
.search-box input {
    flex: 1;
    border: none;
    padding: 12px;
    outline: none;
}

.search-box button {
    background: none;
    border: none;
    padding: 0 15px;
    cursor: pointer;
}

/* RIGHT */
.right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart {
    position: relative;
    color: #fff;
}

.cart .count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: yellow;
    color: #000;
    border-radius: 50%;
    font-size: 12px;
    padding: 2px 6px;
}

/* NAV */
.header-nav {
    background: var(--header2-bg);
    color: var(--header2-text);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
}

.menu-links-list {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-links-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.help-wrap {
    position: relative;
    cursor: pointer;
}

.help-btn {
    font-size: 14px;
}

.help-dropdown {
    position: absolute;
    top: 30px;
    right: 0;
    background: #fff;
    color: #000;
    min-width: 180px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: none;
    padding: 10px 0;
    z-index: 999;
}

.help-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.help-menu li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.help-menu li a:hover {
    background: #f5f5f5;
    color: #3c5fff;
}

/* ACTIVO */
.help-wrap.active .help-dropdown {
    display: block;
}

/* MOBILE */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: #fff;
    cursor:pointer;
}
.header-fav{
    position: relative;
    color:#fff;
    font-size:20px;
}

.fav-count {
    position: absolute;
    top: -8px;
    right: -7px;
    background: #ff3b3b;
    color: #fff;
    font-size: 11px;
    border-radius: 50%;
    padding: 2px 5px;
    min-width: 4px;
    text-align: center;
}

.mobile-menu-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    z-index:999;
    opacity:0;
    visibility:hidden;
    transition:.35s;
}

.mobile-menu-overlay.active{
    opacity:1;
    visibility:visible;
}

.mobile-menu-top{
    display:none;
}
.search-box{
    position:relative;
    width:100%;
}

.live-results{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:#fff;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,.1);
    overflow:hidden;
    z-index:999;
    display:none;
    max-height:500px;
    overflow-y:auto;
}

.live-item{
    display:flex;
    gap:12px;
    padding:3px 10px;
    align-items:center;
    border-bottom:1px solid #eee;
    text-decoration:none;
    color:#222;
    transition:.2s;
}

.live-item:hover{
    background:#f8f8f8;
}

.live-item img{
    width:30px;
    height:30px;
    object-fit:cover;
    border-radius:8px;
}

.live-item h4{
    margin:0;
    font-size:14px;
}

.live-item span{
    color:#4CAF50;
    font-weight:bold;
    font-size:14px;
}
	.header-nav .search-box {display:none}
.itmbus {
    text-align: justify;
}
/* RESPONSIVE */
@media (max-width: 768px) {
.container.nav-flex {
        display: block;
    }
    .btn-categorias, .help, .help-wrap {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

.mobile-menu-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:25px;
}

.mobile-menu-title{
    font-size:22px;
    font-weight:700;
}

.close-mobile-menu{
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    background:#f5f5f5;
    font-size:18px;
    cursor:pointer;
}

.menu-links{
    position:fixed;
    top:0;
    left:0;
    width:290px;
    max-width:85%;
    height:100vh;
    background:var(--header2-bg);
    z-index:1000;
    padding:20px;
    overflow-y:auto;
    transform:translateX(-100%);
    opacity:0;
    visibility:hidden;
    transition:
        transform .4s ease,
        opacity .2s ease,
        visibility .2s ease;
    box-shadow:0 0 30px rgba(0,0,0,.2);
    will-change: transform;
    backface-visibility: hidden;
}

.menu-links.active{
    transform:translateX(0);
    opacity:1;
    visibility:visible;
}

.menu-links-list{
    flex-direction:column;
    gap:5px;
}

.menu-links-list li a{
    display:block;
    padding:12px 14px;
    border-radius:12px;
    font-size:15px;
}

.menu-links-list li a:hover{
    background:rgba(255,255,255,.1);
}
    .search-box {
        display: none;
    }

    .header-flex {
        justify-content: space-between;
		 height: 60px;
    }

    .logo span {
        font-size: 18px;
    }
.auth-panel {
    width: 100%;
    padding: 0;
}
.login-box.active {
    padding: 20px;
}
.close-auth {
    text-align: center;
    cursor: pointer;
    font-size: 32px;
    padding: 13px;
    display: inline-block;
}
.header-top .right, .header-fav {
    font-size: 23px;
}
.user-wrap span.nomuser {
    display: none;
}
.user-wrap {
    position: relative;
    padding: 5px 10px;
}
.header-nav .search-box {
    display: block;
    text-align: center;
    margin: 0 auto;
}
}	