/* CAPGO V4.2: scoped customer template gallery and preview controls. */
body.page-id-4231 #main-content .cgs[data-cgs-release] .cgs-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.page-id-4231 #main-content .cgs[data-cgs-release] .cgs-preset-grid button[data-cgs-template]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:0;text-align:center;padding:10px 6px;line-height:1.35;white-space:normal}
body.page-id-4231 #main-content .cgs[data-cgs-release] .cgs-preset-grid button[data-cgs-template] svg{width:100%;height:auto;aspect-ratio:320/126;max-width:none;background:#15171b;border-radius:6px}
.cgs .cgs-preset-grid button small{display:block;color:#c6cbd4;font-size:11px;font-weight:400}.cgs .cgs420-preview-tools{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-top:12px}.cgs .cgs420-preview-tools label{flex:1;min-width:140px}.cgs .cgs420-preview-tools select,.cgs .cgs420-preview-tools button{min-height:44px}.cgs .cgs420-preview-tools button:disabled{opacity:.5}.cgs .cgs-preset-grid button:focus-visible,.cgs .cgs420-preview-tools :focus-visible{outline:3px solid #f4d58c;outline-offset:3px}
@media(max-width:420px){body.page-id-4231 #main-content .cgs[data-cgs-release] .cgs-preset-grid{grid-template-columns:1fr}}
