.prices {
  padding: clamp(32px, 5vw, 70px) 0;
  max-width: 1000px;
  width: 100%;
  margin: auto;
}
.price-intro {
  padding-bottom: 1.45rem;
}
.price-intro h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  max-width: 12em;
}
.price-intro .primary {
  text-decoration: none;
}
.price-intro .intro {
  max-width: 43em;
}
.price-section {
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.price-section h2,
.shop-panel h3,
.receipt-banner h2 {
  font: 400 clamp(1.5rem, 2.4vw, 2rem) / 1.15 var(--serif);
  letter-spacing: -0.04em;
  margin: 0.2rem 0 0.6rem;
}
.price-section > p {
  color: var(--muted);
  line-height: 1.55;
  max-width: 55em;
  margin: 0.5rem 0 1.2rem;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.price-card,
.pack-card,
.book-price {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
}
.price-card h3,
.pack-card h3,
.book-price h3,
.shop-panel h4 {
  font-weight: 710;
  font-size: 1rem;
  margin: 0.65rem 0 0.25rem;
}
.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}
.price-card p,
.book-price p {
  font-size: 0.88rem;
  line-height: 1.4;
  margin: 0.3rem 0;
  color: var(--muted);
}
.price-tag {
  font-weight: 730;
  font-size: 1rem;
  white-space: nowrap;
}
.sample-finish {
  min-height: 60px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid #aaa388;
  border-radius: 4px;
  color: #204139;
  font: italic 1.1rem var(--serif);
}
.sample-finish::before {
  content: "✦";
  position: absolute;
  right: 8px;
  top: 5px;
  font: 1rem/1 var(--serif);
}
.sample-gold,
.letter-gold {
  background: linear-gradient(135deg, #f7e5a5, #fffaf0 45%, #e5c77c);
  border-color: #9b772b !important;
}
.sample-frost,
.letter-frost {
  background:
    repeating-linear-gradient(117deg, #dcedec 0 1px, transparent 1px 16px),
    linear-gradient(135deg, #dfedf2, #fffdf8 55%, #d8e7ee);
  border-color: #88aab7 !important;
}
.sample-aurora,
.letter-aurora {
  background:
    radial-gradient(ellipse at 5% 0%, #b5dac8, transparent 55%),
    radial-gradient(ellipse at 100% 90%, #d8c1dd, transparent 65%), #f4f3e8;
  border-color: #9b84ac !important;
}
.sample-deluxe,
.letter-deluxe {
  background:
    repeating-linear-gradient(45deg, transparent 0 10px, #d6ac6230 11px 12px),
    radial-gradient(ellipse at 100% 0, #d1a46c40, transparent 63%), #f2dcd8;
  border-color: #a65c4d !important;
}
.sample-frost::before {
  content: "❄";
}
.sample-aurora::before {
  content: "✧";
}
.sample-deluxe::before {
  content: "❖";
}
.sample-free {
  background: var(--paper);
}
.sample-free::before {
  content: none;
}
.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.pack-card h3,
.book-price h3 {
  margin: 0.1rem 0 0.4rem;
}
.book-price {
  max-width: 470px;
  border: 3px double #a78241;
}
.shop-panel {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
.shop-panel > summary,
.wallet-box > summary {
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.6rem 0;
  min-height: 44px;
}
.shop-panel label,
.shop-panel select {
  margin: 0.4rem 0;
}
.shop-panel .actions {
  margin: 0.6rem 0;
}
.shop-panel .secondary,
.shop-panel .primary {
  min-height: 42px;
  font-size: 0.87rem;
  padding: 0.6rem 0.8rem;
}
.shop-panel > .hint {
  margin: 0.5rem 0;
}
.wallet-box {
  margin-top: 0.8rem;
}
.wallet-code {
  width: 100%;
  font:
    0.82rem/1.4 ui-monospace,
    monospace;
  word-break: break-all;
}
.receipt-banner {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 1.2rem;
  margin: 1.1rem 0;
}
.receipt-banner p {
  line-height: 1.45;
  margin: 0.5rem 0;
}
.receipt-banner a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.finish-stamp {
  position: absolute;
  top: 22%;
  left: 43%;
  display: grid;
  place-items: center;
  width: 17%;
  height: 16%;
  color: #2e382e;
  background: #f0cf73;
  font: bold 0.75rem/1 var(--serif);
  border-radius: 50%;
  border: 1px solid #865e21;
  text-shadow: none;
}
.stamp-frost {
  color: #2b5365;
  background: #ddf4ff;
}
.stamp-aurora {
  color: #523756;
  background: linear-gradient(45deg, #a7e9c1, #ecc5e9);
}
.stamp-deluxe {
  color: #fff2c2;
  background: #873c47;
}
.gilded-calendar {
  border: 4px double #c4a04e;
  box-shadow:
    0 0 0 1px #826727,
    0 7px 15px #1d342826;
}
.gilded-calendar::before {
  border: 2px solid #ddc577a6;
}
.letter-finish {
  border: 1px solid;
  padding: 1rem;
  border-radius: 6px;
  margin: 0.72rem 0;
}
.letter-finish .read-note {
  margin: 0.45rem 0;
}
.finish-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.progress-summary {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.55rem 0;
}
.share-composer textarea {
  height: 100px;
}
.return-gift {
  margin-top: 0.5rem;
}
.shop-notice {
  color: var(--wine);
  font-size: 0.9rem;
  line-height: 1.45;
}
.shop-preview {
  margin: 0.5rem 0;
}
.shop-preview[hidden] {
  display: none;
}
@media (max-width: 780px) {
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 500px) {
  .price-card {
    padding: 10px;
  }
  .price-row {
    display: block;
  }
  .price-card h3 {
    margin: 0.5rem 0 0.1rem;
  }
  .pack-grid {
    grid-template-columns: 1fr;
  }
  .pack-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .pack-card h3 {
    margin: 0;
  }
  .prices {
    padding-top: 2.1rem;
  }
  .sample-finish {
    min-height: 49px;
  }
  .finish-stamp {
    font-size: 0.57rem;
  }
}
