/*
 * Shop-only treatment for the shared Divali banner.
 * Keep the three real product photographs edge-to-edge and let the collection
 * remain immediately reachable below the filters.
 */
.rm-gift-banner-compact {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  min-height: 0;
  height: 204px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(186, 138, 62, .38);
  box-shadow: 0 8px 24px rgba(24, 39, 77, .08);
}

.rm-gift-banner-compact::before {
  opacity: .11;
}

.rm-gift-banner-compact .rm-gift-copy {
  justify-content: center;
  padding: 16px clamp(18px, 2.5vw, 36px);
}

.rm-gift-banner-compact .rm-gift-logo,
.rm-gift-banner-compact .rm-gift-signoff,
.rm-gift-banner-compact .rm-photo-caption,
.rm-gift-banner-compact .rm-gift-corner {
  display: none;
}

.rm-gift-banner-compact .rm-gift-message {
  max-width: 100%;
}

.rm-gift-banner-compact .rm-gift-kicker {
  gap: 8px;
  margin-bottom: 7px;
  font-size: 9px;
  letter-spacing: .14em;
}

.rm-gift-banner-compact .rm-gift-kicker span {
  width: 18px;
}

.rm-gift-banner-compact .rm-gift-message h2 {
  font-size: clamp(25px, 2.7vw, 35px);
  line-height: 1.05;
}

.rm-gift-banner-compact .rm-gift-description {
  max-width: 390px;
  margin: 8px 0 11px;
  font-size: 12px;
  line-height: 1.45;
}

.rm-gift-banner-compact .rm-gift-cta {
  min-height: 36px;
  gap: 14px;
  padding: 0 13px 0 15px;
  font-size: 10px;
}

.rm-gift-banner-compact .rm-gift-cta svg {
  width: 15px;
  height: 15px;
}

.rm-gift-banner-compact .rm-gift-photo-wrap {
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: minmax(0, 1fr);
  gap: 3px;
  height: 204px;
  padding: 0;
  background: transparent;
}

.rm-gift-banner-compact .rm-gift-photo-wrap::before {
  display: none;
}

.rm-gift-banner-compact .rm-gift-box,
.rm-gift-banner-compact .rm-gift-box-featured {
  position: relative;
  grid-row: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.rm-gift-banner-compact .rm-gift-box img {
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1 1 auto;
  object-fit: cover;
}

.rm-gift-banner-compact .rm-gift-box figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 6px 4px;
  background: linear-gradient(transparent, rgba(24, 39, 77, .82));
  color: #fff9ed;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 11px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}

@media (max-width: 700px) {
  .rm-gift-banner-compact {
    grid-template-columns: 1fr;
    height: auto;
    margin-bottom: 1rem;
  }

  .rm-gift-banner-compact .rm-gift-photo-wrap {
    grid-row: 1;
    height: clamp(112px, 31vw, 150px);
    gap: 2px;
    padding: 0;
  }

  .rm-gift-banner-compact .rm-gift-copy {
    grid-row: 2;
    padding: 13px 17px 15px;
  }

  .rm-gift-banner-compact .rm-gift-kicker {
    margin-bottom: 5px;
  }

  .rm-gift-banner-compact .rm-gift-message h2 {
    max-width: none;
    font-size: clamp(25px, 7vw, 32px);
  }

  .rm-gift-banner-compact .rm-gift-description {
    max-width: 100%;
    margin: 6px 0 9px;
    font-size: 11px;
    line-height: 1.4;
  }

  .rm-gift-banner-compact .rm-gift-cta {
    min-height: 34px;
  }

  .rm-gift-banner-compact .rm-gift-box figcaption {
    padding: 5px 2px;
    font-size: 9px;
  }
}

@media (max-width: 380px) {
  .rm-gift-banner-compact .rm-gift-copy {
    padding-inline: 14px;
  }

  .rm-gift-banner-compact .rm-gift-cta {
    width: auto;
    justify-content: center;
  }

  .rm-gift-banner-compact .rm-gift-box figcaption {
    font-size: 8px;
  }
}
