/* Una introducción y seis categorías: el primer producto aparece sin desplazarse. */
.page-lead{padding-top:30px;padding-bottom:26px}
.page-lead .eyebrow{display:none}
.page-lead h1{font-size:clamp(30px,4vw,48px);line-height:1.1;margin:0 0 12px}
.page-lead>p:last-child{margin:0;font-size:16px}
.products-section{padding-top:24px;padding-bottom:40px}
.products-section .fx-tabs{padding-bottom:16px;margin-bottom:20px}
.catalog-updated{font-size:12px;color:var(--textoSuave);margin-top:24px}
@media(max-width:760px){
  .page-lead{padding-top:20px;padding-bottom:20px}
  .page-lead h1{font-size:30px;line-height:1.1;margin-bottom:10px}
  .page-lead>p:last-child{font-size:14px;line-height:1.5}
  .products-section{padding-top:18px}
  .products-section .fx-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-bottom:0;border-bottom:0;margin-bottom:16px}
  .products-section .fx-tab:last-child:nth-child(odd){grid-column:1 / -1}
  .products-section .fx-tab{font-size:13px;line-height:1.3;padding:8px 10px;min-height:48px;border-radius:12px}
  .products-section .format-heading{margin-bottom:12px}
  .products-section .format-heading h2,.format-heading h3{font-size:22px;line-height:1.2;margin:0}
  .products-section .format-heading p{display:block}
  .products-section .product-photo{aspect-ratio:16/9}
  .products-section .product-card-info{padding-top:10px}
  .products-section .product-card-info .eyebrow{font-size:12px;line-height:1.5;margin-bottom:4px}
  .products-section .product-card h3{font-size:22px;line-height:1.2;margin:4px 0}
}

/* Enlaces estáticos de productos, sin controles anidados. */
.catalog-product-links{margin-top:12px;font-size:14px;line-height:1.7}
.catalog-product-links a{text-decoration:underline;text-underline-offset:3px;display:inline;padding:2px 0}
.catalog-product-links p{margin:0}

/* Cabecera y navegación del catálogo. */
.catalog-lead{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:40px}
.catalog-lead .catalog-lead-photo{margin:0;max-width:none}
.catalog-lead-copy>p:last-child{margin:0;font-size:16px;line-height:1.6}
.catalog-lead-copy .text-link{display:inline;min-height:0;padding:12px 0;font-size:inherit;line-height:inherit}
.products-section .fx-tabs{overflow-anchor:none}
.products-section .fx-tab{display:flex;align-items:center;justify-content:center;text-align:center}
.products-section .format-heading{display:block}
.products-section .format-heading p{margin-top:10px}
.products-section .product-photo.text-only-product{aspect-ratio:3/1;min-height:0;padding:16px 20px}
.products-section .text-only-category{font-size:18px;line-height:1.3}
.products-section .product-card-actions .button{font-size:14px;min-height:44px;padding:10px 18px}
#desarrollo-a-medida{margin-top:32px;padding:28px;border:1px solid var(--borde);border-radius:18px;background:var(--fondoContraste);display:flex;align-items:center;gap:28px;justify-content:space-between}
#desarrollo-a-medida p{max-width:65ch;margin:0}
#desarrollo-a-medida .button{flex-shrink:0}
@media(max-width:760px){
 .catalog-lead{grid-template-columns:1fr;gap:20px}
 .catalog-lead-copy>p:last-child{font-size:14px;line-height:1.5}
 .products-section .fx-tab{min-height:56px}
 .catalog-product-links a{display:inline-flex;align-items:center;min-height:44px;padding:8px 5px;max-width:100%;vertical-align:middle}
 #desarrollo-a-medida{padding:22px;flex-direction:column;align-items:flex-start;gap:20px}
 #desarrollo-a-medida .button{white-space:normal;text-align:center}
}
/* Catálogo: 4 tarjetas por fila en escritorio (Gabriel, 27 oct) */
@media(min-width:1101px){.fx-panel .product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.fx-panel .product-grid:has(> :nth-child(6):last-child){grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}}
@media(min-width:761px) and (max-width:1100px){.fx-panel .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.catalog-sub{font-size:14px;color:var(--textoSuave);margin:-4px 0 10px}
/* Auditoría 1 nov: botones de las tarjetas alineados abajo en cada fila */
.product-grid .product-card,.product-grid .product-card-content{display:flex;flex-direction:column;height:100%}
.product-grid .product-card-info{display:flex;flex-direction:column;flex:1}
.product-grid .product-card-actions{margin-top:auto;padding-top:12px}
.catalog-help .button{font-size:14px}
.product-card .card-nota{font-size:14px;color:var(--textoSuave);margin:0 0 8px}
.product-card .sello-conservacion{display:inline-block;width:fit-content;margin:0 0 10px;padding:3px 10px;border-radius:999px;background:#E8F0F7;color:#1F4A6E;font-size:12px;font-weight:600;line-height:1.5}
