/* OrderStraight homepage hero — namespaced .os-home-hero only */
.os-home-hero {
  --osh-navy: var(--os-primary, #1C2A44);
  position: relative; max-width: 1200px; margin: 12px auto 4px; padding: 0 16px;
  box-sizing: border-box; outline: none;
}
.os-home-hero:focus-visible .os-home-hero__viewport { box-shadow: 0 0 0 3px var(--osh-navy); }
body.os-rail-view .os-home-hero { display: none !important; }
.os-home-hero__viewport {
  position: relative; width: 100%; aspect-ratio: 2 / 1; overflow: hidden;
  border-radius: 16px; background: #EEF0F4; touch-action: pan-y;
}
.os-home-hero__slide { margin: 0; position: absolute; inset: 0; }
.os-home-hero__slide[hidden] { display: none !important; }
.os-home-hero__slide.is-active { animation: os-home-hero-in .45s ease both; }
.os-home-hero__slide a { display: block; width: 100%; height: 100%; -webkit-tap-highlight-color: transparent; }
.os-home-hero__slide a:focus-visible { outline: 3px solid var(--osh-navy); outline-offset: -3px; }
.os-home-hero__slide img {
  display: block; width: 100%; height: 100%; object-fit: contain; object-position: center;
  -webkit-user-drag: none; user-select: none;
}
@keyframes os-home-hero-in { from { opacity: 0; } to { opacity: 1; } }
.os-home-hero__controls {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 0 0;
}
.os-home-hero__controls[hidden] { display: none; }
.os-home-hero__dots { display: flex; gap: 2px; }
.os-home-hero__dots button {
  width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.os-home-hero__dots button::before {
  content: ""; width: 7px; height: 7px; border-radius: 4px; background: rgba(28,42,68,.25);
  transition: width .2s ease, background-color .2s ease;
}
.os-home-hero__dots button[aria-current="true"]::before { width: 18px; background: var(--osh-navy); }
.os-home-hero__dots button:focus-visible,
.os-home-hero__pause:focus-visible { outline: 2px solid var(--osh-navy); outline-offset: 1px; border-radius: 6px; }
.os-home-hero__pause {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(28,42,68,.2);
  background: #FBFBFD; color: var(--osh-navy); cursor: pointer; padding: 0; position: relative;
}
.os-home-hero__pause::before, .os-home-hero__pause::after {
  content: ""; position: absolute; top: 9px; width: 3px; height: 10px; background: currentColor; border-radius: 1px;
}
.os-home-hero__pause::before { left: 9px; }
.os-home-hero__pause::after { left: 14px; }
.os-home-hero__pause.is-paused::after { display: none; }
.os-home-hero__pause.is-paused::before {
  left: 10px; top: 8px; width: 0; height: 0; background: none; border-radius: 0;
  border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent currentColor;
}
.os-home-hero__pause svg, .os-home-hero__pause > * { display: none; }
@media (max-width: 767px) {
  .os-home-hero { margin: 0 0 2px; padding: 0; }
  .os-home-hero__viewport { border-radius: 0; }
  .os-home-hero__controls { padding-top: 4px; gap: 6px; }
  .os-home-hero__dots button { width: 20px; height: 20px; }
  .os-home-hero__pause { width: 24px; height: 24px; }
  .os-home-hero__pause::before, .os-home-hero__pause::after { top: 7px; }
  .os-home-hero__pause::before { left: 7px; } .os-home-hero__pause::after { left: 12px; }
  .os-home-hero__pause.is-paused::before { left: 8px; top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .os-home-hero__slide.is-active { animation: none; }
  .os-home-hero__dots button::before { transition: none; }
}
