.cs-pdp .cs-promo-banner {
  --cs-promo-plum: #600165;
  --cs-promo-lilac: #c880cb;
  --cs-promo-ink: #28172a;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  margin: 20px 0 0;
  padding: 16px;
  border: 1px solid #e7dfe7;
  border-left: 3px solid var(--cs-promo-lilac);
  border-radius: 12px;
  background: #fbf7fb;
  color: var(--cs-promo-ink);
}

.cs-pdp > .cs-promo-banner--before-routine {
  margin: clamp(32px, 5vw, 64px) auto 0;
}

.cs-pdp .cs-promo-banner__icon,
.cs-promo-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--cs-promo-plum, #600165);
}

.cs-pdp .cs-promo-banner__icon svg,
.cs-promo-modal__icon svg {
  width: 25px;
  height: 27px;
}

.cs-pdp .cs-promo-banner__content {
  min-width: 0;
}

.cs-pdp .cs-promo-banner__eyebrow,
.cs-promo-modal__eyebrow {
  display: block;
  margin: 0 0 3px;
  color: #766a77;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.cs-pdp .cs-promo-banner__title {
  display: block;
  margin: 0;
  color: var(--cs-promo-ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.cs-pdp .cs-promo-banner__text {
  margin: 4px 0 0;
  color: #6f6270;
  font-size: 13px;
  line-height: 1.45;
}

.cs-pdp .cs-promo-banner__equation {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: 10px;
}

.cs-pdp .cs-promo-banner__equation span {
  display: inline-flex;
  gap: 4px;
  align-items: baseline;
  padding: 5px 9px;
  border: 1px solid #e7dfe7;
  border-radius: 8px;
  background: #fff;
  color: #5e5260;
  font-size: 12px;
  line-height: 1;
}

.cs-pdp .cs-promo-banner__equation b {
  color: var(--cs-promo-plum);
  font-size: 15px;
}

.cs-pdp .cs-promo-banner__equation i {
  color: var(--cs-promo-lilac);
  font-style: normal;
  font-weight: 800;
}

.cs-pdp .cs-promo-banner__assurance {
  display: block;
  margin-top: 9px;
  color: #5e5260;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.cs-pdp .cs-promo-banner__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--cs-promo-plum);
  border-radius: 10px;
  background: var(--cs-promo-plum);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.cs-pdp .cs-promo-banner__button:hover,
.cs-pdp .cs-promo-banner__button:focus-visible {
  border-color: #7a237e;
  background: #7a237e;
  color: #fff;
}

.cs-pdp .cs-promo-banner__button:focus-visible,
.cs-promo-modal button:focus-visible,
.cs-promo-modal select:focus-visible {
  outline: 3px solid rgba(200, 128, 203, .42);
  outline-offset: 2px;
}

.cs-promo-modal[hidden] {
  display: none !important;
}

.cs-promo-modal {
  --cs-promo-plum: #600165;
  --cs-promo-lilac: #c880cb;
  --cs-promo-ink: #28172a;
  position: fixed;
  inset: 0;
  z-index: var(--cs-z-modal, 1000);
  display: grid;
  place-items: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}

.cs-promo-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(40, 23, 42, .54);
  opacity: 0;
  cursor: default;
  transition: opacity 160ms ease;
}

.cs-promo-modal__dialog {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(760px, 100%);
  max-height: calc(100dvh - max(32px, env(safe-area-inset-top) + env(safe-area-inset-bottom)));
  overflow: auto;
  overscroll-behavior: contain;
  padding: 24px;
  border: 1px solid #e7dfe7;
  border-radius: 14px;
  background: #fffefd;
  box-shadow: 0 24px 70px rgba(40, 23, 42, .2);
  color: var(--cs-promo-ink);
  opacity: 0;
  transform: translateY(14px) scale(.99);
  transition: opacity 160ms ease, transform 160ms ease;
}

.cs-promo-modal__dialog:focus {
  outline: none;
}

.cs-promo-modal.is-open .cs-promo-modal__backdrop,
.cs-promo-modal.is-open .cs-promo-modal__dialog {
  opacity: 1;
}

.cs-promo-modal.is-open .cs-promo-modal__dialog {
  transform: translateY(0) scale(1);
}

.cs-promo-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #e7dfe7;
  border-radius: 50%;
  background: #fff;
  color: var(--cs-promo-ink);
  font: inherit;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

.cs-promo-modal__header {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 0 54px 20px 0;
  border-bottom: 1px solid #e7dfe7;
}

.cs-promo-modal__icon {
  width: 48px;
  height: 48px;
  background: #faf4fb;
}

.cs-promo-modal__title {
  margin: 0;
  color: var(--cs-promo-ink);
  font-size: clamp(21px, 3vw, 28px);
  font-weight: 800;
  line-height: 1.15;
}

.cs-promo-modal__message {
  margin: 7px 0 0;
  color: #6f6270;
  font-size: 14px;
  line-height: 1.55;
}

.cs-promo-modal__body {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
  gap: 20px 24px;
  padding-top: 20px;
}

.cs-promo-modal__product {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.cs-promo-modal__media {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e7dfe7;
  border-radius: 10px;
  background: #faf4fb;
}

.cs-promo-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cs-promo-modal__product-copy {
  min-width: 0;
}

.cs-promo-modal__product-copy > span,
.cs-promo-modal__field-label,
.cs-promo-modal__variation-field > span {
  display: block;
  margin-bottom: 5px;
  color: #766a77;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1.3;
  text-transform: uppercase;
}

.cs-promo-modal__product-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--cs-promo-ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cs-promo-modal__product-copy p {
  margin: 7px 0 0;
  color: #6f6270;
  font-size: 13px;
  line-height: 1.4;
}

.cs-promo-modal__equation {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e7dfe7;
  border-radius: 10px;
  background: #fbf7fb;
}

.cs-promo-modal__equation > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 64px;
}

.cs-promo-modal__equation b {
  color: var(--cs-promo-plum);
  font-size: 25px;
  line-height: 1;
}

.cs-promo-modal__equation span {
  margin-top: 5px;
  color: #6f6270;
  font-size: 12px;
  font-weight: 700;
}

.cs-promo-modal__equation i {
  color: var(--cs-promo-lilac);
  font-size: 20px;
  font-style: normal;
  font-weight: 800;
}

.cs-promo-modal__variation-fields {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cs-promo-modal__variation-fields[hidden] {
  display: none;
}

.cs-promo-modal__select-wrap {
  position: relative;
  display: block;
}

.cs-promo-modal__select-wrap::after {
  position: absolute;
  inset-inline-end: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--cs-promo-plum);
  border-bottom: 2px solid var(--cs-promo-plum);
  content: "";
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.cs-promo-modal__variation-field select {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 0 50px 0 16px;
  border: 1px solid #d9cfd9;
  border-radius: 10px;
  background: #fff;
  color: var(--cs-promo-ink);
  font: inherit;
  font-size: 14px;
  line-height: 1.35;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.cs-promo-modal__variation-field select:hover {
  border-color: rgba(96, 1, 101, .42);
  background-color: #fffefd;
}

.cs-promo-modal__variation-field select:focus-visible {
  border-color: var(--cs-promo-plum);
  box-shadow: 0 0 0 3px rgba(200, 128, 203, .22);
  outline: none;
}

.cs-promo-modal__variation-field select:disabled {
  border-color: #e7dfe7;
  background: #f7f3f7;
  color: #918792;
  cursor: not-allowed;
}

.cs-promo-modal__select-wrap:has(select:disabled)::after {
  border-color: #aaa1ab;
}

.cs-promo-modal__purchase-row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(190px, .8fr) minmax(280px, 1.2fr);
  gap: 20px;
  align-items: end;
}

.cs-promo-modal__stepper {
  display: grid;
  grid-template-columns: 44px minmax(48px, 1fr) 44px;
  align-items: center;
  width: min(180px, 100%);
  min-height: 48px;
  overflow: hidden;
  border: 1px solid #d9cfd9;
  border-radius: 10px;
  background: #fff;
}

.cs-promo-modal__stepper button {
  align-self: stretch;
  min-width: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cs-promo-plum);
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}

.cs-promo-modal__stepper button:disabled {
  color: #c9c1c9;
  cursor: not-allowed;
}

.cs-promo-modal__stepper output {
  color: var(--cs-promo-ink);
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.cs-promo-modal__summary {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid #e7dfe7;
}

.cs-promo-modal__summary > div {
  display: flex;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #e7dfe7;
}

.cs-promo-modal__summary dt,
.cs-promo-modal__summary dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}

.cs-promo-modal__summary dt {
  color: #6f6270;
}

.cs-promo-modal__summary dd {
  color: var(--cs-promo-ink);
  font-weight: 800;
  text-align: right;
}

.cs-promo-modal__summary .is-highlight dd {
  color: var(--cs-promo-plum);
  font-size: 17px;
}

.cs-promo-modal__status {
  min-height: 20px;
  margin: 14px 0 0;
  color: #9b1c1c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.cs-promo-modal__actions {
  display: grid;
  grid-template-columns: minmax(140px, .6fr) minmax(220px, 1.4fr);
  gap: 10px;
  margin-top: 6px;
}

.cs-promo-modal__actions button {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.cs-promo-modal__secondary {
  border: 1px solid #d9cfd9;
  background: #fff;
  color: var(--cs-promo-plum);
}

.cs-promo-modal__primary {
  border: 1px solid var(--cs-promo-plum);
  background: var(--cs-promo-plum);
  color: #fff;
}

.cs-promo-modal__primary:disabled {
  border-color: #d9cfd9;
  background: #e7dfe7;
  color: #766a77;
  cursor: not-allowed;
}

@media (max-width: 767px) {
  .cs-pdp .cs-promo-banner {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .cs-pdp .cs-promo-banner__icon {
    width: 40px;
    height: 40px;
  }

  .cs-pdp .cs-promo-banner__button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .cs-promo-modal {
    align-items: end;
    padding: 0;
  }

  .cs-promo-modal__dialog {
    width: 100%;
    max-height: calc(100dvh - max(12px, env(safe-area-inset-top)));
    padding: 20px 16px max(16px, env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 14px 14px 0 0;
    transform: translateY(24px);
  }

  .cs-promo-modal__close {
    top: 10px;
    right: 12px;
  }

  .cs-promo-modal__header {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    padding-right: 44px;
  }

  .cs-promo-modal__icon {
    width: 40px;
    height: 40px;
  }

  .cs-promo-modal__body {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cs-promo-modal__product {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .cs-promo-modal__equation,
  .cs-promo-modal__variation-fields,
  .cs-promo-modal__purchase-row {
    grid-column: 1;
  }

  .cs-promo-modal__variation-fields,
  .cs-promo-modal__purchase-row,
  .cs-promo-modal__actions {
    grid-template-columns: 1fr;
  }

  .cs-promo-modal__stepper {
    width: 100%;
  }

  .cs-promo-modal__actions {
    display: flex;
    flex-direction: column-reverse;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cs-pdp .cs-promo-banner__button,
  .cs-promo-modal__backdrop,
  .cs-promo-modal__dialog {
    transition: none;
  }
}
