.gift-catalog-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin: 6px 0 10px;
  padding: 8px clamp(12px, 2vw, 22px);
  border-radius: 10px;
  background: radial-gradient(ellipse at 90% 120%, #24586a 0%, transparent 63%), #102542;
  color: #fff7e6;
}
.gift-catalog-banner h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.15;
}
.gift-catalog-mark {
  display: grid;
  place-items: center;
  width: 24px;
  aspect-ratio: 1;
  border: 2px solid #132748;
  outline: 2px solid #ffdb64;
  border-radius: 4px;
  color: #132748;
  background: #ffdb64;
  font-size: 16px;
  font-weight: 900;
  transform: rotate(-9deg);
}
.gift-catalog-banner img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gift-catalog-banner:has(img)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #102542f5, #102542a6);
}

@media (max-width: 779px) {
  .catalog-page .gift-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .gift-catalog-grid .product-card:not([hidden]) {
    min-width: 0;
    display: flex;
    flex-direction: column;
  }
  .catalog-page .gift-catalog-grid .card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    gap: 4px;
  }
  .catalog-page .gift-catalog-grid .card-copy h2 {
    font-size: 13px;
    overflow-wrap: anywhere;
  }
  .catalog-page .gift-catalog-grid .card-price {
    align-self: flex-start;
    font-size: 18px;
  }
  .catalog-page .gift-catalog-grid .card-actions {
    margin-top: auto;
  }
  .gift-catalog-grid .gallery-arrow {
    width: 36px;
    height: 36px;
  }
}
