/* Gifts extend Perla's navy, ivory and gold identity. Keep product photos whole. */
.gifts-page { background: #F6EFE5; color: #0F2747; }

.gifts-page h1, .gifts-page h2 { line-height: 1.45; letter-spacing: 0; }
.gifts-page .eyebrow, .gift-campaign .eyebrow { font-size: .875rem; letter-spacing: 0; }
.gifts-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.gifts-carousel { background: #07192f; color: #F6EFE5; }
.gifts-carousel__viewport { width: min(100%, 1672px); margin: auto; overflow: hidden; }
.gifts-carousel__track { display: flex; direction: ltr; transition: transform 650ms cubic-bezier(.22,.61,.36,1); }
.gifts-carousel__track.is-snapping { transition: none; }
.gifts-slide { flex: 0 0 100%; min-width: 0; direction: rtl; }
/* Every slide has the same frame, and the whole banner fits on screen under the header
   (16:9, but never taller than the viewport minus the header). */
.gifts-slide__media { min-width: 0; height: min(56.25vw, max(320px, calc(100svh - 200px))); display: grid; align-items: center; overflow: hidden; }
/* Two photos: identical 4:5 frames, centred as a pair with equal spacing on every side. */
.gifts-slide__media--pair { grid-template-columns: repeat(2, auto); justify-content: center; align-content: stretch; gap: clamp(.75rem, 2.5vw, 2.5rem); padding-block: clamp(.75rem, 2vw, 1.75rem); }
.gifts-slide__media img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.gifts-slide__media--pair img { width: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.gifts-page a:focus-visible, .gift-campaign a:focus-visible { outline: 2px solid #FF9E1B; outline-offset: 5px; }
.newborn-section, .gifts-more { padding: clamp(3rem, 6vw, 5rem) 5vw; }
.newborn-section, .gifts-more article, .gifts-request { scroll-margin-top: 190px; }
.gifts-section-head { width: min(100%, 1200px); margin: 0 auto 2.25rem; display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.gifts-section-head h2 { margin-bottom: 0; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.gifts-section-head .eyebrow { color: #735a2e; }
.gifts-section-head p { max-width: 27rem; margin: 0; color: #40516a; font-size: 1rem; line-height: 1.9; }
.newborn-grid { width: min(100%, 1200px); margin: auto; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem 1.5rem; }
.gift-card { min-width: 0; border: 1px solid rgba(200,164,93,.45); background: #fff; }
.gift-card:last-child { grid-column: 2; }
.gift-card__photo { display: block; aspect-ratio: 1; overflow: hidden; background: #07192f; }
.gift-card__photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gift-card__photo > .perla-motion-frame { width: 100%; height: 100%; }
.gift-card__copy { padding: 1.25rem; }
.gift-card__copy span { display: block; color: #735a2e; font-size: .875rem; margin-bottom: .5rem; }
.gift-card__copy h3 { font-size: 1.125rem; line-height: 1.7; }
.gift-card__copy p { margin: 0; color: #40516a; font-size: 1rem; line-height: 1.85; }
.gifts-more { background: #0F2747; color: #F6EFE5; }
.gifts-more .eyebrow { color: #C8A45D; }
.gifts-more__grid { width: min(100%, 1200px); margin: auto; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; }
.gifts-more__grid article { padding: 1.75rem; border: 1px solid rgba(200,164,93,.5); }
.gifts-more__grid h3 { color: #F6EFE5; font-size: 1.25rem; }
.gifts-more__grid p { color: #F6EFE5; font-size: 1rem; line-height: 1.9; }
.gifts-request .section__head p, .gifts-request label { font-size: 1rem; }
.gifts-request h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.gifts-request button:disabled { cursor: not-allowed; opacity: .65; }
.maison .gift-campaign { width: min(100%, 1672px); margin: 3rem auto; display: grid; grid-template-columns: .65fr 1.35fr; align-items: center; background: #07192f; color: #F6EFE5; scroll-margin-top: 210px; }
.gift-campaign__copy { padding: clamp(2rem,4vw,4rem); }
.gift-campaign__copy .eyebrow { color: #C8A45D; }
.gift-campaign__copy h2 { font-family: Alexandria, Arial, sans-serif; color: #F6EFE5; font-size: clamp(1.8rem,3vw,3.1rem); line-height: 1.5; letter-spacing: 0; }
.gift-campaign__copy p { font-size: 1rem; line-height: 1.9; }
.gift-campaign__image { display: block; width: 100%; height: auto; }
@media(max-width: 1000px) {
  .maison .gift-campaign { grid-template-columns: 1fr; }
  .gift-campaign__copy { padding: 2.5rem 1.25rem; text-align: center; }
  .gift-campaign__copy p { max-width: 36rem; margin-inline: auto; }
  .gifts-section-head { align-items: start; flex-direction: column; gap: 1rem; }
  .newborn-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gift-card:last-child { grid-column: auto; }
  .gifts-more__grid { grid-template-columns: 1fr; }
}
@media(max-width: 600px) {
  .newborn-section, .gifts-more { padding: 3rem 1rem; }
  .newborn-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .maison .gift-campaign { margin: 2rem auto; }
}
@media(prefers-reduced-motion: reduce) { .gifts-carousel__track { transition: none; } }
