/* =========================
   TITULOS HOME
========================= */

.nv-home-title {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nv-home-title__main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.nv-home-title__title-row {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.nv-home-title__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nv-home-title__icon {
  width: 32px;
  height: 32px;
  display: block;
}

.nv-home-title__heading {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1;
}

.nv-home-title__jp-auction,
.nv-home-title__jp-buy,
.nv-home-title__jp-mistery {
  color: #bb3742;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  margin-right: 0;
}

.nv-home-title__subtitle {
  margin: 0;
  font-size: 1rem;
  color: #555;
}

.nv-home-title__more {
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nv-home-title__more:hover {
  color: #bb3742;
}

/* Tablet / móvil */
@media (max-width: 768px) {
  .nv-home-title__main {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nv-home-title__title-row {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .nv-home-title__heading {
    font-size: 1.8rem;
  }

  .nv-home-title__jp-auction,
  .nv-home-title__jp-buy,
  .nv-home-title__jp-mistery {
    font-size: 2rem;
  }

  .nv-home-title__more {
    margin-top: 2px;
  }
}

/*hover*/
.nv-home-title__more {
    transition: all .2s ease;
}

.nv-home-title__more:hover {
    color: #bb3742;
    transform: translateX(3px);
}

/* =========================
   HOME AUCTIONS - ESTILO NUEVO
========================= */
/* CARD SUBASTA SOLO HOME */
.home li.product.product-type-auction {
  position: relative;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

/* imagen */
.home li.product.product-type-auction figure {
  margin: 0 0 14px;
}

/* título */
.home li.product.product-type-auction .woocommerce-loop-product__title {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.15;
  font-weight: 500;
  text-align: left;
}

.home li.product.product-type-auction .woocommerce-loop-product__title a {
  color: #111;
  text-decoration: none;
}

/* precio */
.home li.product.product-type-auction .price {
  display: block;
  margin: 0 0 10px;
  font-size: 12px;
  color: #666;
}

.home li.product.product-type-auction .price .amount {
  font-size: 24px;
  font-weight: 700;
  color: #e53950;
}

/* contador */
.home li.product.product-type-auction .yith-wcact-timeleft-loop {
  margin: 0 0 12px;
  font-size: 13px;
}

/* botón */
.home li.product.product-type-auction .ct-woo-card-actions .button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 4px;
  background: #fbecef;
  color: #e53950;
  font-weight: 800;
  text-decoration: none;
  box-shadow: none;
}

/* Contenedor del contador */
.home li.product.product-type-auction .yith-wcact-timeleft-loop {
  margin: 10px 0 8px;
}

/* Caja gris */
.home li.product.product-type-auction .yith-wcact-timer-auction {
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  line-height: 0.2;
  flex-wrap: wrap;
}

.home .product.product-type-auction .yith-wcact-timeleft-seconds {
    display: none !important;
}

/* Cada bloque: días, horas, minutos, segundos */
.home li.product.product-type-auction .yith-wcact-timeleft {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}

/* Número */
.home li.product.product-type-auction .yith-wcact-number {
  font-weight: 700;
  color: #fff;
}

/* Texto del número */
.home li.product.product-type-auction .yith-wcact-number-label {
  color: #fff;
  font-size: 12px;
}

/* Fecha final */
li.product.product-type-auction .auction_end_start {
  display: none;
}

/* =========================
   TITULOS y PRECIOS movil
========================= */
/* Móviles pequeños */
/* Productos del Home en móviles pequeños */
@media (max-width: 430px) {

  .home ul.products li.product .woocommerce-loop-product__title,
  .home ul.products li.product .woocommerce-loop-product__title a {
    font-size: 18px !important;
    line-height: 1.2 !important;
  }

  .home ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;

    overflow: hidden !important;
    text-overflow: ellipsis !important;

    height: calc(1.2em * 2);
    max-height: calc(1.2em * 2);
    margin-bottom: 8px !important;
  }
}

@media (max-width: 380px) {

  .home ul.products li.product .woocommerce-loop-product__title,
  .home ul.products li.product .woocommerce-loop-product__title a {
    font-size: 17px !important;
  }
}