.quimatic-builder-component--carrossel-de-videos {
  border: 0;
  overflow: hidden;
  background: #ffffff;
}

.quimatic-builder-component--carrossel-de-videos .quimatic-builder-component__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 48px 0;
}

.quimatic-video-carousel__heading {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 0 64px;
  color: var(--black-quimatic, #0a0203);
  font-family: "Myriad Pro", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--Text-Sizes-Heading-3, 40px);
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.4px;
  text-transform: uppercase;
}

.quimatic-video-carousel__heading > :first-child {
  margin-top: 0;
}

.quimatic-video-carousel__heading > :last-child {
  margin-bottom: 0;
}

.quimatic-video-carousel__heading p,
.quimatic-video-carousel__heading h1,
.quimatic-video-carousel__heading h2,
.quimatic-video-carousel__heading h3,
.quimatic-video-carousel__heading h4,
.quimatic-video-carousel__heading h5,
.quimatic-video-carousel__heading h6 {
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.quimatic-video-carousel__heading span {
  color: #ff4e00;
}

.quimatic-video-carousel__viewport {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  overflow: hidden;
}

.quimatic-video-carousel__track {
  display: flex;
  gap: 24px;
  box-sizing: border-box;
  padding-inline: 64px;
  transition: transform 420ms ease;
  will-change: transform;
}

.quimatic-video-carousel__slide {
  flex: 0 0 min(833.209px, 57.86vw);
  min-width: 0;
}

.quimatic-video-carousel__media {
  position: relative;
  aspect-ratio: 833.209 / 468.495;
  overflow: hidden;
  background: #f2f2f2;
}

.quimatic-video-carousel__media-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.quimatic-video-carousel__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quimatic-video-carousel__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.quimatic-video-carousel__play svg {
  display: block;
  width: 100%;
  height: 100%;
}

.quimatic-video-carousel__caption {
  min-height: 57px;
  padding: 6px 12px;
  background: #f2f2f2;
}

.quimatic-video-carousel__caption h3 {
  margin: 0;
  color: var(--black-quimatic, #0a0203);
  font-family: "Myriad Pro", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.18px;
  text-transform: uppercase;
}

.quimatic-video-carousel__caption p {
  margin: 0;
  color: #475467;
  font-family: "Myriad Pro", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
}

.quimatic-video-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 0 120px 0 64px;
}

.quimatic-video-carousel__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quimatic-video-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #f5d8cc;
  cursor: pointer;
  transition: background-color 220ms ease;
}

.quimatic-video-carousel__dot.is-active {
  background: #ff4e00;
}

.quimatic-video-carousel__arrows {
  display: flex;
  gap: 16px;
}

.quimatic-video-carousel__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--black-quimatic, #0a0203);
  background: #ffffff;
  color: var(--black-quimatic, #0a0203);
  cursor: pointer;
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}

.quimatic-video-carousel__arrow:hover,
.quimatic-video-carousel__arrow:focus-visible {
  border-color: #ff4e00;
  background: #ff4e00;
  color: #ffffff;
}

.quimatic-video-carousel__arrow svg {
  width: 24px;
  height: 24px;
  transition: transform 220ms ease;
}

.quimatic-video-carousel__arrow--prev:hover:not(:disabled) svg,
.quimatic-video-carousel__arrow--prev:focus-visible:not(:disabled) svg {
  transform: translateX(-4px);
}

.quimatic-video-carousel__arrow--next:hover:not(:disabled) svg,
.quimatic-video-carousel__arrow--next:focus-visible:not(:disabled) svg {
  transform: translateX(4px);
}

.quimatic-video-carousel__arrow path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

@media (max-width: 991px) {
  .quimatic-video-carousel__heading {
    padding-inline: 24px;
  }

  .quimatic-video-carousel__track {
    padding-inline: 24px;
  }

  .quimatic-video-carousel__slide {
    flex-basis: min(760px, 78vw);
  }

  .quimatic-video-carousel__controls {
    padding-inline: 24px;
  }
}

@media (max-width: 767px) {
  .quimatic-builder-component--carrossel-de-videos {
    margin-inline: -16px;
  }

  .quimatic-builder-component--carrossel-de-videos .quimatic-builder-component__inner {
    gap: 24px;
    padding: 32px 16px;
  }

  .quimatic-builder-page--products .quimatic-builder-component--carrossel-de-videos,
  .quimatic-builder-page--product-single .quimatic-builder-component--carrossel-de-videos {
    margin-inline: -8px;
  }

  .quimatic-video-carousel__heading {
    width: 100%;
    padding: 0;
    font-size: 28px;
    line-height: 32px;
    letter-spacing: -0.28px;
    text-align: center;
  }

  .quimatic-video-carousel__viewport {
    width: 100%;
    margin-inline: 0;
  }

  .quimatic-video-carousel__track {
    gap: 24px;
    padding: 0;
  }

  .quimatic-video-carousel__slide {
    flex-basis: 100%;
  }

  .quimatic-video-carousel__media {
    height: 193px;
    aspect-ratio: auto;
  }

  .quimatic-video-carousel__play {
    width: 52px;
    height: 52px;
  }

  .quimatic-video-carousel__caption {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 64px;
    padding: 12px 12px 0;
  }

  .quimatic-video-carousel__caption h3 {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
  }

  .quimatic-video-carousel__caption p {
    font-size: 12px;
    line-height: 16px;
  }

  .quimatic-video-carousel__controls {
    width: 100%;
    align-items: flex-end;
    gap: 24px;
    padding: 0;
  }

  .quimatic-video-carousel__arrows {
    margin-left: auto;
    gap: 12px;
  }

  .quimatic-video-carousel__arrow {
    width: 34px;
    height: 34px;
  }

  .quimatic-video-carousel__arrow svg {
    width: 16px;
    height: 16px;
  }
}
