.gep-catalog{color:#123448;font:16px/1.55 Arial,sans-serif;max-width:1200px;margin:auto;padding:28px 22px}.gep-catalog *{box-sizing:border-box}.gep-catalog h1{font-size:32px;line-height:1.2}.gep-catalog h2{font-size:24px}.gep-catalog button,.gep-catalog input,.gep-catalog select{font:inherit}.gep-catalog button,.gep-catalog a.gep-button{padding:10px 14px;min-height:44px;border:1px solid #bed0db;background:white;color:#123448;text-decoration:none;cursor:pointer;border-radius:6px;display:inline-block}.gep-catalog .gep-primary{background:#123448!important;color:white!important}.gep-catalog .gep-brands,.gep-catalog .gep-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0}.gep-catalog .gep-card{border:1px solid #d7e1e7;border-radius:10px;padding:20px;background:white;text-align:left;color:inherit;min-width:0}.gep-catalog .gep-brands .gep-card img{height:70px;width:100%;object-fit:contain}.gep-catalog .gep-card h2{font-size:20px}.gep-catalog .gep-photo{height:210px;display:flex;align-items:center;justify-content:center;background:white;overflow:hidden;position:relative}.gep-catalog .gep-photo img{max-height:100%;max-width:100%;object-fit:contain}.gep-catalog .gep-crop{position:relative;margin:auto;overflow:hidden;max-width:100%;width:100%}.gep-catalog .gep-photo>.gep-crop{height:100%;width:auto}.gep-catalog .gep-crop img{position:absolute;max-width:none;max-height:none;object-fit:fill}.gep-catalog .gep-head{display:flex;justify-content:space-between;align-items:center;gap:22px;flex-wrap:wrap}.gep-catalog .gep-head>div{min-width:0;max-width:100%}.gep-catalog .gep-head img{max-width:250px;max-height:100px;object-fit:contain}.gep-catalog .gep-filters{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}.gep-catalog .gep-filters button[aria-pressed=true]{background:#123448;color:white}.gep-catalog input[type=search],.gep-catalog select{border:1px solid #bed0db;background:white;padding:11px;border-radius:6px;color:#123448;width:100%;margin:12px 0}.gep-catalog .gep-docs{padding:18px;background:#eef4f7;border-radius:8px;margin:20px 0}.gep-catalog .gep-docs a{display:block;color:#123448;padding:8px 0}.gep-catalog table{width:100%;border-collapse:collapse;margin:20px 0}.gep-catalog th,.gep-catalog td{border-bottom:1px solid #d7e1e7;text-align:left;padding:10px;vertical-align:top;overflow-wrap:anywhere}.gep-catalog th{width:40%}.gep-catalog .gep-detail{border-top:2px solid #d7e1e7;padding-top:20px}.gep-catalog .gep-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.gep-catalog .gep-detail .gep-photo{height:350px}.gep-catalog .gep-muted{color:#536d7c}.gep-catalog .gep-actions{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}.gep-catalog :focus-visible{outline:3px solid #efa64e;outline-offset:3px}@media(max-width:700px){.gep-catalog{padding:22px 12px}.gep-catalog h1{font-size:27px}.gep-catalog .gep-brands,.gep-catalog .gep-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gep-catalog .gep-card{padding:13px}.gep-catalog .gep-card h2{font-size:17px}.gep-catalog .gep-products .gep-photo{height:150px}.gep-catalog .gep-detail-grid{grid-template-columns:1fr}.gep-catalog .gep-detail .gep-photo{height:280px}.gep-catalog .gep-actions a{width:100%;text-align:center}}
/* Navegación progresiva y tarjetas compactas. */
.gep-catalog{max-width:1360px}.gep-catalog .gep-brands,.gep-catalog .gep-families{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.gep-catalog .gep-families .gep-card,.gep-catalog .gep-brands .gep-card{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px 12px;min-height:166px}.gep-catalog .gep-families h3{font-size:18px;line-height:1.3;margin:12px 0 6px;letter-spacing:0}.gep-catalog .gep-card span{font-size:14px;color:#536d7c}.gep-catalog .gep-family-photo{width:100%;height:90px;display:flex;justify-content:center;align-items:center;overflow:hidden}.gep-catalog .gep-family-photo img{width:100%;height:100%;object-fit:contain}.gep-catalog .gep-family-photo>.gep-crop{height:100%;width:auto}.gep-catalog .gep-family-photo .gep-crop img{position:absolute;max-width:none;max-height:none;object-fit:fill}.gep-catalog .gep-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:14px 0}.gep-catalog .gep-breadcrumbs button{border:0;padding:5px 8px;min-height:36px;text-decoration:underline}.gep-catalog .gep-breadcrumbs button[aria-current]{font-weight:bold;text-decoration:none}.gep-catalog .gep-family-heading{font-size:24px;margin-top:18px}.gep-catalog .gep-selectors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}.gep-catalog .gep-selectors label{font-weight:bold;min-width:0}.gep-catalog .gep-selectors select{font-weight:normal}.gep-catalog .gep-detail-toolbar{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.gep-catalog .gep-detail-toolbar h2{margin:0;font-size:24px}.gep-catalog .gep-detail h3{font-size:22px}.gep-catalog .gep-detail{margin-top:20px}.gep-catalog .gep-search-results button{display:block;width:100%;text-align:left;margin:8px 0}.gep-catalog .gep-search-results small{display:block}.gep-catalog .gep-catalog-link{margin-top:12px}.gep-catalog .gep-head h1{font-size:27px;margin:12px 0}.gep-catalog .gep-docs h2{font-size:22px}
@media(max-width:1000px){.gep-catalog .gep-brands,.gep-catalog .gep-families{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.gep-catalog .gep-brands,.gep-catalog .gep-families{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gep-catalog .gep-selectors{grid-template-columns:1fr}.gep-catalog .gep-families h3{font-size:16px}.gep-catalog .gep-family-photo{height:76px}.gep-catalog .gep-families .gep-card{min-height:146px;padding:12px 8px}.gep-catalog .gep-head img{max-width:190px}.gep-catalog .gep-detail .gep-photo{height:280px}}

.gep-brand-switch{display:grid;gap:10px;min-width:220px}.gep-brand-switch label{display:grid;gap:6px;font-size:14px}.gep-brand-switch select{width:100%;font:inherit;padding:10px;background:white;border:1px solid #c4d1d8;border-radius:5px}@media(max-width:650px){.gep-brand-switch{min-width:0;width:100%}}

/* Catálogos directos y documentación a elección del visitante. */
.gep-catalog .gep-catalog-link h2{font-size:20px;margin:16px 0 10px}.gep-catalog-actions{display:flex;gap:10px;flex-wrap:wrap}.gep-catalog details.gep-docs{padding:0}.gep-catalog .gep-docs summary{cursor:pointer;padding:16px 18px;font-weight:bold;min-height:52px;font-size:19px}.gep-catalog .gep-docs-content{padding:0 18px 14px}.gep-catalog .gep-docs summary:hover{background:#e3edf2;border-radius:8px}.gep-catalog .gep-docs summary:focus-visible{outline:3px solid #efa64e;outline-offset:3px}

.gep-catalog .gep-family-description{font-size:13px;line-height:1.4;margin:2px 0 9px;color:#536d7c}.gep-catalog .gep-family-catalog{margin:20px 0;padding:18px;border:1px solid #d7e1e7;border-radius:8px}.gep-catalog .gep-family-catalog h2{font-size:21px;margin:0 0 8px}

/* CETYSUME: ampliar solo la fotografía original del cable para bomba sumergible. */
.gep-catalog[data-product="cetya-p-14"] .gep-detail .gep-photo>img{width:360px;max-width:100%;height:auto;max-height:100%;object-fit:contain}@media(max-width:650px){.gep-catalog[data-product="cetya-p-14"] .gep-detail .gep-photo>img{width:300px}}

/* Centrar también las últimas filas incompletas de tarjetas. */
.gep-catalog .gep-families,.gep-catalog .gep-brands{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch}
.gep-catalog .gep-families>.gep-card,.gep-catalog .gep-brands>.gep-card{flex:0 0 calc((100% - 42px)/4)}
@media(max-width:1000px){.gep-catalog .gep-families>.gep-card,.gep-catalog .gep-brands>.gep-card{flex-basis:calc((100% - 28px)/3)}}
@media(max-width:650px){.gep-catalog .gep-families>.gep-card,.gep-catalog .gep-brands>.gep-card{flex-basis:calc((100% - 10px)/2)}}

/* Nombre comercial descriptivo y referencia original conservada. */
.gep-catalog .gep-family-code{display:block;font-size:14px;margin:0 0 6px;color:#536d7c}.gep-catalog .gep-factory-code{margin:0 0 18px;font-size:16px}

/* Texto secundario de tarjetas: legible también en celular. */
.gep-catalog .gep-card p,.gep-catalog .gep-card span,.gep-catalog .gep-card .gep-family-description,.gep-catalog .gep-card .gep-family-code{font-size:14px;line-height:1.45;color:#486176}

/* SOMA: referencia y presentaciones por color y formato. */
.gep-catalog .gep-pack-description{font-size:15px;color:#486176}

/* SOMA: foto compacta y centrada, con la misma escala entre colores. */
.gep-catalog[data-brand="soma"] .gep-detail .gep-photo{height:220px}
.gep-catalog[data-brand="soma"] .gep-detail .gep-photo>img{width:100%;height:100%;max-width:280px;max-height:220px;object-fit:contain}

/* SOMA en celular: foto compacta y centrada, con el código más cerca. */
@media(max-width:700px){.gep-catalog[data-brand="soma"] .gep-detail .gep-photo{height:180px}.gep-catalog[data-brand="soma"] .gep-detail .gep-photo>img{width:100%;height:100%;max-width:240px;max-height:180px;object-fit:contain}}
