.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: #2d2d2d !important;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

/* Ocultar menú móvil por defecto en desktop */
.custom-top-bar-fixed .mobile-menu-toggle {
    display: none !important;
}

.custom-top-bar-fixed .mobile-visible-links {
    display: none !important;
}

/* Menú desktop visible por defecto */
.custom-top-bar-fixed .desktop-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.custom-top-bar-fixed ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.custom-top-bar-fixed ul li a {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    text-transform: capitalize;
    transition: opacity 0.2s ease;
}

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

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

/* 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;
}

/* ============================================
   RESPONSIVE - BARRA SUPERIOR US
   ============================================ */

/* Estilos del menú desplegable móvil (oculto por defecto) */
.custom-top-bar-fixed .dropdown-toggle {
    background: none;
    border: none;
    color: #ffffff;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: auto;
}

.custom-top-bar-fixed .dropdown-toggle:hover {
    opacity: 0.8;
}

.custom-top-bar-fixed .dropdown-toggle svg {
    transition: transform 0.2s ease;
}

.custom-top-bar-fixed .dropdown-toggle.active svg {
    transform: rotate(180deg);
}

.custom-top-bar-fixed .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    margin-top: 8px;
    background-color: #2d2d2d;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    min-width: 180px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 10000;
}

.custom-top-bar-fixed .dropdown-menu.show {
    display: block;
}

.custom-top-bar-fixed .dropdown-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-top-bar-fixed .dropdown-menu li:last-child {
    border-bottom: none;
}

.custom-top-bar-fixed .dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    white-space: nowrap;
}

.custom-top-bar-fixed .dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Móviles (< 600px) - Mostrar solo Contact Us, Where to buy y menú desplegable */
@media (max-width: 600px) {
    .custom-top-bar-fixed .container {
        justify-content: flex-end;
        padding: 0 15px;
        gap: 20px;
    }

    /* Ocultar menú desktop */
    .custom-top-bar-fixed .desktop-menu {
        display: none !important;
    }

    /* Mostrar links siempre visibles en móvil */
    .custom-top-bar-fixed .mobile-visible-links {
        display: flex !important;
        gap: 15px;
        order: 1;
    }

    /* Mostrar menú desplegable a la derecha */
    .custom-top-bar-fixed .mobile-menu-toggle {
        display: block !important;
        position: relative;
        order: 2;
    }

    .custom-top-bar-fixed .mobile-visible-links li a {
        font-size: 12px;
    }

    body {
        padding-top: 45px;
    }
}

/* Tablets y móviles grandes (hasta 768px pero > 600px) */
@media (min-width: 601px) and (max-width: 768px) {
    .custom-top-bar-fixed {
        padding: 8px 0;
    }

    .custom-top-bar-fixed .container {
        justify-content: center;
    }

    .custom-top-bar-fixed .desktop-menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .custom-top-bar-fixed .desktop-menu li a {
        font-size: 12px;
    }

    body {
        padding-top: 50px;
    }
}

/* Móviles muy pequeños (hasta 360px) */
@media (max-width: 360px) {
    .custom-top-bar-fixed .mobile-visible-links {
        gap: 8px;
    }

    .custom-top-bar-fixed .mobile-visible-links li a {
        font-size: 11px;
    }

    .custom-top-bar-fixed .dropdown-toggle {
        font-size: 11px;
        padding: 5px 10px;
    }
}

/* Ocultar el label "As low as" en productos configurables */
.product-info-price .price-label {
    display: none !important;
}

.product-items .product-item .product-item-info {
    padding-bottom: 10px !important;
}

.product-items .product-item .product-item-inner {
    display: none !important;
}

.product.attribute.overview .value {
    white-space: pre-line;
}
/*------------------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 */


/* ============================================
   GRILLA DE ACABADOS - Finish Grid
   ============================================ */
.finish-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.finish-card {
    width: calc(16.666% - 7px);
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    box-sizing: border-box;
}

.finish-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
    padding: 4px;
    box-sizing: border-box;
}

.finish-no-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #999;
    font-size: 11px;
    text-align: center;
    padding: 8px;
    box-sizing: border-box;
}

.finish-card:hover {
    border-color: #bbb;
}

.finish-card.active {
    border: 1px solid #333;
}

.selected-finish-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin: 5px 0 0;
    padding: 4px 0;
}

@media (max-width: 799px) {
    .finish-card {
        width: calc(25% - 6px);
    }
}


/*------------------INICIO Correccion de estilos del menu en usa*/
.header-left .navigation ul li:nth-last-child(1){
  min-width: 225px;
}

/*------------------FIN Correccion de estilos del menu en usa*/
