/* Accessory detail pages: same bold REDPOLY character language, tuned per product drop. */
body.accessory-page{--character-primary:#d91621;--character-mid:#be111d;--character-dark:#7f0c17;--character-deep:#520c19;--character-hot:#ff6b35;--character-accent:#ffd22e;--character-light:#fff3d8;--character-ink:#21100b;--character-story:#160b0d;--character-card-dark:#63101b;--character-glow:rgba(255,116,31,.46);--character-glow-soft:rgba(255,155,36,.55);--character-glow-faint:rgba(255,105,22,.23);--character-accent-soft:rgba(255,203,51,.18);--character-ring:rgba(255,221,102,.53);--character-accent-halo:rgba(255,194,68,.08);--character-accent-halo-strong:rgba(255,194,68,.045);--character-accent-inset:rgba(255,201,53,.1);--character-shadow:rgba(58,3,9,.42);--character-text-shadow:rgba(92,4,13,.35);--character-nav:rgba(133,9,20,.42);--character-soft-shade:rgba(77,3,10,.22);--character-muted:rgba(255,243,216,.76);--character-muted-strong:rgba(255,243,216,.95);--character-muted-border:rgba(255,243,216,.4);--character-muted-border-strong:rgba(255,243,216,.5);--character-card-ink:#261014;--character-button-shadow:rgba(54,5,9,.5);--character-final-ink:#1a0a0c;--character-accent-bright:#ffe16e;--character-plate-top:#ff7b26;--character-plate-mid:#ca281b;--character-plate-bottom:#63101a;--character-border:#210b0c}
body.accessory-page--pin{--character-primary:#ab7318;--character-mid:#d19a25;--character-dark:#70450f;--character-deep:#402b17;--character-hot:#ea5732;--character-accent:#ffe077;--character-story:#20170d;--character-card-dark:#533612;--character-glow:rgba(255,202,59,.49);--character-glow-soft:rgba(255,222,112,.57);--character-plate-top:#edbd44;--character-plate-mid:#ac741b;--character-plate-bottom:#543714}
body.accessory-page--keys{--character-primary:#087f91;--character-mid:#0aaab5;--character-dark:#075768;--character-deep:#063642;--character-hot:#c8ff00;--character-accent:#c8ff00;--character-light:#effff8;--character-ink:#06272b;--character-story:#073b43;--character-card-dark:#0a5961;--character-glow:rgba(46,241,228,.48);--character-glow-soft:rgba(64,242,243,.58);--character-glow-faint:rgba(16,128,143,.25);--character-accent-soft:rgba(200,255,0,.18);--character-ring:rgba(200,255,0,.55);--character-accent-halo:rgba(200,255,0,.08);--character-plate-top:#31dbe0;--character-plate-mid:#0daeba;--character-plate-bottom:#087380;--character-border:#064d56}
body.accessory-page--mug{--character-primary:#a63c24;--character-mid:#d4532e;--character-dark:#702417;--character-deep:#421b19;--character-hot:#ffbd36;--character-accent:#ffe077;--character-light:#fff2df;--character-ink:#32180d;--character-story:#21100d;--character-card-dark:#64301c;--character-glow:rgba(255,132,49,.5);--character-glow-soft:rgba(255,190,91,.6);--character-plate-top:#f28c42;--character-plate-mid:#ce4b2a;--character-plate-bottom:#712619}
body.accessory-page--case{--character-primary:#38338e;--character-mid:#5348bd;--character-dark:#282366;--character-deep:#18163f;--character-hot:#db6aca;--character-accent:#d8ceff;--character-light:#f7efff;--character-ink:#17123a;--character-story:#100d2d;--character-card-dark:#25205f;--character-glow:rgba(186,130,255,.48);--character-glow-soft:rgba(188,155,255,.58);--character-plate-top:#9684e9;--character-plate-mid:#5043a9;--character-plate-bottom:#201b56}
.accessory-hero{min-height:690px;grid-template-columns:minmax(0,.9fr) minmax(390px,1.1fr);padding-top:56px}
.accessory-page .char-kicker{margin-top:52px}
.accessory-page .char-hero h1{margin-top:24px;font-size:clamp(55px,8.2vw,112px);line-height:.91;letter-spacing:-1px;text-shadow:5px 6px 0 var(--character-text-shadow);max-width:610px}
.accessory-title{display:inline;color:var(--character-light)}
.accessory-page .char-hero h1 i{color:var(--character-accent);font-size:.9em}
.accessory-tagline{margin-top:19px;color:var(--character-accent);font:clamp(17px,2vw,23px)/1.2 'Permanent Marker',cursive;transform:rotate(-1deg);transform-origin:left center}
.accessory-edition{font-size:9px;font-weight:900;letter-spacing:1.6px;color:var(--character-muted)}
.accessory-stage{min-height:590px;padding:25px 4%;}
.accessory-stage .char-stage__platform{bottom:3%}
.accessory-product-image{position:relative;z-index:1;width:min(100%,570px);max-height:545px;aspect-ratio:1;object-fit:contain;border:8px solid var(--character-light);border-radius:3px;background:var(--character-light);box-shadow:0 24px 38px var(--character-shadow),8px 8px 0 var(--character-border);transform:rotate(-2deg)}
.accessory-stage .char-sticker{top:8%;right:-1%;width:112px;height:112px}
.accessory-stage .char-sticker b{font-size:34px}
.accessory-stage .char-stage__caption{bottom:1%}
.accessory-page .char-buy-row{gap:18px;flex-wrap:wrap}
.accessory-page .char-price strong{font-size:48px}
.accessory-page .char-buy{white-space:nowrap}
.accessory-story{padding-bottom:76px}
.accessory-details{padding-bottom:82px}
.accessory-cta{min-height:340px;justify-content:center}
.accessory-page .char-final-cta h2{font-size:clamp(46px,7vw,88px);line-height:.94}
.accessory-page .char-final-cta .char-buy{position:relative;z-index:2;margin-top:26px}

/* Dedicated accessory shelf on the homepage. */
.accessory-shelf{padding:52px 0 60px;background:#151313;border-top:1px solid rgba(255,255,255,.1)}
.accessory-shelf .section-head{margin-bottom:24px}
.accessory-shelf .cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.accessory-shelf .p-card{transition:transform .2s ease,box-shadow .2s ease}
.accessory-shelf .p-card:hover{transform:translateY(-5px);box-shadow:7px 10px 0 #000}
.accessory-shelf .p-card__img{background:#f4f0e6;overflow:hidden}
.accessory-shelf .p-card__img img{aspect-ratio:1/1;object-fit:cover;transition:transform .35s ease}
.accessory-shelf .p-card:hover .p-card__img img{transform:scale(1.035)}
.accessory-shelf .p-card__sub{min-height:30px}
.accessory-shelf .p-card__price{margin-top:7px}
.accessory-shelf .p-card__body>button{margin-top:auto}
.accessory-shelf .stock{z-index:2}
@media(max-width:920px){.accessory-hero{grid-template-columns:1fr 1fr;gap:12px}.accessory-page .char-hero h1{font-size:clamp(52px,9vw,86px)}.accessory-stage{min-height:480px}.accessory-product-image{max-height:440px}.accessory-shelf .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.accessory-hero{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:38px 22px 78px;min-height:0}.accessory-hero .char-hero__topline{top:24px;left:22px;right:22px}.accessory-page .char-kicker{margin-top:58px}.accessory-page .char-hero h1{font-size:clamp(49px,14vw,78px);line-height:.94;margin-top:16px}.accessory-page .char-intro{margin-top:20px}.accessory-page .char-tags{margin-top:16px}.accessory-page .char-buy-row{margin-top:22px}.accessory-stage{min-height:0;height:auto;aspect-ratio:1/1;margin-top:18px;padding:18px 8% 24px}.accessory-product-image{max-height:none;width:100%;border-width:5px}.accessory-stage .char-sticker{width:84px;height:84px;top:7%;right:1%}.accessory-stage .char-sticker b{font-size:27px}.accessory-stage .char-sticker small{font-size:6px}.accessory-stage .char-stage__caption{font-size:9px;bottom:1%}.accessory-page .char-hero__scribble{display:none}.accessory-edition{font-size:7px;letter-spacing:.9px}.accessory-story{padding:32px 22px 58px}.accessory-story .char-story__grid{margin-top:36px}.accessory-details{padding:0 22px 60px;grid-template-columns:1fr;gap:11px}.accessory-details .char-detail-card{min-height:180px}.accessory-cta{min-height:300px}.accessory-page .char-final-cta h2{font-size:clamp(43px,12vw,68px)}.accessory-shelf{padding:42px 0}.accessory-shelf .cards{gap:12px}.accessory-shelf .p-card__body{padding:10px}.accessory-shelf .p-card__body h3{font-size:19px}.accessory-shelf .p-card__body>button{font-size:9px;padding:10px 8px}}
@media(prefers-reduced-motion:reduce){.accessory-shelf .p-card,.accessory-shelf .p-card__img img{transition:none}}

/* Each accessory gets a distinct composition rather than a colour-swapped duplicate. */
.accessory-page--pin .accessory-hero{grid-template-columns:minmax(0,.78fr) minmax(440px,1.22fr)}
.accessory-page--pin .accessory-product-image{transform:rotate(3deg);border-width:10px;box-shadow:0 25px 45px var(--character-shadow),12px 12px 0 var(--character-border)}
.accessory-page--pin .accessory-details{grid-template-columns:1.35fr 1fr;grid-template-rows:1fr 1fr}
.accessory-page--pin .accessory-details .char-detail-card:first-child{grid-row:span 2;min-height:100%;display:flex;flex-direction:column;justify-content:flex-end;padding-bottom:32px}
.accessory-page--pin .accessory-details .char-detail-card:first-child h3{font-size:clamp(34px,4vw,52px)}
.accessory-page--keys .accessory-hero{grid-template-columns:minmax(390px,1.1fr) minmax(0,.9fr)}
.accessory-page--keys .char-hero__copy{order:2;padding-left:clamp(0px,2vw,25px)}
.accessory-page--keys .accessory-stage{order:1}
.accessory-page--keys .accessory-product-image{transform:rotate(-5deg);border-radius:50% 50% 8px 8px;border-width:7px}
.accessory-page--keys .accessory-details{grid-template-columns:repeat(3,minmax(0,1fr))}
.accessory-page--keys .accessory-details .char-detail-card{min-height:255px;border-radius:46px 4px 4px 4px}
.accessory-page--mug .accessory-hero{grid-template-columns:minmax(0,.72fr) minmax(470px,1.28fr)}
.accessory-page--mug .accessory-stage{min-height:650px}
.accessory-page--mug .accessory-product-image{width:min(100%,620px);max-height:590px;border-radius:43% 43% 8px 8px;border:12px solid var(--character-light);transform:rotate(1.5deg)}
.accessory-page--mug .accessory-details{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
.accessory-page--mug .accessory-details .char-detail-card:nth-child(2){margin-top:28px}
.accessory-page--mug .accessory-details .char-detail-card:nth-child(3){margin-top:56px}
.accessory-page--case .accessory-hero{grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr)}
.accessory-page--case .accessory-stage{min-height:630px}
.accessory-page--case .accessory-product-image{width:min(84%,460px);max-height:590px;border-width:7px;border-radius:28px;transform:rotate(5deg);box-shadow:0 26px 40px var(--character-shadow),10px 10px 0 var(--character-border)}
.accessory-page--case .accessory-details{grid-template-columns:1fr 1.3fr 1fr}
.accessory-page--case .accessory-details .char-detail-card:nth-child(2){transform:translateY(-22px)}
.accessory-shelf .p-card__img img{object-fit:contain;background:#f4f0e6}
@media(max-width:920px){
 .accessory-page--pin .accessory-hero,.accessory-page--mug .accessory-hero{grid-template-columns:minmax(0,.85fr) minmax(330px,1.15fr)}
 .accessory-page--keys .accessory-hero{grid-template-columns:minmax(330px,1fr) minmax(0,1fr)}
 .accessory-page--case .accessory-hero{grid-template-columns:minmax(0,1fr) minmax(300px,.9fr)}
 .accessory-page--mug .accessory-stage,.accessory-page--case .accessory-stage{min-height:500px}
}
@media(max-width:680px){
 .accessory-page--keys .char-hero__copy,.accessory-page--keys .accessory-stage{order:initial;padding-left:0}
 .accessory-page--pin .accessory-details{grid-template-columns:1fr;grid-template-rows:auto}
 .accessory-page--pin .accessory-details .char-detail-card:first-child{grid-row:auto;min-height:180px}
 .accessory-page--mug .accessory-stage,.accessory-page--case .accessory-stage{min-height:0}
 .accessory-page--mug .accessory-details,.accessory-page--case .accessory-details,.accessory-page--keys .accessory-details{grid-template-columns:1fr}
 .accessory-page--mug .accessory-details .char-detail-card:nth-child(n),.accessory-page--case .accessory-details .char-detail-card:nth-child(2){margin-top:0;transform:none}
}

/* Bundle picker, product specifics, and plain-language delivery/returns disclosures. */
.bundle-builder{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(0,1.7fr);gap:clamp(22px,4vw,52px);align-items:center;margin-top:44px;padding:clamp(22px,4vw,44px);background:#201d18;color:#fff3d8;border:2px solid #ffd22e;box-shadow:7px 7px 0 #000}
.bundle-builder__eyebrow,.accessory-policy-panel header>p{color:#ffd22e;font-size:9px;font-weight:900;letter-spacing:2.4px}
.bundle-builder__intro h3{margin-top:12px;font:clamp(32px,4vw,52px)/.92 'Anton',sans-serif}
.bundle-builder__intro h3 span{color:#c8ff00}
.bundle-builder__intro>p:not(.bundle-builder__eyebrow):not(.bundle-builder__count){max-width:350px;margin-top:15px;color:rgba(255,243,216,.78);font-size:13px;line-height:1.55}
.bundle-builder__intro>p strong{color:#fff3d8;font-weight:900}
.bundle-builder__count{margin-top:16px;color:#c8ff00;font-size:11px;font-weight:900;letter-spacing:.6px}
.bundle-builder__submit{max-width:310px;margin-top:8px}
.bundle-builder__submit:disabled{cursor:not-allowed;opacity:.54;filter:grayscale(.45);transform:none}
.bundle-builder__options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;padding:0;border:0}
.bundle-option{position:relative;display:grid;grid-template-columns:76px minmax(0,1fr) 24px;gap:11px;align-items:center;min-width:0;padding:9px;background:#f4f0e6;color:#171512;border:2px solid transparent;cursor:pointer;transition:border-color .18s ease,transform .18s ease,opacity .18s ease}
.bundle-option:hover{transform:translateY(-2px)}
.bundle-option:has(input:checked){border-color:#c8ff00;box-shadow:3px 3px 0 #c8ff00}
.bundle-option:has(input:disabled:not(:checked)){opacity:.42;cursor:not-allowed}
.bundle-option input{position:absolute;top:9px;left:9px;width:20px;height:20px;z-index:2;accent-color:#85b900;cursor:pointer}
.bundle-option input:focus-visible{outline:3px solid #d91621;outline-offset:3px}
.bundle-option img{width:76px;height:70px;object-fit:cover;background:#fff}
.bundle-option>span{display:flex;flex-direction:column;gap:5px;min-width:0}
.bundle-option strong{font:17px/.95 'Anton',sans-serif;letter-spacing:.2px}
.bundle-option small{font-size:11px;font-weight:800;color:#555}
.bundle-option>b{display:grid;place-items:center;width:22px;height:22px;border:1px solid #999;border-radius:50%;color:transparent;font-size:13px}
.bundle-option:has(input:checked)>b{background:#c8ff00;border-color:#111;color:#111}
.accessory-policy-panel{padding:48px 0 52px;background:#f4f0e6;color:#171512;border-top:1px solid rgba(255,255,255,.15)}
.accessory-policy-panel .wrap{display:grid;grid-template-columns:minmax(220px,.75fr) minmax(0,1fr);column-gap:42px;row-gap:12px;align-items:start}
.accessory-policy-panel header{grid-row:span 2;padding:11px 0}
.accessory-policy-panel header>p{color:#cf381e}
.accessory-policy-panel h2{margin-top:10px;font:clamp(29px,4vw,43px)/.95 'Anton',sans-serif}
.accessory-policy-panel details{border-top:1px solid rgba(23,21,18,.2)}
.accessory-policy-panel details:last-child{border-bottom:1px solid rgba(23,21,18,.2)}
.accessory-policy-panel summary{position:relative;padding:14px 32px 14px 0;font-size:13px;font-weight:900;cursor:pointer;list-style:none}
.accessory-policy-panel summary::-webkit-details-marker{display:none}
.accessory-policy-panel summary::after{content:'+';position:absolute;right:3px;top:8px;font:24px 'Anton',sans-serif;color:#cf381e;transition:transform .18s ease}
.accessory-policy-panel details[open] summary::after{transform:rotate(45deg)}
.accessory-policy-panel details p{max-width:700px;padding:0 22px 16px 0;color:#4a4640;font-size:12px;line-height:1.65}
.accessory-policy-panel summary:focus-visible{outline:2px solid #cf381e;outline-offset:2px}
.accessory-policy-panel--product{background:var(--character-story);color:var(--character-light);border:0}
.accessory-policy-panel--product header>p{color:var(--character-accent)}
.accessory-policy-panel--product h2{color:var(--character-light)}
.accessory-policy-panel--product details{border-color:var(--character-muted-border)}
.accessory-policy-panel--product details p{color:var(--character-muted)}
.accessory-policy-panel--product summary::after{color:var(--character-accent)}
.accessory-policy-panel--product summary:focus-visible{outline-color:var(--character-accent)}
@media(max-width:760px){
 .bundle-builder{grid-template-columns:1fr;gap:22px;margin-top:30px}
 .bundle-builder__options{gap:9px}
 .bundle-option{grid-template-columns:60px minmax(0,1fr) 22px;gap:8px;padding:7px}
 .bundle-option img{width:60px;height:62px}
 .bundle-option strong{font-size:15px}
 .accessory-policy-panel .wrap{grid-template-columns:1fr;row-gap:6px}
 .accessory-policy-panel header{grid-row:auto;padding:0 0 11px}
}
@media(max-width:440px){
 .bundle-builder__options{grid-template-columns:1fr}
 .bundle-option{grid-template-columns:76px minmax(0,1fr) 24px;padding:8px}
 .bundle-option img{width:76px;height:66px}
}
@media(prefers-reduced-motion:reduce){.bundle-option,.accessory-policy-panel summary::after{transition:none}}

/* Mobile purchase bar, gallery/lightbox, and delivery PIN check (shared cart/saved chrome now lives in styles.css). */
.mobile-buy-bar button:focus-visible{outline:3px solid #ff6b1a;outline-offset:3px}
.mobile-buy-bar{position:fixed;z-index:90;right:0;bottom:0;left:0;display:none;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:rgba(14,12,13,.96);border-top:1px solid rgba(255,255,255,.2);box-shadow:0 -8px 24px rgba(0,0,0,.22);transform:translateY(110%);transition:transform .22s ease}
.mobile-buy-bar--visible{transform:translateY(0)}
.mobile-buy-bar__price{display:flex;flex-direction:column;gap:3px;color:#fff}
.mobile-buy-bar__price small{font-size:8px;font-weight:900;letter-spacing:1.5px;opacity:.7}
.mobile-buy-bar__price strong{font:27px/.95 'Anton',sans-serif;color:var(--character-accent)}
.mobile-buy-bar__button{width:auto;min-width:145px;margin:0;padding:13px 15px}
.accessory-gallery__viewport{position:relative;z-index:1;display:grid;place-items:center;width:min(100%,570px);height:min(65vh,545px);aspect-ratio:1;overflow:hidden;border:8px solid var(--character-light);border-radius:3px;background:var(--character-light);box-shadow:0 24px 38px var(--character-shadow),8px 8px 0 var(--character-border);transform:rotate(-2deg)}
.accessory-gallery__viewport .accessory-product-image{position:relative;z-index:1;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain;border:0;border-radius:0;background:transparent;box-shadow:none;transform:scale(1);transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.accessory-gallery__viewport[data-view="detail"] .accessory-product-image{transform:scale(var(--gallery-detail-scale,1.5))}
.accessory-page--keys .accessory-gallery__viewport{transform:rotate(-5deg);border-radius:50% 50% 8px 8px;border-width:7px}
.accessory-page--mug .accessory-gallery__viewport{width:min(100%,620px);height:min(70vh,590px);border-radius:43% 43% 8px 8px;border-width:12px;transform:rotate(1.5deg)}
/* Immersive frames (pin set, phone case): the photo fills the frame edge to edge with no cream mat. The frame is sized to the photo, a glow in the page's own theme colours sits behind it, and the view controls sit under the frame so they never cover the product. */
.accessory-page--pin{--frame-ratio:4/3;--frame-width:min(100%,680px,96vh);--frame-tilt:2deg;--frame-radius:16px;--frame-glow:linear-gradient(135deg,#fff0a8 0%,#ffcf45 45%,#ff8a2b 100%);--frame-edge:rgba(48,30,8,.85);--frame-shadow:rgba(46,27,6,.8)}
.accessory-page--case{--frame-ratio:4/5;--frame-width:min(84%,450px,58vh);--frame-tilt:4deg;--frame-radius:30px;--frame-glow:linear-gradient(135deg,#e6dcff 0%,#a58bff 50%,#e07ad2 100%);--frame-edge:rgba(16,13,45,.85);--frame-shadow:rgba(13,10,40,.8)}
.accessory-page--pin .accessory-stage,.accessory-page--case .accessory-stage{padding:25px 0 86px}
.accessory-frame{position:relative;z-index:1;width:var(--frame-width);aspect-ratio:var(--frame-ratio);transform:rotate(var(--frame-tilt))}
.accessory-frame::before{content:"";position:absolute;z-index:-1;inset:-4%;border-radius:var(--frame-radius);background:var(--frame-glow,linear-gradient(135deg,var(--character-accent),var(--character-hot)));filter:blur(40px);opacity:.9;pointer-events:none}
.accessory-frame .accessory-gallery__viewport{position:absolute;inset:0;width:auto;height:auto;aspect-ratio:auto;border:0;border-radius:var(--frame-radius);background:var(--character-story);box-shadow:0 0 0 1px var(--frame-edge,rgba(12,6,30,.85)),0 30px 54px -14px var(--frame-shadow,rgba(14,4,32,.8));transform:none}
.accessory-frame .accessory-gallery__viewport::after{content:"";position:absolute;z-index:2;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.16),inset 0 0 70px rgba(8,4,24,.4);pointer-events:none}
.accessory-frame .accessory-gallery__viewport .accessory-product-image{position:absolute;inset:0;object-fit:cover}
.accessory-frame .char-stage__caption{top:-13px;bottom:auto;left:-14px;transform:rotate(-5deg)}
.accessory-page--pin .accessory-gallery-controls,.accessory-page--case .accessory-gallery-controls{bottom:18px}
.accessory-page--pin .char-hero__copy,.accessory-page--case .char-hero__copy{z-index:4}
@media(max-width:920px){.accessory-page--pin{--frame-width:min(94%,680px,96vh)}}
@media(max-width:680px){.accessory-page--pin .accessory-stage,.accessory-page--case .accessory-stage{aspect-ratio:auto;padding:26px 0 78px}.accessory-page--pin .accessory-stage .char-sticker,.accessory-page--case .accessory-stage .char-sticker{top:-8px;right:-8px}.accessory-frame .char-stage__caption{top:-10px;left:-6px}}
.accessory-page--case .accessory-gallery__viewport .accessory-product-image{--gallery-detail-scale:1.8}
.accessory-page--pin .accessory-gallery__viewport .accessory-product-image{--gallery-detail-scale:1.6}
.accessory-page--keys .accessory-gallery__viewport .accessory-product-image{--gallery-detail-scale:1.7}
.accessory-gallery-controls{position:absolute;z-index:6;left:50%;bottom:9%;display:flex;align-items:center;gap:7px;width:max-content;max-width:calc(100% - 24px);padding:6px;background:rgba(15,12,13,.9);border:1px solid var(--character-ring);transform:translateX(-50%);box-shadow:0 5px 15px rgba(0,0,0,.28)}
.gallery-thumb{display:flex;align-items:center;gap:6px;min-width:0;padding:4px 6px;border:1px solid transparent;background:transparent;color:var(--character-light);font-size:8px;font-weight:900;letter-spacing:.7px;white-space:nowrap;cursor:pointer}
.gallery-thumb img{width:38px;height:32px;object-fit:cover;background:#fff}
.gallery-thumb .gallery-thumb__crop{transform:scale(1.7);clip-path:inset(20.6%)}
.gallery-thumb.is-active{border-color:var(--character-accent);background:rgba(255,255,255,.13)}
.gallery-thumb:focus-visible,.gallery-zoom-button:focus-visible{outline:2px solid var(--character-light);outline-offset:2px}
.gallery-zoom-button{padding:8px 10px;border:1px solid var(--character-accent);background:var(--character-accent);color:var(--character-ink);font-size:8px;font-weight:900;letter-spacing:1px;cursor:pointer}
.product-zoom{position:fixed;inset:0;max-width:none;max-height:none;width:100%;height:100%;margin:0;padding:clamp(20px,5vw,55px);border:0;background:rgba(8,7,8,.95);color:#fff;place-items:center}
.product-zoom[open]{display:grid}
.product-zoom::backdrop{background:rgba(8,7,8,.94)}
.product-zoom img{grid-area:1/1;width:min(100%,1000px);height:min(78vh,850px);object-fit:contain}
.product-zoom__close{position:absolute;top:18px;right:18px;padding:12px 15px;border:1px solid #fff;background:#151313;color:#fff;font-size:10px;font-weight:900;letter-spacing:1px;cursor:pointer}
.delivery-checker{grid-column:2;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:18px;align-items:start;margin-top:10px;padding:17px;background:rgba(200,255,0,.1);border:1px solid rgba(200,255,0,.35)}
.delivery-checker__eyebrow{color:#c8ff00;font-size:8px;font-weight:900;letter-spacing:1.8px}
.delivery-checker label{display:block;margin-top:6px;font-size:13px;font-weight:900}
.delivery-checker__hint{margin-top:5px;color:var(--character-muted);font-size:10px;line-height:1.5}
.delivery-checker__form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:start}
.delivery-checker input{width:100%;min-width:0;padding:11px 10px;border:1px solid rgba(255,255,255,.42);background:rgba(0,0,0,.25);color:var(--character-light);font:700 13px 'Archivo',sans-serif;letter-spacing:1px}
.delivery-checker input::placeholder{color:var(--character-muted)}
.delivery-checker input[aria-invalid="true"]{border-color:#ff6b35;box-shadow:0 0 0 2px rgba(255,107,53,.28)}
.delivery-checker input:focus-visible,.delivery-checker button:focus-visible{outline:2px solid var(--character-accent);outline-offset:2px}
.delivery-checker button{padding:12px 11px;border:0;background:var(--character-accent);color:var(--character-ink);font-size:9px;font-weight:900;letter-spacing:.7px;cursor:pointer}
.delivery-checker__status{grid-column:1/-1;min-height:14px;color:var(--character-accent);font-size:10px;line-height:1.45}
@media(max-width:760px){
 .mobile-buy-bar{display:flex}
 .delivery-checker{grid-column:1;grid-template-columns:1fr;gap:12px}
}
@media(max-width:640px){
 .accessory-gallery__viewport{height:auto;max-height:none;width:min(100%,430px);aspect-ratio:1}
 .accessory-page--mug .accessory-gallery__viewport{height:auto;aspect-ratio:1}
 .accessory-gallery-controls{bottom:9%;gap:3px;padding:4px}
 .gallery-thumb{gap:4px;padding:3px;font-size:7px}
 .gallery-thumb img{width:30px;height:26px}
 .gallery-zoom-button{padding:7px 8px;font-size:7px}
 .delivery-checker__form{grid-template-columns:minmax(0,1fr) auto}
}
@media(max-width:380px){
 .mobile-buy-bar{padding-right:10px;padding-left:10px;gap:8px}
 .mobile-buy-bar__button{min-width:125px;padding:12px 10px}
 .gallery-thumb span{display:none}
}
@media(prefers-reduced-motion:reduce){.mobile-buy-bar,.accessory-gallery__viewport .accessory-product-image{transition:none}}
.accessory-policy-panel:not(.accessory-policy-panel--product) .delivery-checker__eyebrow{color:#426100}
.accessory-policy-panel:not(.accessory-policy-panel--product) .delivery-checker__hint{color:#57524c}
.accessory-policy-panel:not(.accessory-policy-panel--product) .delivery-checker input{border-color:#8a857e;background:#fff;color:#171512}
.accessory-policy-panel:not(.accessory-policy-panel--product) .delivery-checker input::placeholder{color:#777}
.accessory-policy-panel:not(.accessory-policy-panel--product) .delivery-checker button{background:#171512;color:#fff}
.accessory-policy-panel:not(.accessory-policy-panel--product) .delivery-checker__status{color:#426100}

/* The accessory palettes only set the main colours; these fill in the tints (nav, shadows, borders) that otherwise stayed red. */
body.accessory-page--pin{--character-nav:rgba(112,69,15,.5);--character-shadow:rgba(64,43,23,.5);--character-soft-shade:rgba(64,43,23,.24);--character-text-shadow:rgba(64,43,23,.4);--character-button-shadow:rgba(32,23,13,.5);--character-border:#20170d;--character-card-ink:#21100b;--character-final-ink:#21100b;--character-accent-bright:#ffe077;--character-accent-soft:rgba(255,224,119,.18);--character-accent-halo:rgba(255,224,119,.08);--character-accent-halo-strong:rgba(255,224,119,.045);--character-accent-inset:rgba(255,224,119,.1);--character-ring:rgba(255,224,119,.53);--character-glow-faint:rgba(234,87,50,.22);--character-muted:rgba(255,243,216,.76);--character-muted-border:rgba(255,243,216,.4);--character-muted-border-strong:rgba(255,243,216,.5);--character-muted-strong:rgba(255,243,216,.95)}
body.accessory-page--keys{--character-nav:rgba(7,87,104,.5);--character-shadow:rgba(6,54,66,.5);--character-soft-shade:rgba(6,54,66,.24);--character-text-shadow:rgba(6,54,66,.4);--character-button-shadow:rgba(7,59,67,.5);--character-card-ink:#06272b;--character-final-ink:#06272b;--character-accent-bright:#c8ff00;--character-accent-halo-strong:rgba(200,255,0,.045);--character-accent-inset:rgba(200,255,0,.1);--character-muted:rgba(239,255,248,.76);--character-muted-border:rgba(239,255,248,.4);--character-muted-border-strong:rgba(239,255,248,.5);--character-muted-strong:rgba(239,255,248,.95)}
body.accessory-page--mug{--character-nav:rgba(112,36,23,.5);--character-shadow:rgba(66,27,25,.5);--character-soft-shade:rgba(66,27,25,.24);--character-text-shadow:rgba(66,27,25,.4);--character-button-shadow:rgba(33,16,13,.5);--character-border:#21100d;--character-card-ink:#32180d;--character-final-ink:#32180d;--character-accent-bright:#ffe077;--character-accent-soft:rgba(255,224,119,.18);--character-accent-halo:rgba(255,224,119,.08);--character-accent-halo-strong:rgba(255,224,119,.045);--character-accent-inset:rgba(255,224,119,.1);--character-ring:rgba(255,224,119,.53);--character-glow-faint:rgba(255,189,54,.22);--character-muted:rgba(255,242,223,.76);--character-muted-border:rgba(255,242,223,.4);--character-muted-border-strong:rgba(255,242,223,.5);--character-muted-strong:rgba(255,242,223,.95)}
body.accessory-page--case{--character-nav:rgba(40,35,102,.5);--character-shadow:rgba(24,22,63,.5);--character-soft-shade:rgba(24,22,63,.24);--character-text-shadow:rgba(24,22,63,.4);--character-button-shadow:rgba(16,13,45,.5);--character-border:#100d2d;--character-card-ink:#17123a;--character-final-ink:#17123a;--character-accent-bright:#d8ceff;--character-accent-soft:rgba(216,206,255,.18);--character-accent-halo:rgba(216,206,255,.08);--character-accent-halo-strong:rgba(216,206,255,.045);--character-accent-inset:rgba(216,206,255,.1);--character-ring:rgba(216,206,255,.53);--character-glow-faint:rgba(219,106,202,.22);--character-muted:rgba(247,239,255,.76);--character-muted-border:rgba(247,239,255,.4);--character-muted-border-strong:rgba(247,239,255,.5);--character-muted-strong:rgba(247,239,255,.95)}

/* Save button and GST note on product pages */
.char-save{display:inline-flex;align-items:center;gap:8px;margin-top:14px;padding:9px 12px;border:1px solid var(--character-muted-border-strong,rgba(255,255,255,.4));background:transparent;color:var(--character-light,#fff);font-size:9px;font-weight:900;letter-spacing:1.2px;cursor:pointer;transition:border-color .18s ease,color .18s ease}
.char-save svg{width:16px;height:16px}
.char-save:hover,.char-save.is-favorite{border-color:var(--character-accent);color:var(--character-accent)}
.char-save:focus-visible{outline:2px solid #ff6b1a;outline-offset:3px}
.char-save.is-favorite svg path{fill:currentColor}
.char-price__tax{margin-top:5px;font-style:normal;font-size:8px;font-weight:900;letter-spacing:1.3px;text-transform:uppercase;opacity:.82}
@media(prefers-reduced-motion:reduce){.char-save{transition:none}}

/* ===== Phone layout on accessory pages: product photo first, then the name, details and price ===== */
@media(max-width:680px){
  .accessory-hero>.accessory-stage{order:1;margin-top:40px}
  .accessory-hero>.char-hero__copy{order:2}
  .accessory-page .char-kicker{margin-top:22px}
  .accessory-page .char-hero h1{margin-top:12px}
  .accessory-page--pin .accessory-stage,.accessory-page--case .accessory-stage{margin-top:46px}
  /* Keep the photo a sensible size on large phones so the name stays close to the first screen */
  .accessory-hero>.accessory-stage{width:min(100%,430px);align-self:center}
  .accessory-page--pin .accessory-hero>.accessory-stage,.accessory-page--case .accessory-hero>.accessory-stage{width:100%}
  .accessory-page--pin{--frame-width:min(94%,460px,96vh)}
  .accessory-page--case{--frame-width:min(72%,300px,58vh)}
}
