.cpcs-category-slider {
  --cpcs-height-desktop: 100vh;
  --cpcs-height-tablet: 90vh;
  --cpcs-height-mobile: 80vh;
  --cpcs-content-max-width: 760px;
  --cpcs-content-justify: flex-start;
  --cpcs-content-text-align: left;
  --cpcs-text-color: #493b3f;
  --cpcs-heading-color: #2f2428;
  --cpcs-btn-bg: #8f6b74;
  --cpcs-btn-color: #ffffff;
  --cpcs-btn-bg-hover: unset;
  --cpcs-btn-color-hover: unset;
  --cpcs-btn-secondary-bg-hover: unset;
  --cpcs-btn-secondary-color-hover: unset;
  --cpcs-btn-secondary-border-hover: unset;
  --cpcs-overlay-color: #f5e6df;
  --cpcs-overlay-opacity: 0.55;
  --cpcs-btn-radius: 999px;
  --cpcs-transition-speed: 700ms;
  --cpcs-slides-per-view: var(--cpcs-slides-per-view-desktop, 3);
  --cpcs-slide-gap: var(--cpcs-slide-gap-desktop, 24px);
  --cpcs-eyebrow-size: var(--cpcs-eyebrow-size-desktop, unset);
  --cpcs-heading-size: var(--cpcs-heading-size-desktop, unset);
  --cpcs-description-size: var(--cpcs-description-size-desktop, unset);
  --cpcs-button-size: var(--cpcs-button-size-desktop, unset);
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 420px;
  height: var(--cpcs-height-desktop);
  background: #f7f0ec;
  color: var(--cpcs-text-color);
}

.cpcs-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
}

.cpcs-slides {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.cpcs-category-slider:not(.cpcs-is-multi) .cpcs-slide {
  --cpcs-nudge-x: 0%;
  --cpcs-nudge-y: 0%;
  --cpcs-manual-x: 10%;
  --cpcs-manual-y: 50%;
  --cpcs-manual-text-align: left;
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--cpcs-transition-speed) ease-in-out,
    visibility var(--cpcs-transition-speed) linear;
}

.cpcs-category-slider:not(.cpcs-is-multi) .cpcs-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.cpcs-category-slider:not(.cpcs-is-multi) .cpcs-slide.is-next,
.cpcs-category-slider:not(.cpcs-is-multi) .cpcs-slide.is-leaving {
  visibility: visible;
  pointer-events: none;
}

.cpcs-category-slider:not(.cpcs-is-multi) .cpcs-slide.is-next {
  opacity: 0;
  z-index: 3;
}

.cpcs-category-slider:not(.cpcs-is-multi) .cpcs-slide.is-leaving {
  opacity: 0;
  z-index: 2;
}

.cpcs-category-slider.cpcs-is-multi .cpcs-slides {
  display: flex;
  gap: var(--cpcs-slide-gap);
  height: 100%;
  will-change: transform;
  transition: transform var(--cpcs-transition-speed) ease;
}

.cpcs-category-slider.cpcs-is-multi .cpcs-slide {
  position: relative;
  inset: auto;
  flex: 0 0
    calc(
      (100% - (var(--cpcs-slides-per-view) - 1) * var(--cpcs-slide-gap)) /
        var(--cpcs-slides-per-view)
    );
  height: 100%;
  min-width: 0;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  border-radius: 12px;
  overflow: hidden;
}

.cpcs-category-slider.cpcs-is-multi .cpcs-slide-inner {
  padding: clamp(16px, 2vw, 28px);
}

.cpcs-category-slider.cpcs-is-multi .cpcs-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.cpcs-category-slider.cpcs-is-multi .cpcs-eyebrow {
  min-height: 1lh;
}

.cpcs-category-slider.cpcs-is-multi .cpcs-heading {
  font-size: var(--cpcs-heading-size, clamp(1.15rem, 1.8vw, 1.65rem));
  min-height: 2lh;
}

.cpcs-category-slider.cpcs-is-multi .cpcs-description {
  font-size: var(--cpcs-description-size, clamp(0.85rem, 1.2vw, 0.95rem));
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cpcs-category-slider.cpcs-is-multi .cpcs-buttons {
  margin-top: 1rem;
}

.cpcs-category-slider.cpcs-is-multi .cpcs-btn {
  font-size: var(--cpcs-button-size, 0.82rem);
  padding: 0.65rem 1rem;
}

.cpcs-slide-bg,
.cpcs-slide-overlay {
  position: absolute;
  inset: 0;
}

.cpcs-slide-bg {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  transform: scale(1.01);
  transition:
    transform var(--cpcs-transition-speed) ease,
    opacity var(--cpcs-transition-speed) ease;
}

.cpcs-slide-overlay {
  background-color: var(--cpcs-overlay-color);
  opacity: var(--cpcs-overlay-opacity);
}

.cpcs-slide-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: var(--cpcs-content-justify);
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: clamp(24px, 4vw, 72px);
}

.cpcs-content {
  max-width: var(--cpcs-slide-content-max-width, var(--cpcs-content-max-width));
  width: min(
    100%,
    var(--cpcs-slide-content-max-width, var(--cpcs-content-max-width))
  );
  text-align: var(--cpcs-content-text-align);
  color: var(--cpcs-text-color);
  transition:
    opacity var(--cpcs-transition-speed) ease,
    transform var(--cpcs-transition-speed) ease;
}

.cpcs-content > * {
  transition:
    opacity var(--cpcs-transition-speed) ease,
    transform var(--cpcs-transition-speed) ease;
}

.cpcs-position-mode-preset .cpcs-content {
  transform: translate(var(--cpcs-nudge-x), var(--cpcs-nudge-y));
}

.cpcs-position-mode-manual .cpcs-slide-inner {
  align-items: stretch;
  justify-content: stretch;
}

.cpcs-position-mode-manual .cpcs-content {
  position: absolute;
  top: var(--cpcs-manual-y);
  left: var(--cpcs-manual-x);
  text-align: var(--cpcs-manual-text-align);
}

.cpcs-position-mode-manual[data-manual-text-align="left"] .cpcs-content {
  transform: translate(0, -50%);
}

.cpcs-position-mode-manual[data-manual-text-align="center"] .cpcs-content {
  transform: translate(-50%, -50%);
}

.cpcs-position-mode-manual[data-manual-text-align="right"] .cpcs-content {
  transform: translate(-100%, -50%);
}

.cpcs-preset-left-top .cpcs-slide-inner {
  justify-content: flex-start;
  align-items: flex-start;
}

.cpcs-preset-left-top .cpcs-content {
  text-align: left;
}

.cpcs-preset-center-top .cpcs-slide-inner {
  justify-content: center;
  align-items: flex-start;
}

.cpcs-preset-center-top .cpcs-content {
  text-align: center;
}

.cpcs-preset-right-top .cpcs-slide-inner {
  justify-content: flex-end;
  align-items: flex-start;
}

.cpcs-preset-right-top .cpcs-content {
  text-align: right;
}

.cpcs-preset-left-center .cpcs-slide-inner {
  justify-content: flex-start;
  align-items: center;
}

.cpcs-preset-left-center .cpcs-content {
  text-align: left;
}

.cpcs-preset-center-center .cpcs-slide-inner {
  justify-content: center;
  align-items: center;
}

.cpcs-preset-center-center .cpcs-content {
  text-align: center;
}

.cpcs-preset-right-center .cpcs-slide-inner {
  justify-content: flex-end;
  align-items: center;
}

.cpcs-preset-right-center .cpcs-content {
  text-align: right;
}

.cpcs-preset-left-bottom .cpcs-slide-inner {
  justify-content: flex-start;
  align-items: flex-end;
}

.cpcs-preset-left-bottom .cpcs-content {
  text-align: left;
}

.cpcs-preset-center-bottom .cpcs-slide-inner {
  justify-content: center;
  align-items: flex-end;
}

.cpcs-preset-center-bottom .cpcs-content {
  text-align: center;
}

.cpcs-preset-right-bottom .cpcs-slide-inner {
  justify-content: flex-end;
  align-items: flex-end;
}

.cpcs-preset-right-bottom .cpcs-content {
  text-align: right;
}

.cpcs-category-slider.is-transition-slide-left
  .cpcs-slide.is-next
  .cpcs-slide-bg {
  transform: translateX(7%) scale(1.01);
}

.cpcs-category-slider.is-transition-slide-left
  .cpcs-slide.is-leaving
  .cpcs-slide-bg {
  transform: translateX(-7%) scale(1.01);
}

.cpcs-category-slider.is-transition-slide-right
  .cpcs-slide.is-next
  .cpcs-slide-bg {
  transform: translateX(-7%) scale(1.01);
}

.cpcs-category-slider.is-transition-slide-right
  .cpcs-slide.is-leaving
  .cpcs-slide-bg {
  transform: translateX(7%) scale(1.01);
}

.cpcs-category-slider.is-transition-zoom-fade
  .cpcs-slide.is-next
  .cpcs-slide-bg {
  transform: scale(1.08);
}

.cpcs-category-slider.is-transition-zoom-fade
  .cpcs-slide.is-leaving
  .cpcs-slide-bg {
  transform: scale(0.95);
}

.cpcs-category-slider.is-transition-fade-up-content
  .cpcs-slide.is-next
  .cpcs-content
  > * {
  opacity: 0;
  transform: translateY(24px);
}

.cpcs-category-slider.is-transition-fade-up-content
  .cpcs-slide.is-active
  .cpcs-content
  > * {
  opacity: 1;
  transform: translateY(0);
}

.cpcs-eyebrow {
  font-size: var(--cpcs-eyebrow-size, 0.8rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.85rem;
  color: var(--cpcs-text-color);
  opacity: 0.9;
  text-shadow: var(--cpcs-eyebrow-text-shadow, none);
}

.cpcs-heading {
  margin: 0;
  font-size: var(--cpcs-heading-size, clamp(2rem, 4.8vw, 4.6rem));
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--cpcs-heading-color);
  text-shadow: var(--cpcs-heading-text-shadow, none);
}

.cpcs-description {
  margin-top: 1rem;
  font-size: var(--cpcs-description-size, clamp(1rem, 1.7vw, 1.22rem));
  line-height: 1.6;
  max-width: 60ch;
  text-shadow: var(--cpcs-description-text-shadow, none);
}

.cpcs-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.8rem;
}

.cpcs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius: var(--cpcs-btn-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--cpcs-button-size, 0.95rem);
  line-height: 1;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.cpcs-btn-primary {
  background: var(--cpcs-btn-bg);
  color: var(--cpcs-btn-color);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.cpcs-btn-secondary {
  background: transparent;
  color: var(--cpcs-heading-color);
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(2px);
}

.cpcs-btn:hover,
.cpcs-btn:focus-visible {
  transform: translateY(-1px);
  opacity: 0.95;
}

.cpcs-has-btn-hover .cpcs-btn-primary:hover,
.cpcs-has-btn-hover .cpcs-btn-primary:focus-visible {
  background-color: var(--cpcs-btn-bg-hover, var(--cpcs-btn-bg));
  color: var(--cpcs-btn-color-hover, var(--cpcs-btn-color));
}

.cpcs-has-btn-hover .cpcs-btn-secondary:hover,
.cpcs-has-btn-hover .cpcs-btn-secondary:focus-visible {
  background-color: var(--cpcs-btn-secondary-bg-hover, transparent);
  color: var(--cpcs-btn-secondary-color-hover, var(--cpcs-heading-color));
  border-color: var(
    --cpcs-btn-secondary-border-hover,
    rgba(255, 255, 255, 0.75)
  );
}

.cpcs-btn:focus-visible,
.cpcs-arrow:focus-visible,
.cpcs-dot:focus-visible {
  outline: 2px solid rgba(47, 36, 40, 0.8);
  outline-offset: 2px;
}

.cpcs-btn.is-disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.cpcs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  color: #2f2428;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.cpcs-arrow:hover {
  background: rgba(255, 255, 255, 0.55);
}

.cpcs-arrow-prev {
  left: clamp(12px, 2vw, 28px);
}

.cpcs-arrow-next {
  right: clamp(12px, 2vw, 28px);
}

.cpcs-arrow span {
  font-size: 1.2rem;
  line-height: 1;
}

.cpcs-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 2.5vw, 28px);
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cpcs-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.cpcs-dot.is-active {
  background: rgba(47, 36, 40, 0.9);
  transform: scale(1.15);
}

/* --------------------------------------------------------------------------
   Slide templates
   -------------------------------------------------------------------------- */

/* Signature Editorial — premium beauty campaign (centered, editorial type) */
.cpcs-template-signature-editorial .cpcs-eyebrow {
  font-size: var(--cpcs-eyebrow-size, 0.72rem);
  letter-spacing: 0.22em;
  margin-bottom: 1.1rem;
  opacity: 0.95;
}

.cpcs-template-signature-editorial .cpcs-heading {
  font-family:
    "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: var(--cpcs-heading-size, clamp(2.2rem, 5.2vw, 4.8rem));
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.cpcs-template-signature-editorial .cpcs-description {
  max-width: 52ch;
  font-size: var(--cpcs-description-size, clamp(0.95rem, 1.5vw, 1.15rem));
  line-height: 1.65;
}

.cpcs-template-signature-editorial .cpcs-buttons {
  margin-top: 2rem;
}

.cpcs-template-signature-editorial.cpcs-preset-center-top .cpcs-buttons,
.cpcs-template-signature-editorial.cpcs-preset-center-center .cpcs-buttons,
.cpcs-template-signature-editorial.cpcs-preset-center-bottom .cpcs-buttons {
  justify-content: center;
}

.cpcs-template-signature-editorial.cpcs-preset-center-top .cpcs-description,
.cpcs-template-signature-editorial.cpcs-preset-center-center .cpcs-description,
.cpcs-template-signature-editorial.cpcs-preset-center-bottom .cpcs-description {
  margin-left: auto;
  margin-right: auto;
}

.cpcs-template-signature-editorial .cpcs-btn-primary {
  background: transparent;
  color: var(--cpcs-btn-color);
  border: 1px solid var(--cpcs-btn-color);
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: var(--cpcs-button-size, 0.8rem);
  padding: 0.9rem 1.75rem;
}

.cpcs-category-slider:not(.cpcs-has-btn-hover)
  .cpcs-template-signature-editorial
  .cpcs-btn-primary:hover,
.cpcs-category-slider:not(.cpcs-has-btn-hover)
  .cpcs-template-signature-editorial
  .cpcs-btn-primary:focus-visible {
  background: color-mix(in srgb, var(--cpcs-btn-color) 12%, transparent);
}

.cpcs-has-btn-hover .cpcs-template-signature-editorial .cpcs-btn-primary:hover,
.cpcs-has-btn-hover
  .cpcs-template-signature-editorial
  .cpcs-btn-primary:focus-visible {
  background-color: var(--cpcs-btn-bg-hover, transparent);
  color: var(--cpcs-btn-color-hover, var(--cpcs-btn-color));
  border-color: var(--cpcs-btn-color-hover, var(--cpcs-btn-color));
}

.cpcs-template-signature-editorial .cpcs-btn-secondary {
  border-color: color-mix(in srgb, var(--cpcs-heading-color) 55%, transparent);
}

.cpcs-template-signature-editorial .cpcs-slide-overlay {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--cpcs-overlay-color) 70%, transparent) 0%,
    var(--cpcs-overlay-color) 45%,
    color-mix(in srgb, var(--cpcs-overlay-color) 85%, #000) 100%
  );
}

/* Split Focus Modern — content column with intentional negative space */
.cpcs-template-split-focus-modern .cpcs-content {
  max-width: min(
    48%,
    var(--cpcs-slide-content-max-width, var(--cpcs-content-max-width))
  );
}

.cpcs-template-split-focus-modern .cpcs-heading {
  font-size: var(--cpcs-heading-size, clamp(2rem, 4.2vw, 3.8rem));
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.cpcs-template-split-focus-modern .cpcs-description {
  max-width: 48ch;
  margin-top: 1.15rem;
}

.cpcs-template-split-focus-modern .cpcs-buttons {
  margin-top: 2rem;
}

.cpcs-template-split-focus-modern .cpcs-slide-overlay {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--cpcs-overlay-color) 92%, #000) 0%,
    color-mix(in srgb, var(--cpcs-overlay-color) 55%, transparent) 42%,
    transparent 72%
  );
}

/* Minimal Luxe — restrained typography and soft CTA */
.cpcs-template-minimal-luxe .cpcs-content {
  max-width: min(
    640px,
    var(--cpcs-slide-content-max-width, var(--cpcs-content-max-width))
  );
}

.cpcs-template-minimal-luxe .cpcs-eyebrow {
  font-size: var(--cpcs-eyebrow-size, 0.7rem);
  letter-spacing: 0.28em;
  font-weight: 500;
  opacity: 0.8;
}

.cpcs-template-minimal-luxe .cpcs-heading {
  font-size: var(--cpcs-heading-size, clamp(1.85rem, 3.8vw, 3.4rem));
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0.01em;
}

.cpcs-template-minimal-luxe .cpcs-description {
  max-width: 46ch;
  font-size: var(--cpcs-description-size, clamp(0.92rem, 1.35vw, 1.05rem));
  line-height: 1.75;
  opacity: 0.92;
}

.cpcs-template-minimal-luxe .cpcs-buttons {
  margin-top: 2.2rem;
  gap: 16px;
}

.cpcs-template-minimal-luxe.cpcs-preset-center-top .cpcs-buttons,
.cpcs-template-minimal-luxe.cpcs-preset-center-center .cpcs-buttons,
.cpcs-template-minimal-luxe.cpcs-preset-center-bottom .cpcs-buttons {
  justify-content: center;
}

.cpcs-template-minimal-luxe.cpcs-preset-center-top .cpcs-description,
.cpcs-template-minimal-luxe.cpcs-preset-center-center .cpcs-description,
.cpcs-template-minimal-luxe.cpcs-preset-center-bottom .cpcs-description {
  margin-left: auto;
  margin-right: auto;
}

.cpcs-template-minimal-luxe .cpcs-btn {
  font-weight: 500;
  font-size: var(--cpcs-button-size, 0.88rem);
  padding: 0.75rem 1.5rem;
  box-shadow: none;
}

.cpcs-template-minimal-luxe .cpcs-btn-primary {
  background: color-mix(in srgb, var(--cpcs-btn-bg) 88%, transparent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.cpcs-template-minimal-luxe .cpcs-btn-secondary {
  border-color: color-mix(in srgb, var(--cpcs-heading-color) 35%, transparent);
  background: transparent;
}

.cpcs-template-minimal-luxe .cpcs-slide-overlay {
  opacity: calc(var(--cpcs-overlay-opacity) * 0.85);
}

@media (max-width: 1024px) {
  .cpcs-category-slider {
    height: var(--cpcs-height-tablet);
    --cpcs-slides-per-view: var(--cpcs-slides-per-view-tablet, 2);
    --cpcs-slide-gap: var(--cpcs-slide-gap-tablet, 24px);
    --cpcs-eyebrow-size: var(
      --cpcs-eyebrow-size-tablet,
      var(--cpcs-eyebrow-size-desktop, unset)
    );
    --cpcs-heading-size: var(
      --cpcs-heading-size-tablet,
      var(--cpcs-heading-size-desktop, unset)
    );
    --cpcs-description-size: var(
      --cpcs-description-size-tablet,
      var(--cpcs-description-size-desktop, unset)
    );
    --cpcs-button-size: var(
      --cpcs-button-size-tablet,
      var(--cpcs-button-size-desktop, unset)
    );
  }
}

@media (max-width: 767px) {
  .cpcs-category-slider {
    height: var(--cpcs-height-mobile);
    --cpcs-slides-per-view: var(--cpcs-slides-per-view-mobile, 1);
    --cpcs-slide-gap: var(--cpcs-slide-gap-mobile, 16px);
    --cpcs-eyebrow-size: var(
      --cpcs-eyebrow-size-mobile,
      var(--cpcs-eyebrow-size-tablet, var(--cpcs-eyebrow-size-desktop, unset))
    );
    --cpcs-heading-size: var(
      --cpcs-heading-size-mobile,
      var(--cpcs-heading-size-tablet, var(--cpcs-heading-size-desktop, unset))
    );
    --cpcs-description-size: var(
      --cpcs-description-size-mobile,
      var(
        --cpcs-description-size-tablet,
        var(--cpcs-description-size-desktop, unset)
      )
    );
    --cpcs-button-size: var(
      --cpcs-button-size-mobile,
      var(--cpcs-button-size-tablet, var(--cpcs-button-size-desktop, unset))
    );
  }

  .cpcs-slide-inner {
    padding: 20px;
  }

  .cpcs-content {
    max-width: min(
      94vw,
      var(--cpcs-slide-content-max-width, var(--cpcs-content-max-width))
    );
  }

  .cpcs-position-mode-manual .cpcs-content {
    max-width: min(
      92vw,
      var(--cpcs-slide-content-max-width, var(--cpcs-content-max-width))
    );
  }

  .cpcs-buttons {
    gap: 10px;
  }

  .cpcs-btn {
    width: 100%;
  }

  .cpcs-arrow {
    width: 40px;
    height: 40px;
  }

  .cpcs-template-split-focus-modern .cpcs-content {
    max-width: min(
      94vw,
      var(--cpcs-slide-content-max-width, var(--cpcs-content-max-width))
    );
  }

  .cpcs-template-signature-editorial .cpcs-heading {
    font-size: var(--cpcs-heading-size, clamp(1.85rem, 8vw, 2.6rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  .cpcs-slide,
  .cpcs-content,
  .cpcs-content > *,
  .cpcs-slide-bg,
  .cpcs-btn,
  .cpcs-arrow,
  .cpcs-dot {
    transition: none !important;
  }

  .cpcs-slide-bg,
  .cpcs-position-mode-preset .cpcs-content,
  .cpcs-position-mode-manual[data-manual-text-align="left"] .cpcs-content,
  .cpcs-position-mode-manual[data-manual-text-align="center"] .cpcs-content,
  .cpcs-position-mode-manual[data-manual-text-align="right"] .cpcs-content {
    transform: none !important;
  }

  .cpcs-position-mode-manual .cpcs-content {
    top: auto;
    left: auto;
    position: static;
    text-align: var(--cpcs-manual-text-align);
  }
}

/* Text shadow must load after template rules to win specificity ties. */
.cpcs-category-slider.cpcs-has-text-shadow .cpcs-slide .cpcs-heading {
  text-shadow: var(--cpcs-heading-text-shadow, none);
}

.cpcs-category-slider.cpcs-has-text-shadow .cpcs-slide .cpcs-description {
  text-shadow: var(--cpcs-description-text-shadow, none);
}

.cpcs-category-slider.cpcs-has-text-shadow .cpcs-slide .cpcs-eyebrow {
  text-shadow: var(--cpcs-eyebrow-text-shadow, none);
}
