body {
  background: linear-gradient(
    180deg,
    rgba(248, 244, 235, 0.98) 0%,
    rgba(235, 197, 208, 0.98) 78%
  );
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
}
.page {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 83%;
  margin: 0 auto;
  overflow: hidden;
}
.page .add {
  position: absolute;
  bottom: 0px; /* отступ от низа */
  left: 50%;
  transform: translateX(-50%);
  font-weight: bold;
  font-size: 36px;
  width: 370px;
  height: 48px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ebc5d0;
  background: #4b2324;
  padding-bottom: 4px;
  z-index: 20; /* выше слайдов и стрелки */
  cursor: pointer;
  user-select: none;
  outline: none;
}
.page .slide {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 90%;
  object-fit: contain;
  opacity: 0;
  transition: all 0.6s ease;
  transform: translateX(0);
  z-index: 0;
}

.page .slide.active {
  left: 0;
  opacity: 1;
  z-index: 1;
  transform: translateX(0);
}

.page .slide.slide-in {
  animation: slideIn 0.6s forwards;
}

.page .slide.slide-out {
  animation: slideOut 0.6s forwards;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}

.page .arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 63px;
  height: 63px;
  border-radius: 55%;
  background: #f7f7f7e5;
  padding: 10px;
  box-shadow: 0px 1px 4px 0px #00000040;
  cursor: pointer;
  user-select: none;
  z-index: 10;
  object-fit: contain;
}
