/* RC8 inline promotion carousel. Visual-only layer; catalog/order logic remains in RC7. */
.promo-strip-section {
  /* Only the LEFT edge reaches the viewport; original right inset remains. */
  width: calc(100% + 22px);
  margin: 10px 0 18px -22px;
  overflow: visible;
}

.promo-strip-section[hidden] {
  display: none !important;
}

.promo-strip-track {
  display: flex;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.promo-strip-track::-webkit-scrollbar {
  display: none;
}

.promo-card {
  position: relative;
  flex: 0 0 100%;
  min-height: 154px;
  scroll-snap-align: start;
  overflow: hidden;
  /* Break Point signature: square left; generous rounded right with a subtle inward scoop. */
  border-radius: 0 44px 44px 0;
  -webkit-mask-image: radial-gradient(circle 21px at 100% 50%, transparent 0 20px, #000 21px);
  mask-image: radial-gradient(circle 21px at 100% 50%, transparent 0 20px, #000 21px);
  color: #fff;
  isolation: isolate;
}

.promo-card::before,
.promo-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
}

.promo-card::before {
  width: 210px;
  height: 210px;
  top: -112px;
  right: -42px;
  background: rgba(255,255,255,.17);
}

.promo-card::after {
  width: 120px;
  height: 120px;
  bottom: -70px;
  left: 24%;
  background: rgba(255,255,255,.09);
}

.promo-tone-sunrise { background: linear-gradient(112deg, #f47c28 0%, #f2a13a 55%, #f8c76e 100%); }
.promo-tone-ember { background: linear-gradient(112deg, #8f271f 0%, #d84c31 52%, #f17a3b 100%); }
.promo-tone-citrus { background: linear-gradient(112deg, #779a1d 0%, #b7c932 52%, #e7c545 100%); }
.promo-tone-forest { background: linear-gradient(112deg, #173d34 0%, #2d7965 52%, #61aa87 100%); }
.promo-tone-berry { background: linear-gradient(112deg, #4c245e 0%, #8b3472 50%, #c65386 100%); }

.promo-card-inner {
  position: relative;
  min-height: 154px;
  width: min(calc(100% - 44px), 760px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 23px 0 25px;
}

.promo-card-copy {
  min-width: 0;
}

.promo-card-badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.94);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.promo-card h3 {
  margin: 9px 0 5px;
  max-width: 580px;
  color: #fff;
  font-size: clamp(25px, 7vw, 38px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.promo-card p {
  max-width: 580px;
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: clamp(13px, 3.7vw, 16px);
  font-weight: 430;
  line-height: 1.38;
  letter-spacing: -.012em;
}

.promo-card-art {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 24px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
  font-size: 42px;
  backdrop-filter: blur(13px);
}

.promo-card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 11px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.promo-card-custom {
  aspect-ratio: 16 / 9;
  min-height: 154px;
  background: #eee;
}

.promo-card-custom::before,
.promo-card-custom::after {
  display: none;
}

.promo-card-custom-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-custom-action {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.promo-strip-dots {
  min-height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 9px;
}

.promo-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c9c6c1;
  transition: width .2s ease, background .2s ease;
}

.promo-dot.active {
  width: 20px;
  background: #1c1c1e;
}

@media (max-width: 470px) {
  .promo-strip-section {
    width: calc(100% + 16px);
    margin: 4px 0 15px -16px;
  }

  .promo-card,
  .promo-card-inner {
    min-height: 142px;
  }

  .promo-card-inner {
    width: calc(100% - 32px);
    gap: 12px;
    padding: 20px 0 22px;
  }

  .promo-card-art {
    width: 66px;
    height: 66px;
    border-radius: 21px;
    font-size: 36px;
  }

  .promo-card-custom {
    min-height: 132px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-strip-track { scroll-behavior: auto; }
  .promo-dot { transition: none; }
}
