@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Inter', sans-serif;
}

.page-main {
    padding: 5px 0 !important;
    min-height: 1px !important;
}

/* Estilos para las clases específicas de welcome - Máxima prioridad */
.header-style-1-welcome .header-bottom-welcome {
    border-bottom: none !important;
    position: relative !important;
    z-index: 200 !important;
    border-radius: 24px !important;
    margin-right: 45px !important;
    margin-left: 45px !important;
}

/* Estilos para la clase específica de welcome - Máxima prioridad */
.header-bottom-content-welcome {
    background-image: url('../images/background-banner-1.png') !important;
    background-position: center !important;
    background-size: cover !important;
    background-position-y: bottom !important;
    width: auto !important;
    height: 265px !important;
    padding-top: 34px !important;
    padding-left: 0px !important;
    border-radius: 24px !important;
    display: block !important;
}

.header-bottom-content-welcome::before {
    border-radius: 24px !important;
    content: "" !important;
    position: absolute !important;
    top: 0px !important;
    right: 0px !important;
    bottom: 0px !important;
    left: 0px !important;
    background-color: rgba(0, 0, 0, 0.50) !important;
}

.navigation-mobile-container {
    display: none !important;
}

/*LINKS*/
.custom-header-links a, a:focus {
    color: #ffff !important;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 12px;
}

.custom-header-links li.active a{
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #000 !important;
    background: #fff;
    border-radius: 24px;
    padding: 5px 15px 5px 15px;
    bottom: 5px;
    margin-top: -5px;
}

.header-style-1-welcome .header-bottom-welcome .logo-container-welcome .logo-wrapper-welcome .logo-andromeda-welcome {
    position: absolute !important;
    width: 65% !important;
    left: 490px !important;
    top: -5px !important;
}

.header-style-1-welcome .cart-search-welcome .notifications-header-welcome {
    margin-right: 0px !important;
    padding-top: 0px !important;
}

.header-style-1-welcome .searchbox-header-welcome {
    float: right !important;
    padding-right: 50px !important;
    position: relative !important;
    min-width: 50px !important;
    min-height: 35px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.4) !important;
    display: none !important;
}

.header-style-1-welcome .sm_megamenu_wrapper_horizontal_menu-welcome {
    display: none !important;
}

/* Categories scroll container - Ocultar en rutas welcome */
.categories-scroll-container-welcome {
    display: none !important;
}

/* Counter customer header - Mantener estilos originales */
.counter-customer-header-wrapper-welcome {
    width: 100% !important;
    height: 100% !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 10px !important;
}

.counter-customer-header-box {
    display: inline-flex !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

.counter-customer-header-left {
    padding: 10px !important;
    background: black !important;
    border-top-left-radius: 20px !important;
    border-bottom-left-radius: 20px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
}

.counter-customer-header-icon {
    background-image: url(../images/assignment_ind.svg) !important;
    width: 24px !important;
    height: 24px !important;
}

.counter-customer-header-label {
    color: white !important;
    font-size: 18px !important;
    font-family: Inter, sans-serif !important;
    font-weight: 500 !important;
    word-wrap: break-word !important;
}

.counter-customer-header-right {
    align-self: stretch !important;
    padding: 10px !important;
    background: white !important;
    border-top-right-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
}

.counter-customer-header-value {
    color: black !important;
    font-size: 18px !important;
    font-family: Inter, sans-serif !important;
    font-weight: 500 !important;
    word-wrap: break-word !important;
}

/* Notifications header - Estilos base para welcome */
.notifications-header-welcome {
    margin-left: 0px !important;
    grid-column-start: 2 !important;
    text-align: center !important;
    width: 100% !important;
}

.notifications-header-welcome .notifications-container {
    display: block !important;
}

.notifications-header-welcome .notifications-container .notifications-icon-container {
    display: flex !important;
    background-color: white !important;
    height: 40px !important;
    border-radius: 50% !important;
}

.notifications-header-welcome .notifications-icon {
    left: 9px !important;
    top: 12px !important;
    width: 20.28px !important;
    height: 20.28px !important;
}


.page-title-wrapper .page-title{
    display: none;
}

.custom-header-datetime {
    color: #fff;
    padding-top: 0px;
}

.andromeda-header-links {
    display: flex;
    gap: 20px;
    padding-top: 20px;
    color: #fff !important;

}

.andromeda-header-links-hostess{
    display: flex;
    gap: 20px;
    padding-top: 110px;
    color: #fff !important;
}

.custom-header-links {
    display: flex;
    gap: 20px;
    padding-top: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
}

.custom-header-links .nav.item a {
    color: #fff;
    text-decoration: none;
    font-weight: normal;
    transition: color 0.3s ease, transform 0.3s ease;
    font-family: "Inter", sans-serif;
}

.custom-header-links .nav.item a:hover {
    color: #fff;
    transform: translateY(-2px);
    font-family: "Inter", sans-serif;
}

.custom-header-links .nav.item.current {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #000;
    background: #fff;
    border-radius: 24px;
    padding: 5px 15px 5px 15px;
    bottom: 5px;
    margin-top: -5px;
}

.custom-header-links .nav.item a:focus, 
.custom-header-links .nav.item a:hover {
    outline: none;
    text-decoration: underline; 
    font-family: "Inter", sans-serif;
}

.custom-header-links li {
    position: relative;
}
/* Estilos para el submenu */
.custom-header-links .submenu {
    display: none !important;              
    position: absolute;        
    top: 100%;                  
    left: 0;
    background-color: #fff; 
    list-style: none;
    padding: 10px 0;            
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
    z-index: 1000;      
    width: max-content;        
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.custom-header-links li:hover > .submenu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Regla adicional con mayor especificidad para asegurar el hover */
ul.custom-header-links li:hover > ul.submenu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.custom-header-links .submenu li {
    padding: 5px 15px;
}

.custom-header-links .submenu li a {
    color: #000 !important;           
    text-decoration: none;
    transition: color 0.3s ease;
}

.custom-header-links .submenu li a:hover {
    text-decoration: underline;
}

.header-logo {
    max-height: 50px;
    width: auto;
}

.custom-block-logo{
    width: 95px;
    padding-right: 15px;
}

.custom-header-buttons {
    display:-webkit-inline-box;
    gap: 5px;
    padding-top: 20px;
    list-style: none;
    margin: 0;
    justify-content: flex-start;
    padding-top: 140px;

}

.link-assing-table a {
    color: #fff !important;
    text-decoration: none;
    font-weight: normal;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    border-radius: 15px;
    border: solid;
    padding: 5px 15px 5px 15px;
    transition: none !important;
    transform: none !important; 
}
.andromeda-header-name{
    margin-bottom: 0px;
    color: #fff;
    font-size: 40px;
}

.andromeda-header-name .product-status{
    margin-bottom: 0px;
    color: #54F389;
    font-size: 16px;
}

.andromeda-header-name .product-city
{
    margin-bottom: 0px;
    color: #8C8C8C;
    font-size: 16px;
}

.andromeda-header-name .details-inline {
    display: flex;
    align-items: center;
    gap: 10px;
}

/*.details-inline-empty {
    padding-top: 80px; 
}*/
/* Media Queries */

/* Dispositivos móviles pequeños (<= 576px) */
@media (max-width: 576px) {

    .header-style-1-welcome .header-bottom-welcome {
        margin-right: 10px !important;
        margin-left: 10px !important;
        border-radius: 12px !important;
    }

    .header-bottom-content-welcome {
        height: 270px !important;
        padding-top: 10px !important;
        padding-left: 20px !important;
    }

    .andromeda-header-links{
        display: flex;
        gap: 20px;
        padding-top: 0px;
        color: #fff !important;
    }
    .andromeda-header-links-hostess{
        display: flex;
        gap: 20px;
        padding-top: 0px;
        color: #fff !important;
    }
    .logo-andromeda {
        max-width: 100px;
    }
    
    .header-bottom-content {
        height: 310px !important;
        padding-top: 40px;
        padding-left: 20px;
        width: 100%;
    }

    .header-style-1 .header-bottom .logo-container .logo-wrapper .logo-andromeda {
        position: absolute;
        top: -65px;
        width: 45% !important;
        left: 60px;
        top: -10px;
    }
    
    .custom-header-links {
        display: block;
        gap: 10px !important;
        padding-top: 20px;
        list-style: none;
        margin: 0;
        padding: 0;
        justify-content: center;
    }

    .custom-header-buttons  {
        display: -webkit-inline-box;
        gap: 10px !important;
        padding-top: 20px;
        list-style: none;
        margin: 0;
        padding: 0;
        justify-content: center;
    }

    .logo-andromeda {
        max-width: 85px;
    }

    .header-style-1 .cart-search .notifications-header {
        margin-right: 90px !important;
        padding-top: 7px;
    }

    .custom-header-links .nav.item.current {
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        color: #000;
        background: #fff;
        border-radius: 24px;
        padding: 5px 15px 5px 15px;
        bottom: 5px;
        margin-top: -5px;
    }

    .custom-block-logo{
        width: 95px;
        padding-right: 15px;
    }
    .link-assing-table{
        padding-top: 200px;
    }
    .andromeda-header-hostess-buttons {
        width: max-content;
        padding-top: 6px;
    }
    .custom-header-datetime {
        color: #fff;
        padding-top: 40px;
    }
    .andromeda-header-name{
        margin-bottom: 0px;
        color: #fff;
        font-size: 20px;
    }
}

/* Tablets (>= 577px y <= 991px) */
@media (min-width: 577px) and (max-width: 605px) {
    .header-style-1 .header-bottom {
        margin-right: 20px !important;
        margin-left: 20px !important;
        border-radius: 16px !important;
    }

    .header-bottom-content {
        height: 365px !important;
        padding-top: 60px;
        padding-left: 30px;
    }

    .custom-header-links {
        display: block;
        gap: 45px;
        padding-top: 20px;
        list-style: none;
        margin: 0px;
        padding: 0;
        justify-content: flex-start;
    }

    .header-style-1 .header-bottom .logo-container .logo-wrapper {
        position: absolute;
        top: 30px;
        width: 75%;
        text-align: center;
    }

    .header-style-1 .cart-search .notifications-header {
        margin-right: 135px !important;
        padding-top: 75px;
    }

    .andromeda-header-links {
        display: flex;
        gap: 20px;
        padding-top: 25px;
        color: #fff !important;
    }
    .andromeda-header-links-hostess {
        display: flex;
        gap: 20px;
        padding-top: 25px;
        color: #fff !important;
    }

    .header-style-1 .header-bottom .logo-container .logo-wrapper .logo-andromeda {
        position: absolute;
        top: 65px !important;
        width: 40% !important;
        left: 250px;
        top: -10px;
    }

    .custom-block-logo{
        width: 90px;
        padding-right: 15px;
    }
    .link-assing-table{
        padding-top: 90px;
    }
    .andromeda-header-name{
        margin-bottom: 0px;
        color: #fff;
        font-size: 25px;
    }
}


/* Tablets (>= 577px y <= 991px) */
@media (min-width: 605px) and (max-width: 675px) {
    .header-style-1 .header-bottom {
        margin-right: 20px !important;
        margin-left: 20px !important;
        border-radius: 16px !important;
    }

    .header-bottom-content {
        height: 360px !important;
        padding-top: 60px;
        padding-left: 30px;
    }

    .custom-header-links {
        display: block;
        gap: 45px;
        padding-top: 20px;
        list-style: none;
        margin: 0px;
        padding: 0;
        justify-content: flex-start;
    }

    .dashboard-custom-blocks {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin: 20px 0;
        width: 100% !important;
    }

    .header-style-1 .header-bottom .logo-container .logo-wrapper {
        position: absolute;
        top: 30px;
        width: 75%;
        text-align: center;
    }

    .header-style-1 .cart-search .notifications-header {
        margin-right: 165px !important;
        padding-top: 75px;
    }

    .andromeda-header-links {
        display: flex;
        gap: 20px;
        padding-top: 25px;
        color: #fff !important;
    }
    
    .andromeda-header-links-hostess {
        display: flex;
        gap: 20px;
        padding-top: 25px;
        color: #fff !important;
    }

    .header-style-1 .header-bottom .logo-container .logo-wrapper .logo-andromeda {
        position: absolute;
        top: 65px !important;
        width: 45% !important;
        left: 260px;
        top: -10px;
    }

    .custom-block-logo{
        width: 90px;
        padding-right: 15px;
    }

    .custom-header-buttons {
        display: -webkit-inline-box;
        gap: 5px;
        padding-top: 20px;
        list-style: none;
        margin: 0;
        justify-content: flex-start;
        padding-top: 225px;
    }

    .andromeda-header-name{
        margin-bottom: 0px;
        color: #fff;
        font-size: 27px;
    }
}

/* Tablets (>= 577px y <= 991px) */
@media (min-width: 676px) and (max-width: 768px) {
    .header-style-1 .header-bottom {
        margin-right: 20px !important;
        margin-left: 20px !important;
        border-radius: 16px !important;
    }

    .header-bottom-content {
        height: 355px !important;
        padding-top: 60px;
        padding-left: 30px;
    }

    .custom-header-links {
        display: block;
        gap: 45px;
        padding-top: 20px;
        list-style: none;
        margin: 0px;
        padding: 0;
        justify-content: flex-start;
    }
    .customer-account-index .container {
        width: 100% !important
    }

    .dashboard-custom-blocks {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin: 20px 0;
        width: 100% !important;
    }

    .header-style-1 .header-bottom .logo-container .logo-wrapper {
        position: absolute;
        top: 30px;
        width: 75%;
        text-align: center;
    }

    .header-style-1 .cart-search .notifications-header {
        margin-right: 165px !important;
        padding-top: 80px;
    }

    .andromeda-header-links {
        display: flex;
        gap: 20px;
        padding-top: 25px;
        color: #fff !important;
    }
    .andromeda-header-links-hostess {
        display: flex;
        gap: 20px;
        padding-top: 25px;
        color: #fff !important;
    }

    .header-style-1 .header-bottom .logo-container .logo-wrapper .logo-andromeda {
        position: absolute;
        top: 65px !important;
        width: 45% !important;
        left: 315px;
    }

    .custom-block-logo{
        width: 90px;
        padding-right: 15px;
    }

    .andromeda-header-hostess-buttons{
        padding: 67px 5px;
    }

    .andromeda-header-name{
        margin-bottom: 0px;
        color: #fff;
        font-size: 35px;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .header-style-1 .header-bottom {
        margin-right: 20px;
        margin-left: 20px;
        border-radius: 16px !important;
    }

    .header-bottom-content {
        height: 375px !important;
        padding-top: 30px;
        padding-left: 35px;
    }

    .custom-header-links {
        display: block;
        gap: 45px;
        padding-top: 20px;
        list-style: none;
        margin: 0px;
        padding: 0;
        justify-content: flex-start;
    }

    .dashboard-custom-blocks {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin: 20px 0;
        width: 100% !important;
    }

    .header-style-1 .header-bottom .logo-container .logo-wrapper {
        position: absolute;
        top: 30px;
        width: 75%;
        text-align: center;
    }

    .header-style-1 .cart-search .notifications-header {
        margin-right: 0px !important;
        padding-top: 65px;
    }

    .andromeda-header-links {
        display: flex;
        gap: 20px;
        padding-top: 25px;
        color: #fff !important;
    }

    .andromeda-header-links-hostess {
        display: flex;
        gap: 20px;
        padding-top: 25px;
        color: #fff !important;
    }

    .header-style-1 .header-bottom .logo-container .logo-wrapper .logo-andromeda {
        position: absolute;
        top: 95px !important;
        width: 40% !important;
        left: 300px;
    }

    .link-assing-table {
        padding-top: 0px;
    }

    .custom-header-buttons {
        display: -webkit-inline-box;
        gap: 5px;
        padding-top: 20px;
        list-style: none;
        margin: 0;
        justify-content: flex-start;
        padding-top: 140px;
    }
    .custom-header-datetime {
        color: #fff;
        padding-top: 0px;
    }

    .andromeda-header-name{
        margin-bottom: 0px;
        color: #fff;
        font-size: 20px !important
    }

    .andromeda-header-name .product-city {
        margin-bottom: 0px;
        color: #8C8C8C;
        font-size: 14px;
    }
    .andromeda-header-name .product-status {
        margin-bottom: 0px;
        color: #54F389;
        font-size: 14px;
    }
}

/* Escritorios pequeños (>= 992px y <= 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .header-style-1 .header-bottom {
        margin-right: 50px;
        margin-left: 50px;
        border-radius: 20px !important;
    }

    .header-bottom-content {
        height: 347px !important;
        padding-top: 70px;
        padding-left: 0px;
    }

    .dashboard-custom-blocks .custom-block {
        flex: 1 1 calc(33.33% - 20px);
    }

    .dashboard-custom-blocks {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin: 20px 0;
        width: 100%;
    }

    .andromeda-header-links {
        display: flex;
        gap: 20px;
        color: #fff !important;
    }

    .andromeda-header-links-hostess {
        display: flex;
        gap: 20px;
        padding-top: 65px !important;
        color: #fff !important;
    }

    .custom-header-links {
        display: -webkit-inline-box;
        gap: 20px;
        padding-top: 20px;
        list-style: none;
        margin: 0;
        padding: 0;
        justify-content: flex-start;
    }

    .header-style-1 .cart-search .notifications-header {
        margin-right: 5px !important;
        padding-top: 7px;
    }

    .header-style-1 .header-bottom .logo-container .logo-wrapper {
        position: absolute;
        top: -5px;
        width: 100%;
        width: 100%;
        text-align: center;
    }

    .header-style-1 .header-bottom .logo-container .logo-wrapper .logo-andromeda {
        position: absolute;
        width: 65% !important;
        left: 360px;
        top: 10px;
    }

    .custom-header-links .nav.item a {
        color: #fff;
        text-decoration: none;
        font-weight: normal;
        transition: color 0.3s ease, transform 0.3s ease;
        font-family: "Inter", sans-serif;
        font-size: 13px;
    }

    .custom-header-buttons {
        display: -webkit-inline-box;
        gap: 5px;
        list-style: none;
        margin: 0;
        justify-content: flex-start;
        padding-top: 165px;
    }

    .andromeda-header-name{
        margin-bottom: 0px;
        color: #fff;
        font-size: 30px !important
    }
    .customer-account-index .container {
        width: 905px !important
    }
}

/* Tablets grandes (>= 1200px) */
@media (min-width: 1199px) and (max-width: 1398px) {

    .header-style-1 .header-bottom .logo-container .logo-wrapper .logo-andromeda {
        position: absolute;
        top: -65px;
        width: 70% !important;
        left: 380px;
        top: 5px;
    
    }

    .custom-header-links {
        display: -webkit-inline-box;
        gap: 20px;
        padding-top: 20px;
        list-style: none;
        margin: 0;
        padding: 0;
        justify-content: flex-start;
    }

    .header-style-1 .cart-search .notifications-header {
        margin-right: 60px !important;
        padding-top: 13px;
    }

    .custom-header-buttons {
        display: -webkit-inline-box;
        gap: 5px;
        padding-top: 20px;
        list-style: none;
        margin: 0;
        justify-content: flex-start;
        padding-top: 123px;
    }

    .andromeda-header-hostess-buttons {
        padding: 15px;
    }
    
}

@media (min-width: 1399px) and (max-width: 1549px) {

    .custom-header-links {
        display: -webkit-inline-box;
        gap: 20px;
        padding-top: 20px;
        list-style: none;
        margin: 0;
        padding: 0;
        justify-content: flex-start;
    }

    .custom-header-buttons {
        display: -webkit-inline-box;
        gap: 5px;
        padding-top: 20px;
        list-style: none;
        margin: 0;
        justify-content: flex-start;
        padding-top: 135px;
    }
}


@media (min-width: 1550px) {
    .header-style-1 .header-bottom {
        border-radius: 24px !important;
    }
    
    .header-bottom-content {
        height: 265px !important;
        padding-top: 34px;
        padding-left: 0px;
    }
    .custom-header-links {
        display: -webkit-inline-box;
        gap: 20px;
        padding-top: 20px;
        list-style: none;
        margin: 0;
        padding: 0;
        justify-content: flex-start;
    }
    
}


@media (min-width: 1615px) and (max-width: 2400px) {
    .customer-account-index .header-style-1 .header-bottom .logo-container .logo-wrapper .logo-andromeda {
        position: absolute;
        width: 55% !important;
        left: 550px;
        top: -5px;
    }
    .custom-header-links {
        display: -webkit-inline-box;
        gap: 20px;
        padding-top: 20px;
        list-style: none;
        margin: 0;
        padding: 0;
        justify-content: flex-start;
    }
}

@media (min-width: 2401px) {
    .custom-header-links{
        display: -webkit-inline-box;
        gap: 20px;
        padding-top: 20px;
        list-style: none;
        margin: 0;
        padding: 0;
        justify-content: flex-start;
    }
    .custom-header-links {
        display: -webkit-inline-box;
        gap: 20px;
        padding-top: 20px;
        list-style: none;
        margin: 0;
        padding: 0;
        justify-content: flex-start;
    }
}
