/* CJ CSS - initializing */
.outofstock .product-widget {
	display: block;
}

.below-woocommerce-category {
    /*background: linear-gradient(135deg, #e0f2f1, #daebe6);*/
    padding: 20px;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra sutil */
    transition: all 0.3s ease; /* Transición suave */
}

.below-woocommerce-category:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Sombra más pronunciada en hover */
    transform: translateY(-3px); /* Efecto de "levantamiento" en hover */
}

.wp-google-name span{
	color:white !important;
}

.wp-gr .wp-google-powered {
	color:white !important;
}

.wp-google-powered img{
	display:none !important;
}

.wp-gr .grw-slider:not(.wp-dark) .grw-slider-review-inner.grw-slider-review-border {
    background: #f9f9f9 !important;
}

#headeffe h2{
	border-bottom:dashed 2px white;
}

.woocommerce-tabs.wc-tabs-wrapper{
	background-color:#f8f8f8;
	border-bottom:1px solid #f8f8f8;
}

.woocommerce-tabs.wc-tabs-wrapper h2 {
  padding: 1rem 2rem;
  background-color: #EEF3F3;
  margin-left: -2rem;
	margin-bottom:25px !important;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  color: #456D6C;
}

.woocommerce-tabs.wc-tabs-wrapper h3 {
  padding: 1rem 2rem;
  border-left: 3px solid #456D6C;
  margin-left: -2rem;
	margin-bottom:25px !important;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  color: #456D6C;
}

.woocommerce-Tabs-panel.woocommerce-Tabs-panel--description.panel.entry-content.wc-tab ul {
    padding:0;
    list-style: none;
    counter-reset: li;
}

.woocommerce-Tabs-panel.woocommerce-Tabs-panel--description.panel.entry-content.wc-tab li {
    position: relative;
    padding:16px 20px 10px 28px;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

.woocommerce-Tabs-panel.woocommerce-Tabs-panel--description.panel.entry-content.wc-tab li:before {
    line-height: 32px;
    position: absolute;
    top: 4px;
    left:-40px;
    width:40px;
    text-align:center;
    font-size: 16px;
    font-weight: bold;
    color: #456D6C;
    background: #EEF3F3;
    counter-increment: li;
    content: counter(li);
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
}
.woocommerce-Tabs-panel.woocommerce-Tabs-panel--description.panel.entry-content.wc-tab li:hover:before {
    width:46px;
}
.woocommerce-Tabs-panel.woocommerce-Tabs-panel--description.panel.entry-content.wc-tab li:after {
    position: absolute;
    left: 0;
    top: 4px;
    content: "";
    height: 0;
    width: 0;
    border: 16px solid transparent;
    border-left-color: #EEF3F3;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s
}
.woocommerce-Tabs-panel.woocommerce-Tabs-panel--description.panel.entry-content.wc-tab li:hover:after {
    margin-left: 6px;
}

/*.woocommerce-Tabs-panel.woocommerce-Tabs-panel--description.panel.entry-content.wc-tab p span{
	border:1px solid #ccc !important;
	padding:15px;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
    background: white;
    counter-increment: li;
    content: counter(li);
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
}*/

.scrollable table {
  border: 1px solid #ccc;
  border-collapse: collapse;
}

.scrollable td {
  border: 1px solid #ccc;
  border-collapse: collapse;
}

.scrollable th{
  padding:5px !important;
}

.scrollable td{
  padding:5px !important;
}

.scrollable th{
  background-color:#70907c;
  color:white;
	border-bottom:1px solid;
}

.content-area p.stock {
  border-top: unset;
	margin-top: 0px;
}

.consejoss{
	margin-top:15px;
}

.consejoss i{
	margin-right:5px !important;

}

.single-product .woocommerce-message .message-inner {
    background-color: #70907c;
}

.wc-block-components-notice-banner.is-success {
  background-color: #EEF3F3 !important;
	color: #456D6C !important;
  border-color: unset !important;
}

#commercekit-timer.non-product, #commercekit-timer-message.non-product {
    background: #EEF3F3 !important;
	color:#456D6C !important;
	border:unset !important;
	border-radius:5px;
	font-weight:unset !important;
	font-size:17px !important;
}

#blackfridayy{
  border: none;
  padding: 3px 20px;
  border-radius: 5px;
  box-shadow: 0px 8px 0px 0px #00662b, 0px 0px 8px 0px rgba(120, 120, 120, 0.4);
  color: white;
  background: #456d6c;
  cursor: pointer;
  transition: all 0.16s;
	display:block;
}

#blackfridayy:focus {
  outline: none;
}

#blackfridayy:active {
  box-shadow: 0px 5px 0px 0px #00662b;
  transform: translateY(5px);
}

.woocommerce-message {
  background-color: #DDE8E2;
	color:black !important;
  font-size:17px !important;
	line-height:40px;
}

/*.woocommerce-error {
  background-color: #DDE8E2;
	color:black;
  font-size:17px !important;
	line-height:40px;
}*/

.woocommerce-checkout-review-order-table .product-name .product-item-thumbnail {
  width: 60% !important;
}

/**/

.verified_customer_section{
	margin-top:15px !important;
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 10px;
  border: 1px solid #bbcfcf;
  background-color: #EEF3F3;
  padding: 5px;
  max-width: 540px;
  min-height: 180px;
  margin: auto;
}

.image_review{
  padding-top: 10px;
  padding-left: 5px;
}

.image_review i{
  font-size: 16px;
  color: gold;
  margin-left: 0;
  margin-right: 2px;
  padding-top: 10px;
  padding-bottom: 10px;
}


.customer_image{
  max-width: 80px;
  max-width: 80px;
}

.customer_image img{
  height: 100%;
  width: 100%;
  border-radius: 50%;
  float: left;
  margin-right: 10px;
}


.customer_name{
  font-weight: 700;
  font-size: 16px;
  margin-top: 0;
  text-align: left;
  color: #454D4B;
  margin-bottom: 0;
}


.customer_bage{
  float: left;
  padding-right: 5px;
}

.customer_status .customer_bage img{
  width: 12px;
  height: 15px;
}


.customer_status_content{
  padding-left: 5px;
  margin-bottom: 0;
  font-size: 13px;
  margin-top: 2px;
  color: rgb(38,38,38);
}

.customer_comment{
  padding-left: 5px;
  padding-top: 10px;
  margin-bottom: 0;
  font-size: 15px;
  margin-top: 3px;
  padding-right: 5px;
  text-align: left;
  font-style: italic;
}

#enlacehome a::after{
	content:" >>";
}

.shoptimizer-sorting.sorting-end .woocommerce-ordering{
	visibility:hidden;
}

.shoptimizer-sorting.sorting-end .woocommerce-result-count{
	visibility:hidden;
}

.mobile-filter.shoptimizer-mobile-toggle{
	visibility:hidden;
}

.woocommerce-ordering option{
	background-color:white;
	color:#262626;
}

.woocommerce-ordering option:hover{
	background-color:white;
	color:#262626;
}

.joinchat__button{
	margin-bottom:70px;
}

#valorh img{
	border-radius:99px;
	padding:15px;
	background-color:white;
}

#topbaricons{
	display:flex !important;
	margin-left:10px;
}

#topbaricons a{
	margin-left:15px;
}

@media (max-width: 720px) {
  #topbaricons {
		margin-top:10px;
  }
	.top-bar .textwidget{
		display:block !important;
		margin-left:auto !important;
		margin-right:auto !important;
		font-size:12px;
	}
	.top-bar .textwidget p{
		border-bottom:1px solid white;
	}
}

.wc-block-components-notice-banner.is-success .buttons-wrapper{
	display:none;
}

.fa-brands.fa-whatsapp.color{
	font-size:45px;
	vertical-align:middle;
	color:#578987;
}

.fa-brands.fa-whatsapp.color:hover{
	color:#4e7b79;
}

@media (max-width: 992px) {
  .site .commercekit-sticky-add-to-cart__content-button a.button {
		width:80%;
		vertical-align:middle;
  }
}

.product p.price {
    color: #454D4B !important;
    font-size: 22px !important;
}

a.button.wc-forward{
	background-color:#578987;
	color:white;
	font-weight:bold;
}

a.button.wc-forward:hover{
	background-color:#4e7b79;
}

/*Relacionados*/
/* CONTENEDOR PRINCIPAL */
.custom-out-of-stock-related-container {
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
    padding: 0 !important;
}

/* REJILLA FORZADA 3 COLUMNAS */
.custom-out-of-stock-related-container ul.custom-grid {
    display: grid !important;
    /* Dividir en 3 partes iguales EXACTAS */
    grid-template-columns: 1fr 1fr 1fr !important; 
    gap: 15px !important; /* Espacio razonable entre productos */
    width: 95% !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* ELIMINAR CLASES CONFLICTIVAS DEL TEMA */
.custom-out-of-stock-related-container ul.products.columns-1,
.custom-out-of-stock-related-container ul.products.columns-2,
.custom-out-of-stock-related-container ul.products.columns-3,
.custom-out-of-stock-related-container ul.products.columns-4 {
    grid-template-columns: 1fr 1fr 1fr !important; /* Obligar a 3 aunque diga 4 */
}

/* PRODUCTOS: Eliminar todo el "aire" interno para que sean más grandes */
.custom-out-of-stock-related-container li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
    /* Asegurar que ocupe toda la altura disponible */
    height: 100% !important; 
}

/* IMÁGENES: Ocupar todo el ancho disponible */
.custom-out-of-stock-related-container .product img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* MÓVIL: 1 COLUMNA */
@media (max-width: 768px) {
    .custom-out-of-stock-related-container ul.custom-grid,
    .custom-out-of-stock-related-container ul.products {
        grid-template-columns: 1fr !important;
    }
}

.custom-price{
	font-size:20px;
}

/*.ofertaslnk span{
  background-color:#A1102B;
	padding:10px;
	color:white;
	border-radius:5px;
}*/

.ofertaslnk span::after{
	content:"  ⭐";
}

.stock.in-stock {
    color: #578987;
}

.product p.stock.in-stock:before {
    background: #578987;
}

#fechaestima {
	color:#456D6C;
}

.infoxproducto {
  text-align: center;
	font-size:16px;
}

.infoxproducto ul {
  display: inline-block;
  margin: 0;
}

.infoxproducto ul li {
  float: left;
  list-style: none;
	margin-left:15px;
	background-color:#EEF3F3;
	color:#456D6C;
	padding:5px;
	border-radius:5px;
	margin-top:10px;
	margin-bottom:0px;
}

.woocommerce-variation-price span {
    color: #454D4B !important;
    font-size: 22px !important;
}

.woobt-summary {
    color: #454D4B !important;
    font-size: 17px !important;
}

.profcustom span{
	background: #578987;
	color: white !important;
	padding:15px;
	border-radius:5px;
}

.profcustom span:hover{
	background: #4e7b79 !important;
	color: white !important;
	padding:15px;
}

.rank-math-breadcrumb {
  max-width: 1200px;
  width: 100%;
  margin: 10px auto 0px auto;
}

.fa-arrow-right:before {
    color: #578987;
}

.fas-flec a {
  position: relative;
  text-decoration: none;
  color: inherit;
  display: inline-block;
  padding-right: 1.5em;
  white-space: nowrap;
}

.fas-flec a::after {
  content: "→";
  position: absolute;
  right: 0.2em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9em;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.fas-flec a:hover::after {
  transform: translateY(-50%) translateX(3px);
}

.woocommerce-form-coupon-toggle {
	display: none !important;
}

.checkout-wrap{
display:none;}

.rank-math-breadcrumb{
text-align:center;font-size:14px;}

.rank-math-breadcrumb a{
color:black;text-decoration:underline;}

#autoryverificador a{
	text-decoration:underline;
}

#content.site-content {
	padding:5px;
}

.site .elementor-products-grid ul.products.elementor-grid li.product {
    padding-left: 0px;
    padding-right: 5px;
    padding-bottom: 0px
}

.elementor-wc-products ul.products {
	grid-column-gap: 10px !important;
	grid-row-gap: 30px !important;
}

@media only screen and (max-width: 768px) {
  .single-post h2 {
    font-size: 24px !important;
  }
  .single-post h3 {
    font-size: 22px !important;
  }
  .single-post h4 {
    font-size: 21px !important;
  }
  .single-post h5 {
    font-size: 20px !important;
  }
}

.top-bar .top-bar-right a{
	margin-left:5px;
	margin-right:5px;
}

.top-bar .top-bar-right span{
	margin-left:5px;
	margin-right:5px;
}

.cj-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cj-menu li {
  margin-bottom: 8px;
  padding: 0;
}

.cj-menu a {
  display: block;
  text-decoration: none;
  color: #CFCFCF;
}

.cj-menu-legal {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cj-menu-legal li {
	display: inline;
  padding: 0;
}

.cj-menu-legal a {
  text-decoration: none;

  color: #CFCFCF;
	margin:10px;
}

.cj-menu-legal a:hover{
  color: #578987 !important;
}

@media (max-width: 768px) {
	.cj-menu-legal a{
  display: block;
  margin-bottom: 8px;
}
}


.titm2 {
  text-decoration: underline;
  text-decoration-color: #333;
}

/* FAQ Can Juanito - Preguntas Frecuentes */
.cj-faq-item {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    overflow: hidden;
}

.cj-faq-item:hover {
    border-color: #6b9080;
}

.cj-faq-question {
    padding: 18px 50px 18px 20px;
    cursor: pointer;
    font-weight: 400;
    font-size: 0.95rem;
    color: #333;
    position: relative;
    user-select: none;
    transition: all 0.2s ease;
}

.cj-faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #6b9080;
    font-weight: 300;
    transition: transform 0.2s ease;
}

.cj-faq-item.active .cj-faq-question::after {
    content: '−';
}

.cj-faq-item.active {
    border-color: #6b9080;
}

.cj-faq-question:hover {
    color: #6b9080;
}

.cj-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.cj-faq-item.active .cj-faq-answer {
    max-height: 500px;
}

.cj-faq-content {
    padding: 0 20px 20px 20px;
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
}

.cj-faq-content p {
    margin-bottom: 10px;
}

.cj-faq-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .cj-faq-question {
        font-size: 0.9rem;
        padding: 16px 45px 16px 18px;
    }
    
    .cj-faq-content {
        padding: 0 18px 18px 18px;
        font-size: 0.85rem;
    }
    
    .cj-faq-question::after {
        right: 18px;
    }
}
.postcust h2{
  position:relative;
  font-size:32px;
  line-height:1.25;
  margin:32px 0 18px;
  color:#2b2b2b;
  padding-left:14px;
}

.postcust h2::before{
  content:"";
  position:absolute;
  left:0;
  top:0.12em;
  bottom:0.12em;
  width:6px;
  background:linear-gradient(180deg,#456D6C,#2E4E4D);
  border-radius:4px;
}

.postcust p a{
  background-color:#DDE8E2;
  color:#454D4B;
  padding:0 3px;
  border-radius:5px;
  border-bottom:2px solid currentColor;
  text-decoration:none;
  transition:100ms;
}

.postcust p a:hover,
.postcust p a:focus,
.postcust p a:focus-visible{
  border-bottom-color:currentColor;
  text-decoration:underline;
  outline:2px solid currentColor;
}

.postcust p a:visited{
  color:#3A4B49;
  border-bottom-color:currentColor;
}

.single-post .woocommerce-breadcrumb,
.page .woocommerce-breadcrumb {
  display: block !important;
}

.woocommerce-cart .woocommerce-breadcrumb,
.woocommerce-checkout .woocommerce-breadcrumb {
  display: none !important;
}

.cart .single_add_to_cart_button {
	color:white;
  background: #456D6C;
}


.cart .single_add_to_cart_button:hover {
  background: #375756;
}

.variable-grouped-sticky.button {
	color:white;
  background: #456D6C;
}

.variable-grouped-sticky.button:hover {
  background: #375756;
}

.ajax_add_to_cart.add_to_cart_button.single_add_to_cart_button.button {
	color:white;
  background: #456D6C;
}

.ajax_add_to_cart.add_to_cart_button.single_add_to_cart_button.button:hover {
	color:white;
  background: #375756;
}

#vivero-mallorca a{
	color:#456D6C;
	text-decoration:underline;
}

#seccion-fotter {
	color:#CFCFCF;
}

#seccion-fotter a{
	color:white;
}

#footeralllnk a{
	text-decoration:underline;
}

#lnkweb a{
	text-decoration:underline;
}

.star-rating:before {
    background: #FDD663;
}

        .categorias-lista {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .categoria-item {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .categoria-item:hover {
            transform: translateX(5px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        }

        .categoria-link {
            display: flex;
            align-items: center;
            padding: 16px;
            text-decoration: none;
            color: #ffffff;
            font-weight: 600;
            font-size: 16px;
            position: relative;
            transition: all 0.3s ease;
        }

        .categoria-icono {
            font-size: 28px;
            margin-right: 14px;
            transition: transform 0.3s ease;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
        }

        .categoria-item:hover .categoria-icono {
            transform: scale(1.15) rotate(5deg);
        }

        .categoria-texto {
            flex: 1;
            position: relative;
            z-index: 1;
        }

        .categoria-flecha {
            font-size: 18px;
            opacity: 0.8;
            transition: transform 0.3s ease;
        }

        .categoria-item:hover .categoria-flecha {
            transform: translateX(4px);
        }

        /* Estilos específicos para cada categoría */
        .cuidados,
        .hogar,
        .huerto {
            background: linear-gradient(135deg, #EEF3F3 0%, #dde5e5 100%);
        }

        .cuidados::before,
        .hogar::before,
        .huerto::before {
            content: "";
            position: absolute;
            width: 180px;
            height: 180px;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
            border-radius: 50%;
        }

        .cuidados::before {
            top: -50%;
            right: -20%;
        }

        .hogar::before {
            bottom: -30%;
            left: -15%;
        }

        .huerto::before {
            top: -40%;
            left: 50%;
        }
        
        .categoria-link {
            color: #456D6C;
        }

        /* Efecto de brillo al hover */
        .categoria-link::after {
            content: "";
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s ease;
        }

        .categoria-item:hover .categoria-link::after {
            left: 100%;
        }

.top-posts-lista {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.top-post-item {
    display: flex;
    align-items: center;
    padding: 14px 12px;
    transition: all 0.3s ease;
    position: relative;
}

.top-post-item:last-child {
    border-bottom: none;
}

.top-post-item:hover {
    background: linear-gradient(90deg, #f1f8f4 0%, #ffffff 100%);
    transform: translateX(3px);
}

.top-post-numero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    margin-right: 12px;
    transition: transform 0.3s ease;
}

.top-post-item:hover .top-post-numero {
    transform: scale(1.1);
}

/* Colores especiales para los 3 primeros */
.top-post-item:nth-child(1) .top-post-numero {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #d97706;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.top-post-item:nth-child(2) .top-post-numero {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
    color: #64748b;
    box-shadow: 0 2px 8px rgba(192, 192, 192, 0.3);
}

.top-post-item:nth-child(3) .top-post-numero {
    background: linear-gradient(135deg, #cd7f32 0%, #e3a76f 100%);
    color: #92400e;
    box-shadow: 0 2px 8px rgba(205, 127, 50, 0.3);
}

/* Del 4 al 10 */
.top-post-item:nth-child(n+4) .top-post-numero {
    background: #e8f5e9;
    color: #2d5016;
}

.top-post-link {
    display: flex;
    align-items: center;
    flex: 1;
    text-decoration: none;
    color: #1f2937;
}

.top-post-texto {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
    color: #374151;
    transition: color 0.3s ease;
}

.top-post-item:hover .top-post-texto {
    color: #2d5016;
}

.product-details-wrapper .woocommerce-product-gallery .cj-aviso-galeria{
  margin-top: 12px;
  line-height: 1.4;
  padding: 10px 12px;
  background-color: #fff;
  border: 1px solid rgba(0,0,0,.15);
  border-left: 2px solid rgba(0,0,0,.6);
  border-radius: 5px;
}


/* Estado normal */
.pack-ahorro-card{
  transition: all .15s ease;
}

/* Hover: borde fino con color acento */
.pack-ahorro-card:hover{
  border-color: rgb(69,109,108);
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

/* Seleccionado: borde más marcado + doble efecto */
.pack-ahorro-card.is-active{
  border-color: rgb(69,109,108);
  border-width: 2px;
  box-shadow:
    0 0 0 2px rgba(69,109,108,.15),
    0 8px 18px rgba(0,0,0,.12);
}

/* Badge cuando está seleccionado (sutil, no verde chillón) */
.pack-ahorro-card.is-active .pack-ahorro-badge{
  border-color: rgb(69,109,108);
  color: rgb(69,109,108);
}

/* Hover del badge (micro-feedback) */
.pack-ahorro-card:hover .pack-ahorro-badge{
  border-color: rgb(69,109,108);
}


/* — MCM Inspector 2026-03-27 18:12 — */

/* === FUERA DE STOCK: mover a borde superior con color de marca === */
.product-out-of-stock {
    top: 0 !important;
    bottom: auto !important;
    background-color: #578987 !important;
    color: #ffffff !important;
    border-radius: 0 !important;
}
.product-out-of-stock em {
    color: #ffffff !important;
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.03em;
}

/* — MCM Inspector 2026-03-27 18:19 — */

/* === FUERA DE STOCK: color original blanco (override del verde anterior) === */
.product-out-of-stock {
    top: 0 !important;
    bottom: auto !important;
    background-color: rgba(255, 255, 255, 0.85) !important;
    color: #2c2d33 !important;
    border-radius: 0 !important;
}
.product-out-of-stock em {
    color: #2c2d33 !important;
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.03em;
}

/* === BOTÓN AÑADIR AL CARRITO: barra fija en pie de imagen === */
.woocommerce-image__wrapper {
    position: relative;
    overflow: hidden;
}
.woocommerce-image__wrapper .cj-atc-btn {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    padding: 10px 16px !important;
    background-color: rgba(87, 137, 135, 0.88) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-align: center !important;
    letter-spacing: 0.03em !important;
    z-index: 9 !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
    opacity: 1 !important;
    transform: none !important;
}
.woocommerce-image__wrapper .cj-atc-btn:hover {
    background-color: rgba(69, 109, 108, 0.97) !important;
}
.woocommerce-image__wrapper .cj-atc-btn.loading {
    opacity: 0.7 !important;
}
.woocommerce-image__wrapper .cj-atc-btn.added::after {
    content: ' ✓';
}

/* — MCM Inspector 2026-03-27 18:25 — */

/* === CJ-ATC-BTN: correcciones hover, centrado vertical y color persistente === */
.woocommerce-image__wrapper .cj-atc-btn {
    opacity: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 44px !important;
    line-height: 1 !important;
    padding: 0 16px !important;
    background-color: rgba(87, 137, 135, 0.88) !important;
    transition: opacity 0.2s ease, background-color 0.2s ease !important;
}
.woocommerce-image__wrapper:hover .cj-atc-btn {
    opacity: 1 !important;
    background-color: rgba(87, 137, 135, 0.88) !important;
    color: #ffffff !important;
}
.woocommerce-image__wrapper .cj-atc-btn:hover,
.woocommerce-image__wrapper .cj-atc-btn.loading,
.woocommerce-image__wrapper .cj-atc-btn.added {
    background-color: rgba(69, 109, 108, 0.97) !important;
    color: #ffffff !important;
    opacity: 1 !important;
}

/* — MCM Inspector 2026-03-27 18:58 — */


/* === ESTILO VERDECORA: reset overlay anterior + nuevo card body === */

/* Anular botón de overlay en imagen (ya no se usa) */
.woocommerce-image__wrapper .cj-atc-btn {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    width: auto !important;
    opacity: 1 !important;
    display: none !important;
    height: auto !important;
}
.woocommerce-image__wrapper:hover .cj-atc-btn,
.woocommerce-image__wrapper .cj-atc-btn.loading,
.woocommerce-image__wrapper .cj-atc-btn.added {
    display: none !important;
}

/* Fila precio + mini "+" */
.cj-price-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 4px 0 0 !important;
}

/* Mini botón "+" redondo */
.cj-mini-plus {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background-color: #578987 !important;
    color: #fff !important;
    border: none !important;
    font-size: 22px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: opacity 0.2s ease, background-color 0.15s ease !important;
    opacity: 1 !important;
}

.cj-mini-plus:hover {
    background-color: #456D6C !important;
}

/* Ocultar mini "+" en hover del card */
li.product:hover .cj-mini-plus {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Bloque acciones (qty + AÑADIR): oculto por defecto */
.cj-product-actions {
    overflow: hidden !important;
    max-height: 0 !important;
    opacity: 0 !important;
    transition: max-height 0.25s ease, opacity 0.2s ease !important;
    padding: 0 !important;
}

/* Mostrar en hover del card */
li.product:hover .cj-product-actions {
    max-height: 120px !important;
    opacity: 1 !important;
    padding-top: 8px !important;
}

/* Fila selector de cantidad */
.cj-qty-row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-bottom: 8px !important;
}

.cj-qty-btn {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid #d0d0d0 !important;
    font-size: 18px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;

    justify-content: center !important;
    color: #2c2d33 !important;
    line-height: 1 !important;
    padding: 0 !important;
    transition: background 0.15s !important;
}

.cj-qty-btn:hover {
    background: #d8d8d8 !important;
}

.cj-qty-val {
    font-size: 16px !important;
    font-weight: 600 !important;
    min-width: 28px !important;
    text-align: center !important;
    color: #2c2d33 !important;
    display: inline-block !important;
}

/* Botón AÑADIR AL CARRITO */
.cj-atc-btn {
    width: 100% !important;
    height: 44px !important;
    background-color: #578987 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: background-color 0.2s ease !important;
    margin: 0 !important;
    padding: 0 16px !important;
}

.cj-atc-btn:hover,
.cj-atc-btn.added {
    background-color: #456D6C !important;
    color: #fff !important;
}

.cj-atc-btn.loading {
    opacity: 0.75 !important;
    cursor: wait !important;
}

/* — MCM Inspector 2026-03-27 19:11 — */

/* === FIX: override Shoptimizer position:absolute en .button dentro de product-actions === */
.cj-product-actions .cj-atc-btn {
    position: relative !important;
    opacity: 1 !important;
    bottom: auto !important;
    z-index: auto !important;
    line-height: 1 !important;
    width: 100% !important;
    height: 44px !important;
}

/* — MCM Inspector 2026-03-27 19:28 — */
/* === VERDECORA v3: icono carrito + panel flotante + precio centrado === */

/* li.product: base para panel flotante */
li.product {
    position: relative !important;
    z-index: 1 !important;
}
li.product:hover {
    z-index: 100 !important;
}

/* Precio centrado: price row como bloque centrado con mini button absoluto */
.cj-price-row {
    display: block !important;
    text-align: center !important;
    position: relative !important;
    padding: 6px 44px !important;
    margin: 4px 0 2px !important;
    justify-content: unset !important;
    align-items: unset !important;
}

/* Mini botón: absoluto a la derecha del price row */
.cj-mini-plus {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
    opacity: 1 !important;
}

/* Mini botón: se desvanece hacia la derecha en hover */
li.product:hover .cj-mini-plus {
    opacity: 0 !important;
    transform: translateY(-50%) translateX(10px) !important;
    pointer-events: none !important;
}

/* Panel de acciones: FLOTANTE bajo el card (no empuja hacia abajo) */
.cj-product-actions {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 100% !important;
    bottom: auto !important;
    max-height: none !important;
    opacity: 0 !important;
    transform: translateY(-6px) !important;
    transition: opacity 0.22s ease, transform 0.22s ease !important;
    pointer-events: none !important;
    padding: 8px 6px 6px !important;
    background: #fff !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12) !important;
    border-radius: 0 0 6px 6px !important;
    border-top: 2px solid #578987 !important;
    z-index: 30 !important;
    overflow: visible !important;
}

/* Panel visible en hover */
li.product:hover .cj-product-actions {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* Botón AÑADIR dentro del panel: anula reglas anteriores de width:100% y las reemplaza con auto */
.cj-product-actions .cj-atc-btn {
    position: relative !important;
    opacity: 1 !important;
    bottom: auto !important;
    z-index: auto !important;
    width: auto !important;
    min-width: 160px !important;
    max-width: 90% !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    gap: 8px !important;
    line-height: 1 !important;
    height: 44px !important;
    padding: 0 18px !important;
}

/* Icono carrito: centrado con el texto, animación sutil en hover */
.cj-cart-icon {
    flex-shrink: 0 !important;
    transition: transform 0.25s ease !important;
    transform: translateX(0) !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

li.product:hover .cj-cart-icon {
    transform: translateX(-2px) !important;
}

/* Texto del botón AÑADIR */
.cj-btn-text {
    display: inline !important;
    white-space: nowrap !important;
}

.cj-qty-row {
    margin-bottom: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

/* — MCM Inspector 2026-03-27 19:33 — */
/* === FIX: quitar línea separadora del panel de acciones === */
.cj-product-actions {
    border-top: none !important;
}

/* — MCM Inspector 2026-03-27 19:36 — */
/* === FIX: mini carrito en home (sin cj-price-row, hijo directo de card__header) === */

/* Flex en card header para que título, precio y mini botón se alineen bien */
.woocommerce-card__header {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}

/* Título ocupa fila completa */
.woocommerce-card__header > .woocommerce-loop-product__title {
    flex: 0 0 100% !important;
    width: 100% !important;
}

/* cj-price-row (PLP) también ocupa fila completa */
.woocommerce-card__header > .cj-price-row {
    flex: 0 0 100% !important;
    width: 100% !important;
}

/* Precio directo en card__header (home): ocupa el espacio disponible y centrado */
.woocommerce-card__header > .price {
    flex: 1 !important;
    text-align: center !important;
    padding-left: 40px !important;
}

/* Mini botón directo en card__header (home): flujo normal, no absoluto */
.woocommerce-card__header > .cj-mini-plus {
    position: static !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    flex-shrink: 0 !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
}

/* Ocultar en hover igual que en PLP */
li.product:hover .woocommerce-card__header > .cj-mini-plus {
    opacity: 0 !important;
    transform: translateX(10px) !important;
    pointer-events: none !important;
}

/* — MCM Inspector 2026-03-27 19:41 — */
/* === FIX responsive: botón no desborda + icono mini no cae === */

/* Botón AÑADIR: ocupa el ancho del panel, sin min-width fijo */
.cj-product-actions .cj-atc-btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    font-size: clamp(10px, 1.8vw, 13px) !important;
    letter-spacing: 0.03em !important;
    padding: 0 8px !important;
    box-sizing: border-box !important;
}

/* Texto del botón: no desborda */
.cj-btn-text {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    min-width: 0 !important;
}

/* Home: precio sin padding artificial, permite encoger en pantallas pequeñas */
.woocommerce-card__header > .price {
    padding-left: 0 !important;
    min-width: 0 !important;
    flex: 1 1 0 !important;
    overflow: hidden !important;
}

/* Mini botón en home: no se encoge nunca */
.woocommerce-card__header > .cj-mini-plus {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}

/* — MCM Inspector 2026-03-27 19:53 — */
/* === FIX móvil: panel inline (sin flotar), sin gap === */
@media (max-width: 900px) {
    /* Panel vuelve al flujo normal en móvil */
    .cj-product-actions {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        box-shadow: none !important;
        border-radius: 4px !important;
        max-height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        opacity: 0 !important;
        transition: max-height 0.25s ease, opacity 0.2s ease !important;
    }
    li.product:hover .cj-product-actions {
        max-height: 120px !important;
        opacity: 1 !important;
        padding: 8px 6px 6px !important;
        transform: none !important;
    }
    /* Quitar z-index elevado en móvil (no hay overlap de cards) */
    li.product:hover {
        z-index: auto !important;
    }
}

/* — MCM Inspector 2026-03-27 20:10 — */

/* SEO: imagen de producto navegable via JS (sin <a href> rastreable) */
.cj-img-nav {
    display: block !important;
    cursor: pointer !important;
    text-decoration: none !important;
}
.cj-img-nav:hover img {
    opacity: 0.9;
}


/* — MCM Inspector 2026-03-27 20:18 — */

/* SEO: imagen de ficha de blog navegable via JS (sin <a href> rastreable) */
.cj-blog-img-nav {
    display: block !important;
    cursor: pointer !important;
    line-height: 0 !important;
}


/* — MCM Inspector 2026-03-28 10:00 — */

/* === CLICK-TO-OPEN: panel se abre al clicar el icono carrito (no en hover) === */

/* Anular todos los efectos de hover del panel */
li.product:hover .cj-product-actions {
    opacity: 0 !important;
    transform: translateY(-6px) !important;
    pointer-events: none !important;
    max-height: none !important;
}
li.product:hover {
    z-index: 1 !important;
}

/* Anular ocultado del mini botón en hover */
li.product:hover .cj-mini-plus,
li.product:hover .woocommerce-card__header > .cj-mini-plus {
    opacity: 1 !important;
    transform: translateY(-50%) !important;
    pointer-events: auto !important;
}

/* Activar panel con clase cj-open (clic en mini botón) */
li.product.cj-open {
    z-index: 100 !important;
}
li.product.cj-open .cj-product-actions {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}
li.product.cj-open .cj-mini-plus {
    opacity: 0 !important;
    transform: translateY(-50%) translateX(10px) !important;
    pointer-events: none !important;
}
li.product.cj-open .woocommerce-card__header > .cj-mini-plus {
    opacity: 0 !important;
    transform: translateX(10px) !important;
    pointer-events: none !important;
}

/* Móvil: mismo comportamiento pero inline */
@media (max-width: 900px) {
    li.product:hover .cj-product-actions {
        max-height: 0 !important;
        padding: 0 !important;
        opacity: 0 !important;
        transform: none !important;
    }
    li.product.cj-open .cj-product-actions {
        max-height: 120px !important;
        opacity: 1 !important;
        padding: 8px 6px 6px !important;
        transform: none !important;
    }
    li.product.cj-open {
        z-index: auto !important;
    }
}


/* — MCM Inspector 2026-03-28 10:52 — */

/* === CJ CARD v4: tarjetas con acciones siempre visibles === */
.cj-mini-plus { display: none !important; }
.cj-price-row { display: block !important; padding: 0 !important; margin: 0 !important; text-align: left !important; position: static !important; }
li.product:hover .cj-product-actions, li.product:hover { z-index: 1 !important; }
li.product { display: flex !important; flex-direction: column !important; position: relative !important; }
li.product .woocommerce-card__header { flex: 1 1 auto !important; display: flex !important; flex-direction: column !important; padding: 8px 10px 10px !important; justify-content: flex-start !important; flex-wrap: nowrap !important; align-items: stretch !important; }
.woocommerce-loop-product__title { font-size: 12px !important; font-weight: 700 !important; text-transform: uppercase !important; line-height: 1.4 !important; overflow: hidden !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; min-height: 2.8em !important; max-height: 2.8em !important; margin-bottom: 4px !important; color: #2c2d33 !important; flex: 0 0 auto !important; width: 100% !important; }
li.product .price { font-size: 17px !important; font-weight: 700 !important; color: #2c2d33 !important; margin-bottom: 8px !important; display: block !important; text-align: left !important; flex: 0 0 auto !important; min-height: 1.6em !important; }
li.product .price del { font-size: 13px !important; color: #999 !important; font-weight: 400 !important; }
li.product .price ins { text-decoration: none !important; font-weight: 700 !important; color: #c0392b !important; }
.cj-product-actions { opacity: 1 !important; max-height: none !important; overflow: visible !important; pointer-events: auto !important; position: static !important; transform: none !important; transition: none !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; border: none !important; z-index: auto !important; display: flex !important; align-items: center !important; gap: 6px !important; margin-top: auto !important; flex: 0 0 auto !important; }
li.product:hover .cj-product-actions { opacity: 1 !important; max-height: none !important; transform: none !important; pointer-events: auto !important; padding: 0 !important; }
.cj-product-actions.cj-variable, .cj-product-actions.cj-oos { flex-direction: column !important; align-items: stretch !important; gap: 4px !important; }
.cj-qty-row { display: flex !important; align-items: center !important; gap: 4px !important; margin-bottom: 0 !important; flex-shrink: 0 !important; justify-content: flex-start !important; background: #f0f0f0 !important; border: 1px solid #d0d0d0 !important; border-radius: 20px !important; padding: 2px 6px !important; }
.cj-qty-btn { width: 24px !important; height: 24px !important; border-radius: 50% !important; background: transparent !important; border: none !important; font-size: 16px !important; cursor: pointer !important; display: flex !important; align-items: center !important; justify-content: center !important; color: #2c2d33 !important; line-height: 1 !important; padding: 0 !important; transition: color 0.15s !important; }
.cj-qty-btn:hover { color: #578987 !important; }
.cj-qty-val { font-size: 14px !important; font-weight: 600 !important; min-width: 18px !important; text-align: center !important; color: #2c2d33 !important; display: inline-block !important; }
.cj-product-actions .cj-atc-btn { flex: 1 !important; height: 36px !important; min-height: 36px !important; background-color: #578987 !important; color: #fff !important; border: none !important; border-radius: 4px !important; font-size: 11px !important; font-weight: 700 !important; letter-spacing: 0.05em !important; text-transform: uppercase !important; cursor: pointer !important; padding: 0 8px !important; transition: background-color 0.2s !important; opacity: 1 !important; position: static !important; bottom: auto !important; width: auto !important; min-width: 0 !important; max-width: none !important; display: flex !important; align-items: center !important; justify-content: center !important; line-height: 1 !important; margin: 0 !important; box-sizing: border-box !important; }
.cj-product-actions .cj-atc-btn:hover { background-color: #456D6C !important; color: #fff !important; opacity: 1 !important; }
.cj-product-actions .cj-atc-btn.loading { opacity: 0.75 !important; cursor: wait !important; }
.cj-product-actions .cj-atc-btn.added { background-color: #456D6C !important; }
.cj-product-actions.cj-variable .cj-atc-btn { flex: none !important; width: 100% !important; }
.cj-formatos { display: block !important; font-size: 11px !important; color: #578987 !important; text-align: center !important; font-weight: 600 !important; cursor: pointer !important; padding: 2px 0 !important; }
.cj-no-stock.cj-atc-btn { background-color: #c8c8c8 !important; cursor: not-allowed !important; width: 100% !important; flex: none !important; color: #888 !important; }
.cj-no-stock.cj-atc-btn:hover { background-color: #c8c8c8 !important; }
.cj-badge-discount { position: absolute !important; top: 8px !important; left: 8px !important; background: #e74c3c !important; color: #fff !important; font-size: 11px !important; font-weight: 700 !important; padding: 3px 7px !important; border-radius: 3px !important; z-index: 10 !important; line-height: 1.4 !important; pointer-events: none !important; }
li.product a.add_to_cart_button, li.product .button.add_to_cart_button { display: none !important; }
@media (max-width: 768px) { li.product .woocommerce-card__header { padding: 6px 8px 8px !important; } .woocommerce-loop-product__title { font-size: 11px !important; } li.product .price { font-size: 15px !important; } .cj-product-actions .cj-atc-btn { font-size: 10px !important; height: 32px !important; min-height: 32px !important; } .cj-qty-btn { width: 20px !important; height: 20px !important; font-size: 14px !important; } .cj-qty-val { font-size: 12px !important; } }

/* — MCM Inspector 2026-03-28 10:57 — */

/* === CJ CARD v4 fixes === */

/* Fix 1: ocultar enlace "Ver carrito" que WooCommerce inyecta tras añadir al carrito */
li.product a.added_to_cart { display: none !important; }

/* Fix 2: cards estrechas (relacionados, upsells) — qty+botón en columna en lugar de fila */
.related li.product .cj-product-actions,
.upsells li.product .cj-product-actions,
.cross-sells li.product .cj-product-actions {
    flex-wrap: wrap !important;
    gap: 4px !important;
}
.related li.product .cj-qty-row,
.upsells li.product .cj-qty-row,
.cross-sells li.product .cj-qty-row {
    width: 100% !important;
    justify-content: center !important;
}
.related li.product .cj-product-actions .cj-atc-btn,
.upsells li.product .cj-product-actions .cj-atc-btn,
.cross-sells li.product .cj-product-actions .cj-atc-btn {
    flex: none !important;
    width: 100% !important;
}

/* — MCM Inspector 2026-03-28 11:13 — */

/* === Fix Safari iOS: colores explícitos en pack ahorro (botones <button> heredan azul sistema) === */
.pack-ahorro-card {
    color: #2c2d33 !important;
    -webkit-text-fill-color: #2c2d33 !important;
}
.pack-ahorro-card .pack-ahorro-qty {
    color: #456D6C !important;
    -webkit-text-fill-color: #456D6C !important;
}
.pack-ahorro-card .pack-ahorro-unit {
    color: #2c2d33 !important;
    -webkit-text-fill-color: #2c2d33 !important;
}
.pack-ahorro-card .pack-ahorro-unit .woocommerce-Price-amount {
    color: #2c2d33 !important;
    -webkit-text-fill-color: #2c2d33 !important;
}
.pack-ahorro-card .pack-ahorro-badge {
    color: #2c2d33 !important;
    -webkit-text-fill-color: #2c2d33 !important;
}
.pack-ahorro-card.is-active .pack-ahorro-qty {
    color: #456D6C !important;
    -webkit-text-fill-color: #456D6C !important;
}
.pack-ahorro-card.is-active .pack-ahorro-badge {
    color: #456D6C !important;
    -webkit-text-fill-color: #456D6C !important;
}

/* — MCM Inspector 2026-03-28 11:32 — */

/* === Submenús sin JavaScript: fallback CSS puro ===
   Elementor oculta submenús con .elementor-nav-menu ul { display:none }
   :hover y :focus-within los muestran sin ningún JS */

/* Nivel 1 — aparece bajo el item padre */
.elementor-nav-menu .menu-item-has-children:hover > ul.sub-menu,
.elementor-nav-menu .menu-item-has-children:focus-within > ul.sub-menu {
    display: block !important;
    z-index: 9999 !important;
    min-width: 220px !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12) !important;
}

/* Nivel 2+ — aparece a la derecha del item padre */
.elementor-nav-menu .sub-menu .menu-item-has-children:hover > ul.sub-menu,
.elementor-nav-menu .sub-menu .menu-item-has-children:focus-within > ul.sub-menu {
    top: 0 !important;
    left: 100% !important;
}

/* — MCM Inspector 2026-03-28 11:39 — */

/* === CSS-only: hamburger móvil sin JS === */
.elementor-menu-toggle:focus ~ .elementor-nav-menu--dropdown {
    display: block !important;
}
.elementor-nav-menu--dropdown:focus-within {
    display: block !important;
}

/* === Sub-arrow icons: visibles sin JS === */
.elementor-nav-menu .sub-arrow {
    display: inline-flex !important;
    visibility: visible !important;
}
.elementor-nav-menu .sub-arrow svg {
    display: block !important;
    visibility: visible !important;
}


/* — MCM Inspector 2026-03-28 12:23 — */

/* === Hamburger iOS: botón invisible para :focus-within === */
.elementor-menu-toggle {
    position: relative !important;
}
.cj-nav-focus-btn {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 2 !important;
}
/* Mostrar dropdown cuando el botón dentro del toggle tenga focus */
.elementor-menu-toggle:focus-within ~ .elementor-nav-menu--dropdown {
    display: block !important;
}


/* — MCM Inspector 2026-03-28 13:34 — */

/* === Nav CSS-only v2: checkbox hamburger + sub-arrows corregidos === */

/* Anular reglas anteriores del botón (reemplazado por checkbox) */
.cj-nav-focus-btn { display: none !important; }

/* Checkbox invisible que cubre el área del toggle */
.cj-nav-toggle-cb {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 10 !important;
}
/* Abrir dropdown cuando el checkbox está marcado (:checked es persistente) */
.elementor-menu-toggle:has(.cj-nav-toggle-cb:checked) ~ .elementor-nav-menu--dropdown {
    display: block !important;
}

/* Sub-arrows: posición dentro del <a> como último elemento flex */
.elementor-nav-menu a .sub-arrow {
    display: inline-flex !important;
    visibility: visible !important;
    align-items: center !important;
    margin-left: 5px !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
    pointer-events: none !important;
}
.elementor-nav-menu a .sub-arrow svg {
    display: block !important;
    visibility: visible !important;
    width: 10px !important;
    height: auto !important;
}
/* Ocultar server-rendered arrow cuando SmartMenus añade el suyo (con JS) */
.sub-arrow.cj-server-arrow:has(~ .sub-arrow) {
    display: none !important;
}
.menu-item-has-children:has(> .sub-arrow) .cj-server-arrow {
    display: none !important;
}


/* — MCM Inspector 2026-03-28 13:47 — */

/* === Hamburger CSS-only: limitar a body.woocommerce-no-js (sin JS) ===
   WooCommerce pone woocommerce-no-js en el HTML y lo reemplaza por woocommerce-js
   cuando su JS carga. WP Rocket retrasa ese script hasta la primera interacción,
   pero el primer tap en la hamburguesa ejecuta el swap ANTES del :checked.
   Resultado: con JS activo la clase es woocommerce-js → estas reglas no aplican.
   Sin JS: la clase nunca cambia → checkbox funciona, menú se abre. */

/* Cancelar la regla anterior sin scope (conflía con SmartMenus con JS) */
body.woocommerce-js .elementor-menu-toggle:has(.cj-nav-toggle-cb:checked) ~ .elementor-nav-menu--dropdown {
    display: none !important;
}
/* Activar solo sin JS */
body.woocommerce-no-js .elementor-menu-toggle:has(.cj-nav-toggle-cb:checked) ~ .elementor-nav-menu--dropdown {
    display: block !important;
}
/* Mantener el dropdown visible mientras se navega dentro (sin JS) */
body.woocommerce-no-js .elementor-nav-menu--dropdown:focus-within {
    display: block !important;
}


/* — MCM Inspector 2026-03-28 14:05 — */

/* === Hamburger CSS-only v4: checkbox hermano del toggle, label overlay === */
/* Compatible con todos los dispositivos y navegadores sin :has() */

/* Ocultar checkbox nativo */
.cj-nav-toggle-cb { display: none !important; }

/* Label overlay sobre el toggle para capturar el clic */
.elementor-menu-toggle { position: relative !important; }
.cj-ham-label {
    position: absolute !important;
    inset: 0 !important;
    cursor: pointer !important;
    z-index: 10 !important;
    display: block !important;
}

/* Sin JS: mostrar dropdown cuando checkbox marcado */
body.woocommerce-no-js #cj-ham-cb:checked ~ .elementor-nav-menu--dropdown {
    display: block !important;
}

/* Con JS: ocultar label para que SmartMenus reciba los clics directamente */
body.woocommerce-js .cj-ham-label {
    display: none !important;
    pointer-events: none !important;
}


/* — MCM Inspector 2026-03-28 14:13 — */

/* === Hamburger v4 FIX: Elementor usa max-height/transform, no display:none === */
/* El toggle tiene :not(.elementor-active)+container con max-height:0 overflow:hidden transform:scaleY(0) */
body.woocommerce-no-js #cj-ham-cb:checked ~ .elementor-nav-menu--dropdown.elementor-nav-menu__container {

    max-height: 100vh !important;
    overflow: visible !important;
    transform: scaleY(1) !important;
    display: block !important;
}


/* — MCM Inspector 2026-03-28 14:30 — */

/* === Submenus móvil: flyout a la derecha (SmartMenus collapsible:false) === */
@media (max-width: 1024px) {
    nav.elementor-nav-menu--dropdown.elementor-nav-menu__container {
        position: relative !important;
        overflow: visible !important;
    }
    nav.elementor-nav-menu--dropdown .elementor-nav-menu ul.sub-menu {
        left: auto !important;
        right: 0 !important;
        width: 60% !important;
        max-width: none !important;
        min-width: 0 !important;
        background: #fff !important;
        box-shadow: -2px 2px 8px rgba(0,0,0,0.15) !important;
        z-index: 100 !important;
    }
}


/* — MCM Inspector 2026-03-28 15:19 — */
/* ============================================================
   CJ NAV — Menú responsive CSS puro (shortcode [cj_menu])
   ============================================================ */

/* --- Reset base --- */
.cj-nav { position: relative; }
.cj-nav *, .cj-nav *::before, .cj-nav *::after { box-sizing: border-box; }
.cj-menu, .cj-sub { list-style: none; margin: 0; padding: 0; }
.cj-menu a, .cj-sub a { text-decoration: none; color: inherit; }

/* --- Ocultar checkboxes --- */
.cj-open, .cj-stog { display: none !important; }

/* ============================================================
   DESKTOP (≥1025px)
   ============================================================ */
@media (min-width: 1025px) {

  /* Hamburger oculto en desktop */
  .cj-burger, .cj-overlay, .cj-close, .cj-back { display: none !important; }

  /* Panel visible como nav horizontal */
  .cj-panel {
    display: block !important;
    position: static;
    background: transparent;
    width: auto;
    height: auto;
    overflow: visible;
    transform: none;
  }

  /* Fila horizontal */
  .cj-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  /* Items de primer nivel */
  .cj-menu > .cj-item {
    position: relative;
  }

  .cj-menu > .cj-item > a {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    color: #333;
    transition: color .2s;
  }
  .cj-menu > .cj-item > a:hover { color: #e31a23; }

  /* Flecha desktop */
  .cj-menu > .cj-has-sub > .cj-sarrow {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding: 12px 8px 12px 0;
    color: #666;
    transition: transform .2s;
  }
  .cj-menu > .cj-has-sub > .cj-sarrow svg {
    width: 18px; height: 18px; fill: currentColor;
    transform: rotate(90deg);
  }

  /* Submenú desktop: oculto por defecto */
  .cj-menu > .cj-item > .cj-sub {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: 2px solid #e31a23;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .2s, transform .2s, visibility .2s;
    z-index: 9999;
  }

  /* Abrir submenú desktop con checkbox */
  .cj-menu > .cj-item > .cj-stog:checked ~ .cj-sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .cj-menu > .cj-item > .cj-stog:checked ~ .cj-sarrow {
    color: #e31a23;
    transform: rotate(0deg);
  }
  .cj-menu > .cj-item > .cj-stog:checked ~ .cj-sarrow svg {
    transform: rotate(-90deg);
  }

  /* Links dentro del submenú desktop */
  .cj-menu > .cj-item > .cj-sub .cj-item > a {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: background .15s, color .15s;
  }
  .cj-menu > .cj-item > .cj-sub .cj-item > a:hover {
    background: #f8f8f8;
    color: #e31a23;
  }

  /* Subsubmenú (nivel 2+) en desktop */
  .cj-sub .cj-has-sub { position: relative; }
  .cj-sub .cj-has-sub > .cj-sarrow {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
  }
  .cj-sub .cj-has-sub > .cj-sarrow svg {
    width: 16px; height: 16px; fill: currentColor;
  }
  .cj-sub .cj-has-sub > .cj-sub {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: 2px solid #e31a23;
    box-shadow: 4px 4px 12px rgba(0,0,0,.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(6px);
    transition: opacity .2s, transform .2s, visibility .2s;
    z-index: 10000;
  }
  .cj-sub .cj-has-sub > .cj-stog:checked ~ .cj-sub {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
}

/* ============================================================
   MOBILE (<1025px) — estilo PCComponentes canvas
   ============================================================ */
@media (max-width: 1024px) {

  /* Hamburger button */
  .cj-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 1100;
  }
  .cj-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
  }
  /* Hamburger → X cuando abierto */
  #cj-open:checked ~ .cj-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #cj-open:checked ~ .cj-burger span:nth-child(2) { opacity: 0; }
  #cj-open:checked ~ .cj-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Overlay oscuro */
  .cj-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
    z-index: 1099;
  }
  #cj-open:checked ~ .cj-overlay {
    opacity: 1;
    visibility: visible;
  }

  /* Panel lateral fijo */
  .cj-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: #fff;
    transform: translateX(-100%);
    transition: transform .3s ease;
    overflow: hidden;
    z-index: 1100;
    display: flex;
    flex-direction: column;
  }
  #cj-open:checked ~ .cj-panel {
    transform: translateX(0);
  }

  /* Botón cerrar (X) dentro del panel */
  .cj-close {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 12px 16px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
  }
  .cj-close:hover { color: #e31a23; }

  /* Menú principal (nivel 0) */
  .cj-menu {
    position: relative;
    width: 100%;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .cj-item { position: relative; border-bottom: 1px solid #f0f0f0; }

  .cj-item > a {
    display: block;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #222;
  }
  .cj-item > a:hover { color: #e31a23; }

  /* Flecha (label para el checkbox de submenú) */
  .cj-sarrow {
    position: absolute;
    right: 0;
    top: 0;
    width: 48px;
    height: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    border-left: 1px solid #f0f0f0;
  }
  .cj-sarrow svg { width: 20px; height: 20px; fill: currentColor; }
  .cj-sarrow:hover { background: #f5f5f5; color: #e31a23; }

  /* Submenú: panel que desliza desde la derecha */
  .cj-sub {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
    z-index: 10;
  }

  /* Activar submenú con checkbox */
  .cj-stog:checked ~ .cj-sub {
    transform: translateX(0);
  }

  /* Botón «Volver» dentro del submenú */
  .cj-back {
    border-bottom: 2px solid #e31a23;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
  }
  .cj-bk {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #e31a23;
    cursor: pointer;
  }
  .cj-bk svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
  .cj-bk:hover { background: #fff5f5; }

  /* Submenú nivel 2+ (anidado dentro de .cj-sub) */
  .cj-sub .cj-item { border-bottom: 1px solid #f5f5f5; }
  .cj-sub .cj-item > a { padding: 13px 16px; font-size: 13px; font-weight: 400; }

  /* Ocultar flechas del desktop en mobile */
  .cj-menu > .cj-has-sub > .cj-sarrow svg { transform: none !important; }
}
/* FIN CJ NAV */


/* — MCM Inspector 2026-03-28 15:34 — */
/* === CJ NAV v2 — Fix completo === */

/* --- Desktop v2 --- */
@media (min-width: 1025px) {
  .cj-nav { display: flex; align-items: center; }
  .cj-burger, .cj-overlay, .cj-close { display: none !important; }
  .cj-panel { position: static !important; transform: none !important;
    background: transparent !important; overflow: visible !important;
    width: auto !important; height: auto !important; }
  .cj-menu { display: flex !important; align-items: center !important; flex-wrap: wrap !important; }
  .cj-menu > .cj-item { position: relative !important; }
  .cj-menu > .cj-item > a {
    display: block; padding: 12px 14px; font-size: 14px; font-weight: 500;
    color: #333; white-space: nowrap; transition: color .2s; }
  .cj-menu > .cj-item > a:hover { color: #e31a23; }
  .cj-menu > .cj-has-sub > .cj-sarrow {
    display: inline-flex; align-items: center; cursor: pointer;
    padding: 12px 10px 12px 0; color: #999; vertical-align: middle; }
  .cj-menu > .cj-has-sub > .cj-sarrow svg {
    width: 16px; height: 16px; fill: currentColor; transform: rotate(90deg); transition: transform .2s; }
  .cj-menu > .cj-item > .cj-stog:checked ~ .cj-sarrow svg { transform: rotate(-90deg); }
  .cj-menu > .cj-item > .cj-sub {
    position: absolute !important; top: 100% !important; left: 0 !important;
    min-width: 220px; background: #fff;
    border: 1px solid #e8e8e8; border-top: 3px solid #e31a23;
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
    opacity: 0; visibility: hidden; transform: translateY(8px) !important;
    transition: opacity .2s, transform .2s, visibility .2s; z-index: 9999; }
  .cj-menu > .cj-item > .cj-stog:checked ~ .cj-sub {
    opacity: 1 !important; visibility: visible !important;
    transform: translateY(0) !important; }
  .cj-menu > .cj-item > .cj-sub .cj-back { display: none !important; }
  .cj-menu > .cj-item > .cj-sub .cj-item { border-bottom: 1px solid #f5f5f5; position: relative !important; }
  .cj-menu > .cj-item > .cj-sub .cj-item > a {
    display: block; padding: 10px 16px; font-size: 13px; color: #333;
    transition: background .15s, color .15s; white-space: nowrap; }
  .cj-menu > .cj-item > .cj-sub .cj-item > a:hover { background: #fafafa; color: #e31a23; }
  .cj-menu > .cj-item > .cj-sub .cj-has-sub > .cj-sarrow {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    display: flex; cursor: pointer; color: #bbb; }
  .cj-menu > .cj-item > .cj-sub .cj-has-sub > .cj-sarrow svg { width: 14px; height: 14px; fill: currentColor; }
  .cj-menu > .cj-item > .cj-sub .cj-has-sub > .cj-sub {
    position: absolute !important; top: 0 !important; left: 100% !important;
    min-width: 200px; background: #fff;
    border: 1px solid #e8e8e8; border-top: 3px solid #e31a23;
    box-shadow: 4px 4px 16px rgba(0,0,0,.1);
    opacity: 0; visibility: hidden; transform: translateX(8px) !important;
    transition: opacity .2s, transform .2s, visibility .2s; z-index: 10000; }
  .cj-menu > .cj-item > .cj-sub .cj-has-sub > .cj-stog:checked ~ .cj-sub {
    opacity: 1 !important; visibility: visible !important;
    transform: translateX(0) !important; }
}

/* --- Mobile v2 (bug fix + diseño PCComponentes) --- */
@media (max-width: 1024px) {

  /* Panel: fixed, clips subpaneles. overflow:hidden es clave */
  .cj-panel {
    position: fixed !important;
    top: 0 !important; left: 0 !important;
    width: 300px !important; max-width: 85vw !important;
    height: 100% !important;
    background: #fff !important;
    transform: translateX(-100%) !important;
    transition: transform .3s ease !important;
    overflow: hidden !important;
    z-index: 1100 !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 4px 0 24px rgba(0,0,0,.18) !important;
  }
  #cj-open:checked ~ .cj-panel {
    transform: translateX(0) !important;
  }

  /* Botón cerrar */
  .cj-close {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding: 0 16px !important;
    height: 52px !important;
    min-height: 52px !important;
    font-size: 26px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    color: #555 !important;
    background: #f8f8f8 !important;
    border-bottom: 1px solid #e8e8e8 !important;
    flex-shrink: 0 !important;
    z-index: 2 !important;
  }
  .cj-close:hover { color: #e31a23 !important; }

  /* Menú: scrollable */
  .cj-menu {
    flex: 1 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    position: relative !important;
  }

  /* *** BUG FIX: items sin position:relative para que .cj-sub apunte a .cj-panel *** */
  .cj-item {
    position: static !important;
    display: flex !important;
    align-items: stretch !important;
    border-bottom: 1px solid #f0f0f0 !important;
    min-height: 50px !important;
  }

  .cj-item > a {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    padding: 14px 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #222 !important;
    text-decoration: none !important;
  }
  .cj-item > a:hover { color: #e31a23 !important; }

  /* Flecha: flex item (NO position:absolute) */
  .cj-sarrow {
    position: static !important;
    flex: 0 0 50px !important;
    width: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    border-left: 1px solid #f0f0f0 !important;
    color: #aaa !important;
    transition: background .15s, color .15s !important;
  }
  .cj-sarrow:hover { background: #f5f5f5 !important; color: #e31a23 !important; }
  .cj-sarrow svg { width: 20px !important; height: 20px !important; fill: currentColor !important; }

  /* *** Submenú: cubre TODO el .cj-panel (se posiciona relativo a .cj-panel = fixed) *** */
  .cj-sub {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: #fff !important;
    transform: translateX(100%) !important;
    transition: transform .3s ease !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 10 !important;
  }
  .cj-sub .cj-sub { z-index: 20 !important; }
  .cj-sub .cj-sub .cj-sub { z-index: 30 !important; }

  /* Abrir submenú */
  .cj-stog:checked ~ .cj-sub {
    transform: translateX(0) !important;
  }

  /* Botón Volver */
  .cj-back {
    position: sticky !important;
    top: 0 !important;
    z-index: 1 !important;
    display: flex !important;
    background: #fff !important;
    border-bottom: 2px solid #e31a23 !important;
    flex-shrink: 0 !important;
  }
  .cj-bk {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 14px 16px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #e31a23 !important;
    cursor: pointer !important;
    width: 100% !important;
    letter-spacing: .01em !important;
  }
  .cj-bk:hover { background: #fff5f5 !important; }
  .cj-bk svg { width: 20px !important; height: 20px !important; fill: currentColor !important; flex-shrink: 0 !important; }

  /* Hamburger */
  .cj-burger {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 5px !important;
    width: 44px !important; height: 44px !important;
    padding: 10px !important;
    cursor: pointer !important;
    background: transparent !important;
  }
  .cj-burger span {
    display: block !important;
    width: 100% !important; height: 2px !important;
    background: #333 !important;
    border-radius: 2px !important;
    transition: transform .3s, opacity .3s !important;
  }
  #cj-open:checked ~ .cj-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg) !important; }
  #cj-open:checked ~ .cj-burger span:nth-child(2) { opacity: 0 !important; }
  #cj-open:checked ~ .cj-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg) !important; }

  /* Overlay */
  .cj-overlay {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,.5) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity .3s, visibility .3s !important;
    z-index: 1099 !important;
  }
  #cj-open:checked ~ .cj-overlay {
    opacity: 1 !important;
    visibility: visible !important;
  }
}
/* FIN CJ NAV v2 */

/* === FOOTER BACKGROUND OVERRIDE === */
/* Fix: .cj-menu en footer debe ser vertical, no flex (el nav usa flex global) */
.elementor-element-02bb4bf .cj-menu {
  display: block !important;
}
.elementor-element-02bb4bf .cj-menu li {
  display: block !important;
  margin-bottom: 6px;
}
.elementor-element-02bb4bf .cj-menu a {
  display: block;
  color: #CFCFCF;
  text-decoration: none;
  font-size: 15px;
}
.elementor-element-02bb4bf .cj-menu a:hover {
  color: white;
  text-decoration: underline;
}
.elementor-element-02bb4bf:not(.elementor-motion-effects-element-type-background),
.elementor-element-00fbd6c:not(.elementor-motion-effects-element-type-background),
.elementor-element-81fe7c5:not(.elementor-motion-effects-element-type-background) {
  background-color: #232323 !important;
}
.elementor-element-02bb4bf a {
  color: white !important;
}
/* === FIN FOOTER === */

/* === CJ CARD: fix botón hover === */
/* Shoptimizer añade un ::before blanco con transition que hace parpadear el botón.
   El CJ CARD ya tiene su propio estilo, desactivamos este overlay. */
ul.products li.product:not(.product-category)::before {
  display: none !important;
}
/* Asegurar z-index correcto para las acciones */
.cj-product-actions {
  z-index: 3 !important;
}
/* === FIN CJ CARD FIX === */

/* === CJ NAV FIXES === */
/* Desktop: flecha a la derecha del texto */
@media (min-width: 1025px) {
  .cj-menu > li.cj-has-sub { display: flex !important; align-items: center; }
  .cj-menu > li.cj-has-sub > a { display: flex !important; align-items: center; flex: 1 1 auto; }
  .cj-menu > li.cj-has-sub > .cj-sarrow { flex: 0 0 auto; padding: 8px 4px !important; }
}
/* Color rojo correcto */
.cj-close:hover, .cj-item > a:hover, .cj-sarrow:hover, .cj-bk,
.cj-menu > .cj-item > a:hover,
.cj-menu > .cj-item > .cj-sub .cj-item > a:hover { color: #A4112C !important; }
.cj-back { border-bottom-color: #A4112C !important; }
.cj-bk:hover { background: #fff0f0 !important; }
/* Mobile: "Menú" a la derecha del hamburguesa */
.cj-menu-text { display: none; }
@media (max-width: 1024px) {
  .cj-nav { display: flex !important; flex-direction: row !important; align-items: center !important; flex-wrap: nowrap !important; width: auto !important; }
  .cj-burger { flex: 0 0 auto !important; }
  .cj-menu-text { flex: 0 0 auto !important; display: block !important; font-size: 13px !important; font-weight: 600 !important; color: #333 !important; cursor: pointer !important; white-space: nowrap !important; line-height: 44px !important; padding-left: 5px !important; }
}

/* Mobile: submenús de segundo nivel en acordeón */
@media (max-width: 1024px) {
  .cj-sub .cj-item { flex-wrap: wrap !important; }
  .cj-sub .cj-sub {
    flex-basis: 100% !important;
    position: relative !important;
    transform: none !important;
    top: auto !important; left: auto !important;
    width: 100% !important; height: auto !important;
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease !important;
    z-index: 1 !important;
    background: #ffffff !important;
  }
  .cj-sub .cj-stog:checked ~ .cj-sub { max-height: 1000px !important; transform: none !important; }
  .cj-sub .cj-sub > .cj-back { display: none !important; }
  .cj-sub .cj-stog:checked ~ .cj-sarrow svg { transform: rotate(90deg); }
  .cj-sub .cj-sub .cj-item > a { padding-left: 16px !important; }
  .cj-sub .cj-sub .cj-item { border-bottom: none !important; }
}
/* Fuente 16px en todo el menú */
.cj-menu a, .cj-bk { font-size: 16px !important; }
/* Sin separadores en ningún nivel */
.cj-item { border-bottom: none !important; }
/* Color #A4112C en estado activo/checked */
.cj-stog:checked ~ a, .cj-stog:checked ~ .cj-sarrow { color: #A4112C !important; }
/* Desktop: borde superior submenús #A4112C + hover correcto */
@media (min-width: 1025px) {
  .cj-sub { border-top-color: #A4112C !important; }
  .cj-menu > .cj-item > .cj-sub .cj-item > a:hover { color: #A4112C !important; }
  .cj-menu > .cj-item > .cj-sub .cj-item { border-bottom: none !important; }
}
/* Mobile CSS-only: toda la fila abre submenu sin JS (::before cubre el texto) */
@media (max-width: 1024px) {
  .cj-item.cj-has-sub > a { pointer-events: none !important; }
  .cj-item.cj-has-sub > .cj-sarrow { position: relative !important; }
  .cj-item.cj-has-sub > .cj-sarrow::before { content: '' !important; position: absolute !important; top: 0 !important; right: 0 !important; bottom: 0 !important; left: -9999px !important; }
  .cj-sub .cj-item { border-bottom: none !important; }
}
/* Sin línea vertical en sarrow (móvil) */
.cj-sarrow { border-left: none !important; border: none !important; }
/* Desktop: sin rayas en submenú (refuerzo) */
@media (min-width: 1025px) {
  .cj-nav .cj-sub .cj-item { border-bottom: none !important; border-top: none !important; }
}
/* Desktop: quitar border-bottom del <a> en submenús */
@media (min-width: 1025px) {
  .cj-menu > .cj-item > .cj-sub .cj-item > a { border-bottom: none !important; border-top: none !important; }
}
/* Desktop CSS-only: texto + icono abren submenú (sarrow como overlay de toda la fila) */
@media (min-width: 1025px) {
  .cj-item.cj-has-sub > a { pointer-events: none !important; padding-right: 32px !important; }
  .cj-item.cj-has-sub > .cj-sarrow {
    position: absolute !important;
    top: 0 !important; bottom: 0 !important; left: 0 !important; right: 0 !important;
    width: auto !important; height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding-right: 10px !important;
    z-index: 2 !important;
    background: transparent !important;
    transform: none !important;
  }
}
/* Desktop: hover en items con submenú (sarrow es overlay, :hover va al li) */
@media (min-width: 1025px) {
  .cj-sub .cj-item.cj-has-sub:hover > a {
    background: #fafafa !important;
    color: #A4112C !important;
  }
}
/* Cursor pointer en enlaces ofuscados (sin href) */
.cj-nav a[data-href] { cursor: pointer; }
/* === FIN CJ NAV FIXES === */