.template-gallery-controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px;display:flex}.template-price-toggle{background:#f1f3f7;border-radius:8px;gap:4px;padding:5px;display:flex}.template-price-toggle button{border-radius:5px;min-height:44px;padding:11px 20px;font-size:14px;font-weight:600}.template-price-toggle button[aria-pressed=true]{background:var(--wq-midnight);color:#fff}.template-gallery-controls label{align-items:center;gap:12px;font-size:14px;display:flex}.template-gallery-controls select{background:#fff;border:1px solid #d8dce3;border-radius:6px;max-width:100%;padding:12px}.template-results{color:var(--wq-muted);margin-bottom:28px;font-size:14px}.template-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 32px;display:grid}.template-gallery-card{min-width:0;position:relative}.template-gallery-card>a{z-index:2;border-radius:8px;position:absolute;inset:0}.template-gallery-card>a:focus-visible{outline:3px solid var(--wq-azure);outline-offset:5px}.template-gallery-preview{pointer-events:none;-webkit-user-select:none;user-select:none;background:#f4f5f7;border:1px solid #dfe3ea;border-radius:8px;height:340px;overflow:hidden}.template-gallery-meta{justify-content:space-between;align-items:center;gap:16px;margin-top:18px;display:flex}.template-gallery-meta h2{letter-spacing:-.03em;font-size:22px;font-weight:600}.template-gallery-business{color:var(--wq-muted);margin-top:7px;font-size:14px}.template-gallery-empty{text-align:center;background:#f6f7fa;padding:70px 20px}.template-gallery-empty button{margin-top:20px;text-decoration:underline}@media (max-width:760px){.template-gallery-grid{grid-template-columns:minmax(0,1fr);gap:36px}.template-gallery-controls{align-items:stretch}.template-price-toggle{width:100%}.template-price-toggle button{flex:1;padding:10px}.template-gallery-controls label{flex-wrap:wrap}.template-gallery-preview{height:280px}}.template-gallery-preview{container-type:inline-size}.template-gallery-preview>*{width:1100px;transform:scale(calc(100cqw / 1100px));transform-origin:0 0}