.buscador-wp.inactive i.fas.fa-search {
	cursor: pointer;
}

.buscador-wp.inactive input {
	border: none;
	width: 0;
}

.buscador-wp.inactive .e-search-submit {
	display: none !important;
}

.buscador-wp .fa-search:before {
    margin-left: 3px;
}

.eael-woo-product-carousel-container.preset-3 .eael-product-carousel .eael-product-price {
  color: #647163 !important;
}

.eael-woo-product-carousel-container.preset-3 .swiper-pagination .swiper-pagination-bullet-active {
  background: #647163 !important;
}

/* El contenedor del producto debe ser relativo para poder posicionar el badge */
.woocommerce ul.products li.product {
    position: relative;
}

/* Badge "Sin stock" */
.woocommerce ul.products li.product .nc-outofstock-badge {
    position: absolute;
    left: 0;
    right: 0;
    /* Ajusta este bottom para que coincida con la parte baja de la imagen */
    bottom: 35%; /* prueba 30–40% según el alto de tu imagen */
    
    padding: 0.7em 1em;
    background: #647163; /* verde translúcido similar al ejemplo */
    color: #fff;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: none; /* pon uppercase si quieres mayúsculas */
    z-index: 5;
    pointer-events: none; /* para no bloquear el click al producto */
}

/* Opcional: bordes redondeados para que encaje con la tarjeta */
.woocommerce ul.products li.product {
    overflow: hidden;
    border-radius: 12px; /* ajusta al diseño de tu tarjeta */
}

.iconos-ceras-vegetales img {
  max-width: 100px !important;
}

#pa_color, #pa_olor {
  display: none;
}

.colores-desplegables, .olores-desplegables {
  width: 100%;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.variations td, .variations th {
  background-color: transparent !important;
}

.iconos-ceras-vegetales {
  display: flex;
  justify-content: center;
  flex-basis: auto;
  justify-content: space-around;
  background-color: #bfdec64d;
  padding: 15px;
  margin-top: 15px;
  border-radius: 6px;
}

.pkkMain {
  color: #d63638;
}

/* contenedor general */
.acordeon-producto {
  overflow: hidden;
  margin: 1rem 0;
}

/* separación entre items */
.acordeon-producto .accordion-item + .accordion-item {
  margin-top: 15px;
}

/* resumen (la “cabecera”) */
.acordeon-producto .accordion-header {
  padding: 1rem;
  margin: 0;
  cursor: pointer;
  color: #647163;
  font-family: "Raleway", Sans-serif;
  font-size: 18px;
  font-weight: 700;
  background: rgba(191, 222, 198, 0.35);
  position: relative;
  list-style: none; /* elimina marcador por defecto */
  border-radius: 6px;
}

.acordeon-producto .accordion-header h2 {
  font-family: "Raleway", Sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0 !important;
}

/* ocultamos el marker nativo */
.acordeon-producto .accordion-item summary::-webkit-details-marker {
  display: none;
}

/* “+” al final de cada summary */
.acordeon-producto .accordion-header::after {
  content: url("/wp-content/uploads/2025/04/flecha-abajo.svg");
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s;
}

/* al abrir, cambiamos el signo */
.acordeon-producto .accordion-item[open] .accordion-header::after {
  content: url("/wp-content/uploads/2025/04/flecha-arriba.svg");
}
.acordeon-producto .accordion-item[open] .accordion-header {
  border-radius: 6px 6px 0 0;
}

/* cuerpo colapsable */
.acordeon-producto .accordion-body {
  color: #25272c !important;
  background-color: rgba(191, 222, 198, 0.35) !important;
  font-family: "Raleway", Sans-serif;
  font-size: 16px;
  font-style: normal;
  padding: 1rem;
  background: #fff;
  line-height: 1.5;
  border-radius: 0 0 6px 6px;
}

.acordeon-producto hr {
  display: none;
}

#anadir-carrito-2025 select.qty {
  display: none;
}

#anadir-carrito-2025 .variations {
  display: none;
}
 
body.postid-32544 #anadir-carrito-2025 .variations,
body.postid-38787 #anadir-carrito-2025 .variations {
  display: block !important;
}

body.postid-32544 #texto-tamano,
body.postid-32544 .contactoFicha,
body.postid-38787 #texto-tamano,
body.postid-38787 .contactoFicha {
  display: none !important;
}

#anadir-carrito-2025 .variations:has(#pa_olor) {
  display: block;
}

#anadir-carrito-2025 .input-text.qty {
  display: none;
}

#ficha-2025 .woocommerce-variation-availability {
  display: none;
}

#ficha-2025 .elementor-widget-woocommerce-product-price {
  display: none;
}

#ficha-2025:has(#pa_olor) .elementor-widget-woocommerce-product-price {
  display: block;
}

/*#ficha-2025 .woocommerce-Price-amount {
    display: none;
  }*/

#ficha-2025 .price {
  color: #535353;
  font-family: montserrat, Sans-serif;
  font-size: 30px;
  line-height: 25px;
  font-weight: 600;
  margin-top: 10px;
}

#ficha-2025 .price .precio-sufijo,
#ficha-2025 .woocommerce-price-suffix {
  font-size: 18px;
  line-height: 23px;
  font-weight: 300;
}

#ficha-2025:not(:has(.quantity)) #texto-tamano,
#ficha-2025:has(.elementor-add-to-cart.elementor-product-simple) #texto-tamano,
#ficha-2025:has(#pa_olor) #texto-tamano {
  display: none;
}

#ficha-2025:has(#pa_olor) .contactoFicha {
  display: none;
}

#texto-peso {
  display: none;
}

.tamanos-desplegables-item {
  border-radius: 30px;
  border: 1px solid #647163;
  padding: 10px 30px;
  justify-content: center;
  align-items: center;
  color: #647163;
  font-family: "Montserrat", Sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  cursor: pointer;
}

.tamanos-desplegables-item:hover,
.tamanos-desplegables-item.active {
  background: #99af97;
  color: #fff;
}

.counter {
  display: inline-flex;
  align-items: center;
  border: 2px solid #6e7c6e;
  border-radius: 50px;
  padding: 5px 15px;
  font-family: sans-serif;
  user-select: none;
}
.counter a {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #999;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  transition: color 0.2s;
}
.counter a:hover {
  color: #6e7c6e;
}
.counter .counter-qty {
  width: 50px;
  text-align: center;
  font-size: 1rem;
  color: #6e7c6e;
  margin: 0 10px;
  border: none;
}

.woocommerce-checkout .e-woocommerce-login-anchor {
  display: block !important;
}

#categorias-2025 .radio-group {
  padding: 16px;
  border-radius: 6px;
  display: inline-block;
}

#categorias-2025 .radio-group label {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  cursor: pointer;
  user-select: none;
}

#categorias-2025 .radio-group label:last-child {
  margin-bottom: 0;
}

#categorias-2025 .radio-group input[type="radio"] {
  display: none;
}

#categorias-2025 .custom-radio {
  width: 18px;
  height: 18px;
  border: 2px solid #bfc8bc; /* gris claro */
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
  flex-shrink: 0;
}

/* círculo interior cuando está seleccionado */
#categorias-2025 .custom-radio::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s ease-in-out;
  background-color: #6a8f3e; /* verde */
}

#categorias-2025 input[type="radio"]:checked + .custom-radio {
  border-color: #6a8f3e;
}

#categorias-2025 input[type="radio"]:checked + .custom-radio::after {
  transform: translate(-50%, -50%) scale(1);
}

#categorias-2025 .label-text,
#categorias-2025 .label-text h1 {
  font-family: "Raleway", Sans-serif;
  font-size: 14px;
  color: #484848;
  transition: color 0.2s;
  margin: 0 !important;
}

#categorias-2025 input[type="radio"]:checked ~ .label-text {
  font-weight: 600;
  color: #2e2e2e;
}

.titulo-categorias {
  color: #484848;
  font-family: "Raleway", Sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 0;
}

.mt20 {
  margin-top: 20px;
}

.cross-sells ul {
  list-style-type: none;
}

li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--payment-methods {
  display: none !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-EditAccountForm .button, .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-address-fields .button
{
  background-color: #5A725C !important;
  border-color: #5A725C !important;
  color: #ffffff !important;
}

@media screen and (max-width: 768px) {
  .iconos-ceras-vegetales img {
    max-width: 50px !important;
  }

  .acordeon-producto .accordion-header {
    padding: 1rem 3rem 1rem 1rem;
  }

  :is(
      .elementor-widget-woocommerce-product-add-to-cart,
      .woocommerce
        div.product
        .elementor-widget-woocommerce-product-add-to-cart,
      .elementor-widget-wc-add-to-cart,
      .woocommerce div.product .elementor-widget-wc-add-to-cart
    )
    form.cart.variations_form
    .woocommerce-variation-add-to-cart,
  :is(
      .elementor-widget-woocommerce-product-add-to-cart,
      .woocommerce
        div.product
        .elementor-widget-woocommerce-product-add-to-cart,
      .elementor-widget-wc-add-to-cart,
      .woocommerce div.product .elementor-widget-wc-add-to-cart
    )
    form.cart:not(.grouped_form):not(.variations_form) {
    display: flex;
    flex-direction: column;
  }

  :is(
      .elementor-widget-woocommerce-product-add-to-cart,
      .woocommerce
        div.product
        .elementor-widget-woocommerce-product-add-to-cart,
      .elementor-widget-wc-add-to-cart,
      .woocommerce div.product .elementor-widget-wc-add-to-cart
    )
    form.cart
    .button:where(:not(:first-child)),
  :is(
      .elementor-widget-woocommerce-product-add-to-cart,
      .woocommerce
        div.product
        .elementor-widget-woocommerce-product-add-to-cart,
      .elementor-widget-wc-add-to-cart,
      .woocommerce div.product .elementor-widget-wc-add-to-cart
    )
    form.cart
    button:where(:not(:first-child)) {
    margin-left: 0 !important;
    margin-top: 10px !important;
  }
}
