/* HARDY — Tarjetas con el recorrido de Hawkers (19/11/2026). */

body.woocommerce-shop,
body.post-type-archive-product,
body.tax-product_cat { background: #fff; }

.woocommerce ul.products,
.woocommerce-page ul.products { gap: 28px 4px; }

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  position: relative;
  background: transparent;
  padding: 0;
}
.woocommerce ul.products li.product a img:not(.hardy-puesto) {
  background: #f4f4f3;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 12px 4px 4px;
  color: var(--vc-tinta, #141414);
}
.woocommerce ul.products li.product .price {
  display: block;
  padding: 0 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--vc-tinta, #141414);
}
.hardy-tarjeta__colores {
  display: block;
  padding: 4px 4px 0;
  font-size: 11.5px;
  color: #6b6b6b;
}

/* Insignia arriba a la izquierda */
.woocommerce ul.products li.product .hardy-insignia {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  background: #fff;
  color: var(--vc-tinta, #141414);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 8px;
}

/* El «+»: una capa del tamaño de la foto, sólo el botón recibe clics */
.hardy-tarjeta__capa {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  pointer-events: none;
  z-index: 4;
}
.woocommerce ul.products li.product .hardy-mas {
  pointer-events: auto;
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--vc-tinta, #141414);
  border: 1px solid var(--vc-tinta, #141414);
  margin: 0;
  padding: 0;
  border-radius: 0;
  transition: background 0.2s, color 0.2s;
}
.woocommerce ul.products li.product .hardy-mas:hover { background: var(--vc-tinta, #141414); color: #fff; }
.woocommerce ul.products li.product .hardy-mas svg { width: 16px; height: 16px; }
.woocommerce ul.products li.product .hardy-mas.loading { opacity: 0.5; }
.woocommerce ul.products li.product .hardy-mas.loading::after,
.woocommerce ul.products li.product .hardy-mas.added::after { display: none !important; }
.woocommerce ul.products li.product a.added_to_cart { display: none !important; }

/* Encabezado de la colección */
body.woocommerce-shop .woocommerce-products-header__title,
body.post-type-archive-product .page-title,
body.tax-product_cat .page-title,
body.woocommerce-shop h1.page-title {
  font-family: var(--f-ui);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.woocommerce .woocommerce-result-count { font-size: 12.5px; color: #6b6b6b; }
.woocommerce .woocommerce-ordering select {
  border: 1px solid #dcdcda;
  border-radius: 0;
  background-color: #fff;
  font-size: 13px;
  height: 40px;
}

@media (max-width: 900px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products { gap: 22px 4px; }
  .woocommerce ul.products li.product .hardy-mas { width: 30px; height: 30px; right: 8px; bottom: 8px; }
}

/* Header blanco en todo el sitio, como Hawkers (antes crema translúcido). */
.header.solid, .header--claro {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: none;
  box-shadow: 0 1px 0 #ececea;
}
.header .nav a { letter-spacing: 0.12em; }

/* Bloque que cierra la última fila de la colección. */
.woocommerce ul.products li.hardy-relleno { grid-column: span var(--span-d); list-style: none; margin: 0; }
.hardy-relleno a {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  height: 100%; min-height: 160px; padding: 18px 20px;
  background: var(--vc-tinta, #141414); color: #fff; text-decoration: none;
}
.hardy-relleno__kicker { font-family: var(--f-ui); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.hardy-relleno__txt { font-family: var(--f-display); font-size: clamp(20px, 2.2vw, 30px); line-height: 1.1; }
.hardy-relleno a:hover .hardy-relleno__txt { text-decoration: underline; text-underline-offset: 5px; }
.woocommerce ul.products li.hardy-relleno--solo-movil { display: none; }
@media (max-width: 900px) {
  .woocommerce ul.products li.hardy-relleno { grid-column: span var(--span-m); }
  .woocommerce ul.products li.hardy-relleno--solo-movil { display: block; }
  .woocommerce ul.products li.hardy-relleno--solo-compu { display: none; }
}

/* 25/11 · «El más mirado» (inc/sesgos.php): mismo lugar que «Últimas unidades», en tinta. */
.woocommerce ul.products li.product .hardy-insignia--mirado { background: #141414; color: #fff; }
.woocommerce ul.products li.product .hardy-insignia--promo { background: #b01e17; color: #fff; }
.woocommerce ul.products li.product .price del { color: #8a8a86; font-weight: 400; margin-right: 4px; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: #b01e17; }
.woocommerce ul.products li.product .price .hardy-off { display: none; } /* en la tarjeta ya lo dice la insignia */
