.page--gift {
  background: #f3f2f0;
}

.gift-page {
  background: #f3f2f0;
  max-width: var(--content-wide, 1440px);
  margin: 0 auto;
  padding: clamp(116px, 8vw, 148px) clamp(20px, 3vw, 48px) clamp(52px, 4.2vw, 72px);
}

.gift-page__hero {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) auto minmax(92px, 1fr);
  align-items: center;
  justify-items: center;
  column-gap: clamp(14px, 1.8vw, 32px);
}

.gift-page__leaf {
  width: clamp(78px, 5.8vw, 112px);
  height: auto;
  user-select: none;
  pointer-events: none;
}

.gift-page__leaf--left {
  justify-self: end;
  transform: scaleX(-1);
}

.gift-page__leaf--right {
  justify-self: start;
}

.gift-page__title {
  margin: 0;
  font-family: "Allura", "Above The Beyond Script", "Brush Script MT", cursive;
  font-size: clamp(58px, 4.2vw, 82px);
  font-weight: 400;
  line-height: 0.95;
  text-align: center;
}

.gift-page__layout {
  margin-top: clamp(26px, 2.1vw, 38px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(28px, 2.8vw, 48px);
  align-items: stretch;
}

.gift-page__media {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.gift-page__carousel {
  width: 100%;
}

.gift-page__carousel .carousel__viewport {
  width: 100%;
  max-width: none;
}

.gift-page__carousel .carousel__slides {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg, 26px);
}

.gift-page__carousel .carousel__slide::after {
  background: rgba(248, 245, 240, 0.1);
}

.gift-page__carousel .carousel__arrow {
  width: clamp(34px, 2.1vw, 42px);
  height: clamp(72px, 4.8vw, 90px);
  font-size: clamp(38px, 2.5vw, 50px);
}

.gift-page__carousel .carousel__arrow--prev {
  left: clamp(8px, 0.9vw, 14px);
}

.gift-page__carousel .carousel__arrow--next {
  right: clamp(8px, 0.9vw, 14px);
}

.gift-page__carousel .carousel__dots {
  margin-top: clamp(16px, 1.2vw, 24px);
}

.gift-page__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 1.7vw, 30px);
  padding-top: clamp(2px, 0.4vw, 10px);
  height: 100%;
}

.gift-page__text {
  display: grid;
  gap: clamp(12px, 1vw, 18px);
}

.gift-page__text p {
  margin: 0;
  font-size: clamp(16px, 1.02vw, 19px);
  line-height: 1.5;
  text-align: justify;
}

.gift-page__cards {
  display: grid;
  justify-items: center;
  gap: clamp(12px, 1vw, 18px);
}

.gift-page__cards-title {
  margin: 0;
  font-size: clamp(24px, 1.5vw, 30px);
  line-height: 1.16;
  text-align: center;
}

.gift-page__cards-image {
  width: min(100%, 520px);
  height: auto;
  display: block;
}

.gift-page__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 18px);
  margin-top: auto;
}

.gift-page__button {
  min-height: var(--control-height, 52px);
  border-radius: 999px;
  background: #ebe7e1;
  border: 1px solid rgba(16, 16, 16, 0.08);
  color: #151515;
  text-decoration: none;
  font-size: var(--control-font-size, 17px);
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 clamp(16px, 1.3vw, 26px);
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.gift-page__button:hover,
.gift-page__button:focus-visible {
  background: #e2ddd5;
  color: #101010;
}

.gift-page__button:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring, 0 0 0 3px rgba(74, 57, 45, 0.28));
}
