#blockcart-modal .cart-content p:nth-child(3) {
    display: none;
}

#products .h5 {
    display: none;
}

#sp-megamenu {
    z-index: 99999999 !important;
}

.text-menu-mobile {
    z-index: 99999;
    float: left;
    position: absolute;
    top: -22px;
    right: 1px;
}

.text-menu-mobile>p {
    margin: 0;
    color: #b5c436 !important;
    z-index: 99999;
    font-size: 12px;
    font-weight: 500;
    background-color: rgba(256, 256, 256, .7);
    padding: 0px 10.5px;
}

.regular-price-slider {
    text-decoration: line-through;
    color: #aaa;
    font-size: 116%;
    font-weight: 400;
    margin: 0 5px 0 0;
}

.price-slider {
    color: #000 !important;
    font-size: 170.3333% !important;
    font-weight: 500 !important;
}

#js-product-list .product-miniature .product-info .product-list-reviews {
    position: relative !important;
    top: 0 !important;
}

#js-product-list .product-miniature .product-container.row .product-list-reviews {
    justify-content: left !important;
}

#js-product-list .product-miniature .product-info {
    min-height: 110px !important;
}

#js-product-list .product-miniature .product-container a.btn-default {
    display: none !important;
}

#js-product-list a.btn-default {
    display: none !important;
}

#js-product-list .product-miniature .product-title {
    padding-top: 6px !important;
}

.product-image .product-flags .pack-label {
    display: none !important;
}

.product-image .product-flags .online-only-label {
    display: none !important;
}

img {
    height: auto;
}

.block-pack .pack-box .pack-product-image {
    margin-bottom: 15px;
}

.block-pack .pack-box .pack-product-image img {
    display: block;
    margin: auto;
}

.block-pack .pack-box h4.pack-product-name {
    font-size: 14px;
}

.block-pack .quantity-product-pack {
    font-size: 12px !important;
    color: #666 !important;
}

.block-pack .pack-box {
    border: solid 1px #ddd;
    padding: 15px;
    margin-bottom: 30px;
    min-height: 250px;
}

#js-product-list .on-sale-label {
    width: 50px !important;
    height: 50px !important;
    line-height: 20px !important;
    margin-top: 60% !important;
}

#products .psproductcountdown {
    display: none !important;
}

.gm-cat-second-desc {
    text-align: justify;
}

.pspc-main .pspc-label {
    margin-top: -5px !important;
}

.pspc-main .pspc-count {
    line-height: 2.2em !important;
}

.sp_listing_tab_1 .item-time {
    display: none !important;
}

.psproductcountdown .pspc-main .pspc-time .pspc-count {
    background: #C5D35A !important;
    box-shadow: none !important;
    color: #fff !important;
    border-radius: 10px !important;
}

.sp_listing_tab_2 .ltabs-items-container .product-info .psproductcountdown {
    display: none !important;
}

.sp_listing_tab_2 .ltabs-items-container .product-info {
    float: left;
    position: absolute !important;
    bottom: 40px;
    z-index: 1049;
    width: -webkit-fill-available;
    padding: 10px;
    font-size: 16px;
    margin-left: 1px;
    min-height: auto !important;
    margin-right: 30px;
    background-color: rgba(197, 210, 91, .8);
}

.online-only-label {
    position: absolute;
    bottom: 23px;
}

.sp_listing_tab_1 .on-sale-label {
    width: 50px !important;
    height: 50px !important;
    line-height: 20px !important;
    margin-top: 60% !important;
}

@media (max-width: 480px) {
    .sp_listing_tab_1 .on-sale-label {
        /*margin-top: 41%;

		margin-right: 20%;*/
    }

    .listingtabs1-mobile .sp-listing-tabs .product-miniature .product-container .product-flags .on-sale-label {
        right: 80px;
    }

    .listingtabs1-mobile .sp_listing_tab_1 .on-sale-label {
        margin-top: 50%;
    }
}

@media (max-width: 380px) {
    .listingtabs1-mobile .sp-listing-tabs .product-miniature .product-container .product-flags .on-sale-label {
        right: 10px;
    }

    .listingtabs1-mobile .sp_listing_tab_1 .on-sale-label {
        margin-top: 72% !important;
    }
}

.product-page .images-container .product-cover .product-flags .on-sale-label {
    width: 50px !important;
    height: 50px !important;
    line-height: 20px !important;
    margin-top: 70% !important;
}

.product-flags .discount-amount {
    display: none;
}

.icontags {
    border: none !important;
    background-color: #fff !important;
}

.container-more {
    margin-bottom: 20px;
}

.lnk_more {
    border: 1px solid #C5D25B;
    padding: 3px;
    background-color: #C5D25B;
    color: #fff;
}

.lnk_more:hover {
    border: 1px solid #C5D25B;
    padding: 3px;
    background-color: #C5D25B;
    color: #fff;
}

.description_bottom {
    background: #e5e5e5;
    padding: 10px;
}

#category-description-short,
#category-description {
    text-align: justify;
}

.category-description {
    /*background: #e5e5e5;*/
    padding: 10px;
    font-size: .875rem;
    clear: both;
    text-align: justify;
}

/* Truncado descripción de categoría con "Ver más" */
.category-description-wrapper {
    position: relative;
    margin-top: 10px;
}

.tv-category-block-wrapper .category-description-wrapper {
    margin-top: 10px;
}

.tv-category-block-wrapper .category-description-wrapper #category-description {
    margin-top: 0;
}

#category-description.category-description-content {
    overflow: hidden;
    position: relative;
    transition: height 0.45s ease;
    will-change: height;
}

#category-description.category-description-content.is-collapsed {
    max-height: 5.6em;
}

#category-description.category-description-content.is-expanded {
    max-height: none;
}

#category-description.category-description-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2.4em;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

#category-description.category-description-content.is-collapsed::after {
    opacity: 1;
}

.category-description-toggle {
    display: inline-block;
    margin-top: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #b5c436;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.category-description-toggle:hover,
.category-description-toggle:focus {
    color: #9aa82e;
    outline: none;
}

.category-description-toggle .category-description-toggle-less,
.category-description-toggle[aria-expanded="true"] .category-description-toggle-more {
    display: none;
}

.category-description-toggle[aria-expanded="true"] .category-description-toggle-less {
    display: inline;
}

.category-description-toggle[hidden] {
    display: none;
}

.description_bottom .justi {
    word-wrap: break-word;
    overflow: hidden;
    margin-top: 15px;
}

.sticky-bottom2 {
    position: fixed;
    bottom: 50px;
    left: 0px;
    right: 0px;
    z-index: 2;
    display: none;
    background-color: #c5d25b;
}

.group-block2 {
    padding: 13px;
    font-size: 30px;
    color: #fff;
}

.block-bottom2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.block-bottom2 a {
    color: #fff;
}

.navbar #sp-megamenu {
    width: 100% !important;
}

#products .product-miniature .product-container .product-info .product-price-and-shipping .price,
.featured-products .product-miniature .product-container .product-info .product-price-and-shipping .price,
.product-accessories .product-miniature .product-container .product-info .product-price-and-shipping .price,
.product-miniature .product-container .product-info .product-price-and-shipping .price,
.category-products .product-miniature .product-container .product-info .product-price-and-shipping .price {
    color: #000 !important;
    font-size: 170.3333% !important;
    font-weight: 500 !important;
}

#products .product-miniature .product-container .product-info h5.product-title,
.featured-products .product-miniature .product-container .product-info h5.product-title,
.product-accessories .product-miniature .product-container .product-info h5.product-title,
.product-miniature .product-container .product-info h5.product-title,
.category-products .product-miniature .product-container .product-info h5.product-title {
    font-weight: 500 !important;
    font-size: 122% !important;
    margin: 0px !important;
    min-height: 28px !important;
    text-transform: capitalize !important;
    max-height: 30px;
    overflow: hidden;
    padding: 0 !important;
}

.product-page .social-icon.social-sharing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-top: 1.5rem;
}

.product-page .social-sharing-title {
    color: #222;
    font-weight: 500;
    white-space: nowrap;
}

.product-page .social-icon.social-sharing ul {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.product-page .social-icon.social-sharing li {
    margin: 0;
}

.product-page .social-icon.social-sharing li.whatsapp.icon-black a {
    position: relative;
    background: #25d366 !important;
    background-image: none !important;
}

.product-page .social-icon.social-sharing li.whatsapp.icon-black a::before {
    content: "\f232";
    position: absolute;
    inset: 0;
    color: #fff;
    font-family: FontAwesome, Fontawesome;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
}

.sp_listing_tab_2 div.sp-listing-tabs .product-miniature .product-container .product-info .product-description-short {
    font-size: 13px !important;
}

#js-product-list .product-miniature .product-container div.left-block .product-image {
    overflow: hidden;
    position: relative;
    z-index: 1;
    /*height: 280.98px;*/
}

.sp-megamenu .home {
    display: none !important;
}

div.sp-listing-tabs .ltabs-tabs-container {
    display: none;
}

@media (max-width: 1400px) and (min-width: 1200px) {

    .banner-9,
    .banner-10 {
        width: 100% !important;
    }
}

.search-widget {
    margin-top: 0 !important;
}

.top-tag {
    display: none;
}

.banner-10 {
    margin-bottom: 25px;
}

.banner-2 {
    margin: 0 0 10px !important;
}

.header_center {
    padding: 0px 0 15px !important;
}

.sp_listing_tab_2 div.sp-listing-tabs .ltabs-item .product-miniature:first-child {
    border: none !important;
    margin-bottom: 10px !important;
    padding-bottom: 0px !important;
}

.main-index {
    margin-bottom: 0 !important;
}

.banner-5 {
    margin: 0 !important;
}

.banner-7 {
    margin: 0 !important;
}

#description .product-description {
    -webkit-column-count: 2;
    /* Chrome, Safari, Opera */
    -moz-column-count: 2;
    /* Firefox */
    column-count: 2;
}

.icons-rrss {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    background-image: url("../../../../../img/cms/redes sociales-20.jpg");
    width: 100%;
    min-height: 111px;
    background-repeat: no-repeat;
    background-position: bottom;
    padding-left: 15%;
}

.icons-rrss li {
    list-style: none;
    float: left;
    align-items: center;
}

.icons-rrss li span {
    font-size: 2em;
    color: #333;
}

.icons-rrss li i {
    font-size: 4em;
    padding: 0 10px;
}

.icons-rrss li .blue {
    color: #014b92;
}

.icons-rrss li .blue2 {
    color: #00adf1;
}

.icons-rrss li .pink {
    color: #fc3e4f;
}

.icons-rrss li .red {
    color: #ff2c2b;
}

.trustpilot-widget-trustbox-0-wrapper {
    padding-bottom: 15px;
}

.tienda-top {
    margin: 30px 0 0;
    font-size: 1.2em;
}

.tienda-top span {
    font-size: 0.9em;
}

.tienda-top i {
    font-size: 1.5em;
}

#_desktop_cart .spblockcart {
    margin: 55px 20px 0 0;
    position: absolute;
    right: 0;
    top: 50px;
}

.cart-info {
    text-align: left !important;
}

.sp-megamenu .navbar-nav>li .dropdown-menu ul li a {
    padding: 0 !important;
}

.icontags ul li img {
    border: none !important;
}

.icontags .panel-title-it,
.product-page #product-availability,
.product-page .product-actions .product-add-to-cart .product-minimal-quantity,
.product-page #product-details .product-quantities {
    display: none !important;
}

.plr0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.mb15 {
    margin-bottom: 15px !important;
}

.layout-left-column .product-page .product-prices {
    margin: 10px 0 5px !important;
}

.footer-social {
    display: none !important;
}

.htmlbox2-mobile img {
    width: 100%;
}

.footer-v1 .footer-top img {
    width: 100%;
}

.three-banners img {
    width: 100%;
}

.banner-5 img {
    width: 100%;
}

.banner-7 img {
    width: 100%;
}

.phone-menu-mobile a {
    color: #000;
}

.phone-menu-mobile {
    color: #000 !important;
    z-index: 2;
    float: left;
    font-size: 30px;
    padding: 10px;
}

.buscador_mobile,
.carrito_mobile {
    display: none !important;
}

.product-accessories .product-miniature .product-container .product-flags .on-sale-label,
.product-miniature .product-container .product-flags .on-sale-label {
    width: 50px !important;
    height: 50px !important;
    line-height: 20px !important;
}

#blockcart-modal {
    z-index: 99999 !important;
}

.modal-backdrop {
    z-index: 150 !important;
}

.sp-megamenu .navbar-nav>li .dropdown-menu {
    transition: all 0.1s ease 0s !important;
}

#contact-us-top-mobile {
    text-align: center;
    font-size: 16px;
    margin-top: 20px;
    background: #b5c436;
    padding: 10px;
    font-weight: bold;
    cursor: pointer;
    display: none;
}

@media (max-width: 767px) {
    .hidden-mobile {
        display: none;
    }

    .navbar #sp-megamenu .navbar-nav li a,
    .navbar #sp-megamenu .navbar-nav li span.menu-title {
        font-size: 23px !important;
    }

    .navbar #sp-megamenu .navbar-nav li a {
        padding-left: 20px !important;
    }

    .carrito_pc {
        display: none;
    }

    .sp-megamenu .navbar-nav>li.group>.dropdown-menu img {
        display: none;
    }

    .buscador_mobile {
        display: block !important;
        margin-top: -30px;
    }

    .carrito_mobile {
        display: block !important;
    }

    #contact-us-top-mobile {
        display: block !important;
    }

    #description .product-description {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }

    #my-account-page,
    #check-out-page {
        padding: 0 10px !important;
    }

    .tienda-top {
        display: none;
    }

    .spblockcart span.cart-products-total {
        display: none;
    }

    .spblockcart span.shopping-cart-title {
        display: none !important;
    }

    #_desktop_cart .spblockcart {
        top: -25px !important;
    }

    .sticky-bottom2 {
        display: block !important;
    }

    .icons-rrss {
        justify-content: flex-end;
        gap: 1%;
    }

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

    #category .row-product #left-column {
        display: none;
    }
}

/* Categoría: sidebar a la izquierda en tablet ancha; contenido a 100% si el menú está oculto */
@media (min-width: 992px) and (max-width: 1199px) {
    body#category .tv-left-layout>.row {
        display: flex;
        flex-wrap: wrap;
    }

    body#category #left-column.category-left-column {
        order: 1;
    }

    body#category #content-wrapper.category-content-wrapper {
        order: 2;
    }
}

@media (max-width: 991px) {

    body#category #content-wrapper.category-content-wrapper,
    body#new-products #content-wrapper.new-products-content-wrapper,
    body#prices-drop #content-wrapper.prices-drop-content-wrapper,
    body#best-sales #content-wrapper.best-sales-content-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
}

.view-mobile {
    display: none;
}

@media screen and (max-width:1199px) {
    .datos-top {
        font-size: 14px;
    }

    .sp_listing_tab_2 .ltabs-items-container .product-info {
        font-size: 11px;
        bottom: 10px;
    }
}

@media screen and (max-width:991px) {
    .sp_listing_tab_2 .ltabs-items-container .product-info {
        bottom: 37px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .sp-megamenu .navbar-nav>li.parent>a {
        padding: 12px 20px 12px 8px !important;
        font-size: 11px;
    }
}

@media (max-width: 820px) {
    .datos-top a:nth-child(2) {
        font-size: 20px;
    }

    .datos-top i {
        font-size: 20px;
    }
}

@media screen and (max-width:543px) {
    .sp_listing_tab_2 .ltabs-items-container .product-info {
        bottom: 53px;
    }
}

@media (max-width: 767px) and (min-width: 480px) {
    .navbar #sp-megamenu .sp-megamenu-container {
        height: 100% !important;
    }
}

@media (max-width: 640px) {
    .header_bottom {
        position: fixed;
        bottom: 50px;
        right: 0;
        width: 100%;
        z-index: 99999;
        margin-bottom: 0 !important;
    }

    #sp-totop {
        display: none;
    }

    .view-mobile {
        display: block !important
    }

    .view-pc {
        display: none !important
    }

    .product-accessories .product-miniature .product-container .product-info .product-price-and-shipping {
        margin: 0 0 5px !important;
    }

    #products .product-miniature .product-container .product-info .product-price-and-shipping {
        margin: 0 0 5px !important;
    }
}

@media (max-width: 520px) {
    .icons-rrss {
        background: url("../../../../../img/cms/redes-sociales-mobile.jpg");
    }
}

@media (max-width: 520px) {
    .search-widget form button[type="submit"] {
        line-height: 30px !important;
    }

    .icons-rrss {
        padding-left: 70%;
    }
}

@media (max-width: 479px) {
    .navbar #sp-megamenu .sp-megamenu-container {
        height: 100% !important;
    }
}

@media (max-width: 320px) {
    .icons-rrss {
        padding-left: 75%;
    }
}

.envio-label {
    width: 50px !important;
    height: 50px !important;
    margin-top: 10%;
    top: 10px !important;
    left: auto;
    right: 10px;
    z-index: 4;
    position: absolute;
    display: inline-block;
    border-radius: 50%;
    background: url("../../../../../img/cms/enviogratis.PNG");
    background-size: cover;
}

.m1c-product-with-left-sidebar {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    column-gap: 30px;
    row-gap: 30px;
    align-items: start;
}

.m1c-product-main-column {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0;
}

.m1c-product-main-column>.tvprduct-image-info-wrapper,
.m1c-product-main-column>.epd-pc-wrap,
.m1c-product-main-column>.tvproduct-description-tab {
    width: 100%;
}

.m1c-product-left-sidebar {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    width: 100%;
}

.m1c-product-left-sidebar .moduletable.sp-extra-left,
.m1c-product-left-sidebar .sp-extra-left {
    height: auto;
    max-height: none;
    overflow: visible;
}

.m1c-product-left-sidebar img {
    max-width: 100%;
    height: auto;
}

.m1c-product-left-sidebar>* {
    margin-bottom: 20px;
}

.m1c-product-left-sidebar>*:last-child {
    margin-bottom: 0;
}

.product-1 .images-container {
    display: flex;
    flex-wrap: wrap;
}

.product-1 .tvproduct-image-slider {
    background: #fff;
    border: 1px solid #e5e5e5;
    min-height: 348px;
    position: relative;
}

.product-1 .tvproduct-image-slider .js-qv-product-cover {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.product-1 .product-cover .layer {
    right: 0;
    bottom: 0;
    width: 26px;
    height: 26px;
    background: #c7c7c7;
    color: #fff;
}

.product-1 .product-cover .layer i {
    font-size: 17px;
    line-height: 26px;
}

.tvproduct-flags.tvproduct-online-new-wrapper {
    /*bottom: 28px;*/
    left: 15px;
    /*top: auto;*/
}

.tvproduct-flags.tvproduct-sale-pack-wrapper {
    /*bottom: 28px;*/
    right: 15px;
    /*top: auto;*/
}

.tvproduct-flags.tvproduct-online-new-wrapper .product-flag,
.tvproduct-flags.tvproduct-sale-pack-wrapper .product-flag {
    align-items: center;
    border-radius: 50%;
    display: flex;
    font-size: 10px;
    font-weight: 700;
    height: 48px;
    justify-content: center;
    line-height: 12px;
    margin: 0;
    padding: 0 5px;
    position: static;
    text-align: center;
    text-transform: uppercase;
    width: 48px;
    font-weight: normal;
}

.tvproduct-flags .product-flag.on-sale {
    background: #ee3131;
    color: #fff !important;
}

.tvproduct-flags .product-flag.online-only {
    background: #c5d25b;
    color: #fff !important;
}

.tvproduct-flags .product-flag.new {
    margin-top: 2px;
    background: #995de4;
    color: #fff !important;
}


.product-1 .product-cover,
.product-1 .tvvertical-slider {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}

.product-1 .tvvertical-slider {
    margin-top: 8px;
    position: relative;
    height: auto;
    max-height: none;
    min-height: 76px; /* reserva altura de una fila de thumbs */
}

/* Anula max-height residual del slider vertical del tema padre */
.product-1 .tvvertical-slider .product-images,
.product-1 .tvvertical-slider .product-images.slick-slider,
.product-1 .tvvertical-slider .product-images .slick-list {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
}

.product-1 .tvvertical-slider .product-images {
    box-sizing: border-box;
    display: block;
    overflow: hidden;
    padding: 0 28px;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
}

/*
 * Antes de Slick (carga inicial o tras AJAX de combinación):
 * una sola fila horizontal — evita el stack vertical y el pestañeo.
 */
.product-1 .tvvertical-slider .product-images:not(.slick-initialized) {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    overflow: hidden !important;
    height: 76px !important;
    max-height: 76px !important;
    min-height: 76px !important;
}

.product-1 .tvvertical-slider .product-images:not(.slick-initialized) .tvcmsVerticalSlider {
    flex: 0 0 16.666%;
    width: 16.666%;
    max-width: 16.666%;
    box-sizing: border-box;
    min-width: 0;
}

.product-1 .tvvertical-slider .product-images:not(.slick-initialized) .tvcmsVerticalSlider picture {
    display: block;
    line-height: 0;
}

@media (max-width: 1279px) {
    .product-1 .tvvertical-slider .product-images:not(.slick-initialized) .tvcmsVerticalSlider {
        flex: 0 0 20%;
        width: 20%;
        max-width: 20%;
    }
}

/* CSS base de Slick horizontal (el tema solo carga slick-theme, no slick.css) */
.product-1 .tvvertical-slider .slick-list {
    display: block;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
}

.product-1 .tvvertical-slider .slick-list:focus {
    outline: none;
}

.product-1 .tvvertical-slider .slick-track {
    display: block;
    left: 0;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: 0;
}

.product-1 .tvvertical-slider .slick-track:before,
.product-1 .tvvertical-slider .slick-track:after {
    content: "";
    display: table;
}

.product-1 .tvvertical-slider .slick-track:after {
    clear: both;
}

.product-1 .tvvertical-slider .slick-slide {
    display: none;
    float: left;
    height: auto !important;
    min-height: 1px;
}

.product-1 .tvvertical-slider .slick-initialized .slick-slide {
    display: block;
}

.product-1 .tvvertical-slider .slick-slide.slick-loading img {
    display: none;
}

.product-1 .tvvertical-slider .tvcmsVerticalSlider {
    text-align: center;
    padding: 0 6px;
    margin: 0;
    vertical-align: middle;
}

.product-1 .tvvertical-slider .thumb {
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
    height: 70px;
    max-width: 100%;
    object-fit: contain;
    padding: 3px;
    width: 70px;
    vertical-align: middle;
    transition: border-color 0.2s ease;
}

.product-1 .tvvertical-slider .thumb.selected,
.product-1 .tvvertical-slider .thumb.active,
.product-1 .tvvertical-slider .thumb:hover {
    border-color: #c5d25b;
}

.product-1 .tvvertical-slider .arrows {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 76px !important;
    margin: 0 !important;
    display: block !important;
    pointer-events: none;
    z-index: 30 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.product-1 .tvvertical-slider .arrows .tvvertical-slider-pre,
.product-1 .tvvertical-slider .arrows .tvvertical-slider-next,
.product-1 .tvvertical-slider .tvvertical-slider-pre,
.product-1 .tvvertical-slider .tvvertical-slider-next,
.product-1 .tvvertical-slider .slick-prev,
.product-1 .tvvertical-slider .slick-next {
    position: absolute !important;
    top: 50% !important;
    z-index: 31 !important;
    transform: translateY(-50%) !important;
    -webkit-transform: translateY(-50%) !important;
    cursor: pointer;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: auto !important;
    color: #333 !important;
    font-size: 28px !important;
    line-height: 28px !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    text-align: center;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.product-1 .tvvertical-slider .arrows .tvvertical-slider-pre,
.product-1 .tvvertical-slider .tvvertical-slider-pre,
.product-1 .tvvertical-slider .slick-prev {
    left: 0 !important;
    right: auto !important;
}

.product-1 .tvvertical-slider .arrows .tvvertical-slider-next,
.product-1 .tvvertical-slider .tvvertical-slider-next,
.product-1 .tvvertical-slider .slick-next {
    right: 0 !important;
    left: auto !important;
}

.product-1 .tvvertical-slider .slick-prev:before,
.product-1 .tvvertical-slider .slick-next:before {
    content: none !important;
    display: none !important;
}

/* Móvil: imagen grande + tira de 2 miniaturas con flechas laterales */
@media (max-width: 768px) {

    .product-1.tvprduct-image-info-wrapper .product-cover,
    .tvprduct-image-info-wrapper.product-1 .product-cover,
    .product-1 .product-cover {
        display: block !important;
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        margin: 0;
    }

    .product-1 .tvproduct-image-slider {
        min-height: 0 !important;
        border: 1px solid #e5e5e5;
        border-radius: 3px;
        overflow: hidden;
    }

    .product-1 .tvproduct-image-slider .js-qv-product-cover {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
        margin: 0 auto;
    }

    .product-1 .tvvertical-slider {
        display: block !important;
        margin-top: 10px;
        width: 100%;
        position: relative;
        padding: 0 28px;
        box-sizing: border-box;
        min-height: 120px;
    }

    .product-1 .tvvertical-slider .product-images {
        display: block !important;
        padding: 0 !important;
        padding-bottom: 0 !important;
        max-height: none !important;
        height: auto !important;
        overflow: hidden;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .product-1 .tvvertical-slider .product-images:not(.slick-initialized) {
        display: flex !important;
        height: 120px !important;
        max-height: 120px !important;
        min-height: 120px !important;
    }

    .product-1 .tvvertical-slider .product-images:not(.slick-initialized) .tvcmsVerticalSlider {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
    }

    .product-1 .tvvertical-slider .arrows {
        display: block !important;
        height: 100% !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .product-1 .tvvertical-slider .arrows .tvvertical-slider-pre,
    .product-1 .tvvertical-slider .arrows .tvvertical-slider-next,
    .product-1 .tvvertical-slider .tvvertical-slider-pre,
    .product-1 .tvvertical-slider .tvvertical-slider-next,
    .product-1 .tvvertical-slider .slick-prev,
    .product-1 .tvvertical-slider .slick-next {
        display: block !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        font-size: 30px !important;
        line-height: 36px !important;
        width: 28px !important;
        height: 36px !important;
        color: #333 !important;
        z-index: 31 !important;
        background: transparent !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .product-1 .tvvertical-slider .arrows .tvvertical-slider-pre,
    .product-1 .tvvertical-slider .tvvertical-slider-pre,
    .product-1 .tvvertical-slider .slick-prev {
        left: 0 !important;
        right: auto !important;
    }

    .product-1 .tvvertical-slider .arrows .tvvertical-slider-next,
    .product-1 .tvvertical-slider .tvvertical-slider-next,
    .product-1 .tvvertical-slider .slick-next {
        right: 0 !important;
        left: auto !important;
    }

    .product-1 .tvvertical-slider .tvcmsVerticalSlider {
        padding: 0 4px;
        width: 100%;
    }

    .product-1 .tvvertical-slider .thumb {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 120px;
        border: 1px solid #e5e5e5;
        border-radius: 3px;
        padding: 0;
        object-fit: contain;
        background: #fff;
    }

    .product-1 .tvvertical-slider .thumb.selected,
    .product-1 .tvvertical-slider .thumb.active,
    .product-1 .tvvertical-slider .thumb:hover {
        border-color: #c5d25b;
    }

    .product-1 .m1c-show-all-images {
        margin-top: 10px;
        display: inline-block;
    }
}

.product-1 .m1c-show-all-images {
    color: #777;
    display: inline-block;
    font-size: 11px;
    line-height: 1.4;
    margin-top: 13px;
}

.product-1 .m1c-show-all-images:hover {
    color: #c5d25b;
}

/* Título producto: evita el padding-right de 150px del tema que lo deja cortado */
#product .tvproduct-title-brandimage {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 16px;
    position: relative;
    width: 100%;
}

#product .tv-product-page-content h1,
#product .tv-product-page-content h1.h1,
#product .tvproduct-title-brandimage h1,
#product .tvproduct-title-brandimage h1.h1 {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: 100%;
    padding-right: 0 !important;
    margin: 0 0 15px 0;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
    box-sizing: border-box;
}

#product .tvproduct-title-brandimage .tvcms-product-brand-logo {
    flex: 0 0 auto;
    max-width: 120px;
    margin-left: auto;
}

#product .tvproduct-title-brandimage .tvproduct-brand {
    position: static !important;
    right: auto !important;
    top: auto !important;
    display: block;
    max-width: 120px !important;
    max-height: 75px !important;
}

#product .tvproduct-title-brandimage .tvproduct-brand img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 75px;
    width: auto;
}

@media (max-width: 767px) {
    #product .tvproduct-title-brandimage {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    #product .tv-product-page-content h1,
    #product .tv-product-page-content h1.h1,
    #product .tvproduct-title-brandimage h1,
    #product .tvproduct-title-brandimage h1.h1 {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    #product .tvproduct-title-brandimage .tvcms-product-brand-logo {
        margin-left: 0;
        max-width: 100px;
    }
}

.on-sale-label {
    top: 10px !important;
    margin-top: 70% !important;
}

@media (min-width: 769px) {
    #tvmain-slider.owl-carousel {
        height: clamp(360px, 28vw, 520px) !important;
    }

    #tvmain-slider .owl-stage-outer,
    #tvmain-slider .owl-stage,
    #tvmain-slider .owl-item,
    #tvmain-slider .tvslider-list,
    #tvmain-slider picture {
        height: 100%;
    }

    #tvmain-slider .owl-item img.tvmain-slider-img {
        width: 100%;
        height: 100%;
        object-fit: content;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #product .tvproduct-page-wrapper.m1c-product-with-left-sidebar {
        display: grid;
        grid-template-columns: 200px minmax(0, 1fr);
        column-gap: 20px;
        row-gap: 24px;
        align-items: start;
    }

    #product .m1c-product-main-column {
        grid-column: 2;
        grid-row: 1;
        order: initial;
        width: auto;
        max-width: none;
    }

    #product .m1c-product-left-sidebar {
        grid-column: 1;
        grid-row: 1;
        order: initial;
        width: 100%;
        max-width: none;
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    #product .tvproduct-page-wrapper.m1c-product-with-left-sidebar {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: 24px;
        overflow-x: hidden;
    }

    #product .m1c-product-main-column,
    #product .m1c-product-left-sidebar {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    #product .m1c-product-main-column {
        order: 1;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    #product .m1c-product-left-sidebar {
        order: 2;
        margin-top: 0;
        padding: 0;
    }

    #product .m1c-product-main-column>.tvprduct-image-info-wrapper,
    #product .m1c-product-main-column>.epd-pc-wrap,
    #product .m1c-product-main-column>.tvproduct-description-tab {
        width: 100%;
        max-width: 100%;
    }

    #product .m1c-product-main-column .tvprduct-image-info-wrapper.product-6 {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    #product .m1c-product-main-column .product-6 .tv-product-page-image,
    #product .m1c-product-main-column .product-6 .tv-product-page-content {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        float: none;
        padding-left: 0;
        padding-right: 0;
        text-align: left;
    }

    #product .m1c-product-main-column .product-6 .row {
        margin-left: 0;
        margin-right: 0;
    }

    #product .m1c-product-main-column .product-6 .row>[class*="col-"] {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding-left: 0;
        padding-right: 0;
    }

    #product .m1c-product-main-column .tvproduct-description-tab {
        margin-top: 0;
        padding: 0;
    }

    #product .m1c-product-main-column .tvproduct-description-tab .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    #product .m1c-product-main-column .epd-pc-wrap {
        box-sizing: border-box;
        overflow: hidden;
    }

    #product .m1c-product-left-sidebar .moduletable.sp-extra-left,
    #product .m1c-product-left-sidebar .sp-extra-left,
    #product .m1c-product-left-sidebar .sp-listing-tabs,
    #product .m1c-product-left-sidebar .ltabs-wrap,
    #product .m1c-product-left-sidebar .ltabs-items-inner,
    #product .m1c-product-left-sidebar .ltabs-items-container {
        width: 100%;
        max-width: 100%;
    }

    #product .m1c-product-left-sidebar .ltabs-items-inner .product-layout,
    #product .m1c-product-left-sidebar .ltabs-items-inner .product-container {
        width: 100% !important;
        max-width: 100%;
    }

    #product .m1c-product-left-sidebar .extraslider-inner .product-container,
    #product .m1c-product-left-sidebar .product-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    #product .m1c-product-left-sidebar img {
        width: auto;
        max-width: 90px;
    }

    #product .m1c-product-left-sidebar>* {
        margin-bottom: 16px;
    }
}

.delivery-time {
    margin: 10px 0 !important;
    padding: 8px 12px !important;
    background-color: #f8f9fa;
    border-left: 3px solid #c5d25b;
    font-size: 13px;
    color: #495057;
    text-transform: uppercase;
}

.te-ahorras {
    color: red;
    font-weight: bolder;
    font-size: medium;
}

.product-prices .product-price {
    display: inline-flex;
}

.product-price .current-price .price {
    font-weight: 900;
    color: #000;
}

.product-prices .product-discount {
    text-decoration: line-through;
    display: inline-flex;
    padding: 0;
    vertical-align: middle;
    margin-bottom: 0;
}

.product-prices .product-discount .regular-price {
    color: #aaa;
    font-weight: 500;
    font-weight: 400;
}

.product-price .current-price .price {
    font-weight: 900 !important;
}

#product .m1c-product-left-sidebar .extraslider-inner img {
    width: 75px;
    max-width: 90px;
    height: auto;
}

#product .m1c-product-left-sidebar .extraslider-inner .product-container,
#product .m1c-product-left-sidebar .product-container {
    display: flex;
    flex-direction: column;
}

/* ===== Página 404 custom ===== */
#pagenotfound #content-wrapper,
#pagenotfound #main {
    background: #fff;
}

#pagenotfound #main .page-header {
    display: none;
}

#pagenotfound .breadcrumb,
#pagenotfound .tvbreadcrumb {
    display: none;
}

#pagenotfound .m1c-404.page-content,
#pagenotfound .m1c-404.page-not-found {
    border: 0;
    box-shadow: none;
    background: #fff;
    padding: 48px 20px 72px;
    margin: 0 auto;
    max-width: 720px;
    text-align: center;
}

.m1c-404__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.m1c-404__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 0 auto 28px;
    min-height: clamp(110px, 28vw, 180px);
}

.m1c-404__code {
    font-size: clamp(5.5rem, 22vw, 9.5rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.06em;
    color: #c2cc75;
    font-family: inherit;
    user-select: none;
    margin-right: clamp(-2.5rem, -6vw, -1rem);
    z-index: 2;
}

.m1c-404__sofa {
    position: relative;
    z-index: 1;
    width: clamp(150px, 42vw, 300px);
    height: auto;
    display: block;
    margin-left: clamp(-0.5rem, -8vw, -1.5rem);
    pointer-events: none;
}

.m1c-404__title {
    margin: 0 0 16px;
    padding: 0 8px;
    font-size: clamp(1.15rem, 3.2vw, 1.55rem);
    font-weight: 400;
    line-height: 1.35;
    color: #3a3a3a;
    max-width: 34em;
}

.m1c-404__title strong {
    font-weight: 700;
    color: #2f2f2f;
}

.m1c-404__text {
    margin: 0 0 36px;
    padding: 0 12px;
    font-size: clamp(0.92rem, 2.4vw, 1.05rem);
    line-height: 1.55;
    color: #555;
    max-width: 36em;
}

.m1c-404__brand {
    color: #c2cc75;
    font-weight: 700;
    white-space: nowrap;
}

.m1c-404__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 360px;
    padding: 0 8px;
}

.m1c-404__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 14px 28px;
    border-radius: 999px;
    background: #c2cc75;
    color: #fff !important;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none !important;
    border: 0;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.m1c-404__btn:hover,
.m1c-404__btn:focus {
    background: #b5c436;
    color: #fff !important;
    text-decoration: none !important;
}

.m1c-404__btn:active {
    transform: scale(0.98);
}

#pagenotfound #main .page-content {
    margin-bottom: 0px !important;
}

@media (max-width: 575px) {

    #pagenotfound .m1c-404.page-content,
    #pagenotfound .m1c-404.page-not-found {
        padding: 32px 16px 56px;
    }

    .m1c-404__visual {
        margin-bottom: 20px;
    }

    .m1c-404__actions {
        max-width: 100%;
    }

    .m1c-404__btn {
        min-height: 48px;
        font-size: 0.88rem;
    }
}

@media (min-width: 992px) {

    #pagenotfound .m1c-404.page-content,
    #pagenotfound .m1c-404.page-not-found {
        padding: 64px 24px 96px;
    }

    .m1c-404__actions {
        max-width: 380px;
    }
}

/* ===== Página sin resultados (búsqueda / listados vacíos) ===== */
#search #products .m1c-empty.page-not-found,
#products .m1c-empty.page-not-found,
#category .m1c-empty.page-not-found,
#pagenotfound .m1c-empty.page-not-found {
    border: 0;
    box-shadow: none;
    background: transparent;
    max-width: none;
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: inherit;
}

#search #main .page-content.m1c-empty,
#main .page-content.m1c-empty,
#products .m1c-empty.page-not-found {
    margin-bottom: 0 !important;
}

.m1c-empty__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 20px 32px;
}

.m1c-empty__visual {
    margin: 0 0 20px;
}

.m1c-empty__sofa {
    width: clamp(120px, 32vw, 200px);
    height: auto;
    display: block;
    margin: 0 auto;
    pointer-events: none;
}

.m1c-empty__title {
    margin: 0 0 14px;
    padding: 0 8px;
    font-size: clamp(1.15rem, 3.2vw, 1.55rem);
    font-weight: 400;
    line-height: 1.4;
    color: #3a3a3a;
    max-width: 28em;
}

.m1c-empty__title strong {
    font-weight: 700;
    color: #2f2f2f;
}

.m1c-empty__query {
    display: inline;
    color: #8a9438;
    font-weight: 700;
    word-break: break-word;
}

.m1c-empty__text {
    margin: 0 0 28px;
    padding: 0 12px;
    font-size: clamp(0.92rem, 2.4vw, 1.05rem);
    line-height: 1.55;
    color: #555;
    max-width: 36em;
}

.m1c-empty__brand {
    color: #c2cc75;
    font-weight: 700;
    white-space: nowrap;
}

.m1c-empty__search {
    width: 100%;
    max-width: 480px;
    margin: 0 0 24px;
}

.m1c-empty__search-field {
    display: flex;
    align-items: stretch;
    width: 100%;
    border: 1px solid #d8d8d8;
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.m1c-empty__search-field:focus-within {
    border-color: #c2cc75;
    box-shadow: 0 0 0 3px rgba(194, 204, 117, 0.25);
}

.m1c-empty__search-input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    padding: 14px 8px 14px 22px;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #222;
}

.m1c-empty__search-input::placeholder {
    color: #999;
}

.m1c-empty__search-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    border: 0;
    background: transparent;
    color: #333;
    cursor: pointer;
    transition: color 0.15s ease;
}

.m1c-empty__search-btn:hover,
.m1c-empty__search-btn:focus {
    color: #8a9438;
}

.m1c-empty__search-btn .material-icons {
    font-size: 24px;
    line-height: 1;
}

.m1c-empty__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 480px;
    margin: 0 0 28px;
    padding: 0 8px;
}

.m1c-empty__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    min-width: 160px;
    padding: 12px 24px;
    border-radius: 999px;
    background: #c2cc75;
    color: #fff !important;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none !important;
    border: 2px solid #c2cc75;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.m1c-empty__btn:hover,
.m1c-empty__btn:focus {
    background: #b5c436;
    border-color: #b5c436;
    color: #fff !important;
    text-decoration: none !important;
}

.m1c-empty__btn:active {
    transform: scale(0.98);
}

.m1c-empty__btn--outline {
    background: #fff;
    color: #555 !important;
    border-color: #d0d0d0;
}

.m1c-empty__btn--outline:hover,
.m1c-empty__btn--outline:focus {
    background: #fff;
    border-color: #c2cc75;
    color: #8a9438 !important;
}

.m1c-empty__tips {
    width: 100%;
    max-width: 480px;
    padding: 18px 20px;
    background: #f7f8f2;
    border-radius: 12px;
    text-align: left;
}

.m1c-empty__tips-title {
    margin: 0 0 10px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7340;
}

.m1c-empty__tips-list {
    margin: 0;
    padding: 0 0 0 1.1em;
    list-style: disc;
}

.m1c-empty__tips-list li {
    margin: 0 0 6px;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #555;
}

.m1c-empty__tips-list li:last-child {
    margin-bottom: 0;
}

.m1c-empty__suggestions {
    width: 100%;
    max-width: 1200px;
    margin: 8px auto 48px;
    padding: 28px 16px 8px;
    border-top: 1px solid #ececec;
}

.m1c-empty__suggestions:empty {
    display: none;
    margin: 0;
    padding: 0;
    border: 0;
}

.m1c-empty__suggestions > *:first-child {
    margin-top: 0;
}

.m1c-empty__suggestions h2,
.m1c-empty__suggestions h3,
.m1c-empty__suggestions h4,
.m1c-empty__suggestions .title,
.m1c-empty__suggestions .tvmain-title,
.m1c-empty__suggestions .tvall-block-box-shadows .tvmain-title {
    text-align: center;
    font-size: clamp(1.05rem, 2.6vw, 1.35rem);
    font-weight: 700;
    color: #2f2f2f;
    margin: 0 0 20px;
    line-height: 1.35;
}

.m1c-empty__suggestions .products,
.m1c-empty__suggestions .product-list,
.m1c-empty__suggestions .tvproduct-wrapper,
.m1c-empty__suggestions .owl-carousel,
.m1c-empty__suggestions .slick-slider {
    margin-left: auto;
    margin-right: auto;
}

.m1c-empty__suggestions .product-miniature,
.m1c-empty__suggestions .tvproduct-wrapper .item {
    max-width: 100%;
}

.m1c-empty__suggestions img {
    max-width: 100%;
    height: auto;
}

/* Breadcrumb búsqueda: mejor contraste */
#search .breadcrumb li a,
#search .breadcrumb li span,
#search .tvbreadcrumb a,
#search .tvbreadcrumb span {
    color: #555;
}

#search .breadcrumb li:last-child a,
#search .breadcrumb li:last-child span {
    color: #2f2f2f;
    font-weight: 600;
}

@media (max-width: 575px) {
    .m1c-empty__inner {
        padding: 28px 16px 24px;
    }

    .m1c-empty__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .m1c-empty__btn {
        width: 100%;
        min-width: 0;
    }

    .m1c-empty__suggestions {
        margin-bottom: 32px;
        padding-top: 20px;
    }
}

@media (min-width: 992px) {
    .m1c-empty__inner {
        padding: 56px 24px 40px;
    }
}


.yt-video-prod {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.yt-video-prod iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    border: 0;
}

/* Título de categoría como h1 (SEO) sin romper estilo del tema */
.tv-category-block-wrapper .tv-all-page-main-title,
#js-product-list-header .tv-all-page-main-title {
    margin: 0;
    line-height: 1.3;
}

/* ===== Subcategorías: grid responsive sin scrollbar ===== */
.m1c-subcategories.tv-category-main-div {
    margin-bottom: 24px;
    padding: 0 0 8px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 3px;
    overflow: visible;
}

.m1c-subcategories .tv-sub-category-title-wrapper {
    padding: 16px 16px 0;
}

.m1c-subcategories .tv-sub-category-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    line-height: 1.3;
}

.m1c-subcategories__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 16px;
    list-style: none;
    overflow: visible;
    max-height: none;
    cursor: default;
    user-select: auto;
}

.m1c-subcategories__item.tv-sub-category-wrapper {
    display: block;
    float: none;
    width: auto;
    max-width: none;
    flex: none;
    padding: 0;
    margin: 0;
}

.m1c-subcategories__link.tv-sub-category-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    height: 100%;
    padding: 14px 10px;
    background-color: #f8f8f8;
    border: 1px solid transparent;
    border-radius: 3px;
    text-decoration: none;
    color: inherit;
    transition:
        border-color 0.4s ease,
        background-color 0.4s ease,
        box-shadow 0.4s ease,
        transform 0.4s ease;
}

.m1c-subcategories__link.tv-sub-category-inner:hover,
.m1c-subcategories__link.tv-sub-category-inner:focus-visible {
    border-color: rgba(181, 196, 54, 0.28);
    background-color: #f9f9f9;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    outline: none;
}

.m1c-subcategories__image.tv-category-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100px;
    aspect-ratio: 1 / 1;
    max-height: 140px;
    overflow: hidden;
}

.m1c-subcategories__image picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 100%;
    line-height: 0;
    text-align: center;
}

.m1c-subcategories__image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.m1c-subcategories__link:hover .m1c-subcategories__image img,
.m1c-subcategories__link:focus-visible .m1c-subcategories__image img {
    opacity: 0.92;
    transform: scale(1.03);
}

.m1c-subcategories__name.tvcategory-name {
    display: block;
    margin: 0;
    padding: 0 4px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: #222;
    word-break: break-word;
    transition: color 0.4s ease;
}

.m1c-subcategories__link:hover .m1c-subcategories__name,
.m1c-subcategories__link:focus-visible .m1c-subcategories__name {
    color: #a8b84a;
}

@media (max-width: 1199px) {
    .m1c-subcategories__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .m1c-subcategories__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        padding: 14px;
    }
}

@media (max-width: 575px) {
    .m1c-subcategories .tv-sub-category-title-wrapper {
        padding: 14px 12px 0;
        text-align: left;
    }

    .m1c-subcategories__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 12px;
    }

    .m1c-subcategories__link.tv-sub-category-inner {
        padding: 12px 8px;
        gap: 8px;
    }

    .m1c-subcategories__image.tv-category-image {
        min-height: 72px;
        max-height: 110px;
    }

    .m1c-subcategories__image img {
        max-height: 100%;
    }

    .m1c-subcategories__name.tvcategory-name {
        font-size: 12px;
    }
}

/* Sticky inferior: el título no es H1 (SEO); mantener peso visual */
.tvfooter-product-sticky-bottom .tvproduct-sticky-title {
    margin: 0;
    font-size: inherit;
    font-weight: 600;
    line-height: 1.3;
}

/* Identificadores producto (ref / EAN / MPN / marca) */
#product-details .product-reference,
#product-details .product-ean13,
#product-details .product-upc,
#product-details .product-isbn,
#product-details .product-mpn,
#product-details .product-manufacturer {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.45;
}

#product-details .product-reference .label,
#product-details .product-ean13 .label,
#product-details .product-upc .label,
#product-details .product-isbn .label,
#product-details .product-mpn .label,
#product-details .product-manufacturer .label {
    font-weight: 600;
    margin-right: 6px;
}

.tv-left-pannal-btn-wrapper {
    display: none;
}

/* Filtros faceted search en columna izquierda de listados */
.category-left-column #search_filters,
.new-products-left-column #search_filters,
.prices-drop-left-column #search_filters,
.best-sales-left-column #search_filters,
#left-column #search_filters {
    display: block !important;
}

.category-left-column #search_filters_wrapper,
.new-products-left-column #search_filters_wrapper,
.prices-drop-left-column #search_filters_wrapper,
.best-sales-left-column #search_filters_wrapper {
    margin-bottom: 20px;
}

/* Si el config deja col-* en facets (modo top), forzar apilado en sidebar */
.category-left-column #search_filters .facet[class*="col-"],
.new-products-left-column #search_filters .facet[class*="col-"],
.prices-drop-left-column #search_filters .facet[class*="col-"],
.best-sales-left-column #search_filters .facet[class*="col-"],
#left-column #search_filters .facet[class*="col-"] {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    padding-left: 0;
    padding-right: 0;
}

.category-left-column .tvsearch-filter-content-wrapper,
.new-products-left-column .tvsearch-filter-content-wrapper,
.prices-drop-left-column .tvsearch-filter-content-wrapper,
.best-sales-left-column .tvsearch-filter-content-wrapper,
#left-column .tvsearch-filter-content-wrapper {
    display: block;
}

/* Toggle superior (modo FILTER_LEFT_PANEL=0 en otras páginas) */
#search_filters.open {
    display: block !important;
}

/* ── Mobile header sticky: sin pestañeo ni salto de scroll ── */
@media (max-width: 991px) {
    #header .m1c-header-sticky-spacer {
        display: block;
        width: 100%;
        flex-shrink: 0;
    }

    #header .tvcmsmobile-header-menu-offer-text.tvcmsheader-sticky.sticky,
    #header .m1c-mobile-top-row.tvcmsheader-sticky.sticky {
        -webkit-animation: m1cStickyIn 0.35s ease-out !important;
        -moz-animation: m1cStickyIn 0.35s ease-out !important;
        animation: m1cStickyIn 0.35s ease-out !important;
        margin-top: 0 !important;
        will-change: transform, opacity;
    }

    /* En móvil el hueco lo reserva el spacer, no el margin del wrapper */
    body #wrapper {
        margin-top: 0 !important;
    }
}

@-webkit-keyframes m1cStickyIn {
    from {
        opacity: 0;
        -webkit-transform: translateY(-14px);
        transform: translateY(-14px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-moz-keyframes m1cStickyIn {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes m1cStickyIn {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Flecha del menú móvil: ocultar si no hay submenú visible */
@media (max-width: 991px) {

    #tvmobile-megamenu .icon-drop-mobile.m1c-hide-drop,
    #tvdesktop-megamenu .icon-drop-mobile.m1c-hide-drop,
    .tv-menu-horizontal li.m1c-empty-submenu>.icon-drop-mobile {
        display: none !important;
    }

    .tv-menu-horizontal li.m1c-empty-submenu>.icon-drop-mobile:after {
        content: none !important;
    }

    /* Enlace del ítem primario a ancho completo (no solo el texto) */
    .tvmobile-slidebar .tv-menu-horizontal li.level-1,
    #tvmobile-megamenu .tv-menu-horizontal li.level-1 {
        position: relative;
        width: 100%;
    }

    .tvmobile-slidebar .tv-menu-horizontal li.level-1 > a,
    #tvmobile-megamenu .tv-menu-horizontal li.level-1 > a,
    #header .tvmobile-slidebar .tv-menu-horizontal ul li.level-1 > a {
        display: block !important;
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 44px 0 15px !important;
        line-height: 41px;
    }
}

/* H1 home — SEO, solo en #index vía index.tpl */
#index .m1c-home-h1 {
    margin: 18px 0 8px;
    padding: 0 0 12px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.6px;
    text-align: center;
    text-transform: capitalize;
    color: #000;
    position: relative;
}

#index .m1c-home-h1::after {
    content: "";
    display: block;
    width: 88px;
    height: 2px;
    margin: 10px auto 0;
    background-color: var(--color-principal-hover, #b5c436);
}

@media (max-width: 767px) {
    #index .m1c-home-h1 {
        margin: 12px 0 4px;
        padding-bottom: 8px;
        letter-spacing: 0.3px;
    }
}

/* Label del selector de combinaciones (no el de color 20x20) */
.product-variants > .product-variants-item > label.control-label {
    display: inline-block;
    width: auto !important;
    height: auto !important;
    min-width: 0;
    margin: 0 20px 0 0;
    white-space: nowrap;
    line-height: 24px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    color: #000000;
    flex-shrink: 0;
    vertical-align: middle;
}

/* UX: carga al cambiar combinación / precio */
@keyframes m1cProductSpin {
    to {
        transform: rotate(360deg);
    }
}

.m1c-product-update-spinner {
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-top-color: var(--color-principal-hover, #b5c436);
    border-radius: 50%;
    animation: m1cProductSpin 0.7s linear infinite;
    vertical-align: middle;
    flex-shrink: 0;
}

.m1c-combination-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    padding: 10px 14px;
    background: #f5f6f0;
    border-left: 3px solid var(--color-principal-hover, #b5c436);
    color: #333;
    font-size: 13px;
    line-height: 1.35;
    font-family: 'Poppins', sans-serif;
}

.m1c-combination-status[hidden] {
    display: none !important;
}

.tv-product-page-image {
    position: relative;
}

.m1c-product-update-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.72);
    color: #333;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    pointer-events: none;
}

.m1c-product-update-overlay .m1c-product-update-spinner {
    width: 28px;
    height: 28px;
    border-width: 3px;
}

body#product.m1c-product-updating .m1c-product-update-overlay {
    display: flex;
}

body#product.m1c-product-updating .tv-product-page-image {
    min-height: 240px;
}

body#product.m1c-product-updating .product-prices .current-price .price,
body#product.m1c-product-updating .tvtitle-price .price {
    opacity: 0.45;
    transition: opacity 0.15s ease;
}

body#product.m1c-product-updating .product-variants {
    opacity: 0.75;
    pointer-events: none;
}

body#product.m1c-product-updating button.add-to-cart.m1c-add-updating,
body#product.m1c-product-updating button[data-button-action="add-to-cart"].m1c-add-updating {
    opacity: 0.65;
    cursor: wait;
}