/* MARK: Shop hero carousel */

/* MARK: Hero carousel — split copy/image panels */

.shop-hero-v2 {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  min-height: 500px;
  background: var(--calabash-light-grey);
}

.shop-hero-v2__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--calabash-white);
}

.shop-hero-v2__seam {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 40%;
  width: 140px;
  margin-left: -20px;
  background: linear-gradient(to right, var(--calabash-white) 0%, var(--calabash-white) 15%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.shop-hero-v2__copy-viewport {
  flex: 1 1 auto;
  overflow: hidden;
}

.shop-hero-v2__copy-track {
  display: flex;
  height: 100%;
  transition: transform 700ms ease;
  will-change: transform;
}

.shop-hero-v2__copy-slide {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 100%;
  flex: 0 0 100%;
}

@media (prefers-reduced-motion: reduce) {
  .shop-hero-v2__copy-track,
  .shop-hero-v2__image-track {
    transition: none;
  }
}

.shop-hero-v2__inner {
  width: min(calc(100% - 40px), 580px);
  margin-left: max(20px, calc((var(--calabash-viewport) - var(--calabash-page-max-width)) / 2));
  padding: 40px 50px 10px 0;
}

.shop-hero-v2__eyebrow {
  margin: 0 0 10px;
  color: var(--calabash-company-orange-a11y);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.shop-hero-v2 h1 {
  margin: 0;
  min-height: 2.97em;
  color: var(--calabash-navy);
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.99;
}

.shop-hero-v2__description {
  max-width: 540px;
  margin: 16px 0 0;
  min-height: 2.9em;
  color: var(--calabash-muted);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.45;
}

.shop-hero-v2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.shop-hero-v2__actions .calabash-ora-light-button,
.shop-hero-v2__actions .calabash-ora-solid-button {
  min-width: 260px;
}

.shop-hero-v2__actions--static {
  flex: 0 0 auto;
  margin-top: 0;
  padding: 0 40px 20px max(20px, calc((var(--calabash-viewport) - var(--calabash-page-max-width)) / 2));
}

.shop-hero-v2__points {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 0 40px 32px max(20px, calc((var(--calabash-viewport) - var(--calabash-page-max-width)) / 2));
}

.shop-hero-v2__point {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--calabash-navy);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.shop-hero-v2__point img {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  object-fit: contain;
}

.shop-hero-v2__image {
  position: relative;
  overflow: hidden;
  height: 500px;
  background-color: var(--calabash-border);
}

.shop-hero-v2__image-viewport {
  height: 100%;
  overflow: hidden;
  transform: scaleX(-1);
}

.shop-hero-v2__image-track {
  display: flex;
  height: 100%;
  transition: transform 700ms ease;
  will-change: transform;
}

.shop-hero-v2__image-slide {
  width: 100%;
  min-width: 100%;
  flex: 0 0 100%;
  height: 100%;
  transform: scaleX(-1);
}

.shop-hero-v2__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.shop-hero-v2__image-slide--contain img {
  background-color: var(--calabash-white);
  object-fit: contain;
}

.shop-hero-v2__dots {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 24px;
  left: 20px;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.shop-hero-v2__dot {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 6px 18px var(--calabash-navy-14);
  color: var(--calabash-navy);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  transition:
    background-color var(--calabash-transition),
    color var(--calabash-transition),
    transform var(--calabash-transition);
}

.shop-hero-v2__dot:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.shop-hero-v2__dot:focus-visible {
  outline: 2px solid var(--calabash-company-orange-a11y);
  outline-offset: 3px;
}

.shop-hero-v2__dot.is-active {
  border-color: transparent;
  background: var(--calabash-company-orange-a11y);
  color: var(--calabash-white);
}

@media (max-width: 1100px) {
  .shop-hero-v2 {
    grid-template-columns: minmax(0, 45%) minmax(0, 55%);
  }

  .shop-hero-v2__seam {
    left: 45%;
  }

  .shop-hero-v2__inner {
    padding-right: 25px;
  }

  .shop-hero-v2__actions--static {
    padding-right: 25px;
  }

  .shop-hero-v2__points {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-right: 25px;
  }
}

@media (max-width: 820px) {
  .shop-hero-v2__seam {
    display: none;
  }

  .shop-hero-v2 {
    display: flex;
    min-height: auto;
    flex-direction: column-reverse;
  }

  .shop-hero-v2__image,
  .shop-hero-v2__image img {
    height: 420px;
  }

  .shop-hero-v2__image img {
    object-position: 62% center;
  }

  .shop-hero-v2__dots {
    right: 16px;
    bottom: 16px;
    left: 16px;
    gap: 10px;
  }

  .shop-hero-v2__dot {
    width: 52px;
    height: 52px;
    font-size: 0.56rem;
  }

  .shop-hero-v2__inner {
    width: min(calc(100% - 44px), var(--calabash-page-max-width));
    margin-inline: auto;
    padding: 50px 0 10px;
  }

  .shop-hero-v2 h1 {
    min-height: 0;
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .shop-hero-v2__description {
    min-height: 0;
  }

  .shop-hero-v2__actions--static {
    width: min(calc(100% - 44px), var(--calabash-page-max-width));
    margin-inline: auto;
    padding: 0 0 20px;
  }

  .shop-hero-v2__points {
    width: min(calc(100% - 44px), var(--calabash-page-max-width));
    margin-inline: auto;
    padding: 0 0 30px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 590px) {
  .shop-hero-v2__image,
  .shop-hero-v2__image img {
    height: 315px;
  }

  .shop-hero-v2__dots {
    right: 10px;
    bottom: 10px;
    left: 10px;
    gap: 8px;
  }

  .shop-hero-v2__dot {
    width: 44px;
    height: 44px;
    font-size: 0.5rem;
  }

  .shop-hero-v2__actions {
    display: grid;
  }

  .shop-hero-v2__actions .calabash-ora-light-button,
  .shop-hero-v2__actions .calabash-ora-solid-button {
    min-width: 0;
  }

  .shop-hero-v2__points {
    grid-template-columns: 1fr;
  }
}

