.maithe-prices {
  overflow: hidden;
  background: #2f2824;
  color: var(--color-porcelain);
}

.maithe-prices__shell {
  width: min(100%, calc(var(--container-width) + (var(--page-gutter) * 2)));
  margin-inline: auto;
  padding: clamp(90px, 11vw, 164px) var(--page-gutter);
}

.maithe-prices__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  align-items: end;
  gap: 64px;
  margin-bottom: clamp(56px, 7vw, 92px);
}

.maithe-prices__heading > div:first-child > p {
  margin: 0 0 30px;
  color: rgba(245, 241, 235, .68);
  font: 500 10px/1.2 var(--font-sans);
  letter-spacing: .15em;
  text-transform: uppercase;
}

.maithe-prices__heading h2 {
  margin: 0;
  font: 400 clamp(58px, 7.2vw, 106px)/.88 var(--font-serif);
  letter-spacing: -.045em;
}

.maithe-prices__heading h2 em {
  color: #d7b9a6;
  font-weight: 400;
}

.maithe-prices__heading-aside > p {
  margin: 0 0 28px;
  color: rgba(245, 241, 235, .66);
  font: 400 14px/1.65 var(--font-sans);
}

.maithe-prices__heading-aside > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(245, 241, 235, .4);
  font: 500 10px/1.2 var(--font-sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.maithe-prices__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 241, 235, .2);
}

.maithe-prices__toolbar > p {
  margin: 0;
  color: rgba(245, 241, 235, .62);
  font: 500 10px/1 var(--font-sans);
  letter-spacing: .13em;
}

.maithe-prices__toolbar > div { display: flex; gap: 8px; }

.maithe-prices__toolbar button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(245, 241, 235, .32);
  border-radius: 50%;
  background: transparent;
  color: var(--color-porcelain);
  font: 400 17px/1 var(--font-sans);
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, opacity 200ms ease;
}

.maithe-prices__toolbar button:hover:not(:disabled),
.maithe-prices__toolbar button:focus-visible {
  background: var(--color-porcelain);
  color: var(--color-ink);
}

.maithe-prices__toolbar button:disabled { opacity: .25; cursor: default; }

.maithe-prices__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 18px;
  scroll-behavior: smooth;
  scroll-padding-left: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.maithe-prices__track::-webkit-scrollbar { display: none; }

.maithe-prices__card {
  position: relative;
  display: flex;
  flex: 0 0 min(410px, 34vw);
  flex-direction: column;
  min-height: 520px;
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid rgba(245, 241, 235, .18);
  background: rgba(245, 241, 235, .035);
  scroll-snap-align: start;
}

.maithe-prices__card:nth-child(2n) { background: rgba(215, 185, 166, .08); }

.maithe-prices__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 58px;
  color: rgba(245, 241, 235, .58);
  font: 500 9px/1.2 var(--font-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.maithe-prices__card-head span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(245, 241, 235, .28);
  border-radius: 50%;
}

.maithe-prices__card-head p { margin: 0; }

.maithe-prices__card h3 {
  margin: 0 0 20px;
  font: 400 clamp(34px, 3.2vw, 48px)/.98 var(--font-serif);
  letter-spacing: -.03em;
}

.maithe-prices__description {
  min-height: 66px;
  margin: 0;
  color: rgba(245, 241, 235, .62);
  font: 400 13px/1.55 var(--font-sans);
}

.maithe-prices__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 241, 235, .15);
}

.maithe-prices__facts div { min-width: 0; }
.maithe-prices__facts dt {
  margin-bottom: 7px;
  color: rgba(245, 241, 235, .48);
  font: 500 8px/1 var(--font-sans);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.maithe-prices__facts dd {
  margin: 0;
  color: rgba(245, 241, 235, .82);
  font: 400 11px/1.35 var(--font-sans);
}

.maithe-prices__amount {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  padding: 34px 0 24px;
}

.maithe-prices__amount > span {
  padding-bottom: 7px;
  color: rgba(245, 241, 235, .5);
  font: 500 9px/1 var(--font-sans);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.maithe-prices__amount strong {
  color: #d7b9a6;
  font: 400 clamp(56px, 5.5vw, 76px)/.8 var(--font-serif);
  letter-spacing: -.04em;
}

.maithe-prices__amount small { margin-right: 5px; font-size: .42em; vertical-align: top; }

.maithe-prices__card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 17px;
  border-top: 1px solid rgba(245, 241, 235, .35);
  font: 500 9px/1.2 var(--font-sans);
  letter-spacing: .11em;
  text-transform: uppercase;
}

.maithe-prices__card > a i {
  font: normal 15px/1 var(--font-sans);
  transition: transform 220ms ease;
}

.maithe-prices__card > a:hover i,
.maithe-prices__card > a:focus-visible i { transform: translate(3px, -3px); }

@media (max-width: 980px) {
  .maithe-prices__shell { padding-inline: 36px; }
  .maithe-prices__heading { gap: 36px; }
  .maithe-prices__card { flex-basis: min(390px, 52vw); }
}

@media (max-width: 700px) {
  .maithe-prices__shell { padding: 84px 20px 90px; }
  .maithe-prices__heading {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 48px;
  }
  .maithe-prices__heading > div:first-child > p { margin-bottom: 22px; }
  .maithe-prices__heading h2 { font-size: clamp(48px, 15vw, 68px); }
  .maithe-prices__heading-aside > p { font-size: 13px; }
  .maithe-prices__toolbar { margin-bottom: 18px; }
  .maithe-prices__toolbar button { width: 44px; height: 44px; }
  .maithe-prices__track {
    width: calc(100% + 20px);
    padding-right: 20px;
  }
  .maithe-prices__card {
    flex-basis: min(330px, 86vw);
    min-height: 500px;
    padding: 28px 24px;
  }
  .maithe-prices__card-head { margin-bottom: 44px; }
  .maithe-prices__card h3 { font-size: clamp(34px, 10.5vw, 44px); }
  .maithe-prices__description { min-height: 0; }
  .maithe-prices__amount strong { font-size: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  .maithe-prices__track { scroll-behavior: auto; }
  .maithe-prices__toolbar button,
  .maithe-prices__card > a i { transition-duration: .01ms; }
}
