body {
  height: 100dvh;
  overflow: hidden;
  position: relative;
  background-color: var(--light-cream);
}

/* Carousel */
.carousel {
  width: 100%;
  border-radius: 32px 32px 32px 0;
  overflow: hidden;
  height: calc(100vh - 170px);
  user-select: none;
  position: relative;
}

.carousel__title {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  padding: 20px;
  border-radius: 0 32px 0 0;
  background-color: var(--white);
  font: 400 32px / 1.2 'Lekton';
  color: var(--brown);
  text-align: center;
}

.carousel__gallery {
  width: 100%;
  height: 100%;
  overflow: hidden;
  user-select: none;
  position: relative;
}

.carousel__inner {
  width: 100%;
  height: 100%;
  display: flex;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel__slide {
  flex-shrink: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}

.carousel__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(0.3);
}

/* Navigation Arrows */
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.carousel__arrow svg {
  width: 20px;
  height: 20px;
  color: var(--brown);
}

.carousel__arrow:hover {
  background: #f5f5f5;
  transform: translateY(-50%) scale(1.03);
}

.carousel__arrow--prev {
  left: 25px;
}

.carousel__arrow--next {
  right: 25px;
}

/* Pagination */
.carousel__pagination {
  width: max-content;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 40px;
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 10px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: var(--white);
}

.merrygo-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray200);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.merrygo-bullet-active {
  background: var(--brown);
}

@media (max-width: 1440px) {
  .carousel {
    height: calc(100vh - 140px);
  }

  .carousel__arrow {
    width: 40px;
    height: 40px;
  }

  .carousel__pagination {
    padding: 8px 16px;
  }

  .merrygo-bullet {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 1024px) {
  .carousel {
    height: calc(100vh - 120px);
  }

  .carousel__title {
    font-size: 24px;
    padding: 10px;
    border-radius: 0 16px 0 0;
  }

  .carousel__arrow {
    width: 34px;
    height: 34px;
  }

  .carousel__arrow--prev {
    left: 15px;
  }

  .carousel__arrow--next {
    right: 15px;
  }
}

@media (max-width: 560px) {
  .carousel {
    height: calc(100vh - 140px);
    overflow: visible;
    display: flex;
    flex-direction: column;
    border-radius: 0;
  }

  .carousel__title {
    position: unset;
    line-height: 1;
    border-radius: 0;
    order: 2;
  }

  .carousel__gallery {
    height: calc(100% - 44px);
    border-radius: 16px;
  }

  .carousel__image {
    object-position: top center;
  }

  .carousel__pagination {
    bottom: 59px;
  }
}