/* Section 04: kartu paket mengikuti kertas, tinta, dan detail emas dari referensi. */
.home-page .pricing-stationery {
  position: relative;
  padding: 30px 9% 62px;
  overflow: visible;
  border-top: 1px solid #b39a7240;
}
/* Sesudah kertas terbuka, bunga dapat menjembatani kertas dan meja.
   Batas viewport tetap memotong dekorasi, tanpa menambah scroll horizontal. */
.home-page .letter-content.is-settled,
.paper-navigation-ready:not(.motion-ready) .home-page .letter-content {
  overflow: visible;
}
.home-page .letter-slot {
  overflow-x: clip;
  overflow-y: visible;
}
.pricing-heading {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 16px;
}
.pricing-heading .eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
}
.home-page .pricing-heading h2 {
  font-size: clamp(42px, 4.2vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 22px 0 0;
}
.home-page .pricing-heading > p {
  font: 400 21px/1.3 var(--serif);
  color: var(--warm-ink);
  padding: 24px 0 24px 42px;
  border-left: 1px solid #b39a7280;
  margin: 22px 40px 0 0;
  flex-shrink: 0;
}
.pricing-carousel {
  position: relative;
  /* Kartu berada di atas bunga agar ornamen tidak menutupi teks pada tablet. */
  z-index: 4;
}
.pricing-stationery .pricing-grid {
  display: flex;
  align-items: stretch;
  gap: 24px;
  border: 0;
  padding: 12px 10px 30px;
  margin: 0 -10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 10px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.pricing-stationery .pricing-grid::-webkit-scrollbar {
  display: none;
}
.pricing-stationery .pricing-grid.is-draggable {
  cursor: grab;
}
.pricing-stationery .pricing-grid.is-dragging {
  cursor: grabbing;
  user-select: none;
  scroll-snap-type: none;
}
.home-page .pricing-stationery .pricing-card {
  position: relative;
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  scroll-snap-align: start;
  padding: 30px 30px 26px;
  border: 1px solid #fffaf0;
  border-radius: 5px;
  background:
    linear-gradient(#fffaf078, #fffaf078),
    url("/img/stationery/ivory-paper-reference.webp") center/680px;
  box-shadow:
    -4px 10px 20px #5940251f,
    0 2px 5px #59402514;
}
.pricing-stationery .pricing-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid #b39a7299;
  border-radius: 2px;
  pointer-events: none;
}
.home-page .pricing-stationery .pricing-card.recommended {
  background:
    linear-gradient(145deg, #681f2be6, #491a20cf),
    url("/img/stationery/burgundy-paper-reference.webp") center/580px;
  color: #f8f0e4;
  border-color: #7d4640;
  box-shadow:
    -4px 10px 20px #46241630,
    0 2px 5px #59402525;
}
.pricing-stationery .recommended::before {
  border-color: #c8ac7666;
}
.pricing-stationery .price-label {
  font: 500 10px/1.5 var(--sans);
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  min-height: 15px;
  justify-content: flex-start;
  gap: 22px;
}
.pricing-stationery .price-label::after {
  content: "";
  height: 1px;
  width: 34px;
  background: #b39a72;
}
.home-page .pricing-stationery .popular-label {
  position: absolute;
  top: 12px;
  right: -5px;
  z-index: 2;
  padding: 7px 18px 7px 23px;
  border: 0;
  background: linear-gradient(100deg, #b79a66, #f0dfba 17%, #deca9e 72%, #b69a69);
  color: #54212a;
  font: 600 10px/1.5 var(--sans);
  letter-spacing: 0.07em;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 5% 50%);
  filter: drop-shadow(0 3px 2px #29170e55);
}
.pricing-stationery .pricing-card h3 {
  font-size: 42px;
  line-height: 1;
  margin: 0;
  letter-spacing: -0.035em;
}
.home-page .pricing-stationery .package-description {
  font: 400 20px/1.2 var(--serif);
  color: var(--warm-ink);
  min-height: 48px;
  max-width: 270px;
  margin: 4px 0 0;
}
.pricing-stationery .price {
  font: 400 44px/1.05 var(--serif);
  margin-top: 12px;
  letter-spacing: -0.035em;
}
.home-page .pricing-stationery .price-note {
  font: 400 14px/1.5 var(--serif);
  color: #544b40;
  margin: 4px 0 0;
}
.home-page .pricing-stationery .recommended :is(.package-description, .price-note) {
  color: #f3e5d7;
}
.pricing-stationery .feature-list {
  font: 400 18px/1.35 var(--serif);
  padding: 12px 0;
  margin: 14px 0 12px;
  border-top: 1px solid #b39a7255;
  border-bottom: 1px solid #b39a7255;
}
.pricing-stationery .feature-list li {
  gap: 12px;
  margin-bottom: 3px;
}
.pricing-stationery .feature-list li:last-child {
  margin-bottom: 0;
}
.pricing-stationery .feature-list li span {
  font: 400 18px/1 var(--sans);
  color: #916b3b;
}
.pricing-stationery .recommended .feature-list {
  border-color: #ddc5a34a;
}
.pricing-stationery .recommended .feature-list li span {
  color: #dec49a;
}
.pricing-stationery .pricing-card .button {
  min-height: 46px;
  padding: 10px 18px;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #681f2b;
  font: 500 18px/1.2 var(--serif);
  letter-spacing: -0.015em;
  color: #681f2b;
  background: #fffaf026;
}
.pricing-stationery .pricing-card.recommended .button {
  background: #f5eee3;
  border-color: #dcc9ab;
}
.pricing-stationery .pricing-card .button:hover {
  color: #fff8ed;
  background: #681f2b;
  transform: none;
}
.pricing-stationery .pricing-card.recommended .button:hover {
  background: #e8d9bd;
  color: #54212a;
}
.pricing-stationery .button svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.pricing-botanical {
  position: absolute;
  width: 190px;
  height: auto;
  pointer-events: none;
  z-index: 3;
  filter: saturate(0.72) brightness(1.04) contrast(0.95) drop-shadow(-3px 7px 6px #51351e26)
    drop-shadow(-1px 2px 1px #51351e1f);
}
.pricing-botanical-left {
  left: -77px;
  top: 112px;
  transform: rotate(-18deg);
}
.pricing-botanical-right {
  right: -68px;
  bottom: 38px;
  transform: rotate(8deg) scaleX(-1);
}
.pricing-end-rule {
  display: block;
  width: 34px;
  height: 4px;
  border-radius: 99px;
  margin: 8px auto 0;
  background: #681f2b;
}
.pricing-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}
.pricing-navigation[hidden] {
  display: none;
}
.pricing-control {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  flex-shrink: 0;
  border: 1px solid #681f2b;
  border-radius: 50%;
  background: #f3eee4;
  color: #681f2b;
  cursor: pointer;
}
.pricing-control:hover:not(:disabled) {
  background: #681f2b;
  color: #f3eee4;
}
.pricing-control:disabled {
  color: #a49382;
  border-color: #cdbfb0;
  cursor: default;
}
.pricing-pagination {
  display: flex;
  gap: 8px;
}
.pricing-pagination button {
  width: 30px;
  min-height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.pricing-pagination button::before {
  content: "";
  display: block;
  height: 5px;
  width: 100%;
  background: #c3b7a5;
  border-radius: 99px;
}
.pricing-pagination button[aria-current="true"]::before {
  background: #681f2b;
}
.pricing-stationery:has(.pricing-navigation:not([hidden])) .pricing-end-rule {
  display: none;
}
.pricing-stationery :is(.pricing-control, .pricing-pagination button):focus-visible {
  outline: 2px solid #681f2b;
  outline-offset: 4px;
}
@media (max-width: 1200px) {
  .home-page .pricing-stationery {
    padding-inline: 6%;
  }
  .home-page .pricing-stationery .pricing-card {
    padding-inline: 24px;
  }
  .pricing-heading {
    gap: 24px;
  }
  .home-page .pricing-heading > p {
    padding-left: 24px;
    font-size: 19px;
    margin-right: 0;
  }
  .pricing-stationery .pricing-card h3 {
    font-size: 38px;
  }
  .pricing-stationery .price {
    font-size: 38px;
  }
  .pricing-stationery .feature-list {
    font-size: 17px;
  }
}
@media (max-width: 1000px) {
  .home-page .pricing-stationery .pricing-card {
    flex-basis: calc((100% - 24px) / 2.1);
    min-width: 280px;
  }
  .pricing-end-rule {
    display: none;
  }
  .pricing-heading .eyebrow {
    font-size: 9px;
  }
}
@media (max-width: 767px) {
  .home-page .pricing-stationery {
    padding: 48px 24px 54px;
  }
  .pricing-heading {
    display: block;
    margin-bottom: 20px;
  }
  .pricing-heading .eyebrow {
    display: block;
    font-size: 8px;
    line-height: 1.8;
    letter-spacing: 0.15em;
    max-width: 265px;
  }
  .home-page .pricing-heading h2 {
    font-size: clamp(35px, 9.2vw, 44px);
    margin-top: 20px;
  }
  .home-page .pricing-heading > p {
    font-size: 18px;
    padding: 0 0 0 16px;
    margin-top: 22px;
  }
  .pricing-stationery .pricing-grid {
    gap: 18px;
    margin-inline: -10px;
    padding-bottom: 24px;
  }
  .home-page .pricing-stationery .pricing-card {
    flex-basis: 93%;
    min-width: 0;
    padding: 30px 24px 24px;
  }
  .pricing-stationery .pricing-card h3 {
    font-size: 37px;
  }
  .home-page .pricing-stationery .package-description {
    font-size: 19px;
  }
  .pricing-stationery .price-label {
    font-size: 9px;
    gap: 14px;
  }
  .pricing-stationery .price-label::after {
    width: 24px;
  }
  .home-page .pricing-stationery .popular-label {
    font-size: 8px;
    top: 8px;
    padding: 5px 12px 5px 18px;
  }
  .pricing-stationery .pricing-card .button {
    font-size: 16px;
    padding-inline: 12px;
  }
  .pricing-botanical-left {
    width: 125px;
    left: -80px;
    top: 35px;
    opacity: 0.65;
  }
  .pricing-botanical-right {
    width: 140px;
    right: -83px;
    bottom: 5px;
    opacity: 0.7;
  }
  .pricing-navigation {
    gap: 18px;
  }
  .pricing-control {
    width: 44px;
    height: 44px;
  }
}
