/* KSK Designer 0.9.0: mobile imagery browsing and keyboard-safe editing. */
@media(max-width:850px) {
  .kskd-mobile-sheet .kskd-pixabay-results,
  .kskd-shell .kskd-pixabay-results { grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:6px!important; }
  .kskd-mobile-sheet .kskd-pixabay-results .kskd-source-item,
  .kskd-shell .kskd-pixabay-results .kskd-source-item { padding:3px!important; aspect-ratio:1/1; }
  .kskd-mobile-sheet .kskd-pixabay-results .kskd-source-item img,
  .kskd-shell .kskd-pixabay-results .kskd-source-item img { width:100%!important;height:100%!important;object-fit:cover!important;border-radius:5px!important; }
  .kskd-mobile-sheet .kskd-pixabay-results .kskd-source-item span,
  .kskd-shell .kskd-pixabay-results .kskd-source-item span { position:absolute!important; width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important; }
  .kskd-mobile-sheet input.kskd-new-text { font-size:16px!important; scroll-margin-block:10px; }
}

.kskd-switch-grid .kskd-switch-group-heading{grid-column:1/-1;font-weight:750;font-size:14px;padding:11px 0 5px;border-bottom:1px solid #d6e1ef;color:#193f63}

@media(max-width:850px) {
  /* Keep browser focus scrolling inside the bottom sheet rather than scrolling the entire product page. */
  .kskd-mobile-sheet:not([hidden]) { position:fixed!important; overscroll-behavior:contain!important; overflow-anchor:none!important; }
  .kskd-mobile-sheet:not([hidden]) .kskd-mobile-sheet-content { overscroll-behavior:contain!important; overflow-anchor:none!important; }
  .kskd-mobile-sheet:not([hidden]) .kskd-text-creator textarea,
  .kskd-mobile-sheet:not([hidden]) input:not([type=range]):not([type=color]) { font-size:16px!important; }
}
