/* IPSolutionsGroup | Galerías Grandstream | 16/10/2026 */
#centrales-ucm .ips-catalog-tabs, #telefonos-grandstream .ips-catalog-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 22px}
#telefonos-grandstream .ips-catalog-tabs{margin:10px 0 8px}
.ips-catalog-tab{font:inherit;cursor:pointer;white-space:nowrap;padding:12px 17px;border:1px solid #d8e0e6;border-radius:10px;color:#23313d;background:#fff;font-weight:800;font-size:14px;line-height:1.2;transition:background .2s,color .2s,border-color .2s,transform .2s}
.ips-catalog-tab[aria-pressed="true"]{background:#15212b;color:#fff;border-color:#15212b;box-shadow:inset 0 -3px 0 #fa7429}
.ips-catalog-tab:focus-visible,.ips-gallery-arrows button:focus-visible,.ips-gallery-viewport:focus-visible,.ips-model-quote:focus-visible{outline:3px solid #fa7429;outline-offset:3px}
.ips-catalog-tab:hover:not([aria-pressed="true"]){border-color:#f18a48;background:#fff4ec;transform:translateY(-2px)}
/* Only the active central family is visible after JS starts. No-JS: both remain visible. */
.ips-showroom-ready .ips-central-family[hidden]{display:none!important}
.ips-showroom-ready .ips-catalog-card[hidden]{display:none!important}
#centrales-ucm .ips-central-family{padding:22px 24px 17px;border-radius:18px;background:#fff}
#centrales-ucm .gs-family-header{margin-bottom:20px}
#centrales-ucm .gs-family-header h3{font-size:24px}
#centrales-ucm .gs-model-grid.ips-gallery-viewport,
#centrales-ucm .gs-audio-grid.ips-gallery-viewport,
#telefonos-grandstream .ips-phone-rack.ips-gallery-viewport{
  display:flex!important;grid-template-columns:none!important;overflow-x:auto;overflow-y:hidden;
  gap:16px;scroll-snap-type:x mandatory;scroll-padding:4px;scroll-behavior:smooth;
  overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;
  padding:8px 3px 18px;scrollbar-width:thin;scrollbar-color:#a6b3bf transparent;
}
#centrales-ucm .gs-model.ips-catalog-card,
#centrales-ucm .gs-audio-model.ips-catalog-card{flex:0 0 calc((100% - 32px)/3);scroll-snap-align:start;display:flex;flex-direction:column;min-height:284px;box-sizing:border-box;min-width:0;background:linear-gradient(160deg,#fff,#f6f8fa);border:1px solid #e1e6ea;border-radius:16px;overflow:hidden}
#centrales-ucm .gs-audio-model.ips-catalog-card{padding:16px}
#centrales-ucm .gs-model-media{height:145px;padding:10px}
#centrales-ucm .gs-model-media img{height:100px}
#centrales-ucm .gs-audio-photo{height:130px;display:grid;place-items:center}
#centrales-ucm .gs-audio-photo img{width:100%;height:105px;object-fit:contain}
#centrales-ucm .gs-model-details{padding:13px 18px}
#centrales-ucm .ips-catalog-card h4{color:#15212b;font-size:20px;margin-bottom:7px}
#centrales-ucm .ips-catalog-card p{font-size:13px;margin-bottom:14px}
.ips-model-quote{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff0e6;border:1px solid #ffccaa;border-radius:9px;color:#a9480b;text-decoration:none;font-size:13px;font-weight:850;padding:10px 12px;margin:auto 12px 13px;transition:background .2s,border-color .2s}
.ips-model-quote:hover{background:#ffe0c8;border-color:#f9a665;color:#823900}
#centrales-ucm .gs-audio-model .ips-model-quote{margin:16px 0 0}
.ips-gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:4px}
.ips-gallery-count{font-size:13px;font-weight:750;color:#526577}
.ips-gallery-arrows{display:flex;gap:9px}
.ips-gallery-arrows button{display:grid;place-items:center;cursor:pointer;height:42px;width:46px;border-radius:11px;border:1px solid #fa7225;background:#fb752b;color:#fff;font-size:23px;font-weight:800;transition:background .2s,transform .2s}
.ips-gallery-arrows button:hover:not(:disabled){background:#cf5513;transform:translateY(-2px)}
.ips-gallery-arrows button:disabled{opacity:.38;cursor:not-allowed;background:#e8edf0;color:#627281;border-color:#cbd4dc}
#telefonos-grandstream .ips-phone-head{margin-bottom:12px}
.ips-catalog-help{color:#536877;font-size:14px;line-height:1.55;margin:6px 0 18px}
#telefonos-grandstream .ips-phone-rack.ips-gallery-viewport{gap:19px}
#telefonos-grandstream .ips-phone-item.ips-catalog-card{flex:0 0 calc((100% - 38px)/3);min-width:0;scroll-snap-align:start;display:flex;flex-direction:column;background:#fff;border:1px solid #dfe5eb;border-radius:16px;padding:16px;box-shadow:0 10px 26px rgba(8,27,40,.04);box-sizing:border-box}
#telefonos-grandstream .ips-phone-image{height:188px;border-radius:9px}
#telefonos-grandstream .ips-phone-image img{height:164px}
#telefonos-grandstream .ips-phone-item h4{margin:14px 0 3px}
#telefonos-grandstream .ips-phone-item p{margin:8px 0 15px;min-height:50px}
#telefonos-grandstream .ips-model-quote{margin:auto 0 0}
#telefonos-grandstream .ips-phone-disclaimer{margin-top:23px}
@media(max-width:880px){
 #centrales-ucm .gs-model.ips-catalog-card,#centrales-ucm .gs-audio-model.ips-catalog-card,
 #telefonos-grandstream .ips-phone-item.ips-catalog-card{flex-basis:calc((100% - 16px)/2)}
}
@media(max-width:570px){
 #centrales-ucm .ips-catalog-tabs,#telefonos-grandstream .ips-catalog-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding:2px 2px 10px;margin:14px 0}
 #centrales-ucm .ips-central-family{padding:17px 14px}
 #centrales-ucm .gs-model.ips-catalog-card,#centrales-ucm .gs-audio-model.ips-catalog-card,
 #telefonos-grandstream .ips-phone-item.ips-catalog-card{flex-basis:85%;max-width:355px}
 #telefonos-grandstream .ips-phone-item.ips-catalog-card{padding:14px}
 #telefonos-grandstream .ips-phone-image{height:160px}
 #telefonos-grandstream .ips-phone-image img{height:142px}
 #centrales-ucm .gs-model-media{height:122px}
 #centrales-ucm .gs-model-media img{height:92px}
 .ips-gallery-arrows button{height:44px;width:46px}
 .ips-gallery-count{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.ips-gallery-viewport{scroll-behavior:auto!important}.ips-catalog-tab,.ips-model-quote,.ips-gallery-arrows button{transition:none!important}}
