.song-hero--memory {
  min-height: min(640px, calc(100vh - 150px));
  background-image: url("../assets/img/video-posters/memoriamoment-product-poster.jpg");
  background-position: center 42%;
}

.memory-page .song-breadcrumb {
  position: absolute;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.68);
}

.memory-page .song-breadcrumb a {
  color: rgba(255, 255, 255, 0.68);
}

.song-hero--memory .song-hero-inner {
  padding: 72px 0 48px;
}

.song-hero--memory h1 {
  max-width: 920px;
  font-size: clamp(2.9rem, 6vw, 5.2rem);
}

.song-hero--memory::before {
  background: linear-gradient(90deg, rgba(8, 5, 12, 0.94) 0%, rgba(8, 5, 12, 0.76) 48%, rgba(8, 5, 12, 0.26) 100%),
              linear-gradient(180deg, rgba(8, 5, 12, 0.1) 0%, rgba(8, 5, 12, 0.78) 100%);
}

.memory-starting-price {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}

.memory-starting-price strong {
  margin-left: 4px;
  color: #f5d987;
  font-size: 1.45rem;
}

.memory-original {
  padding: 72px 0;
  border-top: 1px solid rgba(232, 201, 122, 0.25);
  border-bottom: 1px solid rgba(232, 201, 122, 0.25);
  background: #120c18;
}

.memory-original-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.memory-original-logo {
  width: 180px;
  height: 180px;
  display: block;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.3);
}

.memory-original-copy h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 400;
  line-height: 1.03;
}

.memory-original-copy p {
  max-width: 790px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.75;
}

.memory-original-copy .memory-original-signature {
  padding-top: 16px;
  border-top: 1px solid rgba(232, 201, 122, 0.22);
  color: rgba(255, 255, 255, 0.9);
}

.memory-original-signature strong {
  color: #f5d987;
}

.memory-feature--reverse .song-feature-copy {
  order: 2;
}

.memory-feature--reverse .song-feature-media {
  order: 1;
}

.memory-package-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.memory-package-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
}

.memory-package-card--featured {
  border-color: var(--border-active);
  background: var(--card-soft);
}

.memory-package-label {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.memory-package-card h3 {
  margin-top: 9px;
  color: var(--text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.7rem;
  font-weight: 400;
}

.memory-package-card > p {
  min-height: 52px;
  margin-top: 8px;
  color: var(--text-muted);
  line-height: 1.6;
}

.memory-package-card ul {
  width: 100%;
  margin-top: 22px;
  border-top: 1px solid var(--border);
  list-style: none;
}

.memory-package-card li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.memory-package-card li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--success);
  font-weight: 700;
}

.memory-package-card .song-price-line {
  margin: 24px 0 18px;
  color: var(--text);
}

.memory-package-card .song-btn {
  width: 100%;
  margin-top: auto;
}

.memory-occasion-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.memory-occasion {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border-top: 1px solid var(--border-active);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.memory-occasion:hover {
  border-color: var(--secondary);
  background: var(--info-bg);
}

.memory-occasion strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 500;
}

.memory-occasion span {
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

@media (prefers-color-scheme: light) {
  .memory-original {
    background: #241627;
  }
}

@media (max-width: 820px) {
  .song-hero--memory {
    min-height: min(600px, calc(100svh - 120px));
    background-position: 58% center;
  }

  .song-hero--memory .song-hero-inner {
    padding: 64px 0 38px;
  }

  .song-hero--memory::before {
    background: linear-gradient(180deg, rgba(8, 5, 12, 0.28) 0%, rgba(8, 5, 12, 0.68) 42%, rgba(8, 5, 12, 0.97) 100%);
  }

  .memory-original-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .memory-original-logo {
    width: 128px;
    height: 128px;
  }

  .memory-feature--reverse .song-feature-copy,
  .memory-feature--reverse .song-feature-media {
    order: initial;
  }

  .memory-package-grid,
  .memory-occasion-grid {
    grid-template-columns: 1fr;
  }

  .memory-package-card > p {
    min-height: 0;
  }

  .memory-occasion {
    min-height: 118px;
  }
}

@media (max-width: 480px) {
  .memory-starting-price strong {
    display: block;
    margin: 3px 0 0;
  }

  .memory-original {
    padding: 56px 0;
  }

  .memory-package-card {
    padding: 24px 20px;
  }
}
