.merch-page{padding-top:12px}.merch-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;padding:16px 0 22px}.merch-heading h1{font:400 clamp(2.5rem,5vw,4.3rem)/1.06 var(--serif);letter-spacing:-.035em;margin:10px 0 16px}.merch-heading p:not(.eyebrow){color:var(--muted);font-size:1rem;line-height:1.7;margin:0}.merch-heading>.text-button{flex:none;min-height:44px;display:inline-flex;align-items:center;gap:16px}.merch-watch-status{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:.8rem;margin-bottom:24px}.merch-watch-status p{margin:0;line-height:1.6}.merch-status-dot{width:7px;height:7px;flex:none;border-radius:50%;background:#8e785f}.merch-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:16px 0;border-block:1px solid var(--line)}.merch-tabs{display:flex;gap:4px;margin-right:auto}.merch-tabs button{min-height:44px;padding:10px 16px;border:0;border-radius:7px;background:transparent;color:var(--muted);font:500 .85rem var(--sans);cursor:pointer}.merch-tabs [aria-pressed=true]{background:#e9dece;color:var(--ink)}.merch-search{max-width:320px;flex:1;min-width:160px}.merch-toolbar input,.merch-toolbar select{width:100%;min-height:44px;border:1px solid var(--line);background:var(--paper);border-radius:7px;color:var(--ink);padding:10px 12px;font:400 1rem var(--sans)}.merch-results-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;font-size:.8rem;color:var(--muted)}.merch-results-heading .text-button{min-height:44px}.merch-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 20px}.merch-card{min-width:0;display:flex;flex-direction:column;border-radius:12px;overflow:hidden;background:#fffcf7;border:1px solid #e8dfd3}.merch-photo{display:block;aspect-ratio:1;background:#f0ece5;overflow:hidden}.merch-photo img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.merch-no-photo{display:grid;height:100%;place-items:center;color:var(--muted);font-size:.8rem}.merch-card-body{padding:16px;display:flex;flex:1;flex-direction:column;align-items:start}.merch-card-meta{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-bottom:12px}.merch-card-meta time{color:var(--muted);font-size:.7rem}.merch-badge{display:inline-block;font-size:.67rem;line-height:1.4;letter-spacing:.025em;padding:5px 8px;border-radius:4px;background:#eee6dc;color:#655342}.merch-new{background:#eee0ce;color:#724829}.merch-restock,.merch-sizes_returned,.merch-available{background:#e4e9df;color:#465541}.merch-sold_out,.merch-sizes_sold_out,.merch-unavailable{background:#eee5e1;color:#6e5550}.merch-card h2{font:500 1rem/1.5 var(--sans);margin:0 0 12px;overflow-wrap:anywhere;letter-spacing:0}.merch-price{margin:0 0 10px;font-size:.95rem}.merch-price small{font-size:.65rem;color:var(--muted);margin-left:3px}.merch-options{font-size:.75rem;line-height:1.7;color:var(--muted);margin:0 0 14px;overflow-wrap:anywhere}.merch-store-link{margin-top:auto;width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #eee5d9;padding-top:8px;font-size:.8rem;text-decoration:none;color:var(--accent)}.merch-store-link span{font-size:1.1rem}.merch-more{text-align:center;margin:30px 0}.merch-empty{padding:38px 0 50px;max-width:620px;color:var(--muted);line-height:1.8}.merch-empty h2{font:400 1.8rem/1.2 var(--serif);color:var(--ink);margin:0 0 14px}.merch-source-note{font-size:.75rem;line-height:1.8;color:var(--muted);max-width:760px;border-top:1px solid var(--line);padding-top:22px;margin:38px 0 0}.merch-page [hidden]{display:none!important}.merch-page :is(a,button,input,select):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:1050px){.merch-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.merch-heading{align-items:start}.merch-heading>.text-button{font-size:.8rem}}
@media(max-width:700px){.merch-heading{display:block;padding-top:0}.merch-heading>.text-button{margin-top:12px}.merch-heading h1{font-size:3rem}.merch-watch-status{margin-bottom:12px}.merch-toolbar{gap:10px}.merch-tabs{width:100%}.merch-tabs button{flex:1;padding-inline:10px}.merch-search{max-width:none;min-width:130px}.merch-availability{width:45%;max-width:190px}.merch-toolbar select{font-size:.85rem;padding-inline:8px}.merch-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.merch-card{border-radius:9px}.merch-card-body{padding:11px}.merch-card h2{font-size:.85rem;line-height:1.5}.merch-badge{font-size:.62rem;padding:4px 6px}.merch-price{font-size:.85rem}.merch-store-link{font-size:.75rem}.merch-options{font-size:.7rem}.merch-results-heading{align-items:start;padding-block:10px;min-height:50px}.merch-results-heading p{margin:10px 0}.merch-results-heading button{max-width:180px;text-align:right;font-size:.75rem}}
@media(max-width:359px){.merch-grid{grid-template-columns:1fr}.merch-card{display:grid;grid-template-columns:100px minmax(0,1fr)}.merch-photo{align-self:start;margin-top:12px}.merch-card h2{font-size:.9rem}.merch-search,.merch-availability{width:100%;max-width:none;flex-basis:100%}}

.merch-feed{display:flex;flex-direction:column;gap:16px;max-width:920px}.merch-event{display:grid;grid-template-columns:150px minmax(0,1fr);border-left:3px solid #b3916f}.merch-event .merch-photo{margin:18px 0 0 18px;border-radius:8px}.merch-event .merch-card-body{padding:20px 24px}.merch-event h2{font-size:1.15rem}.merch-event .merch-card-meta{width:100%;justify-content:space-between}.merch-event .merch-store-link{max-width:220px;margin-top:12px}.merch-size-links{display:flex;flex-wrap:wrap;gap:2px 4px;margin-bottom:8px}.merch-size-links a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:4px 6px;font-size:.8rem;text-decoration:none;border-radius:5px;color:var(--accent);background:#f3ece2}.merch-size-links .size-unavailable{text-decoration:line-through;color:#756b62;background:transparent}.merch-options-label{font-size:.7rem;color:var(--muted);margin:0 0 6px}.merch-card:not(.merch-event) .merch-size-links a{font-size:.7rem}.merch-card:not(.merch-event) .merch-options{display:none}
@media(max-width:700px){.merch-event{grid-template-columns:80px minmax(0,1fr)}.merch-event .merch-photo{margin:14px 0 0 10px}.merch-event .merch-card-body{padding:14px 12px}.merch-event h2{font-size:.95rem}.merch-event .merch-card-meta{gap:8px}.merch-event .merch-card-meta time{font-size:.65rem}.merch-event .merch-size-links{margin-left:-80px;margin-top:8px}.merch-event .merch-options-label{margin-top:8px}.merch-event .merch-store-link{max-width:none}}
/* Keep the feed visible; detailed notification choices live in a modal. */
.merch-alert-prompt{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;padding:12px 16px;border-radius:12px;background:#efe6d9}
.merch-alert-invite{display:flex;align-items:center;gap:12px;min-width:0;color:var(--accent)}
.merch-alert-invite>span{display:grid;gap:3px}.merch-alert-invite strong{font-size:.85rem;color:var(--ink);font-weight:600}.merch-alert-invite span span{font-size:.75rem;color:var(--muted)}
.merch-alert-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.merch-alert-actions>.button{min-height:44px;padding:10px 18px;font-size:.8rem;border-radius:999px}
.merch-alert-settings{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 4px;border:0;background:transparent;color:var(--accent);font:500 .8rem var(--sans);cursor:pointer}
.merch-alert-prompt.is-enabled{justify-content:flex-end;padding:0;background:none;margin-top:-12px;margin-bottom:8px}
.merch-alert-error{color:var(--accent);font-size:.8rem;margin:0 0 16px;line-height:1.5}
.merch-alert-dialog{width:min(480px,calc(100% - 32px));max-height:calc(100dvh - 48px);box-sizing:border-box;margin:auto;padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--paper);color:var(--ink);box-shadow:0 20px 80px #2e201d30;overscroll-behavior:contain}
.merch-alert-dialog:not([open]){display:none}.merch-alert-dialog::backdrop{background:#2f241b70;backdrop-filter:blur(4px)}
.merch-alert-dialog-heading{display:flex;align-items:start;justify-content:space-between;gap:12px}.merch-alert-dialog-heading .eyebrow{margin:0 0 8px}.merch-alert-dialog-heading h2{font:400 1.8rem/1.15 var(--serif);letter-spacing:-.02em;margin:0}
.merch-alert-close{display:grid;place-items:center;min-width:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted);font:400 1.8rem var(--sans);cursor:pointer}
.merch-alerts-body p{font-size:.85rem;line-height:1.6}.merch-alerts-body .small{color:var(--muted)}
.merch-alerts-body fieldset{display:grid;gap:4px;border:0;padding:0;margin:20px 0 16px}.merch-alerts-body legend{margin-bottom:8px;font-size:.85rem;font-weight:600}.merch-alerts-body fieldset label{display:flex;align-items:center;gap:10px;min-height:44px;font-size:.85rem}.merch-alerts-body input{width:18px;height:18px;accent-color:var(--accent)}
.merch-alert-scope{display:grid;gap:8px;font-size:.85rem}.merch-alert-scope select{width:100%;min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);padding:8px;font:inherit}
.merch-alert-dialog-footer{display:flex;justify-content:flex-end;border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.merch-alert-dialog-footer>.button{min-height:44px}
@media(max-width:600px){.merch-alert-prompt{padding:10px 12px;gap:10px}.merch-alert-actions{gap:8px}.merch-alert-invite>svg{display:none}.merch-alert-actions>.merch-alert-settings{width:44px;padding:0}.merch-alert-actions>.merch-alert-settings span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.merch-alert-dialog{padding:20px;max-height:calc(100dvh - 32px)}.merch-alerts-body>.button{width:100%}}
/* A compact pill keeps its full 44px tap target. */
.merch-watch-button { position:relative; isolation:isolate; display:inline-flex; align-items:center; justify-content:center; align-self:flex-start; margin:4px 0; min-width:44px; min-height:44px; padding:0 10px; border:0; border-radius:999px; background:transparent; color:var(--ink); font:500 12px/1.2 var(--sans); }
.merch-watch-button::before { content:""; position:absolute; z-index:-1; inset:6px 0; border:1px solid var(--line); border-radius:inherit; background:transparent; pointer-events:none; }
.merch-watch-button:hover::before { border-color:var(--accent); }
.merch-watch-button[aria-pressed="true"] { color:#fff; }
.merch-watch-button[aria-pressed="true"]::before { background:var(--accent); border-color:var(--accent); }


html:has(.merch-alert-dialog[open]){overflow:hidden}

/* Three columns on desktop, two on phones. */
.merch-grid:not(.merch-feed){grid-template-columns:repeat(3,minmax(0,1fr));max-width:1100px;margin-inline:auto}
@media(max-width:700px){.merch-grid:not(.merch-feed){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:359px){.merch-grid:not(.merch-feed) .merch-card{display:flex}.merch-grid:not(.merch-feed) .merch-photo{align-self:stretch;margin:0}.merch-grid:not(.merch-feed) .merch-card-body{padding:10px}.merch-grid:not(.merch-feed) .merch-card h2{font-size:.8rem}}
