
/* HERO SECTION */
.home-hero {
  background-color: var(--color-bg-base);
  padding: 50px 20px 80px;
  text-align: center;
}

.home-hero__title {
  font-size: clamp(100px, 8vw, 100px)  !important;
  font-family: "Lexend Giga" !important;
  letter-spacing: 30px !important;
  font-weight: 400 !important;
  color: #FFFFFF !important;
  margin-bottom: -40 px !important;
}

.home-hero__subtitle {
  font-size: 20px !important;
  font-family: "Geist", sans-serif !important;
  margin-bottom: 50px !important;
  margin-top: -30 px !important;
  color: #C4C7C8 !important;
}

.home-hero__buttons .wp-block-button__link {
  border-radius: 6px !important;
  padding: 14px 28px !important;
  font-size: 13px !important;
  font-family: "Geist", sans-serif !important;
  width: 200px !important;
  letter-spacing: 0.08em !important;
  font-weight: 700 !important;
}

/* Primer botón: fondo blanco, texto negro */
.home-hero__buttons .wp-block-button:nth-child(1) .wp-block-button__link {
  background-color: #FFFFFF !important;
  color: #000000 !important;
  border: 1px solid #FFFFFF !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.home-hero__buttons .wp-block-button:nth-child(1) .wp-block-button__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.14);
  background-color: #F2F2F2 !important;
}

/* Segundo botón: fondo negro, texto y borde blancos */
.home-hero__buttons .wp-block-button:nth-child(2) .wp-block-button__link {
  background-color: #202020 !important;
  color: #FFFFFF !important;
  border: 1px solid #FFFFFF !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.home-hero__buttons .wp-block-button:nth-child(2) .wp-block-button__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  background-color: #111111 !important;
}

.home-tagline {
  background-color: #1B1C1C;
  width: 100%;
  padding: 32px 20px;
  font-size: 18px;
  border-radius: 8px;
  font-family: "42dot Sans", sans-serif !important;
  color: #E4E2E1;
  margin: 0;
  box-sizing: border-box;
  margin-bottom: 70px !important;
}


/* PRODUCTOS DESTACADOS */
.home-featured {
  background-color: var(--color-bg-section);
  padding: 100px 40px 80px; /* más espacio arriba */
}

.home-featured__header {
  align-items: flex-end;
  margin-bottom: 30px !important;
  border-left: 3px solid var(--color-text); /* la barra ahora envuelve eyebrow + título */
  padding-left: 10px;
}

.home-featured__eyebrow {
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 6px;
}

.home-featured__title {
  font-size: 36px;
  font-weight: 700;
  margin: 0;
  font-family: "Geist", sans-serif !important;
}

.home-featured__link {
  flex-shrink: 0; /* el link nunca se comprime */
  white-space: nowrap; /* el texto del link nunca se parte en dos líneas */
}

.home-featured__link a {
  color: var(--color-text);
  font-size: 16px;
  font-weight: 550;
  letter-spacing: 0.05em;
  text-decoration: none;
  font-family: "Geist", sans-serif !important;
}

/* Grid de productos WooCommerce */
ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
  margin: 0 !important;
}

ul.products li.product {
  background: transparent;
  border-radius: var(--radius-card);
  box-shadow: 0 0 1px 0.5px #444444 !important;
  transition: filter 0.2s ease, transform 0.2s ease;
}

ul.products li.product:hover,
ul.products li.product:active {
  filter: brightness(1.12);
  transform: translateY(-2px);
}

ul.products li.product img {
  width: 100%;
  aspect-ratio: 4 / 4 !important; /* imagen menos alta */
  object-fit: cover;
  border-radius: var(--radius-card) var(--radius-card) 0px 0px !important;
}

.home-product__cat {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  margin: 16px 0 6px;
  font-family: "Geist", sans-serif !important;
  margin-left: 20px !important;
  margin-top: 10px !important;
}

ul.products li.product .woocommerce-loop-product__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  font-family: "Geist", sans-serif !important;
  margin-left: 20px !important;
}

/* Diseño Short Descrption */
.loop-product__short-desc {
  font-size: 12px !important;
  line-height: 1.5;
  opacity: 0.75;
  margin-left: 18px !important;
  min-height: 40px; /* aprox. 2 líneas a este tamaño de fuente */
}

ul.products li.product .price {
  font-weight: 650;
  margin-bottom: 14px;
  display: block;
  font-family: "Inter", sans-serif !important;
  margin-left: 20px !important;
  margin-bottom: 25px !important;   
}

/* Oculta la categoría por defecto de WooCommerce en el loop de productos,
   sin afectar a tu .home-product__cat personalizada */
ul.products li.product .entry-meta,
ul.products li.product .entry-meta .meta-categories {
  display: none !important;
}


ul.products li.product a.button {
  display: block;
  width: 100%;
  text-align: center;
  background-color: var(--color-text);
  color: var(--color-bg-section);
  padding: 10px;
  border-radius: 3px;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase;
  font-family: "Geist", sans-serif !important;
  margin-left: 20px !important;
  margin-right: 20px !important;
  margin-bottom: 20px !important;
}


/* MOBILE */
@media (max-width: 900px) {
  /* HERO SECTION */
  .home-hero { padding: 40px 10px 40px !important; } 
  .home-hero__title { font-size: clamp(40px, 10vw, 50px) !important; }
  .home-hero__subtitle { font-size: 15px !important; }

  /* PRODUCTOS DESTACADOS */
  ul.products { grid-template-columns: 1fr; }
  .home-featured__title { font-size: 26px; font-weight: 600;}
  .home-featured__eyebrow { font-size: 10px;}
  .home-featured__link a { font-size: 13px;}

}