.embla {
  width: 100%;
  margin: auto;
  --slide-height: 14rem;
  --slide-spacing: 1.5rem;
  --slide-size: 100%;
}

.embla__viewport {
  overflow: hidden;
}

.embla__container {
  display: flex;
  touch-action: pan-y pinch-zoom;
  margin-left: calc(var(--slide-spacing) * -1);
}

.embla__slide {
  transform: translate3d(0, 0, 0);
  flex: 0 0 var(--slide-size);
  min-width: 0;
  padding-left: var(--slide-spacing);
}

.embla__slide__item {
  border-radius: 12px;
  height: auto;
  user-select: none;
  width: 100%;
}

.embla__controls {
  display: grid;
  grid-template-columns: auto 1fr;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.embla__buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  align-items: center;
}

.embla__button {
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  touch-action: manipulation;
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid currentColor;
  padding: 0;
  margin: 0;
  width: 2.4rem;
  height: 2.4rem;
  z-index: 1;
  border-radius: 50%;
  color: currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  opacity: 0.7;
}

.embla__button:hover {
  opacity: 1;
  transform: scale(1.05);
}

.embla__button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.embla__button__svg {
  width: 35%;
  height: 35%;
}

.embla__dots {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.2rem;
  padding: 0.5rem 0;
}

.embla__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: currentColor;
  opacity: 0.3;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  margin: 0;
}

.embla__dot:hover {
  opacity: 0.6;
  transform: scale(1.2);
}

.embla__dot--selected {
  background-color: var(--theme-color, currentColor);
  opacity: 1;
  transform: scale(1.3);
}

/* Remover el :after ya que no lo necesitamos */
.embla__dot:after {
  display: none;
}
