/* Mercy Prints storefront styles — ported from the approved preview
   (ts-spaces/mercy-prints-custom-t-shirt-store). v1.1.17 (owner direction
   2026-11-15): the automatic dark-mode palette was REMOVED — the site always
   renders the approved light colors (dark mode had flipped colors and left
   #444 band/hero text unreadable on dark backgrounds). Footer compacted. */
:root{
  --navy:#191919; --navy-2:#111111; --gold:#ee4023; --gold-soft:#ff7a1a;
  --brand:#ee4023; --brand-2:#ff7e00; --lav:#e9edf6;
  --ink:#191919; --muted:#5f6570; --line:#e6e7eb;
  --bg:#f6f7f6; --card:#ffffff; --card-2:#eef0f7;
  --good:#1e7d46; --warn:#a86a00; --bad:#d92d20;
  --radius:12px;
  color-scheme: light;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Barlow',system-ui,sans-serif;background:var(--bg);color:var(--ink);font-size:16px;line-height:1.5}
h1,h2,h3,.cond{font-family:'Barlow Semi Condensed','Barlow',sans-serif;letter-spacing:.01em}
img{max-width:100%;display:block}
button,[role="button"],select,summary,input:not([type="checkbox"]){min-height:2.25rem}
button{font:inherit;cursor:pointer}
a{color:var(--navy)}
.wrap{max-width:1200px;margin:0 auto;padding:0 20px}
section{padding:52px 0}
.sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;border-bottom:2px solid var(--navy);padding-bottom:10px;margin-bottom:26px}
.sec-head h2{margin:0;font-size:1.9rem;font-weight:700;text-transform:uppercase;color:var(--ink)}
.sec-head p{margin:0;color:var(--muted);font-size:.95rem;text-align:right}
/* claim strip */
.strip{background:var(--navy-2);color:#f2e7c8;text-align:center;font-size:.86rem;font-weight:600;letter-spacing:.04em;padding:8px 12px}

.strip b{color:var(--gold-soft)}
/* header */
header.site{background:var(--card);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:60}
.hd{display:flex;align-items:center;gap:18px;padding:10px 0}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)}
.brand img{width:46px;height:46px;border-radius:50%}
.brand .bn{font-family:'Barlow Semi Condensed',sans-serif;font-weight:700;font-size:1.45rem;line-height:1;color:var(--ink)}
.brand .bn span{color:var(--gold)}
.brand .bt{font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}
nav.main{display:flex;gap:4px;margin-left:auto;flex-wrap:wrap}
nav.main a{text-decoration:none;color:var(--ink);font-weight:600;font-size:.95rem;padding:10px 12px;border-radius:8px;min-height:2.25rem;display:inline-flex;align-items:center}
nav.main a:hover{background:var(--card-2)}
.hd .phone{font-weight:700;color:var(--navy);text-decoration:none;white-space:nowrap;padding:8px 4px}
.cartbtn{position:relative;background:var(--navy);color:#fff;border:0;border-radius:8px;padding:9px 16px;font-weight:700;display:inline-flex;gap:8px;align-items:center}

.cartbtn .count{background:var(--gold);color:#141414;border-radius:999px;min-width:22px;height:22px;display:inline-grid;place-items:center;font-size:.8rem;padding:0 5px}

/* hero */
.hero{padding:34px 0 8px}
.hero-panel{background:var(--card);border:1px solid var(--line);border-radius:14px;display:grid;grid-template-columns:1.05fr .95fr;overflow:hidden}
.hero-copy{padding:44px 40px}
.hero-copy h1{font-size:3rem;line-height:1.02;margin:0 0 8px;font-weight:700;text-transform:uppercase}
.hero-copy h1 em{font-style:normal;color:var(--gold)}
.hero-copy .sub{font-size:1.3rem;font-weight:600;color:var(--navy);margin:0 0 14px;font-family:'Barlow Semi Condensed',sans-serif}
.hero-copy p{color:var(--muted);max-width:46ch;margin:0 0 22px}
.cta-row{display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;padding:12px 22px;font-weight:700;text-decoration:none;border:2px solid transparent;font-size:1rem;min-height:2.75rem}
.btn-gold{background:var(--gold);color:#171106}
.btn-navy{background:var(--navy);color:#fff}

.btn-ghost{background:transparent;border-color:var(--navy);color:var(--navy)}
.hero-rating{margin-top:20px;font-size:.92rem;color:var(--muted)}
.stars{color:var(--gold);letter-spacing:2px}
.hero-media{position:relative;min-height:320px}
.hero-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-media .tag{position:absolute;left:16px;bottom:16px;background:rgba(10,20,40,.85);color:#fff;padding:8px 14px;border-radius:8px;font-weight:600;font-size:.9rem}
.trust-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}
.trust{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:14px 16px}
.trust b{display:block;font-family:'Barlow Semi Condensed',sans-serif;font-size:1.05rem;text-transform:uppercase}
.trust span{color:var(--muted);font-size:.88rem}
/* catalog */
.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.chip{border:1.5px solid var(--line);background:var(--card);border-radius:999px;padding:8px 16px;font-weight:600;color:var(--ink)}
.chip[aria-pressed="true"]{background:var(--navy);border-color:var(--navy);color:#fff}

.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.tee{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column}
.tee .ph{aspect-ratio:4/3;overflow:hidden;background:var(--card-2)}
.tee .ph img{width:100%;height:100%;object-fit:cover}
.tee .ph.tall img{object-fit:cover;object-position:top center}
.tee .bd{padding:14px 16px 16px;display:flex;flex-direction:column;gap:6px;flex:1}
.tee h3{margin:0;font-size:1.15rem;font-weight:700;text-transform:uppercase}
.tee .line{color:var(--muted);font-size:.9rem;margin:0;flex:1}
.tee .meta{display:flex;justify-content:space-between;align-items:center}
.tee .price{font-weight:700;font-size:1.1rem}
.tee .spec{font-size:.8rem;color:var(--muted)}
.tee .buy{display:flex;gap:8px;margin-top:6px}
.tee select{flex:1;border:1.5px solid var(--line);border-radius:8px;background:var(--card);color:var(--ink);padding:6px 8px;font:inherit}
.addbtn{background:var(--navy);color:#fff;border:0;border-radius:8px;padding:9px 14px;font-weight:700;flex:1.2}

.addbtn.added{background:var(--good);color:#fff}
/* designer */
.designer-shell{background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.designer-bar{background:var(--navy-2);color:#fff;display:flex;align-items:center;gap:16px;padding:14px 20px;flex-wrap:wrap}

.designer-bar h3{margin:0;font-size:1.35rem;text-transform:uppercase;font-weight:700}
.designer-bar .live{margin-left:auto;text-align:right}
.designer-bar .live b{font-size:1.3rem;color:var(--gold-soft)}
.designer-bar .live span{display:block;font-size:.8rem;color:#c6cede}
.designer-grid{display:grid;grid-template-columns:400px 1fr;gap:0}
.stage{padding:22px;border-right:1px solid var(--line);background:var(--card-2)}
.shirtbox{position:relative;width:100%;max-width:380px;margin:0 auto;user-select:none;touch-action:none}
.shirtbox svg{width:100%;height:auto;display:block}
.printarea{position:absolute;border:1.5px dashed rgba(127,139,163,.55);border-radius:4px;z-index:1}
/* realistic photo mock: base garment photo + multiply tint masked to the garment */
.mockwrap{position:absolute;inset:0;z-index:0}
.mockflip{position:absolute;inset:0}
.mockflip.flip{transform:scaleX(-1)}
.mockimg{position:absolute;inset:0;width:100%;height:100%;display:block}
.mocktint{position:absolute;inset:0;mix-blend-mode:multiply;pointer-events:none;-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
/* v1.11.11 (owner: "the overlay is still not good"): a multiply tint
   alone flattens the garment — the white-base photo's gentle shading
   compresses, so colours read as flat fill pasted on the person.
   This second pass lays the SAME photo over the tint in overlay
   blend, masked to the garment, which re-imposes the photo's fold
   contrast and makes the colour read as fabric. A/B verified at
   phone width (red/forest: base vs overlay 50% vs soft-light 85% —
   overlay 50% won; soft-light washed the colour out). */
.mockshade{position:absolute;inset:0;mix-blend-mode:overlay;opacity:.5;pointer-events:none;background-repeat:no-repeat;background-position:center;background-size:contain;-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.shirtbox.person-view .mockshade{background-size:cover}
.shirtbox{aspect-ratio:4/5}
.shirtbox.sleeve-view{aspect-ratio:1000/760}
.ss-mock{display:block;width:48px;height:48px;flex:none;position:relative;overflow:hidden;border-radius:6px;background:#e9ebf0;box-shadow:inset 0 0 0 1px #dde0e7}
.ss-mock img{width:100%;height:100%;object-fit:contain;display:block}
.ss-mock.ss-zoomico{display:grid;place-items:center;font-size:1.25rem}
.ss-tint{position:absolute;inset:0;mix-blend-mode:multiply;pointer-events:none;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
#ssRSleeveImg{transform:scaleX(-1)}
#ssTintRSleeve{transform:scaleX(-1)}
.ss-note{font-size:.62rem;font-weight:600;color:#8a8f98;text-align:center;width:92px;margin:2px 0 0;line-height:1.3}
.side-switch button:disabled{opacity:.45;cursor:default}
.sb-thumb{position:relative;overflow:hidden}
.sb-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.sb-tint{position:absolute;inset:0;mix-blend-mode:multiply;pointer-events:none;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.artlayer{position:absolute;cursor:grab;touch-action:none}
.artlayer:active{cursor:grabbing}
.artlayer img{width:100%;height:100%;object-fit:contain;pointer-events:none}
.artlayer.sel{outline:2px solid var(--gold);outline-offset:2px}
.artlayer .handle{position:absolute;right:-11px;bottom:-11px;width:22px;height:22px;border-radius:50%;background:var(--gold);border:2px solid #fff;cursor:nwse-resize;box-shadow:0 1px 4px rgba(0,0,0,.35)}
.artlayer .txt{width:100%;height:100%;display:flex;align-items:center;justify-content:center;text-align:center;font-weight:700;line-height:1.15;padding:2px;overflow:hidden}
.side-tabs{display:flex;gap:8px;justify-content:center;margin-top:14px}
.side-tabs button{border:1.5px solid var(--line);background:var(--card);color:var(--ink);border-radius:8px;padding:8px 18px;font-weight:700}
.side-tabs button[aria-pressed="true"]{background:var(--navy);color:#fff;border-color:var(--navy)}

.stage-note{text-align:center;color:var(--muted);font-size:.85rem;margin-top:10px}
.controls{padding:22px}
.step{border-bottom:1px solid var(--line);padding:16px 0}
.step:first-child{padding-top:0}
.step:last-child{border-bottom:0}
.step h4{margin:0 0 4px;font-size:1.12rem;text-transform:uppercase;font-weight:700}
.step h4 .n{color:var(--gold);margin-right:8px}
.step p.hint{margin:0 0 12px;color:var(--muted);font-size:.9rem}
.swatches{display:flex;gap:9px;flex-wrap:wrap}
.swatch{width:38px;height:38px;border-radius:50%;border:2px solid var(--line);padding:0;position:relative}
.swatch[aria-pressed="true"]{border-color:var(--gold);box-shadow:0 0 0 2px var(--card),0 0 0 4px var(--gold)}
.swatch-name{font-weight:600;margin-top:8px;font-size:.92rem}
.upload-zone{border:2px dashed var(--line);border-radius:var(--radius);padding:18px;text-align:center;background:var(--card-2)}
.upload-zone.drag{border-color:var(--gold);background:var(--card)}
.upload-zone p{margin:4px 0;color:var(--muted);font-size:.9rem}
.filebtn{display:inline-flex;background:var(--navy);color:#fff;border-radius:8px;padding:10px 18px;font-weight:700;cursor:pointer;align-items:center;min-height:2.75rem}

.textrow{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.textrow input[type="text"]{flex:1;min-width:150px;border:1.5px solid var(--line);border-radius:8px;padding:8px 10px;font-family:inherit;font-size:.95rem;background:var(--card);color:var(--ink)}
.textrow select{border:1.5px solid var(--line);border-radius:8px;background:var(--card);color:var(--ink);padding:6px;font:inherit}
.smallbtn{border:1.5px solid var(--navy);color:var(--navy);background:transparent;border-radius:8px;padding:8px 14px;font-weight:700}

/* artwork check */
.check-panel{margin-top:14px;border:1px solid var(--line);border-radius:var(--radius);padding:16px;background:var(--card)}
.check-panel[hidden]{display:none}
.check-top{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.ring{width:76px;height:76px;flex:none}
.ring .num{font-family:'Barlow Semi Condensed',sans-serif;font-weight:700;font-size:1.5rem}
.check-top .verdict{font-weight:700;font-size:1rem}
.check-top .vsub{color:var(--muted);font-size:.88rem;overflow-wrap:anywhere}
.check-top>div{min-width:0}
.stat-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}
.stat-card{background:var(--card-2);border-radius:8px;padding:10px 8px}
.stat-card b{display:block;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-family:'Barlow',sans-serif}
.stat-card span{font-weight:700;font-size:.8rem;white-space:nowrap}
.check-list{list-style:none;margin:0;padding:0}
.check-list li{display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap;padding:10px 0;border-top:1px solid var(--line)}
.check-list .ic{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:.8rem;font-weight:700;color:#fff;margin-top:1px}
.ic.pass{background:var(--good)} .ic.warn{background:var(--warn)} .ic.fail{background:var(--bad)}
.check-list .ct{flex:1;min-width:0}
.check-list .ct b{display:block;font-size:.93rem}
.check-list .ct span{color:var(--muted);font-size:.88rem}
.fixbtn{border:0;border-radius:8px;background:var(--navy);color:#fff;padding:8px 14px;font-weight:700;white-space:nowrap;font-size:.92rem}
/* v1.1.19: in the 350px studio tool panel the fix button squeezed the check
   text into a ~110px sliver and clipped itself at the panel edge — give it
   its own full-width line under the check text instead. */
.check-list .fixbtn{flex:1 1 100%;margin-top:8px}
/* v1.1.20 (owner: panel "not properly arranged", font too big): deliberate
   rows in the artwork size controls — label+input first, −10%/+10% sharing
   a row evenly, Upscale on its own full-width row; check-foot message gets
   its own full-width line with Undo fix / Remove artwork side by side
   under it; panel buttons step down to .88rem. */
#sizeCtl #wMinus,#sizeCtl #wPlus{flex:1 1 40%}
#sizeCtl #wFit{flex:1 1 100%}
.check-foot .smallbtn{flex:1 1 0;text-align:center}
.tool-panel .smallbtn{font-size:.88rem;padding:7px 12px}
/* v1.1.21: check-foot buttons never wrap (uneven heights) — one line,
   a step smaller; plus the Your uploads library strip and the
   Normal / Contrast / Mask preview restored to the check panel. */
.check-panel .check-foot .smallbtn{white-space:nowrap;font-size:.84rem}
.uploads-lib .panel-sec{margin-top:16px}
.uploads-row{display:flex;gap:8px;flex-wrap:wrap}
.up-item{position:relative;display:flex;flex-direction:column;gap:4px;flex:none;width:66px}
.up-x{position:absolute;top:3px;right:3px;width:18px;height:18px;min-height:0;border-radius:50%;background:rgba(20,22,28,.55);color:#fff;border:0;font-size:.55rem;line-height:1;display:grid;place-items:center;cursor:pointer;padding:0;z-index:2}
.up-x:hover{background:rgba(178,34,20,.88)}
.up-thumb{width:66px;border:1.5px solid var(--line);border-radius:9px;background:repeating-conic-gradient(#eef0f4 0% 25%, #fff 0% 50%) 0 0/14px 14px;padding:5px 4px 4px;display:flex;flex-direction:column;align-items:center;gap:3px;cursor:pointer;min-height:0;color:var(--ink)}
.up-thumb img{width:52px;height:38px;object-fit:contain;display:block;pointer-events:none}
.up-thumb span{font-size:.58rem;font-weight:600;line-height:1.15;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}
.up-thumb:hover{border-color:#f04e23}
.view-toggle{display:flex;gap:6px;margin-top:12px}
.view-toggle button{flex:1;border:1.5px solid var(--line);background:var(--card);color:var(--ink);border-radius:8px;padding:6px 4px;font-size:.8rem;font-weight:700;min-height:0}
.view-toggle button[aria-pressed="true"]{background:#111;border-color:#111;color:#fff}
.art-preview{margin-top:8px;border:1px solid var(--line);border-radius:10px;height:132px;display:grid;place-items:center;overflow:hidden}
.art-preview[hidden]{display:none}
.art-preview img{max-width:76%;max-height:106px;object-fit:contain;display:block;padding:6px;box-sizing:border-box}
.art-preview.view-normal{background:repeating-conic-gradient(#e8eaef 0% 25%, #f7f8fa 0% 50%) 0 0/16px 16px}
.art-preview.view-contrast{background:#14161c}
.art-preview.view-mask{background:#fff}

.check-foot{display:flex;gap:10px;align-items:center;margin-top:14px;flex-wrap:wrap}
.check-foot .msg{color:var(--muted);font-size:.88rem;flex:1 1 100%}
/* size controls */
.sizectl{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px}
.sizectl label{font-size:.88rem;font-weight:600}
.sizectl input{width:84px;border:1.5px solid var(--line);border-radius:8px;padding:7px 8px;font-family:inherit;font-size:.95rem;background:var(--card);color:var(--ink)}
.sizectl .qb{border:1.5px solid var(--line);background:var(--card);color:var(--ink);border-radius:8px;padding:7px 11px;font-weight:700;font-size:.88rem}
.dpi-line{font-size:.88rem;margin-top:6px}
.dpi-line.ok{color:var(--good)} .dpi-line.warn{color:var(--warn)} .dpi-line.bad{color:var(--bad)}
/* quantities */
.qty-table{width:100%;border-collapse:collapse}
.qty-table th,.qty-table td{padding:7px 6px;text-align:left;border-bottom:1px solid var(--line);font-size:.95rem}
.qty-table th{color:var(--muted);font-weight:600;font-size:.82rem;text-transform:uppercase;letter-spacing:.06em}
.stepper{display:inline-flex;align-items:center;gap:2px}
.stepper button{width:36px;height:36px;border:1.5px solid var(--line);background:var(--card);color:var(--ink);border-radius:8px;font-weight:700;font-size:1.05rem;padding:0}
.stepper input{width:48px;text-align:center;border:0;font:inherit;font-weight:700;background:transparent;color:var(--ink)}
.designer-total{display:flex;justify-content:space-between;align-items:center;background:var(--card-2);border-radius:var(--radius);padding:14px 16px;margin-top:6px;flex-wrap:wrap;gap:10px}
.designer-total .btn{white-space:nowrap;flex:none;margin-left:auto}
.designer-total b{font-size:1.35rem}
.designer-total span{color:var(--muted);font-size:.9rem;display:block}
/* quantity tiers + margin (owner-gated) */
.tier-line{margin:12px 0 0;font-size:.92rem;font-weight:600}
.tier-line .own{font-weight:700}
.neg{color:var(--bad)!important;font-weight:700}
.margin-table tr.cur td{background:rgba(240,78,35,.13);font-weight:700}
.owner-toggle{margin:2px 0 10px;border:1.5px solid var(--line);background:var(--card);color:var(--muted);border-radius:999px;padding:6px 13px;font-size:.8rem;font-weight:700;min-height:0}
.owner-toggle[aria-pressed="true"]{background:#111;border-color:#111;color:#fff}
/* services / steps */
.svc-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.svc{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:20px 18px}
.svc h3{margin:0 0 8px;font-size:1.12rem;text-transform:uppercase}
.svc p{margin:0;color:var(--muted);font-size:.92rem}
.svc .ic{width:42px;height:42px;border-radius:10px;background:var(--navy);color:#fff;display:grid;place-items:center;margin-bottom:12px}

.svc .ic svg{width:22px;height:22px}
.steps4{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.stepcard{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:20px 18px}
.stepcard .num{font-family:'Barlow Semi Condensed',sans-serif;font-size:2rem;font-weight:700;color:var(--gold);line-height:1}
.stepcard h3{margin:6px 0 6px;font-size:1.1rem;text-transform:uppercase}
.stepcard p{margin:0;color:var(--muted);font-size:.92rem}
/* reviews */
.rev-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.review{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:20px 18px;display:flex;flex-direction:column;gap:8px}
.review p{margin:0;font-size:.97rem;flex:1}
.review .who{font-weight:700}
.review .what{color:var(--muted);font-size:.85rem}
/* wholesale + faq */
.split{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:stretch}
.panel{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:26px}
.panel h3{margin:0 0 10px;font-size:1.4rem;text-transform:uppercase}
.panel p{color:var(--muted);margin:0 0 14px}
.panel ul{margin:0 0 18px;padding-left:20px;color:var(--muted)}
.panel ul b{color:var(--ink)}
details.faq{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);margin-bottom:10px}
details.faq summary{cursor:pointer;font-weight:700;padding:16px 18px;font-size:1.02rem;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:10px}
details.faq summary::-webkit-details-marker{display:none}
details.faq summary::after{content:"+";font-size:1.3rem;color:var(--gold);font-weight:700}
details.faq[open ] summary::after{content:"–"}
details.faq .a{padding:0 18px 16px;color:var(--muted)}
/* footer */
footer{background:var(--navy-2);color:#dbe2f0;margin-top:20px}
@media (max-width:720px){.ft{gap:14px;padding:20px 0 12px}}

.ft{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:20px;padding:24px 0 16px}
.ft h4{color:#fff;margin:0 0 7px;font-size:1rem;text-transform:uppercase}
.ft a{color:#dbe2f0;text-decoration:none;display:block;padding:3px 0;min-height:0}
.ft a:hover{color:var(--gold-soft)}
.ft p{margin:0 0 5px;font-size:.92rem}
.ft .fine{border-top:1px solid rgba(255,255,255,.16);padding:11px 0 14px;font-size:.83rem;color:#9fb0cc;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}
/* multi-page views */
.page{display:none}
.page.active{display:block;animation:pagein .22s ease}
@keyframes pagein{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
nav.main a[aria-current="page"]{background:var(--card-2);box-shadow:inset 0 -3px 0 var(--gold)}
/* cart drawer */
.drawer-veil{position:fixed;inset:0;background:rgba(8,14,28,.55);z-index:80;opacity:0;pointer-events:none;transition:opacity .2s}
.drawer{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--card);z-index:90;transform:translateX(105%);transition:transform .25s;display:flex;flex-direction:column;box-shadow:-8px 0 30px rgba(0,0,0,.25)}
body.cart-open .drawer{transform:none}
body.cart-open .drawer-veil{opacity:1;pointer-events:auto}
.drawer header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--line)}
.drawer header h3{margin:0;font-size:1.3rem;text-transform:uppercase}
.drawer .items{flex:1;overflow:auto;padding:14px 20px}
.cart-item{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.cart-item img{width:58px;height:58px;object-fit:cover;border-radius:8px;flex:none}
.cart-item .thumb{width:58px;height:58px;border-radius:8px;flex:none;display:grid;place-items:center;color:#fff;font-weight:700;font-size:.7rem;text-align:center;padding:4px}
.cart-item .ci-b{flex:1}
.cart-item .ci-b b{display:block;font-size:.95rem}
.cart-item .ci-b span{color:var(--muted);font-size:.85rem;display:block}
.cart-item .ci-r{text-align:right}
.cart-item .rm{background:none;border:0;color:var(--bad);font-weight:600;padding:6px 2px;min-height:2rem}
.drawer .foot{border-top:1px solid var(--line);padding:16px 20px}
.drawer .row{display:flex;justify-content:space-between;margin-bottom:6px;font-size:.95rem}
.drawer .row.total{font-size:1.15rem;font-weight:700}
.drawer .foot .btn{width:100%;margin-top:10px}
.empty-cart{color:var(--muted);text-align:center;padding:30px 0}
.toast{position:fixed;left:50%;bottom:22px;transform:translate(-50%,80px);background:var(--navy-2);color:#fff;padding:12px 20px;border-radius:10px;font-weight:600;z-index:120;transition:transform .25s;max-width:92vw;text-align:center;visibility:hidden}
.toast.show{transform:translate(-50%,0);visibility:visible}
/* compose / quote dialog */
.qmodal{position:fixed;inset:0;z-index:110;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(8,14,28,.55)}
.qmodal[hidden]{display:none}
.qcard{background:var(--card);color:var(--ink);border-radius:14px;max-width:520px;width:100%;max-height:92dvh;overflow:auto;padding:22px;box-shadow:0 18px 50px rgba(0,0,0,.35)}
.qhead{display:flex;justify-content:space-between;align-items:center;gap:12px}
.qhead h3{margin:0;font-size:1.35rem;text-transform:uppercase}
.qintro{color:var(--muted);margin:8px 0 14px}
#qForm label{display:block;font-weight:600;font-size:.92rem;margin-bottom:12px}
#qForm input,#qForm textarea{display:block;width:100%;margin-top:5px;border:1.5px solid var(--line);border-radius:8px;padding:9px 10px;font:inherit;font-weight:400;background:var(--card);color:var(--ink)}
.qactions{display:flex;gap:10px;flex-wrap:wrap;margin-top:2px}
.qnote{color:var(--muted);font-size:.86rem;margin:12px 0 0}
.qdone{margin:12px 0 0;font-weight:600;color:var(--good)}
.q-upload{margin:2px 0 14px}
.q-upload>span{display:block;font-weight:600;font-size:.92rem;margin-bottom:6px}
.q-upload-zone{border:2px dashed var(--line);border-radius:var(--radius);padding:14px;text-align:center;background:var(--card-2)}
.q-upload-zone.drag{border-color:var(--gold);background:var(--card)}
.q-upload-zone p{margin:6px 0 0;color:var(--muted);font-size:.86rem}
.q-file-info{display:flex;gap:12px;align-items:center;text-align:left;background:var(--card);border:1px solid var(--line);border-radius:8px;padding:10px 12px;margin-top:12px}
.q-file-info img{width:52px;height:52px;object-fit:contain;border-radius:6px;background:var(--card-2);flex:none}
.q-file-info .qfi-b{flex:1;min-width:0}
.q-file-info .qfi-b b{display:block;font-size:.92rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.q-file-info .qfi-b span{color:var(--muted);font-size:.84rem;display:block}
.q-file-note{color:var(--muted);font-size:.86rem;margin:8px 0 0}
.q-file-info[hidden]{display:none}
#qForm label.filebtn{display:inline-flex;margin-bottom:0}
.garment-list{display:grid;gap:8px;margin-bottom:16px}
.garment{display:flex;justify-content:space-between;gap:10px;align-items:center;border:1.5px solid var(--line);background:var(--card);color:var(--ink);border-radius:8px;padding:10px 12px;text-align:left;width:100%}
.garment[aria-pressed="true"]{border-color:var(--gold);box-shadow:0 0 0 1px var(--gold)}
.garment b{font-size:.97rem;display:block;line-height:1.25}
.garment span{display:block;color:var(--muted);font-size:.82rem}
.garment .from{font-weight:700;color:var(--navy);white-space:nowrap;font-size:1rem}

.color-label{font-weight:700;font-size:.92rem;margin:0 0 8px;text-transform:uppercase;letter-spacing:.05em}
@media (max-width:1020px){
  .grid{grid-template-columns:repeat(3,1fr)}
  .svc-grid{grid-template-columns:repeat(3,1fr)}
  .rev-grid{grid-template-columns:repeat(2,1fr)}
  .designer-grid{grid-template-columns:1fr}
  .stage{border-right:0;border-bottom:1px solid var(--line)}
}
@media (max-width:720px){
  section{padding:38px 0}
  .hero-panel{grid-template-columns:1fr}
  .hero-copy{padding:30px 22px}
  .hero-copy h1{font-size:2.2rem}
  .hero-media{min-height:230px;order:-1}
  .trust-row{grid-template-columns:repeat(2,1fr)}
  .grid{grid-template-columns:repeat(2,1fr)}
  .steps4{grid-template-columns:repeat(2,1fr)}
  .split{grid-template-columns:1fr}
  .ft{grid-template-columns:1fr}
  .hd{flex-wrap:wrap}
  nav.main{display:flex;order:3;flex-basis:100%;margin-left:0;gap:2px;padding-bottom:4px}
  nav.main a{padding:8px 10px;font-size:.92rem}
  .hd .phone{display:none}
  .sec-head{flex-direction:column;gap:2px}
  .sec-head p{text-align:left}
  .stat-cards{grid-template-columns:1fr 1fr 1fr}
}
@media (max-width:430px){
  .grid{grid-template-columns:1fr 1fr;gap:10px}
  .tee .bd{padding:10px 12px 12px}
  .svc-grid{grid-template-columns:1fr 1fr}
  .rev-grid{grid-template-columns:1fr}
}
/* ---- storefront polish ---- */
.hero-panel{box-shadow:0 10px 34px rgba(12,26,54,.10)}
.hero-copy h1{letter-spacing:.005em}
.rating-pill{display:inline-flex;align-items:center;gap:8px;background:var(--card-2);border:1px solid var(--line);border-radius:999px;padding:6px 14px 6px 10px;font-size:.88rem;font-weight:600;margin-bottom:16px}
.rating-pill .stars{font-size:.95rem}
.proof-bar{display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:var(--navy-2);color:#e8ecf5;border-radius:var(--radius);margin-top:14px;overflow:hidden}

.proof-bar div{padding:16px 18px;text-align:center;border-left:1px solid rgba(255,255,255,.12)}
.proof-bar div:first-child{border-left:0}
.proof-bar b{display:block;font-family:'Barlow Semi Condensed',sans-serif;font-size:1.55rem;color:var(--gold-soft);line-height:1.1}
.proof-bar span{font-size:.84rem;color:#c3cede}
.tee{box-shadow:0 1px 3px rgba(12,26,54,.05)}
.tee:hover{box-shadow:0 10px 26px rgba(12,26,54,.13);border-color:var(--gold)}
.tee .ph{position:relative}
.tee .ph img{transition:transform .35s ease}
.tee:hover .ph img{transform:scale(1.04)}
.badge{position:absolute;top:10px;left:10px;background:rgba(10,20,40,.88);color:#fff;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:5px 9px;border-radius:6px}
.badge.goldb{background:var(--gold);color:#171106}
.tee .includes{font-size:.82rem;color:var(--good);font-weight:600}
.addbtn:hover{filter:brightness(1.12)}
.btn:hover{filter:brightness(1.07)}
.cat-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.cat-tile{position:relative;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);text-decoration:none;display:block;aspect-ratio:4/3;background:var(--card-2)}
.cat-tile img{width:100%;height:100%;object-fit:cover}
.cat-tile span{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(transparent,rgba(8,16,32,.82));color:#fff;font-family:'Barlow Semi Condensed',sans-serif;font-weight:700;font-size:1.25rem;text-transform:uppercase;padding:30px 14px 12px}
.cat-tile span small{display:block;font-family:'Barlow',sans-serif;font-size:.8rem;font-weight:500;text-transform:none;letter-spacing:0;color:#d5dbea}
.feat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.designer-band{background:var(--navy-2);color:#eef1f8;border-radius:14px;padding:34px 36px;display:grid;grid-template-columns:1.2fr .8fr;gap:28px;align-items:center}

.designer-band h2{margin:0 0 8px;font-size:2rem;text-transform:uppercase;color:#fff}
.designer-band h2 em{font-style:normal;color:var(--gold-soft)}
.designer-band p{margin:0 0 18px;color:#c3cede;max-width:52ch}
.designer-band ul{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.designer-band li{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:8px;padding:12px 14px;display:flex;justify-content:space-between;gap:12px;font-size:.95rem}
.designer-band li b{color:var(--gold-soft);white-space:nowrap}
.guarantee-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.guarantee{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:22px 20px;text-align:center}
.guarantee .gic{width:46px;height:46px;margin:0 auto 10px;border-radius:50%;background:var(--card-2);display:grid;place-items:center;color:var(--navy)}

.guarantee .gic svg{width:24px;height:24px}
.guarantee h3{margin:0 0 6px;font-size:1.12rem;text-transform:uppercase}
.guarantee p{margin:0;color:var(--muted);font-size:.92rem}
.review .rhead{display:flex;align-items:center;gap:10px}
.review .avatar{width:38px;height:38px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:700;font-size:.85rem;flex:none}

.review .verified{font-size:.78rem;color:var(--good);font-weight:700}
.cta-band{background:var(--gold);border-radius:14px;padding:34px 36px;text-align:center;color:#171106}
.cta-band h2{margin:0 0 8px;font-size:2rem;text-transform:uppercase}
.cta-band p{margin:0 auto 20px;max-width:56ch;color:#4a3d10}
.cta-band .btn-navy{background:#12264d;color:#fff}
.shop-note{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:-6px 0 18px;color:var(--muted);font-size:.92rem}
.shop-note b{color:var(--ink)}
.designer-perks{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.designer-perks span{border:1px solid var(--line);background:var(--card);border-radius:999px;padding:6px 13px;font-size:.86rem;font-weight:600}
.svc .svc-link{display:inline-block;margin-top:12px;font-weight:700;color:var(--navy);text-decoration:none}

.svc .svc-link:hover{text-decoration:underline}
@media (max-width:1020px){
  .feat-grid{grid-template-columns:repeat(2,1fr)}
  .cat-tiles{grid-template-columns:repeat(2,1fr)}
  .designer-band{grid-template-columns:1fr}
}
@media (max-width:720px){
  .rev-grid{grid-template-columns:1fr}
  .proof-bar{grid-template-columns:repeat(2,1fr)}
  .proof-bar div{border-left:0;border-top:1px solid rgba(255,255,255,.12)}
  .proof-bar div:nth-child(-n+2){border-top:0}
  .guarantee-row{grid-template-columns:1fr}
  .feat-grid{grid-template-columns:1fr 1fr;gap:10px}
  .designer-band,.cta-band{padding:26px 20px}
}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .drawer,.drawer-veil,.toast{transition:none}
  .page.active{animation:none}
  .tee .ph img{transition:none}
  .tee:hover .ph img{transform:none}
}
/* ============ CUSTOMONE-STYLE VIEW (like theirs) ============ */
body{font-family:'Poppins','Barlow',system-ui,sans-serif;background:var(--bg);font-size:15px}
h1,h2,h3,.cond{font-family:'Poppins','Barlow',sans-serif;letter-spacing:-.02em;text-transform:none!important}
.wrap{max-width:1260px;padding:0 24px}
section{padding:44px 0}
/* top black bar — like theirs */
.strip{background:#111;color:#fff;text-align:left;font-size:.82rem;font-weight:500;letter-spacing:0;padding:9px 24px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.strip b{color:#fff}
.strip .strip-r{display:flex;gap:20px}
.strip a{color:#fff;text-decoration:none}
.strip .msg-short{display:none}
/* header — white, logo / search / help / cart like theirs */
header.site{background:#fff;border-bottom:1px solid #eee;box-shadow:0 1px 0 rgba(0,0,0,.02)}
.hd{flex-wrap:wrap;padding:16px 20px 0;gap:16px 22px;align-items:center}
.brand .bn{font-family:'Poppins',sans-serif;font-size:1.5rem;letter-spacing:-.03em}
.brand .bn span{color:var(--brand)}
.brand .bt{letter-spacing:.02em;text-transform:none;font-style:italic;color:#666;font-size:.78rem}
.brand img{border-radius:8px}
.searchbar{flex:1;min-width:260px;max-width:560px;display:flex;border:1.5px solid #e8e8e8;border-radius:8px;overflow:hidden;background:#fff}
.searchbar input{flex:1;border:0;padding:12px 16px;font:inherit;font-size:.95rem;min-width:0;background:#fff;color:#111}
.searchbar button{background:linear-gradient(135deg,#f43f1e,#ff7e00);color:#fff;border:0;width:52px;font-size:1.1rem;cursor:pointer}
.help-block{display:flex;align-items:center;gap:10px;white-space:nowrap}
.help-block .hic{width:36px;height:36px;border:1.5px solid #111;border-radius:50%;display:grid;place-items:center;font-size:1rem}
.help-block b{display:block;font-size:.72rem;letter-spacing:.04em}
.help-block span{display:block;font-size:.82rem;color:#555}
nav.main{order:3;flex-basis:100%;margin:0;justify-content:center;border-top:1px solid #f0f0f0;padding:6px 0 10px;gap:6px}
nav.main a{font-weight:500;font-size:.95rem;color:#222;padding:9px 16px;border-radius:6px}
nav.main a:hover{color:var(--brand);background:#fff4ef}
nav.main a[aria-current="page"]{background:transparent;box-shadow:none;color:var(--brand);font-weight:700}
.hd .phone{display:none}
.cartbtn{background:#fff;color:#111;border:1.5px solid #e8e8e8;border-radius:8px;padding:9px 14px}
.cartbtn .count{background:linear-gradient(135deg,#f43f1e,#ff7e00);color:#fff}
/* orange promo bar — like theirs */
.promo-bar{background:linear-gradient(90deg,#f43f1e,#ff6a00);color:#fff;text-align:center;padding:13px 16px;display:flex;justify-content:center;align-items:center;gap:18px;flex-wrap:wrap;font-size:.95rem}
.promo-bar b{font-weight:700}
.promo-bar a{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.55);color:#fff;text-decoration:none;padding:7px 16px;border-radius:6px;font-weight:600;font-size:.88rem}
/* hero — pale lavender panel, black + orange headline, gradient CTA like theirs */
.hero{padding:26px 20px 6px}
.hero-panel{background:var(--lav);border:0;border-radius:16px;box-shadow:none;grid-template-columns:1.02fr .98fr}
.hero-copy{padding:52px 46px}
.hero-copy h1{font-size:2.75rem;line-height:1.12;text-transform:none!important;font-weight:700;color:#111}
.hero-copy h1 em{color:#f26522}
.hero-copy .sub{color:#222;font-family:'Poppins',sans-serif;font-size:1.05rem;font-weight:500}
.hero-copy p{color:#444}
.rating-pill{background:#fff;border-color:#dde2ef}
.btn{border-radius:7px;padding:13px 26px;font-weight:600;box-shadow:none}
.btn-gold{background:linear-gradient(135deg,#f43f1e,#ff7e00);color:#fff}
.btn-navy{background:linear-gradient(135deg,#f43f1e,#ff7e00);color:#fff}
.btn-ghost{background:#fff;border-color:#f04e23;color:#f04e23}
.addbtn,.fixbtn,.filebtn{background:linear-gradient(135deg,#f43f1e,#ff7e00);color:#fff}
.chip[aria-pressed="true"],.side-tabs button[aria-pressed="true"]{background:#111;border-color:#111;color:#fff}
.sec-head{border-bottom:0;padding-bottom:0}
.sec-head h2{font-size:2rem;font-weight:700;color:#111}
.sec-head h2::first-letter{color:inherit}
.proof-bar{background:#fff;color:#222;border:1px solid var(--line)}
.proof-bar b{color:#f04e23;font-family:'Poppins',sans-serif}
.proof-bar span{color:#666}
.proof-bar div{border-left-color:#eee}
.trust{border-radius:12px}
/* product cards — white, vendor, dots, stars, red tags like theirs */
.tee{border:1px solid #ededef;border-radius:12px;box-shadow:0 2px 10px rgba(0,0,0,.04)}
.tee:hover{box-shadow:0 12px 28px rgba(0,0,0,.10);border-color:#ffd9cc}
.tee .ph{aspect-ratio:1/1.05;background:#fff}
.tee .ph img{object-fit:cover}
.tee .bd{padding:14px 16px 18px;gap:5px}
.tee h3{font-size:1rem;text-transform:none!important;font-weight:600;line-height:1.35;letter-spacing:0}
.tee .vendor{font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:#8a8f98;font-weight:600}
.tee .dots{display:flex;gap:6px;margin:4px 0 2px}
.tee .dots i{width:15px;height:15px;border-radius:50%;border:1px solid #ddd;display:block}
.tee .starsrow{color:#f5b301;font-size:.9rem;letter-spacing:1px}
.tee .starsrow span{color:#777;letter-spacing:0;font-size:.82rem}
.tee .tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:4px}
.tee .tags em{font-style:normal;font-size:.72rem;font-weight:600;color:#e5391f;border:1px solid #f3b2a6;border-radius:4px;padding:3px 7px;background:#fff7f5}
.tee .price{font-size:.98rem;font-weight:600}
.tee .includes{color:#e5391f;font-weight:500;font-size:.8rem}
.badge{background:#1da637;color:#fff;text-transform:none;letter-spacing:0;border-radius:5px;font-size:.75rem;padding:5px 10px}
.badge.goldb{background:#e51b23;color:#fff}
/* shop — left filter sidebar + right grid like their collection page */
#page-shop section .wrap{display:grid;grid-template-columns:270px 1fr;gap:22px;align-items:start}
#page-shop .sec-head,#page-shop .shop-note{grid-column:1/-1}
#page-shop .filters{flex-direction:column;align-items:stretch;background:#fff;border:1px solid #eee;border-radius:12px;padding:20px;margin:0;gap:4px;position:sticky;top:150px}
#page-shop .filters::before{content:"CATEGORY";font-size:.78rem;font-weight:700;letter-spacing:.08em;margin-bottom:8px}
#page-shop .chip{border:0;background:transparent;text-align:left;border-radius:6px;padding:10px 8px;font-weight:500;color:#222}
#page-shop .chip[aria-pressed="true"]{background:#fff1ec;color:#e5391f}
#page-shop .grid{grid-template-columns:repeat(3,1fr)}
.designer-band{background:var(--lav);color:#222;border-radius:16px}
.designer-band h2{color:#111}.designer-band h2 em{color:#f26522}.designer-band p{color:#444}
.designer-band li{background:#fff;border-color:#e2e6f0;color:#222}.designer-band li b{color:#f04e23}
.cta-band{background:var(--lav);color:#111}.cta-band p{color:#444}.cta-band .btn-navy{background:linear-gradient(135deg,#f43f1e,#ff7e00)}
footer{background:#111}
.svc .ic,.guarantee .gic{background:#fff1ec;color:#f04e23}
.cat-tile{border-radius:14px}
@media(max-width:900px){#page-shop section .wrap{grid-template-columns:1fr}#page-shop .filters{position:static;flex-direction:row;flex-wrap:wrap}#page-shop .grid{grid-template-columns:repeat(2,1fr)}.searchbar{order:3;flex-basis:100%;max-width:none}.help-block{display:none}.hero-copy h1{font-size:2.1rem}}

/* hero banner — stack on tablets & phones. This block must stay AFTER the
   CustomOne hero rules above: they re-declare the two-column panel later in
   the cascade than the base 720px query, which left phones with the photo
   and copy squeezed side-by-side into two narrow columns. */
@media (max-width:900px){
  .hero-panel{grid-template-columns:1fr}
  .hero-media{order:-1;min-height:0;aspect-ratio:16/10}
  .hero-media img{object-position:center}
  .hero-copy{padding:32px 24px 36px}
  .hero-copy h1{font-size:2.3rem;line-height:1.12}
  .hero-copy p{max-width:60ch}
  .rating-pill{max-width:100%}
}
@media (max-width:430px){
  .hero{padding-top:18px}
  .hero-media{aspect-ratio:4/3}
  .hero-media .tag{left:12px;bottom:12px;font-size:.82rem;max-width:calc(100% - 24px)}
  .hero-copy{padding:26px 20px 30px}
  .hero-copy h1{font-size:2rem}
  .hero .cta-row .btn{flex:1 1 auto}
}
/* ============ DESIGN STUDIO — Custom Ink-style design lab ============ */
body.studio-mode{overflow:hidden;background:#e9ebf0}
body.studio-mode header.site,body.studio-mode .strip,body.studio-mode .promo-bar,body.studio-mode footer,body.studio-mode main>.page:not(#page-designer){display:none!important}
body.studio-mode main{padding:0}
body.studio-mode #page-designer{display:flex!important;flex-direction:column;position:fixed;inset:0;z-index:200;background:#e9ebf0;height:100dvh}
body.studio-mode .drawer{z-index:300}
body.studio-mode .drawer-veil{z-index:290}
body.studio-mode .toast{z-index:400}
body.studio-mode .qmodal{z-index:400}
/* v1.1.21: when the owner is logged in, the WordPress admin bar overlays
   the studio's top bar — offset the fixed studio shell under it. Public
   visitors never see the admin bar and are unaffected. */
body.admin-bar.studio-mode #page-designer{top:32px;height:calc(100dvh - 32px)}
@media (max-width:782px){ body.admin-bar.studio-mode #page-designer{top:46px;height:calc(100dvh - 46px)} }
/* v1.1.21: studio toasts float ABOVE the bottom bar instead of covering
   Save / Share / Add to Order while they fade. */
body.studio-mode .toast{bottom:96px}
/* slim top bar */
#page-designer .studio-top{display:flex;align-items:center;gap:14px;background:#fff;border-bottom:1px solid #e3e5ea;padding:8px 16px;flex:none;flex-wrap:wrap}
.studio-top .studio-back{font-weight:600;color:#111;text-decoration:none;border:1.5px solid #ddd;border-radius:7px;padding:8px 13px;background:#fff;white-space:nowrap;font-size:.92rem}
.studio-top .studio-back:hover{border-color:#f04e23;color:#f04e23}
.studio-top .studio-title{font-weight:700;font-size:1.12rem;white-space:nowrap}
.studio-top .studio-title span{color:#f04e23}
.design-name{display:flex;align-items:center;gap:8px;margin-left:6px}
.design-name .dn-label{font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#8a8f98}
.design-name input{border:1.5px dashed transparent;border-radius:7px;padding:7px 10px;font:inherit;font-weight:600;font-size:.98rem;min-width:170px;background:transparent;color:#111}
.design-name input:hover{border-color:#ddd}
.design-name input:focus{border:1.5px solid #f04e23;outline:none;background:#fff}
.studio-contact{margin-left:auto;display:flex;gap:16px;align-items:center;font-size:.9rem}
.studio-contact a{color:#333;text-decoration:none;font-weight:600;white-space:nowrap}
.studio-contact a:hover{color:#f04e23}
/* body: rail + panel + canvas */
.studio-body{flex:1;display:flex;min-height:0}
.rail{width:86px;background:#111;color:#fff;display:flex;flex-direction:column;flex:none;padding:12px 0;gap:2px;z-index:6}
.rail-btn{background:none;border:0;color:#c9ced8;display:flex;flex-direction:column;align-items:center;gap:5px;padding:13px 4px;font-size:.66rem;font-weight:600;line-height:1.15;border-left:3px solid transparent;min-height:0}
.rail-btn svg{width:24px;height:24px;flex:none}
.rail-btn:hover{color:#fff}
.rail-btn.on{color:#fff;border-left-color:#f04e23;background:rgba(255,255,255,.07)}
.tool-panel{width:350px;flex:none;background:#fff;border-right:1px solid #e3e5ea;overflow-y:auto;padding:20px 20px 26px}
.tool-panel .panel-h{margin:0 0 6px;font-size:1.18rem;font-weight:700}
.tool-panel .panel-sub{margin:0 0 14px;color:#5f6570;font-size:.9rem}
.tool-panel .panel-note{color:#5f6570;font-size:.86rem;margin:14px 0 0}
.tool-panel .panel-sec{margin:20px 0 8px;font-size:.8rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#333}
.tool-panel .panel-sec:first-of-type{margin-top:8px}
.tool-panel .panel-sec .sec-note{color:#8a8f98;font-weight:600;text-transform:none;letter-spacing:0}
.panel-btn{width:100%;margin:6px 0 2px}
.btn-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.smallbtn.danger{border-color:#d92d20;color:#d92d20}
/* welcome tiles */
.welcome-tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:6px}
.wtile{border:1.5px solid #e6e7eb;background:#fff;border-radius:10px;padding:16px 13px;text-align:left;display:flex;flex-direction:column;gap:3px;color:#111;min-height:0}
.wtile svg{width:26px;height:26px;color:#f04e23;margin-bottom:4px}
.wtile b{font-size:1rem}
.wtile span{color:#5f6570;font-size:.8rem;line-height:1.35}
.wtile:hover{border-color:#f04e23;background:#fff7f3}
/* product panel */
.prod-name{font-weight:700;font-size:1.02rem;line-height:1.3}
.prod-sub{color:#5f6570;font-size:.88rem;margin-top:2px}
.prod-from{font-weight:700;margin-top:6px;font-size:1.02rem}
.method-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.method{border:1.5px solid #f04e23;background:#fff4ef;color:#c23a12;border-radius:999px;padding:6px 14px;font-weight:700;font-size:.88rem}
.method-note{color:#5f6570;font-size:.86rem}
.ptype-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ptype{border:1.5px solid #e6e7eb;background:#fff;border-radius:10px;padding:10px 12px;text-align:left;color:#111;min-height:0}
.ptype b{display:block;font-size:.95rem}
.ptype span{display:block;color:#5f6570;font-size:.78rem;line-height:1.3;margin-top:2px}
.ptype[aria-pressed="true"]{border-color:#f04e23;background:#fff4ef;box-shadow:0 0 0 1px #f04e23}
/* v1.1.21: print type is mandatory — before the customer chooses, the
   detected type shows as a dashed suggestion, not a selection; a
   blocked Add to Order pulses the row so the missing choice is obvious. */
.ptype.suggested{border-style:dashed;border-color:#a8adb8;background:#f7f8fa}
.ptype-row.nudge{animation:ptnudge .45s ease 2}
@keyframes ptnudge{0%,100%{box-shadow:0 0 0 0 rgba(240,78,35,0)}50%{box-shadow:0 0 0 3px rgba(240,78,35,.55)}}

/* canvas */
.canvas-area{flex:1;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#e9ebf0;min-width:0}
.stage-scroll{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:26px 70px}
body.studio-mode .shirtbox{max-width:min(540px,100%,calc((100vh - 215px) * 0.8));width:100%}
body.studio-mode .shirtbox.sleeve-view{max-width:min(640px,100%,calc((100vh - 245px) * 1.316))}
.shirtbox{transition:transform .3s ease}
/* v1.2.5 — zoom transform is set inline by JS (levels + pan). */
.canvas-area.zoomed .shirtbox{cursor:grab;touch-action:none}
.canvas-area.panning .shirtbox{cursor:grabbing}
.canvas-note{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);color:#7a8191;font-size:.8rem;margin:0;white-space:nowrap}
.undo-pill{position:absolute;left:14px;top:50%;transform:translateY(-50%);background:#fff;border:1px solid #e0e2e8;border-radius:999px;box-shadow:0 4px 14px rgba(10,20,40,.12);display:flex;flex-direction:column;overflow:hidden;z-index:8}
.undo-pill button{background:#fff;border:0;padding:10px 12px;display:flex;flex-direction:column;align-items:center;gap:1px;font-size:.64rem;font-weight:700;color:#222;min-height:0}
.undo-pill button span{font-size:.62rem}
.undo-pill button:disabled{opacity:.35;cursor:default}
.undo-pill button:not(:disabled):hover{background:#fff4ef;color:#f04e23}
.undo-pill button + button{border-top:1px solid #eee}
.side-switch{position:absolute;right:14px;top:96px;display:flex;flex-direction:column;gap:10px;z-index:8;align-items:center}
.side-switch button{background:#fff;border:1.5px solid #ddd;border-radius:9px;padding:8px 6px 7px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:3px;font-size:.72rem;font-weight:700;color:#222;width:92px;height:68px;box-sizing:border-box;box-shadow:0 2px 8px rgba(10,20,40,.07)}
.side-switch button svg{width:40px;height:40px}
/* v1.13.0: nine buttons in the stack (8 placements + zoom) — smaller
   thumbs on desktop, and shorter buttons still on short windows, so
   the whole column always fits beside the canvas. */
.side-switch .ss-mock{width:40px;height:40px}
@media (max-height:820px){
  .side-switch button{height:60px}
  .side-switch .ss-mock{width:34px;height:34px}
}
@media (max-height:700px){
  .side-switch button{height:54px}
  .side-switch .ss-mock{width:30px;height:30px}
}
.side-switch{top:64px}
.side-switch button .ss-lab{border-bottom:3px solid transparent;padding-bottom:1px}
.side-switch button[aria-pressed="true"]{border-color:#111}
.side-switch button[aria-pressed="true"] .ss-lab{border-bottom-color:#f04e23}
/* selected layer controls */
.artlayer .ctl{position:absolute;width:21px;height:21px;border-radius:50%;background:#fff;border:1.5px solid #b9bec9;color:#333;display:none;place-items:center;font-size:.68rem;cursor:pointer;z-index:4;line-height:1;padding:0;min-height:0;touch-action:none}
.artlayer.sel .ctl{display:grid}
.artlayer .handle{display:none}
.artlayer.sel .handle{display:block}
.artlayer.sel{outline:1.5px dashed #f26522;outline-offset:4px}
.ctl-del{left:-13px;top:-13px}
.ctl-dup{right:-13px;top:-13px}
.ctl-rot{left:50%;top:-34px;transform:translateX(-50%);background:#111;color:#fff;border-color:#111;cursor:grab}
.artlayer .txtsvg,.artlayer .clipsvg{width:100%;height:100%;pointer-events:none}
.artlayer .clipsvg svg,.artlayer .txtsvg svg{width:100%;height:100%;display:block}
/* text tool */
.font-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}
.font-tab{border:1.5px solid #e6e7eb;background:#fff;border-radius:999px;padding:5px 11px;font-size:.8rem;font-weight:600;color:#333;min-height:0}
.font-tab[aria-pressed="true"]{background:#111;border-color:#111;color:#fff}
.font-list{display:grid;gap:6px;max-height:216px;overflow-y:auto;padding:2px}
.font-opt{text-align:left;background:#fff;border:1.5px solid #e6e7eb;border-radius:8px;padding:8px 12px;font-size:1.12rem;color:#111;min-height:0;line-height:1.25}
.font-opt small{display:block;font-family:'Poppins',sans-serif;font-size:.68rem;color:#8a8f98;font-weight:600;letter-spacing:.04em}
.font-opt.on{border-color:#f04e23;background:#fff4ef}
.tool-panel input[type="search"]{width:100%;border:1.5px solid #e6e7eb;border-radius:8px;padding:9px 11px;font-family:inherit;font-size:.92rem;background:#fff;color:#111}
.tool-panel select{width:100%;border:1.5px solid #e6e7eb;border-radius:8px;background:#fff;color:#111;padding:9px;font-family:inherit;font-size:.92rem}
.ink-grid{display:flex;flex-wrap:wrap;gap:7px}
.ink-sw{width:30px;height:30px;border-radius:50%;border:2px solid #dfe1e6;padding:0;min-height:0;position:relative;flex:none}
.ink-sw.on{border-color:#f04e23;box-shadow:0 0 0 2px #fff,0 0 0 4px #f04e23}
.ink-none{width:auto;border-radius:999px;padding:0 12px;font-size:.78rem;font-weight:700;background:#fff;color:#333;height:30px}
.ink-warn{color:#a86a00;background:#fdf3e0;border:1px solid #ecd9ac;border-radius:8px;padding:8px 11px;font-size:.85rem;margin:10px 0 0}
.rng-row{display:flex;align-items:center;gap:10px;font-size:.88rem;font-weight:600;margin-top:8px}
.rng-row input[type="range"]{flex:1;accent-color:#f04e23}
.rng-row input[type="number"]{width:64px;border:1.5px solid #e6e7eb;border-radius:8px;padding:6px 8px;font-family:inherit;font-size:.92rem}
.locklbl{font-weight:600;font-size:.85rem;display:inline-flex;gap:6px;align-items:center}
/* art tool */
.clip-cats{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}
.clip-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.clip-cell{background:#fff;border:1.5px solid #e6e7eb;border-radius:9px;padding:9px 4px 7px;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:.64rem;font-weight:600;color:#555;min-height:0}
.clip-cell svg{width:34px;height:34px;color:#222}
.clip-cell:hover{border-color:#f04e23}
/* bottom action bar */
.studio-bottom{flex:none;background:#fff;border-top:1px solid #e3e5ea;display:flex;align-items:center;gap:18px;padding:10px 18px;flex-wrap:wrap;z-index:7}
.sb-product{display:flex;align-items:center;gap:12px;min-width:0}
.sb-thumb{width:44px;height:44px;flex:none;background:#f1f2f6;border:1px solid #e3e5ea;border-radius:8px;display:grid;place-items:center}
.sb-thumb svg{width:36px;height:36px}
.sb-meta{display:flex;flex-direction:column;line-height:1.25;min-width:0}
.sb-meta b{font-size:.94rem;white-space:normal;max-width:340px}
.sb-changes{display:flex;gap:14px;align-items:center}
.sb-meta span{font-size:.82rem;color:#5f6570}
.sb-link{background:none;border:0;color:#f04e23;font-weight:700;font-size:.88rem;padding:6px 4px;min-height:0;white-space:nowrap}
.sb-link:hover{text-decoration:underline}
.sb-actions{margin-left:auto;display:flex;align-items:center;gap:8px}
.sb-textbtn{background:none;border:0;font-weight:700;font-size:.95rem;color:#111;padding:10px 6px;min-height:0}
.sb-textbtn:hover{color:#f04e23}
.sb-sep{color:#c9ced8}
.sb-price{background:#111;color:#fff;border:0;border-radius:8px;padding:13px 22px;font-weight:700;font-size:1rem;white-space:nowrap}
.sb-price:hover{background:#f04e23}
/* change product catalogue */
.catalog-overlay{position:absolute;inset:0;background:#f4f5f8;z-index:60;display:flex;flex-direction:column;padding:20px 22px;overflow:hidden}
.catalog-overlay[hidden]{display:none}
.catalog-head{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.catalog-head h3{margin:0;font-size:1.4rem}
.catalog-head input{flex:1;min-width:200px;max-width:440px;border:1.5px solid #ddd;border-radius:8px;padding:10px 12px;font:inherit;background:#fff;color:#111}
.catalog-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
.catalog-tabs .chip[aria-pressed="true"]{background:#111;border-color:#111;color:#fff}
.catalog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:14px;overflow-y:auto;padding:2px 2px 12px;align-content:start;grid-auto-rows:352px}
.cat-card{background:#fff;border:1.5px solid #e6e7eb;border-radius:12px;padding:12px;text-align:left;display:flex;flex-direction:column;gap:5px;color:#111;height:352px;overflow:hidden}
.cat-card:hover{border-color:#f04e23}
.cat-card.on{border-color:#f04e23;box-shadow:0 0 0 1px #f04e23}
.cat-card .mock{height:158px;flex:none;display:block;background:#e8eaef;border-radius:8px;overflow:hidden}
.cat-card .mock img{width:100%;height:100%;object-fit:cover;object-position:center 20%;display:block}
.cat-card b{font-size:.95rem;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cat-card .csub{color:#5f6570;font-size:.8rem;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.prod-sku{margin-top:8px;font-size:.86rem;color:#8a5a00;background:#fdf3e0;border:1px solid #ecd9ac;border-radius:8px;padding:6px 10px;display:inline-block}
.prod-sku[hidden]{display:none}
.soon-note{grid-column:1/-1;border:1.5px dashed #c9ced8;border-radius:12px;padding:26px 22px;text-align:center;color:#5f6570;background:#fff}
.soon-note b{color:#111;display:block;font-size:1.05rem;margin-bottom:4px}
.soon-note a{color:#f04e23;font-weight:700}
.cat-card .cdots{display:flex;gap:4px;align-items:center;margin-top:2px}
.cat-card .cdots i{width:13px;height:13px;border-radius:50%;border:1px solid #ddd;display:block}
.cat-card .cdots span{font-size:.76rem;color:#5f6570;margin-left:4px}
.cat-card .cstars{color:#f5b301;font-size:.85rem}
.cat-card .cfrom{font-weight:700;margin-top:auto}

@media(max-width:900px){
  /* v1.1.21: app shell instead of one long page scroll — the page used
     to scroll as a block with the bottom bar sticky, so the bar floated
     mid-screen slicing every panel it passed. Now the shell is a fixed
     flex column (top bar / scrolling body / bottom bar), the body
     scrolls internally, and the bar can never overlay the panels. */
  body.studio-mode #page-designer{display:flex!important;flex-direction:column;overflow:hidden}
  /* Studio top bar as one tidy grid instead of three ragged wrapped
     rows: back + one-line title + icon-only cart on row 1, the design
     name as a single compact row 2. Contact links stay hidden. */
  #page-designer .studio-top{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px 10px;padding:8px 12px}
  .studio-top .studio-back{grid-column:1;grid-row:1;padding:8px 11px}
  .studio-top .studio-title{grid-column:2;grid-row:1;font-size:1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;min-width:0}
  #studioCartBtn{grid-column:3;grid-row:1;padding:9px 11px;min-height:44px;min-width:44px;justify-content:center;gap:6px}
  #studioCartBtn .cart-label{display:none}
  .studio-top .design-name{grid-column:1/-1;grid-row:2;margin-left:0;gap:8px;min-width:0}
  .studio-top .design-name input{flex:1;min-width:0;padding:5px 8px;font-size:.92rem}
  .studio-body{flex-direction:column;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden}
  /* The tool rail sticks to the top of the scroll view so the four
     tools stay tappable while their panel is in view below. */
  .rail{flex-direction:row;width:auto;padding:4px 6px;order:1;position:sticky;top:0;z-index:30;box-shadow:0 2px 10px rgba(0,0,0,.28)}
  .rail-btn{flex:1;border-left:0;border-bottom:3px solid transparent;padding:9px 2px}
  .rail-btn.on{border-bottom-color:#f04e23}
  .canvas-area{order:2;min-height:54vh;flex:none}
  .stage-scroll{padding:20px 56px}
  /* scroll-margin leaves room for the sticky rail when a tapped tool
     scrolls its panel into view (see setTool reveal). */
  .tool-panel{order:3;width:auto;border-right:0;border-top:1px solid #e3e5ea;overflow:visible;scroll-margin-top:86px}
  .studio-bottom{position:static;flex:none}
  .studio-contact{display:none}
  .side-switch{top:64px}
  .canvas-note{display:none}
  .sb-meta b{max-width:215px}
}
/* ============ MOBILE HAMBURGER MENU (≤820px) ============
   Desktop keeps the full nav row. On narrow screens the nav collapses
   behind a hamburger in the header and opens as a full-width dropdown
   panel under the header; tapping a link, the button again, Escape, or
   anywhere outside closes it. This block is last so it wins over the
   earlier wrap-to-second-row nav rules. */
.hamburger{display:none}
@media (max-width:820px){
  /* Mobile ONLY (desktop header untouched): one header row in three
     equal zones — Menu on the left, logo + MERCY PRINTS centered in
     the middle, cart icon on the right. The row is a 1fr / auto / 1fr
     grid, so the side zones are always the same width and the brand
     unit sits on the true center of the screen no matter how wide the
     Menu or cart buttons are. Search takes the full second row. */
  .hd{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;padding:12px 16px;align-items:center}
  /* Announcement on ONE line on mobile: swap in the short copy, keep
     it on a single nowrap line in small centered type; the utility
     links stay beneath it in one compact centered row. */
  .strip{flex-direction:column;align-items:center;justify-content:center;gap:5px;text-align:center;padding:9px 10px 8px}
  .strip .strip-msg{display:block;width:100%;max-width:100%;text-align:center;font-size:.74rem;line-height:1.3;white-space:nowrap;overflow:hidden}
  .strip .msg-full{display:none}
  .strip .msg-short{display:inline;white-space:nowrap}
  .strip .strip-r{gap:18px;justify-content:center;flex-wrap:nowrap;font-size:.8rem;white-space:nowrap}
  .brand{grid-column:2;grid-row:1;justify-self:center;align-items:center;min-width:0;gap:7px}
  .brand img{width:36px;height:36px;flex:none}
  /* Name + tagline as one compact block in line with the logo mark:
     the <br> and the inherited 1.5 line-height spread the two lines
     far apart and made the text block taller than the logo; drop the
     break, pull both lines tight, and let align-items:center center
     the whole unit against the mark. */
  .brand br{display:none}
  .brand>span{min-width:0;overflow:hidden;text-align:left;line-height:1;display:block}
  .brand .bn{font-size:1.18rem;white-space:nowrap;display:block;overflow:hidden;text-overflow:ellipsis;line-height:1}
  .brand .bt{display:block;font-size:.68rem;line-height:1.15;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .hamburger{grid-column:1;grid-row:1;justify-self:start;margin:0;display:inline-flex;align-items:center;gap:9px;background:#fff;color:#111;border:1.5px solid #e8e8e8;border-radius:8px;padding:10px 13px;min-height:44px;font-weight:700;font-size:.95rem;line-height:1;flex:none}
  .hamburger:hover{border-color:#f04e23;color:#f04e23}
  .hamburger-box{display:flex;flex-direction:column;justify-content:center;gap:5px;width:22px;flex:none}
  .hamburger-box span{display:block;width:22px;height:2px;background:currentColor;border-radius:2px;transition:transform .18s ease,opacity .18s ease}
  .hamburger[aria-expanded="true"] .hamburger-box span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .hamburger[aria-expanded="true"] .hamburger-box span:nth-child(2){opacity:0}
  .hamburger[aria-expanded="true"] .hamburger-box span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .cartbtn{grid-column:3;grid-row:1;justify-self:end;flex:none}
  header.site .cartbtn{padding:9px 11px;gap:6px;min-height:44px;min-width:44px;justify-content:center}
  header.site .cartbtn .cart-label{display:none}
  .searchbar{grid-column:1/-1;grid-row:2;flex:none;width:100%;max-width:none;min-width:0}
  .help-block{display:none}
  .hd .phone{display:none}
  nav.main{position:absolute;top:100%;left:0;right:0;display:none;flex-direction:column;align-items:stretch;justify-content:flex-start;flex-basis:auto;margin:0;padding:8px 16px 12px;gap:0;background:#fff;border-top:1px solid #f0f0f0;border-bottom:1px solid #e6e7eb;box-shadow:0 18px 28px rgba(0,0,0,.14);z-index:70}
  nav.main.open{display:flex;animation:menuin .18s ease}
  nav.main a{display:flex;align-items:center;width:100%;padding:14px 12px;min-height:52px;font-size:1rem;font-weight:600;color:#222;border-radius:8px;border-bottom:1px solid #f3f3f3}
  nav.main a:last-child{border-bottom:0}
  nav.main a:hover{background:#fff4ef;color:var(--brand)}
  nav.main a[aria-current="page"]{background:#fff4ef;color:var(--brand);font-weight:700;box-shadow:inset 3px 0 0 var(--brand)}
}
@keyframes menuin{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media (max-width:430px){
  .hamburger{padding:10px 11px}
  .hamburger-label{display:none}
  .hd{padding:10px 12px;gap:8px}
  .brand{gap:6px}
  .brand img{width:32px;height:32px}
  .brand .bn{font-size:1.02rem}
  .brand .bt{font-size:.62rem}
  header.site .cartbtn{padding:9px 10px}
  .strip .strip-msg{font-size:.68rem;letter-spacing:-.01em}
  .strip .strip-r{gap:14px;font-size:.76rem}
}
@media (max-width:360px){
  .strip .strip-msg{font-size:.62rem}
  .brand .bn{font-size:.95rem}
}

@media (prefers-reduced-motion: reduce){
  nav.main.open{animation:none}
  .hamburger-box span{transition:none}
}
/* ============ DESIGNER ON MOBILE — FULL GARMENT IN FRAME (≤900px) ====
   The life-*.jpg model photos are square (≈680×680, head at the top, the
   garment filling the lower two-thirds). Two mobile bugs hid the shirts:
   (1) the desktop catalogue frame is a short 158px-tall landscape slot
   with object-fit:cover at 20%, which on a phone crops the square photo
   down to a strip of the model's face; (2) the first fix attempt sized
   the frame with aspect-ratio on a height:100% card inside auto grid
   rows — a circular sizing chain that mobile WebKit resolves by
   collapsing the cards to thin strips with the card text clipped away.
   The frame below is sized with the padding-top square trick instead:
   a real, non-circular height that reserves the full square before the
   photo loads, with the <img> absolutely filling it. Square frame +
   square source + object-fit:cover = the whole photo, head to hem,
   with no crop and no letterbox. Rows carry a definite height (see the
   catalogue rules below) sized to photo + text, so the name, colors,
   and price always show under the photo and cards can never overlap.
   so the name, colors, and price always show under the photo. The
   canvas mock is likewise sized by width only (the mobile studio
   scrolls, so a viewport-height cap only shrank / overflow-cropped it)
   and fitted with contain. Desktop is untouched: every rule below
   lives inside the studio's own mobile breakpoint. */
@media (max-width:900px){
  /* Change Product catalogue — two tidy columns, square photo frames.
     Rows get a DEFINITE height (square photo + fixed text block, both
     derived from vw): with auto rows the tracks collapse to ~32px in
     both mobile WebKit and Chromium — the card's percentage-padding
     photo frame contributes nothing to intrinsic track sizing — so
     every card overflowed its row and painted over the next, leaving
     only a forehead strip of each photo visible. A definite row plus
     height:100% cards makes overlap impossible at any phone width. */
  .catalog-overlay{padding:14px 12px 16px}
  .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;grid-auto-rows:calc((100vw - 84px)/2 + 188px);align-content:start;padding:2px 2px 16px}
  .cat-card{height:100%;min-height:0;padding:10px}
  .cat-card .mock{position:relative;height:0;padding-top:100%;flex:none}
  .cat-card .mock img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
  /* Canvas — full garment mock visible, never cropped by the frame.
     Right padding clears the shrunken 66px side-switch column
     (right:8px, see below) and left padding clears the undo pill, so
     the mock never slides under either floating control. */
  .canvas-area{min-height:0}
  .stage-scroll{height:auto;padding:16px 86px 16px 52px}
  body.studio-mode .shirtbox{max-width:min(360px,100%)}
  body.studio-mode .shirtbox.sleeve-view{max-width:min(440px,100%)}
  .mockimg{object-fit:contain;object-position:center}
  /* Side-switch and bottom-bar garment thumbs already use contain —
     keep them that way on mobile so no garment thumb crops either */
  .ss-mock img,.sb-thumb img{object-fit:contain;object-position:center}
  /* Placement switcher — the desktop buttons are 92×88 with 10px
     gaps: a 480px+ column pinned 64px below the canvas top, so on a
     phone Front / Back / Left Sleeve fit and Right Sleeve / Zoom
     spilled past the bottom of the canvas. Shrink the column to fit
     the screen: narrower buttons, 32px thumbs, tighter gaps, and the
     column stretched between the canvas's top and bottom edges with
     all five buttons sharing that height evenly (flex:1 1 0 on an
     even basis, so they stay the same size as each other) — every
     button always lands inside the canvas, as large as the space
     allows, with no scrolling or cutoff. Desktop keeps 92×88. */
  .side-switch{top:8px;bottom:8px;right:8px;gap:6px}
  .side-switch button{width:66px;height:auto;flex:1 1 0;min-height:56px;padding:5px 4px;gap:2px;font-size:.63rem;border-radius:8px;justify-content:center}
  .side-switch button .ss-lab{line-height:1.12;text-align:center}
  .side-switch .ss-mock{width:32px;height:32px}
  .side-switch .ss-mock.ss-zoomico{font-size:1.05rem}
  .ss-note{width:66px}
}
@media (max-width:430px){
  .cat-card b{font-size:.88rem}
  .cat-card .csub{font-size:.74rem}
  .catalog-head input{min-width:0}
  /* Switcher slims a touch further on small phones (62px wide, 30px
     thumbs); stage right padding shrinks with it to match. */
  .side-switch button{width:62px}
  .side-switch .ss-mock{width:30px;height:30px}
  .ss-note{width:62px}
  .stage-scroll{padding:14px 80px 14px 48px}
  body.studio-mode .shirtbox{max-width:min(320px,100%)}
  body.studio-mode .shirtbox.sleeve-view{max-width:min(380px,100%)}
}
/* ============ SHOP (GRAPHIC TEES) ON MOBILE (≤820px) ============
   The desktop Shop layout is a filter sidebar beside a 3-column grid;
   squeezed onto a phone it read as desktop browsing in a cramped card
   (see the owner's screenshot: CATEGORY label, chips and the old
   Custom Range link list all boxed together, info lines stacking one
   per row). Below 820px the page goes mobile-native instead:
   - the wrap drops its grid for plain block flow, which is also what
     lets the category row stick (a sticky element trapped in a grid
     row no taller than itself can never travel);
   - categories become ONE horizontally scrollable pill row that
     sticks under the sticky site header while the grid scrolls;
   - the three info lines collapse into a single compact line whose
     type scales with the viewport so it never wraps or clips;
   - tee cards are designed for the two-column phone grid: the photo
     frame matches the 4:3 source photos so landscape shots show in
     full, uncropped, and the size picker + Add to Cart stack as
     full-width tap targets. Card text is trimmed to what a phone
     card can hold (stars without the caption, no repeated
     "Black · unisex" spec) so names, prices and buttons stay tidy
     and every card in a row ends at the same height.
   Desktop (>820px) keeps the sidebar layout exactly as it was. */
@media (max-width:820px){
  #page-shop section{padding:24px 0 36px}
  #page-shop section .wrap{display:block;padding:0 14px}
  #page-shop .sec-head{margin-bottom:12px}
  #page-shop .sec-head h2{font-size:1.45rem;line-height:1.18}
  #page-shop .sec-head p{display:none}
  #page-shop section .wrap>div:nth-of-type(2){padding:13px 14px;font-size:1.12rem;border-radius:10px}
  /* one compact info line: the three selling points on a single
     nowrap line, type sized in vw so it fits any phone width. The
     "Showing all designs" count yields on mobile — count + all three
     phrases cannot fit one legible line at phone width, and the
     pressed category chip already shows the active filter. */
  #page-shop .shop-note{flex-wrap:nowrap;align-items:center;gap:5px;margin:12px 0 2px;font-size:clamp(.62rem,3.05vw,.76rem);letter-spacing:-.01em;white-space:nowrap;overflow:hidden;line-height:1.3}
  #page-shop .shop-note #shopCount{display:none}
  #page-shop .shop-note span{min-width:0;overflow:hidden;text-overflow:ellipsis}
  #page-shop .shop-note span:first-of-type{display:none}
  /* categories — one sticky, horizontally scrollable chip row */
  #page-shop .filters{position:sticky;top:127px;z-index:45;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:8px;overflow-x:auto;overflow-y:hidden;background:var(--bg);border:0;border-radius:0;margin:4px -14px 14px;padding:10px 14px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  #page-shop .filters::-webkit-scrollbar{display:none}
  #page-shop .filters::before{display:none;content:none}
  #page-shop .chip{flex:none;border:1.5px solid var(--line);background:var(--card);color:var(--ink);border-radius:999px;padding:9px 15px;font-size:.9rem;font-weight:600;white-space:nowrap;min-height:40px;text-align:center}
  #page-shop .chip[aria-pressed="true"]{background:#111;border-color:#111;color:#fff}
  /* tee grid — two tidy columns, full photos, even card heights */
  #page-shop .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  #page-shop .tee{min-width:0}
  #page-shop .tee .ph{aspect-ratio:4/3}
  #page-shop .tee .bd{padding:11px 12px 13px;gap:4px}
  #page-shop .tee .vendor{font-size:.62rem}
  #page-shop .tee h3{font-size:.94rem;line-height:1.3}
  #page-shop .tee .starsrow{font-size:.82rem;letter-spacing:1px}
  #page-shop .tee .starsrow span{display:none}
  #page-shop .tee .line{font-size:.84rem;line-height:1.4}
  #page-shop .tee .meta{flex-direction:column;align-items:flex-start;gap:0}
  #page-shop .tee .price{font-size:.95rem}
  #page-shop .tee .spec{display:none}
  #page-shop .tee .buy{flex-direction:column;gap:7px;margin-top:8px}
  #page-shop .tee .buy select{width:100%;min-height:40px;font-size:.9rem}
  #page-shop .tee .addbtn{width:100%;min-height:42px;font-size:.92rem;padding:9px 10px}
}
@media (max-width:430px){
  #page-shop .filters{top:121px}
  #page-shop .grid{gap:10px}
}

/* ============ TEE CARD GALLERIES ============
   Every graphic-tee card (Shop grid + Home favorites) shows 3 photos —
   main model shot, alternate model shot, flat lay — inside the SAME
   photo frame the card always had: the frame's aspect-ratio is
   untouched, so card heights are unchanged. Photos ride a flex track
   clipped by the viewport; thumbnails overlay the frame's bottom
   instead of adding height. Swipe switches photos on touch;
   thumbnails switch them with mouse or keyboard. (Left/right arrows
   removed in v1.1.18 per owner direction 2026-11-15.) */
.tee .ph.gal{position:relative}
.gal-viewport{position:absolute;inset:0;overflow:hidden;touch-action:pan-y;cursor:pointer}
.gal-track{display:flex;height:100%;transition:transform .32s ease}
.gal-track img{flex:0 0 100%;width:100%;height:100%;object-fit:cover;object-position:center}
.tee .ph.gal.tall .gal-track img{object-position:top center}
.tee:hover .ph.gal .gal-track img{transform:none}
.ph.gal .badge{z-index:3}
.gal-thumbs{position:absolute;left:50%;transform:translateX(-50%);bottom:8px;z-index:3;display:flex;gap:6px;background:rgba(10,14,22,.45);border-radius:999px;padding:4px}
.gal-thumb{width:34px;height:34px;min-height:34px;border-radius:50%;overflow:hidden;border:2px solid transparent;padding:0;background:none;flex:none;opacity:.75}
.gal-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.gal-thumb[aria-pressed="true"]{border-color:#fff;opacity:1;box-shadow:0 0 0 1px rgba(0,0,0,.35)}
.gal-thumb:hover{opacity:1}
@media (max-width:820px){
  .gal-thumb{width:26px;height:26px;min-height:26px}
  .gal-thumbs{bottom:6px;padding:3px;gap:4px}
}
@media (prefers-reduced-motion: reduce){
  .gal-track{transition:none}
}

/* ============ MOBILE FIX PASS (v1.1.10) — from the 2026-11-15 phone-width audit.
   Appended last so it wins the cascade at equal specificity. ============ */
@media (max-width:820px){
  /* Header tagline: wrap to two lines instead of clipping mid-word. */
  .brand .bt{white-space:normal;overflow:visible;text-overflow:clip}
  /* Shop filter chips: wrap onto two rows — never a cut-off scroll rail. */
  #page-shop .filters{flex-wrap:wrap;overflow-x:visible;margin:4px 0 14px}
}
@media (max-width:720px){
  /* Tee cards: stack price over colour instead of squeezing both on one line. */
  .tee .meta{flex-direction:column;align-items:flex-start;gap:1px}
  /* Services: one card per row on phones (mobile audit Major #3 —
     two-up cards wrapped descriptions and CTAs word-by-word). */
  .svc-grid{grid-template-columns:1fr}
  /* Category tiles: smaller label so HOODIES & SWEATSHIRTS fits its tile. */
  .cat-tile span{font-size:1rem;line-height:1.15}
}
@media (max-width:900px){
  /* Studio: no sideways scroll and nothing spilling over the bottom bar. */
  body.studio-mode #page-designer{overflow-x:hidden}
  .studio-body{max-width:100vw}
  .stage-scroll{padding:16px 12px}
  /* Placement switcher: vertical rail on the RIGHT SIDE of the mockup
     (owner directive 2026-11-15 — side, not top). Compact buttons,
     vertically centered, so it never becomes the old full-height
     column that overflowed onto the bottom bar. */
  .side-switch{flex-direction:column;top:50%;bottom:auto;right:8px;transform:translateY(-50%);gap:6px}
  .side-switch button{flex:none;width:62px;height:auto;min-height:54px;padding:5px 3px 4px;font-size:.6rem;justify-content:center}
  .side-switch button .ss-lab{white-space:normal;line-height:1.12;text-align:center}
  .side-switch .ss-mock{width:30px;height:30px}
  .side-switch button svg{width:20px;height:20px}
  /* Undo/redo pill: small horizontal pill at the canvas top-left instead
     of floating over the middle of the shirt. */
  .undo-pill{left:10px;top:10px;transform:none;flex-direction:row}
  .undo-pill button{flex-direction:row;padding:8px 10px}
  .undo-pill button + button{border-top:0;border-left:1px solid #eee}
  /* Bottom bar: product row wraps, actions take their own full-width row,
     and the Add to Order price button stretches instead of clipping. */
  .studio-bottom{gap:10px}
  .sb-product{flex-wrap:wrap;row-gap:2px}
  /* Summary block (owner directive 2026-11-15): the garment name gets
     the full row width — no ellipsis truncation — and Change Product /
     Change Color sit together on their own line, aligned with the
     name text (thumbnail width + gap). */
  .sb-meta{flex:1 1 0;min-width:0}
  .sb-meta b{max-width:none}
  .sb-changes{flex:1 1 100%;padding-left:48px;margin-top:2px}
  /* Compact the phone studio chrome (mobile audit Major #1: header +
     rail + a ~255px bottom bar squeezed the workspace to a sliver). */
  .studio-top{padding:8px 10px;gap:8px}
  .studio-top .studio-title{font-size:1rem}
  .studio-top .studio-back{padding:7px 10px}
  .rail-btn{padding:7px 2px 6px}
  .studio-bottom{padding:8px 12px;gap:8px}
  .sb-thumb{width:36px;height:36px}
  .sb-textbtn{font-size:.86rem;padding:7px 2px}
  .sb-price{padding:11px 10px}
  .sb-actions{margin-left:0;width:100%;flex-wrap:wrap}
  .sb-price{flex:1;text-align:center}
  .design-name .dn-label{flex:none}
  /* v1.1.21 phone fixes: the sizes table fits the panel (compact cells,
     smaller type) instead of running its Line total column off the
     right edge; the switcher's active underline no longer strikes
     through its wrapped two-line labels (tinted button instead);
     toasts clear the two-row bottom bar. */
  .qty-table th,.qty-table td{padding:6px 5px;font-size:.86rem}
  .qty-table th{font-size:.72rem}
  .side-switch button[aria-pressed="true"]{background:#fff4ef}
  .side-switch button[aria-pressed="true"] .ss-lab{border-bottom-color:transparent}
  body.studio-mode .toast{bottom:118px}
}

/* ============ HEADER FIT (v1.1.12) — owner screenshot 2026-11-15: the
   tagline ran under the cart box because the 1fr/auto/1fr header grid sized
   the brand track to the tagline's unwrapped width while the side tracks
   could not shrink below their buttons. Side tracks now size to content
   and the brand track takes the rest (minmax 0), so the tagline wraps
   inside its own column. The hamburger is icon-only (owner: the word
   "Menu" duplicated the icon) — markup change in header.php. ============ */
@media (max-width:820px){
  .hd{grid-template-columns:auto minmax(0,1fr) auto}
  .brand{min-width:0;justify-self:center}
  .brand .bt{max-width:100%}
}

/* v1.1.13: the brand's inner text wrapper is a flex child whose automatic
   minimum size is the tagline's unwrapped width — it overflowed the brand
   column and spilled under the cart box even with the v1.1.12 grid fix.
   Let the wrapper shrink so the tagline wraps inside the column. */
@media (max-width:820px){
  .brand>span{min-width:0;max-width:100%}
}

/* ============ HEADER FIT 2 (v1.1.14) — owner phone (440px) still clipped
   the tagline's final letter by a hair: at 431-820px the wordmark/tagline
   still used desktop sizes (1.42rem / .68rem), so the brand row overflowed
   by a few pixels and the cart box covered the last letter. Shrink the
   lockup to the small sizes across the whole phone range, compact the
   side buttons, and drop the "Cart" text label (icon + count only). ===== */
@media (max-width:820px){
  .hd{gap:8px}
  .brand img{width:34px;height:34px}
  .brand .bn{font-size:1.26rem}
  .brand .bt{font-size:.60rem}
  .hamburger{padding:9px 10px}
  .cartbtn{padding:8px 10px}
  .cart-label{display:none}
}

/* v1.1.15: at <=430px the wordmark itself (nowrap, ~165px) plus the logo
   still overflowed the brand column and the cart box covered the final S
   of PRINTS (seen in the 320px preview after v1.1.14). On the smallest
   phones the round logo mark drops out — wordmark + tagline carry the
   brand — and the lockup shrinks one more step. >=431px is unchanged. */
@media (max-width:430px){
  .brand img{display:none}
  .brand .bn{font-size:1.12rem}
  .brand .bt{font-size:.58rem}
}

/* v1.1.26 — estimate tag + share dialog (audit M2/M8) */
.est-tag{font-size:.68rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8a6d00;background:#fdf3d7;border:1px solid #ecd9a0;border-radius:999px;padding:.14rem .5rem;white-space:nowrap}
.share-dlg{position:fixed;inset:0;background:rgba(18,20,26,.55);z-index:90;display:grid;place-items:center;padding:1rem}
.share-dlg[hidden]{display:none}
.share-card{background:#fff;border-radius:14px;max-width:520px;width:100%;padding:1.2rem 1.3rem;box-shadow:0 18px 50px rgba(0,0,0,.3);max-height:calc(100dvh - 2rem);overflow-y:auto}
.share-card h3{margin:0 0 .3rem;font-size:1.15rem}
.share-card p{margin:0 0 .8rem;color:var(--muted);font-size:.9rem}
.share-card pre{white-space:pre-wrap;word-break:break-word;background:#f6f4ee;border:1px solid var(--line);border-radius:10px;padding:.8rem .9rem;font-size:.85rem;max-height:40vh;overflow:auto;margin:0 0 1rem}
.share-actions{display:flex;gap:.6rem;justify-content:flex-end}

/* v1.2.0 — snap guides, layers panel, templates (gap program) */
.guide{position:absolute;z-index:40;pointer-events:none}
.guide-v{left:50%;top:0;bottom:0;width:0;border-left:2px dashed #e5488c}
.guide-h{top:50%;left:0;right:0;height:0;border-top:2px dashed #e5488c}
.guide[hidden]{display:none}
.layers-bar{margin-top:.55rem;background:#fff;border:1px solid var(--line);border-radius:12px;padding:.45rem .6rem}
.layers-bar[hidden]{display:none}
.layers-head{display:flex;align-items:center;gap:.45rem}
.layers-toggle{flex:1;text-align:left;background:none;border:0;font-weight:700;font-size:.86rem;cursor:pointer;padding:.25rem .1rem;min-height:0}
.layers-list{margin-top:.4rem;display:flex;flex-direction:column;gap:.3rem;max-height:180px;overflow:auto}
.layers-list[hidden]{display:none}
.layer-row{display:flex;align-items:center;gap:.3rem;border:1px solid var(--line);border-radius:9px;padding:.2rem .35rem;background:#fbfaf7}
.layer-row.on{border-color:var(--navy);background:#eef2f8}
.layer-main{flex:1;text-align:left;background:none;border:0;font-size:.84rem;cursor:pointer;padding:.25rem .2rem;min-height:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.layer-act{background:#fff;border:1px solid var(--line);border-radius:7px;width:28px;height:28px;min-height:0;font-size:.78rem;cursor:pointer;display:grid;place-items:center;padding:0}
.tpl-grid{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-bottom:.9rem}
.tpl-btn{background:#fff;border:1.5px solid var(--line);border-radius:11px;padding:.6rem .65rem;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:.12rem;min-height:0}
.tpl-btn:hover{border-color:var(--navy)}
.tpl-btn b{font-size:.9rem}
.tpl-btn span{font-size:.76rem;color:var(--muted)}

/* v1.2.1 — the floating placement switcher (absolute, right side)
   overlapped the layers bar's row buttons at desktop widths; the bar
   now paints above it and stops short of its column on wide screens. */
.layers-bar{position:relative;z-index:20}
@media (min-width:901px){ .layers-bar{margin-right:118px} }

/* Layers bar polish (owner's laptop render, 2026-11-15): the toggle
   label wrapped to three lines and the Center buttons rendered as
   tall blocks with the arrow on its own line. Keep the whole head on
   one line, buttons compact, and the bar full width. */
.layers-bar{width:100%;box-sizing:border-box;align-self:stretch}
.layers-toggle{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.layers-head .smallbtn{min-height:0;padding:.34rem .6rem;white-space:nowrap;font-size:.8rem;line-height:1.1}

/* v1.2.3 — the ↕ glyph in the compact Center button clipped at
   line-height 1.1; give the head buttons a little more vertical room. */
.layers-head .smallbtn{line-height:1.35;padding:.42rem .6rem}

/* v1.2.4 — layers bar placement: the canvas area is a ROW flex whose
   only in-flow child was the stage, so the bar landed BESIDE the
   shirt and squeezed it (owner's laptop render, 2026-11-15). Stack
   the canvas column instead: stage flexes, the bar sits under it. */
.canvas-area{flex-direction:column}
.stage-scroll{flex:1 1 auto;height:auto;min-height:0}
.layers-bar{flex:none}
@media (min-width:1201px){ .layers-bar{margin-bottom:30px} }

/* v1.3.0 — Names & Numbers roster tool */
.roster-lab{display:block;font-size:.78rem;font-weight:600;color:var(--muted,#5b6270);margin:10px 0 4px}
#rosterFont{width:100%;padding:.5rem .6rem;border:1px solid var(--line);border-radius:8px;background:#fff;font:inherit}
.roster-head,.roster-row{display:grid;grid-template-columns:1fr 58px 76px 30px;gap:6px;align-items:center}
.roster-head{font-size:.7rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted,#5b6270);margin:2px 0 4px}
.roster-row{margin-bottom:6px;padding:4px;border:1px solid transparent;border-radius:9px}
.roster-row.sel{border-color:var(--gold,#c9a227);background:#fdf8ea}
.roster-row input,.roster-row select{width:100%;box-sizing:border-box;padding:.45rem .5rem;border:1px solid var(--line);border-radius:8px;background:#fff;font:inherit;min-height:0}
.roster-row .r-name{text-transform:uppercase}
.roster-row .r-num{text-align:center}
.roster-row.bad select{border-color:#c1272d;background:#fdf0f0}
.roster-row .r-del{background:#f1f2f5;border:1px solid var(--line);border-radius:8px;width:30px;height:34px;min-height:0;cursor:pointer;color:#8a2a2a;font-size:.85rem;line-height:1}
.roster-warn{color:#a12622;font-weight:600}
#rosterPreview{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
#rosterLockNote{color:#7a6414}
.qty-table input:disabled,.qty-table .stepper button:disabled{opacity:.45;cursor:not-allowed}

/* v1.4.0 — share dialog link row */
.share-linkrow{display:flex;gap:8px;align-items:stretch;margin:10px 0 4px}
.share-linkrow textarea{flex:1;min-width:0;padding:.55rem .7rem;border:1px solid var(--line);border-radius:9px;background:#f7f8fa;font:inherit;font-size:.9rem;resize:none;word-break:break-all;line-height:1.35}
.share-linkrow .btn{flex:none}

/* v1.5.0 — group orders */
.group-start{border-top:1px solid var(--line);margin-top:14px;padding-top:12px}
.group-start h4{margin:0 0 4px;font-size:.98rem}
#groupDlg input[type="text"],#groupDlg input[type="number"],#groupDlg select{width:100%;box-sizing:border-box;padding:.55rem .7rem;border:1px solid var(--line);border-radius:9px;background:#fff;font:inherit}
.gj-grid{display:grid;grid-template-columns:1fr 110px;gap:10px}
#groupEntries .ge-row{display:flex;justify-content:space-between;gap:10px;padding:7px 2px;border-bottom:1px solid var(--line);font-size:.92rem}
#groupEntries .ge-row span{color:var(--muted,#5b6270)}

/* v1.5.1 — roster in-panel style preview chip */
.roster-styleprev{margin-top:10px;border:1px solid var(--line);border-radius:10px;padding:12px 8px 10px;text-align:center;line-height:1.05;overflow:hidden;background:#26262b}
.rsp-name{font-weight:700;letter-spacing:1.5px;text-transform:uppercase;white-space:nowrap}
.rsp-num{font-weight:700;line-height:1.05}
.guide.faint{opacity:.3}
.tpl-cats{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.tpl-cats button{border:1px solid var(--line,#ddd);background:#fff;border-radius:999px;padding:5px 12px;font-size:12.5px;font-weight:600;cursor:pointer;color:var(--ink)}
.tpl-cats button.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.arrive-line{margin:8px 0 0;font-size:13px;color:var(--ink)}
.arrive-line b{color:var(--good,#1a7f37)}
#sizeDlg{z-index:220}
.size-chart{width:100%;border-collapse:collapse;margin:6px 0 10px;font-size:13.5px}
.size-chart th,.size-chart td{border:1px solid var(--line,#ddd);padding:5px 8px;text-align:left}
.size-chart th{background:#f6f3ec}
.review-card{max-width:640px}
.review-proofs{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}
.review-proof{flex:1 1 110px;text-align:center}
.review-proof svg{width:100%;height:auto;border:1px solid var(--line,#ddd);border-radius:8px;display:block}
.review-proof span{display:block;margin-top:4px;font-size:12px;font-weight:600}
.review-warn{background:#fff7e6;border:1px solid #e5c07b;border-radius:8px;padding:8px 10px;font-size:13px;margin:8px 0}
.review-check{display:flex;gap:8px;align-items:flex-start;font-size:13.5px;font-weight:600;margin:10px 0;cursor:pointer}
.review-check input{margin-top:2px;width:17px;height:17px}
#reviewSummary{background:#faf8f3;border:1px solid var(--line,#ddd);border-radius:8px;padding:10px;font-size:12.5px;white-space:pre-wrap;margin:8px 0}
.sb-saved{font-size:12px;color:var(--good,#1a7f37);min-width:52px}
.guide-v.snapped{border-left-style:solid}
.guide-h.snapped{border-top-style:solid}
.ge-paid{margin-left:8px;background:#e7f6ec;color:#1a7f37;border:1px solid #bfe6cc;border-radius:999px;padding:1px 8px;font-size:11.5px;font-weight:700}
#groupCloseDate{display:block;width:100%;margin:2px 0 10px;padding:8px;border:1px solid var(--line,#ddd);border-radius:8px;font:inherit}
.md-row{display:flex;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid var(--line,#ddd)}
.md-row:last-child{border-bottom:0}
.md-info{flex:1;display:flex;flex-direction:column;gap:1px;min-width:0}
.md-info b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.md-info small{color:#777}

/* ---- v1.6.4 mobile-scrub fixes (audit 2026-11-15) ---- */
@media (max-width:820px){
  /* Sticky storefront header: slimmer on phones (audit: it held ~1/5
     of the viewport while scrolling). */
  header.site .strip{font-size:.76rem;padding-top:4px;padding-bottom:4px}
  header.site .main{padding-top:8px;padding-bottom:8px}
}
@media (max-width:700px){
  /* Dialog action rows stack full-width — side-by-side buttons
     wrapped word-by-word and grew very tall (review step). */
  .share-actions{flex-direction:column;align-items:stretch}
  .share-actions .btn{width:100%}
  /* Share link row stacks so the full link is visible, not "https://mer…". */
  .share-linkrow{flex-direction:column}
  .share-linkrow .btn{width:100%}
  /* Group organizer rows: keep a member's name whole; details wrap below. */
  #groupEntries .ge-row{flex-wrap:wrap}
  #groupEntries .ge-row b{white-space:nowrap}
  /* Wholesale: never break the phone number mid-number. */
  #page-wholesale a[href^="tel:"]{white-space:nowrap}
}

/* ---- v1.6.5 mobile-scrub leftovers (verification 2026-11-15) ---- */
@media (max-width:700px){
  /* Studio title wraps to two lines instead of truncating to
     "Mercy Prints D…" on narrow phones. */
  .studio-top .studio-title{white-space:normal;line-height:1.12;font-size:.95rem}
  /* Top strip: the full short promise wraps instead of clipping
     mid-word ("…in Hampt"). */
  .strip .msg-short{white-space:normal;line-height:1.3}
}

/* ---- v1.6.7 audit round 3 fixes ---- */
/* Group organizer: the not-yet-ordered status chip (mirrors .ge-paid). */
.ge-wait{margin-left:8px;background:#f1f2f5;color:#68707d;border:1px solid #dde1e8;border-radius:999px;padding:1px 8px;font-size:11.5px;font-weight:700;white-space:nowrap}
/* Review step: print-type switcher + proof-approval row. */
.review-ptype{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0 2px;font-size:.9rem;font-weight:600}
.ptype-mini{border:1.5px solid var(--line);background:#fff;border-radius:999px;padding:6px 14px;font:inherit;font-size:.86rem;font-weight:700;cursor:pointer;min-height:0}
.ptype-mini[aria-pressed="true"]{background:#17181c;color:#fff;border-color:#17181c}
/* Text effect preview chip (neutral grey so effects are visible). */
.fx-preview{margin-top:10px;background:#7d838e;border-radius:10px;padding:14px 10px 9px;text-align:center}
.fx-preview span{display:block;font-size:1.3rem;font-weight:700;line-height:1.2;word-break:break-word}
.fx-preview small{display:block;margin-top:7px;color:rgba(255,255,255,.85);font-size:.68rem;letter-spacing:.02em}
/* Cart design thumbnail (classic cart contexts). */
.mp-design-thumb{max-width:72px;height:auto;border-radius:6px}

/* ---- v1.7.0 fundraising mode ---- */
.fund-toggle{margin:10px 0 4px}
#groupFundFields{margin:2px 0 10px}
.gj-fund{background:#fdf0ef;border:1px solid #f0c4c0;border-radius:10px;padding:10px 12px;margin:10px 0;font-size:.9rem;line-height:1.45}
.gj-fund b{display:block;font-size:1rem;margin-bottom:2px}
.gj-fund span{display:block}
.fund-bar{height:8px;background:#f6dcd9;border-radius:99px;overflow:hidden;margin-top:7px}
.fund-fill{height:100%;background:#1d7a3a;border-radius:99px}

/* ---- v1.8.0 same design on multiple garments ---- */
.og-wrap{margin:12px 0 4px}
.og-add{width:100%}
.og-row{display:flex;align-items:center;gap:8px;border:1.5px solid var(--line);border-radius:10px;padding:8px 10px;margin:6px 0;cursor:pointer;background:#fff}
.og-row.on{border-color:#17181c;background:#f6f4ee}
.og-row b{font-size:.92rem}
.og-row span{flex:1;font-size:.86rem;color:#4c5563}
.og-x{border:0;background:#eef0f3;border-radius:99px;width:26px;height:26px;min-height:0;line-height:1;font-size:.8rem;cursor:pointer;flex:none}

/* ============ STRIP ONE-LINE LOCK (v1.8.3, owner 2026-11-16) ====
   The owner wants the phone strip at exactly TWO lines: the message
   on one line, the utility links beneath it. The ≤820px rules above
   already set nowrap, yet the message still wrapped on his iPhone
   and in the Customizer preview (the Customizer Additional CSS was
   checked and cleared — it holds only the cart/product-meta blocks).
   This lock combines three belts: the short message was trimmed to
   64 chars ("Free delivery in Hampton Roads, VA · Ships in 5–7
   business days" — short enough to fit one line even if wrapping
   stays enabled), nowrap is re-asserted with !important at the end
   of the file, and iOS automatic text inflation is disabled on the
   strip (inflation is the likely reason his phone rendered the
   message larger than the .74rem the CSS specifies). */
@media (max-width:900px){
  .strip{-webkit-text-size-adjust:100%;text-size-adjust:100%}
  .strip .strip-msg{white-space:nowrap!important}
  .strip .msg-short{white-space:nowrap!important}
}

/* ============ STUDIO TOUCH SCROLL (v1.8.4, owner 2026-11-16) ====
   Owner: on mobile the studio should scroll from anywhere on the
   screen, not just from the tool panel. The shirtbox carried
   touch-action:none (for layer dragging), which swallowed every
   touch that started on the shirt — most of the screen — so the
   studio body never scrolled from there. Layers now carry their own
   touch-action:none (the base .artlayer rule above), so a drag that
   starts ON a design layer still drags the layer, while a vertical
   drag that starts on the shirt background scrolls the studio.
   When zoomed, .canvas-area.zoomed .shirtbox (higher specificity)
   keeps touch-action:none, so background pan-while-zoomed is
   unchanged. Desktop is untouched (the rule is mobile-only). */
@media (max-width:900px){
  .shirtbox{touch-action:pan-y}
}

/* ============ ARTWORK SIZE BAR (v1.8.5, owner 2026-11-16) ====
   Width & height for the selected artwork, on the design page at
   the top of the canvas (below the tool rail, above the stage),
   with plain − / + steppers. Replaces the Artwork Check panel's
   width row (number input with spinner increments + −10%/+10%). */
.size-bar{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;padding:8px 10px;background:#fff;border-bottom:1px solid #e3e5ea;flex:none;flex-wrap:wrap;position:relative;z-index:30}
.size-bar[hidden]{display:none}
.size-bar .sb-lab{font-weight:700;font-size:.86rem;color:#17181c}
.size-bar .sb-grp{display:inline-flex;align-items:center;gap:5px}
.size-bar .sb-dim{font-weight:700;font-size:.82rem;color:#4c5563}
.size-bar .sb-btn{width:32px;height:32px;min-height:32px;border-radius:8px;border:1.5px solid #d8dbe2;background:#f6f4ee;font-size:1.05rem;font-weight:700;line-height:1;cursor:pointer;color:#17181c;padding:0}
.size-bar .sb-place{display:inline-flex;gap:6px;margin-left:4px}
.size-bar .sb-chip{height:32px;border-radius:999px;border:1.5px solid #d8dbe2;background:#fff;font-size:.78rem;font-weight:700;cursor:pointer;color:#17181c;padding:0 12px;white-space:nowrap}
.size-bar .sb-chip:active{background:#ffe9e2;border-color:#ff4f1f;color:#c22e07}
.size-bar .sb-btn:active{background:#ffe9df}
.size-bar input{width:58px;height:32px;text-align:center;border:1.5px solid #d8dbe2;border-radius:8px;font-size:.92rem;font-weight:600;padding:0 4px;background:#fff;color:#17181c}
.size-bar .sb-unit{font-size:.82rem;color:#4c5563}

/* ============ SIZE BAR PHONE FIT (v1.8.6, owner screenshot
   2026-11-16) ==== On his iPhone the bar wrapped ("in" dropped to
   its own line) and the Undo/Redo pill — pinned to the canvas's
   top-left on phones — sat on top of the bar, covering the
   "Artwork size" label and the W. Fixes: the bar stays on one line
   with tighter spacing and no text label on phones, and while the
   bar is shown the pill drops below it (the pill is the bar's next
   sibling in the canvas). Desktop unchanged. */
@media (max-width:900px){
  .size-bar{flex-wrap:nowrap;gap:10px;padding:8px 6px}
  .size-bar .sb-lab{display:none}
  .size-bar input{width:54px}
  .size-bar:not([hidden]) ~ .undo-pill{top:57px}
}

/* ============ SIZE BAR HIT AREA + SMALL-PHONE FIT (v1.8.7) ====
   v1.8.6 verification: on desktop, mouse clicks on the bar's
   buttons were "covered" — the stage's shirt box, centered in a
   stage shorter than itself, overflows upward over the bar's row
   and its transparent top strip wins the hit test (the click then
   lands on the canvas and deselects the artwork). The base
   .size-bar rule now carries position:relative + z-index:30, which
   lifts the bar above the stage box. Below 430px the bar also
   tightens (smaller buttons/fields/gaps) so the whole row fits
   small phones with room to spare. */
@media (max-width:430px){
  .size-bar{gap:6px;padding:8px 4px}
  .size-bar .sb-grp{gap:4px}
  .size-bar .sb-btn{width:28px;height:28px;min-height:28px}
  .size-bar input{width:48px;height:28px}
}

/* Artwork download protection (v1.9.6, owner directive 2026-11-16):
   no long-press save sheet or drag on artwork images in the studio. */
.artlayer img, #artPreviewImg, .up-thumb img{
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
}

/* Rotate handle on phones (v1.9.18): the 21px desktop target is
   too small to land a finger on reliably — bigger, and floated a
   little higher so it clears the selection outline. */
@media (max-width:900px){
  .ctl-rot{width:30px;height:30px;font-size:.9rem;top:-42px}
}

/* v1.10.0 competitor features */
.fill-grad{display:flex;gap:14px;align-items:center;margin:6px 0}
.fill-grad label{display:flex;gap:6px;align-items:center;font-size:.85em}
.fill-grad input[type="color"]{width:38px;height:28px;padding:0;border:1px solid var(--line);background:none}
.ht-box{border-top:1px solid var(--line);margin-top:10px;padding-top:4px}
/* Colour separation (v1.11.24) */
.cs-row{display:flex;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid var(--line)}
.cs-row:last-child{border-bottom:none}
.cs-chip{width:26px;height:26px;border-radius:6px;border:1px solid var(--line);flex:0 0 auto}
.cs-meta{flex:1 1 auto;min-width:0}
.cs-meta b{display:block;font-size:.88rem;line-height:1.25}
.cs-meta span{font-size:.78rem;color:var(--muted,#5b6472)}
.cs-badge{display:inline-block;background:var(--navy);color:#fff;border-radius:10px;padding:0 7px;font-size:.68rem;font-weight:700;margin-left:5px;vertical-align:1px}
.cs-warn{display:block;font-size:.78rem;color:var(--bad,#b3261e);margin-top:2px}
.cs-row .smallbtn{padding:5px 9px;font-size:.8rem;white-space:nowrap}
.cs-sub{margin-left:34px}
.cs-preview{margin:8px 0;border:1px solid var(--line);border-radius:10px;height:150px;display:grid;place-items:center;overflow:hidden;background:repeating-conic-gradient(#e8eaef 0% 25%, #f7f8fa 0% 50%) 0 0/16px 16px}
.cs-preview[hidden]{display:none}
.cs-preview img{max-width:92%;max-height:138px;object-fit:contain;display:block}
.cs-removed-row{display:flex;align-items:center;gap:8px;padding:5px 0;border-bottom:1px solid var(--line)}
.cs-removed-row:last-child{border-bottom:none}
.cs-removed-row .cs-meta span{color:var(--bad,#b3261e)}
.fit-rec{border:1px solid var(--line);border-radius:8px;padding:8px 10px;margin:10px 0}
.fit-rec select{width:100%;margin:4px 0 6px}
/* Person preview overlay (v1.10.0–v1.10.6) removed in v1.11.0: the
   person photo IS the canvas now — see the v1.11.0 block at the end
   of this file. */
.fb-box{border-top:1px solid var(--line);margin-top:12px;padding-top:8px}
.fb-box input[type="text"],.fb-box textarea{width:100%;margin:2px 0 8px}
.fb-item{border-bottom:1px solid var(--line);padding:5px 0;font-size:.92em}
.fb-item em{font-style:normal;font-weight:600}

/* ============ v1.11.0 — design on the person photo + no-scroll phone shell ============
   Owner directive 2026-11-17, modelled on Custom Ink's Design Lab
   (his screen video): the garment photo fills the canvas and the
   design is placed right on it — Front shows the front photo, Back
   the back photo, the colour tint recolours both. On phones the
   studio is a fixed app: the page never scrolls, the tools live in
   a black bottom bar, and each tool opens as a sheet over the
   canvas. Desktop keeps the rail + panel column; only the canvas
   surface changes there. */
.shirtbox.person-view{aspect-ratio:1/1}
body.studio-mode .shirtbox.person-view{max-width:min(560px,100%,calc((100vh - 215px) * 1.0))}
.shirtbox.person-view .mockimg{object-fit:cover}
.sheet-x{display:none}
/* Empty-state starter pills over the shirt (Custom Ink pattern) */
.empty-pills{position:absolute;left:50%;top:54%;transform:translate(-50%,-50%);display:flex;flex-direction:column;gap:10px;z-index:7;width:min(240px,62%)}
.empty-pills[hidden]{display:none}
.empty-pills button{background:#fff;border:1.5px solid #cfd3da;border-radius:999px;padding:12px 18px;font:inherit;font-weight:700;font-size:.95rem;color:#17181c;box-shadow:0 4px 14px rgba(10,20,40,.13);cursor:pointer;min-height:48px}
.empty-pills button.ep-primary{background:#17181c;color:#fff;border-color:#17181c}
.empty-pills button:active{transform:scale(.98)}
@media (max-width:900px){
  /* The body becomes a stage: canvas absolute-filled, rail pinned to
     its bottom, the tool panel a sheet above the rail. Nothing in
     the studio scrolls except inside the sheet. */
  body.studio-mode .studio-body{position:relative;display:block;overflow:hidden;flex:1;min-height:0}
  body.studio-mode .canvas-area{position:absolute;inset:0;padding-bottom:64px;box-sizing:border-box}
  body.studio-mode .canvas-area.person-view .stage-scroll{padding:10px 8px}
  body.studio-mode .shirtbox.person-view{max-width:min(430px,100%)}
  body.studio-mode .rail{position:absolute;left:0;right:0;bottom:0;top:auto;width:auto;height:64px;flex-direction:row;padding:4px 6px;z-index:60;box-shadow:0 -2px 12px rgba(0,0,0,.25)}
  body.studio-mode .rail-btn{flex:1;border-left:0;border-bottom:3px solid transparent;padding:7px 2px}
  body.studio-mode .rail-btn.on{border-bottom-color:#f04e23;background:rgba(255,255,255,.07)}
  body.studio-mode .tool-panel{position:absolute;left:0;right:0;bottom:64px;top:auto;width:auto;max-height:56%;overflow-y:auto;border-right:0;border-top:1px solid #e3e5ea;border-radius:16px 16px 0 0;box-shadow:0 -12px 32px rgba(10,20,40,.22);z-index:55;padding:18px 18px 22px;transition:transform .26s ease,visibility .26s;overscroll-behavior:contain}
  body:not(.sheet-open) .tool-panel{transform:translateY(calc(100% + 64px));visibility:hidden}
  .sheet-x{display:grid;place-items:center;position:sticky;top:0;float:right;width:38px;height:38px;border-radius:50%;border:1px solid #e0e2e8;background:#fff;font-size:1rem;color:#333;z-index:5;margin:0 0 4px 8px;cursor:pointer}
  body.studio-mode .side-switch{top:8px;bottom:74px;right:8px;transform:none}
  body.studio-mode .toast{bottom:196px}
  /* Slimmer order bar: Change Product / Change Color live in the
     Product sheet on phones — hiding the duplicate links and
     tightening the rows gives the canvas ~50px back. */
  body.studio-mode .studio-bottom{gap:6px 12px;padding:8px 12px}
  body.studio-mode .studio-bottom .sb-changes{display:none}
  body.studio-mode .studio-bottom .sb-actions{gap:8px}
}

/* ============ v1.11.1 — phone declutter (owner, 2026-11-17) ============
   "Still too much going on on the screen. The bottom takes half the
   screen." Slimmer rail, order bar, size bar and side switcher, and
   the layers list starts collapsed — the photo gets the screen. */
@media (max-width:900px){
  body.studio-mode .rail{height:58px;padding:3px 6px}
  body.studio-mode .rail-btn{padding:4px 2px;font-size:.6rem;gap:3px}
  body.studio-mode .rail-btn svg{width:21px;height:21px}
  body.studio-mode .canvas-area{padding-bottom:58px}
  body.studio-mode .tool-panel{bottom:58px}
  body:not(.sheet-open) .tool-panel{transform:translateY(calc(100% + 58px))}
  body.studio-mode .side-switch{bottom:118px;justify-content:flex-end;gap:5px}
  /* v1.13.0: buttons share the column height evenly (flex:1 1 0) instead
     of sizing to content — with 8 placement buttons a content-sized
     column overflowed the canvas top and clipped the first button. */
  body.studio-mode .side-switch button{flex:1 1 0;width:58px;min-height:0;padding:4px 3px 3px;font-size:.56rem;gap:2px}
  body.studio-mode .side-switch .ss-mock{width:27px;height:27px}
  body.studio-mode .studio-bottom{padding:6px 10px;gap:4px 10px}
  body.studio-mode .sb-thumb{width:34px;height:34px}
  body.studio-mode .sb-meta b{font-size:.88rem}
  body.studio-mode .sb-meta span{font-size:.78rem}
  body.studio-mode .sb-actions{font-size:.84rem;gap:6px}
  body.studio-mode .sb-textbtn{font-size:.86rem;padding:5px 2px}
  body.studio-mode .sb-price{padding:10px 13px;font-size:.92rem}
  body.studio-mode .est-tag{font-size:.66rem;padding:3px 7px}
  body.studio-mode .size-bar{padding:4px 6px;gap:8px}
  body.studio-mode .size-bar .sb-lab{font-size:.8rem}
  body.studio-mode .size-bar .sb-btn{width:32px;height:32px}
  body.studio-mode .size-bar input{width:56px;padding:4px 6px;font-size:.88rem}
  body.studio-mode .layers-bar{margin:6px 8px 0;padding:.35rem .5rem}
  body.studio-mode .layers-list{max-height:118px}
}

/* ============ v1.11.3 — bottom bar is just the order button (owner, 2026-11-17) ============
   "The product name on the bottom can go away, the save share line
   can go up next to the design name which is too long." The Save /
   Share / Start Over / My designs links moved into the header beside
   the design name (all widths — Custom Ink keeps Save up top too);
   the phone bottom bar keeps only the estimate tag + Add to Order. */
.dn-row{display:contents}
.sb-links{display:inline-flex;align-items:center;gap:2px;flex:none}
.sb-links .sb-saved{font-size:.82rem;color:#1e7d32;font-weight:600}
@media (max-width:900px){
  /* Row 2 = one flex line: short name field left, links right. The
     pair is wrapped in .dn-row (display:contents on desktop, so the
     desktop header flex is untouched); on phones the wrapper takes
     the old full-width grid row and lays its children out itself. */
  #page-designer .dn-row{grid-column:1/-1;grid-row:2;display:flex;align-items:center;gap:8px;min-width:0}
  #page-designer .dn-row .design-name{flex:none}
  #page-designer .dn-row .sb-links{margin-left:auto;gap:0}
  #page-designer .sb-links .sb-textbtn{font-size:.72rem;padding:5px 2px}
  #page-designer .sb-links .sb-sep{font-size:.7rem;color:#b9bec8}
  #page-designer .sb-links .sb-saved{font-size:.68rem}
  #page-designer .studio-top .design-name input{width:76px;flex:none}
  body.studio-mode .studio-bottom{flex-wrap:nowrap;padding:7px 12px}
  body.studio-mode .studio-bottom .sb-product{display:none}
  body.studio-mode .studio-bottom .sb-actions{margin-left:0;width:100%;flex-wrap:nowrap;justify-content:space-between}
  body.studio-mode .toast{bottom:150px}
}
/* v1.11.3 fix: the DESIGN NAME caption squeezed the input shut beside
   the moved links — drop the caption on phones, the field keeps
   ~110px next to Save / Share / Start Over / My designs. */
@media (max-width:900px){
  #page-designer .studio-top .design-name .dn-label{display:none}
  #page-designer .studio-top .design-name input{flex:1;min-width:60px}
}

/* v1.11.4 — the Save name dialog's input (the header name field is
   gone; a design is named only when its owner chooses to save). */
#saveNameInput{width:100%;padding:10px 12px;border:1.5px solid var(--line);border-radius:9px;font:inherit;margin:.15rem 0 .7rem;background:#fff;color:var(--ink)}
#saveNameInput:focus{outline:2px solid var(--navy);outline-offset:1px}

/* v1.11.5 — pop-up notifications removed (owner): the toast element
   never renders, and toast() in mp-store.js is a no-op. */
.toast{display:none !important}

/* ============ v1.11.8 — mockup fills the screen; Upload is a page (owner, 2026-11-17) ============
   (1) "Make the design mockup cover the empty space above and below
   it": the bands around the square photo were the page's blue-grey
   (#e9ebf0) showing around the photo's own light-grey backdrop
   (sampled ~rgb(211) across the person photos). In person view the
   canvas now wears the photo's backdrop colour, so the mockup's
   world fills the whole canvas — no two-tone dead space.
   (2) "Make the upload go to its own page… a done button that brings
   you back": on phones the Upload tool opens as a full-screen page
   (not a half sheet) with a sticky Done bar at its foot. */
@media (max-width:900px){
  body.studio-mode .canvas-area.person-view{background:#d3d3d3}
  body.studio-mode .canvas-area.person-view .stage-scroll{background:transparent}
  body.studio-mode.upload-page .tool-panel{top:0;bottom:0;height:auto;max-height:none;border-radius:0;z-index:65}
}
.upload-done-bar{display:none}
@media (max-width:900px){
  .upload-done-bar{display:block;position:sticky;bottom:0;background:#fff;padding:10px 0 8px;margin-top:12px}
  .upload-done-bar .btn{width:100%}
}

/* ============ v1.11.25: compact panels, help-?, guards ============ */
.ht-box{border:1px solid var(--line);border-radius:10px;padding:8px 10px;margin-top:10px;background:var(--card)}
.ht-box .panel-sec{margin:0;display:flex;align-items:center;gap:6px}
.ht-head{cursor:grab;user-select:none}
.ht-head:active{cursor:grabbing}
.ht-toggle{margin-left:auto;border:0;background:none;font-size:1.05rem;line-height:1;padding:2px 6px;min-height:0;color:var(--muted);transform:rotate(90deg);transition:transform .15s}
.ht-collapsed .ht-toggle{transform:rotate(0deg)}
.ht-collapsed .ht-body{display:none}
.ht-floating{position:fixed!important;z-index:320;box-shadow:0 14px 40px rgba(10,20,40,.30);margin-top:0}
.help-q{flex:none;width:17px;height:17px;min-height:0;border-radius:50%;border:1.5px solid #a8adb8;background:#fff;color:#5f6570;font-size:.68rem;font-weight:700;line-height:1;display:inline-grid;place-items:center;padding:0;cursor:help;vertical-align:middle}
.help-q:hover{border-color:#f04e23;color:#f04e23}
.help-pop{position:fixed;z-index:500;width:284px;max-width:86vw;background:#14161c;color:#f2f3f5;border-radius:10px;padding:11px 13px;font-size:.84rem;line-height:1.45;box-shadow:0 12px 34px rgba(0,0,0,.35)}
.help-pop[hidden]{display:none}
#csList{max-height:236px;overflow-y:auto;overscroll-behavior:contain;padding-right:2px}
#csRemoved{max-height:150px;overflow-y:auto;overscroll-behavior:contain}
.cs-row{display:flex;align-items:center;gap:7px;padding:4px 0;border-bottom:1px solid var(--line)}
.cs-row:last-child{border-bottom:none}
.cs-row.cs-sub{padding-left:20px}
.cs-chip{width:18px;height:18px;border-radius:5px;border:1px solid rgba(0,0,0,.18);flex:none}
.cs-meta{flex:1;min-width:0;font-size:.8rem;line-height:1.3}
.cs-meta b{display:block;font-size:.82rem}
.cs-meta span{color:var(--muted)}
.cs-meta .cs-warn{display:block;color:var(--warn);font-weight:600}
.cs-badge{background:#111;color:#fff;border-radius:4px;font-size:.62rem;font-weight:700;padding:1px 5px;margin-left:5px;vertical-align:1px}
.cs-preview{margin:6px 0;border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;background:repeating-conic-gradient(#e8eaef 0% 25%, #f7f8fa 0% 50%) 0 0/16px 16px}
