/* Catálogo con vial lateral y todas las presentaciones a la vista. */
.reference-home .catalog-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:32px}
.reference-home .catalog-heading .eyebrow{margin-bottom:14px}
.reference-home .catalog-heading h2{font-size:clamp(34px,3.3vw,50px);line-height:1.1;margin-bottom:20px}
.reference-home .catalog-heading .search-box{width:min(100%,520px);min-width:0;padding:8px 16px;gap:10px}
.reference-home .catalog-heading .search-box input{width:100%;min-width:0;padding:0;font-size:15px}
.reference-home .catalog-navigation{display:flex;flex-direction:column;align-items:flex-end;gap:18px}
.reference-home .catalog-navigation #result-count{font-size:14px;line-height:1.5;color:#52627a}
.reference-home .catalog-navigation .filter-tabs{gap:8px;flex-wrap:wrap;overflow:visible}
.reference-home .catalog-navigation .filter{border:0;background:#f0f3f8;color:#20344f;font-size:14px;padding:12px 20px}
.reference-home .catalog-navigation .filter.active{background:#1c57ff;color:#fff;box-shadow:none}
.reference-home .catalog-summary{padding:24px 0 13px;color:#52627a;flex-direction:column;gap:12px}
.reference-home .catalog-summary .catalog-price-notice{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;width:100%;padding:18px 22px;border:1px solid #c7daf8;border-left:4px solid #1c57ff;border-radius:9px;background:#edf4ff;color:#143c72;font-size:19px;line-height:1.55}
.reference-home .catalog-price-notice strong{font-weight:700;color:#082862}
.reference-home .catalog-summary>span:last-child{align-self:flex-end;max-width:none;font-size:13px;line-height:1.5}
.reference-home .catalog .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 0}
.reference-home .catalog .product-card{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(0,1.2fr);grid-template-rows:auto auto 1fr auto;column-gap:16px;align-items:start;padding:24px 22px;background:#fff;border:0;border-right:1px solid #d5deeb;border-bottom:1px solid #d5deeb;border-radius:0;box-shadow:none;min-width:0;transform:none}
.reference-home .catalog .product-card:nth-child(3n){border-right:0}
.reference-home .catalog .product-card:hover{transform:none;box-shadow:none}
.reference-home .catalog .product-card:focus-within{background:#f8faff}
.reference-home .catalog .product-image{grid-column:1;grid-row:1/5;display:grid;place-items:center;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);position:relative;width:100%;height:285px;padding:0;overflow:hidden;border:0;border-radius:12px;background:radial-gradient(ellipse at 50% 85%,#eaf2ff 0,transparent 66%);align-self:center}
.reference-home .catalog .product-image img{position:static;grid-area:1/1;width:215%;height:100%;max-width:none;object-fit:contain;transform:none;transition:none}
.reference-home .catalog .product-image:hover img,.reference-home .catalog .product-card:hover .product-image img{transform:none}
.reference-home .catalog :is(.product-category,.image-arrow,.product-number){display:none}
.reference-home .catalog .product-meta{grid-column:2;grid-row:1;margin:12px 0 0;display:block}
.reference-home .catalog .product-meta h3{font-size:clamp(23px,1.8vw,29px);font-weight:700;line-height:1.15;overflow-wrap:break-word}
.reference-home .catalog .presentation-label{grid-column:2;grid-row:2;margin:18px 0 10px;font-size:14px;color:#52627a;line-height:1.5}
.reference-home .catalog .product-controls{grid-column:2;grid-row:3;display:flex;flex-direction:column;gap:20px;align-self:stretch;min-width:0}
.reference-home .catalog .presentation-options{display:flex;flex-wrap:wrap;gap:7px;align-content:flex-start}
.reference-home .catalog .presentation-option{background:#f8faff;color:#20344f;border:1px solid #c9d5e7;border-radius:7px;padding:8px 11px;min-height:38px;line-height:1.25;font-size:14px;font-weight:500;white-space:nowrap}
.reference-home .catalog .presentation-option[aria-pressed="true"]{background:#1c57ff;color:#fff;border-color:#1c57ff;box-shadow:0 3px 9px #1c57ff20}
.reference-home .catalog .presentation-option:hover{border-color:#1c57ff}
.reference-home .catalog .add-button{width:100%;min-width:0;min-height:44px;height:auto;margin-top:auto;padding:12px 10px;line-height:1.35;background:#1c57ff;color:#fff;border:0;border-radius:8px;font-size:14px;font-weight:600}
.reference-home .catalog .add-button:hover{background:#3970ff}
.reference-home .catalog .catalog-price{display:flex;flex-direction:column;gap:2px;margin:0;color:#103c98;line-height:1.2}
.reference-home .catalog .catalog-price strong{font-size:clamp(25px,2.2vw,34px);font-weight:700;letter-spacing:-.035em;font-variant-numeric:tabular-nums;white-space:nowrap}
.reference-home .catalog .catalog-price-unit{font-size:12px;color:#52627a;line-height:1.5}
.reference-home .catalog .catalog-whatsapp{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:0}
.reference-home .catalog .catalog-whatsapp img{width:22px;height:22px;flex-shrink:0}
.reference-home .catalog .catalog-whatsapp:disabled{background:#1c57ff;color:#fff;opacity:1;cursor:default}
.reference-home .catalog .catalog-whatsapp span{min-width:0}
.reference-home .catalog .catalog-note{grid-column:2;grid-row:4;font-size:11px;line-height:1.5;color:#52627a;margin-top:12px}
.reference-home .catalog :is(.presentation-option,.add-button,.product-image,.filter):focus-visible{outline:3px solid #124fba;outline-offset:3px}
@media(min-width:761px) and (max-width:1199px){
  .reference-home .catalog-header{grid-template-columns:1fr;gap:22px}
  .reference-home .catalog-navigation{flex-direction:row;justify-content:space-between;align-items:center}
  .reference-home .catalog .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .reference-home .catalog .product-card:nth-child(3n){border-right:1px solid #d5deeb}
  .reference-home .catalog .product-card:nth-child(2n){border-right:0}
}
@media(max-width:760px){
  .reference-home .catalog-header{grid-template-columns:1fr;gap:22px}
  .reference-home .catalog-heading h2{font-size:36px}
  .reference-home .catalog-heading .search-box{width:100%}
  .reference-home .catalog-navigation{align-items:flex-start;gap:14px}
  .reference-home .catalog-navigation .filter-tabs{gap:6px}
  .reference-home .catalog-navigation .filter{padding:10px 13px;font-size:12px}
  .reference-home .catalog-summary{font-size:11px;line-height:1.5;gap:16px;padding-top:20px}
  .reference-home .catalog-summary .catalog-price-notice{padding:16px;font-size:17px;gap:5px 12px}
  .reference-home .catalog .product-grid{grid-template-columns:minmax(0,1fr);gap:0}
  .reference-home .catalog .product-card{grid-template-columns:110px minmax(0,1fr);gap:0 16px;padding:26px 0;border-right:0}
  .reference-home .catalog .product-card:nth-child(3n){border-right:0}
  .reference-home .catalog .product-image{height:240px}
  .reference-home .catalog .product-meta{margin-top:8px}
  .reference-home .catalog .product-meta h3{font-size:24px}
  .reference-home .catalog .presentation-label{font-size:13px;margin-top:14px}
  .reference-home .catalog .product-controls{gap:18px}
  .reference-home .catalog .presentation-option{font-size:13px;padding:9px 10px;min-height:40px}
  .reference-home .catalog .add-button{font-size:14px;min-height:46px;padding:12px 10px}
  .reference-home .catalog .catalog-note{font-size:11px}
}
@media(max-width:380px){
  .reference-home .catalog .product-card{grid-template-columns:94px minmax(0,1fr);column-gap:12px}
  .reference-home .catalog .product-meta h3{font-size:22px}
  .reference-home .catalog .presentation-option{padding:9px 8px;font-size:12px}
  .reference-home .catalog .add-button{font-size:13px}
}
