/* THE SHOP (GN-1345): /shop, its product pages, the cart and the order page. */
.shop [hidden] { display: none !important; }

/* /shop's cards (GN-1681): a list (picture left, name, line, price) or a grid; the shopper picks. */
.shop-view { display: inline-flex; margin-top: 1rem; border: 1px solid #b9ae9b; border-radius: 6px; overflow: hidden; }
.shop-view button, .shop-listed button { border: 0; padding: 0.3rem 0.8rem; background: #fff; color: inherit; font: inherit; font-size: 0.9rem; cursor: pointer; }
.shop-view button[aria-pressed="true"], .shop-listed button[aria-pressed="true"] { background: #3a3631; color: #fff; }
.shop-cards { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1.4rem; }
.shop-as-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.shop-card { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.shop-card-link { display: flex; flex-direction: column; gap: 0.35rem; color: inherit; text-decoration: none; }
.shop-card img, .shop-card-blank { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: #efe7da; display: block; }
.shop-card-text { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.shop-card-name { font-weight: 600; }
.shop-card-blurb { color: var(--ink); }
.shop-card-price { color: var(--ink-light); }
.shop-as-list .shop-card { padding-bottom: 1.4rem; border-bottom: 1px solid #e3dccf; }
.shop-as-list .shop-card-link { flex-direction: row; align-items: flex-start; gap: 1.2rem; }
.shop-as-list .shop-card-link img, .shop-as-list .shop-card-link .shop-card-blank { width: clamp(6rem, 28vw, 12rem); flex: none; }
.shop-as-list .shop-card-name { font-size: 1.15rem; }
.shop-as-grid .shop-card-blurb { display: none; }
.shop-card-admin { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.shop-listed { display: inline-flex; border: 1px solid #b9ae9b; border-radius: 6px; overflow: hidden; }
.shop-listed button { padding: 0.25rem 0.6rem; font-size: 0.82rem; }
.shop-listed[aria-busy="true"] { opacity: 0.6; }
.shop-drag { cursor: grab; touch-action: none; }
.shop-as-grid .shop-drag { display: none; }
.shop-card.shop-dragging { opacity: 0.4; }
.shop-card-editor { max-width: min(36rem, calc(100vw - 2rem)); width: 100%; border: 1px solid #b9ae9b; border-radius: 10px; }
.shop-card-editor form { display: grid; gap: 0.8rem; }
.shop-card-editor label { display: grid; gap: 0.25rem; }
.shop-card-editor input, .shop-card-editor textarea, .shop-card-editor select { font: inherit; width: 100%; box-sizing: border-box; }
.shop-card-editor-preview { width: 8rem; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.shop-history ol { padding-left: 1.2rem; font-size: 0.9rem; }
[data-gi-text].shop-editing { outline: 2px dashed #bb5a31; outline-offset: 3px; min-height: 1.2em; }
.shop-edit-bar { position: sticky; bottom: 0; z-index: 20; display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; padding: 0.6rem 1rem; background: #FFF4D6; border-top: 1px solid #E8C766; }

.shop-product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 4vw, 3rem); align-items: start; }
.shop-product:not(:has(.shop-media)) { grid-template-columns: 1fr; max-width: 46rem; }
.shop-media img { width: 100%; height: auto; border-radius: 10px; display: block; }
.shop-text p { max-width: 60ch; }
@media (max-width: 760px) { .shop-product { grid-template-columns: 1fr; } }

.shop-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; margin-top: 1.4rem; }
.shop-price { font-size: 1.4rem; font-weight: 600; }
.shop-qty input { width: 4.5rem; }

.shop-plates { display: grid; gap: 1rem; max-width: 72rem; margin-top: 1rem; }
.shop-plates .btn { justify-self: start; }
.shop-plates .shop-grid-table { min-width: 58rem; }
.shop-plate-defaults { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; }
.shop-paste { display: grid; gap: 0.4rem; }
.shop-paste textarea { width: 100%; font-family: ui-monospace, monospace; }
.shop-hint { color: var(--ink-light); font-size: 0.95rem; margin: 0; }

.shop-lines { border-collapse: collapse; width: 100%; max-width: 52rem; margin: 0.6rem 0; }
.shop-lines td { padding: 0.4rem 0.6rem 0.4rem 0; border-bottom: 1px solid #e4dccd; vertical-align: top; overflow-wrap: break-word; }
@media (max-width: 600px) { .shop-lines .shop-mock-thumb { width: 96px; } }
.shop-lines td:nth-child(3) { text-align: right; white-space: nowrap; }
.shop-lines input[type=number] { width: 4rem; }
.shop-total td { font-weight: 600; border-bottom: 0; }
.shop-colors { color: var(--ink-light); font-size: 0.92rem; overflow-wrap: anywhere; }

.shop-shipping { border: 0; padding: 0; margin: 1rem 0; display: grid; gap: 0.4rem; }
.shop-shipping legend { font-weight: 600; margin-bottom: 0.3rem; }
.shop-pay { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1rem 0; }
.shop-invoice { display: grid; gap: 0.7rem; max-width: 34rem; margin-top: 1rem; }
.shop-invoice label { display: grid; gap: 0.25rem; }
.shop-invoice input, .shop-invoice textarea { width: 100%; }
.shop-invoice .btn { justify-self: start; }
.shop-error { color: #a32020; }
.shop-state { font-size: 1.2rem; font-weight: 600; }

.shop-aside { font-size: 0.95rem; }
.shop-tiers { font-weight: 600; }
.shop-order-form { display: grid; gap: 1rem; margin-top: 1.6rem; max-width: 52rem; }
.shop-row { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem 1.2rem; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid #e4dccd; }
.shop-thumbs { display: flex; gap: 0.5rem; }
.shop-thumb { width: clamp(72px, 18vw, 120px); aspect-ratio: 1; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: #efe7da; cursor: zoom-in; display: block; }
.shop-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
span.shop-thumb { cursor: default; }
.shop-row-text { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; }
.shop-row-text .shop-card-name { flex-basis: 100%; }
.shop-row-text label { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0; }
.shop-row-text select { width: auto; }
.shop-form-total { font-weight: 600; min-height: 1.5em; margin: 0; }
.shop-lightbox { margin: auto; padding: 0; border: 0; border-radius: 10px; max-width: min(92vw, 1200px); background: transparent; }
.shop-lightbox::backdrop { background: rgba(0, 0, 0, 0.8); }
.shop-lightbox img { display: block; max-width: 100%; max-height: 88vh; cursor: zoom-out; }
.shop-video { width: 100%; max-width: 720px; height: auto; border-radius: 10px; margin-top: 2rem; display: block; }
.shop-presets p { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0.4rem 0; }
.shop-presets-label { font-weight: 600; flex-basis: 100%; }
@media (max-width: 420px) { .shop-thumb { width: 64px; } .shop-row { gap: 0.6rem 0.8rem; } }

.shop-mock-box { margin: auto; box-sizing: border-box; border: 0; border-radius: 12px; padding: 1.2rem; width: min(94vw, 960px); background: var(--paper, #f6efe4); }
.shop-mock-box::backdrop { background: rgba(0, 0, 0, 0.6); }
.shop-mock-box form { display: grid; gap: 1rem; justify-items: start; }
.shop-mock-body { box-sizing: border-box; width: 100%; padding: 1rem; background: #3a3631; border-radius: 8px; }
.shop-mock { display: block; height: auto; margin: 0 auto; }

.shop-grid-wrap { max-width: 72rem; overflow-x: auto; border: 1px solid #b9ae9b; background: #fff; }
.shop-grid-table { border-collapse: collapse; width: 100%; min-width: 40rem; font-size: 0.95rem; }
.shop-grid-table th { background: #ece6db; font-weight: 600; text-align: left; padding: 0.3rem 0.5rem; border: 1px solid #cfc6b6; }
.shop-grid-table td { padding: 0; border: 1px solid #cfc6b6; vertical-align: middle; }
.shop-grid-table .shop-grid-n { width: 2.2rem; text-align: right; color: #7a7064; font-weight: 400; }
.shop-grid-table input, .shop-grid-table select { width: 100%; box-sizing: border-box; border: 0; border-radius: 0; background: transparent; padding: 0.35rem 0.5rem; margin: 0; font: inherit; min-height: 2.1rem; box-shadow: none; }
.shop-grid-table input:focus, .shop-grid-table select:focus { outline: 2px solid #1a73e8; outline-offset: -2px; background: #fff; }
.shop-grid-table td:has(.shop-mock-thumb) { padding: 2px; width: 184px; }
.shop-grid-price { white-space: nowrap; text-align: right; padding: 0 0.5rem !important; min-width: 4.5rem; }
.shop-grid-remove { padding: 0.2rem 0.5rem; }
.shop-mock-thumb { display: block; padding: 3px; border: 0; border-radius: 4px; background: #3a3631; cursor: zoom-in; width: 180px; }
.shop-mock-thumb svg { display: block; width: 100%; }
/* A row's blur redraws these; a click must land on the button, not on what was replaced. */
.shop-mock-thumb * { pointer-events: none; }
.shop-mock-thumb[hidden] { display: none; }

.shop-mock-body { display: grid; gap: 0.2rem; }
.shop-mock-body .shop-mock { margin: 0 auto 0.6rem; }
.shop-mock-controls { position: relative; height: 2.1rem; width: 100%; max-width: 900px; margin: 0 auto; }
.shop-mock-group { position: absolute; top: 0; display: flex; justify-content: center; gap: 0.3rem; min-width: 4.4rem; }
.shop-mock-color { width: 1.9rem; height: 1.9rem; padding: 0; border: 2px solid #f6efe4; border-radius: 5px; font: 900 1.05rem Arial, sans-serif; line-height: 1; cursor: pointer; }
.shop-palette { position: absolute; top: 2.2rem; left: 50%; transform: translateX(-50%); z-index: 2; display: grid; grid-template-columns: repeat(4, 1.9rem); gap: 0.3rem; padding: 0.4rem; background: #f6efe4; border-radius: 8px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); }
.shop-palette button { width: 1.9rem; height: 1.9rem; padding: 0; border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 5px; cursor: pointer; }
.shop-mock-thumb-label { display: block; font-size: 0.75rem; color: #f6efe4; text-align: center; padding-top: 1px; }
.shop-code { display: flex; flex-wrap: wrap; align-items: end; gap: 0.6rem; margin: 1rem 0; }
.shop-code label { display: grid; gap: 0.25rem; }
.shop-code p { flex-basis: 100%; margin: 0; }
.shop-share { display: flex; flex-wrap: wrap; align-items: end; gap: 0.6rem; max-width: 46rem; }
.shop-share label { flex: 1 1 18rem; display: grid; gap: 0.25rem; }
.shop-share input { width: 100%; }
.shop-lines td:first-child, .shop-lines td:last-child { white-space: nowrap; }
.shop-lines td:last-child { text-align: right; }
.shop-mock-thumb.shop-mock-small { width: 72px; }

.shop-subtitle { font-size: 1.15rem; margin-top: -0.4rem; }
.shop-made { font-weight: 600; padding: 0.5rem 0.8rem; background: #fff3cd; border-left: 4px solid #bb5a31; border-radius: 4px; }
.shop-summary .shop-made { margin: 0; font-size: 0.92rem; }
.shop-letters { display: grid; gap: 1rem; max-width: 72rem; justify-items: start; margin-top: 1rem; }
.shop-letters-colors { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; align-items: center; }
.shop-letters-colors label { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0; }
.shop-letters-colors select { width: auto; }
.shop-letters-mock { box-sizing: border-box; width: 100%; padding: 0.8rem; background: #3a3631; border-radius: 8px; }
.shop-intro { display: flex; align-items: flex-start; gap: 1rem 1.6rem; max-width: 72rem; }
.shop-intro > :not(.shop-gallery) { flex: 1 1 0; min-width: 0; }
.shop-gallery { display: flex; flex-direction: column; gap: 0.5rem; flex: none; }
.shop-gallery .shop-thumb { width: clamp(56px, 12vw, 96px); background: none; }
.shop-price-list { border-collapse: collapse; margin: 1rem 0; width: auto; }
.shop-price-list td { padding: 0.15rem 1.5rem 0.15rem 0; }
.shop-price-list td:last-child { font-weight: 600; white-space: nowrap; }
.shop-fire { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: 1.6rem; align-items: start; margin-top: 1rem; }
.shop-fire .shop-intro { grid-column: 1; grid-row: 1; }
.shop-fire-people { grid-column: 1; grid-row: 2; }
.shop-fire-alacarte { grid-column: 1; grid-row: 3; }
.shop-fire-side { grid-column: 2; grid-row: 1 / span 3; align-self: stretch; display: flex; flex-direction: column; gap: 1rem; }
.shop-fire-side > * { min-width: 0; }
.shop-summary { position: sticky; top: 5rem; display: grid; grid-auto-rows: max-content; gap: 0.6rem; padding: 1rem; background: #fff; border: 1px solid #cfc6b6; border-radius: 8px; max-height: calc(100vh - 6rem); overflow-y: auto; }
.shop-summary .shop-lines { margin: 0; font-size: 0.92rem; max-width: none; }
.shop-summary-add { width: 100%; }
.shop-summary-save { width: 100%; padding: 0.3rem 0.8rem; font-size: 0.9rem; min-height: 0; }
.shop-saved { margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.2rem 0.4rem; font-size: 0.92rem; overflow-wrap: anywhere; }
.shop-saved .btn-quiet { font-size: 0.85rem; }
@media (max-width: 1150px) {
  .shop-fire { grid-template-columns: minmax(0, 1fr); }
  .shop-fire-side { display: contents; }
  .shop-fire .shop-intro, .shop-fire-people, .shop-fire-alacarte { grid-column: 1; grid-row: auto; }
  .shop-fire .shop-intro { order: 1; }
  .shop-fire-people { order: 2; }
  .shop-summary { order: 3; position: static; max-height: none; }
  .shop-fire-alacarte { order: 4; }
}
.shop-toggle { border: 0; padding: 0; margin: 0 0 0.4rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
/* One height for the legend, the choices and a button beside them, so the row lines up. */
.shop-toggle legend, .shop-toggle label, .shop-background > .btn { box-sizing: border-box; min-height: 2.3rem; }
.shop-toggle legend { float: left; line-height: 2.3rem; font-weight: 600; margin-right: 0.4rem; padding: 0; }
.shop-toggle legend input { vertical-align: middle; }
.shop-toggle label { display: inline-flex; align-items: center; gap: 0.3rem; margin: 0; padding: 0 0.8rem; border: 1px solid #b9ae9b; border-radius: 6px; background: #fff; cursor: pointer; }
.shop-toggle label:has(input:checked) { background: #3a3631; color: #fff; border-color: #3a3631; }
.shop-toggle input { margin: 0; }
.shop-check { display: inline-flex; align-items: flex-start; gap: 0.4rem; margin: 0.6rem 0 1rem; }
/* Centered on the first line when the label wraps: 7px is half a 14px checkbox. */
.shop-check > input { margin-block: calc(0.5lh - 7px) 0; }
.shop-background { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0.6rem; margin: 0 0 0.4rem; }
.shop-background .shop-toggle { margin: 0; }
.shop-background > .btn { display: inline-flex; align-items: center; padding-block: 0; }
.shop-grid-table thead th { vertical-align: middle; }
.shop-grid-clear { white-space: nowrap; padding: 0.1rem 0.6rem; font-size: 0.85rem; line-height: 1.3; min-height: 0; }
.shop-check-tight { display: flex; margin: 0 0 0.4rem; font-weight: 600; }
.shop-check-aside { display: inline-block; }
.shop-toggle-tight { margin-bottom: 0.2rem; }
.shop-tag-hint { margin: 0 0 1.4rem; }
.shop-grid-table input[aria-invalid=true] { outline: 2px solid #a32020; outline-offset: -2px; }
.shop-grid-table input[type=checkbox] { width: 1.15rem; height: 1.15rem; min-height: 0; margin: 0 auto; display: block; }
.shop-price-list th { text-align: left; font-weight: 700; padding: 0.6rem 0 0.15rem; }
.shop-price-list td:first-child { padding-left: 1rem; }
.shop-mock-extra:empty { display: none; }
.shop-fire > * { min-width: 0; }
.shop-color-grids { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 1rem; margin: 0.8rem 0 1rem; align-items: start; }
.shop-color-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 0 1rem; align-items: start; }
.shop-color-cols .shop-color-grids { grid-template-columns: minmax(0, 1fr); }
.shop-color-custom .shop-color-grids:empty { display: none; }
.shop-color-custom > .btn { margin-top: 0.8rem; }
.shop-color-grids:has(+ .btn) { margin-bottom: 0; }
.shop-color-grid { display: grid; gap: 0.4rem; min-width: 0; }
.shop-color-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.7rem; }
.shop-color-bar label { display: inline-flex; align-items: center; gap: 0.3rem; margin: 0; }
.shop-color-bar select { width: auto; min-height: 0; padding: 0.2rem 0.3rem; font-size: 0.92rem; }
.shop-color-remove { margin-left: auto; }
.shop-color-count { margin-left: auto; font-weight: 700; color: #8a3f1f; }
.shop-color-count:empty { display: none; }
.shop-color-count + .shop-color-remove { margin-left: 0; }
.shop-color-grid tr.shop-line-ordered td:not(:has(.shop-color-mock)) { background: #f6e3d6; }
.shop-color-grid tr.shop-line-ordered td:nth-child(2) { box-shadow: inset 4px 0 #bb5a31; }
.shop-color-grid tr.shop-line-ordered input { font-weight: 700; }
.shop-color-grid .shop-grid-table { min-width: 0; }
.shop-color-grid .shop-grid-table tr > :first-child { display: none; }
.shop-color-mock { padding: 2px 4px; min-height: 2.1rem; }
.shop-color-mock svg { display: block; width: 100%; }
.shop-color-grid td:has(.shop-color-mock) { width: 5.5rem; background: #3a3631; }
.shop-color-grid td:has(.shop-color-mock:empty) { background: none; }
.shop-grid-table input.shop-combo { padding-right: 1.3rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237a7064'/%3E%3C/svg%3E") no-repeat right 0.4rem center; }
.shop-combo-list { position: fixed; z-index: 20; margin: 0; padding: 0.2rem 0; list-style: none; max-height: 18rem; overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 1px solid #b9ae9b; border-radius: 4px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); }
.shop-combo-list[hidden] { display: none; }
.shop-combo-list [role=option] { padding: 0.25rem 0.6rem; cursor: pointer; }
.shop-combo-list [role=option]:hover, .shop-combo-list .shop-combo-active { background: #3a3631; color: #fff; }
.shop-combo-list [role=separator] { margin: 0.2rem 0; border-top: 1px solid #b9ae9b; }
.shop-line-mock svg { display: block; width: 100%; }
.shop-summary .shop-line-mock { min-width: 8.5rem; }
.shop-lines .shop-line-mock { width: min(100%, 15rem); }
.shop-summary-head { margin: 0.8rem 0 0.2rem; padding-bottom: 0.2rem; font-size: 1rem; border-bottom: 2px solid #cfc6b6; }
.shop-summary-head:first-child { margin-top: 0; }
.shop-summary-total td:first-child { white-space: normal; }
.shop-line-tags { position: relative; }
.shop-line-more { position: absolute; inset: 0; display: grid; place-items: center; padding: 0.2rem; text-align: center; font-weight: 700; color: #fff; background: rgba(0, 0, 0, 0.55); border-radius: 4px; }
.shop-text > * { max-width: 46rem; }
.shop-crew-name { font-weight: 600; }
.shop-crew-parts { margin: 0.2rem 0 0; padding-left: 1.2rem; font-weight: 400; font-size: 0.92rem; }
.shop-address-block { white-space: pre-line; }
.shop-palette button:disabled { opacity: 0.25; cursor: not-allowed; }

/* An admin's view: the strip over the page, and items customers do not see. */
.shop-admin { margin-top: 0.75rem; padding: 0.4rem 0.7rem; background: #FFF4D6; border: 1px solid #E8C766; border-radius: 4px; font-size: 0.9rem; }
.shop-unlisted { align-self: flex-start; padding: 0 0.4rem; background: #5A5A5A; color: #FFF; border-radius: 3px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }

/* Lists and quotes (GN-1642, GN-1643): the share box, the admin's box, and Make a Quote. */
.shop-share-box { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin: 1.5rem 0; max-width: 46rem; }
.shop-share-box > div { flex: 1 1 16rem; min-width: 0; }
.shop-qr { display: block; width: 168px; height: 168px; image-rendering: pixelated; }
.shop-share-link { font-weight: 600; overflow-wrap: anywhere; margin: 0 0 0.6rem; }
.shop-share-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; }
.shop-share-actions [hidden] { display: none; }
.shop-admin-box { margin-top: 2rem; padding: 1rem; border: 1px solid #d8d0c2; border-radius: 8px; max-width: 46rem; display: grid; gap: 0.75rem; }
.shop-admin-box h2 { margin: 0; }
.shop-admin-box p { margin: 0; }
.shop-mail, .shop-quote-maker { display: grid; gap: 0.6rem; max-width: 30rem; }
.shop-mail label, .shop-quote-maker label { display: grid; gap: 0.25rem; }
.shop-mail input, .shop-mail textarea, .shop-quote-maker input { width: 100%; box-sizing: border-box; }
.shop-mail-log { margin: 0; padding-left: 1.2rem; color: var(--ink-light); font-size: 0.92rem; }
.shop-admin-tools { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem; margin-top: 2rem; }
.shop-quote-maker { flex: 0 1 30rem; min-width: 0; padding: 1rem; border: 1px solid #d8d0c2; border-radius: 8px; }
.shop-make-plates { margin: 0; }
.shop-quote-maker h2 { margin: 0; }
.shop-quote-prices { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; }
.shop-quote-prices label { flex: 1 1 9rem; }
.shop-quote-made { font-weight: 600; overflow-wrap: anywhere; margin: 0; }
.shop-gone td { color: var(--ink-light); }
.shop-progress { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; list-style: none; padding: 0; margin: 0.4rem 0 1rem; color: var(--ink-light); }
.shop-progress li::before { content: "○ "; }
.shop-progress .shop-done { color: inherit; font-weight: 600; }
.shop-progress .shop-done::before { content: "● "; color: var(--clay); }
.shop-progress span { font-weight: 400; color: var(--ink-light); }
.shop-claim { margin: 0.6rem 0; }
.shop-table-wrap { overflow-x: auto; max-width: 100%; }
.shop-history { border-collapse: collapse; width: 100%; max-width: 60rem; }
.shop-history th, .shop-history td { text-align: left; vertical-align: top; padding: 0.45rem 0.6rem; border-bottom: 1px solid #e4ddd0; }
.shop-history form { margin: 0; }
.shop-tag-count { width: 3.6rem; height: 2.3rem; min-height: 0; box-sizing: border-box; padding-block: 0; margin: 0 0.2rem; font: inherit; }

/* A field reached by keyboard scrolls clear of the sticky site bar (100px tall on a phone). */
html { scroll-padding-top: 7rem; }
