.page-header.type3.sticky-header .header-main {
    margin-top: 89px !important;
}

.page-header.type3.sticky-header~.custom-top-bar-fixed {
    /* display: none !important; */
}

.custom-top-bar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #f1f1f1;
    padding: 0px 0px 8px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.promo-bar {
    background: #5B0D2F;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.promo-bar a {
    color: #fff !important;
    text-decoration: underline;
    font-size: 14px;
    font-weight: 600;
}

.custom-top-bar-fixed .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.custom-top-bar-fixed ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.custom-top-bar-fixed ul li {
    border-radius: 25px;
    background: black;
    padding: 3px 15px;
}

.custom-top-bar-fixed ul li a {
    color: white;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
}

.custom-top-bar-fixed ul li a:hover {
    text-decoration: underline;
}

/* Desplazar el contenido hacia abajo para que no lo tape */
body {
    padding-top: 89px;
    /* Ajusta según el alto real de la barra */
}

@media (max-width: 480px) {
    .promo-bar {
        height: auto;
        min-height: 40px;
        padding: 8px 12px;
    }

    .promo-bar a {
        line-height: 1.2;
        text-align: center;
    }
}


/* UNIVERSAL FIX: Force arrow using the specific PHP-added class */
.sw-megamenu.navigation a.has-children-arrow {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.sw-megamenu.navigation a.has-children-arrow:after {
    content: '\e81a' !important;
    font-family: 'porto-icons' !important;
    display: inline-block !important;
    margin-left: 8px !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: normal !important;
    color: inherit !important;
}
/*------------------INICIO Correccion de estilos de la lista de producto */
.page-products #maincontent .column.main .catalog-topnav .amshopby-filter-parent {
    margin-left: 17px !important;
}

@media (min-width: 1680px) {
    .page-products #maincontent .column.main {
        display: flex !important;
        justify-content: space-between !important;
        flex-wrap: nowrap;
    }

    .page-products #maincontent .column.main .catalog-topnav.amasty-catalog-topnav {
        flex: 0 0 250px;
    }

    .page-products #maincontent .column.main #amasty-shopby-product-list {
        flex: 1 1 100px;
        max-width: calc(100% - 250px);
    }
}

@media (max-width: 1680px) {
    .page-products #maincontent .column.main {
        display: flex !important;
        justify-content: space-between !important;
        flex-wrap: nowrap;
    }

    .page-products #maincontent .column.main .catalog-topnav.amasty-catalog-topnav {
        flex: 0 0 250px;
    }

    .page-products #maincontent .column.main #amasty-shopby-product-list {
        flex: 1 1 100px;
        max-width: calc(100% - 250px);
    }
}

@media (max-width: 1120px) {
    .page-products #maincontent .column.main {
        display: flex !important;
        justify-content: space-between !important;
        flex-wrap: nowrap;
    }

    .page-products #maincontent .column.main .catalog-topnav.amasty-catalog-topnav {
        flex: 0 0 250px !important;
    }

    .page-products #maincontent #amasty-shopby-product-list {
        flex: 1 1 auto !important;
        max-width: calc(100% - 250px);
    }
}

@media (max-width: 1000px) {
    .page-products #maincontent {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 770px) {
    .page-products #maincontent .columns {
        width: 95%;
        margin: auto;
    }

    .page-products #maincontent .column.main {
        flex-wrap: wrap;
    }

    .page-products #maincontent .column.main .catalog-topnav {
        display: none;
    }

    .page-products #maincontent .column.main #amasty-shopby-product-list {
        max-width: 100%;
    }
}

/*------------------FIN Correccion de estilos de la lista de producto */
