/*
Small Lake City 2.16.28
SAFE companion cleanup for the stable 2.16.26 Home Catalog.
IMPORTANT: targets ONLY the DOM/classes emitted by 2.16.26.
No route, content, template, image source, or asset replacement.
*/

/* Never create a second catalog or alter page routing. */
body #slc21626-catalog {
  position:relative !important;
  z-index:1 !important;
}

/* Preserve the successful 2.16.26 breakout/canvas. */
body #slc21626-catalog.slc21626-breakout {
  width:100vw !important;
  max-width:none !important;
  left:50% !important;
  margin-left:-50vw !important;
  margin-right:0 !important;
  transform:none !important;
  overflow:visible !important;
}

body #slc21626-catalog .slc21626-shell {
  width:min(1240px,100%) !important;
  max-width:1240px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Final vertical rhythm only. */
body #slc21626-catalog .slc21626-intro {
  margin-bottom:44px !important;
}
body #slc21626-catalog .slc21626-model {
  margin-bottom:50px !important;
  padding-bottom:50px !important;
}
body #slc21626-catalog .slc21626-model-head {
  margin-bottom:17px !important;
}
body #slc21626-catalog .slc21626-model-grid {
  gap:24px !important;
}
body #slc21626-catalog .slc21626-support {
  gap:18px !important;
}
body #slc21626-catalog .slc21626-facts {
  margin-top:20px !important;
}
body #slc21626-catalog .slc21626-sequence {
  margin-top:24px !important;
}

/* Preserve complete authoritative images; do not crop or rebind anything. */
body #slc21626-catalog img {
  visibility:visible !important;
  opacity:1 !important;
  transform:none !important;
}
body #slc21626-catalog .slc21626-hero {
  overflow:visible !important;
}
body #slc21626-catalog .slc21626-hero img {
  max-width:100% !important;
  height:auto !important;
  object-fit:contain !important;
}
body #slc21626-catalog .slc21626-support img {
  max-width:100% !important;
  object-fit:contain !important;
}
body #slc21626-catalog .slc21626-gallery img {
  max-width:100% !important;
}

/* Make model labels/support captions cleaner without changing structure. */
body #slc21626-catalog .slc21626-support figcaption,
body #slc21626-catalog .slc21626-gallery figcaption {
  line-height:1.25 !important;
}
body #slc21626-catalog .slc21626-model:not(:last-of-type) {
  border-bottom-color:#d2ddd7 !important;
}

/*
WordPress admin bar:
Only pin the real #wpadminbar to the browser viewport.
This does not touch the site header/nav or catalog DOM.
*/
html body.admin-bar > #wpadminbar {
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  width:100% !important;
  z-index:999999 !important;
  margin:0 !important;
  transform:none !important;
}

@media screen and (min-width:783px) {
  html body.admin-bar {
    padding-top:32px !important;
  }
}
@media screen and (max-width:782px) {
  html body.admin-bar {
    padding-top:46px !important;
  }
}

@media(max-width:900px){
  body #slc21626-catalog .slc21626-model-grid {
    grid-template-columns:1fr !important;
  }
}
@media(max-width:680px){
  body #slc21626-catalog .slc21626-support,
  body #slc21626-catalog .slc21626-facts,
  body #slc21626-catalog .slc21626-gallery {
    grid-template-columns:1fr !important;
  }
}
