/* Homepage hero carousel — wraps Shoplift ambassador hero + product slides */
.bs-hero-carousel {
  --bs-hero-fg: #fff8f1;
  --bs-hero-accent: #d4ba88;
  --bs-hero-ink: #1a1b18;
  --bs-hero-sale: #aa804b;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #c4a484;
  isolation: isolate;
}

.bs-hero-carousel__viewport {
  position: relative;
  width: 100%;
  min-height: min(78vh, 640px);
}

.bs-hero-carousel__track {
  position: relative;
  width: 100%;
  min-height: inherit;
}

.bs-hero-carousel__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: inherit;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.02);
  transition:
    opacity 0.85s ease,
    visibility 0.85s ease,
    transform 1.1s ease;
}

.bs-hero-carousel__slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  z-index: 1;
}

/* Keep original Shoplift hero filling the slide */
.bs-hero-carousel__slide--ambassador,
.bs-hero-carousel__slide--ambassador > .shopify-section,
.bs-hero-carousel__slide--ambassador .sl-brandstyle-5f58e103-5a57-474b-bb12-642d7d67bee7,
.bs-hero-carousel__slide--ambassador .sl-pattern-01bc4a64-4654-4d95-8fc5-526ffadf8b8a,
.bs-hero-carousel__slide--ambassador .sl-section {
  min-height: inherit;
  height: 100%;
}

.bs-hero-carousel__slide--ambassador .shoplift--template--15922191007793__sl_image_hero_1_2_rEjrWN.sl-section {
  min-height: inherit;
  height: 100%;
}

.bs-hero-carousel__slide--ambassador .shoplift--template--15922191007793__sl_image_hero_1_2_rEjrWN--content-inner {
  min-height: inherit;
}

/* Product slides */
.bs-hero-slide {
  position: relative;
  display: grid;
  min-height: inherit;
  color: var(--bs-hero-fg);
  overflow: hidden;
}

.bs-hero-slide__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bs-hero-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: transform 6.5s ease;
}

.bs-hero-carousel__slide.is-active .bs-hero-slide__media img {
  transform: scale(1);
}

.bs-hero-slide__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(26, 27, 24, 0.72) 0%, rgba(26, 27, 24, 0.38) 42%, rgba(26, 27, 24, 0.12) 100%),
    linear-gradient(180deg, rgba(26, 27, 24, 0.18) 0%, rgba(26, 27, 24, 0.42) 100%);
  pointer-events: none;
}

.bs-hero-slide--soft .bs-hero-slide__media::after {
  background:
    linear-gradient(105deg, rgba(38, 28, 22, 0.78) 0%, rgba(38, 28, 22, 0.35) 48%, rgba(38, 28, 22, 0.08) 100%),
    linear-gradient(180deg, transparent 40%, rgba(26, 27, 24, 0.45) 100%);
}

.bs-hero-slide__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: clamp(4.8rem, 10vw, 8rem) 5%;
  min-height: inherit;
}

.bs-hero-slide__inner {
  max-width: 34rem;
  display: grid;
  gap: 1rem;
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 0.7s ease 0.15s, transform 0.7s ease 0.15s;
}

.bs-hero-carousel__slide.is-active .bs-hero-slide__inner {
  opacity: 1;
  transform: translateY(0);
}

.bs-hero-slide__eyebrow {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bs-hero-accent);
  font-family: var(--font-body-family, inherit);
}

.bs-hero-slide__heading {
  margin: 0;
  font-size: clamp(2.6rem, 4.2vw, 4rem);
  line-height: 1.12;
  font-weight: 600;
  color: #fff;
  font-family: var(--font-heading-family, Georgia, "Times New Roman", serif);
}

.bs-hero-slide__text {
  margin: 0;
  max-width: 28rem;
  font-size: 1.5rem;
  line-height: 1.45;
  color: rgba(255, 248, 241, 0.88);
}

.bs-hero-slide__price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.8rem;
  margin: 0.2rem 0 0.4rem;
  font-family: var(--font-price-family, var(--font-heading-family, Georgia, serif));
}

.bs-hero-slide__price-was {
  position: relative;
  color: rgba(255, 248, 241, 0.7);
  font-size: 1.5rem;
  font-weight: 300;
  text-decoration: none;
}

.bs-hero-slide__price-was::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  border-bottom: 0.1rem solid var(--bs-hero-sale);
  opacity: 0.85;
  transform: rotate(-12deg);
}

.bs-hero-slide__price-now {
  color: var(--bs-hero-accent);
  font-size: 2rem;
  font-weight: 500;
}

.bs-hero-slide__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
  padding: 1.3rem 2.4rem;
  width: fit-content;
  background: #fff8f1;
  color: var(--bs-hero-ink);
  text-decoration: none;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 0;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.bs-hero-slide__cta:hover {
  background: #fff;
  transform: translateY(-1px);
}

.bs-hero-slide__cta i {
  font-size: 1.2em;
}

/* Controls */
.bs-hero-carousel__nav {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.bs-hero-carousel__btn {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 4.4rem;
  height: 4.4rem;
  border: 1px solid rgba(255, 248, 241, 0.45);
  border-radius: 50%;
  background: rgba(26, 27, 24, 0.28);
  color: #fff8f1;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.bs-hero-carousel__btn:hover,
.bs-hero-carousel__btn:focus-visible {
  background: rgba(26, 27, 24, 0.55);
  border-color: rgba(255, 248, 241, 0.85);
  outline: none;
}

.bs-hero-carousel__btn--prev { left: 1.2rem; }
.bs-hero-carousel__btn--next { right: 1.2rem; }

.bs-hero-carousel__btn svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.bs-hero-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.7rem;
  pointer-events: auto;
}

.bs-hero-carousel__dot {
  width: 0.8rem;
  height: 0.8rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 248, 241, 0.4);
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.bs-hero-carousel__dot[aria-current="true"] {
  background: #fff8f1;
  transform: scale(1.25);
}

.bs-hero-carousel__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 4;
  background: rgba(255, 248, 241, 0.15);
  overflow: hidden;
}

.bs-hero-carousel__progress > span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--bs-hero-accent);
  transform-origin: left center;
}

.bs-hero-carousel.is-playing .bs-hero-carousel__progress > span {
  animation: bs-hero-progress var(--bs-hero-interval, 6000ms) linear forwards;
}

@keyframes bs-hero-progress {
  from { width: 0%; }
  to { width: 100%; }
}

@media screen and (max-width: 767px) {
  .bs-hero-carousel__viewport {
    min-height: min(88vh, 720px);
  }

  .bs-hero-slide__content {
    align-items: flex-end;
    padding: 5rem 5% 6.5rem;
  }

  .bs-hero-slide__media::after {
    background:
      linear-gradient(180deg, rgba(26, 27, 24, 0.15) 0%, rgba(26, 27, 24, 0.55) 48%, rgba(26, 27, 24, 0.82) 100%);
  }

  .bs-hero-slide__heading {
    font-size: 2.8rem;
  }

  .bs-hero-carousel__btn {
    width: 3.6rem;
    height: 3.6rem;
    top: auto;
    bottom: 4.4rem;
    transform: none;
  }

  .bs-hero-carousel__btn--prev { left: 1rem; }
  .bs-hero-carousel__btn--next { right: 1rem; }

  .bs-hero-carousel__dots {
    bottom: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bs-hero-carousel__slide,
  .bs-hero-slide__inner,
  .bs-hero-slide__media img {
    transition: none;
  }

  .bs-hero-carousel.is-playing .bs-hero-carousel__progress > span {
    animation: none;
    width: 100%;
  }
}
