/* Calculadora de btu */
.title-calcula-btu {
  color: #08ec8c;
  margin: 0;
  margin-bottom: 1em;
  padding: 0;
  border: none;
  font: inherit;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.5;
}

/*ESTILO DE LOS METODOS DE PAGIN INDEX, CATEGOR�0�1AS*/
.precios-adicionales {
  max-height: 500px;
  margin: 0 auto;
  border-radius: 15px;
}

.regular-price {
  text-align: center;
  margin-bottom: 25px;
  color: #888;
  font-size: 16px;
}

.regular-price span {
  text-decoration: line-through;
}

.precio-unificado,
.precio-empresa-oferta,
.precio-credito,
.precio-efectivo {
  gap: 15px;
  padding-left: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0px;
  transition: all 0.3s ease;
  border-radius: 10px;
}

.precio-unificado {
  border-left: 4px solid gray;
}

.precio-empresa-oferta {
  border-left: 4px solid #3b82f6;
}

.precio-credito {
  border-left: 4px solid #fbbf24;
}

.precio-efectivo {
  border-left: 4px solid #10b981;
}

.precio-empresa-oferta img,
.precio-credito img,
.precio-efectivo img {
  width: 90px;
  height: auto;
  object-fit: contain;
}

.precio-empresa-oferta strong,
.precio-credito strong,
.precio-efectivo strong {
  font-size: 15px;
  font-weight: bold;
}

.precio-empresa-oferta strong {
  color: #60a5fa;
}

.precio-credito.neon-amarillo strong {
  color: #fbbf24;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.precio-efectivo.neon-verde strong {
  color: #10b981;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

@media (max-width: 480px) {
  .payment-container {
    padding: 20px;
  }

  .precio-empresa-oferta img,
  .precio-credito img,
  .precio-efectivo img {
    width: 80px;
  }

  .precio-empresa-oferta strong,
  .precio-credito strong,
  .precio-efectivo strong {
    font-size: 15px;
  }
}

/*-----------------------------*/

.popup-content-calcula-btu {
  padding: 20px;
  background: #000;
  color: #fff;
  border: 1px solid #08ec8c;
  border-radius: 10px;
}

.input-calcula-btu {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #525050;
  background-color: #121212;
  color: #fff;
  border-radius: 5px;
}

.btn-calcula-btu {
  padding: 10px 20px;
  background-color: #08ec8c;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-calcula-btu:hover {
  background-color: #06bf72;
}

.result-calcula-btu,
.sugerencia-calcula-btu {
  margin-top: 15px;
}

/* Boton de compartir */
.BtnShare {
  width: 140px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #003306 !important;
  overflow: hidden;
  cursor: pointer;
  background-color: transparent;
  font-weight: bold;
  position: relative;
  color: var(--color-nu) !important;
  padding-left: 15px;
  margin-top: 4px;
}

.BtnShare:hover {
  background-color: #1f1f1f !important;
}

.BtnShare-container {
  position: relative;
  display: inline-block;
}

.success {
  position: absolute;
  color: #393a37;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  z-index: 9999;
  width: 180px;
  padding: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  background: var(--color-nu);
  border-radius: 8px;
  box-shadow: 0px 0px 5px -3px #111;
  pointer-events: none;
  transition:
    opacity 0.3s ease-in-out,
    visibility 0.3s ease-in-out;
  visibility: hidden;
  z-index: 10;
}

.scroll-btn {
  background: red;
  font-size: 30px;
  padding: 10px;
  position: relative;
  /*z-index: 10;*/
}

.success.visible {
  visibility: visible;
  opacity: 1;
}

.success::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 12px solid #08ec8c;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .BtnShare-container {
    position: absolute;
    /* display: flex;
         justify-content: flex-end; */
    width: 100%;
    /* margin-top: 10px; */
    left: 0;
    z-index: 99;
  }

  .BtnShare {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    top: -110px;
    left: 130px;
  }

  .BtnShare-text {
    display: none;
  }
}

/* custom-profile-wrapper */
.custom-profile-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
}

.custom-profile-sidebar {
  width: 270px;
  background: #121212;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  color: white;
  flex-shrink: 0;
}

.custom-profile-sidebar img {
  border-radius: 50%;
  border: 3px solid #08ec8c;
  width: 90px;
  height: 90px;
  margin-bottom: 10px;
}

.custom-profile-sidebar h2 {
  font-size: 18px;
  text-transform: capitalize;
  color: #08ec8c;
  margin: 5px 0;
}

.custom-profile-sidebar p {
  font-size: 12px;
  color: #bbb;
  margin-bottom: 10px;
}

.custom-profile-menu {
  padding: 10px;
  text-align: left;
}

.custom-profile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-profile-menu li {
  margin: 5px 0;
  border-radius: 5px;
}

.custom-profile-menu a {
  display: flex;
  align-items: center;
  padding: 12px;
  text-decoration: none;
  color: #08ec8c;
  font-size: 15px;
  font-weight: bold;
  background: #1a1a1a;
  border-radius: 5px;
  transition: 0.3s;
  justify-content: center;
}

.custom-profile-menu a:hover {
  background: #08ec8c;
  color: #121212;
}

.custom-profile-menu a span {
  margin-left: 10px;
}

.custom-profile-content {
  flex-grow: 1;
  max-width: 100%;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  color: white;
}

@media (max-width: 768px) {
  .custom-profile-wrapper {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .custom-profile-sidebar {
    width: 100%;
    max-width: 400px;
    padding: 15px;
  }

  .custom-profile-sidebar img {
    width: 80px;
    height: 80px;
  }

  .custom-profile-menu {
    text-align: center;
  }

  .custom-profile-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .custom-profile-menu li {
    width: 100%;
    max-width: 250px;
  }

  .custom-profile-menu a {
    justify-content: center;
  }

  .custom-profile-content {
    width: 100%;
    max-width: 400px;
    padding: 15px;
  }
}

/* Contador */
.banner-promocion-columna {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.banner-promocion-columna img {
  margin: 0 auto;
}

.img-centro-wrapper {
  position: relative;
}

.contador-wrapper {
  width: 100% !important;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  align-items: center;
  gap: 12px;
  padding: 8px 15px;
  border-radius: 6px;
  z-index: 5;
}

.contador-wrapper span {
  color: white;
  font-size: clamp(5px, 2.2vw, 24px);
  font-weight: bold;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 1);
}

.Contador_Producto {
  margin: 0 10px 0 10px;
  font-size: clamp(20px, 2.5vw, 32px);
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 1);
  color: red;
  font-weight: bold;
}

.tea-popup.off {
  width: 100%;
  text-align: center;
  position: relative;
  background: transparent;
  padding: 30px;
  border-radius: 10px;
}

.contador-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 24px;
  font-weight: bold;
  color: red;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  max-width: 100%;
  margin: auto;
  background: transparent;
}

.contador-item span {
  font-size: 32px;
  font-weight: bold;
}

.mensaje-oferta {
  font-size: 18px;
  margin-top: 10px;
  color: #ffcc00;
}

/* carrusel */
.custom-carousel .screen-reader-text {
  display: none !important;
}

.custom-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: auto;
  padding: 0;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.custom-carousel {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.custom-carousel-item {
  flex: 0 0 20%;
  /* 5 productos por fila en desktop */
  max-width: 20%;
  box-sizing: border-box;
  padding: 10px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transform: scale(0.9);
  /* Reducci��n de escala */
  transition: transform 0.3s ease;
}

.custom-carousel .star-rating span {
  font-size: 0;
  position: relative;
}

.custom-carousel .star-rating span::before {
  content: attr(aria-label);
  font-size: 13px;
  /* Tama�0�9o de fuente reducido */
  color: #f5c518;
  display: block;
  text-align: center;
}

.custom-carousel .star-rating .rating,
.custom-carousel .star-rating span > * {
  display: none !important;
}

.custom-carousel-item .product {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-bottom: 10px;
  position: relative;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  /* Sombra sutil */
  border-radius: 8px;
  /* Bordes redondeados */
  background: transparent;
}

button.button.yith-wcqv-button {
  margin: 0 !important;
  font-size: 0.9em !important;
  /* Tama�0�9o de bot��n reducido */
  padding: 8px 12px !important;
}

.custom-carousel-item .star-rating {
  min-height: 1.3em;
  /* Altura reducida */
  display: block;
  margin-bottom: 0px !important;
}

.custom-carousel-item .button,
.custom-carousel-item .product a.button {
  margin-top: auto;
  font-size: 0.9em !important;
  padding: 8px 12px !important;
}

/* Alineaci��n centrada */
.custom-carousel-item .woocommerce-product-details__short-description,
.custom-carousel-item .price,
.custom-carousel-item .star-rating {
  text-align: center;
  font-size: 0.95em;
  /* Tama�0�9o de fuente reducido */
}

.custom-carousel-item .price {
  font-size: 1em;
  /* Tama�0�9o de precio ligeramente mayor */
  font-weight: bold;
  margin: 5px 0;
}

.custom-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  border: none;
  padding: 10px;
  /* Padding reducido */
  cursor: pointer;
  font-size: 1.5em;
  /* Tama�0�9o de flecha reducido */
  border-radius: 50%;
  width: 40px;
  /* Ancho reducido */
  height: 40px;
  /* Alto reducido */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.custom-carousel-btn:hover {
  opacity: 1;
}

.custom-carousel-btn.left-btn {
  left: 5px;
}

.custom-carousel-btn.right-btn {
  right: 5px;
}

.custom-carousel-indicators {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.carousel-dot {
  width: 8px;
  /* Tama�0�9o reducido */
  height: 8px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin: 0 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-dot.active {
  background-color: #fff;
}

.woocommerce-product-rating > span {
  display: none !important;
}

.home .custom-carousel-item {
  flex: 0 0 20%;
  /* 5 productos por fila */
  max-width: 20%;
}

.home .custom-carousel-item .product-title,
.home .custom-carousel-item .price {
  font-size: 0.9em !important;
}

.home .custom-carousel-item .button {
  padding: 6px 10px !important;
  font-size: 0.85em !important;
}

.woocommerce .star-rating::before {
  font-size: 14px;
  /* Tama�0�9o para estrellas de fondo */
}

.woocommerce .star-rating span::before {
  font-size: 14px;
  /* Tama�0�9o para estrellas doradas */
}

@media (max-width: 768px) {
  .custom-carousel-wrapper {
    position: relative !important;
    overflow: hidden !important;
    padding: 0 15px !important;
  }

  .custom-carousel {
    margin-bottom: 10px !important;
    display: flex !important;
    transition: transform 0.3s ease-out !important;
    /* No usamos scroll-snap-type aqu�� porque interfiere con nuestro posicionamiento personalizado */
  }

  .custom-carousel-item {
    flex: 0 0 80% !important;
    max-width: 80% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    box-sizing: border-box !important;
    padding: 10px !important;
    margin-right: 1% !important;
  }

  .custom-carousel-item .product {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
  }

  .custom-carousel-btn {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.5em !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .custom-carousel-btn.left-btn {
    left: 5px !important;
  }

  .custom-carousel-btn.right-btn {
    right: 5px !important;
  }

  .custom-carousel-indicators {
    margin-top: 10px !important;
    display: flex !important;
    justify-content: center !important;
  }

  .carousel-dot {
    width: 8px !important;
    height: 8px !important;
    margin: 0 4px !important;
    border-radius: 50% !important;
  }

  .custom-carousel-item .star-rating {
    min-height: 1.5em !important;
    display: block !important;
  }
}

/*Css de los nuevos cards de productos*/
.product-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.btn-quickview {
  background: transparent;
  color: #08ec8c;
  font-size: 16px;
  cursor: pointer;
  padding: 5px;
  border: 2px solid #08ec8c;
  border-radius: 50%;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-quickview:hover {
  background: #23ffa3;
  color: black;
}

/* ESTILOS DE LAS NUEVAS CARDS*/
.main-carousel {
  background-color: transparent;
  margin: 30px auto;
  width: 95%;
}

.carousel-cell {
  width: 300px;
  margin-right: 20px;
}

.flickity-enabled.is-draggable .flickity-viewport {
  padding: 10px;
}

.product-card {
  overflow: hidden;
  height: 406.133px;
  /*box-shadow: 12px 2px 30px rgba(4, 127, 0, 0.042);*/
  font-family: "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
  background-color: transparent;
}

.product-card:hover {
  box-shadow: 2px 5px 30px rgba(6, 179, 0, 0.086);
}

.product-img {
  background: transparent;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img img {
  max-width: 100%;
  max-height: 180px;
  transition: transform 0.3s;
}

.product-card:hover .product-img img {
  transform: scale(1.05);
}

.badge-descuento {
  position: absolute;
  /*top: 10px;*/
  right: 0px;
  background: #a80000;
  color: white;
  font-weight: bold;
  padding: 5px 8px;
  font-size: 12px;
  border-radius: 4px;
  z-index: 2;
}

.product-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.product-title {
  color: #08ec8c;
  font-size: 16px;
  font-weight: bold;
  margin: 5px 0;
  text-decoration: none;

  display: -webkit-box;
  /* -webkit-line-clamp: 2; */
  /* m��ximo 2 l��neas */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-brand {
  font-size: 13px;
  color: #ffffff;
  margin-bottom: 10px;
}

.product-precio {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 5px;
}

.precio-oferta {
  color: #e53935;
  font-weight: bold;
  font-size: 16px;
}

.precio-original {
  text-decoration: line-through;
  color: #999;
  font-size: 13px;
}

.product-marca {
  display: flex;
  justify-content: space-between;
}

.product-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

/* Bot��n agregar ocupa todo el espacio restante */
.product-buttons .btn-agregar {
  flex: 1;
  padding: 8px 0;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  border-radius: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* Bot��n quickview siempre redondo */
.product-buttons .btn-quickview {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.btn-agregar {
  background: #08ec8c;
  color: black;
  font-weight: bold;
  /*width: 70%;*/
  border: none;
  border-radius: 3px;
  /*padding: 8px 0;*/
  font-size: 14px;
  cursor: pointer;
}

.btn-agregar:hover {
  background: #23ffa3;
}

.btn-quickview {
  background: transparent;
  color: #08ec8c;
  font-size: 16px;
  cursor: pointer;
  padding: 5px;
  border: 2px solid #08ec8c;
  border-radius: 50%;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-quickview:hover {
  background: #23ffa3;
  color: black;
}

.product-brand,
.product-stars {
  display: flex;
  align-items: center;
  height: 100%;
}

.product-stars {
  gap: 4px;
  /*margin-top: 10px;*/
  font-size: 11px;
  color: #ffce00;
}

.flickity-prev-next-button {
  background: transparent;
  /* border: 2px solid #08ec8c; */
  color: #08ec8c;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    box-shadow 0.3s ease,
    color 0.3s ease;
}

/* Hover con box-shadow suave tipo halo */
.flickity-prev-next-button:hover {
  background-color: transparent;
  box-shadow: 0 0 12px 2px #08ec8c;
  color: #08ec8c;
}

/* �0�1cono SVG bien centrado */
.flickity-button-icon {
  fill: currentColor;
  width: 60%;
  height: 60%;
}

.flickity-page-dots .dot {
  background: rgba(8, 236, 141, 0.527);

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.flickity-page-dots .dot:hover {
  transform: scale(1.3);
  background-color: #08ec8c;
}

.flickity-page-dots .dot.is-selected {
  transform: scale(1.1);
  background: #08ec8c;
}

/*  */
.carousel-cell.shine-effect {
  position: relative;
  overflow: hidden;
}

.carousel-cell.shine-effect::after {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: shineMove 1s ease-out forwards;
  pointer-events: none;
}

@keyframes shineMove {
  0% {
    transform: translate(-100%, -100%) rotate(25deg);
  }

  100% {
    transform: translate(100%, 100%) rotate(25deg);
  }
}

.product-status-badge.agotado {
  background: #a80000;
  color: white;
}

.product-status-badge.aviso {
  background: #f39c12;
  color: white;
}

.product-status-badge.descontinuado {
  background: #555555;
  color: white;
}

.product-status-badge.oferta {
  background: #e53935;
  color: white;
}

/* FIN ESTILOS DE LAS NUEVAS CARDS*/

