/* Casa Lucci – tienda, categorías y tarjetas de producto */

/* Encabezado de la categoría */
.clc-cat-titulo {
  margin: 4px 0 8px;
  font-family: "Marcellus", Georgia, serif; font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.12;
  letter-spacing: 0; text-transform: none; color: #072b5b;
}
.woocommerce .term-description, .woocommerce .page-description {
  max-width: 70ch; font-size: 17px; line-height: 1.6; color: #51607a; margin-bottom: 24px;
}
.archive.woocommerce .woocommerce-breadcrumb, .archive.woocommerce .breadcrumbs { font-size: 13px; color: #51607a; }

/* Imagen de la tarjeta: formato vertical 4:5 para que el cuadro se vea completo */
.products .product-small .box-image { background: #fff; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 5; }
.products .product-small .box-image > div:first-child,
.products .product-small .box-image > div:first-child > a,
.products .product-small .box-image > a { display: block; height: 100%; }
/* Las capas de herramientas de Flatsome no deben tapar el enlace del cuadro */
.products .product-small .box-image .image-tools { pointer-events: none; height: auto; }
.products .product-small .box-image .image-tools a, .products .product-small .box-image .image-tools button { pointer-events: auto; }
.products .product-small .box-image img:not(.clc-hover-img) {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform .4s ease;
}
.products .product-small:hover .box-image img:not(.clc-hover-img) { transform: scale(1.04); }
.products .product-small .box-image img.back-image { display: none; }

/* Textos de la tarjeta */
.products .product-small .box-text { padding-top: 12px; text-align: center; }
.clc-tarjeta-sup { display: flex; justify-content: center; align-items: center; gap: 6px; margin-bottom: 4px; }
.clc-tarjeta-ref { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: #51607a; }
.clc-tarjeta-premium { background: #041a3c; color: #feda2e; font-size: 10.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.products .product-small .name, .products .product-small .product-title, .products .product-small .woocommerce-loop-product__title {
  font-size: 17px; font-weight: 700; line-height: 1.3; color: #072b5b; margin-bottom: 4px;
}
.products .product-small .name a, .products .product-small .product-title a { color: #072b5b; }
.products .product-small .price, .products .product-small .price .amount { font-size: 17px; font-weight: 900; color: #072b5b; }
.products .product-small .clc-desde { font-size: 14px; font-weight: 400; color: #51607a; }
.products .product-small .category, .products .product-small .product-cat { display: none; }

@media (max-width: 549px) {
  .products .product-small .name, .products .product-small .product-title { font-size: 15px; }
  .products .product-small .price, .products .product-small .price .amount { font-size: 15.5px; }
  .clc-cat-titulo { font-size: 1.8rem; }
  .woocommerce .term-description, .woocommerce .page-description { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .products .product-small .box-image img { transition: none; }
}

/* Foto en ambiente al pasar el mouse (solo en computador) */
.products .product-small .clc-hover-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; pointer-events: none;
  transition: opacity .35s ease; z-index: 2;
}
@media (hover: hover) {
  .products .product-small:hover .clc-hover-img { opacity: 1; }
}
