.product-carousel ol {
  /* These are more appropriate in a CSS reset */
  padding: 0;
  margin: 0;
  margin-bottom: var(--space-48);
  list-style: none;
  display: flex;
}

.product-carousel__media-container.-rounded {
  overflow: hidden;
}

.product-carousel__media-list li {
  transition-property: transform, index;
  transition-duration: 500ms;
  position: relative;
  max-width: 100%;
}

.product-carousel__header-container {
  /* margin-bottom: -100px; */
  margin-bottom: 0;
}

.product-carousel__header {
  margin: var(--space-32) 0 var(--space-16) 0;
}

.product-carousel__cta-header-container {
  margin-top: var(--space-24);
  margin-bottom: var(--header-margin);
}

.product-carousel__footer {
  display: flex;
  justify-content: end;
}

.product-carousel__buttons-container {
  display: flex;
  gap: var(--space-16);
}

.product-carousel__button {
  background: #c84761;
  border: solid;
  border-color: #c84761;
  cursor: pointer;
  width: 60px;
  height: 60px;
  max-width: 60px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: all 0.5s;
}

.product-carousel__button:hover,
.product-carousel__button:focus {
  filter: invert(0.1);
  transform: scale(1.05);
}

.product-carousel__buttons-container .--inactive {
  border-color: #fff;
  background: none;
  opacity: 0.5;
  cursor: initial;
}

.product-carousel__buttons-container .--previous svg {
  transform: rotate(180deg);
}

.product-carousel__buttons-container .--inactive svg path {
  stroke: var(--site-text-color);
}

.--inactive svg path {
  filter: none !important;
}

.product-carousel__button svg {
  width: 20px;
  height: 16px;
}

.product-carousel__button svg path {
  stroke: var(--site-text-color);
}

.product-carousel__button:not(.--inactive) svg {
  filter: invert(1);
}

.product-carousel__media-section {
  display: flex;
  justify-content: center;
}

.product-carousel__media-container {
  width: var(--site-content-width);
  max-width: 100%;
  height: fit-content;
  position: relative;
  /* top: 100px; */
  top: 0;
}

.product-carousel__image {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
}

.product-carousel__video {
  width: 100%;
  object-fit: cover;
}

.product-carousel__lower-section {
  /* padding-top: 100px;
  margin-left: -100%;
  margin-right: -100%;
  padding-left: 100%;
  padding-right: 100%;
  padding-bottom: var(--block-padding-vertical); */
  padding-top: 0;  /* Reset any top padding */
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: var(--block-padding-vertical);  /* Keep vertical padding */
}

/*first sibling in the section */
.product-carousel__footer+* {
  margin-top: var(--space-32);
}

.product-carousel__cta-text {
  text-align: center;
  margin-bottom: var(--space-24);
}

.product-carousel__cta-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
  justify-content: center;
  margin-top: 0;
}

@media screen and (min-width: 768px) {
  .product-carousel__header-container {
    /* margin-bottom: -210px; */
    margin-bottom: 0;
  }

  .product-carousel__media-container {
    /* top: 210px; */
    top: 0;
  }

  .product-carousel__lower-section {
    /* padding-top: 210px; */
    padding-top: 0;
  }

  .product-carousel__footer+* {
    margin-top: var(--space-32);
  }
}

@media screen and (min-width: 1440px) {}

.product-carousel__box-shadow {
  filter: drop-shadow(0px 24px 48px rgb(0, 0, 0, 30%));
}

@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
  .product-carousel__box-shadow {
    filter: none;
    box-shadow: 0px 24px 48px rgba(0, 0, 0, 0.3);
  }
}