.main.credit-store {
  width: min(72rem, 92%);
  padding-block: clamp(1.2rem, 3vw, 2.5rem) clamp(2rem, 5vw, 4.75rem);
  color: var(--ink);
}
.credit-store h1, .credit-store h2, .credit-store h3, .offer-quantity, .store-balance strong {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: inherit;
}
.credit-store a { color: var(--forest); }
.store-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(13.5rem, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  background: linear-gradient(#bad1bb80, #bad1bb80), #a4c5aa url("noticeboard-texture.a80484f87861.webp") repeat;
  border: 1px solid #92b19b;
  border-radius: .85rem;
}
.store-intro h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); max-width: 14ch; }
.store-intro p { font-size: clamp(1rem, 1.6vw, 1.15rem); margin: .8rem 0 0; max-width: 47ch; }
.store-intro .store-action { margin-top: .9rem; color: #281c19; }
.store-intro small { display: block; margin-top: .3rem; color: #334736; }
.store-balance {
  position: relative;
  justify-self: end;
  width: min(100%, 19rem);
  padding: 1.35rem 1.4rem 1.1rem;
  border-radius: .12rem .25rem .14rem .12rem;
  background: var(--paper);
  box-shadow: 2px 4px 0 #344d3b24;
}
.store-balance::before {
  content: "";
  position: absolute;
  width: 3.5rem;
  height: 1rem;
  top: -.48rem;
  left: calc(50% - 1.75rem);
  background: #ddc69af2;
  transform: rotate(-5deg);
}
.store-balance > span { color: #54594f; font-size: .87rem; }
.store-balance strong { display: block; margin-block: .35rem .6rem; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.store-balance a { display: inline-flex; align-items: center; gap: .5rem; min-height: 2rem; font-size: .87rem; font-weight: 700; }
.store-sample { position: relative; justify-self: center; margin: 0; width: min(100%, 16rem); height: clamp(9.5rem, 12vw, 12rem); }
.store-sample img { position: absolute; top: 0; right: 0; height: 100%; width: auto; transform: rotate(5deg); }
.store-sample img + img { top: 18%; right: 45%; height: 80%; transform: rotate(-8deg); }
.store-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.9rem; border-bottom: 1px solid #cbcfc5; margin-block: .75rem 1rem; }
.store-nav a { padding: .75rem 0; color: inherit; border-bottom: 3px solid transparent; text-decoration: none; font-weight: 650; }
.store-nav a[aria-current] { border-color: #2f5643; }
.store-nav a:hover, .billing-interval a:hover { text-decoration: underline; }
.store-section, .store-history { margin-top: clamp(1.8rem, 4vw, 3.15rem); }
.store-section-heading, .store-signin, .current-plan, .store-fineprint {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.4rem;
}
.store-section-heading a { padding-block: .4rem; font-size: .93rem; font-weight: 650; }
.credit-store h2 { font-size: clamp(1.8rem, 3.2vw, 2.75rem); }
.store-lede, .store-terms, .store-fineprint p { color: #4e564e; }
.store-lede { margin: .55rem 0 1.25rem; max-width: 77ch; }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.9vw, 1.4rem); }
.offer-card {
  display: flex; flex-direction: column; align-items: stretch;
  padding: clamp(1rem, 2.4vw, 1.65rem);
  border: 1px solid #cbd0c5; border-radius: .75rem; background: #fffefb;
}
.offer-card h3 { font: 750 1.45rem/1.2 var(--font-sans); letter-spacing: -.012em; }
.pack-card { border-top: 5px solid #b4ccba; }
.pack-card:nth-child(2) { border-top-color: #dc877c; background: #fff8f3; }
.pack-card:nth-child(3) { border-top-color: #ddbe79; }
.offer-quantity { font-size: clamp(2.4rem, 4vw, 3.3rem); margin: 1rem 0 .5rem; }
.offer-quantity span { font-size: 1.45rem; }
.offer-purpose { color: #4e564e; font-size: .95rem; margin: 0 0 1.25rem; }
.offer-rate { display: flex; align-items: baseline; flex-wrap: wrap; gap: .2rem .5rem; }
.offer-rate span, .offer-card small { color: #555d54; font-size: .86rem; }
.pack-card .offer-rate { margin-top: auto; padding-top: .65rem; border-top: 1px solid #d9dcd2; }
.offer-card form { margin: .85rem 0 0; }
.store-action {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem;
  padding: .55rem 1.1rem; border: 1px solid #c66b5e; border-radius: 2rem;
  background: var(--coral, #ff796b); box-shadow: 0 2px 0 #853f3338; color: #281c19; text-align: center; text-decoration: none;
  font: inherit; font-weight: 750; cursor: pointer;
}
.store-action:not(:disabled):hover { background: #ff9989; }
.offer-card .store-action { width: 100%; }
.store-link-button { min-height: 2.75rem; padding: .5rem 1rem; color: var(--forest); background: #fffdf9; border: 1px solid #738577; border-radius: 2rem; font: inherit; font-weight: 650; cursor: pointer; }
.store-message { background: #f1f3ed; border-left: .2rem solid #758b74; padding: .65rem .9rem; font-size: .91rem; }
.store-terms { max-width: 84ch; font-size: .9rem; margin-bottom: 0; }
.billing-interval { display: inline-flex; flex-wrap: wrap; padding: .2rem; border: 1px solid #c4cbbf; border-radius: 1.5rem; margin: 0 0 1.2rem; }
.billing-interval a { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .35rem .95rem; border-radius: 1.35rem; color: inherit; text-decoration: none; font-weight: 660; }
.billing-interval a[aria-current] { background: #264537; color: white; }
.plan-card { background: #f6f7f0; }
.plan-card .offer-quantity { font-size: clamp(1.4rem, 2.1vw, 1.75rem); min-height: 2.12em; margin: .65rem 0 1rem; }
.plan-option { padding-top: .8rem; border-top: 1px solid #c9cec0; }
.plan-option + .plan-option { margin-top: .85rem; }
.plan-savings { margin: .35rem 0 0; color: var(--forest); font-size: .87rem; }
.current-plan { margin-top: 1rem; padding: 1.3rem; border: 1px solid #c7ccbf; border-radius: .6rem; background: #f6f7f0; }
.current-plan h3 { margin-block: .35rem; font-size: 1.7rem; }
.current-plan p, .store-signin p { margin: .4rem 0 0; }
.store-signin { margin-top: 2.5rem; padding: clamp(1.2rem, 2.7vw, 2.1rem); border-radius: .65rem; background: #f7e5df; }
.store-signin h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.store-account-links, .store-fineprint div { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.1rem; }
.store-account-links a { color: inherit; font-weight: 650; }
.store-history ul { padding: 0; list-style: none; border-top: 1px solid #cbd0c5; }
.store-history li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid #d9dcd2; }
.store-history small { color: #515950; font-weight: 450; }
.store-history li div small { display: block; }
.store-fineprint { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #cbd0c5; font-size: .88rem; }
.store-fineprint p { margin: 0; }
@media (max-width: 45rem) {
  .store-heading { grid-template-columns: 1fr; gap: 1.35rem; }
  .store-sample { display: none; }
  .store-balance { justify-self: start; width: 100%; max-width: 24rem; padding: .85rem 1rem; }
  .store-balance::before { width: 2.5rem; left: auto; right: 2rem; }
  .store-nav { gap: .3rem 1.15rem; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-quantity { margin: .55rem 0 .25rem; }
  .offer-purpose { margin-bottom: .8rem; }
  .plan-card .offer-quantity { min-height: 0; }
}
@media (max-width: 23rem) {
  .store-nav { gap: .25rem .8rem; font-size: .9rem; }
  .billing-interval a { padding-inline: .7rem; font-size: .9rem; }
}
.billing-notice { width: min(100%, 39rem); margin: 2rem auto; padding: clamp(1.5rem, 4vw, 2.8rem); border: 1px solid #cbd0c5; border-top: 5px solid #dc877c; border-radius: .75rem; background: var(--paper); }
.billing-notice h1 { font-size: clamp(2.15rem, 4vw, 3.1rem); }
.billing-notice p { margin: .75rem 0 1.5rem; }

.postpurchase {
  position: static;
  width: min(34rem, 92%);
  box-sizing: border-box;
  margin: 1rem auto;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #a6b6a8;
  border-top: 5px solid #648a6e;
  border-radius: .85rem;
}
.postpurchase:modal {
  position: fixed;
  margin: auto;
  max-height: 90dvh;
  overflow-y: auto;
  box-shadow: 0 1rem 4rem #17251d38;
}
.postpurchase::backdrop { background: #18261ed1; }
.postpurchase p { line-height: 1.55; margin: .9rem 0 1.35rem; }
.postpurchase form { display: flex; flex-wrap: wrap; gap: .65rem; }
