/* Keep the MD Latarnik shell scoped so it does not restyle Spreadshop controls. */
html { background: #0b0c0d; scrollbar-color: #534d45 #0b0c0d; scrollbar-width: thin; }
html::-webkit-scrollbar { width: 9px; }
html::-webkit-scrollbar-track { background: #0b0c0d; }
html::-webkit-scrollbar-thumb { background: #534d45; border: 2px solid #0b0c0d; border-radius: 8px; }
.merch-page { margin: 0; background: #0b0c0d; color: #e7dfd1; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.merch-header,.merch-intro,.merch-footer { box-sizing: border-box; width: min(1240px,calc(100% - 48px)); margin-inline: auto; }
.merch-main { width: 100%; min-width: 0; margin: 0; padding: 0; }
.merch-header { min-height: 92px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1px solid rgba(231,223,209,.14); }
.merch-brand { display: inline-flex; gap: .8rem; align-items: center; color: #e7dfd1; text-decoration: none; }
.merch-brand > span:first-child { font-family: Georgia,serif; font-size: 1.6rem; letter-spacing: -.12em; }
.merch-brand > span:last-child { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.merch-brand small { display: block; margin-top: .2rem; color: #a79f94; font-size: .53rem; letter-spacing: .12em; font-weight: 400; }
.merch-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.35rem; }
.merch-nav a { padding: .7rem 0; border-bottom: 1px solid transparent; color: #a79f94; font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; }
.merch-nav a[aria-current] { color: #e7dfd1; border-bottom-color: #f7a35a; }
.merch-nav a:hover,.merch-direct:hover { color: #f7a35a; }
.merch-intro { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 2rem 0 1.4rem; }
.merch-intro h1 { margin: 0 0 .4rem; font-family: Georgia,serif; font-size: clamp(2rem,4vw,2.7rem); font-weight: 400; letter-spacing: -.04em; }
.merch-intro p { margin: 0; color: #a79f94; font-size: .85rem; }
.merch-direct { color: #a79f94; font-size: .75rem; text-decoration: underline; text-underline-offset: .2em; }
.merch-shop { width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; background: #0b0c0d; }
#myShop { width: 100%; min-width: 0; font-size: 16px; line-height: 1.5; }
/* Release only the shop's outer layout; cart drawers and dialogs keep their own scrolling. */
.merch-main,.merch-shop,#myShop,#myShop > div,#myShop #sprd-main {
  height: auto !important; max-height: none !important; overflow: visible !important;
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
#myShop,#myShop > div,#myShop #sprd-main { box-sizing: border-box; width: 100% !important; max-width: none !important; margin-inline: 0 !important; }
.merch-loading { margin: 0; padding: 3rem max(24px,calc((100% - 1240px)/2)); border: 0; color: #a79f94; font-size: .85rem; }
.merch-footer { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .7rem 2rem; padding: 1.5rem 0 2rem; margin-top: 2rem; border-top: 1px solid rgba(231,223,209,.14); font-size: .75rem; }
.merch-footer a { color: #e7dfd1; text-decoration: none; }
.merch-footer p { margin: 0; color: #a79f94; }
.merch-header a:focus-visible,.merch-intro a:focus-visible,.merch-footer a:focus-visible,.merch-skip:focus-visible { outline: 2px solid #aebeea; outline-offset: 4px; }
.merch-skip { position: absolute; top: -100px; left: 1rem; z-index: 100; background: #e7dfd1; color: #0b0c0d; padding: .8rem; }
.merch-skip:focus { top: 1rem; }
.merch-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media(max-width:600px) {
  .merch-header,.merch-intro,.merch-footer { width: calc(100% - 28px); }
  .merch-header { min-height: 76px; }
  .merch-brand > span:last-child { display: none; }
  .merch-nav { gap: .85rem; }
  .merch-nav a { font-size: .62rem; letter-spacing: .02em; }
  .merch-intro { padding-top: 1.5rem; }
}
