.elementor-9245 .elementor-element.elementor-element-c12644b{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}@media(max-width:767px){.elementor-9245 .elementor-element.elementor-element-c12644b{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-9245 .elementor-element.elementor-element-89e91a8 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}}/* Start custom CSS *//* CONTENEDOR GENERAL */
.custom-product-card {
  position: relative;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.6s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px; /* separación entre productos */
}

.custom-product-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* IMAGEN PRINCIPAL CON HOVER */
.custom-image {
  position: relative; /* NECESARIO para posicionar la segunda imagen encima */
  width: 100%;
  height: 400px;
  background-color: #f9f9f9;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.custom-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Imagen principal */
.custom-image .main-product-image {
  position: relative;
  z-index: 1;
  transition: opacity 0.6s ease;
}

/* Segunda imagen (hover) */
.custom-image .hover-product-image {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* Mostrar segunda imagen al pasar el cursor */
.custom-image:hover .hover-product-image {
  opacity: 1;
}

.custom-image:hover .main-product-image {
  opacity: 0;
}

/* MINIATURAS */
.custom-gallery {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
  min-height: 50px;
  padding-bottom: 20px !important;
}

.custom-gallery img {
  width: 35px;
  height: 35px;
  object-fit: cover;
  border: 1px solid #ccc;
  border-radius: 50%;
  transition: transform 0.2s ease;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.custom-gallery img:hover {
  transform: scale(1.1);
}

/* TÍTULO */
.custom-header {
  font-family: "Times New Roman", serif !important;
  font-size: 17.5px !important;
  text-align: center;
  text-transform: uppercase;
  margin-top: 12px;
  padding: 0 12px;
}

/* PRECIO */
.custom-price {
  font-family: 'Aboreto', cursive;
  font-size: 15px;
  font-weight: bold;
  color: #222;
  margin: 10px 0 16px;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .custom-header {
    font-size: 16.5px !important; /* tamaño más pequeño para el título en móviles */
  }

  .custom-price {
    font-size: 14px !important; 
}
  }

/* BOTONES */
/* Contenedor de los botones */
.custom-button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0px;
  width: 100%;
  margin-top: 12px;
  padding: 0 0px;
}

/* Estilos generales para ambos botones */
.custom-button-group .custom-button,
.custom-button-group form {
  flex: 1 1 48%;
  display: flex;
  font-family: "Times New Roman", Times, serif;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 6px;
  color: #333;
  font-size: 15px !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Estilo específico para el botón dentro del <form> */
.custom-button-group form button {
  all: unset;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

/* Iconos */
.custom-button-group .custom-button i,
.custom-button-group form button i {
  margin-left: 10px;
  font-size: 16px;
}

/* Hover */
.custom-button:hover {
  color: #000;
  font-family: "Times New Roman", Times, serif !important;
}

/* Responsivo: en celular siguen uno al lado del otro */
@media (max-width: 480px) {
  .custom-button-group .custom-button,
  .custom-button-group form {
      margin-top: -15px;
    flex: 1 1 48%;
  }
}


/* WISHLIST */
.wishlist-icon {
  position: absolute;
  top: 10px;
  right: 10px;
}

.heart-icon {
  width: 24px;
  height: 24px;
  fill: rgba(215, 215, 215, 1);
  transition: fill 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.heart-icon.filled {
  fill: red;
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
  .custom-image {
    height: 280px;
  }

  .custom-header {
    font-size: 18px;
  }

  .custom-price {
    font-size: 20px;
  }

  .custom-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .custom-buttons .button {
    max-width: 100%;
    width: 100%;
    font-size: 12px;
    padding: 10px;
    gap: 8px;
  }
}

@media screen and (min-width: 360px) {
  .custom-buttons .button {
    margin-top: 0px !important;
  }
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: none; /* Opcional: quita fondo predeterminado */
  padding-right: 20px; /* Para que el texto no se corte */
}

/* Para todos los select */
select:focus {
  outline: none;
}

/* O solo para un filtro específico */
.woof-price-filter select:focus {
  outline: none;
}

.custom-product-card {
  position: relative;
}

/* Contenedor FLEX que agrupa Compare y Wishlist */
.custom-wishlist-compare {
  z-index: 5;
  display: flex;
  flex-direction: row; /* En línea, Compare a la izquierda */
  gap: 8px;
}



.custom-compare-button .woosc-btn:hover {
  color: #666;
}

.custom-compare-button .woosc-btn .woosc-text {
  display: none !important;
}

.custom-compare-button .woosc-btn::before,
.custom-compare-button .woosc-btn::after {
  content: none !important;
}

/* Ocultar texto del botón Compare, deja solo ícono */
.custom-compare-button .woosc-btn .woosc-text {
  display: none !important;
}

/* Ocultar texto del botón Wishlist, deja solo ícono */
.custom-wishlist-button .woosw-btn .woosw-text {
  display: none !important;
}

/* Si usan ::before o ::after para meter texto extra, quítalo también */
.custom-compare-button .woosc-btn::before,
.custom-compare-button .woosc-btn::after,
.custom-wishlist-button .woosw-btn::before,
.custom-wishlist-button .woosw-btn::after {
  content: none !important;
}


/* Contenedor FLEX que agrupa Compare y Wishlist */
.custom-wishlist-compare {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 5;
  display: flex;
  flex-direction: row; /* En línea, Compare a la izquierda */
  gap: 8px;
}

/* === Compare === */
.custom-compare-button .woosc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 100%;
  width: 15px;
  height: 30px;
  font-size: 15px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.custom-compare-button .woosc-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
}

.custom-compare-button .woosc-btn .woosc-text {
  display: none !important;
}

.custom-compare-button .woosc-btn::before,
.custom-compare-button .woosc-btn::after {
  content: none !important;
}

/* === Wishlist === */
.custom-wishlist-button .woosw-btn {
 display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 100%;
  width: 15px;
  height: 30px;
  font-size: 15px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.custom-wishlist-button .woosw-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
}

.custom-wishlist-button .woosw-btn .woosw-text {
  display: none !important;
}

.custom-wishlist-button .woosw-btn::before,
.custom-wishlist-button .woosw-btn::after {
  content: none !important;
}

/* Precio anterior tachado */
.custom-price del {
  color: #888 !important;
  font-size: 14px !important;
  margin-right: 6px;
  display: inline-block;
  vertical-align: super !important;   /* Más arriba */
}

.custom-price ins {
  color: red !important;
  font-weight: bold !important;
  font-size: 20px !important;
  text-decoration: none !important;
}

.woosq-btn {
  display: inline-block;
  font-family: 'Times New Roman', serif !important;
  font-size: 15px !important;
  text-align: center !important;
  color: inherit !important;              /* hereda color de texto */
  background: none !important;
  border: none !important;
  text-decoration: none !important;
  padding: 0 !important;                  /* igual que tu enlace de variedades */
  margin-left: 0px !important;   
  margin-right:50px !important;/* separación respecto al primer botón */
  vertical-align: middle !important;
}

/* 2) Asegura que el icono tome el mismo tamaño y color */
.woosq-btn i {
  margin-left: 4px;
  font-size: 1em;
  line-height: 1;
  color: currentColor;
}

/* 3) Opcional: efecto hover igual que tu enlace */
.woosq-btn:hover {
  color: #000;    /* o el color que uses en hover de tu tema */
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .woosq-btn {
    display: block !important;   /* Para que respete el centrado */
    text-align: center !important;
    margin: 0 auto !important;   /* Lo centra en su contenedor */
    font-size: 15px !important;  /* Un poquito más pequeño en móvil */
    padding: 6px 10px !important;
  }
}

/* Cambiar tipografía de todo el WBW Filter */
.wpfFilterWrapper {
    font-family: "Times New Roman", Times, serif !important;
}


.custom-product-card {
  position: relative;
  overflow: hidden; /* por si la tarjeta tiene bordes redondeados */
}

/* Banda superior full-width -20% */
.V20{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 36px;                    /* alto de la franja */
  background: #FF0000;             /* rojo de la banda */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;          /* centra el “-20%” */
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  letter-spacing: .5px;
  text-transform: none;             /* o uppercase si prefieres */
  z-index: 5;
  pointer-events: none;             /* no bloquea clics en la tarjeta */
  /* Si tu tarjeta tiene bordes redondeados: */
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}/* End custom CSS */