/* The merch component reuses the site's fonts, button masks and SVG icons. */
@font-face { font-family: "MerchMashaBear"; src: url("/music/assets/fonts/MashaBear.otf") format("opentype"); font-weight: 850; font-style: normal; font-display: swap; }
.merch-page, .merch-home { --merch-purple: #702c7e; --merch-ink: #54295e; --merch-pink: #ff037c; font-family: var(--font-primary, Nunito, Arial, sans-serif); color: var(--merch-ink); }
.merch-page { box-sizing: border-box; max-width: 1076px; margin: 0 auto; padding: 56px 28px 72px; }
.merch-page [hidden], .merch-home [hidden] { display: none !important; }
.merch-page__intro { text-align: center; margin-bottom: 48px; }
.merch-page h1 { font: 850 clamp(36px, 5.2vw, 72px)/1.08 "MerchMashaBear", Phosphate, sans-serif; font-synthesis: none; letter-spacing: 0; text-transform: uppercase; color: #fff; margin: 0 auto; }
.merch-page .merch-back { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0; margin: 0 0 24px; font: 700 16px/1.4 var(--font-primary, Nunito, sans-serif); color: var(--merch-purple); cursor: pointer; }
.merch-back span { text-decoration: underline; text-underline-offset: 4px; }
.merch-back__icon { width: 22px; height: 16px; fill: currentColor; transform: rotate(180deg); }
.merch-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px 16px; padding-top: 40px; }
.merch-grid__item { position: relative; min-width: 0; }
.merch-card { height: 100%; position: relative; padding: 0; background: rgba(255,255,255,.25); border-radius: 24px; overflow: visible; box-shadow: 0 4px 16px rgba(79,48,14,.2); transition: background-color 200ms ease, transform 200ms ease, box-shadow 200ms ease; }
.merch-page .merch-card__select { appearance: none; display: flex; flex-direction: column; align-items: center; gap: 16px; position: relative; box-sizing: border-box; width: 100%; height: 100%; padding: 16px; margin: 0; border: 0; border-radius: inherit; background: none; color: #fff; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.merch-card__visual { display: block; position: relative; width: 100%; aspect-ratio: 372 / 495; border-radius: 16px; overflow: hidden; }
.merch-card__visual img, .merch-gallery__photo img { position: absolute; display: block; width: var(--photo-width,100%); max-width: none; height: auto; min-width: 0; min-height: 0; left: var(--photo-left,0%); top: var(--photo-top,0%); }
.merch-photo--contain { background: #fff; }
.merch-card__visual.merch-photo--contain img, .merch-gallery__photo.merch-photo--contain img { width: 100%; height: 100%; left: 0; top: 0; object-fit: contain; }
.merch-card__name { display: flex; justify-content: center; align-items: center; min-height: 2.5em; max-width: 100%; color: #fff; font: 800 clamp(18px,1.5vw,20px)/1.25 var(--font-primary,Nunito,sans-serif); text-align: center; text-wrap: balance; }
/* Keep the site's .btn hover/press motion; only the badge's reveal needs a delayed visibility change. */
.merch-page .merch-card__preorder { position: absolute; isolation: isolate; top: -26px; left: calc(50% - 110px); width: 220px; height: 52px; padding: 0; margin: 0; background: var(--merch-pink); color: #fff; font-family: var(--font-accent,Phosphate,sans-serif); font-weight: 400; font-synthesis: none; opacity: 0; visibility: hidden; pointer-events: none; transform-origin: center; z-index: 3; transition: all 200ms ease, visibility 0s linear 200ms; }
.merch-card__preorder::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(105deg,#ff037c 0%,#702c7e 100%); opacity: 0; transition: opacity 200ms ease; }
.merch-card:has(.merch-card__select:focus-visible) { background: #702c7e; transform: translateY(-4px); }
.merch-card:has(.merch-card__select:focus-visible) .merch-card__preorder { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.merch-page .merch-card__select:focus-visible { outline: 3px solid var(--merch-ink); outline-offset: 5px; }
.merch-card__select:focus-visible .merch-card__preorder { scale: 1.115; }
.merch-card__select:focus-visible .merch-card__preorder::before { opacity: 1; }
@media (hover:hover) and (pointer:fine) {
  .merch-card:hover { background: #702c7e; transform: translateY(-4px); }
  .merch-card:hover .merch-card__preorder { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .merch-card__preorder:hover::before { opacity: 1; }
}
@media (hover:none), (pointer:coarse) { .merch-card .merch-card__preorder { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; } }
.merch-page .merch-card__select:active .merch-card__preorder { scale: .9; }
.merch-decor { display: block; position: absolute; pointer-events: none; user-select: none; height: auto; z-index: 2; }
.merch-decor--heart { width: 82px; right: -8px; top: -104px; }
.merch-decor--flower { width: 58px; right: -32px; bottom: 4px; }
.merch-decor--cloud { width: 122px; right: -24px; bottom: 4px; }
.merch-decor--form-heart { width: 64px; left: -36px; top: 48px; }
.merch-decor--form-cloud { width: 96px; right: -48px; top: 104px; }
.merch-decor--success-flower { width: 78px; right: 42px; bottom: -10px; }
.merch-action { width: 220px; height: 52px; position: relative; flex-shrink: 0; margin: 0 auto; border-radius: 24px; }
.merch-action:has(> .btn:focus-visible) { outline: 3px solid var(--merch-ink); outline-offset: 5px; }
.merch-page .merch-button { width: 220px; height: 52px; padding: 0 10px; margin: 0; font-weight: 400; font-synthesis: none; text-decoration: none; text-align: center; white-space: nowrap; }
.merch-button__label { display: block; }
.merch-page :focus-visible, .merch-home :focus-visible { outline: 3px solid var(--merch-ink); outline-offset: 4px; }
.merch-preorder { scroll-margin-top: 112px; margin: 0 auto; }
.merch-detail-navigation { max-width: 760px; margin: auto; }
.merch-detail { padding: 24px 0 50px; margin: 0 auto; border-radius: 24px; background: #702c7e; color: #fff; text-align: center; overflow: hidden; }
.merch-gallery { width: 100%; overflow: hidden; }
.merch-gallery__slide { width: min(51.67%,520px); }
.merch-gallery__photo { position: relative; aspect-ratio: 992 / 1083; width: 100%; overflow: hidden; border-radius: 18px; }
.merch-gallery__navigation { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: min(75%,760px); margin: 18px auto 0; }
.merch-gallery__caption { flex: 1; min-width: 0; }
.merch-detail h2 { font: 800 30px/1.25 var(--font-primary,Nunito,sans-serif); margin: 0; color: #fff; text-wrap: balance; }
.merch-detail h2:focus { outline: none; }
.merch-page .merch-gallery__arrow { display: grid; place-items: center; width: 52px; height: 52px; min-width: 44px; min-height: 44px; padding: 0; margin: 0; flex-shrink: 0; border: 0; border-radius: 50%; cursor: pointer; background: none; transition: scale 200ms ease, opacity 200ms ease; }
.merch-gallery__arrow img { display: block; width: clamp(28px,4.9vw,52px); height: auto; transform: rotate(180deg); }
.merch-gallery__arrow--previous img { transform: none; }
.merch-gallery__arrow:disabled { opacity: .35; cursor: default; scale: 1; }
.merch-gallery__arrow:focus-visible:not(:disabled) { scale: 1.115; }
.merch-gallery__navigation :focus-visible, .merch-gallery:focus-visible { outline-color: #fff; }
.merch-gallery:focus-visible { outline-offset: -4px; }
.merch-gallery--fallback { overflow-x: auto; scroll-snap-type: x mandatory; }
.merch-gallery--fallback .swiper-wrapper { display: flex; gap: 16px; }
.merch-gallery--fallback .merch-gallery__slide { flex-shrink: 0; scroll-snap-align: center; }
.merch-preorder__panel { position: relative; box-sizing: border-box; max-width: 760px; padding: 28px 44px 40px; margin: -20px auto 0; border-radius: 24px; background: #e9018a url('/template/images/merch-v2/form-background.svg') top / 100% auto no-repeat; color: #fff; }
.merch-panel-close { display: grid; place-items: center; position: absolute; z-index: 3; top: 2px; right: 2px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: none; cursor: pointer; transition: scale 200ms ease; }
.merch-panel-close img { width: 14px; height: 14px; }
.merch-preorder__panel h2 { font: 850 clamp(28px,5vw,42px)/1.12 "MerchMashaBear",Phosphate,sans-serif; font-synthesis: none; text-align: center; margin: 0 0 12px; text-transform: uppercase; }
.merch-preorder__intro { font: 700 clamp(20px,2.5vw,26px)/1.18 var(--font-primary,Nunito,sans-serif); text-align: center; margin: 16px auto 28px; }
#merch-preorder-form { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 16px; }
.merch-field, .merch-error--summary, .merch-refresh, #merch-preorder-form > .merch-action { grid-column: 1 / -1; }
.merch-field { min-width: 0; margin: 0 0 24px; }
.merch-field--phone, .merch-field--email { grid-column: auto; }
.merch-field > label { display: block; font: 800 15px/1.4 var(--font-primary,Nunito,sans-serif); margin: 0 0 7px; }
.merch-field__optional { font-weight: 600; }
.merch-field input:not([type=checkbox]) { box-sizing: border-box; width: 100%; min-height: 44px; border: 2px solid transparent; border-radius: 8px; padding: 8px 12px; background: rgba(255,255,255,.34); font: 500 18px/1.35 var(--font-primary,Nunito,sans-serif); color: #fff; }
.merch-field input::placeholder { color: #fff; opacity: 1; }
.merch-field input:autofill { -webkit-text-fill-color: #54295e; }
.merch-field input[aria-invalid=true], .merch-field select[aria-invalid=true] { border-color: #762048; }
.merch-field .merch-consent { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font: 500 12px/1.45 var(--font-primary,Nunito,sans-serif); margin: 0; }
.merch-field--consent { margin-bottom: 16px; }
.merch-consent input { flex-shrink: 0; appearance: none; width: 24px; height: 24px; border: 0; border-radius: 4px; margin: 0; background: rgba(255,255,255,.34); cursor: pointer; }
.merch-consent input:checked { background: var(--merch-purple) url('/template/images/merch-v2/consent-check.svg') center/16px 16px no-repeat; }
.merch-field--size { grid-column: 1; }
.merch-size-select { background: rgba(255,255,255,.34); border-radius: 8px; }
.merch-size-picker { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 44px; margin: 0; padding: 8px 14px; border: 2px solid transparent; border-radius: 8px; background: none; color: #fff; font: 500 18px/1.35 var(--font-primary,Nunito,sans-serif); text-align: left; cursor: pointer; }
.merch-size-picker img { width: 20px; height: 12px; transform: rotate(180deg); transition: transform 200ms ease; }
.merch-size-picker[aria-expanded=true] img { transform: none; }
.merch-size-picker[aria-invalid=true] { border-color: #762048; }
.merch-size-options { position: relative; list-style: none; max-height: 230px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(112,44,126,.28) transparent; margin: 0 12px; padding: 4px 0 8px; border-top: 1px solid rgba(255,255,255,.65); color: #fff; font: 500 18px/1.35 var(--font-primary,Nunito,sans-serif); }
.merch-size-options [role=option] { border-radius: 6px; min-height: 34px; box-sizing: border-box; padding: 5px 2px; cursor: pointer; }
.merch-size-options [role=option].is-highlighted { background: rgba(112,44,126,.27); }
.merch-size-options [role=option][aria-selected=true] { font-weight: 800; }
.merch-size-picker:disabled { cursor: wait; }
#merch-preorder-form > .merch-action { margin: 14px 0 0; }
.merch-page #merch-submit { background: #ffc533; color: #fff; clip-path: none; border-radius: 999px; font: 400 25px/1.1 var(--font-accent,Phosphate,sans-serif); }
.merch-consent a, .merch-size-chart { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.merch-size-chart { display: inline-block; font-size: 13px; margin-top: 8px; }
.merch-error { background: #fff3f6; color: #791237; padding: 8px 12px; border-radius: 8px; font: 700 13px/1.5 var(--font-primary,Nunito,sans-serif); margin: 6px 0 0; }
.merch-error--summary { border-left: 3px solid #791237; padding: 8px 12px; margin: 0 0 18px; }
.merch-refresh { display: block; justify-self: start; border: 0; padding: 0; margin: 0 0 18px; font: inherit; color: #fff; background: none; cursor: pointer; text-decoration: underline; }
.merch-preorder .merch-button:disabled { cursor: wait; opacity: .7; scale: 1; }
.merch-preorder .merch-preorder__panel :focus-visible { outline-color: #fff; }
.merch-preorder input:focus-visible, .merch-preorder select:focus-visible { outline: 3px solid var(--merch-ink); outline-offset: 2px; }
.merch-preorder .merch-action:has(> .btn:focus-visible) { outline-color: #fff; }
.merch-preorder__panel--catalog { text-align: center; }
.merch-preorder__panel--catalog .merch-preorder__intro { margin-bottom: 0; }
.merch-success { position: relative; text-align: center; padding: 36px 28px; color: #fff; }
.merch-success h3 { font: 850 clamp(38px,8vw,76px)/1.05 "MerchMashaBear",Phosphate,sans-serif; font-synthesis: none; text-transform: uppercase; margin: 0 0 12px; }
.merch-success p { font: 700 20px/1.3 var(--font-primary,Nunito,sans-serif); margin: 0; }
.merch-preorder[data-state=success] .merch-preorder__panel { padding: 32px 44px; background: #ff2260 url('/template/images/merch-v2/success-background.svg') center / 100% 100% no-repeat; }
.merch-preorder[data-state=success] .merch-decor--form-cloud { top: 56px; }
.merch-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }
/* This inline entry replaces the former automatic announcement dialog. */
/* Match the adjacent 608px promo's visible art: its opaque span is 1893/1920,
   while this preserved SVG's span is 1400/1920. Transparent padding must not shrink the composition. */
.merch-home { position: relative; box-sizing: border-box; container-type: inline-size; width: 100%; max-width: calc(608px * 1893 / 1400); margin: 0 auto; padding: 0 0 32px; }
.merch-home__art { display: block; width: 100%; height: auto; aspect-ratio: 1920 / 1450; }
.merch-home__action { position: absolute; left: 12.5%; top: 63.2%; width: 30.4%; height: 14.9%; border-radius: 50px; }
.merch-home__action::after { content: ''; position: absolute; inset: 0; border-radius: inherit; outline: 3px solid #54295e; outline-offset: 5px; pointer-events: none; opacity: 0; scale: 1; transition: scale 200ms ease; }
.merch-home__action:has(a:focus-visible)::after { opacity: 1; scale: 1.115; }
.merch-home .merch-home__link { display: flex; position: relative; isolation: isolate; flex-direction: column; justify-content: center; gap: 8px; box-sizing: border-box; width: 100%; height: 100%; margin: 0; padding: 12px 18px; clip-path: url('#merchHomeButtonMask'); background: #ff037c; color: #fff; text-decoration: none; text-align: center; font-family: "MerchMashaBear",Phosphate,sans-serif; font-weight: 850; font-synthesis: none; white-space: nowrap; }
.merch-home__link::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(105deg,#ff037c 16%,#ff5472 60%,#ffae3e 100%); opacity: 0; transition: opacity 200ms ease; }
.merch-home .merch-home__link:focus-visible { scale: 1.115; }
.merch-home__link:focus-visible::before { opacity: 1; }
.merch-home__link:focus-visible { outline: none; }
@media (hover:hover) and (pointer:fine) {
  .merch-home__link:hover::before { opacity: 1; }
  .merch-gallery__arrow:hover:not(:disabled), .merch-panel-close:hover { scale: 1.115; }
}
.merch-home .merch-home__link:focus-visible:active, .merch-home__action:has(a:active)::after { scale: .9; }
.merch-home__link strong { font: inherit; font-size: clamp(24px,3.34cqw,36px); line-height: 1; }
.merch-home__link span { font-size: clamp(12px,1.95cqw,21px); line-height: 1.15; }
.merch-menu-link.btn { background-color: #ff037c; }
.merch-menu-link:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
/* The existing navigation remains intact with its fifth primary item. */
@media (min-width:1133px) and (max-width:1399.5px) { .navbar--with-merch .navbar__list { display: none; } .navbar--with-merch .navbar__open-btn { display: flex; } .navbar--with-merch .navbar__logo { margin-left: 32px; } }
@media (min-width:1400px) { .navbar--with-merch { gap: 18px; } .navbar--with-merch .navbar__logo { flex: 0 0 166px; } .navbar--with-merch .navbar__list { position: static; translate: none; margin: 0; padding: 0; gap: 8px; flex: 1; justify-content: center; } .navbar--with-merch .navbar__list .navbar__list-item { margin: 0; } .navbar--with-merch .navbar__list--secondary { position: static; flex-shrink: 0; } .navbar--with-merch .navbar__list--secondary .navbar__list-item:last-of-type { margin-left: 32px; } }
/* The legacy 115px social column is narrower than its heading at tablet widths. */
@media (min-width:744px) and (max-width:1132.5px) { body:has(.merch-page, .merch-home) .footer__follow { min-width: max-content; } }
@media (min-width:744px) and (max-width:899.5px) { .merch-page .merch-card__preorder { width: 190px; height: 45px; top: -22.5px; left: calc(50% - 95px); clip-path: url('#merchCompactButtonMask'); } }
@media (min-width:744px) and (max-width:899.5px) { .merch-decor--form-heart { width: 52px; left: -20px; } .merch-decor--form-cloud { width: 72px; right: -20px; } }
@media (min-width:744px) and (max-width:1075.5px) { .merch-decor--flower { width: 46px; right: -24px; } .merch-decor--cloud { width: 72px; right: -22px; } }
@media (max-width:743.5px) {
  .merch-page { padding: 32px 16px 48px; }
  .merch-page h1 { font-size: clamp(32px,7.2vw,52px); }
  .merch-page__intro { margin-bottom: 24px; }
  .merch-grid { grid-template-columns: minmax(0,1fr); max-width: 428px; margin: auto; }
  .merch-card__name { font-size: 20px; }
  .merch-grid .merch-decor, .merch-decor--form-heart { display: none; }
  .merch-preorder { scroll-margin-top: 96px; }
  .merch-detail { padding: 16px 0 48px; border-radius: 24px; }
  .merch-detail h2 { font-size: 25px; }
  .merch-gallery__slide { width: 82%; max-width: 420px; }
  .merch-gallery__navigation { gap: 10px; width: calc(100% - 32px); margin-top: 12px; }
  .merch-preorder__panel { padding: 28px 18px 24px; border-radius: 24px; }
  .merch-preorder__intro { font-size: 20px; margin-bottom: 24px; }
  .merch-decor--form-cloud { width: 64px; right: -10px; top: -44px; }
  .merch-preorder[data-state=success] .merch-preorder__panel { padding: 36px 18px; }
  .merch-preorder[data-state=success] .merch-decor--form-cloud { top: -44px; }
  .merch-preorder[data-state=success] .merch-decor--form-heart { display: block; width: 36px; left: -10px; top: 18px; }
  .merch-success { padding: 20px 0 70px; }
  .merch-success p { font-size: 17px; }
  .merch-decor--success-flower { width: 44px; right: 0; bottom: 0; }
  #merch-preorder-form { grid-template-columns: minmax(0,1fr); }
  .merch-field--phone, .merch-field--email, .merch-field--size { grid-column: 1 / -1; }
  .merch-field { margin-bottom: 16px; }
  body:has(.merch-page) .footer__end .link { max-width: 100%; margin-right: 0; white-space: normal; }
  .merch-home { padding-bottom: 40px; }
  .merch-home__action { position: relative; left: auto; top: auto; width: min(330px,calc(100% - 60px)); height: 104px; margin: -12px auto 0; }
  .merch-home__link strong { font-size: 34px; }
  .merch-home__link span { font-size: clamp(18px,5.5vw,22px); }
}
@media (prefers-reduced-motion:reduce) {
  /* These entry buttons follow the existing navigation's .btn behavior in both motion modes.
     Keep reduced motion for card movement, gallery transitions and the remaining controls. */
  .merch-page *:not(.merch-card__preorder), .merch-home *:not(.merch-home__link) { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .merch-card { transform: none !important; }
  .merch-page .btn:not(.merch-card__preorder), .merch-home .btn:not(.merch-home__link) { scale: 1 !important; }
  .merch-gallery__arrow, .merch-panel-close { scale: 1 !important; }
}
