/*
Theme Name: Juan22crol_wp
Theme URI: https://example.com/
Description: Tema hijo de Hello Elementor.
Author: Jjuarez
Author URI: https://example.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* Aquí puedes agregar tus estilos personalizados */
/* Estilos para el slider */
.upsell-slider {
    width: 100%;
    margin-top: 20px;
}

.swiper-slide {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
}

.swiper-button-next, .swiper-button-prev {
    color: #000; /* Cambia el color de los controles */
}

/* Asegúrate de que los productos dentro del slider se vean bien */
.upsell-slider .product {
    padding: 10px;
}

.swiper-slide h2{
	font-family: 'Serotiva', sans-serif;
	font-weight: bold;
	font-size: 14px;
	color: black;
}





.subcat-grid {
  display: grid;
  justify-content: center; /* Centra horizontalmente */
  gap: 11px;
  padding: 0;
  margin: 0 auto;
}

.subcat-grid.columns-1 { grid-template-columns: repeat(1, 1fr); }
.subcat-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.subcat-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.subcat-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }
.subcat-grid.columns-5 { grid-template-columns: repeat(5, 1fr); }
.subcat-grid.columns-6 { grid-template-columns: repeat(6, 1fr); }
.subcat-grid.columns-7 { grid-template-columns: repeat(7, 1fr); }
.subcat-grid.columns-8 { grid-template-columns: repeat(8, 1fr); }

.subcategory {
  text-align: center;
  max-width: 127px;
}

.subcategory img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.subcategory h4 {
  color: black;
  font-family: 'Serotiva', sans-serif;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
	text-align:left !important;
}

/* ========= Responsive ========= */
@media (max-width: 768px){
  .subcat-grid{
    width: 80%;
    grid-template-columns: repeat(4, 1fr) !important;
  }
	
	.subcategory img{
		width: 60px;
	}
}






/*#jj-container {
  position: relative;
  padding: 20px;
  background-color: #f0f0f0;
  width: 200px;
}*/

#jj-button {
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; /* para evitar que sea clickeable cuando esté oculto */
}

#jj-container:hover #jj-button {
  opacity: 1;
  pointer-events: auto;
}

/* ========= En móvil siempre visible ========= */
@media (max-width: 768px) {
  #jj-button {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* Opcional: anulamos la regla de hover */
  #jj-container:hover #jj-button {
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}



/* FORMULARIO PERSONALIZAR CARRITO */
/* Estilo para los inputs de selección múltiple */
.multi-select-option {
    display: inline-block;
    width: 120px;
    margin: 10px;
    text-align: center;
}

.multi-card {
    padding: 15px;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.multi-card:hover {
    background-color: #e0e0e0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.multi-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-bottom: 10px;
}

.multi-option input[type="checkbox"] {
    display: none; /* Ocultar el checkbox por defecto */
}

.multi-option input[type="checkbox"]:checked + .multi-card {
    background-color: #00bfae;
    color: white;
}

.multi-option p {
    margin-top: 5px;
    font-weight: bold;
}

select, input[type="checkbox"] {
    font-size: 16px;
}



/* ========= PORTADAS POR IDIOMA (clase O data-id) ========= */

/* helper para no repetir: selecciona por clase o data-id */
:root {}

/* ===== 125906e ===== */
html[lang^="en"] .elementor :is(.elementor-element-125906e,[data-id="125906e"]):not(:hover):not(.elementor-motion-effects-element-type-background),
html[lang^="en"] .elementor :is(.elementor-element-125906e,[data-id="125906e"]):not(:hover) > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image:url('https://todocarritos.com/wp-content/uploads/2025/10/1_gb.webp') !important; }

html[lang^="de"] .elementor :is(.elementor-element-125906e,[data-id="125906e"]):not(:hover):not(.elementor-motion-effects-element-type-background),
html[lang^="de"] .elementor :is(.elementor-element-125906e,[data-id="125906e"]):not(:hover) > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image:url('https://todocarritos.com/wp-content/uploads/2025/10/1_de.webp') !important; }

html[lang^="it"] .elementor :is(.elementor-element-125906e,[data-id="125906e"]):not(:hover):not(.elementor-motion-effects-element-type-background),
html[lang^="it"] .elementor :is(.elementor-element-125906e,[data-id="125906e"]):not(:hover) > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image:url('https://todocarritos.com/wp-content/uploads/2025/10/1_it.webp') !important; }

html[lang^="pt"] .elementor :is(.elementor-element-125906e,[data-id="125906e"]):not(:hover):not(.elementor-motion-effects-element-type-background),
html[lang^="pt"] .elementor :is(.elementor-element-125906e,[data-id="125906e"]):not(:hover) > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image:url('https://todocarritos.com/wp-content/uploads/2025/10/1_pt.webp') !important; }

/* ===== 0a6b7d8 ===== */
html[lang^="en"] .elementor :is(.elementor-element-0a6b7d8,[data-id="0a6b7d8"]):not(:hover):not(.elementor-motion-effects-element-type-background),
html[lang^="en"] .elementor :is(.elementor-element-0a6b7d8,[data-id="0a6b7d8"]):not(:hover) > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image:url('https://todocarritos.com/wp-content/uploads/2025/10/2_gb.webp') !important; }

html[lang^="de"] .elementor :is(.elementor-element-0a6b7d8,[data-id="0a6b7d8"]):not(:hover):not(.elementor-motion-effects-element-type-background),
html[lang^="de"] .elementor :is(.elementor-element-0a6b7d8,[data-id="0a6b7d8"]):not(:hover) > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image:url('https://todocarritos.com/wp-content/uploads/2025/10/2_de.webp') !important; }

html[lang^="it"] .elementor :is(.elementor-element-0a6b7d8,[data-id="0a6b7d8"]):not(:hover):not(.elementor-motion-effects-element-type-background),
html[lang^="it"] .elementor :is(.elementor-element-0a6b7d8,[data-id="0a6b7d8"]):not(:hover) > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image:url('https://todocarritos.com/wp-content/uploads/2025/10/2_it.webp') !important; }

html[lang^="pt"] .elementor :is(.elementor-element-0a6b7d8,[data-id="0a6b7d8"]):not(:hover):not(.elementor-motion-effects-element-type-background),
html[lang^="pt"] .elementor :is(.elementor-element-0a6b7d8,[data-id="0a6b7d8"]):not(:hover) > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image:url('https://todocarritos.com/wp-content/uploads/2025/10/2_pt.webp') !important; }

/* ===== 489dab0 ===== */
html[lang^="en"] .elementor :is(.elementor-element-489dab0,[data-id="489dab0"]):not(:hover):not(.elementor-motion-effects-element-type-background),
html[lang^="en"] .elementor :is(.elementor-element-489dab0,[data-id="489dab0"]):not(:hover) > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image:url('https://todocarritos.com/wp-content/uploads/2025/10/3_gb.webp') !important; }

html[lang^="de"] .elementor :is(.elementor-element-489dab0,[data-id="489dab0"]):not(:hover):not(.elementor-motion-effects-element-type-background),
html[lang^="de"] .elementor :is(.elementor-element-489dab0,[data-id="489dab0"]):not(:hover) > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image:url('https://todocarritos.com/wp-content/uploads/2025/10/3_de.webp') !important; }

html[lang^="it"] .elementor :is(.elementor-element-489dab0,[data-id="489dab0"]):not(:hover):not(.elementor-motion-effects-element-type-background),
html[lang^="it"] .elementor :is(.elementor-element-489dab0,[data-id="489dab0"]):not(:hover) > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image:url('https://todocarritos.com/wp-content/uploads/2025/10/3_it.webp') !important; }

html[lang^="pt"] .elementor :is(.elementor-element-489dab0,[data-id="489dab0"]):not(:hover):not(.elementor-motion-effects-element-type-background),
html[lang^="pt"] .elementor :is(.elementor-element-489dab0,[data-id="489dab0"]):not(:hover) > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image:url('https://todocarritos.com/wp-content/uploads/2025/10/3_pt.webp') !important; }

/* ===== f0a7901 ===== */
html[lang^="en"] .elementor :is(.elementor-element-f0a7901,[data-id="f0a7901"]):not(:hover):not(.elementor-motion-effects-element-type-background),
html[lang^="en"] .elementor :is(.elementor-element-f0a7901,[data-id="f0a7901"]):not(:hover) > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image:url('https://todocarritos.com/wp-content/uploads/2025/10/4_gb.webp') !important; }

html[lang^="de"] .elementor :is(.elementor-element-f0a7901,[data-id="f0a7901"]):not(:hover):not(.elementor-motion-effects-element-type-background),
html[lang^="de"] .elementor :is(.elementor-element-f0a7901,[data-id="f0a7901"]):not(:hover) > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image:url('https://todocarritos.com/wp-content/uploads/2025/10/4_de.webp') !important; }

html[lang^="it"] .elementor :is(.elementor-element-f0a7901,[data-id="f0a7901"]):not(:hover):not(.elementor-motion-effects-element-type-background),
html[lang^="it"] .elementor :is(.elementor-element-f0a7901,[data-id="f0a7901"]):not(:hover) > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image:url('https://todocarritos.com/wp-content/uploads/2025/10/4_it.webp') !important; }

html[lang^="pt"] .elementor :is(.elementor-element-f0a7901,[data-id="f0a7901"]):not(:hover):not(.elementor-motion-effects-element-type-background),
html[lang^="pt"] .elementor :is(.elementor-element-f0a7901,[data-id="f0a7901"]):not(:hover) > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image:url('https://todocarritos.com/wp-content/uploads/2025/10/4_pt.webp') !important; }

/* ===== 8c0d714 ===== */
html[lang^="en"] .elementor :is(.elementor-element-8c0d714,[data-id="8c0d714"]):not(:hover):not(.elementor-motion-effects-element-type-background),
html[lang^="en"] .elementor :is(.elementor-element-8c0d714,[data-id="8c0d714"]):not(:hover) > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image:url('https://todocarritos.com/wp-content/uploads/2025/10/5_gb.webp') !important; }

html[lang^="de"] .elementor :is(.elementor-element-8c0d714,[data-id="8c0d714"]):not(:hover):not(.elementor-motion-effects-element-type-background),
html[lang^="de"] .elementor :is(.elementor-element-8c0d714,[data-id="8c0d714"]):not(:hover) > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image:url('https://todocarritos.com/wp-content/uploads/2025/10/5_de.webp') !important; }

html[lang^="it"] .elementor :is(.elementor-element-8c0d714,[data-id="8c0d714"]):not(:hover):not(.elementor-motion-effects-element-type-background),
html[lang^="it"] .elementor :is(.elementor-element-8c0d714,[data-id="8c0d714"]):not(:hover) > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image:url('https://todocarritos.com/wp-content/uploads/2025/10/5_it.webp') !important; }

html[lang^="pt"] .elementor :is(.elementor-element-8c0d714,[data-id="8c0d714"]):not(:hover):not(.elementor-motion-effects-element-type-background),
html[lang^="pt"] .elementor :is(.elementor-element-8c0d714,[data-id="8c0d714"]):not(:hover) > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image:url('https://todocarritos.com/wp-content/uploads/2025/10/5_pt.webp') !important; }

/* ===== 388cd32 ===== */
html[lang^="en"] .elementor :is(.elementor-element-388cd32,[data-id="388cd32"]):not(:hover):not(.elementor-motion-effects-element-type-background),
html[lang^="en"] .elementor :is(.elementor-element-388cd32,[data-id="388cd32"]):not(:hover) > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image:url('https://todocarritos.com/wp-content/uploads/2025/10/6_gb.webp') !important; }

html[lang^="de"] .elementor :is(.elementor-element-388cd32,[data-id="388cd32"]):not(:hover):not(.elementor-motion-effects-element-type-background),
html[lang^="de"] .elementor :is(.elementor-element-388cd32,[data-id="388cd32"]):not(:hover) > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image:url('https://todocarritos.com/wp-content/uploads/2025/10/6_de.webp') !important; }

html[lang^="it"] .elementor :is(.elementor-element-388cd32,[data-id="388cd32"]):not(:hover):not(.elementor-motion-effects-element-type-background),
html[lang^="it"] .elementor :is(.elementor-element-388cd32,[data-id="388cd32"]):not(:hover) > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image:url('https://todocarritos.com/wp-content/uploads/2025/10/6_it.webp') !important; }

html[lang^="pt"] .elementor :is(.elementor-element-388cd32,[data-id="388cd32"]):not(:hover):not(.elementor-motion-effects-element-type-background),
html[lang^="pt"] .elementor :is(.elementor-element-388cd32,[data-id="388cd32"]):not(:hover) > .elementor-motion-effects-container > .elementor-motion-effects-layer { background-image:url('https://todocarritos.com/wp-content/uploads/2025/10/6_pt.webp') !important; }

/* ========= HOVER GLOBAL DEL BLOQUE 0a6b7d8 (misma capa) ========= */
.elementor :is(.elementor-element-0a6b7d8,[data-id="0a6b7d8"]):hover > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: url('https://todocarritos.com/wp-content/uploads/2025/09/rueda.webp') !important;
}

.wc-block-components-product-name{
	color: black;
}
