/* One continuous still life; the title, captions and contact link stay live text. */
.page-section.page-section--gifts {
  padding: 0;
  background: var(--paper);
}

.gift-showcase {
  --gift-art: url('../../assets/images/gifts/gift-showcase.webp');
  container-type: inline-size;
  position: relative;
  max-width: 2050px;
  margin-inline: auto;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--sans);
  scroll-margin-top: 90px;
}

.gift-showcase__scene {
  display: block;
  width: 100%;
  height: auto;
}

.gift-showcase__heading {
  position: absolute;
  top: 10.4%;
  left: 9.3%;
  z-index: 1;
}

.gift-showcase__eyebrow {
  display: flex;
  align-items: center;
  gap: .72cqw;
  margin: 0 0 1.05cqw;
  color: #7e8477;
  font-size: .6cqw;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.gift-showcase__eyebrow > span {
  width: .49cqw;
  height: .49cqw;
  flex: none;
  border-radius: 50%;
  background: var(--terracotta);
}

.gift-showcase h2 {
  margin: 0;
  font: 400 5.05cqw/.86 var(--heading);
  letter-spacing: -.035em;
}

.gift-showcase h2 > span,
.gift-showcase h2 > em {
  display: block;
}

.gift-showcase h2 > em {
  color: var(--sage);
  font-style: italic;
}

.gift-showcase__index {
  position: absolute;
  top: 10.8%;
  right: 3.4%;
  display: flex;
  align-items: center;
  gap: .8cqw;
  color: #818579;
  font-size: .62cqw;
  letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
}

.gift-showcase__index::after {
  content: '';
  width: 2.5cqw;
  height: 1px;
  background: var(--terracotta);
}

.gift-showcase__options {
  position: absolute;
  right: 10.5%;
  bottom: 9.7%;
  left: 6.4%;
  display: grid;
  grid-template-columns: 1.05fr .98fr 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gift-showcase__label {
  display: flex;
  align-items: center;
  gap: .8cqw;
  font-size: .96cqw;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

.gift-showcase__number {
  color: #818579;
  font-size: .66cqw;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
}

.gift-showcase__rule {
  position: relative;
  width: 2.65cqw;
  height: 1.25cqw;
  flex: none;
  border-right: 1px solid var(--terracotta);
}

.gift-showcase__rule::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 1.8cqw;
  height: 1px;
  background: var(--terracotta);
}

.gift-showcase__item-art {
  display: none;
}

.gift-showcase__contact {
  position: absolute;
  right: 5.9%;
  bottom: 8.65%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .8cqw;
  padding-bottom: .42cqw;
  border-bottom: 1px solid currentColor;
  color: var(--sage);
  font-size: .63cqw;
  line-height: 1.5;
  transition: color .2s ease;
}

.gift-showcase__contact svg {
  width: 1.05cqw;
  height: 1.05cqw;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.gift-showcase__contact:hover {
  color: var(--terracotta);
}

.gift-showcase__contact:hover svg {
  transform: translate(2px, -2px);
}

.gift-showcase__contact:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 6px;
}

@media (min-width: 701px) and (max-width: 1100px) {
  .gift-showcase__eyebrow,
  .gift-showcase__index,
  .gift-showcase__number { font-size: 9px; }
  .gift-showcase__contact { font-size: 10px; }
  .gift-showcase__contact svg { width: 15px; height: 15px; }
  .gift-showcase__label { font-size: 11px; }
}

@media (max-width: 700px) {
  .gift-showcase {
    padding: 38px 24px 44px;
  }

  .gift-showcase__scene,
  .gift-showcase__index { display: none; }

  .gift-showcase__heading {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 18px;
  }

  .gift-showcase__eyebrow {
    gap: 10px;
    margin-bottom: 18px;
    font-size: 9px;
  }

  .gift-showcase__eyebrow > span { width: 6px; height: 6px; }

  .gift-showcase h2 { font-size: clamp(30px, 9.3vw, 65px); line-height: 1; }

  .gift-showcase__options {
    position: static;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .gift-showcase__item-art {
    display: block;
    aspect-ratio: 1.36;
    margin: 0 -12px 10px;
    background-image: var(--gift-art);
    background-repeat: no-repeat;
    background-size: 300% auto;
    background-position: left bottom;
  }

  .gift-showcase__option--box .gift-showcase__item-art { background-position: 49% bottom; }
  .gift-showcase__option--basket .gift-showcase__item-art {
    background-size: 250% auto;
    background-position: right bottom;
    aspect-ratio: 1.13;
  }

  .gift-showcase__label { gap: 12px; font-size: 16px; }
  .gift-showcase__number { font-size: 11px; }
  .gift-showcase__rule { width: 42px; height: 20px; }
  .gift-showcase__rule::before { width: 28px; }

  .gift-showcase__contact {
    position: relative;
    right: auto;
    bottom: auto;
    gap: 18px;
    min-height: 44px;
    margin-top: 32px;
    padding-bottom: 2px;
    font-size: 13px;
  }

  .gift-showcase__contact svg { width: 20px; height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .gift-showcase__contact,
  .gift-showcase__contact svg { transition: none; }
}
