/*manu css*/

.catalog-product-view .product-image-photo {
    bottom: 0px;
}

/* Checkout-only layout for summary items: foto | título / cantidad | precio / badge full-width */
@media (min-width: 768px) {
    /* Aplicar grid al contenedor .product que Amasty crea dentro de .product-item */
    .checkout-index-index .opc-block-summary .product-item .product {
        display: grid !important;
        grid-template-columns: 64px 1fr;
        grid-template-rows: auto auto auto;
        gap: 6px 12px;
        align-items: start;
        width: 100%;
        min-width: 0;
    }

    .checkout-index-index .opc-block-summary .product-item .product .product-image-container,
    .checkout-index-index .opc-block-summary .product-item .product .product-item-photo {
        grid-column: 1 / 2;
        grid-row: 1 / 4;
        width: 56px;
        height: auto;
        min-width: 56px;
    }

    .checkout-index-index .opc-block-summary .product-item .product .product-item-details {
        grid-column: 2 / 3;
        grid-row: 1 / 3;
        min-width: 0;
    }

    .checkout-index-index .opc-block-summary .product-item .product-item-row.product-item-main {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .checkout-index-index .opc-block-summary .product-item .product-item-row.product-item-qty-price {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    .checkout-index-index .opc-block-summary .product-item .product .product-item-row.product-item-delivery {
        grid-column: 1 / -1;
        grid-row: 3 / 4;
        margin-top: 6px;
    }
    .checkout-index-index .opc-block-summary .product-item .product .product-item-row.product-item-delivery .plazov2,
    .checkout-index-index .opc-block-summary .product-item .product .product-item-row.product-item-delivery .shipping-time-badge {
        display: block !important;
        width: 100% !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Restaurar scrollbar CON límite para evitar que la lista crezca sin control.
       Usar overflow:auto + max-height para que el resumen tenga scroll interno cuando sea necesario. */
    .checkout-index-index .opc-block-summary .minicart-items-wrapper {
        overflow-y: auto !important;
        max-height: 420px !important; /* altura máxima en desktop */
        box-sizing: border-box;
    }

    /* En pantallas pequeñas usar un max-height menor para no tapar la pantalla */
    @media (max-width: 767px) {
        .checkout-index-index .opc-block-summary .minicart-items-wrapper {
            max-height: 260px !important;
        }
    }

    /* Mover la barra de desplazamiento hacia la izquierda sin solaparla con el contenido.
       Técnica: aplicar `direction: rtl` al wrapper para que el scrollbar aparezca a la izquierda,
       y restaurar `direction: ltr` en los hijos para que el contenido no invierta su flujo.
       Además reservamos espacio con padding-left igual a la anchura del scrollbar. */
    .checkout-index-index .opc-block-summary .minicart-items-wrapper {
        direction: rtl;
        padding-left: 10px; /* espacio reservado para la barra */
    }

    .checkout-index-index .opc-block-summary .minicart-items-wrapper .minicart-items,
    .checkout-index-index .opc-block-summary .minicart-items-wrapper .product-item,
    .checkout-index-index .opc-block-summary .minicart-items-wrapper .product {
        direction: ltr; /* restaurar dirección normal del contenido */
    }

    /* Estilado fino del scrollbar: delgado y visible, evita solapar contenido */
    .checkout-index-index .opc-block-summary .minicart-items-wrapper::-webkit-scrollbar {
        width: 10px;
    }
    .checkout-index-index .opc-block-summary .minicart-items-wrapper::-webkit-scrollbar-track {
        background: transparent;
    }
    .checkout-index-index .opc-block-summary .minicart-items-wrapper::-webkit-scrollbar-thumb {
        background-color: rgba(156,163,36,0.9);
        border-radius: 6px;
        border: 2px solid transparent; /* dar separación del contenido */
        background-clip: padding-box;
    }
    /* Firefox */
    .checkout-index-index .opc-block-summary .minicart-items-wrapper {
        scrollbar-width: thin;
        scrollbar-color: rgba(156,163,36,0.9) transparent;
    }
}

/* Inline layout for configurable selectors in checkout summary */
.checkout-index-index .opc-block-summary .product.options {
    width: 100%;
    display: block;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
    grid-column: 2 / 3;
    justify-self: start;
    align-self: start;
}

.checkout-index-index .opc-block-summary .product.options .content {
    padding: 10px 0 0 0;
    margin: 0;
}

.checkout-index-index .opc-block-summary .product.options .content .product-item-options {
    width: 100%;
    margin: 0;
    padding: 0;
}

.checkout-index-index .opc-block-summary .product.options .content .selector-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    line-height: 1.4;
}

.checkout-index-index .opc-block-summary .product.options .content .selector-row .item-options,
.checkout-index-index .opc-block-summary .product.options .content .item-options {
    margin: 0;
    padding: 0;
    width: 100%;
}

.checkout-index-index .opc-block-summary .product.options .title,
.checkout-index-index .opc-block-summary .product.options .content {
    text-align: left;
}

.checkout-index-index .opc-block-summary .product.options .content .selector-row .label {
    font-weight: 600;
    color: #4a4a4a;
    margin: 0;
}

.checkout-index-index .opc-block-summary .product.options .content .selector-row .control {
    display: flex;
    align-items: center;
    margin: 0;
}

.checkout-index-index .opc-block-summary .product.options .content .selector-row .control select {
    margin: 0;
}

/* Reset any table-based layout that may be returned by getConfigurableOptions */
.checkout-index-index .opc-block-summary .product.options .content .selector-row table {
    margin: 0;
    width: auto;
}

.checkout-index-index .opc-block-summary .product.options .content .selector-row table td {
    padding: 0 6px 0 0;
    vertical-align: middle;
}

/* Override generic option floats that push the selector to the right */
.checkout-index-index .opc-block-summary .product.options .content .selector-row .item-options dt,
.checkout-index-index .opc-block-summary .product.options .content .selector-row .item-options dd,
.checkout-index-index .opc-block-summary .product.options .content .selector-row dt,
.checkout-index-index .opc-block-summary .product.options .content .selector-row dd {
    float: none;
    display: block;
    width: auto;
    clear: none;
    margin: 0;
    padding: 0;
}

.catalog-product-view ol.product-items.widget-product-grid {
    display: flex;
    flex-wrap: wrap;
}

.catalog-product-view .block.widget .products-grid .product-item {
    padding: 10px;
}

.custom_img {
    display: none;
}

.page-main {
    padding-bottom: 0px !important;
}

.deal-title {
    color: #465157;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.001em;
}

.cms-porto_home_6 .columns .column.main {
    padding-bottom: 0px !important;
}

.cms-index-index .columns .column.main {
    padding-bottom: 0px !important;
}

.cms-porto_home_6 .homepage-bar .col-lg-4 {
    padding-top: 25px;
    padding-bottom: 35px;
}

.cms-index-index .homepage-bar .col-lg-4 {
    padding-top: 25px;
    padding-bottom: 35px;
}

.cms-porto_home_6 .widget.block.block-static-block {
    position: relative;
    margin-top: 0px;
}

.cms-porto_home_6 .widget.block.block-static-block:before {
    content: "";
    position: absolute;
    top: 0;
    left: -1000px;
    width: 1000px;
    background: #f4f4f4;
    height: 100%;
}

.cms-porto_home_6 .widget.block.block-static-block:after {
    content: "";
    position: absolute;
    top: 0;
    right: -1000px;
    width: 1000px;
    background: #f4f4f4;
    height: 100%;
}


/* .catalog-product-view .products-grid .product-item{width:25% !important}
.catalog-product-view ol.products.list.items.product-items {DISPLAY: flex;flex-wrap: wrap;}
 */

div#CDT {
    width: 100%;
    float: left;
    padding-left: 10px;
}

.countdowncontainer_2 {
    width: 100%;
    float: left;
}

span.number-wrapper {
    width: 24%;
    float: left;
}

span.number.day {
    width: 100%;
    float: left;
}

span.number.day p {
    width: 25px;
    float: left;
    height: 35px;
    margin: 0px 2px;
    background: #000;
    color: #fff;
    border-radius: 4px;
    font-size: 23px;
}

span.number.hour {
    width: 100%;
    float: left;
}

span.number.hour p {
    width: 25px;
    float: left;
    height: 35px;
    margin: 0px 2px;
    background: #000;
    color: #fff;
    border-radius: 4px;
    font-size: 23px;
}

span.number.min {
    width: 100%;
    float: left;
}

span.number.min p {
    width: 25px;
    float: left;
    height: 35px;
    margin: 0px 2px;
    background: #000;
    color: #fff;
    border-radius: 4px;
    font-size: 23px;
}

span.number.sec {
    width: 100%;
    float: left;
}

span.number.sec p {
    width: 25px;
    float: left;
    height: 35px;
    margin: 0px 2px;
    background: #000;
    color: #fff;
    border-radius: 4px;
    font-size: 23px;
}

.caption {
    text-align: left;
}

.products-grid .product-item-details .product-item-actions {
    white-space: inherit;
}

.products-grid .product-item-details .product-item-actions .actions-primary {
    margin-top: 15px;
}

.products-grid .product-item-details .product-item-actions .actions-secondary {
    margin-top: 15px;
}

div#dailydeal {
    float: left;
    width: 100%;
    margin-bottom: 15px !important;
}

ol#dailydealproduct .product-image-container .product-image-photo {
    bottom: 0px
}

div#CDT {
    max-width: 232px !important;
    display: inline-block;
    float: none !important;
    padding-left: 0 !important;
}

div#CDT span.number-wrapper {
    width: 53px;
    margin-right: 5px;
}

.grecaptcha-badge {
    visibility: hidden;
    opacity: 0;
}


/* .row.home_page_content{display: flex;flex-direction: column-reverse;} */

.catalog-category-view .space {
    display: none;
}

.catalog-category-view .page-main,
.catalog-product-view .page-main {
    padding-bottom: 0px;
}

.catalog-category-view .block-static-block.widget,
.block-cms-link.widget {
    margin-bottom: 0px;
    margin-top: 10px;
    width: 100%;
    float: left;
}

.page-header.type2.header-newskin .block-search {
    margin-left: 80px;
}

.header.content .logo img {
    max-width: 100%;
}

@media only screen and (max-width: 1200px) {
    .header.content .logo {
        float: left;
    }
    .header.content .logo img {
        max-width: 200px;
    }
    .header.content .block-search {
        float: left;
        margin-top: 30px;
        margin-left: 21px !important;
    }
    .header.content .custom-block {
        position: relative;
        float: left;
    }
    #CDT .caption {
        font-size: 11px;
    }
    span.number.day p,
    span.number.hour p,
    span.number.min p,
    span.number.sec p {
        width: 22px !important;
        font-size: 18px !important;
    }
    div#CDT span.number-wrapper {
        width: 47px !important;
        margin-right: 2px !important;
    }
}

@media only screen and (max-width:1024px) {
    .col-lg-3 #ads-slider-demo-9 {
        display: none;
    }
    .cms-porto_home_6 .block.block-subscribe.home-sidebar-block {
        display: none;
    }
    .cms-porto_home_6 #testimonials-slider-demo-9 {
        display: none;
    }
    .cms-porto_home_6 div#latest_news {
        display: none !important;
    }
    .cms-porto_home_6 .amshopby-option-link img {
        display: none;
    }
    .shop-features {
        display: none;
    }
    .custom-block {
        display: block !important;
        float: left;
        height: auto !important;
    }
    .page-header.type2.header-newskin .custom-block {
        border-right: 0px!important;
        margin-top: -29px;
    }
    .custom_img {
        display: block;
    }
    .cms-porto_home_6 .custom_img img {
        margin: 0px auto;
        display: block;
    }
    h2.filterproduct-title {
        border-top: 1px solid #eeee;
        margin-top: 0px !important;
        padding-top: 20px;
        margin: 0px auto;
        display: block;
    }
    .cms-porto_home_6 .widget.block.block-static-block {
        border-top: 3px solid!important;
        margin-top: 0px;
    }
    .cms-porto_home_6 .column.main {
        padding-bottom: 0px !important;
    }
    .custom_img .two_img {
        width: 100%;
        float: left;
        margin-top: 20px
    }
    .cms-porto_home_6 .custom_img .two_img img {
        max-width: 100%;
    }
    .cms-porto_home_6 .custom_img .two_img .left_img {
        width: 49%;
        float: left;
    }
    .cms-porto_home_6 .custom_img .two_img .right_img {
        width: 49%;
        float: right;
    }
}

@media only screen and (min-width:1024px) {
    .three_block {
        display: none;
    }
}

@media screen and (max-width: 1023px) and (min-width: 992px) {
    #CDT .caption {
        font-size: 11px;
    }
    /* span.number.day p,
    span.number.hour p,
    span.number.min p,
    span.number.sec p {
        width: 22px !important;
        font-size: 18px !important;
    } */
    div#CDT span.number-wrapper {
        width: 47px !important;
        margin-right: 2px !important;
    }
}

@media only screen and (max-width:991px) {
    .page-header.type2.header-newskin .block-search {
        margin-left: 25px !important;
    }
    .page-header.type2.header-newskin .custom-block {
        padding-right: 0 !important;
        right: 95px !important;
    }
    .page-layout-2columns-left .sidebar-main {
        width: 100% !important;
    }
    .page-layout-2columns-left .column.main {
        width: 100% !important;
    }
    .custom-block {
        float: none;
    }
    h2.sidebar-title {
        text-align: center;
    }
    .sidebar .product-items .product-item {
        float: none;
        /* width: 310px; */
        padding: 0;
        margin: 0px auto;
    }
    span.number.day p,
    span.number.hour p,
    span.number.min p,
    span.number.sec p {
        width: 22px !important;
        font-size: 18px !important;
    }
    .cat_deal .owl-carousel .owl-stage,
    .deal_product_slider .owl-carousel .owl-stage {
        display: flex;
    }
    .cat_deal li.item.product.product-item,
    .deal_product_slider li.item.product.product-item {
        height: 100%;
    }
    .cat_deal .product-item-info,
    .deal_product_slider .product-item-info {
        height: 100%;
    }
    .cat_deal .products-grid .product-item .product-item-info,
    .deal_product_slider .products-grid .product-item .product-item-info {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .cat_deal div#CDT,
    .deal_product_slider div#CDT {
        min-height: 260px;
    }
    div#CDT span.number-wrapper {
        width: 55px !important;
        margin-right: 2px !important;
    }
    .countdowncontainer_2,
    .countdowncontainer_3,
    .countdowncontainer_4,
    .countdowncontainer_5 {
        position: relative;
        display: flex;
        justify-content: center;
    }
    div#CDT {
        display: inherit;
        max-width: 100% !important;
        width: 100% !important;
        float: left!important;
    }
    .home_page_content {
        flex-direction: column-reverse;
    }
}

@media only screen and (max-width:767px) {
    /* Ocultar icono de menú duplicado; dejamos nav-toggle principal */
    .page-header .header.content .right-panel .icon-menu,
    .page-header .header.content .header.links .icon-menu {
        display: none !important;
    }
    .header-mobile .nav-toggle {
        display: inline-block !important;
    }

    .cat_deal a.product.photo.product-item-photo {
        max-width: 99%!important;
    }

    .page-header.type2.header-newskin {
        position: relative;
        padding-bottom: 0;
    }

    /* Bloque de búsqueda integrado en el header */
    .page-header.type2.header-newskin .header.content {
        position: relative;
    }
    .page-header.type2.header-newskin .header.content .block-search {
        margin: 10px 12px 0 12px !important;
        position: relative !important;
        z-index: 8 !important;
        left: auto;
        right: auto;
        bottom: auto;
        width: calc(100% - 24px) !important;
        float: none !important;
        clear: both !important;
        display: block !important;
    }

    .header.content .custom-block span em,
    .header.content .custom-block span br {
        display: none;
    }
    .header.content .custom-block span b {
        font-size: 18px !important;
    }
    .cms-index-index .single-images {
        display: none;
    }
    div#CDT {
        display: inherit;
        margin: 0px auto;
    }
    .catalog-category-view .block-static-block.widget,
    .block-cms-link.widget {
        margin-bottom: 20px;
        margin-bottom: 0px;
        order: 1;
    }
    .page-header.type2.header-newskin {
        padding-bottom: 30px;
    }
    /* .page-header.type2.header-newskin  */
    /*.header.content .custom-block:before {
        content: "";
        position: absolute;
        top: 6px;
        left: 0;
        width: 25px;
        height: 25px;
        background-image: url(../web/images/phone-ico.png);
        background-repeat: no-repeat;
        background-size: 100%;
    }*/
}

@media only screen and (max-width:505px) {
    span.number.day p,
    span.number.hour p,
    span.number.min p,
    span.number.sec p {
        width: 20px !important;
        font-size: 18px !important;
    }
    div#CDT span.number-wrapper {
        width: 42px !important;
        margin-right: 4px !important;
    }
    #CDT .caption {
        font-size: 9px;
    }
    .deal_product_slider div#CDT {
        min-height: 290px;
    }
}

@media only screen and (max-width:479px) {
    .page-header.type2.header-newskin .logo {
        margin: 17px 0 0px 0px !important
    }
    .cms-porto_home_6 .homepage-bar .col-lg-4 {
        padding-bottom: 0px;
    }
    .cms-porto_home_6 .widget.block.block-static-block {
        padding-bottom: 30px;
        background: #f4f4f4;
    }
    /* div#CDT {
        max-width: 272px !important;
    } */
    .page-header.type2.header-newskin .header.content .block-search {
        margin: 10px 10px 0 10px !important;
        width: calc(100% - 20px) !important;
    }
    .page-header.type2.header-newskin .block-search .control {
        width: 100%;
    }
    .page-header.type2.header-newskin .block-search .label {
        margin-right: 7px !important;
    }
    .block-bottom .col-md-5 .block-content {
        display: none;
    }
    .block-bottom .col-md-5 .block-title,
    .col-md-6 .block .block-title {
        background: url(/media/images/downarrow.png)no-repeat 100% 2px;
        padding: 10px 0px;
        background-size: 27px;
        cursor: pointer;
    }
    .col-md-6 .block .block-content {
        display: none;
    }
    .footer-middle .col-lg-9>div:nth-child(1)>div:nth-child(2) {
        display: none;
    }
    .block-bottom .col-md-6 .block-title {
        background: url(/media/images/downarrow.png)no-repeat 100% 2px;
        padding: 10px 0px;
        background-size: 27px;
    }
    .block-bottom .col-md-7 .block-content {
        display: none;
    }
    .block-bottom .col-md-7 .block-title {
        background: url(../web/images/downarrow.png)no-repeat 100% 2px;
        padding: 10px 0px;
        background-size: 27px;
    }
    .block-bottom .block {
        cursor: pointer;
    }
}

.deal_slider .product-image-photo {
    position: absolute !important;
}

.block.block-subscribe.home-sidebar-block {
    display: none;
}

.product-item .tocart:before {
    margin-right: 0px!important;
}

.product-item .tocart {
    padding: 0 2px!important;
}

.products-grid.products.grid.flex-grid .product-item-details .product-item-actions .actions-secondary.towishlist {
    margin-right: 1px !important;
    width: 32px!important;
    height: 32px !important;
    line-height: 32px !important;
}

.products-grid.products.grid.flex-grid .product-item-details .product-item-actions .actions-secondary.tocompare {
    margin-left: 1px !important;
    width: 32px!important;
    height: 32px !important;
    line-height: 32px !important;
}

.products-grid.products.grid.flex-grid .product-item-details .product-item-actions .tocart {
    height: 32px !important;
    line-height: 32px !important;
}

.products-grid.products.grid.flex-grid .product-item-details .product-item-actions .tocart:hover {
    color: #FFF !important;
}

.widget .block-content .products-grid .product-item-details .product-item-actions .actions-secondary {
    display: flex!important;
    justify-content: space-between;
    margin-top: 0px;
    position: relative;
    top: -32px;
}

.am-porto-cmtb .amrelated .product-item-details .product-item-actions .actions-primary {
    margin: 0 0 0 0!important;
}

.am-porto-cmtb .amrelated .product-item-details .product-item-actions {
    display: block!important;
    margin: 0;
    text-align: center!important;
}

.catalog-product-view .product-item .action.towishlist,
.catalog-product-view a.action.tocompare {
    width: 25px!important;
}

.catalog-product-view .products-grid .product-item-details .product-item-actions .tocart {
    font-size: 10px!important;
}

.home_custom_img .custom_img,
.home_custom_img {
    display: none!important;
}

@media only screen and (max-width:440px) {
    span.number.day p,
    span.number.hour p,
    span.number.min p,
    span.number.sec p {
        width: 16px !important;
        font-size: 16px !important;
        line-height: 30px;
    }
    div#CDT span.number-wrapper {
        width: 34px !important;
        margin-right: 2px !important;
    }
}

@media (max-width: 992px) {
    .home_custom_img .custom_img,
    .home_custom_img {
        display: flex!important;
        flex-direction: column;
    }
}

@media only screen and (max-width: 375px) {
    .catalog-product-view .page-main {
        padding-left: 10px!important;
        padding-right: 10px!important;
    }
    .catalog-product-view .product-item .action.towishlist,
    .catalog-product-view a.action.tocompare {
        width: 22px!important;
    }
    .catalog-product-view .block.widget .products-grid .product-item {
        padding: 5px;
    }
    .catalog-product-view .products-grid .product-item-details .product-item-actions .tocart {
        font-size: 9px!important;
    }
}

@media only screen and (max-width: 360px) {
    div#CDT span.number-wrapper {
        margin-right: 0px !important;
    }
    span.number.day p,
    span.number.hour p,
    span.number.min p,
    span.number.sec p {
        width: 12px !important;
        font-size: 12px !important;
        line-height: 22px;
    }
    .product-item .tocart {
        font-size: 11px!important;
    }
    .product-item .tocart:before {
        font-size: 14px!important;
    }
}

/* Filtros contraídos por defecto en móvil */
@media only screen and (max-width:767px) {
    .catalog-category-view .block.filter .filter-options-content,
    .catalogsearch-result-index .block.filter .filter-options-content {
        display: none !important;
    }
    .catalog-category-view .block.filter .filter-options-item.active > .filter-options-content,
    .catalog-category-view .block.filter .filter-options-item._active > .filter-options-content,
    .catalogsearch-result-index .block.filter .filter-options-item.active > .filter-options-content,
    .catalogsearch-result-index .block.filter .filter-options-item._active > .filter-options-content {
        display: block !important;
    }
    .catalog-category-view .block.filter,
    .catalogsearch-result-index .block.filter {
        max-height: none;
    }
}
.am-porto-cmtb .page-wrapper>.page-header {
    z-index: 5 !important;
}
.category-image .image {
    width: auto!important;
    height: auto;
	}

/* Menú desplegable móvil desde el botón hamburguesa */
@media only screen and (max-width: 991px) {
    .mobile-header-dropdown {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 9999;
        background: #fff;
        color: #97a716;
        padding: 12px 14px;
        border-radius: 10px;
        border: 1px solid rgba(151, 167, 22, 0.3);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
        width: 300px;
    }
    .mobile-header-dropdown .mobile-menu-dropdown__panel {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    .mobile-header-dropdown .mobile-menu-dropdown__panel .header.links,
    .mobile-header-dropdown .mobile-menu-dropdown__panel ul.header.links {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    .mobile-header-dropdown .mobile-menu-dropdown__panel .header.links li {
        float: none;
        display: block;
    }
    .mobile-header-dropdown .mobile-menu-dropdown__panel .switcher {
        width: 100%;
    }
    .mobile-header-dropdown .mobile-menu-dropdown__panel .switcher .switcher-options {
        width: 100%;
    }
    .mobile-header-dropdown .mobile-menu-dropdown__panel .switcher .options ul {
        width: 100%;
    }
    .mobile-header-dropdown .mobile-menu-dropdown__panel .switcher .switcher-dropdown {
        left: 0;
        right: auto;
    }
    .mobile-header-dropdown .mobile-menu-dropdown__panel .action.skip {
        display: none !important;
    }
    .mobile-header-dropdown a {
        color: #97a716;
        font-weight: 600;
    }
    .mobile-header-dropdown .mobile-extra-links {
        list-style: none;
        margin: 10px 0 0;
        padding: 10px 0 0;
        border-top: 1px solid rgba(151, 167, 22, 0.2);
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .mobile-header-dropdown .mobile-extra-links a {
        color: #97a716;
        font-weight: 600;
    }
    .mobile-header-dropdown .mobile-language-switcher {
        width: 100%;
        margin-bottom: 8px;
    }
    .mobile-header-dropdown .mobile-language-switcher .switcher-options {
        width: 100%;
    }
    .mobile-header-dropdown .mobile-language-switcher .switcher-dropdown {
        left: 0;
        right: auto;
    }
    .mobile-header-dropdown .greet,
    .mobile-header-dropdown .welcome,
    .mobile-header-dropdown .customer-welcome {
        display: none !important;
    }
    .mobile-header-dropdown .switcher .action.toggle,
    .mobile-header-dropdown .switcher .action.toggle span,
    .mobile-header-dropdown .switcher .action.toggle:before {
        color: #97a716;
    }
    .mobile-header-dropdown .switcher .options ul {
        background: #fff;
        border-color: rgba(151, 167, 22, 0.3);
    }
    .mobile-header-dropdown .switcher .options ul a {
        color: #97a716;
    }
}

/* Oculta el off-canvas por defecto cuando usamos el dropdown custom */
body.mobile-menu-dropdown-open .nav-sections {
    display: none !important;
}

/* Selector de idioma en la cabecera móvil */
@media only screen and (max-width: 991px) {
    .mobile-lang-inline {
        display: inline-flex;
        align-items: center;
        margin-left: 6px;
    }
    .mobile-language-switcher-inline {
        position: relative;
        z-index: 2000;
        display: inline-flex;
        align-items: center;
    }
    .mobile-language-switcher-inline .label {
        display: none;
    }
    .mobile-language-switcher-inline .switcher-trigger {
        padding: 0;
        border: 0;
        background: transparent;
        min-width: auto;
    }
    .mobile-language-switcher-inline .switcher-trigger strong span {
        display: none;
    }
    .mobile-language-switcher-inline .switcher-trigger strong img {
        width: 22px;
        height: 16px;
        object-fit: cover;
        display: inline-block;
    }
    .mobile-language-switcher-inline .switcher-options {
        position: relative;
        overflow: visible;
    }
    .mobile-language-switcher-inline .switcher-dropdown {
        position: absolute;
        top: calc(100% + 6px);
        right: 0 !important;
        left: auto !important;
        transform: none !important;
        width: max-content;
        min-width: 140px;
        max-width: calc(100vw - 16px);
        max-height: calc(100vh - 24px);
        overflow-y: auto;
        box-sizing: border-box;
        z-index: 3000;
    }
    /* Evita desplazamiento del contenido al abrir el menú hamburguesa */
    .nav-before-open .page-wrapper,
    .nav-open .page-wrapper {
        left: 0 !important;
        transition: none !important;
        position: relative;
    }
    .nav-open .nav-toggle:after {
        display: none !important;
    }
}
