/* Product films. Every product card shares one layout: the artwork and its 9:16
   film side by side on the left, the description on the right. */
.shop-reel{position:relative;margin:0;aspect-ratio:9/16;border-radius:14px;overflow:hidden;background:#07070a;box-shadow:0 24px 60px -18px #000d,0 0 0 1px #ffffff1c;isolation:isolate}
.shop-reel video{display:block;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .7s cubic-bezier(.4,0,.2,1)}
.shop-reel[data-ready=true] video{opacity:1}
.shop-reel::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(80% 60% at 50% 40%,#2a2238,#07070a 70%)}
.shop-reel figcaption{position:absolute;inset:auto 0 0;display:flex;align-items:center;gap:6px;padding:28px 8px 8px;background:linear-gradient(transparent,#000c);font-size:9px;letter-spacing:.12em;color:#efe6d6}
.shop-reel figcaption span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shop-reel figcaption button{display:grid;place-items:center;flex:none;width:34px;height:34px;min-height:34px;padding:0;border:1px solid #ffffff3a;border-radius:999px;background:#0009;color:#f4ecdf;font:inherit;letter-spacing:.1em;cursor:pointer;backdrop-filter:blur(6px);transition:background .3s,border-color .3s}
.shop-reel figcaption button:hover,.shop-reel figcaption button[aria-pressed=true]{background:#ffffff26;border-color:#ffffff80}
.shop-reel-play{position:absolute;left:50%;top:44%;width:54px;height:54px;translate:-50% -50%;border:1px solid #ffffff60;border-radius:50%;background:#000a;color:#fff;font-size:0;cursor:pointer;opacity:1;transition:opacity .4s,scale .4s}
.shop-reel-play::before{content:"";position:absolute;left:54%;top:50%;translate:-50% -50%;border-style:solid;border-width:9px 0 9px 15px;border-color:transparent transparent transparent #fff}
.shop-reel[data-playing=true] .shop-reel-play{opacity:0;scale:.8;pointer-events:none}
.shop-reel figcaption svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.shop-reel [data-reel-sound] .reel-wave{display:none}.shop-reel [data-reel-sound][aria-pressed=true] .reel-wave{display:block}.shop-reel [data-reel-sound][aria-pressed=true] .reel-mute{display:none}

/* The media row: artwork first, the film beside it, bottoms aligned. */
.shop-media{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,.42fr);gap:clamp(10px,1.4vw,18px);align-items:end;width:100%;min-width:0}
.shop-media>*{min-width:0}
.shop-media .shop-reel{width:100%;transition:translate .6s cubic-bezier(.2,.8,.2,1),box-shadow .6s}
.shop-media .shop-reel:hover,.shop-media .shop-reel:focus-within{translate:0 -4px;box-shadow:0 30px 70px -18px #000e,0 0 0 1px #ffffff40}
.shop-media .shop-tool-art.shop-tool-art{width:100%;height:auto;min-height:0;aspect-ratio:4/3;padding:0}
.shop-media .shop-cover{height:auto;aspect-ratio:3/4;width:100%;min-height:0;grid-row:auto;grid-column:auto;align-self:end}

/* Card grids: media column, then the description. */
.shop-product.shop-product,.ticket-pace-card.ticket-pace-card,.pulse-field-card.pulse-field-card,.researcher-card.researcher-card{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);grid-template-rows:auto;gap:clamp(28px,4.5vw,72px);align-items:center;min-height:0}
.shop-product.shop-product{max-width:1100px}
.ticket-pace-card>div:not(.shop-media),.pulse-field-card>div:not(.shop-media),.researcher-card>div:not(.shop-media){min-width:0}

@media(max-width:900px){
 .shop-product.shop-product,.ticket-pace-card.ticket-pace-card,.pulse-field-card.pulse-field-card,.researcher-card.researcher-card{grid-template-columns:minmax(0,1fr);gap:28px;min-height:0!important;grid-template-rows:auto!important;align-items:start}
 .shop-media{max-width:620px}
 .shop-media .shop-tool-art.shop-tool-art,.shop-media .ticket-pace-art,.shop-media .researcher-mark{height:auto!important;aspect-ratio:4/3!important}
}
@media(max-width:700px){
 .shop-product.shop-product{display:flex;flex-direction:column;gap:24px;align-items:stretch}
 .shop-media .shop-cover{width:100%;align-self:end}
}
@media(max-width:520px){
 .shop-media{grid-template-columns:minmax(0,1fr) minmax(0,.5fr);gap:10px}
 .shop-reel figcaption{padding:22px 5px 6px;font-size:8px;justify-content:center;gap:4px}
 .shop-reel figcaption span{display:none}
 .shop-reel figcaption button{width:30px;height:30px;min-height:30px}
 .shop-reel-play{width:44px;height:44px}
}
@media(prefers-reduced-motion:reduce){.shop-media .shop-reel,.shop-media .shop-reel:hover{translate:none;transition:none}.shop-reel video{transition:none}}
.ticket-pace-card .button.primary,.pulse-field-card .button.primary,.researcher-card .button.primary{margin-right:10px}
/* Text makes the one-time sound permission explicit; icon state follows actual playback. */
.shop-reel [data-reel-sound]{width:auto;min-width:32px;padding:6px;gap:4px;display:inline-flex;align-items:center;font-size:9px;line-height:1.15}
.shop-reel [data-reel-sound] [data-sound-label]{display:inline!important;max-width:62px;white-space:normal}
.shop-reel figcaption{flex-wrap:wrap;gap:4px}
