/* Final viewport rules, shared across home, catalogue and event pages. */
body>header nav.wrap{width:100%;max-width:1440px;padding-inline:clamp(16px,4vw,48px);min-width:0}
body>header nav .links{min-width:0}
body>header nav .links a,body>header nav .links button{white-space:nowrap}
.friend-shop-space.responsive-panels .cast-layout .mood-choices small{display:block}
.friend-shop-space.responsive-panels .cast-layout .friend-picks button>span{overflow-wrap:break-word}
.friend-shop-space.responsive-panels .mood-end{font-size:.875rem}
.friend-shop-space.responsive-panels .mood-end a{font-size:.875rem}
#collection .all-merch-cta>.pill{min-height:44px;max-width:100%;white-space:normal;text-align:center}
#collection .collection-footnote{font-size:.875rem;max-width:620px}
#catalog-grid{min-width:0}
.catalog-item,.catalog-caption,.sku-detail,.live-detail,.bag-line>div{min-width:0}
.catalog-caption h3,.events-title h2{overflow-wrap:break-word}

@media(min-width:761px) and (max-width:1199px){
 body>header nav.wrap{height:76px;gap:16px;padding-inline:24px}
 body>header nav .brand-secondary img{width:160px;height:auto;max-width:none}
 body>header nav .links{gap:14px;font-size:.875rem}
 body>header .nav-bag,body>header .nav-picks{padding:9px 12px;font-size:.8125rem}
 .world-hero .scene{height:clamp(340px,46vw,520px);min-height:0;max-height:none}
 .world-hero .scene .world-banner{object-fit:contain}
 .world-hero .banner-stage .banner-cat{bottom:11.5625%;height:auto!important}
 .friend-shop-space.responsive-panels>[role=tabpanel]>.wrap{width:100%;max-width:1040px;padding-inline:clamp(24px,4vw,40px)}
 .friend-shop-space.responsive-panels>.mood-world,.friend-shop-space.responsive-panels>.collection{padding-top:96px;padding-bottom:32px;align-items:flex-start;min-height:var(--panel-viewport)}
 .friend-shop-space.responsive-panels .mood-heading{margin-bottom:22px}
 .friend-shop-space.responsive-panels .mood-heading h2,.friend-shop-space.responsive-panels #collection .section-head h2{font-size:clamp(2rem,3.8vw,2.75rem)}
 .friend-shop-space.responsive-panels .cast-layout .mood-choices{gap:18px;padding-bottom:26px}
 .friend-shop-space.responsive-panels .cast-art{height:clamp(165px,22vw,225px)}
 .friend-shop-space.responsive-panels .cast-layout .mood-choices button>span{font-size:1.125rem;padding:5px 12px}
 .friend-shop-space.responsive-panels .cast-layout .mood-choices small{font-size:.875rem;line-height:1.45}
 .friend-shop-space.responsive-panels .cast-details{padding:26px;gap:22px}
 .friend-shop-space.responsive-panels .cast-layout .friend-picks button{flex-direction:row;align-items:center;gap:12px}
 .friend-shop-space.responsive-panels .cast-layout .friend-picks img{width:60px;height:60px}
 .friend-shop-space.responsive-panels #collection .section-head{padding-inline:0}
 #collection .shop-heading-flower{display:none}
 .friend-shop-space.responsive-panels #collection .merch-wall{gap:28px 24px}
 #collection .merch-piece:nth-child(n) .merch-caption{padding:16px 6px 0}
 #collection .merch-piece:nth-child(n) .merch-caption h3{font-size:1.125rem}
 #event-teaser .meadow-invitation{width:100%;padding:28px 32px;gap:24px;min-height:0}
 #event-teaser .meadow-copy{max-width:65%;width:auto}
 #event-teaser .meadow-copy h2{font-size:clamp(1.875rem,3vw,2.5rem)}
 .happi-footer .footer-top{grid-template-columns:90px minmax(0,1fr);gap:26px}
 .happi-footer nav.footer-navigation{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;gap:12px 28px}
}
/* On tablets, the dock becomes a centred bar and releases the right margin. */
@media(max-width:1199px){
 .friend-shop-space.responsive-panels.scroll-scene .scene-switch{
  top:14px;left:50%;right:auto;transform:translateX(-50%);width:232px;
  grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:48px;
  border-radius:999px;--switch-inset:4px;
 }
 .friend-shop-space.responsive-panels .scene-switch::before{top:4px;left:4px;right:auto;width:calc((100% - 8px)/2);height:48px;border-radius:999px;transform:translateX(0)}
 .friend-shop-space.responsive-panels .scene-switch[data-selected=shop]::before{transform:translateX(100%)}
 .friend-shop-space.responsive-panels .scene-switch [role=tab]{flex-direction:row;gap:8px;min-height:44px;border-radius:999px;font-size:.875rem}
 .friend-shop-space.responsive-panels .scene-switch svg{width:22px;height:22px}
 .friend-shop-space.responsive-panels.scroll-scene::before{content:'';position:absolute;z-index:4;top:0;left:0;width:100%;height:78px;background:#fefbf0;border-bottom:1px solid #51352910;pointer-events:none}
 .friend-shop-space.responsive-panels.scroll-scene:has(.scene-switch[data-selected=shop])::before{background:#faf6e8}
 .catalog-controls{align-items:stretch;gap:22px}
 .catalog-search{min-width:180px;max-width:100%}
 .catalog-view .full-catalog{padding-top:32px}
}
@media(min-width:1000px) and (max-width:1199px){
 .friend-shop-space.responsive-panels .cast-details{grid-template-columns:1fr 1fr;gap:26px}
 .friend-shop-space.responsive-panels .cast-companion{border-top:0;border-left:1px solid #51352920;padding:0 0 0 26px}
 .friend-shop-space.responsive-panels .cast-layout .friend-picks button{flex-direction:column;align-items:flex-start}
}
@media(max-width:760px){
 body>header nav.wrap{height:68px;gap:12px;padding-inline:16px}
 body>header nav .brand-secondary img{width:clamp(104px,31vw,152px);height:auto;max-width:none}
 body>header nav .links{gap:10px;font-size:.8125rem}
 body>header nav .links>a[href='#mascots']{display:none}
 body>header nav .links>a[href='#events']{display:block}
 body>header .nav-bag{font-size:.8125rem;padding:9px 10px;min-height:42px}
 body>header .nav-bag span{margin-left:4px;min-width:19px;height:19px}
 .world-hero .scene{height:clamp(250px,72vw,410px);min-height:0;max-height:none}
 .world-hero .scene .world-banner{height:100%;object-fit:contain}
 .world-hero .banner-stage .layer-wood{height:48px!important}
 .world-hero .banner-stage .banner-cat{bottom:31px!important}
 .world-hero .banner-stage .layer-clouds{width:140%!important;left:-20%!important}
 .world-hero .banner-stage .butterfly-1,.world-hero .banner-stage .butterfly-3{bottom:calc(48px + 28vw)}
 .world-hero .banner-stage .butterfly-2,.world-hero .banner-stage .butterfly-4{bottom:calc(48px + 38vw)}
 .world-hero .scene .hotspot{bottom:31px;height:clamp(85px,27vw,165px)}
 .friend-shop-space.responsive-panels>[role=tabpanel]>.wrap{width:100%;max-width:620px;padding-inline:20px}
 .friend-shop-space.responsive-panels>.mood-world,.friend-shop-space.responsive-panels>.collection{padding-top:96px;padding-bottom:32px}
 .friend-shop-space.responsive-panels .mood-heading{margin-bottom:24px}
 .friend-shop-space.responsive-panels .mood-heading h2,.friend-shop-space.responsive-panels #collection .section-head h2{font-size:clamp(1.75rem,7vw,2.5rem);line-height:1.16}
 .friend-shop-space.responsive-panels .mood-heading p,.friend-shop-space.responsive-panels #collection .section-head>p{font-size:.9375rem;line-height:1.6}
 .friend-shop-space.responsive-panels .cast-layout .mood-choices{gap:22px 14px;padding-bottom:26px}
 .friend-shop-space.responsive-panels .cast-art{height:clamp(135px,36vw,190px);margin-bottom:6px}
 .friend-shop-space.responsive-panels .cast-layout .mood-choices button>span{font-size:1rem;padding:4px 12px}
 .friend-shop-space.responsive-panels .cast-layout .mood-choices small{font-size:.8125rem;line-height:1.4}
 .friend-shop-space.responsive-panels .cast-details{padding:22px;gap:20px}
 .friend-shop-space.responsive-panels .cast-layout .friend-note h3{font-size:1.75rem;line-height:1.2}
 .friend-shop-space.responsive-panels .cast-layout .friend-note>p{font-size:.9375rem;line-height:1.65}
 .friend-shop-space.responsive-panels .cast-layout .friend-picks>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
 .friend-shop-space.responsive-panels .cast-layout .friend-picks button{flex-direction:column;align-items:flex-start;gap:10px}
 .friend-shop-space.responsive-panels .mood-end{gap:12px;line-height:1.6}
 .friend-shop-space.responsive-panels #collection .merch-wall{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}
 #collection .merch-piece:nth-child(n) button{padding:7px 7px 14px;border-radius:13px}
 #collection .merch-piece:nth-child(n) .merch-caption{padding:12px 3px 0}
 #collection .merch-piece:nth-child(n) .merch-caption h3{font-size:1rem;line-height:1.4}
 #collection .merch-caption p{font-size:.8125rem}
 #collection .art-preview-label{max-width:calc(100% - 10px);font-size:.625rem;padding:3px 5px}
 #collection .merch-piece:nth-child(n) .sku-family-art .photo-pending-label{font-size:.875rem}
 .friend-shop-space.responsive-panels #collection .preorder-note{gap:12px;margin-bottom:24px}
 #catalog .wrap,#events>.wrap{padding-inline:20px}
 .catalog-heading h2,.events-title h2{font-size:clamp(2rem,8vw,2.75rem);line-height:1.15;transform:none}
 .catalog-controls{display:block}
 .catalog-search{margin-top:22px;width:100%;max-width:none}
 #catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}
 .catalog-art{height:auto;aspect-ratio:1}
 .catalog-caption h3{font-size:1rem;line-height:1.4}
 .catalog-caption .sku-card-meta{flex-direction:column;gap:6px}
 .shop-shipping-guide,.events-empty,.event-record{grid-template-columns:1fr;gap:20px}
 .events-empty>div{padding:12px}
 #event-teaser .meadow-invitation{width:100%;display:block;min-height:0;padding:28px 20px 24px}
 #event-teaser .meadow-copy{width:100%;max-width:none}
 #event-teaser .meadow-copy h2{font-size:clamp(1.75rem,6vw,2.25rem);line-height:1.2}
 #event-teaser .meadow-copy p{font-size:.9375rem}
 #event-teaser .meadow-event-link{margin-top:18px;padding:12px 18px;min-height:44px}
 #event-teaser>.event-art-frame>.meadow-panorama{width:100%;height:auto;max-height:none;margin:0;object-fit:contain}
 #event-teaser .event-loop-controls{position:relative;left:auto;bottom:auto;transform:none;width:max-content;margin:14px auto;max-width:100%}
 #event-teaser .meadow-caption{display:none}
 .happi-footer .footer-top{grid-template-columns:72px minmax(0,1fr);gap:20px;padding-block:28px}
 .happi-footer .footer-goodbye>p{font-size:clamp(1.6rem,5vw,2rem);line-height:1.2}
 .happi-footer .footer-brand,.happi-footer .footer-brand img{width:72px;height:auto}
 .happi-footer nav.footer-navigation{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;gap:8px 20px}
 .happi-footer .footer-bottom{flex-direction:column;align-items:flex-start;gap:12px}
 dialog{width:calc(100% - 24px);max-width:700px;max-height:calc(100dvh - 24px);padding:48px 20px 24px;overflow:auto}
 .bag-line{grid-template-columns:64px minmax(0,1fr);gap:14px}
 .bag-line img{width:64px;height:80px}
 .bag-line>div:last-child{grid-column:2}
}
@media(max-width:359px){
 body>header nav .links{gap:8px;font-size:.75rem}
 body>header nav .brand-secondary img{width:104px}
 body>header .nav-bag{padding-inline:8px;font-size:.75rem}
 .friend-shop-space.responsive-panels>[role=tabpanel]>.wrap{padding-inline:16px}
 .friend-shop-space.responsive-panels .cast-details{padding:18px}
 .friend-shop-space.responsive-panels #collection .merch-wall,#catalog-grid{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){.friend-shop-space.responsive-panels .scene-switch::before{transition:none}}

/* Keep Friends / Shop in the same right-hand position on every screen. */
@media(max-width:1199px){
 .friend-shop-space.responsive-panels.scroll-scene .scene-switch{
  --dock-row:70px;top:50%;left:auto;right:12px;transform:translateY(-50%);
  width:64px;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(2,var(--dock-row));
  border-radius:28px;--switch-inset:4px;
 }
 .friend-shop-space.responsive-panels .scene-switch::before{top:4px;left:4px;right:4px;width:auto;height:var(--dock-row);border-radius:23px;transform:translateY(0)}
 .friend-shop-space.responsive-panels .scene-switch[data-selected=shop]::before{transform:translateY(100%)}
 .friend-shop-space.responsive-panels .scene-switch [role=tab]{flex-direction:column;gap:7px;font-size:.6875rem;min-height:44px;border-radius:23px}
 .friend-shop-space.responsive-panels.scroll-scene::before{display:none}
 .friend-shop-space.responsive-panels>[role=tabpanel]>.wrap{padding-left:24px;padding-right:96px}
 .friend-shop-space.responsive-panels>.mood-world,.friend-shop-space.responsive-panels>.collection{padding-top:32px;padding-bottom:32px}
}
@media(max-width:760px){
 .friend-shop-space.responsive-panels.scroll-scene .scene-switch{--dock-row:64px;width:56px;right:8px;border-radius:25px}
 .friend-shop-space.responsive-panels .scene-switch::before{border-radius:20px}
 .friend-shop-space.responsive-panels .scene-switch [role=tab]{font-size:.625rem;gap:6px;border-radius:20px}
 .friend-shop-space.responsive-panels .scene-switch svg{width:21px;height:21px}
 .friend-shop-space.responsive-panels>[role=tabpanel]>.wrap{max-width:620px;padding-left:16px;padding-right:80px}
 .friend-shop-space.responsive-panels .cast-art{height:clamp(110px,30vw,170px)}
 .friend-shop-space.responsive-panels .cast-details{padding:18px}
 .friend-shop-space.responsive-panels .cast-layout .mood-choices{gap:20px 12px}
 .friend-shop-space.responsive-panels .cast-layout .mood-choices button>span{padding-inline:10px}
 .friend-shop-space.responsive-panels .cast-layout .mood-choices small{font-size:.75rem}
}
@media(max-width:600px){
 .friend-shop-space.responsive-panels .cast-layout .friend-picks>div{grid-template-columns:minmax(0,1fr);gap:16px}
 .friend-shop-space.responsive-panels .cast-layout .friend-picks button{flex-direction:row;align-items:center;gap:10px}
 .friend-shop-space.responsive-panels .cast-layout .friend-picks img{width:48px;height:48px}
 #friend-recommendations .recommend-photo-pending{flex-basis:48px;min-width:48px;height:48px;font-size:.5625rem}
 .friend-shop-space.responsive-panels .cast-layout .friend-note h3{font-size:1.5rem}
}

/* A shared composition: heading, four media cards, then supporting information. */
.friend-shop-space.responsive-panels{
 --panel-media-height:clamp(150px,21vh,250px);
 --panel-heading-size:clamp(2rem,4.8vh,3.25rem);
 --panel-columns:4;
 --panel-gap:24px;
}
.friend-shop-space.responsive-panels>.mood-world,
.friend-shop-space.responsive-panels>.collection{padding-block:32px;align-items:flex-start}
.friend-shop-space.responsive-panels .mood-heading,
.friend-shop-space.responsive-panels #collection .section-head{
 display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
 width:100%;max-width:none;padding:0;margin:0 0 24px;text-align:center;gap:0;
}
.friend-shop-space.responsive-panels .mood-heading>div,
.friend-shop-space.responsive-panels #collection .section-head>div{display:contents}
.friend-shop-space.responsive-panels .mood-heading .eyebrow,
.friend-shop-space.responsive-panels #collection .section-head .eyebrow{
 display:inline-flex;align-items:center;justify-content:center;min-height:38px;
 font-size:.875rem;line-height:1.4;letter-spacing:.06em;
}
.friend-shop-space.responsive-panels .mood-heading h2,
.friend-shop-space.responsive-panels #collection .section-head h2{
 display:block;width:100%;max-width:860px;min-height:2.32em;
 align-content:center;font-size:var(--panel-heading-size);line-height:1.16;
 margin:12px auto;letter-spacing:-.035em;transform:none;
}
.friend-shop-space.responsive-panels .mood-heading>p,
.friend-shop-space.responsive-panels #collection .section-head>p{
 width:100%;max-width:620px;min-height:3.2em;margin:0 auto;
 font-size:1rem;line-height:1.6;
}
.friend-shop-space.responsive-panels .cast-layout .mood-choices,
.friend-shop-space.responsive-panels #collection .merch-wall{
 display:grid;grid-template-columns:repeat(var(--panel-columns),minmax(0,1fr));
 gap:var(--panel-gap);padding:0;margin:0 0 24px;align-items:start;
}
.friend-shop-space.responsive-panels .cast-art,
.friend-shop-space.responsive-panels #collection .merch-piece:nth-child(n) .merch-photo{
 height:var(--panel-media-height);min-height:0;max-height:none;aspect-ratio:auto;
 width:100%;margin:0 0 12px;
}
.friend-shop-space.responsive-panels .cast-layout .mood-choices .cast-art img{height:100%;width:100%;max-width:none;object-fit:contain}
.friend-shop-space.responsive-panels .cast-layout .mood-choices button{gap:4px;padding:0;min-width:0}
.friend-shop-space.responsive-panels #collection .merch-piece:nth-child(n) button{padding:0;background:transparent;border:0;box-shadow:none;border-radius:12px}
.friend-shop-space.responsive-panels #collection .merch-piece:nth-child(n) .merch-caption{padding:0 4px}
.friend-shop-space.responsive-panels #collection .merch-piece:nth-child(n) .merch-caption h3{font-size:1.125rem;line-height:1.35;margin:0 0 6px}
.friend-shop-space.responsive-panels #collection .merch-caption p{font-size:.875rem;line-height:1.45}
.friend-shop-space.responsive-panels #collection .preorder-note{margin:0 0 18px;padding:16px 20px;background:#fffdf680;border:1px solid #51352918;border-radius:16px}
.friend-shop-space.responsive-panels #collection .merch-editorial{display:none}
.friend-shop-space.responsive-panels #collection .all-merch-cta{margin-top:20px}
@media(min-width:761px) and (max-width:1199px){
 .friend-shop-space.responsive-panels{--panel-media-height:clamp(165px,22vw,225px);--panel-heading-size:clamp(2rem,3.8vw,2.75rem)}
}
@media(max-width:999px){
 .friend-shop-space.responsive-panels{--panel-columns:2}
}
@media(max-width:760px){
 .friend-shop-space.responsive-panels{--panel-media-height:clamp(110px,30vw,170px);--panel-heading-size:clamp(1.75rem,7vw,2.5rem);--panel-gap:22px 14px}
 .friend-shop-space.responsive-panels .mood-heading .eyebrow,
 .friend-shop-space.responsive-panels #collection .section-head .eyebrow{font-size:.75rem;min-height:34px}
 .friend-shop-space.responsive-panels .mood-heading>p,
 .friend-shop-space.responsive-panels #collection .section-head>p{font-size:.9375rem;min-height:0}
 .friend-shop-space.responsive-panels #collection .merch-piece:nth-child(n) .merch-caption h3{font-size:1rem}
 .friend-shop-space.responsive-panels #collection .preorder-note{padding:16px}
}
@media(max-width:359px){
 .friend-shop-space.responsive-panels{--panel-columns:1;--panel-media-height:180px}
}

/* On phones, browse the artwork sideways and keep the story compact. */
.mobile-rail-hint{display:none}
.cast-companion>summary{display:none}
@media(max-width:760px){
 .friend-shop-space.responsive-panels{--panel-media-height:clamp(140px,38vw,190px);--panel-heading-size:clamp(1.5rem,6vw,2rem)}
 .friend-shop-space.responsive-panels>.mood-world,
 .friend-shop-space.responsive-panels>.collection{padding-block:22px}
 .friend-shop-space.responsive-panels>[role=tabpanel]>.wrap{padding-left:16px;padding-right:76px}
 .friend-shop-space.responsive-panels .mood-heading,
 .friend-shop-space.responsive-panels #collection .section-head{margin-bottom:18px}
 .friend-shop-space.responsive-panels .mood-heading h2,
 .friend-shop-space.responsive-panels #collection .section-head h2{margin-block:8px;min-height:2.32em;text-wrap:balance}
 .friend-shop-space.responsive-panels .mood-heading .eyebrow,
 .friend-shop-space.responsive-panels #collection .section-head .eyebrow{min-height:28px;font-size:.6875rem;letter-spacing:.035em}
 .friend-shop-space.responsive-panels .mood-heading>p,
 .friend-shop-space.responsive-panels #collection .section-head>p{font-size:.875rem;line-height:1.5;min-height:0;text-wrap:pretty}
 .friend-shop-space.responsive-panels .cast-layout .mood-choices,
 .friend-shop-space.responsive-panels #collection .merch-wall{
  grid-template-columns:none;grid-template-rows:auto;grid-auto-flow:column;grid-auto-columns:76%;
  gap:14px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;
  scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#d5c4a4 transparent;
  margin-bottom:0;padding-bottom:10px;align-items:start;
 }
 .friend-shop-space.responsive-panels .mood-choices>button,
 .friend-shop-space.responsive-panels #collection .merch-piece{scroll-snap-align:start}
 .friend-shop-space.responsive-panels .cast-art,
 .friend-shop-space.responsive-panels #collection .merch-piece:nth-child(n) .merch-photo{margin-bottom:8px}
 .friend-shop-space.responsive-panels .cast-layout .mood-choices button>span{font-size:1rem;padding-block:2px}
 .friend-shop-space.responsive-panels .cast-layout .mood-choices small{font-size:.8125rem}
 .friend-shop-space.responsive-panels .mobile-rail-hint{display:flex;justify-content:space-between;gap:8px;font-size:.6875rem;line-height:1.5;color:#735548;margin:4px 0 16px}
 .friend-shop-space.responsive-panels .cast-details{padding:16px;gap:12px;border-radius:16px;min-height:0}
 .friend-shop-space.responsive-panels .cast-layout .friend-note>.eyebrow{display:none}
 .friend-shop-space.responsive-panels .cast-layout .friend-note h3{font-size:1.375rem;margin:0 0 8px;line-height:1.2}
 .friend-shop-space.responsive-panels .cast-layout .friend-note>p{font-size:.875rem;line-height:1.5;margin:0}
 .friend-shop-space.responsive-panels .cast-companion{padding:0;border-left:0;border-top:1px solid #51352920}
 .friend-shop-space.responsive-panels .cast-companion>summary{display:list-item;cursor:pointer;min-height:44px;padding-block:12px;font-size:.8125rem;font-weight:700;line-height:1.5}
 .friend-shop-space.responsive-panels .cast-quote{font-size:.875rem;line-height:1.5;margin:0 0 12px}
 .friend-shop-space.responsive-panels .cast-layout .friend-picks>div{grid-template-columns:minmax(0,1fr);gap:12px}
 .friend-shop-space.responsive-panels .cast-layout .friend-picks>span{font-size:.8125rem}
 .friend-shop-space.responsive-panels .cast-layout .friend-picks button{flex-direction:row;align-items:center;gap:10px}
 .friend-shop-space.responsive-panels .mood-end{padding-top:12px;gap:6px;font-size:.75rem;line-height:1.5}
 .friend-shop-space.responsive-panels .mood-end a{font-size:.8125rem}
 .friend-shop-space.responsive-panels #collection .merch-caption p{flex-direction:row;gap:4px 8px;font-size:.8125rem}
 .friend-shop-space.responsive-panels #collection .preorder-note{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 8px;padding:12px;margin-bottom:0}
 .friend-shop-space.responsive-panels #collection .preorder-note>strong{font-size:.8125rem;align-self:center}
 .friend-shop-space.responsive-panels #collection .preorder-note>span{grid-column:1/-1;grid-row:2;min-width:0;font-size:.75rem;line-height:1.5}
 .friend-shop-space.responsive-panels #collection .preorder-note>.pill{grid-column:2;grid-row:1;margin:0;min-height:44px;padding:8px 10px;white-space:nowrap}
 .friend-shop-space.responsive-panels #collection .all-merch-cta{margin-top:16px;gap:8px}
 .friend-shop-space.responsive-panels #collection .all-merch-cta>.pill{width:100%;font-size:.875rem;padding:12px 10px}
 .friend-shop-space.responsive-panels #collection .all-merch-cta>span{font-size:.75rem;line-height:1.5;text-wrap:balance}
 .friend-shop-space.responsive-panels #collection .collection-footnote{font-size:.75rem;line-height:1.5;margin-top:12px;text-wrap:pretty}
}
@media(min-width:481px) and (max-width:760px){
 .friend-shop-space.responsive-panels .cast-layout .mood-choices,
 .friend-shop-space.responsive-panels #collection .merch-wall{grid-auto-columns:46%}
}

/* Full-width phone panels with four character stops. */
.panel-slide-dots{display:none}
@media(max-width:760px){
 .friend-shop-space.responsive-panels.scroll-scene .scene-switch{display:none}
 .friend-shop-space.responsive-panels>[role=tabpanel]>.wrap{padding-inline:20px;margin-inline:auto}
 .friend-shop-space.responsive-panels .cast-layout .mood-choices{
  grid-auto-columns:100%;scroll-snap-type:x mandatory;scrollbar-width:none;
  padding-bottom:0;gap:16px;
 }
 .friend-shop-space.responsive-panels .cast-layout .mood-choices::-webkit-scrollbar{display:none}
 .friend-shop-space.responsive-panels .mood-choices>button{scroll-snap-align:center;scroll-snap-stop:always}
 .friend-shop-space.responsive-panels .cast-art{height:clamp(180px,48vw,240px)}
 .friend-shop-space.responsive-panels .panel-slide-dots{
  display:flex;align-items:center;justify-content:center;width:max-content;max-width:100%;
  margin:14px auto 18px;padding:3px 6px;border:1px solid #51352920;border-radius:999px;
  background:#fffdf680;
 }
 .panel-slide-dots button{
  display:grid;place-items:center;min-width:44px;min-height:44px;padding:0;
  border:2px solid transparent;border-radius:50%;background:transparent;cursor:pointer;
 }
 .panel-slide-dots button span{width:8px;height:8px;border-radius:999px;background:#c9c4b1;transition:width .2s,background .2s}
 .panel-slide-dots button[aria-pressed=true]{border-color:#ff793b;background:#fff3cf}
 .panel-slide-dots button[aria-pressed=true] span{width:24px;background:#ff793b}
 .panel-slide-dots button:focus-visible{outline:2px solid #513529;outline-offset:3px}
 .friend-shop-space.responsive-panels #collection .merch-wall{grid-auto-columns:84%}
 .friend-shop-space.responsive-panels .cast-layout .friend-note{text-align:center}
 .friend-shop-space.responsive-panels .mood-end{align-items:center;text-align:center}
 .friend-shop-space.responsive-panels .mood-end a{text-align:center}
}
@media(min-width:481px) and (max-width:760px){
 .friend-shop-space.responsive-panels #collection .merch-wall{grid-auto-columns:46%}
}
@media(prefers-reduced-motion:reduce){.panel-slide-dots button span{transition:none}}

/* Shop uses the same single-card mobile slide composition as Friends. */
@media(max-width:760px){
 .friend-shop-space.responsive-panels #collection .merch-wall{
  grid-auto-columns:100%;scroll-snap-type:x mandatory;scrollbar-width:none;
  padding-bottom:0;gap:16px;
 }
 .friend-shop-space.responsive-panels #collection .merch-wall::-webkit-scrollbar{display:none}
 .friend-shop-space.responsive-panels #collection .merch-piece{scroll-snap-align:center;scroll-snap-stop:always}
 .friend-shop-space.responsive-panels #collection .merch-piece:nth-child(n) .merch-photo{height:clamp(180px,48vw,240px)}
 .friend-shop-space.responsive-panels #collection .merch-piece:nth-child(n) .merch-caption{text-align:center}
 .friend-shop-space.responsive-panels #collection .merch-caption p{justify-content:center}
 .friend-shop-space.responsive-panels .mood-heading .eyebrow,
 .friend-shop-space.responsive-panels #collection .section-head .eyebrow{
  background:none;border:0;border-radius:0;box-shadow:none;transform:none;padding:0;
 }
}

/* A separate, visible favourite action on every product card. */
.favorite-card{position:relative;min-width:0}
.favorite-card>.catalog-item{width:100%;height:100%}
.favorite-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:44px;min-height:44px;padding:10px 14px;border:1px solid #51352930;border-radius:999px;background:#fffdf6;color:#513529;cursor:pointer}
.favorite-toggle svg,.favorites-empty>svg,.favorite-placeholder svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.favorite-toggle[aria-pressed=true]{color:#a43d21;background:#fff0e6;border-color:#f0804c}
.favorite-toggle[aria-pressed=true] svg{fill:#ff793b}
.favorite-icon{position:absolute;top:12px;right:12px;padding:10px;z-index:2;box-shadow:0 2px 8px #51352918}
.favorite-action{margin:6px 0 16px;font-size:.875rem;font-weight:700;max-width:100%}
.favorite-toggle:focus-visible,.favorite-open:focus-visible,.favorite-remove:focus-visible{outline:2px solid #513529;outline-offset:3px}
.favorites-list{display:grid;gap:12px;margin:24px 0}
.favorite-saved{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #51352920;border-radius:16px}
.favorite-open{display:flex;align-items:center;gap:14px;flex:1;min-width:0;border:0;background:none;padding:0;text-align:left;color:#513529;cursor:pointer}
.favorite-open img,.favorite-placeholder{width:64px;height:64px;object-fit:contain;border-radius:10px;background:#fff3cf;flex-shrink:0}
.favorite-placeholder{display:grid;place-items:center}
.favorite-open>span:last-child{min-width:0}
.favorite-open strong{display:block;font-size:.9375rem;line-height:1.4;overflow-wrap:break-word}
.favorite-open small{display:block;margin-top:5px;font-size:.8125rem}
.favorite-remove{min-height:44px;padding:8px;border:0;background:none;color:#735548;text-decoration:underline;font-size:.8125rem;cursor:pointer}
.favorites-empty{padding:28px 16px;margin:20px 0;background:#fff3cf80;border-radius:16px;text-align:center}
.favorites-empty>svg{width:32px;height:32px;color:#ff793b}
.favorites-nav-heart{display:none}
@media(max-width:760px){
 body>header .nav-picks{display:inline-flex!important;position:relative;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px;border:1px solid #51352925;border-radius:50%}
 body>header .nav-picks .favorites-nav-label{display:none}
 body>header .nav-picks .favorites-nav-heart{display:inline;min-width:0;height:auto;margin:0;border-radius:0;background:none;font-size:1.5rem;line-height:1}
 body>header .nav-picks #journey-count{position:absolute;top:-4px;right:-4px;min-width:17px;height:17px;font-size:.625rem;margin:0;background:#ff793b;color:#513529}
 .favorite-icon{top:8px;right:8px}
 .favorite-saved{gap:6px;padding:10px}
 .favorite-open{gap:10px}
 .favorite-open img,.favorite-placeholder{width:48px;height:48px}
}
@media(max-width:480px){
 body>header nav.wrap{gap:8px;padding-inline:12px}
 body>header nav .brand-secondary img{width:104px}
 body>header nav .links{gap:6px;font-size:.75rem}
 body>header .nav-bag{padding-inline:8px;font-size:.75rem}
}

/* Social links align with the footer row, and get their own row on phones. */
@media(min-width:761px) and (max-width:1199px){
 .happi-footer nav.footer-navigation{width:100%;align-items:center}
 .happi-footer .footer-socials{width:auto;margin:0 0 0 auto;align-self:center}
}
@media(max-width:760px){
 .happi-footer nav.footer-navigation{width:100%;align-items:center;gap:8px 20px}
 .happi-footer .footer-socials{width:100%;flex-basis:100%;margin:0;padding-top:4px;justify-content:flex-start;align-self:center;gap:12px}
}

/* A recognisable back button with the same destination on Shop and Events. */
#catalog .catalog-back,#events .catalog-back{
 display:inline-flex;align-items:center;justify-content:center;gap:10px;
 min-height:48px;max-width:100%;padding:6px 18px 6px 7px;margin-bottom:24px;
 border:1px solid #51352940;border-radius:999px;background:#fffdf6;color:#513529;
 font-size:.9375rem;font-weight:750;line-height:1.4;text-decoration:none;
 box-shadow:0 3px 0 #51352912;
}
.catalog-back .back-arrow{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border-radius:50%;background:#ff793b;color:#513529}
#catalog .catalog-back:hover,#events .catalog-back:hover{background:#fff0df;border-color:#ff793b}
#catalog .catalog-back:focus-visible,#events .catalog-back:focus-visible{outline:3px solid #ff793b;outline-offset:4px}
@media(max-width:760px){
 body.catalog-view #catalog .catalog-back,#events .catalog-back{margin-bottom:22px;min-height:48px}
}

/* A saved collection is visible immediately from each Favorites entry point. */
body>header #journey-picks.has-favorites,#open-picks.has-favorites{background:#fff0e6;color:#a43d21;border-color:#ef763f}
body>header #journey-picks.has-favorites #journey-count,#open-picks.has-favorites #pick-count{background:#ef763f;color:#fffaf0}
body>header #journey-picks .favorites-nav-heart{display:inline-flex;align-items:center;justify-content:center;min-width:0;height:auto;margin-left:8px;border-radius:0;background:none;font-size:1.125rem;line-height:1;color:inherit}
body>header #journey-picks.has-favorites .favorites-nav-heart{color:#ef763f}
@media(max-width:760px){body>header #journey-picks .favorites-nav-heart{margin:0;font-size:1.5rem}}

body>header #journey-picks .favorites-nav-heart svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body>header #journey-picks.has-favorites .favorites-nav-heart svg{fill:currentColor}
@media(max-width:760px){body>header #journey-picks .favorites-nav-heart svg{width:24px;height:24px}}

/* Keep every photo in one stable square frame when switching angles. */
.sku-detail-art .product-gallery .gallery-stage{aspect-ratio:1;min-width:0}
.sku-detail-art .product-gallery .detail-product{display:block;width:100%;height:100%;max-height:none;aspect-ratio:1;padding:0;object-fit:cover;object-position:center;border-radius:0;background:transparent}

.friend-shop-space.responsive-panels .cast-layout .friend-picks img{display:block;aspect-ratio:1;height:auto;object-fit:cover;object-position:center;padding:0;border:0}

/* A shared product surface keeps gallery, buying details and related pieces together. */
#details:has(.product-detail-layout){width:min(1080px,calc(100vw - 40px));max-width:none;max-height:92dvh;padding:32px;overflow:auto}
.product-detail-layout.sku-detail,.product-detail-layout.live-detail{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:20px 32px;align-items:start}
.product-detail-layout .product-detail-copy{min-width:0;padding:0}
.product-detail-layout h2{font-size:clamp(1.5rem,2.5vw,2rem);line-height:1.15;letter-spacing:-.025em;margin:10px 0 12px}
.product-detail-layout .favorite-action{margin:0 0 12px}
.product-detail-layout .product-tags{margin:0 0 16px}
.product-detail-layout .product-tags>span{padding:5px 9px;background:#f5efe4;border:1px solid #51352918;border-radius:999px;color:#735548;font-size:.875rem;line-height:1.3}
.product-detail-layout .sku-price{font-size:1.7rem;margin:0 0 7px}
.product-detail-layout .sku-code{margin:0 0 12px}
.product-detail-layout .gallery-stage{width:min(100%,max(240px,calc((100dvh - 410px)*4/3)));margin-inline:auto;aspect-ratio:4/3}
.product-detail-layout .product-gallery .detail-product{height:100%;max-height:none;width:100%;aspect-ratio:4/3}
.product-detail-layout .gallery-thumbs{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:10px 0}
.product-detail-layout .gallery-thumbs img{max-height:56px;object-fit:cover}
.product-detail-layout .sku-detail-art .gallery-stage{aspect-ratio:1;width:min(100%,max(240px,calc(100dvh - 410px)))}
.product-detail-layout .sku-detail-art .detail-product{aspect-ratio:1;object-fit:cover}
.product-detail-layout .similar-products{border-top:1px solid #51352920;padding-top:14px;margin-top:4px}
.product-detail-layout .similar-products h3{font-size:1rem;margin:0 0 10px}
.product-detail-layout .similar-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.product-detail-layout .similar-grid button{gap:5px}
.product-detail-layout .similar-grid img,.product-detail-layout .similar-placeholder{aspect-ratio:4/3;height:auto;max-height:76px;padding:0;object-fit:cover;border-radius:8px}
.product-detail-layout .similar-placeholder{font-size:.6875rem;padding:6px;gap:2px}
.product-detail-layout .similar-placeholder small{font-size:.625rem}
.product-detail-layout .similar-grid button>span:not(.similar-placeholder){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:.75rem;line-height:1.35;min-height:2.7em}
.product-detail-layout .similar-grid strong{font-size:.75rem;line-height:1.3}
.product-detail-layout>.product-information{display:block;grid-column:1/-1;border-top:1px solid #d8cdbd;margin:0;padding:14px 0 0}
.product-detail-layout>.product-information summary{font-size:1rem;font-weight:700;cursor:pointer;min-height:32px}
.product-detail-layout .product-information-body{display:grid;grid-template-columns:1fr 1.8fr;gap:24px;margin-top:16px}
.product-detail-layout .product-information-body>p{font-size:.9375rem;margin:0;line-height:1.6}
.product-detail-layout .sku-specs dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 24px;margin-top:16px}
.product-detail-layout .sku-specs dl>div{padding:0;border:0}
.product-detail-layout>.purchase-support{grid-column:1/-1;margin:0;padding-top:10px;border-top:1px solid #51352918;font-size:.8125rem;line-height:1.5}
@media(max-width:900px){#details:has(.product-detail-layout){padding:46px 22px 24px}.product-detail-layout.sku-detail,.product-detail-layout.live-detail{grid-template-columns:1fr;gap:24px}.product-detail-layout .gallery-stage{width:min(100%,560px)}.product-detail-layout .sku-detail-art .gallery-stage{width:min(100%,400px)}.product-detail-layout .product-information-body{grid-template-columns:1fr}.product-detail-layout .sku-specs dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){#details:has(.product-detail-layout){width:calc(100vw - 20px);padding:50px 16px 22px;max-height:94dvh}.product-detail-layout .similar-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.product-detail-layout .similar-grid button>span:not(.similar-placeholder){font-size:.6875rem}.product-detail-layout .similar-grid strong{font-size:.6875rem}.product-detail-layout .similar-placeholder{font-size:.5625rem}.product-detail-layout .gallery-thumbs img{max-height:48px}}

#open-picks #pick-count{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 6px;box-sizing:border-box;border-radius:999px;margin-left:4px;font-size:.75rem;font-weight:750;line-height:1;font-variant-numeric:tabular-nums;background:#51352910;color:#513529;flex-shrink:0}
#open-picks.has-favorites #pick-count{background:#ef763f;color:#fffaf0}
.shop-filter-summary{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin:12px 0 20px;padding:12px 16px;background:#fff0df;border:1px solid #ef763f35;border-radius:12px;font-size:.875rem;color:#735548}
.shop-filter-summary button{border:0;border-radius:999px;background:#513529;color:#fffaf0;padding:9px 15px;min-height:44px;font:700 .8125rem/1.3 var(--font-body);cursor:pointer}
.shop-filter-summary button:focus-visible{outline:3px solid #ef763f;outline-offset:3px}

/* Show ordering guidance before the product list, at every catalog size. */
#catalog .shop-shipping-guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:0;margin:0 0 24px;padding:0}
#catalog .shop-shipping-guide>div{min-width:0;padding:16px 18px;background:#fffaf0;border:1px solid #51352918;border-radius:14px}
#catalog .shop-shipping-guide h3{display:flex;align-items:center;gap:9px;font-size:1rem;line-height:1.3;margin:0 0 7px;color:#513529}
#catalog .shop-shipping-guide p{font-size:.875rem;line-height:1.55;margin:0;max-width:none;color:#735548}
#catalog .shop-shipping-guide .shipping-status-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#74834c}
#catalog .shop-shipping-guide>div:nth-child(2) .shipping-status-dot{background:#ef763f}
@media(max-width:600px){#catalog .shop-shipping-guide{grid-template-columns:minmax(0,1fr);gap:8px;margin-bottom:20px}#catalog .shop-shipping-guide>div{padding:12px 14px}#catalog .shop-shipping-guide h3{margin-bottom:4px}}

/* Phones and tablets read Friends, Shop and Events in one native scroll flow. */
.friend-shop-space.responsive-panels.natural-flow{display:block;position:relative;top:auto;height:auto;min-height:0;overflow:visible}
.friend-shop-space.responsive-panels.natural-flow>[role=region]{position:relative;grid-area:auto;visibility:visible;min-height:0;transform:none;opacity:1;padding-block:32px}
.friend-shop-space.responsive-panels.natural-flow>[role=region]>.wrap{width:100%;max-width:1440px;min-width:0;margin-inline:auto;box-sizing:border-box;padding-inline:clamp(20px,4vw,40px)}
.friend-shop-space.responsive-panels.natural-flow .scene-switch,.natural-flow+.shop-scroll-anchor{display:none}
.friend-shop-space.responsive-panels.natural-flow::before{display:none}
.friend-shop-space.responsive-panels.natural-flow #collection .section-head{padding-inline:0}

@media(max-width:760px){.friend-shop-space.responsive-panels.natural-flow>[role=region]>.wrap{max-width:620px;padding-inline:20px}}

/* Touch browsers can retain hover while swiping: selection owns the colour halo. */
@media(hover:none),(pointer:coarse){
 .mood-world .cast-layout .mood-choices button:not([aria-pressed=true]) .cast-art::before{opacity:0;scale:.9}
 .mood-world .cast-layout .mood-choices button[aria-pressed=true] .cast-art::before{animation:none;opacity:1;scale:1;translate:0 0}
 .mood-world .cast-layout .mood-choices button:hover img{translate:0 0}
}
@media(prefers-reduced-motion:reduce){.mood-world .cast-layout .mood-choices button .cast-art::before{animation:none!important}}

/* Keep the collection's Favorites control compact without shrinking its hit area. */
@media(max-width:1024px),(max-width:1366px) and (pointer:coarse){
 .friend-shop-space.responsive-panels #collection .preorder-note>#open-picks{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;align-self:center;width:auto;height:44px;min-height:44px;max-height:44px;padding:0 12px;gap:8px;line-height:1.2;font-size:.8125rem;border-width:1px;border-radius:999px;box-shadow:none}
 .friend-shop-space.responsive-panels #collection #open-picks #pick-count{min-width:22px;height:22px;padding:0 5px;margin-left:0;font-size:.6875rem}
 #event-teaser.event-loop{touch-action:pan-y pinch-zoom}
}

.catalog-mobile-title,.catalog-short-label{display:none}
.shop-ordering-details>summary{display:none}
@media(max-width:760px){
 body.catalog-view #catalog{padding:16px 0 36px}
 #catalog .catalog-back{box-sizing:border-box;min-height:44px;height:44px;padding:4px 12px 4px 6px;margin:0 0 8px;gap:8px;font-size:.8125rem;box-shadow:none}
 #catalog .catalog-back .back-arrow{width:30px;height:30px;min-width:30px}
 #catalog .catalog-heading{margin:0 0 12px}
 #catalog .catalog-heading .eyebrow,#catalog .catalog-desktop-title,#catalog .catalog-heading>p,#catalog .catalog-long-label{display:none}
 #catalog .catalog-mobile-title{display:block;font-size:1.75rem;line-height:1.1;letter-spacing:-.025em;margin:0;transform:none}
 #catalog .catalog-short-label{display:inline}
 #catalog .fulfilment-tabs{display:flex;flex-wrap:nowrap;gap:6px;margin:0 0 12px}
 #catalog .fulfilment-tabs button{box-sizing:border-box;min-height:44px;padding:8px 12px;font-size:.8125rem;line-height:1.2;border-radius:999px}
 #catalog .shop-ordering-details{margin:0 0 12px;border:1px solid #51352918;border-radius:12px;background:#fffaf0}
 #catalog .shop-ordering-details>summary{display:list-item;box-sizing:border-box;min-height:44px;padding:12px 14px;cursor:pointer;font-size:.8125rem;font-weight:650;line-height:1.4;color:#735548}
 #catalog .shop-ordering-content{padding:0 12px 12px}
 #catalog .shop-ordering-content .store-notice{font-size:.8125rem;padding:10px 12px;margin:0 0 10px}
 #catalog .shop-shipping-guide{margin-bottom:0}
 #catalog .catalog-controls{display:flex;flex-direction:column;align-items:stretch;gap:10px}
 #catalog .catalog-filters{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:6px;min-width:0;padding:0 0 2px;scrollbar-width:none}
 #catalog .catalog-filters::-webkit-scrollbar{display:none}
 #catalog .catalog-filters button{flex-shrink:0;box-sizing:border-box;min-height:44px;white-space:nowrap;padding:8px 12px;font-size:.8125rem}
 #catalog .catalog-search{margin:0;min-width:0;font-size:.75rem}
 #catalog .catalog-search input{box-sizing:border-box;min-height:44px;padding:10px 12px;margin-top:4px}
 #catalog #catalog-result{margin:10px 0 12px;font-size:.8125rem}
}

/* One state transition owns the halo; first-entry motion belongs to the rail. */
@media(hover:none),(pointer:coarse){
 .mood-world .cast-layout .mood-choices button .cast-art::before{animation:none;transition:opacity 220ms ease-out,scale 220ms cubic-bezier(.22,1,.36,1);translate:0 0}
}
/* The desktop search has a 230px flex basis; release it in the phone column. */
@media(max-width:760px){
 #catalog .catalog-search{flex:0 0 auto;align-self:stretch;width:100%;height:auto;min-height:0}
 #catalog .catalog-controls{margin-top:0;height:auto;min-height:0}
}

/* A clear path from the shortlist to the bag, with compact controls on phones. */
.favorite-saved{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 14px}
.favorite-saved-actions{display:flex;flex-direction:column;align-items:stretch;gap:6px}
.favorite-move{box-sizing:border-box;min-height:44px;padding:8px 14px;border:1px solid #513529;border-radius:999px;background:#513529;color:#fffaf0;font:650 .8125rem/1.25 var(--font-body);cursor:pointer;white-space:nowrap}
.favorite-move:disabled{opacity:.55;cursor:wait}
.favorite-move:focus-visible{outline:2px solid #ef763f;outline-offset:3px}
.favorite-availability{grid-column:1/-1;margin:0;color:#735548;font-size:.75rem;line-height:1.45}
.favorite-availability:empty{display:none}
.favorite-transfer-feedback{font-size:.875rem;line-height:1.5;color:#735548;margin:12px 0}
.favorite-transfer-feedback:empty{display:none}
.favorites-footer-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.favorites-footer-actions .pill{box-sizing:border-box;min-height:44px;font-size:.875rem;padding:10px 16px}
.favorite-remove{min-height:36px}
@media(max-width:600px){
 .favorite-saved{grid-template-columns:minmax(0,1fr);padding:14px;gap:10px}
 .favorite-saved-actions{flex-direction:row;align-items:center;justify-content:space-between}
 .favorite-saved .favorite-open img,.favorite-saved .favorite-placeholder{width:56px;height:56px}
 .favorite-saved .favorite-open strong{font-size:.875rem}
 .favorite-saved .favorite-open small{font-size:.8125rem}
 .favorites-footer-actions .pill{flex:1;white-space:nowrap}
}
/* A quiet digital collection note sits below the physical collection CTA. */
.friend-shop-space #collection .line-collection{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:22px auto 0;max-width:880px;padding:14px 16px;border:1px solid #51352914;border-radius:14px;background:#fffdf640;text-align:left}
.line-collection>img{width:44px;height:44px;object-fit:contain;flex-shrink:0}
.line-collection-copy{flex:1;min-width:150px}
.line-collection-copy>span{font-size:.875rem;color:#513529;font-weight:650}
.line-collection-copy strong{color:#548050;font-size:.75rem;letter-spacing:.02em}
.line-collection-copy p{margin:3px 0 0;font-size:.75rem;line-height:1.45;color:#735548}
.line-collection ul{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0}
.line-collection li{padding:5px 9px;border:1px solid #51352918;border-radius:999px;font-size:.6875rem;color:#735548;line-height:1.3}
@media(max-width:480px){.line-collection ul{width:100%;padding-left:56px}.friend-shop-space #collection .line-collection{gap:8px 12px;padding:12px}}

/* Separate mobile navigation labels without pushing the last control off-screen. */
@media(max-width:760px){
 body>header nav .links{gap:16px;flex-shrink:0}
 body>header nav .brand-secondary{min-width:0;flex-shrink:1}
 body>header nav .brand-secondary img{max-width:100%;height:auto}
}
@media(max-width:480px){
 body>header nav .links{gap:12px}
 body>header nav .brand-secondary img{width:96px}
}
@media(max-width:359px){
 body>header nav.wrap{gap:6px;padding-inline:10px}
 body>header nav .links{gap:10px}
 body>header nav .brand-secondary img{width:80px}
}

/* Use the final touch layout before JS hydration, as well as after it. */
@media(max-width:1024px), (max-width:1366px) and (pointer:coarse){
 .friend-shop-space{display:block;position:relative;top:auto;height:auto;min-height:0;overflow:visible}
 .friend-shop-space>.scene-switch,.friend-shop-space::before{display:none!important}
 .friend-shop-space>#mascots,.friend-shop-space>#collection{position:relative;grid-area:auto;visibility:visible;min-height:0;transform:none;opacity:1;padding-block:32px;display:block!important}
 .friend-shop-space>#mascots>.wrap,.friend-shop-space>#collection>.wrap{width:100%;max-width:1440px;min-width:0;margin-inline:auto;box-sizing:border-box;padding-inline:clamp(20px,4vw,40px)}
}
@media(max-width:760px){.friend-shop-space>#mascots>.wrap,.friend-shop-space>#collection>.wrap{max-width:620px;padding-inline:20px}}

/* Put the collection first; ordering guidance remains available below it. */
#catalog .shop-ordering-details{margin:24px 0 0;border:1px solid #51352918;border-radius:14px;background:#fffaf0}
#catalog .shop-ordering-details>summary{display:list-item;min-height:44px;padding:12px 16px;cursor:pointer;font-size:.875rem;font-weight:650;color:#735548}
#catalog .shop-ordering-content{padding:0 16px 16px}
#catalog .shop-ordering-content .store-notice{margin:0 0 12px}
#catalog .shop-ordering-content .shop-shipping-guide{margin-top:0;padding-top:12px}
@media(min-width:761px){
 body.catalog-view #catalog{padding-top:20px}
 #catalog .catalog-back{min-height:44px;padding:4px 14px 4px 6px;gap:8px;font-size:.875rem;margin-bottom:14px;box-shadow:none}
 #catalog .catalog-back .back-arrow{width:30px;height:30px;min-width:30px}
 #catalog .catalog-heading{align-items:center;gap:24px;margin-bottom:16px}
 #catalog .catalog-heading .eyebrow{display:none}
 #catalog .catalog-heading h2{font-size:2.5rem;line-height:1.1;margin:0;transform:none}
 #catalog .catalog-heading>p{max-width:520px;margin:0;font-size:1rem;line-height:1.5}
 #catalog .fulfilment-tabs{gap:8px;margin:0 0 14px}
 #catalog .fulfilment-tabs button{min-height:44px;padding:8px 16px;font-size:.875rem;border-radius:999px}
 #catalog .catalog-controls{margin-top:0;gap:16px}
 #catalog .catalog-search{flex:0 0 230px;margin:0}
 #catalog #catalog-result{margin:12px 0}
}

/* Header hover feedback stays within each item's existing layout. */
body>header nav .links>a{position:relative;isolation:isolate;transition:color 160ms ease}
body>header nav .links>a::before{content:'';position:absolute;z-index:-1;inset:-7px -6px;border-radius:12px;background:#ff733812;opacity:0;transition:opacity 160ms ease;pointer-events:none}
body>header nav .links>a::after{content:'';position:absolute;bottom:-6px;left:20%;right:20%;height:2px;border-radius:999px;background:#ff7338;transform:scaleX(0);transform-origin:center;transition:transform 160ms ease;pointer-events:none}
body>header nav .links>a:focus-visible{outline:2px solid #ff7338;outline-offset:8px;border-radius:4px}
body>header nav .links .nav-bag,body>header nav .links #journey-picks{transition:background-color 160ms ease,border-color 160ms ease,box-shadow 160ms ease,color 160ms ease}
@media(hover:hover) and (pointer:fine){
 body>header nav .links>a:hover{color:#b95127}
 body>header nav .links>a:hover::before{opacity:1}
 body>header nav .links>a:hover::after{transform:scaleX(1)}
 body>header nav .links .nav-bag:hover{background:#694536;box-shadow:0 3px 10px #5135291a}
 body>header nav .links #journey-picks:hover{background:#fff0df;border-color:#ef763f;box-shadow:0 3px 10px #51352912}
}
@media(prefers-reduced-motion:reduce){
 body>header nav .links>a,body>header nav .links>a::before,body>header nav .links>a::after,body>header nav .links .nav-bag,body>header nav .links #journey-picks{transition:none}
}

/* Shop controls have distinct resting, hovered, selected and focused states. */
#catalog .fulfilment-tabs button,#catalog .catalog-filters button,#catalog .catalog-back,#catalog .pill,#catalog .favorite-toggle,#collection .pill,#collection .merch-piece button{transition:background-color 160ms ease,border-color 160ms ease,color 160ms ease,box-shadow 160ms ease,transform 160ms ease}
#catalog button:focus-visible,#catalog .catalog-back:focus-visible,#collection .pill:focus-visible{outline:2px solid #ff7338;outline-offset:3px}
@media(hover:hover) and (pointer:fine){
 #catalog .fulfilment-tabs button:not(:disabled):not([aria-pressed=true]):hover,#catalog .catalog-filters button:not(:disabled):not([aria-pressed=true]):hover{background:#fff0df;border-color:#ef763f;color:#a74a24;box-shadow:0 2px 7px #5135290d}
 #catalog .fulfilment-tabs button[aria-pressed=true]:hover,#catalog .catalog-filters button[aria-pressed=true]:hover{background:#694536;border-color:#694536;color:#fffaf0}
 #catalog .catalog-back:hover,#catalog .pill.light:not(:disabled):hover{background:#fff0df;border-color:#ef763f;color:#a74a24}
 #catalog .pill:not(.light):not(:disabled):hover,#collection .pill:not(.light):not(:disabled):hover{background:#ff8b50;border-color:#d86c37;box-shadow:0 3px 10px #51352918}
 #catalog .favorite-toggle:not(:disabled):hover{background:#fff0df;border-color:#ef763f;color:#e96630;box-shadow:0 3px 10px #51352918}
 #catalog .catalog-item:not(:disabled):hover{transform:translateY(-3px);box-shadow:0 7px 20px #51352912}
 #catalog .catalog-item:hover .card-action{color:#b95127}
 #catalog .shop-ordering-details>summary:hover{background:#fff0df;color:#a74a24;border-radius:14px}
 #collection .merch-piece button:hover{box-shadow:0 6px 18px #51352912}
}
@media(prefers-reduced-motion:reduce){
 #catalog .fulfilment-tabs button,#catalog .catalog-filters button,#catalog .catalog-back,#catalog .pill,#catalog .favorite-toggle,#catalog .catalog-item,#collection .pill,#collection .merch-piece button{transition:none}
 #catalog .catalog-item:hover{transform:none}
}

#catalog .fulfilment-tabs{overflow-x:auto;scrollbar-width:none}
#catalog .fulfilment-tabs button{flex-shrink:0;white-space:nowrap}
#catalog .fulfilment-tabs::-webkit-scrollbar{display:none}

/* Explicit group names distinguish stock status from product type. */
#catalog .shop-filter-label{display:block;font-size:.8125rem;font-weight:650;color:#735548;line-height:1.4;margin-bottom:8px}
#catalog .shop-availability-block{margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid #51352914}
#catalog .shop-availability-block .fulfilment-tabs{margin:0}
#catalog .catalog-category-control{min-width:0;flex:1 1 auto}
#catalog .catalog-controls{align-items:flex-start}
#catalog .catalog-search{flex:0 0 230px;min-width:0}
#catalog .catalog-search input{margin-top:8px}
@media(max-width:1024px){
 #catalog .catalog-controls{flex-wrap:wrap}
 #catalog .catalog-category-control{width:100%}
}
@media(max-width:760px){
 #catalog .shop-availability-block{margin-bottom:14px;padding-bottom:14px}
 #catalog .shop-filter-label{font-size:.75rem;margin-bottom:6px}
 #catalog .catalog-controls{gap:12px;align-items:stretch}
 #catalog .catalog-category-control{flex:0 0 auto;width:100%}
 #catalog .catalog-search{flex:0 0 auto}
 #catalog .catalog-search input{margin-top:6px}
}

/* Mobile event invitations flow with their copy and use the artwork-only image. */
#event-teaser .event-post-cover picture{display:block;width:100%;height:100%}
@media(max-width:640px){
 #event-teaser.event-loop{display:flex;flex-direction:column;min-height:0;height:auto}
 #event-teaser .event-loop-slides{display:block;height:auto}
 #event-teaser .event-post-slide[aria-hidden=true]{display:none}
 #event-teaser .event-post-slide[aria-hidden=false]{display:flex;flex-direction:column;aspect-ratio:auto;min-height:0;height:auto}
 #event-teaser .event-post-slide .meadow-invitation{position:relative;width:100%;min-height:0;height:auto;margin:0;padding:24px 6% 18px}
 #event-teaser .event-post-slide .meadow-copy{width:100%;max-width:none;min-height:0}
 #event-teaser .event-post-slide .meadow-copy h2{font-size:clamp(1.6rem,6vw,1.9rem);line-height:1.2;min-height:0;margin:12px 0 12px}
 #event-teaser .event-post-slide .meadow-copy p{font-size:.9375rem;line-height:1.55;min-height:0}
 #event-teaser .event-post-slide .pill{margin-top:16px;min-height:44px;padding:11px 18px}
 #event-teaser .event-post-slide .event-post-cover{position:relative;inset:auto;flex:none;width:100%;height:auto;aspect-ratio:2047/590;margin:0;max-height:none;border-radius:0}
 #event-teaser .event-post-slide .event-post-cover img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
 #event-teaser .event-loop-controls{position:relative;inset:auto;left:auto;bottom:auto;transform:none;order:2;align-self:center;width:max-content;margin:10px auto 12px;padding:0 4px}
 #event-teaser .event-loop-controls button{width:44px;height:44px;min-width:44px;min-height:44px}
 #events .event-banner>.event-banner-header{min-height:0;height:auto;padding:22px 6% 16px}
 #events .event-banner h3{font-size:clamp(1.6rem,6vw,1.9rem);line-height:1.2;min-height:0;min-block-size:0;margin:12px 0}
 #events .event-banner-copy>p{display:block;-webkit-line-clamp:unset;overflow:visible;min-height:0;min-block-size:0;font-size:.9375rem;line-height:1.55}
 #events .event-banner .pill{margin-top:16px;min-height:44px;padding:11px 18px}
 #events .event-banner-media,#events .event-banner>img{width:100%;height:auto;aspect-ratio:2047/590;margin:0}
}

/* Keep the shop's orange flower beside the heading on phones as well. */
@media(max-width:760px){
 .friend-shop-space #collection .section-head>div{position:relative}
 .friend-shop-space #collection .section-head h2{padding-inline:24px}
 #collection .shop-heading-flower{display:block;right:0;bottom:auto;top:36px;width:28px;height:28px;font-size:27px;line-height:28px;z-index:1}
}

/* One horizontal stop per friend; avoid mobile grid placement ambiguity. */
@media(max-width:760px){
 .friend-shop-space.responsive-panels .cast-layout .mood-choices{display:flex;flex-direction:row;flex-wrap:nowrap;gap:16px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;touch-action:pan-x pan-y pinch-zoom}
 .friend-shop-space.responsive-panels .cast-layout .mood-choices>button{flex:0 0 100%;width:100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:normal}
}
