/* Presentation only. All gallery behaviour remains in the AI Onboarding plugin. */
.ios-shell .ios-template-gallery-section {
  padding: clamp(32px, 4vw, 64px) var(--ios-page-gutter, clamp(20px, 3.5vw, 88px));
  background: #edf3ff;
}
.ios-shell .ios-template-gallery-section .ios-ai-template-catalogue {
  width: 100%; max-width: none; margin: 0; padding: 0;
  border: 0; border-radius: 0; background: transparent;
  color: #10234b; font-family: 'Geist', sans-serif;
}
.ios-template-gallery-section :is(h2, h3) {
  font-family: 'Clash Grotesk', 'Geist', sans-serif;
  font-weight: 500; color: #10234b; letter-spacing: -.035em;
}
.ios-shell .ios-template-gallery-section h2 {
  font-size: clamp(28px, 3vw, 48px); line-height: 1.12;
  padding: 0; margin: 10px 0 16px;
}
.ios-shell .ios-template-gallery-section h3 {
  font-size: clamp(22px, 1.7vw, 28px); line-height: 1.2; padding: 0;
}
.ios-shell .ios-template-gallery-section p { font-size: 16px; line-height: 1.6; color: #526588; padding-bottom: 0; }
.ios-template-gallery-section .ios-ai-catalogue-kicker,
.ios-template-gallery-section .ios-ai-catalogue-filter-label,
.ios-template-gallery-section .ios-ai-catalogue-scope span {
  text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 14px; color: #526588;
}
.ios-template-gallery-section .ios-ai-catalogue-controls { border-radius: 4px; border-color: #cedbfa; }
.ios-template-gallery-section .ios-ai-catalogue-card { border-radius: 4px; box-shadow: none; border-color: #cedbfa; }
.ios-template-gallery-section .ios-ai-catalogue-card-content { display: flex; flex-direction: column; height: auto; }
.ios-template-gallery-section .ios-ai-catalogue-card-actions { margin-top: auto; flex-wrap: wrap; }
.ios-template-gallery-section :is(button, select, a) { font-family: inherit; }
.ios-template-gallery-section .ios-ai-catalogue-filter-buttons button { font-weight: 500; }
.ios-template-gallery-section .ios-ai-catalogue-filter-buttons button.is-active,
.ios-template-gallery-section .ios-ai-button-primary {
  background: #155eef; border-color: #155eef; color: #fff; background-image: none;
}
.ios-template-gallery-section :is(.ios-ai-catalogue-ai-link, .ios-ai-button) { border-radius: 4px; box-shadow: none; }
.ios-template-gallery-section :is(.ios-ai-catalogue-ai-link, .ios-ai-catalogue-card-actions > a) { color: #155eef; }
.ios-template-gallery-section :is(button, a, select):focus-visible { outline: 2px solid #155eef; outline-offset: 3px; }
@media (max-width: 700px) {
  .ios-template-gallery-section .ios-ai-catalogue-header { flex-direction: column; gap: 18px; }
  .ios-template-gallery-section .ios-ai-catalogue-card-heading { flex-wrap: wrap; }
}

/* The same catalogue, presented on demand from the six product-page heroes. */
dialog.ios-shell.ios-design-gallery-dialog:not([open]){display:none!important}
dialog.ios-shell.ios-design-gallery-dialog{position:fixed;inset:0;width:calc(100% - 40px);max-width:1280px!important;max-height:90vh;max-height:90dvh;height:auto;margin:auto;padding:0;border:1px solid #d3dff3;border-radius:12px;background:#edf3ff;color:#10234b;overflow:auto;overscroll-behavior:contain;box-sizing:border-box;box-shadow:0 24px 80px #07142e40}
.ios-design-gallery-dialog::backdrop{background:rgb(7 20 46 / .65)}
.ios-design-gallery-dialog .ios-design-dialog-toolbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;background:#fff;border-bottom:1px solid #d3dff3;font-family:'Geist',sans-serif;font-size:18px;font-weight:600}
.ios-design-dialog-toolbar button{display:flex;align-items:center;gap:12px;min-height:44px;padding:8px 16px;border:1px solid #c8d6ef;border-radius:6px;background:white;color:#10234b;font:inherit;font-size:15px;cursor:pointer}
.ios-design-dialog-toolbar button:focus-visible{outline:3px solid #155eef;outline-offset:2px}
.ios-design-dialog-toolbar button span{font-size:26px;line-height:1}
.ios-shell.ios-design-gallery-dialog .ios-template-gallery-section{padding:24px}
@media(max-width:600px){dialog.ios-shell.ios-design-gallery-dialog{width:calc(100% - 16px);max-height:94vh;max-height:94dvh;border-radius:8px}.ios-design-gallery-dialog .ios-design-dialog-toolbar{padding:10px 16px}.ios-shell.ios-design-gallery-dialog .ios-template-gallery-section{padding:20px 16px}}
