/* SAAD Performance Studio v2.3 — focused visual and editor compatibility fixes. */
html { background: #0c1413; }
body.saad-performance-theme { margin: 0; }
/* WordPress admin bar must not inject a white seam above the site header. */
body.saad-performance-theme .elementor-location-header,
body.saad-performance-theme .saad-site-header,
body.saad-performance-theme .saad-editor-header { margin-block-start: 0; padding-block-start: 0; }
body.saad-performance-theme .elementor-location-header:empty { display: none; }
/* The skip link remains keyboard accessible but occupies no layout space. */
body.saad-performance-theme > a.skip-link.screen-reader-text:not(:focus) {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important;
}
/* Text Editor typography inherits from the widget, enabling all Elementor controls. */
body.saad-performance-theme .elementor-widget-text-editor p,
body.saad-performance-theme .elementor-widget-text-editor li {
  font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit;
  line-height: inherit; letter-spacing: inherit; color: inherit;
}
/* Each apparel showcase image and caption now links to its product. */
body.saad-performance-theme .saad-editorial-gallery .saad-gallery-product {
  position: relative; display: block; min-width: 0; overflow: hidden;
  background: #15211d; isolation: isolate; color: #fff;
}
body.saad-performance-theme .saad-editorial-gallery .saad-gallery-product img {
  width: 100%; height: 205px; object-fit: cover; display: block;
  transition: transform .35s ease;
}
body.saad-performance-theme .saad-editorial-gallery .saad-gallery-product:hover img,
body.saad-performance-theme .saad-editorial-gallery .saad-gallery-product:focus-visible img { transform: scale(1.045) !important; }
body.saad-performance-theme .saad-gallery-product__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 13px 12px;
  display: flex; align-items: end; justify-content: space-between; gap: 8px;
  color: #fff; font: 700 12px/1.25 Manrope, Arial, sans-serif;
  background: linear-gradient(0deg, rgba(0,0,0,.82), rgba(0,0,0,0));
}
body.saad-performance-theme .saad-gallery-product__caption > span { color: var(--saad-accent); font-size: 17px; }
@media (max-width: 767px) {
  body.saad-performance-theme .saad-editorial-gallery .saad-gallery-product img { height: 150px; }
}
@media (prefers-reduced-motion: reduce) { body.saad-performance-theme .saad-gallery-product img { transition: none; } }
