/* Outletmor Hero — full-screen homepage hero. Each slide is a photo with a
   self-contained promo CARD floating over it: a white (or dark) top panel
   (logo / headline / subtitle / link / countdown) and an optional colour
   band of repeating discount text. Palette/type from the outletmor-v4
   theme's CSS custom properties, with fallbacks. */
.outletmorhero {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: calc(100vh - var(--om-header, 4.25rem));
  min-height: 30rem;
  max-height: 60rem;
  background: var(--om-tile, #f2f2ee);
  --om-font: var(--om-font, Jost, "Helvetica Neue", Helvetica, Arial, sans-serif);
}
.outletmorhero__track { position: relative; width: 100%; height: 100%; }
.outletmorhero__slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .6s ease, visibility 0s linear .6s;
}
.outletmorhero__slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 1; }
.outletmorhero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.outletmorhero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 14, 4, .28) 0%, rgba(10, 14, 4, .08) 45%, rgba(10, 14, 4, 0) 70%);
}

/* ---------- The promo card ---------- */
.outletmorhero__card {
  position: absolute; top: 50%; z-index: 2;
  width: clamp(13.3rem, 21vw, 18.9rem);
  border-radius: 2px; overflow: hidden;
  box-shadow: 0 24px 70px rgba(10, 14, 4, .35);
}
.outletmorhero__card--left { left: clamp(1rem, 6vw, 5rem); transform: translateY(-50%); }
.outletmorhero__card--right { right: clamp(1rem, 6vw, 5rem); transform: translateY(-50%); }
.outletmorhero__card--center { left: 50%; transform: translate(-50%, -50%); }

.outletmorhero__card-top {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  padding: clamp(1.4rem, 2.4vw, 2.1rem) clamp(1.1rem, 2vw, 1.6rem) clamp(1.1rem, 2vw, 1.6rem);
  background: #fff; color: var(--om-ink, #26261f); text-align: center;
}
.outletmorhero__card--dark .outletmorhero__card-top { background: #1c1c17; color: #fff; }

.outletmorhero__logo { height: clamp(4.5rem, 9vw, 7.8rem); width: auto; max-width: 100%; object-fit: contain; margin-bottom: .3rem; }
.outletmorhero__eyebrow { margin: 0; font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.outletmorhero__title {
  margin: 0; font-family: var(--om-font); font-weight: 400; letter-spacing: -.005em;
  font-size: clamp(1.73rem, 3.15vw, 2.55rem); line-height: 1.15;
}
.outletmorhero__subtitle { margin: 0; font-size: .82rem; line-height: 1.5; opacity: .8; }
.outletmorhero__cta {
  margin-top: .15rem; font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: underline; text-underline-offset: 3px; color: inherit;
}
.outletmorhero__cta:hover { opacity: .7; }

/* Countdown — white box */
.outletmorhero__countdown {
  align-self: stretch; margin-top: .6rem; padding: .7rem .4rem .55rem;
  background: #fff; color: var(--om-ink, #26261f); border: 1px solid rgba(10, 14, 4, .14); border-radius: 1px;
}
.outletmorhero__countdown-label { margin: 0 0 .4rem; font-size: .55rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .6; }
.outletmorhero__countdown-clock { display: flex; justify-content: space-around; font-variant-numeric: tabular-nums; }
.outletmorhero__countdown-cell { display: flex; flex-direction: column; align-items: center; gap: .1rem; flex: 1; }
.outletmorhero__countdown-cell + .outletmorhero__countdown-cell { border-left: 1px solid rgba(10, 14, 4, .12); }
.outletmorhero__countdown-cell b { font-family: var(--om-font); font-weight: 400; font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1; }
.outletmorhero__countdown-cell i { font-style: normal; font-size: .48rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .55; }

/* The colour band with repeating discount text */
.outletmorhero__card-band {
  position: relative; overflow: hidden;
  min-height: clamp(9rem, 17vh, 15rem);
}
.outletmorhero__card-band-inner {
  position: absolute; top: 50%; left: 50%; width: 260%;
  transform: translate(-50%, -50%) rotate(-14deg);
  display: flex; flex-direction: column; gap: .1em;
  font-family: var(--om-font); font-weight: 700; font-size: clamp(1.1rem, 3.4vw, 1.75rem);
  line-height: 1.16; white-space: nowrap; color: #fff;
}
.outletmorhero__card-band-inner span { display: block; }
.outletmorhero__card-band-inner span:nth-child(even) { text-indent: -1.4em; }
.outletmorhero__card-band-inner span.is-outline { color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .5); }

/* ---------- Carousel arrows + dots ---------- */
.outletmorhero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .22); color: #fff;
  opacity: 0; transition: opacity .2s ease, background .2s ease;
}
.outletmorhero:hover .outletmorhero__arrow, .outletmorhero__arrow:focus-visible { opacity: 1; }
.outletmorhero__arrow:hover { background: rgba(255, 255, 255, .4); }
.outletmorhero__arrow svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.outletmorhero__arrow--prev { left: clamp(.6rem, 2vw, 1.5rem); }
.outletmorhero__arrow--next { right: clamp(.6rem, 2vw, 1.5rem); }

.outletmorhero__dots {
  position: absolute; left: 50%; bottom: clamp(.9rem, 2vw, 1.4rem); z-index: 3;
  transform: translateX(-50%);
  display: flex; gap: .45rem; padding: .4rem .6rem; border-radius: 999px; background: rgba(10, 14, 4, .3);
}
.outletmorhero__dots button { width: .5rem; height: .5rem; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: background .2s ease, transform .2s ease; }
.outletmorhero__dots button[aria-current='true'] { background: #fff; transform: scale(1.3); }

@media (max-width: 640px) {
  .outletmorhero { height: calc(100svh - var(--om-tabbar-height, 3.7rem)); min-height: 26rem; max-height: none; }
  .outletmorhero__arrow { display: none; }
  .outletmorhero__scrim { background: linear-gradient(180deg, rgba(10, 14, 4, .35) 0%, rgba(10, 14, 4, .1) 50%, rgba(10, 14, 4, .2) 100%); }
  .outletmorhero__card,
  .outletmorhero__card--left,
  .outletmorhero__card--right,
  .outletmorhero__card--center {
    width: min(calc(100% - 1.75rem), 24rem);
    left: 50%; right: auto;
    transform: translate(-50%, -50%);
  }
  .outletmorhero__card-band { min-height: clamp(8rem, 22vh, 12rem); }
}
@media (prefers-reduced-motion: reduce) {
  .outletmorhero__slide { transition: opacity .01s linear; }
}
