/* The collection is a compact, filterable local shop. */
.shop-page .shop-intro{display:flex;align-items:center;justify-content:space-between;gap:45px;padding:45px 5% 44px}
.shop-page h1.page-title{font-size:clamp(52px,6.8vw,94px);margin:12px 0 19px;line-height:1}
.shop-page h1.page-title em{color:#f55135}
.shop-intro>div>p:not(.eyebrow){font-size:16px;line-height:1.7;color:#53618b}
.shop-promo{position:relative;flex-shrink:0;display:flex;flex-direction:column;align-items:start;gap:12px;background:#ffea00;padding:22px 32px;transform:rotate(3deg);border-radius:12px;box-shadow:5px 5px 0 #1535a1;margin:8px 9px 5px 0}
.shop-promo strong{font:700 43px/.98 'Space Grotesk',sans-serif;letter-spacing:-2px}
.shop-promo strong em{color:#f55135;font:italic 1.12em Georgia,serif}
.shop-promo>span:last-child{font-size:11px;font-weight:600;margin-top:5px}
.shop-promo .promo-spark{position:absolute;right:-14px;top:-20px;font-size:52px;color:#f55135;line-height:1}
.shop-catalog{padding:0 5% 42px;scroll-margin-top:24px}
.shop-toolbar{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:23px 0;border-top:1px solid #1535a122}
.theme-filters{display:flex;gap:8px;row-gap:18px;flex-wrap:wrap;align-items:center}
.theme-filters :is(button,a){border-radius:30px;border:1px solid #1535a130;background:#fff;padding:10px 17px;font-size:13px;font-weight:500;transition:background .2s,color .2s}
.theme-filters :is(button,a):hover{border-color:#1535a1}
.theme-filters :is(button,a)[aria-pressed=true]{background:#1535a1;color:#fff;border-color:#1535a1}
.theme-filters :is(button,a) span{display:inline-grid;place-items:center;border-radius:50%;width:19px;height:19px;background:#ffffff26;font-size:10px;margin-left:8px}
.shop-toolbar>p{font-size:12px;white-space:nowrap;color:#53618b}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px;align-items:start}
.shop-product{min-width:0;border:1px solid #1535a11c;border-radius:12px;overflow:hidden;background:white}
.product-art{position:relative;background:#ffea00;overflow:hidden}
.product-art .collection-art{aspect-ratio:1.22}
.product-art .collection-art img{object-fit:fill}
.product-theme{position:absolute;z-index:1;top:12px;left:12px;background:white;color:#1535a1;padding:6px 10px;border-radius:25px;font-size:10px;font-weight:700;letter-spacing:.3px}
.product-info{padding:17px 15px 15px}
.product-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.product-title h2{font:600 21px/1.15 'Space Grotesk',sans-serif;letter-spacing:-.8px;margin:0}
.product-title strong{font-size:15px;white-space:nowrap}
.product-info>p{font-size:12px;line-height:1.6;color:#53618b;margin-top:9px;min-height:39px}
.product-meta{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:17px 0 13px;font-size:10px;color:#53618b}
.product-meta>span:last-child{color:#d63620;font-weight:700}
.product-info>button{display:flex;align-items:center;justify-content:space-between;gap:5px;background:#1535a1;color:#fff;padding:12px 13px;border-radius:7px;font-size:12px;font-weight:500;width:100%;min-height:44px;transition:background .2s}
.product-info>button:hover{background:#2448ff}.product-info>button>span{font-size:21px;line-height:1;font-weight:400}
.shop-footnote{display:flex;justify-content:space-between;gap:20px;margin-top:22px;font-size:11px;line-height:1.6;color:#53618b}.shop-footnote a{color:#1535a1;white-space:nowrap;border-bottom:1px solid #1535a140}
.shop-offer-explainer{display:flex;align-items:center;gap:28px;background:#2448ff;color:#fff;padding:35px 5%}.shop-offer-explainer>span{font-size:62px;color:#ffea00;line-height:1}.shop-offer-explainer>div{flex:1}.shop-offer-explainer h2{font-size:30px;letter-spacing:-1.3px;margin:0 0 10px}.shop-offer-explainer h2 em{font-family:Georgia,serif;font-style:italic;color:#ffea00}.shop-offer-explainer p{font-size:13px;line-height:1.6;max-width:620px}.shop-offer-explainer>button{border:1px solid #ffffff65;color:white;background:transparent;border-radius:30px;padding:14px 19px;white-space:nowrap;font-size:13px;display:flex;gap:25px}
.shop-page .nav .cart-open{display:flex;align-items:center;gap:9px;background:#1535a1;color:white;border-radius:30px;padding:10px 15px;font-size:12px;min-height:42px}
.cart-open svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}.cart-count{background:#ffea00;color:#1535a1;border-radius:50%;min-width:21px;height:21px;padding:0 4px;display:grid;place-items:center;font-size:11px;font-weight:700}
.factory dialog.shop-cart{position:fixed;inset:0 0 0 auto;margin:0;width:min(480px,100%);height:100dvh;max-height:100dvh;max-width:100%;border:0;border-radius:0;background:#fff;padding:27px;color:#1535a1;overflow-y:auto;box-shadow:-15px 0 60px #071a3c25}
.shop-cart::backdrop{background:#08194877;backdrop-filter:blur(4px)}
.cart-is-open{overflow:hidden}.cart-header{display:flex;justify-content:space-between;align-items:start;gap:20px}.cart-header h2{font-size:36px;letter-spacing:-1.7px;margin:7px 0 0}.cart-header h2 span{color:#f55135;font-size:27px;margin-left:7px}.cart-header .eyebrow{font-size:9px}.cart-close{background:#f3f4f6;border-radius:50%;width:38px;height:38px;font-size:26px;line-height:1}
.cart-offer{background:#ffea00;border-radius:10px;padding:17px;margin:23px 0 10px}.cart-offer p{font-size:14px;font-weight:600;line-height:1.5}.cart-offer small{font-size:10px}.offer-track{display:flex;gap:5px;margin:11px 0}.offer-track span{height:5px;flex:1;background:#1535a11c;border-radius:5px}.offer-track span.filled{background:#1535a1}
.cart-item{display:flex;gap:13px;align-items:center;padding:19px 0;border-bottom:1px solid #1535a120}.cart-item>.collection-art{width:100px;aspect-ratio:1.2;border-radius:8px;align-self:start;background:#ffea00}.cart-item-info{flex:1;min-width:0}.cart-item-info>span{font-size:9px;text-transform:uppercase;letter-spacing:1px}.cart-item h3{font-size:15px;margin:3px 0 5px}.cart-item-info>p{font-size:11px;color:#53618b}.quantity-controls{display:inline-flex;align-items:center;border:1px solid #1535a130;border-radius:25px;margin-top:10px;overflow:hidden}.quantity-controls button{background:#fff;min-width:32px;height:32px;font-size:18px}.quantity-controls button:hover{background:#f1f3f8}.quantity-controls button:disabled{opacity:.3;cursor:default}.quantity-controls span{min-width:26px;text-align:center;font-size:12px}.cart-item-end{display:flex;flex-direction:column;align-self:stretch;justify-content:space-between;align-items:end;padding:5px 0;font-size:13px;white-space:nowrap}.cart-item-end button{font-size:10px;border-bottom:1px solid #53618b60;padding:3px 0;background:none;color:#53618b}
.cart-empty{text-align:center;padding:32px 15px}.cart-empty>span{font-size:43px;color:#f55135}.cart-empty h3{font-size:20px;margin:10px 0}.cart-empty p{font-size:13px;line-height:1.6;color:#53618b}
#cart-summary dl{margin:23px 0}#cart-summary dl>div{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin:14px 0}#cart-summary dd{margin:0;font-weight:600}#cart-summary .discount-row{color:#c6311c}#free-count{font-size:10px}#cart-summary .cart-total{border-top:1px solid #1535a130;padding-top:17px;font-size:22px;font-weight:600}
.continue-shopping{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;min-height:48px;width:100%;background:#1535a1;color:white;border-radius:30px;font-size:13px}.cart-preview-note{font-size:11px;line-height:1.6;color:#53618b;text-align:center;margin-top:15px}
.shop-toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,15px);padding:15px 22px;border-radius:9px;background:#1535a1;color:#fff;box-shadow:0 6px 22px #1535a135;z-index:20;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;font-size:13px;max-width:calc(100% - 32px);width:max-content;text-align:center}.shop-toast.visible{opacity:1;transform:translate(-50%,0)}
@media(max-width:1100px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.product-art .collection-art{aspect-ratio:1.5}.product-info>p{min-height:0}.shop-offer-explainer>span{display:none}.shop-page .nav nav{gap:22px}}
@media(max-width:650px){.shop-page .nav nav{gap:9px;align-items:center}.shop-page .nav .cart-open{padding:7px 10px;gap:6px;min-height:36px;font-size:11px}.cart-open svg{display:none}.shop-page .shop-intro{padding:32px 6% 27px;gap:18px;align-items:start;flex-direction:column}.shop-page h1.page-title{font-size:53px;margin:10px 0 15px}.shop-intro .eyebrow{font-size:9px}.shop-intro>div>p:not(.eyebrow){font-size:14px}.shop-promo{flex-direction:row;align-items:center;gap:13px;padding:15px 17px;align-self:stretch;transform:rotate(-1deg);border-radius:8px;margin:7px 4px 0 0}.shop-promo strong{font-size:25px;letter-spacing:-1px}.shop-promo strong br{display:none}.shop-promo strong em{margin-left:5px}.shop-promo>span:last-child{display:none}.shop-promo .promo-spark{font-size:32px;top:-15px;right:-8px}.shop-catalog{padding:0 6% 30px}.shop-toolbar{display:block;padding:20px 0}.theme-filters{gap:6px}.theme-filters :is(button,a){font-size:11px;padding:8px 12px}.shop-toolbar>p{margin-top:14px;font-size:11px}.product-grid{gap:12px}.product-art .collection-art{aspect-ratio:1.12}.product-theme{font-size:8px;padding:5px 7px;top:8px;left:8px}.product-info{padding:12px 10px 10px}.product-title{flex-direction:column;gap:6px}.product-title h2{font-size:18px}.product-title strong{font-size:13px}.product-info>p{font-size:11px;min-height:53px}.product-meta{margin:10px 0;font-size:9px}.product-meta>span:first-child{display:none}.product-info>button{font-size:10px;padding:10px 8px;min-height:42px}.product-info>button>span{font-size:17px}.shop-footnote{flex-direction:column;gap:12px;font-size:10px}.shop-footnote a{align-self:start}.shop-offer-explainer{padding:28px 6%;display:block}.shop-offer-explainer h2{font-size:29px;max-width:310px;line-height:1.12}.shop-offer-explainer p{font-size:12px}.shop-offer-explainer>button{margin-top:20px}.factory dialog.shop-cart{padding:22px 18px}.cart-item{gap:10px}.cart-item>.collection-art{width:81px}.cart-item-end{font-size:12px}.cart-item h3{font-size:14px}.cart-header h2{font-size:33px}}
@media(prefers-reduced-motion:reduce){.shop-toast,.theme-filters :is(button,a),.product-info>button{transition:none}}
/* The original card animation gives the collection its own moving header. */
.shop-page .shop-intro{position:relative;isolation:isolate;overflow:hidden;min-height:330px;background:#142558;color:white;padding-top:42px;padding-bottom:42px}
.shop-intro-video,.shop-intro-shade{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.shop-intro-video{object-fit:cover;object-position:center 48%;z-index:-2}
.shop-intro .shop-intro-shade{z-index:-1;background:linear-gradient(90deg,#081638a6 0%,#08163840 50%,#08163815 100%)}
.shop-page .shop-intro h1.page-title{color:white}.shop-page .shop-intro h1.page-title em{color:#ffea00}
.shop-intro>div>p:not(.eyebrow){color:#ffffffdf}.shop-promo{color:#1535a1}
.shop-toolbar{border-top:0;padding-top:27px}
@media(max-width:650px){.shop-page .shop-intro{min-height:330px;padding-top:30px;padding-bottom:30px}.shop-intro-video{object-position:60% center}.shop-intro .shop-intro-shade{background:#08163870}}

/* Show the rounded per-card bundle price alongside the single-card price. */
.product-price{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-top:15px}
.product-price del{font-size:13px;color:#737987;text-decoration-thickness:1px}
.product-price strong{font-size:23px;letter-spacing:-.8px;color:#d63620;white-space:nowrap}
.product-price sup{font-size:12px;margin-left:2px;vertical-align:super}
.product-price>span{flex-basis:100%;font-size:10px;color:#53618b;margin-top:-4px}
.offer-price-note{font-size:12px;line-height:1.7;color:#53618b;margin-top:22px}
.offer-price-note strong{color:#1535a1}
.shop-footnote{margin-top:12px}
@media(max-width:650px){.product-price{gap:6px;margin-top:10px}.product-price strong{font-size:21px}.product-price del{font-size:11px}.product-price>span{font-size:9px}.offer-price-note{font-size:11px}}

.cart-offer #cart-progress{font-size:17px;line-height:1.3;letter-spacing:-.3px}
.cart-offer #cart-offer-detail{font-size:12px;font-weight:400;line-height:1.6;margin-top:8px}
.cart-offer-action{display:flex;align-items:center;justify-content:space-between;width:100%;gap:15px;background:#1535a1;color:#fff;padding:12px 15px;min-height:42px;border-radius:25px;font-size:12px;font-weight:600;margin-top:14px}
#cart-average{color:#1535a1;background:#f2f4fb;font-size:12px;line-height:1.5;padding:12px 14px;border-radius:8px;margin:-9px 0 20px}

/* Transparent product cutouts move independently of the coloured stage. */
.product-art{background:#ffea00;isolation:isolate}
.product-art-matchday{background:#2448ff}
.product-art-jungle{background:#a4ed20}
.product-art-love{background:#ff536d}
.product-art-shopping{background:#ffb619}
.product-art .card-cutout{display:grid;place-items:center;position:relative;aspect-ratio:1.22;width:100%;padding:28px 6px 12px;perspective:700px}
.card-cutout .fit-artwork{display:block;width:100%;height:auto;max-width:100%;filter:drop-shadow(0 13px 9px #08163835)}
.product-art .card-cutout .fit-artwork{transition:transform .55s cubic-bezier(.22,1,.36,1),filter .55s ease;will-change:auto}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.shop-product:hover .card-cutout .fit-artwork{transform:translateY(-10px) rotate(-3deg) scale(1.045);filter:drop-shadow(0 23px 13px #08163840)}.shop-product:nth-child(even):hover .card-cutout .fit-artwork{transform:translateY(-10px) rotate(3deg) scale(1.045)}}
@media(prefers-reduced-motion:no-preference){.shop-product:focus-within .card-cutout .fit-artwork{transform:translateY(-8px);filter:drop-shadow(0 20px 12px #08163840)}}
.cart-item>.card-cutout{display:grid;place-items:center;flex-shrink:0;width:100px;aspect-ratio:1.2;align-self:start;border-radius:8px;background:#f2f4fb;overflow:hidden;padding:5px}
.cart-item>.card-cutout .fit-artwork{filter:drop-shadow(0 5px 4px #08163825)}
@media(max-width:1100px){.product-art .card-cutout{aspect-ratio:1.5}}
@media(max-width:650px){.product-art .card-cutout{aspect-ratio:1.12;padding:22px 2px 7px}.cart-item>.card-cutout{width:81px}}
@media(prefers-reduced-motion:reduce){.product-art .card-cutout .fit-artwork{transition:none}}

/* The card crosses the upper edge of its colour panel. */
.shop-product{overflow:visible;border:0;background:transparent}
.product-art{overflow:visible;background:transparent;--stage-color:#ffea00}
.product-art-matchday{--stage-color:#2448ff}
.product-art-jungle{--stage-color:#a4ed20}
.product-art-love{--stage-color:#ff536d}
.product-art-shopping{--stage-color:#ffb619}
.product-art::before{content:"";position:absolute;inset:30% 0 0;background:var(--stage-color);border-radius:12px 12px 0 0;z-index:-1}
.product-art .card-cutout{transform:translateY(-10px)}
.product-art .card-cutout .fit-artwork{width:110%;max-width:none}
.product-info{border:1px solid #1535a11c;border-top:0;border-radius:0 0 12px 12px;background:#fff}
.product-theme{border:1px solid #1535a11c}
@media(max-width:650px){.product-art .card-cutout{transform:translateY(-5px)}.product-art::before{inset:32% 0 0}}

/* Let both sides of each card extend beyond a narrower colour panel. */
.product-art::before{inset:0 20%;border-radius:12px}
.product-art .card-cutout{transform:none}
@media(max-width:650px){.product-art::before{inset:0 20%}.product-art .card-cutout{transform:none}}

/* Centre the theme label above its card. */
.product-art .product-theme{left:50%;transform:translateX(-50%);white-space:nowrap}

/* Align the purchase panel with the narrower colour stage. */
.shop-product .product-info{width:60%;margin-inline:auto;padding:15px 10px 12px}
.shop-product .product-price{margin-top:0;gap:6px}
.shop-product .product-meta{flex-wrap:wrap;gap:6px}
.shop-product .product-info>button{padding:10px 8px;font-size:11px;gap:5px}
@media(max-width:650px){.product-grid{grid-template-columns:1fr;gap:25px}.product-art .card-cutout{aspect-ratio:1.5;padding:25px 6px 10px}.shop-product .product-info{padding:15px 12px}.shop-product .product-info>button{font-size:12px}.shop-product .product-meta>span:first-child{display:inline}}

/* A tighter, centred collection row. */
.product-grid{max-width:1040px;margin-inline:auto;column-gap:0}
@media(min-width:651px) and (max-width:1100px){.product-grid{max-width:760px;column-gap:0}}
@media(max-width:650px){.product-grid{max-width:360px}}

/* A soft spotlight within each saturated colour panel. */
.product-art-matchday{--stage-glow:#708aff}
.product-art-jungle{--stage-glow:#d5ff75}
.product-art-love{--stage-glow:#ff99a9}
.product-art-shopping{--stage-glow:#ffe279}
.product-art::before{background:radial-gradient(ellipse at 50% 45%,var(--stage-glow) 0%,var(--stage-color) 76%)}

/* Fit as many readable product columns as the available width allows. */
.shop-catalog .product-grid{max-width:none;width:100%;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));column-gap:0;row-gap:26px}
.shop-catalog .product-art::before{inset:0 12%;border-radius:12px}
.shop-catalog .product-art .card-cutout{aspect-ratio:1.22;padding:28px 0 12px}
.shop-catalog .product-art .card-cutout .fit-artwork{width:120%}
.shop-catalog .shop-product .product-info{width:76%;padding:14px 10px 12px}
@media(max-width:650px){.shop-catalog .product-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));row-gap:22px}.shop-catalog .product-art .card-cutout{aspect-ratio:1.12;padding:24px 0 8px}.shop-catalog .shop-product .product-info{padding:12px 8px}.shop-catalog .shop-product .product-info>button{font-size:10px}}

/* A quieter add-to-cart action. */
.shop-catalog .shop-product .product-info>button{background:#f7f8fc;color:#1535a1;border:1px solid #1535a126;font-weight:500;min-height:38px;padding:8px 10px;font-size:11px;transition:background .2s,border-color .2s}
.shop-catalog .shop-product .product-info>button:hover{background:#edf0fb;border-color:#1535a160}
.shop-catalog .shop-product .product-info>button>span{font-size:16px}
@media(prefers-reduced-motion:reduce){.shop-catalog .shop-product .product-info>button{transition:none}}

/* Align the red promotional price to the upper right of the price block. */
.shop-catalog .product-price{display:grid;grid-template-columns:1fr auto;align-items:baseline;column-gap:6px;row-gap:4px}
.shop-catalog .product-price>strong{grid-column:2;grid-row:1;justify-self:end}
.shop-catalog .product-price>del{grid-column:1;grid-row:1}
.shop-catalog .product-price>span{grid-column:1/-1;grid-row:2;margin-top:0}

/* Compact pill action with a separate circular add icon. */
.shop-catalog .shop-product .product-info>button{border:0;border-radius:999px;background:#f0f2f8;min-height:39px;padding:5px 5px 5px 13px;gap:9px;font-size:11px;font-weight:600;letter-spacing:.01em;transition:background .2s,color .2s,box-shadow .2s}
.shop-catalog .shop-product .product-info>button>span{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;border-radius:50%;background:white;color:#1535a1;box-shadow:0 1px 4px #1535a112;font-size:19px;font-weight:400;line-height:1;transition:background .2s,color .2s,transform .2s}
.shop-catalog .shop-product .product-info>button:hover{background:#e4e9f8;box-shadow:0 3px 10px #1535a10c}
.shop-catalog .shop-product .product-info>button:hover>span{background:#1535a1;color:#fff;transform:rotate(90deg)}
.shop-catalog .shop-product .product-info>button:active>span{transform:scale(.9)}
@media(prefers-reduced-motion:reduce){.shop-catalog .shop-product .product-info>button,.shop-catalog .shop-product .product-info>button>span{transition:none}.shop-catalog .shop-product .product-info>button:hover>span,.shop-catalog .shop-product .product-info>button:active>span{transform:none}}

/* Keep pricing compact and close to the colour panel. */
.shop-catalog .shop-product .product-info{padding-top:7px}
.shop-catalog .product-price>strong{font-size:20px}
.shop-catalog .product-price>del{font-size:11px}
.shop-catalog .product-price sup{font-size:10px}
.shop-catalog .product-price>strong{color:#1535a1}
.shop-catalog .shop-product .product-info>button{margin-top:13px}
.shop-toast .toast-product-name{color:#ffea00;font-weight:700}

/* Three miniature cards show progress towards the free fit. */
.cart-offer .offer-track{display:flex;justify-content:center;gap:14px;margin:17px 0}
.cart-offer .offer-track>span{display:block;flex:0 1 66px;height:auto;background:transparent;border-radius:0;color:#1535a1}
.offer-track svg{display:block;width:100%;height:auto;overflow:visible}
.offer-card-body{fill:#ffffff35;stroke:currentColor;stroke-width:1.3;stroke-opacity:.3}
.offer-card-chip{fill:currentColor;opacity:.25}
.offer-card-line{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;opacity:.25}
.offer-track .filled .offer-card-body{fill:#1535a1;stroke-opacity:1}
.offer-track .filled .offer-card-chip{fill:#ffea00;opacity:1}
.offer-track .filled .offer-card-line{stroke:#fff;opacity:.7}

/* Flip and enlarge a card without changing the layout of the grid. */
.card-preview-trigger{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;border-radius:12px}
.card-preview-trigger.preview-source-hidden .card-cutout{visibility:hidden}
.factory dialog.fit-preview{position:fixed;inset:0;margin:0;width:100vw;max-width:none;height:100dvh;max-height:none;padding:0;border:0;border-radius:0;background:transparent;overflow:hidden;box-shadow:none;color:white;perspective:1400px}
.factory dialog.fit-preview[open]{display:flex;flex-direction:column;justify-content:center;align-items:center}
.fit-preview::backdrop{background:#071530c9;backdrop-filter:blur(8px)}
.fit-preview>.fit-artwork{width:min(900px,92vw,108vh);height:auto;aspect-ratio:3/2;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 25px 30px #0005);transform-origin:center;cursor:default}
.fit-preview>p{font:500 16px/1.5 'Space Grotesk',sans-serif;letter-spacing:.03em;color:#ffea00;margin:0;padding:12px 24px}
.fit-preview .fit-preview-close{position:absolute;top:22px;right:22px;width:44px;height:44px;border:1px solid #ffffff60;border-radius:50%;background:#ffffff18;color:white;font:300 30px/1 sans-serif;z-index:2}
.fit-preview-open{overflow:hidden}
@media(max-width:650px){.fit-preview .fit-preview-close{top:16px;right:16px}.fit-preview>p{font-size:14px}}

/* Fade the backdrop alongside the card entering and returning. */
.fit-preview::backdrop{background:#071530c9;backdrop-filter:blur(8px);opacity:0;transition:opacity .45s ease}
.fit-preview.preview-is-visible::backdrop{opacity:1}
@media(prefers-reduced-motion:reduce){.fit-preview::backdrop{transition:none}}
.fit-preview,.fit-preview>.fit-artwork{cursor:zoom-out}

/* Add the enlarged fit without dismissing its preview. */
.fit-preview>.fit-artwork{width:min(900px,92vw,92vh)}
.fit-preview-add{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:6px 6px 6px 20px;min-height:44px;border:1px solid #ffffff50;border-radius:999px;background:#ffffffed;color:#1535a1;font-size:13px;font-weight:600;cursor:pointer}
.fit-preview-add>span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#1535a1;color:white;font-size:22px;font-weight:400}
.fit-preview-add:hover{background:#ffea00}
.fit-preview-status{min-height:38px;padding:12px 16px 0;text-align:center;color:white;font-size:12px;line-height:1.5}
.fit-preview-status strong{color:#ffea00}
.fit-preview-status .preview-cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;padding:0 6px;margin-left:4px;border-radius:999px;background:#ffea00;color:#1535a1;font-size:11px;font-weight:700;vertical-align:middle}
.product-art{--stage-glow:#fff48a}
.product-art-matchday{--stage-glow:#708aff}
.product-art-jungle{--stage-glow:#d5ff75}
.product-art-love{--stage-glow:#ff99a9}
.product-art-shopping{--stage-glow:#ffe279}

/* Let add-to-cart controls take on the colour beneath them. */
.shop-catalog .shop-product .product-info>button,
.fit-preview-add{background:rgba(0,0,0,.07);border:1px solid rgba(0,0,0,.12);box-shadow:none}
.shop-catalog .shop-product .product-info>button>span,
.fit-preview-add>span{background:rgba(0,0,0,.08);color:inherit;box-shadow:none}
.shop-catalog .shop-product .product-info>button:hover,
.fit-preview-add:hover{background:rgba(0,0,0,.13);border-color:rgba(0,0,0,.2);box-shadow:none}
.shop-catalog .shop-product .product-info>button:hover>span{background:rgba(0,0,0,.12);color:inherit}
.fit-preview-add{color:white;border-color:rgba(255,255,255,.3)}

/* Blue add circles with a yellow plus, including the enlarged preview. */
.shop-catalog .shop-product .product-info>button>span,
.shop-catalog .shop-product .product-info>button:hover>span,
.fit-preview-add>span{background:#1535a1;color:#ffea00}

/* Category labels align with the left edge of the coloured panel. */
.shop-catalog .product-art .product-theme{left:calc(12% + 8px);transform:none;text-align:left;text-decoration:none;cursor:pointer;z-index:3}
.shop-catalog .product-art .product-theme:hover{background:#1535a1;color:#ffea00;border-color:#1535a1}

/* Small sold-out bubbles on the two special collection categories. */
.theme-filters .category-with-badge{position:relative}
.theme-filters .category-with-badge .category-sold-out{position:absolute;top:-10px;right:-5px;display:block;width:auto;height:auto;min-width:0;margin:0;padding:4px 7px;border-radius:20px;background:#ffea00;color:#1535a1;border:1px solid #1535a120;font-size:8px;font-weight:700;line-height:1;letter-spacing:.4px;white-space:nowrap;transform:rotate(5deg)}

/* Both card orientations share the same bounded display area. */
.shop-catalog .product-art .card-cutout{min-height:0}
.shop-catalog .product-art .card-cutout .fit-artwork{position:absolute;left:-10%;top:28px;width:120%;height:calc(100% - 40px);object-fit:contain;object-position:center}
.cart-item>.card-cutout{position:relative;min-height:0}
.cart-item>.card-cutout .fit-artwork{position:absolute;inset:5px;width:calc(100% - 10px);height:calc(100% - 10px);object-fit:contain}
@media(max-width:650px){.shop-catalog .product-art .card-cutout .fit-artwork{top:24px;height:calc(100% - 32px)}}

/* Uploaded portrait fits get the same playful tilt as the landscape artwork. */
.shop-product{--portrait-tilt:-4deg}
.shop-product:nth-child(3n+2){--portrait-tilt:3deg}
.shop-product:nth-child(3n){--portrait-tilt:-2deg}
.shop-product:nth-child(5n){--portrait-tilt:5deg}
.shop-catalog .product-art .card-cutout .fit-artwork.is-portrait{transform:rotate(var(--portrait-tilt))}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.shop-catalog .shop-product:hover .card-cutout .fit-artwork.is-portrait{transform:translateY(-8px) rotate(calc(var(--portrait-tilt) + 2deg)) scale(1.045)}}
@media(prefers-reduced-motion:no-preference){.shop-catalog .shop-product:focus-within .card-cutout .fit-artwork.is-portrait{transform:translateY(-8px) rotate(var(--portrait-tilt))}}

/* Let the card extend past its coloured panel in its own orientation. */
.shop-catalog .product-art .card-cutout .fit-artwork:not(.is-portrait){top:50%;left:-10%;width:120%;height:auto;translate:0 -50%;object-fit:contain}
.shop-catalog .product-art .card-cutout .fit-artwork.is-portrait{top:-10%;left:0;width:100%;height:120%;object-fit:contain;translate:none}
.shop-catalog .shop-product:has(.fit-artwork.is-portrait) .product-info{margin-top:26px}
.shop-catalog .shop-product:has(.fit-artwork.is-portrait) .product-art{margin-top:20px}

/* Match visible card dimensions, independent of transparent PNG margins. */
.shop-catalog .product-art .card-cutout .fit-artwork:not(.is-portrait){left:50%;top:50%;width:var(--art-width,100%);height:auto;translate:var(--art-x,-50%) var(--art-y,-50%)}
.shop-catalog .product-art .card-cutout .fit-artwork.is-portrait{left:50%;top:50%;width:auto;height:var(--art-height,120%);translate:var(--art-x,-50%) var(--art-y,-50%)}

/* Straight landscape uploads receive the same alternating tilt as portrait fits. */
.shop-catalog .product-art .card-cutout .fit-artwork:not(.is-portrait){transform:rotate(var(--portrait-tilt))}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.shop-catalog .shop-product:hover .card-cutout .fit-artwork:not(.is-portrait){transform:translateY(-8px) rotate(calc(var(--portrait-tilt) + 2deg)) scale(1.045)}}
@media(prefers-reduced-motion:no-preference){.shop-catalog .shop-product:focus-within .card-cutout .fit-artwork:not(.is-portrait){transform:translateY(-8px) rotate(var(--portrait-tilt))}}

/* Website-only chip overlay: the original print artwork stays untouched. */
.fit-artwork{display:block;position:relative}
.fit-artwork>.fit-design{display:block;width:100%;height:100%;object-fit:fill}
.fit-chip-overlay{display:block;position:absolute;transform:translate(-50%,-50%);background:url('../assets/card-chip-gold.png') center/100% 100% no-repeat;pointer-events:none;filter:drop-shadow(0 1px 1px #0003)}
.fit-chip-overlay.chip-vertical{background:none}
.fit-chip-overlay.chip-vertical::before{content:"";position:absolute;left:50%;top:50%;width:125%;height:80%;transform:translate(-50%,-50%) rotate(90deg);background:url('../assets/card-chip-gold.png') center/100% 100% no-repeat}
.fit-artwork[data-chip=false]>.fit-chip-overlay{display:none}
.cart-item>.card-cutout .fit-artwork{inset:auto;left:50%;top:50%;width:calc(100% - 10px);height:auto;transform:translate(-50%,-50%)}
.cart-item>.card-cutout .fit-artwork.is-portrait{width:auto;height:calc(100% - 10px)}
.fit-preview>.fit-artwork{width:min(450px,43vw,calc(32.5vh * var(--fit-ratio,1.585)));height:auto;flex-shrink:0;filter:drop-shadow(0 25px 30px #0005)}
/* Give portrait previews a little more height while preserving landscape sizing. */
.fit-preview>.fit-artwork.is-portrait{width:min(450px,43vw,calc(40vh * var(--fit-ratio,.63)))}

.collection-missed{grid-column:1/-1;width:100%;max-width:640px;margin:0 auto;text-align:center}
.collection-missed h2{font-size:clamp(25px,3vw,36px);line-height:1.2;margin:0 0 20px}
.collection-missed p{font-size:16px;line-height:1.75;margin:0 0 22px}
.collection-missed .collection-missed-teaser{font-weight:700;margin-bottom:0}
.factory-display .scene-empty.collection-missed{display:block;min-height:250px;padding:60px 16px 35px}
.factory-display .collection-missed h2{color:#ffea00}
@media(max-width:800px){.factory-display .scene-empty.collection-missed{padding:40px 0 25px}.collection-missed p{font-size:14px}}

.cart-checkout{display:block;width:100%;min-height:50px;padding:14px 20px;margin:16px 0 10px;border-radius:30px;background:#ffea00;color:#1535a1;font-weight:700;font-size:16px}
.cart-checkout:disabled{opacity:.55;cursor:default}
#cart-summary dl>div[hidden],.cart-checkout[hidden]{display:none}
.payment-result{max-width:650px;margin:50px auto;padding:30px;text-align:center;color:#fff8e9}
.payment-result h1{font-size:clamp(32px,5vw,55px)}
.payment-result p{line-height:1.7;margin:20px 0}
.payment-result a{display:inline-block;background:#ffea00;color:#1535a1;border-radius:30px;padding:15px 25px}
