.merch-page{padding-top:150px;padding-bottom:50px}.merch-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}.merch-heading h1{font-size:clamp(2rem,5vw,3.8rem)}.merch-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:start}.merch-photo{width:100%;height:auto;border-radius:24px;border:1px solid var(--border)}.merch-copy h2{font-size:clamp(1.7rem,3vw,2.4rem);line-height:1.2}.merch-price{font-size:2rem;font-weight:700;color:var(--primary-light);margin-top:20px}.merch-muted{color:var(--text-dim);font-size:.9rem}.merch-copy fieldset{border:0;margin:24px 0}.merch-copy legend{font-weight:600;margin-bottom:12px}.merch-options{display:flex;flex-wrap:wrap;gap:8px}.merch-choice{border:1px solid var(--border-strong);border-radius:12px;padding:10px 14px;min-height:44px;background:var(--surface)}.merch-choice[aria-pressed=true]{border-color:var(--primary-light);box-shadow:0 0 0 1px var(--primary-light);background:rgba(168,85,247,.16)}.merch-swatch{display:inline-block;width:20px;height:20px;border-radius:50%;border:1px solid #ffffff50;vertical-align:middle;margin-right:8px;background:var(--swatch)}.merch-selection{padding:16px;border:1px solid var(--border);border-radius:12px;margin:20px 0}.merch-copy input[type=number]{background:var(--bg-2);color:var(--text);border:1px solid var(--border-strong);border-radius:10px;padding:10px;width:90px;font:inherit}.merch-add{margin-top:20px;width:100%}.merch-table-wrap{overflow:auto}.merch-table{border-collapse:collapse;min-width:520px;width:100%;margin:16px 0}.merch-table th,.merch-table td{border-bottom:1px solid var(--border);padding:12px;text-align:left}.merch-size-guide{margin-top:24px;padding:20px;border:1px solid var(--border);border-radius:16px}.merch-size-guide summary{cursor:pointer;font-weight:600}.merch-cart{margin-top:64px;padding:clamp(18px,4vw,36px);border:1px solid var(--border-strong);border-radius:24px;background:var(--surface)}.merch-cart h2{margin-bottom:20px}.merch-cart-item{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--border)}.merch-cart-controls{display:flex;gap:10px;align-items:center}.merch-cart-controls button{border:1px solid var(--border-strong);border-radius:8px;padding:8px;min-width:40px}.merch-cart-total{font-size:1.5rem;font-weight:700;margin:24px 0}.merch-page button:focus-visible,.merch-page input:focus-visible,.merch-page summary:focus-visible{outline:2px solid var(--primary-light);outline-offset:4px}.merch-checkout-note{padding:16px;border:1px solid var(--border);border-radius:12px;color:var(--text-dim)}@media(max-width:850px){.merch-grid{grid-template-columns:1fr;gap:28px}.merch-photo{max-height:650px;object-fit:contain}.merch-heading{align-items:flex-start}.merch-page{padding-top:120px}}

.merch-preview{display:block;width:100%;height:auto;overflow:visible}.merch-grid>div:first-child{min-width:0}.merch-preview .hoodie-print{pointer-events:none}

.merch-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.merch-product-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--border-strong);border-radius:24px;background:var(--surface);transition:border-color .2s,transform .2s}
.merch-product-card:hover{border-color:var(--primary-light);transform:translateY(-3px)}
.merch-product-card:focus-visible{outline:2px solid var(--primary-light);outline-offset:4px}
.merch-product-image{height:clamp(240px,30vw,420px);display:flex;align-items:center;justify-content:center;padding:24px;background:radial-gradient(ellipse at center,#55516055,transparent 72%)}
.merch-product-image .merch-preview{max-height:100%;width:100%;overflow:hidden}
.merch-product-info{padding:24px}
.merch-product-info h2{font-size:clamp(1.3rem,2.4vw,1.8rem);margin:12px 0}
.merch-product-link{display:block;color:var(--primary-light);font-weight:600;margin-top:24px}
.merch-back{display:inline-block;margin-bottom:12px;color:var(--text-dim)}
.merch-grid .merch-preview{padding:16px;border-radius:20px;background:radial-gradient(ellipse at center,#55516055,transparent 72%)}
@media(min-width:851px){.merch-grid>div:first-child{position:sticky;top:110px}}
@media(max-width:650px){.merch-catalog{grid-template-columns:1fr}.merch-heading{flex-wrap:wrap}}

/* The order preview never accepts a payment until the payment service is connected. */
[hidden]{display:none!important}
.merch-checkout-link{margin-top:20px}
.checkout-steps{display:flex;flex-wrap:wrap;gap:12px 28px;list-style:none;padding:0;margin:0 0 28px;color:var(--text-dim)}
.checkout-steps [aria-current=step]{color:var(--primary-light);font-weight:600}
.checkout-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:28px;align-items:start;margin-top:28px}
.checkout-form{min-width:0}
.checkout-panel{padding:clamp(20px,3vw,32px);border:1px solid var(--border-strong);border-radius:24px;background:var(--surface);min-width:0}
.checkout-form .checkout-panel+.checkout-panel{margin-top:20px}
.checkout-panel h2{display:flex;align-items:center;gap:12px;font-size:clamp(1.2rem,2vw,1.6rem);line-height:1.3;margin-bottom:20px}
.checkout-number{display:inline-flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;border:1px solid var(--primary-light);border-radius:50%;font-size:1rem;color:var(--primary-light)}
.checkout-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}
.checkout-wide{grid-column:1/-1}
.checkout-form label{display:block;font-weight:600;margin-bottom:8px}
.checkout-form input,.checkout-form select,.checkout-form textarea{display:block;width:100%;min-width:0;box-sizing:border-box;background:var(--bg-2,#0d0d15);color:var(--text,#f3f3f6);border:1px solid var(--border-strong);border-radius:12px;font:inherit;padding:12px 14px;min-height:48px}
.checkout-form textarea{resize:vertical}
.checkout-form input::placeholder{color:var(--text-dim)}
.checkout-method{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:18px;border:1px solid var(--primary-light);border-radius:16px;background:rgba(168,85,247,.08);margin-bottom:20px}
.checkout-method>strong{flex:none}
.checkout-method p{margin:8px 0 0}
.checkout-form #pickup-open{white-space:normal;text-align:center;max-width:100%;height:auto;min-height:48px}
.checkout-pickup{padding:18px;margin:18px 0;border:1px solid #3ddbaa66;border-radius:14px;background:#1a705c12}
.checkout-pickup p{margin-top:6px;overflow-wrap:anywhere}
#pickup-message{margin-top:14px}
.checkout-summary{position:sticky;top:110px}
.checkout-item{padding:18px 0;border-bottom:1px solid var(--border)}
.checkout-item:first-child{padding-top:0}
.checkout-item p{margin-top:6px}
.checkout-item-price{font-weight:600}
.checkout-summary .merch-back{margin-top:16px}
.checkout-totals{margin:10px 0 12px}
.checkout-totals>div{display:flex;gap:16px;justify-content:space-between;margin-top:12px}
.checkout-totals dd{margin:0;text-align:right;white-space:nowrap}
.checkout-grand-total{border-top:1px solid var(--border-strong);padding-top:20px;font-size:clamp(1.2rem,2vw,1.6rem);font-weight:700}
.checkout-grand-total dd{color:var(--primary-light)}
.checkout-pay{width:100%;margin-top:24px;min-height:48px}
.checkout-pay:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}
.checkout-contact{margin-top:24px;padding-top:20px;border-top:1px solid var(--border);font-size:.9rem;overflow-wrap:anywhere;color:var(--text-dim)}
.checkout-contact a{color:var(--primary-light)}
.checkout-empty{text-align:center;padding:clamp(24px,6vw,64px);border:1px solid var(--border);border-radius:24px;margin-top:28px}
.checkout-empty p{margin:18px 0 24px;color:var(--text-dim)}
@media(max-width:900px){.checkout-grid{grid-template-columns:1fr}.checkout-summary{position:static}}
@media(max-width:480px){.checkout-fields{grid-template-columns:1fr}.checkout-steps{gap:10px;font-size:.85rem}.checkout-method{padding:14px;gap:12px}.checkout-panel{padding:18px}}

.checkout-payment-options{border:0;padding:0;margin:0 0 24px;min-width:0}
.checkout-payment-options legend{margin-bottom:14px}
.checkout-form label.checkout-payment-choice{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--border-strong);border-radius:16px;margin:0 0 12px;cursor:pointer;background:var(--bg-2,#0d0d15)}
.checkout-payment-choice:has(input:checked){border-color:var(--primary-light)!important;background:rgba(168,85,247,.08)!important}
.checkout-form .checkout-payment-choice input[type=radio]{flex:none;width:20px;height:20px;min-height:20px;padding:0;margin:0;accent-color:var(--primary-light)}
.checkout-payment-choice>span{flex:1;min-width:0}
.checkout-payment-choice>span>span{display:block;font-weight:400;margin-top:6px;line-height:1.5}
.checkout-payment-choice>strong{flex:none;font-size:.9rem}
@media(max-width:480px){.checkout-form label.checkout-payment-choice{padding:12px;gap:10px}}
