* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #fff;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: Lato, Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #31241b;
}

a {
  display: block;
  color: inherit;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #fff4d9 url("assets/01-s-1724x681_v-fms_webp_386436cf-3426-4375-99c5-8a2a7270b81d.jpg") center / cover no-repeat;
}

.lp {
  position: relative;
  width: min(560px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 0 120px;
  background: #fff;
}

.full-img {
  width: 100%;
  height: auto;
}

.button-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
  padding: 16px 16px 24px;
  background: #fff;
}

.button-row img,
.offer-actions img,
.fixed-cta img {
  width: 100%;
  height: auto;
}

.carousel {
  position: relative;
  width: 100%;
  padding: 8px 0;
  overflow: hidden;
  background: #fff;
}

.carousel-frame {
  width: 100%;
  padding: 16px;
}

.carousel-frame img {
  width: 100%;
  height: auto;
}

.carousel-controls {
  position: absolute;
  top: 12px;
  right: 8px;
  left: 8px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.carousel-controls button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 0;
  background: #31241b;
  color: #fff;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  pointer-events: auto;
}

.offer {
  position: relative;
  width: 100%;
  background: #fff;
}

.offer-actions {
  position: absolute;
  right: 16px;
  bottom: 64px;
  left: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.offer-actions a {
  width: 88%;
}

.fixed-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.fixed-cta-inner {
  width: min(560px, 100%);
  padding: 12px;
  pointer-events: auto;
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(1);
  }

  10%,
  30% {
    transform: scale(1.05);
  }

  20%,
  40% {
    transform: scale(1);
  }
}

.bounce {
  animation: bounce 2s ease-in-out infinite;
  transform-origin: center;
}

.bounce:hover,
.bounce:focus-visible {
  animation-play-state: paused;
}

@media (max-width: 540px) {
  .lp {
    width: 100%;
  }

  .button-row {
    gap: 16px;
    padding: 14px 14px 22px;
  }

  .fixed-cta-inner {
    padding: 10px;
  }
}

@media (max-width: 340px) {
  .button-row {
    gap: 12px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .carousel-controls button {
    width: 42px;
    height: 42px;
  }
}
