/* Homepage-only banner. Independent of the catalog/product carousel. */
.home-slider {
  --home-slider-surface: #14344c;
  --home-slider-accent: #f59a52;
  position: relative;
  width: 100%;
  margin: 0;
  color: #fff;
  background: var(--home-slider-surface);
  isolation: isolate;
}
.home-slider *, .home-slider *::before, .home-slider *::after { box-sizing: border-box; }
.home-slider [hidden] { display: none !important; }
.home-slider__viewport { position: relative; max-width: 1440px; margin-inline: auto; }
.home-slider__slide { position: relative; display: grid; margin: 0; }
.home-slider__slide--entering { animation: home-slider-reveal 280ms ease-out; }
@keyframes home-slider-reveal { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .home-slider__slide--entering { animation: none; } }
.home-slider__media { position: relative; grid-area: 1 / 1; aspect-ratio: 3 / 1; width: 100%; height: 100%; overflow: hidden; background: #16394f; }
.home-slider__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-slider__slide--with-caption .home-slider__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 26, 41, .91), rgba(8, 26, 41, .55) 39%, rgba(8, 26, 41, .04) 75%); pointer-events: none; }
.home-slider__caption { position: relative; z-index: 1; grid-area: 1 / 1; width: 55%; min-height: min(33.333vw, 480px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; padding: 32px clamp(24px, 4.4vw, 64px) 64px; }
.home-slider__title { flex-shrink: 0; max-width: 100%; margin: 0; color: #fff; font-size: clamp(28px, 3.3vw, 48px); line-height: 1.4; font-weight: 700; letter-spacing: -.035em; text-wrap: balance; overflow-wrap: anywhere; }
.home-slider__description { flex-shrink: 0; max-width: min(100%, 46ch); margin: 0; color: #e0eaf1; font-size: clamp(14px, 1.22vw, 17px); line-height: 1.55; overflow-wrap: anywhere; }
.home-slider__link { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 24px; min-height: 44px; max-width: 100%; padding: 10px 18px; border: 1px solid #f8ae74; border-radius: 5px; color: #172c3c; background: var(--home-slider-accent); font-size: 14px; font-weight: 750; line-height: 1.4; text-decoration: none; }
.home-slider__link:hover { color: #172c3c; background: #ffb477; }
.home-slider__link span { font-size: 21px; line-height: 1; }
.home-slider__controls { position: absolute; z-index: 2; inset: auto 24px 14px auto; display: flex; align-items: center; gap: 6px; max-width: calc(100% - 48px); padding: 3px; border: 1px solid rgba(218, 231, 242, .24); border-radius: 28px; background: rgba(10, 30, 46, .86); }
.home-slider__control, .home-slider__dot { display: inline-flex; flex: 0 0 auto; justify-content: center; align-items: center; width: 44px; height: 44px; min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: 50%; color: #fff; background: transparent; cursor: pointer; }
.home-slider__control:hover, .home-slider__dot:hover { background: rgba(255, 255, 255, .12); }
.home-slider__control svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-slider__dots { position: relative; display: flex; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.home-slider__dots::-webkit-scrollbar { display: none; }
.home-slider__dot { width: 32px; }
.home-slider__dot span { width: 6px; height: 6px; border-radius: 8px; background: #b4c5d2; }
.home-slider__dot[aria-current="true"] span { width: 19px; background: var(--home-slider-accent); }
.home-slider__play-icon, .home-slider__pause[aria-pressed="true"] .home-slider__pause-icon { display: none; }
.home-slider__pause[aria-pressed="true"] .home-slider__play-icon { display: block; }
.home-slider :focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.home-slider__control:focus-visible, .home-slider__dot:focus-visible { outline-offset: -3px; }
.home-slider__status { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.home-slider__image-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; color: #d7e3ec; font-size: 14px; text-align: center; }
.home-slider__slide--image-unavailable img { visibility: hidden; }
.home-slider__slide--with-caption.home-slider__slide--image-unavailable .home-slider__image-fallback { inset-inline-start: 55%; }
@media (min-width: 901px) and (max-width: 1100px) {
  .home-slider__caption { gap: 12px; padding-top: 20px; padding-bottom: 60px; }
}
@media (max-width: 900px) {
  .home-slider__slide { display: block; }
  .home-slider__media { height: auto; }
  .home-slider__slide--with-caption .home-slider__media::after { display: none; }
  .home-slider__caption { position: static; width: 100%; min-height: 314px; justify-content: flex-start; gap: 12px; padding: 22px 24px 78px; }
  .home-slider__title { font-size: clamp(25px, 4.6vw, 34px); }
  .home-slider__description { max-width: min(100%, 65ch); font-size: 14px; }
  .home-slider__controls { inset: auto 16px 12px auto; max-width: calc(100% - 32px); }
  .home-slider__slide--with-caption.home-slider__slide--image-unavailable .home-slider__image-fallback { inset-inline-start: 0; }
}
@media (max-width: 380px) {
  .home-slider__caption { padding-inline: 20px; }
  .home-slider__title { font-size: 25px; }
  .home-slider__controls { gap: 2px; }
}
