.shop-page { max-width: var(--content-width); margin: 0 auto; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(280px,100%),1fr)); gap: 24px; }
.shop-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; overflow-wrap: anywhere; }
.shop-card h2 { margin-top: 0; }
.shop-price { font-size: 1.8rem; font-weight: 600; }
.shop-muted { color: var(--color-text-muted); font-size: .9rem; }
.shop-description { white-space: pre-line; }
.shop-soldout { margin: 12px 0; }
.shop-form { display: grid; gap: 14px; max-width: 650px; margin: 20px 0; }
.shop-form label { display: grid; gap: 6px; }
.shop-form input:not([type=checkbox]), .shop-form textarea, .shop-form select { width: 100%; padding: 10px; border: 1px solid var(--color-border-strong); border-radius: var(--radius); font: inherit; }
.shop-form textarea { min-height: 100px; }
.shop-form .shop-consent { display: grid; grid-template-columns: 1.15rem minmax(0, 1fr); gap: .65rem; align-items: start; }
.shop-form .shop-consent input[type=checkbox] { width: 1.05rem; height: 1.05rem; margin: .2rem 0 0; padding: 0; }
.shop-legal { display: flex; flex-wrap: wrap; gap: 20px; border-top: 1px solid var(--color-border); margin-top: 32px; padding: 24px 0; }
.shop-card summary { cursor: pointer; font-weight: 600; }
.check-progress { min-height: 3em; font-weight: 600; }

/* Compact catalog badges; admin cards keep their existing spacing. */
.shop-price-card { padding: 18px 20px; display: flex; flex-direction: column; align-items: flex-start; }
.shop-price-card h2 { margin: 6px 0 8px; }
.shop-price-card .shop-description { margin: 0 0 10px; }
.shop-price-card .shop-price { margin: 8px 0; }
.shop-price-card .shop-muted { margin: 0 0 12px; }
.shop-badge { display: inline-block; max-width: 100%; box-sizing: border-box; padding: 4px 9px; border-radius: 7px; font-size: .75rem; line-height: 1.35; font-weight: 600; overflow-wrap: anywhere; }
.shop-badge--green { color: #17603a; background: #e8f5ec; }
.shop-badge--blue { color: #20558b; background: #eaf2fc; }
.shop-badge--gray { color: #4b5563; background: #f0f1f3; }
.shop-badge-footer { margin-top: auto; padding-top: 10px; }

.shop-tax-breakdown { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem 1rem; max-width: 32rem; }
.shop-tax-breakdown dd { margin: 0; text-align: right; }
.shop-billing { min-width: 0; border: 1px solid #cbd5e1; border-radius: .5rem; padding: 1rem; display: grid; gap: .75rem; }

/* Explicit action/status hierarchy; no automatic polling. */
.shop-status { padding: 1rem 1.2rem; border: 2px solid; border-radius: .65rem; font-size: 1.05rem; }
.shop-status--info { background: #eaf3ff; border-color: #2563a6; color: #163f70; }
.shop-status--success { background: #eaf7ed; border-color: #278345; color: #17542b; }
.shop-status--warning { background: #fff3dd; border-color: #996000; color: #684000; }
.shop-page .shop-pay { display: inline-block; font-size: 1.15rem; font-weight: 700; padding: 1rem 1.4rem; background: #174e9c; color: white; border-radius: .6rem; }
.shop-card:target { outline: 3px solid #2563a6; outline-offset: 4px; scroll-margin-top: 2rem; }
.shop-page .message { padding: 1rem; border-left: 5px solid #2563a6; background: #eaf3ff; color: #163f70; }
.shop-page .message-error { border-color: #b42318; background: #fff0ee; color: #822018; }
