/* The Crux's shop: a black-and-white guidebook page. Heavy uppercase names,
   thick black rules, everything listed down the page like the problems on a
   topo. The goat signs the masthead and the gift card tag, and nowhere else.
   The platform accent stays on the pay buttons only, as on every other Crux
   member page; everything else is ink and paper. Tokens only. */

.shop-crux { --shop-display: var(--display), Gibson, "Arial Black", "Helvetica Neue",
                             Arial, sans-serif;
             --shop-mark: url("crux-mark.47113034a9c6.png"); }
.shop-crux { font-family: var(--body), "Century Gothic", "Avenir Next", Avenir,
                          system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
.shop-crux h1, .shop-crux h2, .shop-crux h3, .shop-crux .cta, .shop-crux button {
  font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; }
.shop-crux h1 { font-size: clamp(2.6rem, 9vw, 4.6rem); line-height: .9; margin-bottom: 1rem; }

/* The masthead: the goat lockup, then a heavy rule, like a guidebook header. */
.shop-crux.shop-mast { color: var(--ink); border-bottom: .4rem solid var(--ink);
                       padding: 1.2rem 0 1rem; margin-bottom: 2.2rem; }
.shop-crux.shop-mast .shop-mark { width: 3.6rem; height: 4.65rem; }
/* The name runs at the right like a guidebook's running head. */
.shop-crux.shop-mast { justify-content: space-between; align-items: flex-end; }
.shop-crux.shop-mast .site { color: var(--ink); font-family: var(--shop-display); font-weight: 900;
                             font-size: .85rem; letter-spacing: .22em; }

.shop-crux .cta, .shop-crux button { border-radius: 0; letter-spacing: .02em; }
.shop-crux .save { border-radius: 0; background: var(--ink); color: var(--paper); }
.shop-crux .note, .shop-crux .keep, .shop-crux .consent {
  border-left-color: var(--ink); background: var(--paper); border: 2px solid var(--ink);
  border-left-width: .5rem; }
.shop-crux .cta:hover, .shop-crux button:hover { background: var(--paper); color: var(--ink);
                                                 border-color: var(--ink); }

/* ---- the price list as a topo: one row per thing, heavy rules ---- */
.shop-crux.shop-prices .section > h2 { font-size: 2rem; border-bottom: .4rem solid var(--ink);
                                       padding-bottom: .35rem; margin-bottom: .5rem; }
.shop-crux.shop-prices .section > .blurb { color: var(--ink); font-size: .95rem; }
.shop-crux.shop-prices .cards { grid-template-columns: 1fr; gap: 0; }
.shop-crux.shop-prices .item { display: grid; grid-template-columns: minmax(0, 1fr) 15rem;
                               gap: .4rem 2rem; border: 0; border-radius: 0;
                               border-bottom: 2px solid var(--ink); padding: 1.15rem 0; }
.shop-crux.shop-prices .item h3 { font-size: 1.55rem; }
.shop-crux.shop-prices .item > .facts { grid-column: 1; }
.shop-crux.shop-prices .item > .facts p:first-child { margin-top: .3rem; }
.shop-crux.shop-prices .item > .price { grid-column: 2; grid-row: 1 / span 2;
                                        text-align: right; }
.shop-crux.shop-prices .item .amount { font-weight: 900; font-size: 2.4rem; margin-top: 0; }
.shop-crux.shop-prices .item .more { padding-top: .5rem; }
.shop-crux.shop-prices .item .buy { margin-top: .7rem; }
.shop-crux.shop-prices .pay { background: var(--paper); border: .4rem solid var(--ink); }
.shop-crux.shop-prices .pay h2 { font-size: 1.7rem; }

@media (max-width: 40rem) {
  .shop-crux.shop-prices .item { grid-template-columns: 1fr; }
  .shop-crux.shop-prices .item > .price { grid-column: 1; grid-row: auto; text-align: left; }
}

/* ---- one product ---- */
.shop-crux.shop-product .hero { background: var(--paper); border: 0; padding: 0 0 1rem;
                                border-bottom: .4rem solid var(--ink); }
.shop-crux.shop-product .hero .amount { font-weight: 900; font-size: 3.8rem; }
.shop-crux.shop-product h2 { font-size: 1.5rem; border-bottom: 2px solid var(--ink);
                             padding-bottom: .3rem; margin-bottom: 0; }
.shop-crux.shop-product ul.plain li::before { background: var(--ink); }
.shop-crux.shop-product ul.plain li:first-child { border-top: 0; }

/* ---- buy ---- */
.shop-crux.shop-buy .summary { background: var(--paper); border: .4rem solid var(--ink); }
.shop-crux.shop-buy .summary h1 { font-size: clamp(1.6rem, 4vw, 2rem); }
.shop-crux.shop-buy .summary .amount { font-weight: 900; font-size: 3rem; }
.shop-crux.shop-buy .step { border-top-width: .4rem; }
.shop-crux.shop-buy .step h2 { font-size: 1.7rem; }

/* ---- the gift card: a route tag. Goat in the black header, punched hole,
   white body, the QR torn off along the dashed line. Prints in black ink. ---- */
.shop-crux .card-list { justify-items: center; }
.shop-crux.shop-order h1 { font-size: clamp(2.2rem, 7vw, 3.4rem); }
/* One axis: the title, the notice and Print sit on the tag's centre line. */
.shop-crux.shop-order { text-align: center; }
.shop-crux.shop-order .giftcard { text-align: left; }
.shop-crux .giftcard { grid-template-columns: 1fr; max-width: 24rem; width: 100%;
                       border: .3rem solid var(--ink); border-radius: 0 0 6px 6px; }
.shop-crux .giftcard .face { padding: 0 1.4rem 1.1rem; }
.shop-crux .giftcard .card-mark { display: block; margin: 0 -1.4rem 1rem; height: 7.5rem;
                                  background: var(--ink); position: relative; }
.shop-crux .giftcard .card-mark::before { content: ""; position: absolute; inset: 1rem 0 .9rem;
                                          background: var(--paper);
                                          -webkit-mask: var(--shop-mark) center / contain no-repeat;
                                          mask: var(--shop-mark) center / contain no-repeat; }
.shop-crux .giftcard .card-mark::after { content: ""; position: absolute; top: 1rem; left: 1rem;
                                         width: 1.1rem; height: 1.1rem; border-radius: 50%;
                                         background: var(--paper);
                                         box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--paper); }
.shop-crux .giftcard .gym { text-transform: uppercase; font-weight: 900; font-size: 1rem;
                            letter-spacing: .04em; }
.shop-crux .giftcard .value { font-weight: 900; font-size: 4.4rem; letter-spacing: -.03em; }
.shop-crux .giftcard .ref { border: 2px solid var(--ink); padding: .45rem .6rem;
                            display: inline-block; }
.shop-crux .giftcard .for { text-transform: uppercase; font-weight: 900; }
.shop-crux .giftcard .stub { border-left: 0; border-top: 2px dashed var(--ink);
                             flex-direction: row; justify-content: center; padding: 1rem; }
.shop-crux .giftcard .qr svg { width: 9rem; height: 9rem; }
@media (max-width: 34rem) {
  .shop-crux .giftcard .stub { justify-content: center; }
  .shop-crux .giftcard .value { font-size: 3.8rem; }
}
