.merch-store [hidden]{display:none!important}.merch-store{padding:58px 0 120px;min-height:90vh}.store-wrap{width:calc(100% - 100px);max-width:1280px;margin:auto}.store-heading{margin-bottom:50px}.store-heading h1{font-size:clamp(30px,5.2vw,72px);font-weight:900;line-height:1.15;letter-spacing:-1.5px;background:linear-gradient(100deg,#ffe500 10%,#e9f32b 35%,#50fdc5 62%,#00e4ed 85%);background-clip:text;color:transparent;filter:drop-shadow(0 5px 5px #00507a55)}.store-heading p{font-size:clamp(27px,4.8vw,62px);margin-top:5px;line-height:1.3}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:50px 40px;max-width:1080px;margin:auto}.product-card{position:relative;min-width:0;padding:12px 30px 24px;border:5px solid #51ffff;border-right-color:#14add6;border-bottom-color:#14add6;border-radius:46px;background:linear-gradient(135deg,#51ffff90,#069cd6c9);box-shadow:0 12px 32px #0077be30}.product-image{height:300px;display:flex;align-items:center;justify-content:center;margin-top:-25px;margin-bottom:4px}.product-image img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 8px #00619c40)}.product-card:has([data-add="stickers"]) .product-image img{padding:15px;transform:rotate(-3deg)}.product-card:has([data-add="keychain"]) .product-image img{transform:rotate(6deg)}.add-cart{display:block;background:none;border:0;padding:0;margin:6px 0 9px;border-radius:40px;transition:transform .15s}.add-cart img{width:101px;height:53px}.add-cart:hover{transform:scale(1.1)}.add-cart:active{transform:scale(.94)}.product-card h2{font-size:clamp(20px,2.1vw,30px);line-height:1.2}.product-price{font-size:clamp(27px,3.4vw,46px);font-weight:900;color:#fff22a;margin-top:12px;line-height:1.1}.delivery-note{text-align:center;font-size:16px;font-weight:600;max-width:700px;margin:36px auto 0!important;text-shadow:0 1px 5px #006993}.shop-panel{background:linear-gradient(125deg,#43e9f4,#1766ef 45%,#0948ee);border:5px solid #51ffff;border-right-color:#14add6;border-bottom-color:#14add6;border-radius:42px;padding:30px 36px;box-shadow:0 15px 45px #0052c333}.shop-panel h2{font-size:clamp(28px,4vw,50px);color:#fff22a;line-height:1.15;margin:8px 0 30px}.text-back{color:white;border:0;background:none;padding:8px 0;font-size:16px;font-weight:700}.text-back:hover{text-decoration:underline}.cart-labels,.cart-line{display:grid;grid-template-columns:minmax(230px,2fr) 1fr 150px 1fr 42px;gap:15px;align-items:center}.cart-labels{font-size:18px;font-weight:800;margin:0 12px 12px}.cart-line{padding:16px 12px;background:#21baddaa;border:3px solid #35d5f3;border-radius:25px;margin-bottom:12px;font-size:17px;font-weight:800}.cart-line-product{display:flex;align-items:center;gap:15px}.cart-line-product img{width:85px;height:85px;object-fit:contain}.cart-line-product h3{font-size:17px}.quantity-control{display:flex;align-items:center;justify-content:space-between;gap:6px;border-radius:40px;background:#174fda;padding:8px}.quantity-control button{border:2px solid white;border-radius:50%;width:34px;height:34px;line-height:26px;padding:0;background:none;color:#fff;font-size:26px}.quantity-control output{min-width:25px;text-align:center;font-size:23px}.quantity-control button:disabled{opacity:.4;cursor:not-allowed}.remove-item{border:0;border-radius:50%;background:#ff4848;color:white;font-size:30px;line-height:1;width:38px;height:38px}.cart-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:25px}.cart-bottom p{font-size:19px;font-weight:800}.cart-bottom strong{color:#fff22a;font-size:clamp(26px,3vw,42px);white-space:nowrap}.shop-button{display:inline-flex;align-items:center;justify-content:center;text-align:center;border:4px solid #51ffff;border-right-color:#14add6;border-bottom-color:#14add6;background:#12a5db;color:#fff22a;font-size:clamp(18px,2vw,27px);font-weight:900;border-radius:45px;padding:12px 24px;line-height:1.25;transition:filter .2s}.shop-button:hover{filter:brightness(1.12)}.shop-button:disabled{opacity:.65;cursor:wait}.checkout-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}.shop-field{display:flex;flex-direction:column;gap:10px;font-weight:800;font-size:18px;margin:0 0 23px}.shop-field input:not([type=file]),.shop-field select{width:100%;border:2px solid #51ffff;border-radius:12px;padding:13px 14px;font:500 17px Montserrat,Arial,sans-serif;color:#13487c;background:#f0ffff;min-height:50px}.shop-field input:focus,.shop-field select:focus{outline:3px solid #fff22a;outline-offset:3px}.shop-field span{font-size:14px;font-weight:500}.payment-card{background:#eaffff;color:#17477b;border-radius:25px;padding:24px;text-align:center}.payment-card h3{font-size:18px;margin-bottom:18px}.payment-card>img{width:250px;max-width:100%;height:auto;min-height:200px;margin:0 auto 16px;background:#fff;border-radius:12px}.payment-card dl{text-align:left;font-size:14px;line-height:1.5;margin:14px 0}.payment-card dt{font-weight:500;margin-top:9px}.payment-card dd{font-weight:800;margin:0;overflow-wrap:anywhere}.copy-button{color:#0664bc;border:1px solid #62bfdb;border-radius:7px;padding:3px 7px;background:white;font-size:12px}.qr-hint{font-size:13px}.order-summary{background:#0b4ad880;border-radius:20px;padding:20px}.order-summary h3{font-size:17px;color:#fff22a}.order-summary ul{list-style:none;padding:0;margin:15px 0}.order-summary li{display:flex;justify-content:space-between;gap:12px;font-size:15px;margin-bottom:12px}.order-summary p{border-top:1px solid #79edff;padding-top:14px;font-size:17px}.order-summary strong{display:block;font-size:30px;color:#fff22a}.handoff-note{font-size:15px;margin-top:20px!important}.upload-field{margin-top:28px}.upload-field input{padding:15px;border:2px dashed #51ffff;border-radius:14px;font-size:16px;max-width:100%;background:#ffffff15}.upload-field input::file-selector-button{border:0;border-radius:8px;padding:8px;background:#eaffff;color:#1555b1;margin-right:10px;font-weight:700}#receipt-preview{max-width:220px;max-height:200px;object-fit:contain;border-radius:10px;margin:12px 0}#receipt-status,#merch-status{font-size:15px;overflow-wrap:anywhere}#merch-status:not(:empty){padding:15px;background:#fff8d9;color:#163d75;border-radius:12px;margin:18px 0}.complete-button{display:flex;margin:25px auto 0;min-width: min(100%,360px)}.success-panel{text-align:center;max-width:850px;margin:auto}.success-panel>img{width:200px;height:200px;object-fit:contain;margin:0 auto 15px}.success-panel p{font-size:19px}.success-panel .success-note{font-size:15px;max-width:600px;margin:22px auto}.success-panel .shop-button{margin-top:25px}#cart-toggle{position:fixed;z-index:25;right:28px;bottom:24px;background:#1c51df;border:5px solid #51ffff;border-right-color:#14add6;border-radius:70px;display:flex;align-items:center;gap:15px;padding:10px 20px;color:#fff;box-shadow:0 7px 25px #0049b544}#cart-toggle svg{width:62px;height:60px;fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.cart-button-text{font-size:17px;font-weight:800}#cart-count{border-radius:50px;background:#fff22a;color:white;min-width:55px;padding:3px 10px;font-size:36px;font-weight:900}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.merch-store button:focus-visible{outline:3px solid #fff22a;outline-offset:4px}
@media(max-width:1000px){.store-wrap{width:calc(100% - 48px)}.shop-panel{padding:25px}.cart-labels{display:none}.cart-line{grid-template-columns:minmax(180px,1fr) 145px 42px}.cart-line .unit-price{grid-column:1;font-size:14px;font-weight:600}.cart-line .quantity-control{grid-column:2;grid-row:1}.cart-line .remove-item{grid-column:3;grid-row:1}.cart-line .line-total{grid-column:2/4;font-size:17px}.cart-line-product img{width:65px;height:65px}.product-image{height:260px}.checkout-grid{gap:22px}.cart-bottom{flex-wrap:wrap}}
@media(max-width:600px){.merch-store{padding-top:35px;padding-bottom:100px}.store-wrap{width:calc(100% - 28px)}.store-heading{margin-bottom:35px}.store-heading h1{font-size:clamp(24px,6vw,34px);letter-spacing:-.7px}.store-heading p{font-size:clamp(24px,5.9vw,35px);-webkit-text-stroke:1.3px white}.product-grid{gap:28px 12px}.product-card{padding:9px 12px 18px;border-width:3px;border-radius:25px}.product-image{height:165px;margin-top:-16px}.product-card h2{font-size:14px;min-height:35px}.product-price{font-size:clamp(16px,4.1vw,24px);margin-top:7px}.add-cart img{width:73px;height:auto}.add-cart{margin:3px 0 10px}.product-card:has([data-add="stickers"]) .product-image img{padding:0}.delivery-note{font-size:13px}.shop-panel{padding:18px 14px;border-width:3px;border-radius:26px}.shop-panel h2{font-size:29px;margin-bottom:22px}.cart-line{grid-template-columns:minmax(0,1fr) 112px 30px;gap:10px 6px;padding:12px 8px;border-width:2px;border-radius:17px}.cart-line-product{flex-direction:column;align-items:flex-start;gap:5px}.cart-line-product img{width:55px;height:55px}.cart-line-product h3{font-size:12px}.quantity-control{gap:3px;padding:6px}.quantity-control button{width:28px;height:28px;line-height:22px;font-size:23px}.quantity-control output{font-size:20px;min-width:18px}.remove-item{width:28px;height:28px;font-size:24px}.cart-line .line-total{font-size:14px}.cart-line .unit-price{font-size:12px}.cart-bottom p{font-size:15px}.cart-bottom strong{font-size:27px;display:block}.cart-bottom .shop-button{width:100%}.checkout-grid{grid-template-columns:1fr;gap:24px}.shop-field{font-size:16px}.payment-card{padding:20px 15px}.shop-field input[type=file]{font-size:13px}.success-panel p{font-size:16px}#cart-toggle{right:14px;bottom:14px;border-width:3px;gap:8px;padding:7px 14px}#cart-toggle svg{width:40px;height:40px}#cart-count{font-size:26px;min-width:40px}.cart-button-text{font-size:13px}}

/* Keep the supplied ocean artwork behind the whole shopping flow. */
.merch-store{background-image:url("assets/background merchandise (2).png");background-size:cover;background-position:center top}.store-heading p{background-image:linear-gradient(180deg,#51ffff,#0e58fc)}.order-summary li>span{flex:1;min-width:0}.order-summary li>b{white-space:nowrap;flex-shrink:0}
/* Compact desktop catalog: two rows remain readable on laptop screens. */
.product-card:has([data-add="lanyard"]) .product-image img{transform:scale(1.3)}
@media(min-width:981px){
 .merch-store{padding:24px 0 45px;min-height:calc(100vh - 48px)}
 .store-wrap{width:calc(100% - 100px);max-width:1100px}
 .store-heading{margin-bottom:26px}
 .store-heading h1{font-size:clamp(32px,4.3vh,52px)}
 .store-heading p{font-size:clamp(28px,4vh,46px);margin-top:2px}
 .product-grid{max-width:900px;gap:24px 30px}
 .product-card{padding:8px 24px 16px;border-width:3px;border-radius:30px}
 .product-image{height:clamp(125px,19vh,230px);margin-top:-12px;margin-bottom:0}
 .product-card:has([data-add="lanyard"]) .product-image img{transform:scale(1.48)}
 .product-card h2{font-size:clamp(18px,2.3vh,25px)}
 .product-price{font-size:clamp(24px,3.3vh,36px);margin-top:6px}
 .add-cart{margin:0 0 6px}
 .add-cart img{width:76px;height:auto}
 .delivery-note{font-size:14px;margin-top:22px!important}
 #cart-toggle{right:18px;bottom:18px;padding:8px 14px;gap:10px;border-width:3px}
 #cart-toggle svg{width:42px;height:42px}
 #cart-count{font-size:28px;min-width:42px}
 .cart-button-text{font-size:14px}
 .shop-panel{padding:22px 28px;border-width:3px;border-radius:30px}
 .shop-panel h2{font-size:34px;margin-bottom:20px}
 .cart-line{padding:10px;font-size:15px;gap:12px}
 .cart-line-product img{width:62px;height:62px}
 .cart-line-product h3{font-size:15px}
 .cart-labels,.cart-line{grid-template-columns:minmax(210px,2fr) 1fr 135px 1fr 38px}
 .checkout-grid{gap:24px}
 .payment-card{padding:18px}
 .payment-card>img{width:210px;min-height:0}
 .shop-field{font-size:16px;margin-bottom:18px}
}
.product-image{pointer-events:none}
/* Restore the larger product artwork within the compact desktop cards. */
@media(min-width:981px){
 .product-card:has([data-add="keychain"]) .product-image img{transform:translateY(-8px) rotate(6deg) scale(1.4)}
 .product-card:has([data-add="tote"]) .product-image img{transform:translateY(-8px) scale(1.4)}
}
/* Restore larger product artwork while preserving the compact card layout. */
@media(min-width:981px){
 .product-card:has([data-add="stickers"]) .product-image img{padding:0;transform:rotate(-3deg) scale(1.3)}
 .product-card:has([data-add="keychain"]) .product-image img{transform:rotate(6deg) scale(1.3)}
 .product-card:has([data-add="tote"]) .product-image img{transform:scale(1.3)}
 .add-cart{position:relative;z-index:1}
}

/* October merchandise additions */
.store-heading .merch-policy{font-family:Montserrat,sans-serif;font-size:clamp(15px,1.5vw,21px);color:#005db4;margin:12px 0 24px;font-weight:700}.merch-policy a{color:inherit;text-decoration:underline;text-underline-offset:4px}
.product-card{position:relative}.preorder-badge{display:inline-block;background:#ffe329;color:#064988;border-radius:20px;padding:7px 14px;font-weight:900;font-size:13px}.product-card>.preorder-badge{position:absolute;top:10px;right:12px;z-index:2}
.product-card:has([data-add="lanyard"]) .product-image img{transform:none;padding:0;max-height:100%;object-fit:contain}.product-card:has([data-add="shirt"]) .product-image img,.product-card:has([data-add="polaroid"]) .product-image img{transform:none;object-fit:contain;padding:0}
#shirt-dialog{width:min(1000px,94vw);max-height:90dvh;overflow:auto;border:2px solid #51ffff;border-radius:24px;background:#e8fbff;color:#07548b;padding:24px}#shirt-dialog::backdrop{background:#002c5cbb}.shirt-layout{display:grid;grid-template-columns:1fr 1fr;gap:26px}.shirt-detail-image,.size-guide{width:100%;height:auto}.shirt-layout summary{cursor:pointer;font-weight:800;padding:14px;background:#b5f3f5;border-radius:14px}.size-row{display:flex;align-items:center;justify-content:space-between;padding:12px;background:#ceeff9;border-radius:14px;margin-bottom:9px}.shirt-layout h3{margin:12px 0}.shirt-layout .shop-button{margin-top:12px;font-size:16px}.size-guide{margin-top:12px}
@media(max-width:650px){.shirt-layout{grid-template-columns:1fr}#shirt-dialog{padding:16px}.shirt-detail-image{max-height:220px;object-fit:contain}}

.stock-status{font-weight:700;color:#07548b;font-size:13px;margin:8px 0}.sold-out .product-image{opacity:.5}.add-cart:disabled{opacity:.45;cursor:not-allowed}
.store-heading .merch-policy{background:none;filter:none;-webkit-text-fill-color:#005db4}.merch-policy a{text-decoration:underline!important}
#shirt-dialog .text-back{color:#07548b}#shirt-dialog .quantity-control output{color:#fff;font-weight:800}#shirt-title{font-size:30px;line-height:1.2}

/* Larger shirt artwork without changing the two-column catalog. */
.product-card:has([data-add="shirt"]) .product-image img{transform:scale(1.45);max-width:100%}
.shirt-detail-image{transform:scale(1.12);transform-origin:center}
@media(max-width:650px){.product-card:has([data-add="shirt"]) .product-image img{transform:scale(1.2)}}

/* Give detailed artwork more room on laptop and desktop screens. */
@media(min-width:981px){
 .product-card:has([data-add="lanyard"]) .product-image,
 .product-card:has([data-add="keychain"]) .product-image,
 .product-card:has([data-add="tote"]) .product-image,
 .product-card:has([data-add="stickers"]) .product-image,
 .product-card:has([data-add="polaroid"]) .product-image,
 .product-card:has([data-add="shirt"]) .product-image{
  height:clamp(280px,38vh,350px);margin-top:12px;margin-bottom:14px;
 }
 .product-card:has([data-add="lanyard"]) .product-image img{transform:none}
 .product-card:has([data-add="shirt"]) .product-image img{transform:scale(1.12)}
 .product-card:has([data-add="stickers"]) .product-image img{transform:rotate(-3deg);padding:0}
 .product-card:has([data-add="polaroid"]) .product-image img{transform:none;padding:0}
 .product-card:has([data-add="keychain"]) .product-image img{transform:rotate(6deg);padding:0}
 .product-card:has([data-add="tote"]) .product-image img{transform:none;padding:0}
}

/* Keep checkout responsive while encoding/uploading a receipt. */
body.merch-submitting .falling-stars{display:none}

/* Keep cart clear of the hosting badge in the bottom-right corner. */
#cart-toggle{bottom:calc(78px + env(safe-area-inset-bottom,0px))}


/* October 26: deadline, add confirmation, and cart feedback. */
.store-heading .merch-deadline{font-family:Montserrat,Arial,sans-serif;font-size:clamp(14px,1.6vw,20px);font-weight:800;line-height:1.6;color:#07548b;background:#effff3e8;-webkit-text-fill-color:#07548b;filter:none;border:2px solid #51ffff;border-radius:16px;padding:12px 18px;margin:12px 0 25px;max-width:900px}
.merch-deadline strong{white-space:nowrap}
#add-confirm-dialog{width:min(440px,calc(100vw - 32px));max-height:90dvh;overflow:auto;border:3px solid #51e1df;border-radius:24px;padding:26px;background:#effeff;color:#07548b;box-shadow:0 20px 70px #003c7070}
#add-confirm-dialog::backdrop{background:#002c5c99;backdrop-filter:blur(3px)}
#add-confirm-title{font-size:20px;font-weight:900;margin:0 0 16px;line-height:1.4}
#add-confirm-question{font-size:17px;font-weight:700;line-height:1.6}
#add-confirm-details{white-space:pre-line;font-size:13px;line-height:1.7;margin:14px 0 22px;color:#356b88}
.add-confirm-actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap}
.add-confirm-actions button{border:2px solid #087f8c;border-radius:999px;padding:11px 18px;font:700 14px Montserrat,Arial,sans-serif;background:white;color:#07548b;min-height:44px}
.add-confirm-actions #confirm-add{background:#087f8c;color:white}
.add-confirm-actions button:focus-visible{outline:3px solid #eac900;outline-offset:3px}
#cart-toggle.cart-added{animation:merch-cart-bounce .85s ease-in-out}
@keyframes merch-cart-bounce{0%,100%{transform:translateY(0) rotate(0)}20%{transform:translateY(-15px) rotate(-6deg) scale(1.06)}38%{transform:translateY(-8px) rotate(6deg) scale(1.06)}56%{transform:translateY(-12px) rotate(-4deg)}74%{transform:translateY(-4px) rotate(3deg)}}
@media(prefers-reduced-motion:reduce){#cart-toggle.cart-added{animation:merch-cart-highlight .85s ease}#add-confirm-dialog::backdrop{backdrop-filter:none}}
@keyframes merch-cart-highlight{50%{box-shadow:0 0 0 8px #fff22a,0 7px 25px #0049b544}}

/* Channel choice precedes product selection; stock numbers stay private in the UI. */
.channel-picker{border:2px solid #52e8ef;border-radius:22px;background:#edffffee;color:#07548b;padding:18px 22px;margin:0 0 26px}
.channel-picker legend{font:800 clamp(17px,2vw,22px) Montserrat,Arial,sans-serif;padding:0 10px}
.channel-options{display:flex;gap:14px;flex-wrap:wrap}
.channel-options label{flex:1;min-width:130px;cursor:pointer}
.channel-options input{position:absolute;opacity:0;width:1px;height:1px}
.channel-options span{display:block;text-align:center;padding:14px;border:2px solid #087f8c;border-radius:14px;font:800 17px Montserrat,Arial,sans-serif;background:white}
.channel-options input:checked+span{background:#087f8c;color:white;box-shadow:0 0 0 3px #fff22a}
.channel-options input:focus-visible+span{outline:3px solid #07548b;outline-offset:5px}
.channel-options input:disabled+span{cursor:wait;opacity:.6}
#channel-stock-status{font-size:14px;line-height:1.6;margin:16px 0 0}
#refresh-stock{font-size:13px;margin-top:8px}

#refresh-stock{color:#07548b;text-decoration:underline;font-weight:700}
