/*
Theme Name: Marlsbox
Description: The Marlsbox shop. White and orange, the confetti is the only decoration. See docs/DESIGN.md in the repo.
Version: 0.1.0
Requires PHP: 8.1
Text Domain: marlsbox
*/
/* Layout: a white shop on a paper-grey desk. Each mock-up is a framed screen; orange is spent only on actions. */
@font-face{font-family:'Gabarito';font-style:normal;font-weight:500 900;font-display:swap;src:url(fonts/gabarito-1.woff2) format('woff2')}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/hanken-grotesk-1.woff2) format('woff2')}
:root{--paper:#f3f1ee;--white:#ffffff;--ink:#1c1a18;--soft:#6b655f;--line:#e4dfd9;--orange:#f47b0a;--orange-ink:#b85400;--tint:#fff3e6;
--display:"Gabarito","Trebuchet MS",Arial,sans-serif;--body:"Hanken Grotesk",system-ui,-apple-system,"Segoe UI",sans-serif}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.55 var(--body)}
.wrap{max-width:1180px;margin:0 auto;padding-block:40px 80px;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));display:grid;gap:56px}
h1,h2,h3{font-family:var(--display);line-height:1.02;margin:0;text-wrap:balance;letter-spacing:-.015em}
.top h1{font-size:clamp(34px,6vw,60px);font-weight:800}
.top p{max-width:62ch;color:var(--soft);margin:14px 0 0}
.note{display:grid;gap:10px}
.note h2{font-size:clamp(24px,3.4vw,34px);font-weight:700}
.note p{margin:0;max-width:66ch;color:var(--soft)}
.screen{background:var(--white);border:1px solid var(--line);border-radius:14px;overflow:hidden}
a{color:inherit}
.bar{background:var(--ink);color:var(--white);font-size:13px;text-align:center;padding:8px 16px}
.bar b{color:#ffb061}
.nav{display:flex;align-items:center;gap:22px;padding:14px 24px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.mk{width:38px;height:38px;flex:0 0 auto}
.marks{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.marks figure{margin:0;background:var(--white);border:1px solid var(--line);border-radius:14px;padding:26px 20px 18px;display:grid;gap:16px;justify-items:center;min-width:0}
.marks .row{display:flex;align-items:center;gap:12px;min-height:84px}
.marks .wm{font:900 34px var(--display);letter-spacing:-.03em}
.marks .wm i{display:inline-block;width:.56em;height:.56em;border-radius:50%;background:var(--orange);margin:0 .02em}
.marks figcaption{font-size:14px;color:var(--soft);text-align:center}
.marks figcaption b{display:block;color:var(--ink);font:700 17px var(--display)}
.marks img{width:84px;height:84px}
.marks .bx{background:var(--orange);color:var(--white);padding:.02em .22em .08em;border-radius:.2em;margin-left:.08em}
.marks .tl{display:inline-flex;align-items:center;gap:2px}
.marks .rev{background:var(--orange);border-color:var(--orange)}
.marks .rev .wm{color:var(--white)}
.marks .rev figcaption,.marks .rev figcaption b{color:var(--ink)}
.nav .brand{font:900 24px var(--display);letter-spacing:-.03em;margin-right:auto}
.nav a{text-decoration:none;font-weight:500;font-size:15px}
.nav .bag{border:1.5px solid var(--ink);border-radius:999px;padding:6px 14px}
.hero{position:relative;background:var(--white) url(hero-home.jpg) right center/cover no-repeat;padding:clamp(28px,6vw,72px) 24px}
.hero .in{max-width:520px;display:grid;gap:18px}
.hero h3{font-size:clamp(40px,7vw,78px);font-weight:800}
.hero h3 em{font-style:normal;color:var(--orange)}
.hero p{margin:0;font-size:18px;max-width:34ch}
.cta{display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-block;background:var(--orange);color:var(--ink);font:700 16px var(--body);padding:14px 24px;border-radius:12px;text-decoration:none;border:0;cursor:pointer}
.btn.ghost{background:var(--white);border:1.5px solid var(--ink)}
.btn:focus-visible,.sw:focus-visible,.opt:focus-visible,a:focus-visible{outline:3px solid var(--orange-ink);outline-offset:2px}
.shapes{display:flex;gap:6px;overflow-x:auto;padding:18px 24px;border-top:1px solid var(--line)}
.shape{flex:0 0 auto;display:grid;justify-items:center;gap:6px;width:92px;text-decoration:none;font-size:13px;font-weight:500}
.shape svg{fill:var(--orange)}
.band{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.promo{position:relative;border-radius:14px;overflow:hidden;border:1px solid var(--line);min-height:250px;display:flex;align-items:center;background-size:cover;background-repeat:no-repeat;padding:28px}
.promo.x{background-image:url(banner-christmas.jpg);background-position:right center;background-color:var(--white)}
.promo.w{background-image:url(banner-wedding.jpg);background-position:left center;justify-content:flex-end;background-color:#fbf7f2}
.promo .in{max-width:270px;display:grid;gap:10px;justify-items:start}
.promo h3{font-size:clamp(28px,3.6vw,40px);font-weight:800}
.promo p{margin:0;font-size:15px}
.crumb{font-size:13px;color:var(--soft);padding:16px 24px 0}
.colhead{padding:8px 24px 20px;display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.colhead .chip{width:64px;height:64px;border-radius:50%;background:url(sw-REDG.jpg) center/cover;border:1px solid var(--line);flex:0 0 auto}
.colhead h3{font-size:clamp(28px,4.4vw,46px);font-weight:800}
.colhead p{margin:4px 0 0;color:var(--soft);max-width:60ch}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border-top:1px solid var(--line)}
.tile{background:var(--white);padding:14px 16px 18px;display:grid;gap:2px;text-decoration:none}
.tile img{width:100%;aspect-ratio:1;object-fit:cover;display:block}
.tile b{font:700 18px var(--display)}
.tile span{font-size:13px;color:var(--soft)}
.pdp{display:grid;grid-template-columns:1.05fr 1fr;gap:0}
.gal{padding:20px;display:grid;gap:10px;border-right:1px solid var(--line);min-width:0}
.gal .main{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;display:block}
.thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.thumbs figure{margin:0;display:grid;gap:4px}
.thumbs img{width:100%;aspect-ratio:1;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:var(--white);display:block}
.thumbs figcaption{font-size:12px;color:var(--soft)}
.buy{padding:26px 24px;display:grid;gap:18px;align-content:start;min-width:0}
.buy h3{font-size:clamp(28px,4vw,42px);font-weight:800}
.buy .sub{color:var(--soft);margin:0}
.lab{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--soft);font-weight:600;margin:0 0 8px}
.lab b{color:var(--ink);letter-spacing:0;text-transform:none;font-size:14px;margin-left:6px}
.opts{display:flex;gap:8px;flex-wrap:wrap}
.opt{border:1.5px solid var(--line);background:var(--white);color:var(--ink);border-radius:10px;padding:8px 12px;font:500 14px var(--body);cursor:pointer;text-align:left}
.opt small{display:block;color:var(--soft);font-size:12px}
.opt.on{border-color:var(--ink);background:var(--tint)}
.sws{display:grid;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px;max-width:420px}
.sw{aspect-ratio:1;border-radius:50%;border:1px solid #a39b92;background-size:cover;cursor:pointer;padding:0}
.sw.on{outline:2.5px solid var(--ink);outline-offset:2px}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.price{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.price b{font:800 34px var(--display)}
.price span{color:var(--soft);font-size:14px}
.facts{margin:0;padding:0;list-style:none;display:grid;gap:6px;font-size:14px;border-top:1px solid var(--line);padding-top:16px}
.ba{display:grid;grid-template-columns:1fr 2fr;gap:16px}
.ba figure{margin:0;background:var(--white);border:1px solid var(--line);border-radius:14px;padding:14px;display:grid;gap:10px;align-content:start;min-width:0}
.ba img{width:100%;display:block;border-radius:6px}
.ba figcaption{font-size:14px;color:var(--soft)}
.ba figcaption b{color:var(--ink);display:block;font:700 17px var(--display)}
.after{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media (max-width:1000px){.marks{grid-template-columns:repeat(2,1fr)}}
@media (max-width:760px){.band,.pdp,.ba{grid-template-columns:1fr}.grid{grid-template-columns:repeat(2,1fr)}.gal{border-right:0;border-bottom:1px solid var(--line)}
.nav a.l{display:none}.promo.w{justify-content:flex-start}}

/* ---- prototype additions ---- */
.site{max-width:1240px;margin:0 auto;background:var(--white);min-height:100vh;border-left:1px solid var(--line);border-right:1px solid var(--line)}
.pad{padding:28px 24px}
.nav a.brandlink{display:flex;align-items:center;gap:10px;margin-right:auto;text-decoration:none}
.nav .brand{margin-right:0}
.sec{padding:34px 24px;display:grid;gap:18px;border-top:1px solid var(--line)}
.sec>h2{font-size:clamp(24px,3.2vw,34px);font-weight:800}
.sec>p{margin:0;color:var(--soft);max-width:64ch}
.grid.five{grid-template-columns:repeat(5,1fr)}
.grid{border-bottom:1px solid var(--line)}
.tile img{background:var(--white)}
.pagehead{position:relative;padding:clamp(26px,5vw,56px) 24px;background-color:var(--white);background-size:cover;background-position:right center;background-repeat:no-repeat;border-bottom:1px solid var(--line)}
.pagehead .in{max-width:520px;display:grid;gap:12px}
.pagehead h1{font-size:clamp(32px,5.4vw,58px);font-weight:800}
.pagehead p{margin:0;font-size:17px;max-width:44ch}
.swgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:14px}
.swgrid a{display:grid;gap:6px;justify-items:center;text-decoration:none;font-size:13px;font-weight:500;text-align:center}
.swgrid img{width:72px;height:72px;border-radius:50%;border:1px solid var(--line)}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{border:1.5px solid var(--line);border-radius:999px;padding:7px 14px;text-decoration:none;font-weight:500;font-size:14px;background:var(--white)}
.chip:hover{border-color:var(--ink)}
.three{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.three .promo{min-height:200px}
.made{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.made div{display:grid;gap:6px;align-content:start}
.made b{font:700 19px var(--display)}
.made span{color:var(--soft);font-size:15px}
.qty{display:flex;align-items:center;gap:10px}
.qty button{width:44px;height:44px;border-radius:10px;border:1.5px solid var(--ink);background:var(--white);font:700 18px var(--body);cursor:pointer;color:var(--ink)}
.qty output{font:700 18px var(--display);min-width:2ch;text-align:center}
.ladder{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.ladder .tier{border:1.5px solid var(--ink);border-radius:12px;padding:10px 12px;font:400 13px/1.45 var(--body);color:var(--soft);background:var(--white);text-align:left;cursor:pointer}.ladder .tier:hover{background:var(--tint)}.ladder .tier.on{background:var(--ink);color:#fff}.ladder .tier.on b{color:#fff}.ladder .tier.on .amt{color:var(--orange)}.ladder .amt{display:block;color:var(--orange-ink);font:800 17px var(--display)}.ladder .tier:focus-visible{outline:3px solid var(--orange-ink);outline-offset:2px}
.ladder b{display:block;color:var(--ink);font:700 15px var(--display)}
.gal .main{object-fit:contain;background:var(--white);border:1px solid var(--line)}
.thumbs{grid-template-columns:repeat(4,1fr)}
.thumbs button{padding:0;border:0;background:none;cursor:pointer;display:grid;gap:4px;text-align:left;font:inherit;color:inherit}
.thumbs button.on img{border-color:var(--ink)}
.thumbs span{font-size:12px;color:var(--soft)}
@media (max-width:900px){.grid.five{grid-template-columns:repeat(3,1fr)}.three,.made{grid-template-columns:1fr}}
@media (max-width:760px){.grid.five{grid-template-columns:repeat(2,1fr)}}
.pers{border:1.5px solid var(--line);border-radius:12px;padding:12px 14px;display:grid;gap:10px}
.tog{display:flex;gap:10px;align-items:center;font-weight:600;cursor:pointer}
.tog input{width:18px;height:18px;accent-color:var(--orange)}
.pers textarea{width:100%;border:1.5px solid var(--line);border-radius:10px;padding:10px;font:500 15px var(--body);color:var(--ink);background:var(--white);resize:vertical}
.pers .hint{margin:0;font-size:13px;color:var(--soft)}
.prev{display:flex;gap:14px;align-items:center;font-size:13px;color:var(--soft)}
.prev svg{width:120px;height:120px;flex:0 0 auto}
#pers-body:not([hidden]){display:grid;gap:10px}
.tile img,.gal .main,.thumbs img{height:auto}
.thumbs button{min-width:0}
.thumbs img{min-width:0}
.grid{background:var(--white);gap:0}
.tile{outline:1px solid var(--line);outline-offset:-.5px;min-width:0}
.site{overflow-x:clip}
.buy h3,.sub{overflow-wrap:anywhere}
/* ---- theme additions ---- */
.skip{position:absolute;left:-999px}.skip:focus{left:8px;top:8px;background:var(--white);padding:8px 12px;z-index:9}
.hero h1{font-size:clamp(40px,7vw,78px);font-weight:800}
.hero h1 em{font-style:normal;color:var(--orange)}
.buy h1{font-size:clamp(28px,4vw,42px);font-weight:800}
.promo{border-radius:14px}
.plain{padding:34px 24px;max-width:1000px}
.plain h1{font-size:clamp(28px,4vw,44px);font-weight:800;margin-bottom:18px}
.plain .content{display:grid;gap:14px}
.notices{padding:0 24px}
.notices .woocommerce-message,.notices .woocommerce-error,.notices .woocommerce-info{list-style:none;margin:14px 0 0;padding:12px 16px;border:1.5px solid var(--ink);border-radius:10px;background:var(--tint);display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.notices .button{margin-left:auto;order:2;background:var(--ink);color:var(--white);border-radius:999px;padding:8px 16px;text-decoration:none;font-weight:600}
.btn[disabled]{opacity:.45;cursor:not-allowed}
.woocommerce a.button.alt,.woocommerce button.button.alt,.wc-block-components-button:not(.is-link){background:var(--orange)!important;color:var(--ink)!important;border-radius:999px!important;font-weight:700}
/* ---- banners: picture beside the words on a wide screen, above them on a phone ---- */
.hero,.promo,.pagehead{background-image:linear-gradient(90deg,#fff 0,#fff 36%,rgba(255,255,255,0) 60%),var(--bg);background-position:right center;background-size:cover;background-repeat:no-repeat;background-color:#fff}
@media (max-width:760px){.hero,.promo,.pagehead{background-image:var(--bgm);background-size:100% auto;background-position:center top;padding-top:calc(48% + 20px)}
.promo{min-height:0;align-items:flex-start}.promo .in{max-width:none}}
.gal .main{touch-action:pan-y;cursor:pointer}
.buy{grid-template-columns:minmax(0,1fr)}
.sw{display:block}
.about .two{display:grid;grid-template-columns:1fr 1fr;gap:28px;max-width:1000px}
.about h3{font:700 18px var(--display);margin:0 0 6px}
.about p{margin:0 0 8px;color:var(--soft);max-width:60ch}
.about a{color:var(--ink)}
@media (max-width:760px){.about .two{grid-template-columns:1fr;gap:18px}}
.gal{align-content:start}
/* ---- build your table ---- */
.bt{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);border-bottom:1px solid var(--line)}
.bt-stage{padding:20px;border-right:1px solid var(--line);background:var(--paper);position:sticky;top:0;align-self:start}
.bt-stage canvas{display:block;width:100%}
.bt-under{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:10px;font-size:14px;color:var(--soft)}
.bt-panel{padding:26px 24px;display:grid;gap:18px;align-content:start}
.bt-panel h1{font-size:clamp(28px,4vw,42px);font-weight:800}
.bt-panel fieldset{border:0;border-top:1px solid var(--line);margin:0;padding:16px 0 0;display:grid;gap:12px;min-width:0}
.bt-panel legend{font:700 17px var(--display);padding:0;float:left;width:100%;margin-bottom:2px}
.bt-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.bt-row select{font:500 15px var(--body);padding:8px 10px;border:1.5px solid var(--line);border-radius:10px;background:var(--white);color:var(--ink)}
.seg{display:inline-flex;border:1.5px solid var(--ink);border-radius:999px;overflow:hidden}
.seg button{border:0;background:var(--white);color:var(--ink);font:600 14px var(--body);padding:8px 16px;cursor:pointer}
.seg button.on{background:var(--ink);color:var(--white)}
.bt-shapes{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:6px;max-height:212px;overflow-y:auto;border:1.5px solid var(--line);border-radius:12px;padding:8px}
.bt-shapes .shape{border:1.5px solid transparent;border-radius:10px;background:none;padding:6px 2px;display:grid;justify-items:center;gap:2px;font:500 11px var(--body);color:var(--ink);cursor:pointer}
.bt-shapes .shape svg{fill:var(--soft)}
.bt-shapes .shape.on{border-color:var(--ink);background:var(--tint)}.bt-shapes .shape.on svg{fill:var(--orange)}
#bt-cloth .sw,#bt-colours .sw{width:34px}#bt-cloth{display:flex;gap:8px;max-width:none}
.sw.on{outline:2px solid var(--ink);outline-offset:2px}
.bt-lines{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.bt-lines li{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:center}
.bt-lines i{width:28px;height:28px;border-radius:50%;background-size:cover;border:1px solid var(--line)}
.bt-lines span{font-weight:600;font-size:14px;line-height:1.3}.bt-lines small{display:block;font-weight:400;color:var(--soft)}
.bt-lines .qty button{width:32px;height:32px}
.bt-total{border-top:1.5px solid var(--ink);padding-top:16px;display:grid;gap:10px;justify-items:start}
.bt-panel .hint{margin:0;font-size:13px;color:var(--soft)}
@media (max-width:860px){.bt{grid-template-columns:minmax(0,1fr)}.bt-stage{border-right:0;border-bottom:1px solid var(--line);padding:12px;z-index:3}}
.fee{font-weight:500;color:var(--soft);font-size:14px;margin-left:4px}
.pers input[type=text]{width:100%;border:1.5px solid var(--line);border-radius:10px;padding:10px;font:500 16px var(--body);color:var(--ink);background:var(--white)}
.prev svg{width:150px;height:150px}
.need{border:1.5px solid var(--line);border-radius:12px;padding:12px 14px}
.need summary,.faq summary{font-weight:600;cursor:pointer}
.need-in{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:12px;font-size:14px;color:var(--soft)}
.need-in label{display:grid;gap:4px;min-width:0}.need-in label:first-child{grid-column:1/-1}
.need-in select,.need-in input{font:500 15px var(--body);padding:8px 10px;border:1.5px solid var(--line);border-radius:10px;background:var(--white);color:var(--ink);width:100%;min-width:0}
.need-in p{grid-column:1/-1;margin:0;color:var(--ink);font-weight:600}.need-in .chip{justify-self:start;color:var(--ink)}
.setrow{padding:18px 24px;display:flex;gap:14px;align-items:center;flex-wrap:wrap;border-top:1px solid var(--line)}
.setrow .hint{margin:0;font-size:14px;color:var(--soft)}
.faq details{border-bottom:1px solid var(--line);padding:12px 0;max-width:760px}
.faq details p{margin:8px 0 0;color:var(--soft)}
.bt-panel{grid-template-columns:minmax(0,1fr)}
.bt-panel legend b,.bt-step b{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--orange);color:var(--white);font:800 14px var(--display);margin-right:8px}
.bt-step{font:700 17px var(--display);margin:0}
#bt-closewrap{padding-top:16px}#bt-closewrap .lab{margin-bottom:6px}#bt-close{border-radius:10px}
.nudge{background:var(--tint);border:1.5px solid var(--orange);border-radius:10px;padding:10px 14px;margin:0 0 6px;max-width:960px}
body.woocommerce-cart .plain,body.woocommerce-checkout .plain{max-width:1240px}
.wc-block-components-checkout-place-order-button,.wc-block-cart__submit-button{font:700 16px var(--body)!important}
/* a phone has no room for the menu beside the logo, so it runs as a row beneath, scrolling sideways if it must */

.plain .content h2{font:700 20px var(--display);margin:14px 0 0}.plain .content p{margin:0;max-width:66ch}
.fonts{display:flex;gap:8px;flex-wrap:wrap}
.fonts label{cursor:pointer}.fonts input{position:absolute;opacity:0}
.fonts span{display:block;border:1.5px solid var(--line);border-radius:10px;padding:6px 12px;font-weight:700;font-size:17px;background:var(--white)}
.fonts input:checked+span{border-color:var(--ink);background:var(--tint)}.fonts input:focus-visible+span{outline:2px solid var(--ink);outline-offset:2px}
.mix>p{font-size:17px;color:var(--ink)}.mix .grid{margin:0 -24px;border-top:1px solid var(--line)}.mix .setrow{padding:0;border:0}
.swgrid a{color:var(--ink)}
.about .h3{font:700 18px var(--display);margin:0 0 6px}
.prev{display:grid;gap:6px}.prev svg{width:100%;height:auto;max-width:520px;background:var(--paper);border-radius:10px;padding:8px}#pers-note{color:var(--ink);font-weight:600}
.scale{display:flex;gap:18px 22px;flex-wrap:wrap;align-items:flex-end;margin:4px 0 22px}.scale figure{margin:0;display:grid;justify-items:center;gap:6px}.scale path{fill:var(--piece);stroke:rgba(0,0,0,.25);stroke-width:.012}.scale figcaption{font-size:12px;color:var(--soft);text-align:center;line-height:1.3}.scale svg{max-width:100%;height:auto}
/* (removed 10 Nov: a rule here told phones to scroll any tapped control to the middle of the screen, which on an iPhone moved the page on every tap of a dropdown) */
.plain .content table{border-collapse:collapse;width:100%;max-width:640px;font-size:15px}.plain .content th,.plain .content td{border-bottom:1px solid var(--line);padding:8px 10px 8px 0;text-align:left}.plain .content a,.plain .back a{color:var(--ink)}.plain .back{margin-top:22px;font-weight:600}
.plain .content figure{margin:6px 0}.plain .content figure img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid var(--line)}
.plain .content figcaption{font-size:13px;color:var(--soft);padding-top:6px}
.plain .content .trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:760px}
.plain .content .wide{max-width:760px}
@media (max-width:560px){.plain .content .trio{grid-template-columns:minmax(0,1fr)}.plain .content .trio.keep{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}}
/* ---- footer ---- */
.foot{background:var(--ink);color:#d9d4cd;font-size:14px;line-height:1.5}
.foot-top{display:grid;grid-template-columns:1.6fr repeat(4,1fr);gap:28px;padding:38px 24px 26px}
.foot summary{font:700 13px var(--body);letter-spacing:.08em;text-transform:uppercase;color:var(--white);margin:0 0 8px;list-style:none;cursor:default}.foot summary::-webkit-details-marker{display:none}
.foot nav a{display:block;color:#d9d4cd;text-decoration:none;padding:3px 0}.foot a:hover,.foot a:focus-visible{color:var(--white);text-decoration:underline}
.foot-brand .brandlink{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--white)}.foot-brand .brand{font:900 24px var(--display);letter-spacing:-.03em}.foot-brand .mk{width:36px;height:36px}
.foot-brand p{margin:12px 0 0;max-width:36ch}.foot-brand .btn{display:inline-block;margin-top:2px}
.foot-end{border-top:1px solid #3a3733;padding:14px 24px 18px;display:flex;gap:6px 24px;justify-content:space-between;flex-wrap:wrap;font-size:13px;color:#b8b2aa}.foot-end a{color:#d9d4cd}
@media (min-width:761px){.foot summary{pointer-events:none}}
@media (max-width:1000px) and (min-width:761px){.foot-top{grid-template-columns:repeat(4,1fr)}.foot-brand{grid-column:1/-1}}
/* a phone: the four lists fold shut, each a row to tap */
@media (max-width:760px){.foot-top{grid-template-columns:minmax(0,1fr);gap:0;padding:26px 20px 8px}.foot-brand{padding-bottom:20px}
  .foot details{border-top:1px solid #3a3733}.foot summary{margin:0;padding:15px 0;cursor:pointer;display:flex;justify-content:space-between;align-items:center}
  .foot summary::after{content:"+";font:400 22px/1 var(--body);letter-spacing:0;color:#b8b2aa}.foot details[open] summary::after{content:"\2212"}
  .foot nav{padding:0 0 14px;display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.foot nav a{padding:7px 0}.foot-end{padding:14px 20px 20px}}
.plain .content .lede{font-size:19px;line-height:1.5;max-width:60ch;color:var(--ink)}
.plain .content h3{font:700 17px var(--display);margin:6px 0 0}
.plain .content ol{margin:0;padding-left:22px;display:grid;gap:6px;max-width:66ch}
.plain .content .grid{border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:4px 0}
.plain .content .mix{padding:0;border:0;gap:10px}.plain .content .mix .grid{margin:0}.plain .content .mix .setrow{padding:4px 0 0;border:0}
.plain .content .promo{margin:8px 0;min-height:220px}.plain .content .promo h3{font-size:clamp(24px,3vw,32px);font-weight:800;margin:0}
.plain .content details.q{border-bottom:1px solid var(--line);padding:10px 0;max-width:760px}.plain .content details.q summary{font-weight:600;cursor:pointer}.plain .content details.q p{margin-top:8px;color:var(--soft)}
.plain .content .swgrid a{color:var(--ink);text-decoration:none}
.guidegrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}
.guidegrid a{display:grid;gap:8px;text-decoration:none;color:var(--ink);border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--white)}
.guidegrid img{display:block;width:100%;height:auto}.guidegrid b{padding:4px 14px 14px;font:700 17px/1.25 var(--display)}.guidegrid a:hover{border-color:var(--ink)}
/* ---- the menu: a mega menu from 901px, a drawer below ---- */
.nav{position:relative;z-index:20;background:var(--white)}
.menu-btn{display:none}
.mega{display:flex;align-items:center;gap:4px}
.mt{font:500 15px var(--body);color:var(--ink);background:none;border:0;padding:10px 12px;border-radius:999px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:6px}
button.mt::after{content:"";width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .15s}
.mi.open>button.mt{background:var(--tint)}.mi.open>button.mt::after{transform:rotate(225deg) translateY(-1px)}
.mt:hover{background:var(--tint)}.mt.cta{border:1.5px solid var(--orange);font-weight:600}
.mp{display:none;position:absolute;left:0;right:0;top:100%;background:var(--white);border-top:1px solid var(--line);border-bottom:1px solid var(--line);box-shadow:0 18px 30px -18px rgba(0,0,0,.25)}
.mi.open>.mp{display:block}
.mp-in{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:0}
.mp-main{padding:22px 24px 26px;min-width:0}.mp-side{padding:22px 24px 26px;background:var(--paper);border-left:1px solid var(--line);display:grid;align-content:start;gap:6px}
.mh{font:600 12px var(--body);letter-spacing:.08em;text-transform:uppercase;color:var(--soft);margin:0 0 10px}.mh a{color:inherit;text-decoration:none}.mp-main .mh:not(:first-child){margin-top:16px}
.mp a{color:var(--ink);text-decoration:none;font-size:15px}.mp a:hover,.mp a:focus-visible{text-decoration:underline}
.mp-side p:not(.mh){margin:0 0 6px;font-size:14px;color:var(--soft)}.mp-side .all{font-weight:700;margin-top:8px}.mp-side .all::after{content:" \2192"}
.m-shapes{display:grid;grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:2px 10px}
.m-shapes a{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:10px}.m-shapes a:hover{background:var(--tint);text-decoration:none}.m-shapes svg{flex:0 0 28px;fill:var(--orange)}
.m-occ{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:4px 16px}.m-occ a{display:flex;align-items:center;gap:12px;padding:8px;border-radius:10px;font-weight:600}.m-occ a:hover{background:var(--tint);text-decoration:none}
.dots{display:inline-flex}.dots i{width:16px;height:16px;border-radius:50%;border:1.5px solid var(--white);margin-left:-5px;box-shadow:0 0 0 1px var(--line)}.dots i:first-child{margin-left:0}
.m-col{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:2px 12px}.m-col a{display:flex;align-items:center;gap:10px;padding:5px 8px;border-radius:10px}.m-col a:hover{background:var(--tint);text-decoration:none}
.m-col i{width:18px;height:18px;border-radius:50%;flex:0 0 18px;box-shadow:0 0 0 1px var(--line)}
.m-list{display:grid;gap:8px}.m-list a{font-weight:600}
@media (max-width:900px){
 .menu-btn{display:inline-flex;align-items:center;gap:8px;font:600 15px var(--body);color:var(--ink);background:var(--white);border:1.5px solid var(--ink);border-radius:999px;padding:6px 14px;cursor:pointer}
 .menu-btn span{width:16px;height:10px;border-top:2px solid currentColor;border-bottom:2px solid currentColor;display:block}
 .nav{gap:10px 8px}.nav .brandlink{margin-right:auto}.nav .bag{order:2;padding:6px 12px}.menu-btn{order:3;margin-left:0}
 .mega{display:none;order:9;flex:0 0 calc(100% + 48px);flex-direction:column;align-items:stretch;gap:0;border-top:1px solid var(--line);margin:4px -24px -14px;max-height:calc(100vh - 150px);overflow-y:auto;overscroll-behavior:contain}
 body.menu-open .mega{display:flex}
 .mt{width:100%;justify-content:space-between;padding:15px 24px;border-radius:0;font-size:17px;font-weight:600;border-bottom:1px solid var(--line)}.mt.cta{border:0;border-bottom:1px solid var(--line);background:var(--tint)}
 .mp{position:static;box-shadow:none;border:0;border-bottom:1px solid var(--line)}.mp-in{grid-template-columns:minmax(0,1fr)}.mp-main{padding:14px 24px 16px}.mp-side{border-left:0;border-top:1px solid var(--line);padding:14px 24px 18px}
 .m-shapes{grid-template-columns:repeat(2,minmax(0,1fr))}.m-occ,.m-col{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* ---- search and filters ---- */
.msearch{position:relative;margin-right:6px}.msearch input{font:500 14px var(--body);color:var(--ink);background:var(--paper);border:1.5px solid transparent;border-radius:999px;padding:9px 14px;width:210px}
.msearch input:focus{background:var(--white);border-color:var(--ink);outline:0}
.sr{position:absolute;right:0;top:calc(100% + 8px);width:min(380px,92vw);background:var(--white);border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 30px -14px rgba(0,0,0,.3);padding:6px;z-index:30;max-height:70vh;overflow-y:auto}
.sr a{display:flex;align-items:center;gap:12px;padding:6px 8px;border-radius:10px;text-decoration:none;color:var(--ink)}.sr a:hover,.sr a:focus-visible{background:var(--tint)}
.sr img{border-radius:8px;border:1px solid var(--line);flex:0 0 44px;height:44px;object-fit:cover}.sr i{flex:0 0 44px;height:44px;border-radius:50%;background:var(--paper);border:1px solid var(--line)}
.sr b{font-weight:600;font-size:15px;line-height:1.25}.sr b span{display:block;font-weight:400;font-size:12px;color:var(--soft)}.sr p{margin:10px;color:var(--soft);font-size:14px}
.filters{padding:16px 24px;display:grid;gap:10px;border-bottom:1px solid var(--line)}.filters>div{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.filters .lab{margin:0 6px 0 0;min-width:96px}
.filters .chip{cursor:pointer;color:var(--ink);font:500 14px var(--body)}.filters .chip.on{background:var(--ink);color:var(--white);border-color:var(--ink)}.filters .hint{margin:0;font-size:14px;color:var(--soft)}
.tile[hidden]{display:none}
@media (max-width:1100px) and (min-width:901px){.msearch input{width:150px}}
@media (max-width:900px){.msearch{order:3;flex:1 1 calc(100% - 110px);min-width:0;margin:0}.nav .menu-btn{order:4;padding:10px 14px}.nav .bag{order:2}.mega{order:9}.msearch input{width:100%;font-size:16px;padding:10px 16px}.sr{left:0;right:0;width:auto;max-height:62vh}body.menu-open .mega{margin-top:14px}.filters{padding:14px 16px}.filters>div{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.filters .chip{white-space:nowrap}.filters .lab{min-width:0}}
/* ---- WooCommerce's own forms and order tables, where they appear outside the basket and checkout ---- */
.plain .woocommerce form .form-row,.plain form.track_order p{margin:0 0 12px;display:grid;gap:4px;max-width:420px}
.plain .woocommerce label{font-weight:600;font-size:14px}
.plain .woocommerce input.input-text,.plain .woocommerce input[type=email],.plain .woocommerce input[type=password]{font:500 16px var(--body);padding:11px 12px;border:1.5px solid var(--line);border-radius:10px;background:var(--white);color:var(--ink);width:100%}
.plain .woocommerce input.input-text:focus{border-color:var(--ink);outline:0}
.plain .woocommerce button.button,.plain .woocommerce a.button{display:inline-block;background:var(--orange);color:var(--ink);font:700 16px var(--body);padding:12px 22px;border-radius:999px;border:0;cursor:pointer;text-decoration:none}
.plain .woocommerce table.shop_table{border-collapse:collapse;width:100%;max-width:760px}.plain .woocommerce table.shop_table th,.plain .woocommerce table.shop_table td{border-bottom:1px solid var(--line);padding:10px 12px 10px 0;text-align:left;vertical-align:top}
.plain .woocommerce ul.order_details{list-style:none;margin:0 0 14px;padding:0;display:flex;gap:10px 28px;flex-wrap:wrap}.plain .woocommerce ul.order_details li{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--soft)}.plain .woocommerce ul.order_details strong{display:block;font-size:16px;letter-spacing:0;text-transform:none;color:var(--ink)}
.plain .woocommerce h2,.plain .woocommerce-order-details__title,.plain .woocommerce-column__title{font:700 20px var(--display);margin:18px 0 8px}
.plain .woocommerce address{font-style:normal;line-height:1.5}
.plain .woocommerce-error,.plain .woocommerce-info,.plain .woocommerce-message{list-style:none;margin:0 0 12px;padding:12px 16px;border:1.5px solid var(--ink);border-radius:10px;background:var(--tint)}
.next{border:1.5px solid var(--line);border-radius:14px;padding:16px 20px;margin:0 0 18px;max-width:760px;background:var(--white)}.next h2{font:700 20px var(--display);margin:0 0 8px}.next ol{margin:0 0 10px;padding-left:20px;display:grid;gap:4px}.next p{margin:0;color:var(--soft)}
.promo.ten .in{max-width:340px}.promo.ten .setrow{padding:6px 0 0;border:0}
.plain form.track_order>p:first-child{display:none}
.dispatch{margin:0;font-size:15px}.dispatch b{color:var(--orange-ink)}
.freebar{display:grid;gap:6px;font-size:14px;max-width:420px}.freebar i{display:block;height:6px;border-radius:3px;background:var(--line);overflow:hidden}.freebar b{display:block;height:100%;background:var(--orange);border-radius:3px}.freebar.done span{font-weight:600}
.plain .freebar{margin:0 0 10px}
.spec{border-collapse:collapse;max-width:760px;width:100%;margin:0 0 22px;font-size:15px}.spec th,.spec td{border-bottom:1px solid var(--line);padding:8px 14px 8px 0;text-align:left;vertical-align:top}.spec th{width:150px;font-weight:600;color:var(--ink)}.spec td{color:var(--soft)}
.deliv{border-collapse:collapse;width:100%;font-size:14px}.deliv th,.deliv td{border-bottom:1px solid var(--line);padding:8px 10px 8px 0;text-align:left;vertical-align:top}.deliv thead th{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--soft)}.deliv tbody th{font-weight:600;white-space:nowrap}.deliv td:nth-child(2){white-space:nowrap}.deliv td:last-child{color:var(--soft)}.deliv-in{padding-top:10px;overflow-x:auto}.deliv-in .hint{margin:8px 0 0;font-size:13px;color:var(--soft)}.plain .content .deliv{max-width:760px}
.svcs{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:16px}
.svc{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--white);display:grid;align-content:start}
.svc svg{display:block;width:100%;height:auto;background:var(--paper)}.svc>div{padding:14px 16px 16px}
.svc h3{font:700 18px/1.2 var(--display);margin:0}.svc .pr{margin:4px 0 10px;font-weight:700;color:var(--orange-ink);max-width:none}
.svc dl{display:grid;grid-template-columns:auto 1fr;gap:6px 12px;margin:0;font-size:14px}.svc dt{color:var(--soft)}.svc dd{margin:0}.svc .y{color:#1a7f37}.svc .n{color:var(--soft)}
.need summary span{font-weight:400;color:var(--soft);margin-left:6px}.need.post .hint a{color:var(--ink);font-weight:600}
.bt-shapes{overflow-x:hidden}.bt-shapes .shape{min-width:0}.bt-shapes .shape span{overflow-wrap:anywhere;text-align:center;line-height:1.15}
.bt-panel,.bt-panel fieldset,.bt-stage{max-width:100%}.bt{overflow-x:clip}
.bt-panel fieldset{grid-template-columns:minmax(0,1fr)}
/* the delivery table in a narrow place (the buy column, any phone): name and price on one line, what it does beneath */
.buy .deliv thead{display:none}.buy .deliv tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;padding:9px 0;border-bottom:1px solid var(--line)}
.buy .deliv th,.buy .deliv td{border:0;padding:0;white-space:normal}.buy .deliv td:last-child{grid-column:1/-1;font-size:13px}.buy .deliv-in{overflow-x:visible}
@media (max-width:560px){.deliv thead{display:none}.deliv tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;padding:9px 0;border-bottom:1px solid var(--line)}.deliv th,.deliv td{border:0;padding:0;white-space:normal}.deliv td:last-child{grid-column:1/-1;font-size:13px}}
/* out of stock: leave an email */
.notify{border:1.5px solid var(--line);border-radius:12px;padding:12px 14px;display:grid;gap:8px}.notify p{margin:0;font-size:14px}.notify .hint{font-size:13px;color:var(--soft)}
.notify-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.notify-row input[type=email]{font:500 16px var(--body);padding:10px 12px;border:1.5px solid var(--line);border-radius:10px;background:var(--white);color:var(--ink);min-width:0}
/* reviews: the form the review request opens, and what a listing shows */
.review{display:grid;gap:18px;max-width:640px}.review fieldset{border:1.5px solid var(--line);border-radius:12px;padding:14px 16px;display:grid;gap:10px;min-width:0}.review legend{font-weight:700;padding:0 6px}
.review label{display:grid;gap:6px;font-weight:600}.review label.tog{display:flex}.review .hint{font-weight:400;font-size:13px;color:var(--soft);margin:0}
.review textarea,.review input[type=text]{font:500 16px var(--body);padding:10px 12px;border:1.5px solid var(--line);border-radius:10px;background:var(--white);color:var(--ink);width:100%}
.stars{display:inline-flex;flex-direction:row-reverse;justify-content:flex-end;gap:2px;position:relative}.stars input{position:absolute;opacity:0;width:1px;height:1px}
.stars label{display:block;width:40px;height:40px;cursor:pointer;font-size:0}.stars label::before{content:"\2605";font-size:36px;line-height:40px;color:var(--line)}
.stars input:checked~label::before,.stars label:hover::before,.stars label:hover~label::before{color:var(--orange)}.stars input:focus-visible+label{outline:2px solid var(--ink);outline-offset:2px;border-radius:6px}
.rated{color:var(--orange-ink);letter-spacing:1px}.rated i{font-style:normal;color:var(--line)}
.revgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}.revgrid article{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:14px 16px;display:grid;gap:8px;align-content:start}
.revgrid p{margin:0}.revgrid footer{font-size:13px;color:var(--soft)}.revgrid footer span{display:block}
/* the personalised page: type the words, see them on three pieces */
.ptry-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:28px;align-items:start;background:var(--white);border:1px solid var(--line);border-radius:16px;padding:22px}
.ptry-form{display:grid;gap:12px}.ptry-form h2{margin:0}.ptry-form label{font-weight:600}.ptry-form .hint{font-weight:400;font-size:13px;color:var(--soft)}
.ptry-form input[type=text]{width:100%;border:1.5px solid var(--line);border-radius:10px;padding:12px;font:500 17px var(--body);color:var(--ink);background:var(--white)}
.ptry-form .chip{cursor:pointer;font:inherit;font-size:14px}.pprice{margin:0;color:var(--soft)}.pprice b{color:var(--ink)}
.pprev canvas{width:100%;height:auto;background:var(--paper);border-radius:10px;padding:8px;display:block}
@media (max-width:820px){.ptry-in{grid-template-columns:minmax(0,1fr);padding:16px;gap:16px}}
/* the basket: one unbroken line under each product. (The page's table rule drew a line under each cell, and on a phone the cells sit apart, so the line came out in pieces.) */
.wc-block-cart-items td,.wc-block-cart-items th{border-bottom:0!important}
.wc-block-cart-items .wc-block-cart-items__row{border-bottom:1px solid var(--line)}.wc-block-cart-items .wc-block-cart-items__row:last-child{border-bottom:0}
/* an odd number of tiles on a phone: the last square is filled, so nothing sits alone on its line */
.grid>.fill{display:none}.fill .fill-in{display:grid;gap:6px;align-content:center;justify-items:start;height:100%;min-height:150px;background:var(--tint);border-radius:12px;padding:16px}
.fill b{font:800 20px/1.1 var(--display);color:var(--ink)}.fill span span{font-size:13px;color:var(--soft)}.fill i{font-style:normal;font-size:22px;color:var(--orange-ink)}
@media (max-width:760px){.grid>.fill:nth-child(even){display:grid}.grid#shapegrid>.fill{display:none}.grid#shapegrid>.fill.show{display:grid}}
/* 10 Nov, from Alex's phone: the builder's shape picker fits its box with even edges and no hidden scrolling (twelve shapes, then "Show all") */
.bt-shapes,.bt-shapes .shape{box-sizing:border-box}.bt-shapes{max-height:none;overflow:visible;grid-template-columns:repeat(auto-fill,minmax(76px,1fr))}.bt-shapes .shape{width:100%}
.bt-shapes:not(.open) .shape:nth-child(n+13){display:none}#bt-more{justify-self:start;cursor:pointer;font:inherit;font-size:14px}
@media (max-width:560px){.bt-shapes{grid-template-columns:repeat(4,minmax(0,1fr))}}
#bt-presets{margin-top:8px}#bt-presets .chip{cursor:pointer;font:inherit;font-size:14px}
/* the top line: a short wording on phones, so it stays on one line */
.bar-s{display:none}@media (max-width:560px){.bar-l{display:none}.bar-s{display:inline}.bar{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-left:10px;padding-right:10px}}
/* long rows of choices on a phone: one row that slides sideways, fading out at the right edge so it is plain there is more */
@media (max-width:760px){.chips.scroll,.filters>div{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-right:36px;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 44px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 44px),transparent)}
  .chips.scroll::-webkit-scrollbar,.filters>div::-webkit-scrollbar{display:none}.chips.scroll .chip{flex:0 0 auto;white-space:nowrap}}
/* the home page's row of shapes: it fades at whichever end has more, with an arrow there to slide it */
.slider{position:relative}.slider .shapes{scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,transparent,#000 56px,#000 calc(100% - 56px),transparent);mask-image:linear-gradient(90deg,transparent,#000 56px,#000 calc(100% - 56px),transparent)}
.slider .shapes::-webkit-scrollbar{display:none}.slider .shapes.at-start{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 56px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 56px),transparent)}
.slider .shapes.at-end{-webkit-mask-image:linear-gradient(90deg,transparent,#000 56px);mask-image:linear-gradient(90deg,transparent,#000 56px)}
.slide-btn{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:1.5px solid var(--ink);background:var(--white);color:var(--ink);font-size:18px;line-height:1;cursor:pointer;box-shadow:0 4px 10px -4px rgba(0,0,0,.35);display:grid;place-items:center;padding:0}
.slide-btn.next{right:8px}.slide-btn.prev{left:8px}.slide-btn[hidden]{display:none}
/* a shape's page before a colour is chosen: pressing Add points at the colours */
#swlab.nudge{animation:mb-nudge .5s 2}#swlab.nudge b{color:var(--orange-ink)}@keyframes mb-nudge{0%,100%{transform:translateX(0)}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
@media (prefers-reduced-motion:reduce){#swlab.nudge{animation:none}}
.thumbs button[hidden]{display:none}
/* phones: tapping buttons quickly (table colours, plus and minus, swatches) is not a double-tap to zoom; pinch still zooms */
a,button,input,select,textarea,label,summary,.sw,.chip,.opt,.shape{touch-action:manipulation}
/* phones zoom in on any box whose letters are under 16px when it is tapped: keep them at 16 */
@media (max-width:860px){select,input[type=text],input[type=email],input[type=number],input[type=search],input[type=tel],textarea{font-size:16px!important}}
/* the table builder, 10 Nov evening: Start again beside Look closer; the three amounts on one line; its buttons in one blue on every device
   (an iPhone was already showing them in its own blue, and Alex liked it: this makes it the same everywhere, dark enough to read) */
.bt-acts{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}#bt-reset.sure{border-color:var(--red,#b32d2e);color:#b32d2e}#bt-reset[hidden]{display:none}
#bt-fill{display:grid;gap:8px}#bt-fill[hidden]{display:none}.bt-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.bt-three .chip{text-align:center;white-space:nowrap;padding-left:6px;padding-right:6px}
.bt button.chip{color:#0b5bd3;cursor:pointer;font:inherit;font-size:14px;font-weight:600}.bt button.chip.on{color:var(--ink)}
@media (max-width:380px){.bt-three .chip{font-size:13px}}
.bt-acts{flex-wrap:nowrap;flex:0 0 auto}.bt-under .chip{white-space:nowrap;padding:8px 13px}.bt-under #bt-count{min-width:0}
/* the line under the table never changes height (a second line appearing there pushed the whole page down mid-tap) */
.bt-under{flex-wrap:nowrap;min-height:38px}.bt-under #bt-count{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1 1 auto}
/* a sliding row of chips keeps room above and below, so their outlines are not cut off by the row's own edge */
@media (max-width:760px){.chips.scroll{padding-top:3px;padding-bottom:6px;padding-left:2px}}
/* the pinned table is drawn on its own layer, so scrolling past it stays smooth */
@media (max-width:860px){.bt-stage{will-change:transform;transform:translateZ(0)}}
.film video,.filmbtn{display:block;width:100%;max-width:520px;height:auto;aspect-ratio:1;border-radius:8px;border:1px solid var(--line);background:var(--white)}.filmbtn{position:relative;overflow:hidden}.filmbtn img{display:block;width:100%;height:100%}.filmplay{position:absolute;left:50%;bottom:20px;width:64px;height:64px;margin-left:-32px;border-radius:50%;background:#1c1a18}.filmplay::after{content:"";position:absolute;left:25px;top:19px;border-left:20px solid #fff;border-top:13px solid transparent;border-bottom:13px solid transparent}.filmbtn:focus-visible{outline:3px solid var(--ink);outline-offset:3px}

/* The listing below the buy box (layout A, agreed with Alex 12 Nov 2026): a black band of facts, then sections in white and paper */
.cta .btn{flex:1;font-size:17px;padding:15px 24px;text-align:center}
.keyf{background:var(--ink);color:#fff;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line)}.keyf div{padding:26px 24px}.keyf b{display:block;font:900 30px/1.05 var(--display);color:var(--orange);letter-spacing:-.02em}.keyf span{font-size:15px}
.lst>h2,.lst>div>h2,.lst .film>h2{position:relative;padding-top:14px;margin:0}.lst>h2::before,.lst>div>h2::before,.lst .film>h2::before{content:"";position:absolute;left:0;top:0;width:44px;height:5px;border-radius:3px;background:var(--orange)}
.lrow{grid-template-columns:minmax(0,440px) minmax(0,1fr);gap:40px;align-items:start}.lrow>div{display:grid;gap:16px;min-width:0}.lrow .spec{margin:0;max-width:none}.lrow>div:only-child{grid-column:1/-1}
.lpaper{background:var(--paper)}.lpaper .scale{margin-bottom:0}.lpaper .deliv{background:var(--white);max-width:900px;width:100%}
.ftiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px}.ftiles a{display:flex;justify-content:space-between;align-items:center;border:1.5px solid var(--ink);border-radius:12px;padding:14px 16px;text-decoration:none;color:var(--ink);font:700 16px var(--display)}.ftiles a:hover{background:var(--orange)}.ftiles i{font-style:normal;color:var(--orange-ink)}.ftiles a:hover i{color:var(--ink)}
@media (min-width:761px){.pdp .gal{position:sticky;top:12px;align-self:start}}
@media (max-width:760px){.keyf{grid-template-columns:1fr 1fr}.keyf div{padding:20px 16px}.keyf b{font-size:25px}.lrow{grid-template-columns:minmax(0,1fr)}.ladder .tier{padding:8px}}
.film[hidden]{display:none}
[hidden]{display:none!important}   /* a hidden element stays hidden whatever its own display rule says (the out-of-card box showed on items in stock) */
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__content{padding-top:34px}   /* the first pay button sat on top of the "Express Checkout" heading */

@media (min-width:901px){.nav .msearch{margin-right:-12px}}   /* the search box is the header's own child now, so it can stay on show on a phone */
@media (max-width:1100px) and (min-width:901px){.nav{column-gap:10px}.nav .msearch{margin-right:0}.msearch input{width:140px}}
/* the delivery table on a listing: a white card on the stone band, with room inside it (the words sat hard against its edge) */
.lpaper .deliv{max-width:none;border-collapse:separate;border-spacing:0;border-radius:12px;overflow:hidden;margin-top:14px}
.lpaper .deliv th,.lpaper .deliv td{padding:13px 18px}.lpaper .deliv tbody tr:last-child th,.lpaper .deliv tbody tr:last-child td{border-bottom:0}
.lpaper .deliv+p{margin-top:16px}
@media (max-width:560px){.lpaper .deliv tr{padding:12px 16px}.lpaper .deliv th,.lpaper .deliv td{padding:0}.lpaper .deliv tbody tr:last-child{border-bottom:0}}
/* the delivery table's dates: their own column on a wide screen, their own line under the name on a narrow one */
.deliv .arr{font-weight:600;white-space:nowrap;color:var(--ink)}
@media (max-width:560px){.deliv .arr{grid-column:1/-1;white-space:normal}.deliv .arr:not(:empty):not(.none)::before{content:"Should arrive by ";font-weight:400;color:var(--soft)}.deliv .arr.sure::before{content:"Will arrive by "!important}}
.buy .deliv .arr{grid-column:1/-1;white-space:normal}
.pfilm{display:flex;justify-content:center}.pfilm .film{width:100%;max-width:520px}   /* the film on a colour or occasion page, between the rows of shapes */
.pfilm .film h2{margin-bottom:14px}
@media (max-width:980px) and (min-width:901px){.nav{column-gap:6px}.msearch input{width:88px}}   /* upright tablets: keeps the basket on the header's one line */

/* the shop sells to the UK only, so the checkout does not ask which country (Alex, 14 Nov 2026) */
.wc-block-components-address-form__country{display:none}

/* 14 Nov 2026: the basket that slides in, the date box, "you looked at", and swatches a thumb can hit */
.bdraw{position:fixed;inset:0;z-index:200;background:rgba(28,26,24,0);transition:background .2s}.bdraw.on{background:rgba(28,26,24,.45)}
.bdraw-in{position:absolute;top:0;right:0;bottom:0;width:min(420px,100%);background:var(--white);display:flex;flex-direction:column;transform:translateX(100%);transition:transform .2s;outline:0;box-shadow:-8px 0 30px rgba(0,0,0,.12)}
.bdraw.on .bdraw-in{transform:none}.bdraw-open{overflow:hidden}
.bdraw-h{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line)}.bdraw-h h2{font-size:22px}
.bdraw-x{background:none;border:1.5px solid var(--ink);border-radius:999px;padding:8px 14px;font:600 14px var(--body);color:var(--ink);cursor:pointer;min-height:44px}
.bdraw-list{list-style:none;margin:0;padding:6px 20px;overflow:auto;flex:1}.bdraw-list li{display:grid;grid-template-columns:64px 1fr auto;gap:12px;align-items:start;padding:12px 0;border-bottom:1px solid var(--line)}
.bdraw-list img{border-radius:8px;display:block}.bdraw-list b{display:block;font:700 16px/1.2 var(--display)}.bdraw-list span{display:block;font-size:13px;color:var(--soft)}.bdraw-list strong{font-weight:700;white-space:nowrap}
.bdraw-f{padding:14px 20px calc(18px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);display:grid;gap:10px}.bdraw-f p{margin:0}
.bdraw-n{background:var(--tint);border-radius:10px;padding:10px 12px;font-weight:600}.bdraw-p{font-size:14px;color:var(--soft)}
.bdraw-s{display:flex;justify-content:space-between;align-items:baseline;font-size:15px}.bdraw-s b{font:800 22px var(--display)}
.bdraw-f .btn{text-align:center;width:100%}.bdraw-v{text-align:center;font-size:14px;padding:6px}
@media (max-width:760px){.bdraw-in{top:auto;left:0;width:100%;max-height:86vh;border-radius:18px 18px 0 0;transform:translateY(100%)}}
@media (prefers-reduced-motion:reduce){.bdraw,.bdraw-in{transition:none}}
.byday{display:grid;grid-template-columns:auto 1fr;gap:6px 12px;align-items:center;justify-items:start;font-size:15px}.byday label{font-weight:600}
.byday input{font:inherit;padding:9px 10px;border:1.5px solid var(--ink);border-radius:10px;background:var(--white);color:var(--ink);min-height:44px}
.byday p{grid-column:1/-1;margin:0;color:var(--ink)}.byday p:empty{display:none}
#need-set{padding:10px 16px;font-size:15px}
.seen-row{display:flex;gap:14px;overflow-x:auto;padding:4px 2px 10px;scroll-snap-type:x proximity}.seen-row a{flex:0 0 120px;text-decoration:none;color:var(--ink);scroll-snap-align:start}
.seen-row img{border-radius:12px;display:block;width:120px;height:120px;background:var(--white)}.seen-row b{display:block;font:600 13px/1.25 var(--body);margin-top:6px}
.linkbtn{background:none;border:0;padding:0;font:inherit;color:inherit;text-decoration:underline;cursor:pointer}
@media (max-width:760px){.sws{grid-template-columns:repeat(auto-fill,minmax(42px,1fr));gap:10px;max-width:none}}

.xmas{margin:0;font-size:15px}.xmas a{color:var(--ink);font-weight:600;white-space:nowrap}.soon{margin:0;padding:12px 14px;border:1px solid var(--line,#ddd);border-radius:10px;font-size:15px}.etsy p{max-width:65ch}.etsy a{color:var(--ink);font-weight:600}
.sampleline{margin:10px 0 0;font-size:14px;color:var(--soft)}.sampleline a{color:var(--ink);font-weight:600}

/* ---- layout pass, 19 Nov 2026: every page looked at on a phone, a tablet and a desktop (docs/LAYOUT-2026-11-19.md) ---- */
/* Text pages (guides, delivery, about, contact): one centred reading column instead of short lines down the left of a wide page.
   The basket, checkout and account keep the full width. Cards and the price table reach out past the column. */
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .plain{max-width:808px;margin-left:auto;margin-right:auto}
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .plain .content{font-size:17px;line-height:1.6}
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .plain .content :is(p,ol,.lede,details.q,.wide,.trio){max-width:none}
.plain .content{grid-template-columns:minmax(0,1fr)}   /* or the wide blocks below would stretch the whole column */
.plain .content>.svcs,.plain .content>.guidegrid,.plain .content>table.deliv{width:min(1190px,calc(100vw - 48px));max-width:none;position:relative;left:50%;transform:translateX(-50%)}
.plain .content>.svcs{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
/* Short notes under a heading in the shop run further before they turn */
.sec>p,.etsy p,.colhead p{max-width:80ch}.sec>p.xmas{max-width:none}
/* Tablet: five tiles to a row down to 761px, so a row of ten never leaves one over */
@media (min-width:761px) and (max-width:900px){.grid.five{grid-template-columns:repeat(5,1fr)}}
@media (min-width:761px){#pairs{grid-template-columns:repeat(4,1fr)}}
/* Tablet: the words in a banner sat on top of the picture. The white runs further across before it fades. */
@media (min-width:761px) and (max-width:1000px){.hero,.promo,.pagehead{background-image:linear-gradient(90deg,#fff 0,#fff 56%,rgba(255,255,255,0) 80%),var(--bg)}.hero .in,.pagehead .in{max-width:54%}.promo .in{max-width:58%}}
/* Tablet: the film and the facts beside it were squeezed; one above the other below 900px */
@media (max-width:900px){.lrow{grid-template-columns:minmax(0,1fr)}}
/* Tablet: the delivery table's last column was a few words wide. Below 900px each service is a small block, as on a phone. */
@media (max-width:900px){.deliv thead{display:none}.deliv tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;padding:9px 0;border-bottom:1px solid var(--line)}.deliv th,.deliv td{border:0;padding:0;white-space:normal}.deliv td:last-child{grid-column:1/-1;font-size:13px}
 .deliv .arr{grid-column:1/-1;white-space:normal}.deliv .arr:not(:empty):not(.none)::before{content:"Should arrive by ";font-weight:400;color:var(--soft)}.deliv .arr.sure::before{content:"Will arrive by "!important}
 .lpaper .deliv tr{padding:12px 16px}.lpaper .deliv th,.lpaper .deliv td{padding:0}.lpaper .deliv tbody tr:last-child{border-bottom:0}}
/* Phone: "Shop Christmas" broke onto two lines */
@media (max-width:480px){.hero .cta .btn{padding-left:12px;padding-right:12px;white-space:nowrap;font-size:16px}}
/* The basket page when it is empty (site-setup/cart-empty.php) */
.mb-empty{display:grid;gap:14px;justify-items:start;padding:8px 0 28px}.mb-empty h2{font:800 26px var(--display);margin:0}.mb-empty p{margin:0;max-width:60ch;color:var(--soft)}.mb-empty .cta .btn{flex:0 1 auto}
/* The orange bar above a listing heading is as long as the heading's own words (Alex, 19 Nov 2026) */
.lst>h2,.lst>div>h2,.lst .film>h2{width:fit-content;max-width:100%;justify-self:start}.lst>h2::before,.lst>div>h2::before,.lst .film>h2::before{width:100%}
/* Agreed with Alex 19 Nov 2026: the bar under the heading, not above it. Thick, orange and set 11px below the words, so it does not read as a link. */
.lst>h2,.lst>div>h2,.lst .film>h2{padding-top:0;padding-bottom:11px}.lst>h2::before,.lst>div>h2::before,.lst .film>h2::before{top:auto;bottom:0}
/* Agreed 19 Nov 2026: the underline follows the size of the heading. 5px under the product title and the large section headings, 3px under the small ones. */
.lst>div>h2,.lst .film>h2{padding-bottom:8px}.lst>div>h2::before,.lst .film>h2::before{height:3px}
.buy h1{position:relative;width:fit-content;max-width:100%;padding-bottom:12px;margin-bottom:10px}.buy h1::after{content:"";position:absolute;left:0;bottom:0;width:100%;height:5px;border-radius:3px;background:var(--orange)}
/* The same underline on the rest of the site: 5px under page titles and large section headings, 3px under the small headings of text pages.
   The home page headline keeps its orange words and has no line. */
.sec:not(.lst)>h2,.pagehead h1,.plain>h1,.plain .content h2,.about .two h2{position:relative;width:fit-content;max-width:100%;justify-self:start}
.sec:not(.lst)>h2::after,.pagehead h1::after,.plain>h1::after,.plain .content h2::after,.about .two h2::after{content:"";position:absolute;left:0;bottom:0;width:100%;height:5px;border-radius:3px;background:var(--orange)}
.sec:not(.lst)>h2{padding-bottom:11px}.pagehead h1,.plain>h1{padding-bottom:13px}
.plain .content h2,.about .two h2{padding-bottom:8px}.plain .content h2::after,.about .two h2::after{height:3px}
.plain .content .promo h2::after,.wc-block-components-title::after{content:none}
/* One scale for every underlined heading (19 Nov 2026, after measuring them all): the line's weight and its distance from the words follow
   the size of the type, so a 24px heading looks the same wherever it is and on whatever screen. 3px at 20px type, 5px from 34px up. */
.lst>h2,.lst>div>h2,.lst .film>h2,.buy h1,.sec:not(.lst)>h2,.pagehead h1,.plain>h1,.plain .content h2,.about .two h2{padding-top:0;padding-bottom:calc(.2em + clamp(3px,.145em,5px))}
.lst>h2::before,.lst>div>h2::before,.lst .film>h2::before,.buy h1::after,.sec:not(.lst)>h2::after,.pagehead h1::after,.plain>h1::after,.plain .content h2::after,.about .two h2::after{height:clamp(3px,.145em,5px)}
/* and the space under the line: 14 to 22px to whatever follows, where it ran from 0 to 34 */
.pagehead h1{margin-bottom:6px}.buy h1{margin-bottom:14px}
.about .two h2{margin-bottom:14px}.about .two+h2{margin-top:16px}
.sec:has(>h2:only-child){padding-bottom:22px}
.lpaper .deliv{margin-top:4px}
/* "How big is it?" for a shape with one to three sizes: larger drawings, and the sizes in words beside them */
.scalerow{display:flex;flex-wrap:wrap;align-items:center;gap:20px 56px}.scalerow .scale{margin:4px 0 0;gap:18px 30px}
.scalewords{list-style:none;margin:0;padding:0;display:grid;gap:10px;font-size:16px;color:var(--soft);max-width:52ch}.scalewords b{color:var(--ink);font-weight:700;margin-right:6px}
/* Phone, a shape with many sizes (Alex, 19 Nov 2026): every size stays in view, drawn a little smaller so the large ones share a row,
   each row centred so none is left alone at one side. The size that is chosen is marked and put into words underneath; app.js moves "on". */
.scalewords.pick,.scalepick{display:none}
@media (max-width:760px){.lst>.scale{gap:16px 12px;margin:4px 0 0;justify-content:center}.lst>.scale svg{width:calc(var(--w)*21px);max-width:none;height:auto}
 .lst>.scale figure{min-width:66px}.lst>.scale figcaption{font-size:11.5px}.lst>.scale figure.on figcaption{color:var(--ink);font-weight:700}
 .lst>.scale figure.on svg{filter:drop-shadow(0 0 0 var(--ink)) drop-shadow(0 2px 3px rgba(0,0,0,.28))}
 .scalewords.pick{display:grid}.scalewords.pick li:not(.on){display:none}}
/* The chosen size is boxed in the size row exactly as its button is above: dark border, warm tint (Alex, 19 Nov 2026). Every piece has the
   same clear border and padding, so nothing moves when the choice changes. On any screen, for a shape with more than one size. */
.scale figure[data-c]{padding:8px 8px 7px;border:1.5px solid transparent;border-radius:10px}
.scale figure.on:not(:only-of-type){border-color:var(--ink);background:var(--tint)}.scale figure.on figcaption{color:var(--ink);font-weight:700}
.scale figure.coin{padding:8px 0 7px}
@media (max-width:760px){.lst>.scale{gap:8px 2px}.lst>.scale figure.on svg{filter:none}}
.scale figure.coin+figure.on:last-of-type{border-color:transparent;background:none}   /* a shape with one size has nothing to choose between */
.scale figure.coin+figure.on:last-of-type figcaption{color:var(--soft);font-weight:400}
@media (max-width:760px){.scalerow .scale{gap:10px 12px;flex-wrap:nowrap}.scalerow .scale svg{width:calc(var(--w)*30px);max-width:none;height:auto}}   /* two or three sizes stay on one line beside the coin */
/* and pressing a drawing chooses that size */
.scale figure[role=button]{cursor:pointer}.scale figure[role=button]:hover{border-color:var(--line)}.scale figure[role=button].on:hover{border-color:var(--ink)}.scale figure[role=button]:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
/* The film as a tile among the shapes on occasion and colour pages (mb_grid_with_film) */
.filmtile{background:var(--white);outline:1px solid var(--line);outline-offset:-.5px;padding:20px 24px;display:grid;align-content:center;min-width:0}
.filmtile .film{display:grid;gap:14px;width:100%;max-width:none}.filmtile .filmbtn{max-width:100%}
@media (min-width:761px){.grid.five.hasfilm{grid-auto-flow:dense}.grid.five.hasfilm>.filmtile{grid-column:4/6;grid-row:1/3}.grid.five.hasfilm.fillon>.fill{display:grid}}
@media (max-width:760px){.grid.hasfilm>.filmtile{grid-column:1/-1}.grid.hasfilm>.fill:nth-child(even){display:none}.grid.hasfilm>.fill:nth-child(odd){display:grid}}
/* The shop's social profiles, in the footer under the brand's own words */
.foot .foot-soc{display:flex;flex-wrap:wrap;gap:4px 14px;padding:0;margin-top:14px;align-items:baseline}.foot .foot-soc span{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#b8b2aa;margin-right:2px}
.foot .foot-soc a{display:inline;padding:3px 0;color:#fff;font-weight:600;text-decoration:none}.foot .foot-soc a:hover{text-decoration:underline}
@media (max-width:760px){.foot .foot-soc{display:flex;grid-template-columns:none;padding:0 0 16px;gap:6px 16px}.foot .foot-soc a{padding:6px 0}}
