/* Vice City Sticker Shop: a merchant page, so it gets its own beachy header while keeping the BuckMe palette. */

.shop-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: #fffdf8;
}

.shop-name {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.shop-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.shop-by {
  font-size: 14px;
  color: var(--muted);
}

.account {
  display: flex;
  align-items: center;
}
.signed-in {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}
.signed-in strong {
  color: var(--violet-deep);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.link {
  border: 0;
  padding: 4px 2px;
  background: none;
  color: var(--violet);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.account-error {
  margin: 0;
  padding: 10px var(--gutter);
  background: #f7e3df;
  color: var(--tomato);
  font-size: 15px;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(32px, 7vh, 88px) var(--gutter);
}

/* the sticker: die-cut white edge, sunset vinyl, type only */
.sticker-stage {
  margin: 0;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 32px;
  background: var(--lilac);
}

.sticker {
  display: grid;
  justify-items: center;
  gap: 2px;
  width: 70%;
  padding: 11% 6% 9%;
  border: 10px solid #fff;
  border-radius: 46% 46% 40px 40px / 38% 38% 40px 40px;
  background: linear-gradient(180deg, var(--gold) 0%, #e98a6c 38%, var(--orchid) 70%, var(--violet) 100%);
  color: var(--ivory);
  text-align: center;
  box-shadow: 0 2px 0 #e8dfe2, 0 22px 40px -18px rgb(46 22 80 / 0.55);
  transform: rotate(-6deg);
  transition: transform 0.4s var(--ease-out);
}
.sticker-stage:hover .sticker {
  transform: rotate(-3deg) scale(1.02);
}

.s-top {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(13px, 1.5vw, 17px);
  opacity: 0.92;
}
.s-main {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-shadow: 0 3px 0 rgb(46 22 80 / 0.25);
}
.s-sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 24px);
  letter-spacing: -0.01em;
}
.s-foot {
  margin-top: 10px;
  font-size: clamp(11px, 1.1vw, 13px);
  opacity: 0.85;
}

.kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
}
.details h1 {
  font-size: var(--text-h1);
}
.blurb {
  max-width: 34ch;
  margin: 16px 0 0;
  font-size: 19px;
}
.price {
  margin: 28px 0 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.price .unit {
  font-size: 20px;
  color: var(--violet);
  letter-spacing: 0;
}

buckme-pay-button {
  --buckme-radius: 14px;
}

.fine {
  max-width: 44ch;
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.receipt-card {
  max-width: 440px;
  padding: 24px;
  border-radius: 20px;
  background: #fffdf8;
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -28px rgb(66 57 47 / 0.5);
}
.receipt-card:focus {
  outline: none;
}
.receipt-card h2 {
  font-size: 26px;
  color: var(--mint);
  margin-bottom: 14px;
}
.receipt-card dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 18px;
  margin: 0;
  font-size: 15px;
}
.receipt-card dt {
  color: var(--muted);
}
.receipt-card dd {
  margin: 0;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.receipt-card .btn {
  margin-top: 18px;
}

.checking {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--muted);
}

.how {
  max-width: 1180px;
  margin: 0 auto clamp(40px, 8vh, 96px);
  padding: 28px var(--gutter) 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.how h2 {
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: 0;
}
.how ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 32px;
  margin: 14px 0;
  padding-left: 20px;
  color: var(--text);
}

@media (max-width: 820px) {
  .product {
    grid-template-columns: 1fr;
  }
  .sticker-stage {
    max-width: 420px;
    width: 100%;
    justify-self: center;
  }
  .how ol {
    grid-template-columns: 1fr;
  }
}
