.maes-page {
  position: relative;
  overflow: clip;
}

.maes-page::before,
.maes-page::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}

.maes-page::before {
  width: min(70vw, 720px);
  height: min(70vw, 720px);
  top: -220px;
  left: -220px;
  background: radial-gradient(circle, rgba(244, 115, 167, 0.2) 0%, rgba(244, 115, 167, 0) 72%);
}

.maes-page::after {
  width: min(54vw, 520px);
  height: min(54vw, 520px);
  top: 760px;
  right: -160px;
  background: radial-gradient(circle, rgba(182, 145, 81, 0.18) 0%, rgba(182, 145, 81, 0) 72%);
}

.maes-page section {
  position: relative;
  z-index: 1;
}

.maes-page h1,
.maes-page h2,
.maes-page h3 {
  letter-spacing: -0.02em;
}

.maes-breadcrumb,
.maes-hero__content,
.maes-hero__media,
.maes-message__media,
.maes-message__content,
.maes-card,
.maes-detail,
.maes-extra,
.maes-order__panel,
.maes-order__card,
.maes-availability__card,
.maes-cta__card {
  animation: fadeUp 0.85s ease both;
}

.maes-breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.maes-breadcrumb a {
  color: var(--brand-700);
  font-weight: 700;
}

.maes-hero {
  padding-top: clamp(104px, 18vh, 148px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.maes-hero__grid,
.maes-message__grid,
.maes-order__grid {
  display: grid;
  gap: 26px;
}

.maes-hero__content h1 {
  font-size: clamp(2.85rem, 11vw, 5.8rem);
  line-height: 0.9;
  margin-bottom: 10px;
}

.maes-hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 5.5vw, 2.15rem);
  line-height: 1.04;
  color: #a45168;
  max-width: 15ch;
}

.maes-hero__text {
  margin-top: 14px;
  max-width: 37rem;
  color: var(--muted);
  font-size: clamp(1rem, 3.8vw, 1.14rem);
}

.maes-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}

.maes-badge {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d87d96 0%, #c15a7a 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(193, 90, 122, 0.22);
}

.maes-badge--soft {
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-700);
  border: 1px solid rgba(182, 145, 81, 0.2);
  box-shadow: 0 14px 28px rgba(70, 56, 49, 0.08);
}

.maes-hero__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
}

.maes-hero__facts li {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(182, 145, 81, 0.16);
  color: var(--text);
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(70, 56, 49, 0.08);
}

.maes-hero__actions {
  margin-top: 22px;
}

.maes-anchor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(182, 145, 81, 0.24);
  background: rgba(255, 255, 255, 0.78);
  color: var(--brand-700);
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(70, 56, 49, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.maes-anchor:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 38px rgba(70, 56, 49, 0.12);
  border-color: rgba(182, 145, 81, 0.34);
}

.maes-anchor--light {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.maes-anchor--light:hover {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: none;
}

.maes-hero__media {
  position: relative;
  display: grid;
  gap: 16px;
}

.maes-hero__frame {
  position: relative;
  padding: 12px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(182, 145, 81, 0.18);
  box-shadow: 0 28px 56px rgba(70, 56, 49, 0.16);
  overflow: hidden;
}

.maes-hero__frame::after {
  content: "";
  position: absolute;
  inset: auto -26px -26px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0) 72%);
}

.maes-hero__frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
}

.maes-hero__note {
  padding: 18px 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(182, 145, 81, 0.16);
  box-shadow: 0 20px 40px rgba(70, 56, 49, 0.1);
  display: grid;
  gap: 8px;
}

.maes-hero__note-label,
.maes-card__label,
.maes-detail__label,
.maes-extra__label,
.maes-message__card-label {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-600);
  font-weight: 700;
}

.maes-hero__note strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2rem);
  line-height: 1.04;
  color: var(--text);
}

.maes-hero__note span {
  color: var(--muted);
}

.maes-message,
.maes-section,
.maes-cta {
  padding: clamp(56px, 8vw, 92px) 0;
}

.maes-message__media,
.maes-message__content,
.maes-order__panel,
.maes-order__card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(182, 145, 81, 0.16);
  box-shadow: 0 18px 44px rgba(70, 56, 49, 0.1);
}

.maes-message__media {
  padding: 14px;
  border-radius: 32px;
  overflow: hidden;
}

.maes-message__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
}

.maes-message__content {
  padding: clamp(22px, 5vw, 34px);
  border-radius: 30px;
  display: grid;
  gap: 14px;
}

.maes-message__content h2,
.maes-order__panel h2,
.maes-availability__card h2 {
  font-size: clamp(2rem, 7vw, 3.2rem);
  line-height: 0.98;
}

.maes-message__card {
  margin-top: 6px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 247, 247, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%);
  border: 1px solid rgba(182, 145, 81, 0.18);
  box-shadow: 0 14px 30px rgba(70, 56, 49, 0.08);
  display: grid;
  gap: 10px;
}

.maes-message__card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.8vw, 1.9rem);
  line-height: 1.08;
  color: var(--text);
}

.maes-message__list,
.maes-detail__list,
.maes-extra__list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.maes-message__list li,
.maes-detail__list li,
.maes-extra__list li {
  margin: 0.22rem 0;
}

.maes-section__head {
  margin-bottom: 28px;
}

.maes-grid,
.maes-collection__grid,
.maes-extras__grid,
.maes-order__cards {
  display: grid;
  gap: 16px;
}

.maes-card,
.maes-detail,
.maes-extra {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 100%);
  border: 1px solid rgba(182, 145, 81, 0.16);
  box-shadow: 0 18px 44px rgba(70, 56, 49, 0.1);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.maes-card:hover,
.maes-detail:hover,
.maes-extra:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 52px rgba(70, 56, 49, 0.14);
  border-color: rgba(182, 145, 81, 0.28);
}

.maes-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 28px;
}

.maes-card--accent {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(253, 236, 239, 0.96) 100%);
}

.maes-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 246, 247, 0.98) 0%, rgba(252, 236, 232, 0.92) 100%);
}

.maes-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(70, 56, 49, 0) 0%, rgba(70, 56, 49, 0.08) 100%);
}

.maes-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform 0.55s ease;
}

.maes-card:hover .maes-card__media img {
  transform: scale(1.03);
}

.maes-card__body {
  display: grid;
  gap: 10px;
  padding: 22px 20px 20px;
}

.maes-card h3,
.maes-detail h3,
.maes-extra h3 {
  font-size: clamp(1.5rem, 5.4vw, 2rem);
  line-height: 1;
}

.maes-card__desc,
.maes-detail p:not(.maes-price):not(.maes-detail__badge),
.maes-extra p:not(.maes-price) {
  color: var(--muted);
}

.maes-price {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(216, 193, 154, 0.22);
  color: var(--brand-700);
  font-size: 1.02rem;
  font-weight: 800;
  border: 1px solid rgba(182, 145, 81, 0.16);
}

.maes-price--inline {
  margin-top: 6px;
}

.maes-detail {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 30px;
}

.maes-detail__media {
  background: linear-gradient(180deg, rgba(255, 246, 247, 0.98) 0%, rgba(252, 236, 232, 0.92) 100%);
  min-height: 260px;
}

.maes-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.maes-detail__media--cake img {
  object-fit: contain;
  padding: 22px;
}

.maes-detail__content {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 4vw, 28px);
}

.maes-detail__head {
  display: grid;
  gap: 2px;
}

.maes-detail__badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(244, 115, 167, 0.12);
  color: #a45168;
  font-weight: 800;
}

.maes-detail__list--compact li,
.maes-extra__list li {
  color: var(--text);
  font-weight: 600;
}

.maes-extra {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 4vw, 28px);
  border-radius: 30px;
}

.maes-extra--accent {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(253, 236, 239, 0.98) 100%);
}

.maes-extra__head {
  display: grid;
  gap: 4px;
}

.maes-order__panel {
  padding: clamp(22px, 5vw, 34px);
  border-radius: 30px;
  display: grid;
  gap: 14px;
}

.maes-order__lead {
  color: var(--text);
  font-size: clamp(1.02rem, 3.8vw, 1.16rem);
}

.maes-order__note {
  color: #a45168;
  font-weight: 800;
}

.maes-order__cards {
  align-content: start;
}

.maes-order__card {
  padding: 20px 18px;
  border-radius: 24px;
  display: grid;
  gap: 8px;
}

.maes-order__card h3 {
  font-size: 1.45rem;
  color: var(--brand-700);
}

.maes-order__card p {
  color: var(--muted);
}

.maes-order__card--highlight {
  background: linear-gradient(135deg, rgba(244, 115, 167, 0.12) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.maes-availability {
  padding-top: 0;
}

.maes-availability__card {
  padding: clamp(24px, 5vw, 36px);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(253, 236, 239, 0.92) 52%, rgba(255, 255, 255, 0.98) 100%);
  border: 1px solid rgba(182, 145, 81, 0.18);
  box-shadow: 0 22px 48px rgba(70, 56, 49, 0.12);
  display: grid;
  gap: 12px;
  text-align: center;
}

.maes-availability__card p {
  max-width: 44rem;
  margin: 0 auto;
  color: var(--muted);
}

.maes-cta {
  padding-top: clamp(24px, 4vw, 36px);
  padding-bottom: clamp(56px, 8vw, 92px);
}

.maes-cta__card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 40px);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(166, 84, 104, 0.96) 0%, rgba(201, 130, 151, 0.92) 48%, rgba(182, 145, 81, 0.9) 100%);
  box-shadow: 0 28px 60px rgba(70, 56, 49, 0.18);
  color: #fff;
  text-align: center;
}

.maes-cta__card::before {
  content: "";
  position: absolute;
  inset: auto -46px -78px auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 72%);
}

.maes-cta__card .eyebrow,
.maes-cta__card h2,
.maes-cta__card p,
.maes-cta__actions {
  position: relative;
  z-index: 1;
}

.maes-cta__card .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.maes-cta__card h2 {
  color: #fff;
  font-size: clamp(2rem, 6.8vw, 3.45rem);
  line-height: 0.98;
  max-width: 14ch;
  margin: 0 auto 14px;
}

.maes-cta__card p {
  max-width: 40rem;
  margin: 0 auto 22px;
  color: rgba(255, 255, 255, 0.88);
}

.maes-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.maes-cta__card .button {
  min-width: min(100%, 260px);
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.92) 100%);
  color: var(--brand-700);
  border-color: rgba(255, 255, 255, 0.46);
  box-shadow: 0 20px 34px rgba(70, 56, 49, 0.16);
}

.maes-cta__card .button:hover {
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.86) 100%);
  color: #a45168;
}

@media (min-width: 760px) {
  .maes-grid--highlights,
  .maes-extras__grid,
  .maes-order__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .maes-collection__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .maes-detail--wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 980px) {
  .maes-hero__grid,
  .maes-message__grid,
  .maes-order__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
  }

  .maes-grid--highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .maes-detail {
    grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  }

  .maes-detail--wide {
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  }
}

@media (max-width: 820px) {
  .maes-hero__actions,
  .maes-cta__actions {
    justify-content: flex-start;
  }

  .maes-cta__card {
    text-align: left;
  }

  .maes-cta__card h2,
  .maes-cta__card p {
    margin-left: 0;
    margin-right: 0;
  }

  .maes-availability__card {
    text-align: left;
  }

  .maes-availability__card p {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 540px) {
  .maes-hero {
    padding-top: clamp(92px, 16vh, 116px);
  }

  .maes-hero__actions,
  .maes-hero__actions .button,
  .maes-anchor,
  .maes-cta__actions,
  .maes-cta__actions .button,
  .maes-cta__actions .maes-anchor {
    width: 100%;
  }

  .maes-hero__actions,
  .maes-cta__actions {
    display: grid;
  }

  .maes-card,
  .maes-detail,
  .maes-extra,
  .maes-message__media,
  .maes-message__content,
  .maes-order__panel,
  .maes-availability__card,
  .maes-cta__card {
    border-radius: 24px;
  }

  .maes-card__body,
  .maes-detail__content,
  .maes-extra,
  .maes-order__card {
    padding-inline: 18px;
  }

  .maes-hero__facts li {
    width: 100%;
  }
}
