/* Wearly Merch Co client stores. Wearly brand: navy #14295c, red #FF0020. Store brand color comes from --brand. */
:root{--navy:#14295c;--navy-dk:#0d1d45;--red:#FF0020;--mist:#f3f5f9;--line:#d9deea;--ink:#1b2333;--muted:#5a6478;--brand:#205991;--ok:#1d7a46;--warn:#b26a00;--bad:#b3261e;--price:#205991}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:"Barlow","Albert Sans","Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:#fafbfc;line-height:1.45;font-size:16px}
a{color:var(--brand)}
img{max-width:100%}
h1,h2,h3{line-height:1.15;color:var(--ink)}
h1{font-size:30px;margin:0 0 6px;text-transform:uppercase;letter-spacing:.01em}
h2{font-size:21px;margin:28px 0 12px;text-transform:uppercase;letter-spacing:.02em}
.muted{color:var(--muted)}.small{font-size:13px}.right{text-align:right}.nowrap{white-space:nowrap}
.wrap{max-width:1180px;margin:0 auto;padding:22px 20px 60px;position:relative;z-index:1}
.narrow{max-width:520px}
/* store header */
.sh{background:rgba(255,255,255,.97);border-bottom:3px solid var(--brand);position:sticky;top:0;z-index:5}
.sh .in{max-width:1180px;margin:0 auto;padding:10px 20px;display:flex;align-items:center;gap:14px;justify-content:space-between;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit;min-width:0}
.brand img{width:52px;height:52px;object-fit:contain;flex:none}
.brand b{display:block;color:var(--brand);font-size:16px;line-height:1.2}
.brand span{display:block;font-size:12px;color:var(--muted)}
.nav{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:15px}
.nav a{color:var(--ink);text-decoration:none;font-weight:600}
.nav a.on{color:var(--brand);border-bottom:2px solid var(--brand)}
.nav .who{color:var(--muted);font-weight:500}
.nav form{margin:0}
.badge{display:inline-block;min-width:20px;padding:1px 6px;border-radius:6px;background:var(--red);color:#fff;font-size:12px;text-align:center;font-weight:700}
.linkbtn{background:none;border:1px solid var(--line);border-radius:4px;padding:4px 10px;font:inherit;font-size:14px;cursor:pointer;color:var(--ink)}
.watermark{position:fixed;left:50%;top:56%;width:min(760px,90vw);transform:translate(-50%,-50%);opacity:.06;pointer-events:none;z-index:0}
.watermark.wm-fbm,.watermark.wm-mhc{width:92vw;max-width:none;top:50%}
/* admin header (Wearly brand) */
.ah{background:#fff;border-bottom:4px solid var(--red)}
.ah .in{max-width:1280px;margin:0 auto;padding:10px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.ah img{height:46px}
.ah .nav a{color:var(--navy)}
.admin .wrap{max-width:1280px}
.admin h1{color:var(--navy)}
.subnav{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0 18px}
.subnav a{padding:7px 12px;border-radius:4px;background:var(--mist);text-decoration:none;color:var(--navy);font-weight:600;font-size:14px}
.subnav a.on{background:var(--navy);color:#fff}
/* buttons and forms */
.btn{display:inline-block;background:var(--brand);color:#fff;border:0;border-radius:4px;padding:10px 18px;font:inherit;font-weight:700;cursor:pointer;text-decoration:none;font-size:15px}
.btn:hover{filter:brightness(1.08)}
.btn.sec{background:#fff;color:var(--brand);border:1px solid var(--brand)}
.btn.red{background:var(--red)}.btn.navy{background:var(--navy)}
.btn.bad{background:#fff;color:var(--bad);border:1px solid var(--bad)}
.btn.sm{padding:5px 10px;font-size:13px}
.btn[disabled]{opacity:.5;cursor:not-allowed}
label{display:block;font-weight:600;font-size:14px;margin:0 0 12px}
label .hint{display:block;font-weight:400;color:var(--muted);font-size:12px}
input[type=text],input[type=email],input[type=password],input[type=number],input[type=tel],select,textarea{width:100%;font:inherit;padding:9px 10px;border:1px solid #c9d0dd;border-radius:4px;background:#fff;margin-top:4px}
textarea{min-height:80px}
input:focus,select:focus,textarea:focus{outline:2px solid var(--brand);outline-offset:0}
.check{display:flex;gap:8px;align-items:center;font-weight:500}
.check input{width:auto;margin:0}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:0 16px}.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:0 16px}
.panel{background:rgba(255,255,255,.97);border:1px solid var(--line);border-radius:8px;padding:20px;margin:0 0 18px}
.panel h2:first-child,.panel h3:first-child{margin-top:0}
.flash{padding:12px 14px;border-radius:6px;margin:0 0 16px;border-left:4px solid var(--ok);background:#eaf6ef}
.flash.error{border-color:var(--bad);background:#fdecea}
.note{padding:12px 14px;border-radius:6px;background:var(--mist);border-left:4px solid var(--brand);margin:0 0 16px;font-size:14px}
.note.warn{border-color:var(--warn);background:#fff6e5}
/* shop */
.pagehead .accent{color:var(--brand)}
.catnav{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 4px}
.catnav a{font-size:13px;padding:5px 10px;border:1px solid var(--line);border-radius:6px;text-decoration:none;color:var(--ink);background:#fff}
.catnav a.on{background:var(--brand);border-color:var(--brand);color:#fff}
.eyebrow{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:26px 0 0;font-weight:700}
.eyebrow+h2{margin-top:2px}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.card{background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;text-decoration:none;color:inherit;display:flex;flex-direction:column;transition:box-shadow .15s}
.card:hover{box-shadow:0 6px 18px rgba(20,41,92,.12)}
.card .ph{aspect-ratio:1/1;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}
.card .ph img{width:100%;height:100%;object-fit:contain}
.card .bd{padding:10px 12px 14px;border-top:1px solid var(--mist);flex:1;display:flex;flex-direction:column}
.card .nm{font-size:14px;font-weight:600;line-height:1.3;flex:1}
.card .pr{color:var(--price);font-weight:700;margin-top:6px}
.card .go{font-size:13px;color:var(--brand);margin-top:2px}
.nophoto{color:var(--muted);font-size:13px;text-align:center;padding:20px}
.nophoto svg{display:block;margin:0 auto 6px;opacity:.35}
.allot{display:flex;gap:18px;align-items:center;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-left:4px solid var(--brand);border-radius:6px;padding:10px 14px;margin:14px 0 0;font-size:14px}
.allot b{color:var(--brand)}
/* product */
.pd{display:grid;grid-template-columns:1.1fr 1fr;gap:34px;margin-top:10px}
.gallery .main{background:#fff;border:1px solid var(--line);border-radius:8px;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;overflow:hidden}
.gallery .main img{width:100%;height:100%;object-fit:contain}
.thumbs{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.thumbs button{width:64px;height:64px;padding:2px;border:1px solid var(--line);border-radius:6px;background:#fff;cursor:pointer}
.thumbs button.on{border:2px solid var(--brand)}
.thumbs img{width:100%;height:100%;object-fit:contain}
.price-lg{font-size:28px;color:var(--price);font-weight:700;margin:6px 0 2px}
.swatches{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}
.swatches label{margin:0}
.swatches input{position:absolute;opacity:0;pointer-events:none}
.swatches span{display:inline-block;padding:6px 11px;border:1px solid #c9d0dd;border-radius:4px;font-weight:500;font-size:14px;cursor:pointer;background:#fff}
.swatches input:checked+span{background:var(--brand);color:#fff;border-color:var(--brand)}
.swatches input:focus-visible+span{outline:2px solid var(--brand);outline-offset:2px}
.crumbs{font-size:14px;color:var(--muted)}.crumbs a{color:var(--muted)}
.pill{display:inline-block;padding:2px 9px;border-radius:6px;font-size:12px;font-weight:700;background:var(--mist);color:var(--navy);white-space:nowrap}
.pill.ok{background:#e3f4ea;color:var(--ok)}.pill.warn{background:#fff1d6;color:var(--warn)}.pill.bad{background:#fde3e1;color:var(--bad)}.pill.blue{background:#e4eef8;color:var(--brand)}.pill.grey{background:#eceef2;color:#555}
/* tables */
table{width:100%;border-collapse:collapse;background:#fff}
th,td{padding:9px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;font-size:14px}
th{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);background:var(--mist)}
td.num,th.num{text-align:right;white-space:nowrap}
.tbl{border:1px solid var(--line);border-radius:8px;overflow:auto;margin-bottom:18px}
.tbl table{min-width:640px}
.thumb40{width:40px;height:40px;object-fit:contain;border:1px solid var(--line);border-radius:4px;background:#fff}
/* cart */
.split h3{margin:0 0 8px;font-size:16px;text-transform:uppercase}
.split .co h3{color:var(--ok)}.split .em h3{color:var(--ink)}
.totals{max-width:420px;margin-left:auto}
.totals div{display:flex;justify-content:space-between;padding:4px 0}
.totals .big{font-size:19px;font-weight:700;border-top:2px solid var(--ink);margin-top:6px;padding-top:8px}
.rates label{display:flex;gap:10px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:6px;margin:0 0 8px;background:#fff;font-weight:500;cursor:pointer}
.rates input{width:auto;margin:0}
.rates .p{margin-left:auto;font-weight:700}
.inline{display:inline}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.spacer{flex:1}
/* landing / login */
.center{min-height:calc(100vh - 160px);display:flex;align-items:center;justify-content:center;padding:30px 16px}
.loginbox{width:min(440px,100%);background:#fff;border:1px solid var(--line);border-top:4px solid var(--brand);border-radius:8px;padding:28px 26px;box-shadow:0 10px 30px rgba(13,29,69,.1)}
.loginbox .seal{display:block;width:110px;height:110px;margin:0 auto 10px;object-fit:contain}
.loginbox h1{text-align:center;font-size:24px}
.loginbox .sub{text-align:center;color:var(--muted);margin:0 0 18px}
.loginbox .btn{width:100%}
.wfoot{background:var(--navy-dk);color:#cdd5e6;padding:12px 20px;font-size:14px;text-align:center;position:relative;z-index:1}
.wfoot a{color:#cdd5e6}
.created{background:#fffbe6;border:1px solid #f0d77b;padding:12px 14px;border-radius:6px;margin-bottom:16px}
.created code{font-size:15px;background:#fff;padding:2px 6px;border:1px solid #eee;border-radius:3px}
.libgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px;max-height:340px;overflow:auto;padding:4px;border:1px solid var(--line);border-radius:6px;background:#fff}
.libgrid form{margin:0}
.libgrid button{width:100%;aspect-ratio:1/1;padding:2px;border:1px solid var(--line);border-radius:4px;background:#fff;cursor:pointer}
.libgrid img{width:100%;height:100%;object-fit:contain}
.photos{display:flex;gap:10px;flex-wrap:wrap}
.photos .ph{width:120px;border:1px solid var(--line);border-radius:6px;background:#fff;padding:4px;text-align:center;font-size:12px}
.photos .ph img{width:100%;height:100px;object-fit:contain}
.dangerzone{border-color:#f1c0bc}
@media (max-width:900px){.cards{grid-template-columns:repeat(3,1fr)}.pd{grid-template-columns:1fr}.grid4{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.cards{grid-template-columns:repeat(2,1fr);gap:10px}.grid2,.grid3,.grid4{grid-template-columns:1fr}h1{font-size:23px}.brand img{width:42px;height:42px}.nav{gap:10px;font-size:14px}.wrap{padding:16px 12px 48px}}

/* ---- public landing page (wearlymerchco.net) ---- */
.landing{position:relative;text-align:center;padding:18px 0 10px}
body.landing-page:before{content:"";position:fixed;inset:0;background:url(/media/brand/flag-wave-2.jpg) center/cover no-repeat;opacity:.085;filter:saturate(.85);z-index:0;pointer-events:none}
.landing-mark{display:block;width:min(560px,88vw);height:auto;margin:6px auto 8px}
.landing-lead{color:var(--navy);font-weight:600;font-size:18px;margin:0 0 30px}
.landing-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;max-width:1040px;margin:0 auto;text-align:left;align-items:start}
.lcard{background:rgba(255,255,255,.95);border:1px solid var(--line);border-top:4px solid var(--red);border-radius:8px;padding:26px 24px;box-shadow:0 10px 30px rgba(13,29,69,.08);display:flex;flex-direction:column;align-items:center;text-align:center}
.lcard h2{color:var(--navy);margin:6px 0 6px;font-size:24px}
.lcard p{margin:0 0 18px;color:#4a5468}
.lcard-art{height:162px;display:flex;align-items:center;justify-content:center;margin-bottom:6px}
.lcard-art img{max-height:162px;width:auto;filter:drop-shadow(0 4px 8px rgba(13,29,69,.22))}
.lbtn{min-width:220px;font-size:17px;padding:13px 24px}
.lbtn[disabled]{opacity:.55}
.storecode-form{width:100%;max-width:360px;text-align:left}
.storecode-form .lbtn{width:100%;margin-top:4px}
.landing-staff{margin:28px 0 0;font-size:14px;color:var(--muted)}
.landing-staff a{color:var(--navy);font-weight:600}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
@media (max-width:820px){.landing-grid{grid-template-columns:1fr}.lcard-art{height:120px}.lcard-art img{max-height:120px}}
/* wide logos in the store header and sign-in box; round seals look the same as before */
.brand img{width:auto;max-width:160px}
.loginbox .seal{width:auto;max-width:260px}
@media (max-width:640px){.brand img{width:auto;max-width:120px}}

/* landing v4.3: equal cards, matched art, compact fit (no scroll at 1366x768) */
body.landing-page .wrap{padding:8px 20px 14px}
body.landing-page .wfoot{padding:12px 20px}
.landing{padding:4px 0 0}
.landing-mark{width:min(380px,80vw);margin:0 auto 2px}
.landing-lead{font-size:17px;margin:0 0 14px}
.landing-grid{align-items:stretch;gap:20px;max-width:960px}
.lcard{padding:16px 22px 18px}
.lcard h2{font-size:21px;margin:4px 0 4px}
.lcard p{margin:0 0 10px}
.lcard-art{height:120px;margin-bottom:2px}
.lcard-art img{width:120px;height:120px;max-height:none;object-fit:contain}
.storecode-form{width:100%;margin-top:auto}
.lbtn-bottom{margin-top:auto}
.landing-staff{margin:12px 0 0}
@media (min-height:900px){.landing-mark{width:min(460px,80vw)}.lcard-art{height:150px}.lcard-art img{width:150px;height:150px}.landing-lead{margin-bottom:22px}}
@media (max-width:820px){.lcard-art{height:110px}.lcard-art img{width:110px;height:110px}}
/* about front page (/) and /about story */
.pubnav{display:flex;justify-content:flex-end;gap:20px;max-width:1040px;margin:0 auto;position:relative;z-index:2;font-weight:600;font-size:15px}
.pubnav a{color:var(--navy);text-decoration:none;padding:2px 0;border-bottom:2px solid transparent}
.pubnav a.on,.pubnav a:hover{border-bottom-color:var(--red)}
.about .landing-mark{width:min(340px,76vw)}
.about-quote{max-width:860px;margin:4px auto 16px;padding:0 10px;color:var(--navy);border:0}
.about-quote p{margin:0;font-size:24px;font-weight:700;line-height:1.25}
.about-quote .about-quote-sub{margin-top:8px;font-size:17px;font-weight:500;font-style:italic;color:#4a5468;line-height:1.4}
.about-quote cite{display:block;margin-top:8px;font-size:13px;font-style:normal;color:var(--muted);letter-spacing:.04em;text-transform:uppercase}
.about-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;max-width:1040px;margin:0 auto 18px;align-items:stretch}
.acard{padding:14px 18px 16px;justify-content:flex-start}
.acard h2{margin:2px 0 6px}
.acard p{margin:0}
.about-cta{display:inline-block;font-size:18px;padding:14px 32px;box-shadow:0 6px 18px rgba(13,29,69,.18);color:#fff}
.story-mark{width:min(260px,70vw)!important}
.story-card{max-width:820px;margin:0 auto 18px;text-align:left;align-items:stretch}
.story-card h2{text-align:center}
.story-card p{margin:0 0 10px;color:#3a4458;font-size:16.5px;line-height:1.55}
@media (max-width:820px){.about-grid{grid-template-columns:1fr;gap:12px}.about-quote p{font-size:20px}.pubnav{justify-content:center}}
.story-intro{font-weight:600;color:var(--navy)!important}
.story-principles{margin:6px 0 4px;gap:14px}
.acard-in{background:#f6f8fb;border-top:3px solid var(--red);border-radius:6px;padding:12px 14px}
.acard-in h3{margin:0 0 6px;color:var(--navy);font-size:18px;text-align:center}
.acard-in p{font-size:15px!important;margin:0 0 6px!important}
.story-list{columns:2;column-gap:28px;margin:4px 0 8px;padding-left:20px;color:#3a4458;line-height:1.7}
.story-outro{font-weight:700;color:var(--red)!important;text-align:center;margin-top:6px!important}
@media (max-width:640px){.story-list{columns:1}}
/* shield matches seal height */
#retail .lcard-art img{width:auto;height:120px}
@media (min-height:900px){#retail .lcard-art img{height:150px}}
@media (max-width:820px){#retail .lcard-art img{height:110px}}
/* v4.5: shield visible height = seal (measured), /shop fits with footer at 1366x650 */
#retail .lcard-art img{height:114px}
@media (min-height:900px){#retail .lcard-art img{height:142px}}
@media (max-width:820px){#retail .lcard-art img{height:104px}}
@media (min-width:821px) and (max-height:760px){
 body.landing-page:not(.about-page) .landing-mark{width:min(320px,80vw)}
 body.landing-page:not(.about-page) .landing-lead{margin-bottom:10px}
 body.landing-page:not(.about-page) .lcard{padding:12px 22px 14px}
 body.landing-page:not(.about-page) .landing-staff{margin-top:8px}
}
/* v4.6: home principle cards: big word + hover/focus/tap popup */
.acard.ptip{position:relative;cursor:help;justify-content:center;min-height:110px;outline:none;overflow:visible}
.acard.ptip h2{font-size:34px;margin:0;letter-spacing:.02em}
.acard.ptip:focus-visible{box-shadow:0 0 0 3px rgba(32,89,145,.45),0 10px 30px rgba(13,29,69,.08)}
.ptip-pop{position:absolute;left:50%;bottom:calc(100% + 10px);transform:translate(-50%,6px);width:max-content;max-width:320px;background:var(--navy);color:#fff;font-size:15px;font-weight:500;line-height:1.45;text-align:center;padding:11px 15px;border-radius:6px;box-shadow:0 8px 22px rgba(13,29,69,.25);opacity:0;visibility:hidden;transition:opacity .15s,transform .15s;z-index:5;pointer-events:none}
.ptip-pop:after{content:"";position:absolute;top:100%;left:50%;margin-left:-7px;border:7px solid transparent;border-top-color:var(--navy)}
.ptip:hover .ptip-pop,.ptip:focus .ptip-pop{opacity:1;visibility:visible;transform:translate(-50%,0)}
@media (max-width:820px){.acard.ptip{min-height:80px}.acard.ptip h2{font-size:28px}}
.about-quote p{font-size:21px;font-weight:700;color:var(--navy);line-height:1.35}
@media (max-width:820px){.about-quote p{font-size:18px}}
/* v4.7 home: 1.5x logo, wider content on big screens */
body.about-page .wrap{max-width:min(1600px,94vw)}
.about:not(.story) .landing-mark{width:min(510px,86vw);margin:0 auto 2px}
.about:not(.story) .about-quote{max-width:1100px;margin:2px auto 12px}
.about:not(.story) .about-grid{max-width:1300px;margin-bottom:14px}
@media (min-width:821px) and (max-height:760px){
 .about:not(.story) .acard.ptip{min-height:84px}
 .about:not(.story) .about-quote p{font-size:19px}
 body.about-page .wrap{padding-top:4px}
}
/* v4.8 home: full-height flex column, principles+button+footer at bottom, bigger on large screens */
body.about-page{display:flex;flex-direction:column;min-height:100vh;margin:0}
body.about-page>main.wrap{flex:1 0 auto;width:100%;box-sizing:border-box;display:flex;flex-direction:column}
body.about-page>main.wrap>.about:not(.story){flex:1 0 auto;display:flex;flex-direction:column;align-items:center}
.about:not(.story) .about-grid{margin-top:auto;width:100%}
body.about-page>.wfoot{flex-shrink:0}
@media (min-width:1600px) and (min-height:900px){
 .about:not(.story) .landing-mark{width:600px}
 .about:not(.story) .about-quote{max-width:1200px}
 .about:not(.story) .about-quote p{font-size:24px}
 .about:not(.story) .about-grid{max-width:1500px;gap:26px}
 .about:not(.story) .acard.ptip{min-height:130px}
 .about:not(.story) .acard.ptip h2{font-size:40px}
 .about:not(.story) .about-cta{font-size:20px;padding:16px 38px}
 body.about-page .pubnav{max-width:1500px;font-size:17px}
}
.about:not(.story) .about-quote{max-width:1240px;width:100%}
.about:not(.story) .about-quote p{text-wrap:balance}
@media (min-width:1600px) and (min-height:900px){.about:not(.story) .about-quote{max-width:1400px}}
/* v4.9 Founder's Principle: exactly 3 lines on desktop */
@media (min-width:900px){
 .about:not(.story) .about-quote{max-width:96vw}
 .about:not(.story) .about-quote p.fp3{font-size:clamp(17px,1.32vw,26px)}
 .fp3>span{display:block;white-space:nowrap}
}
/* v5.0 quote sits ~96px above the principles row */
.about:not(.story) .about-quote{margin-top:auto;margin-bottom:96px}
.about:not(.story) .about-grid{margin-top:0}
@media (min-width:821px) and (max-height:760px){
 .about:not(.story) .landing-mark{width:min(420px,80vw)}
 .about:not(.story) .about-quote p.fp3{font-size:clamp(16px,1.25vw,24px)}
}
/* v5.0 nav pinned to the right edge (full-bleed row) */
body.about-page{overflow-x:clip}
body.about-page .pubnav,body.about-page .pubnav[class]{max-width:none;width:100vw;margin-left:calc(50% - 50vw);margin-right:0;padding:0 24px;box-sizing:border-box;justify-content:flex-end}
/* v5.1 home logo as large as the viewport height allows */
body.about-page .about:not(.story) .landing-mark{width:min(92vw,clamp(380px,calc((100vh - 462px) * 2.66),860px));margin:0 auto 2px}
/* v5.3 Founder block centered between logo and principles row */
body.about-page .about:not(.story) .about-quote{margin-top:auto;margin-bottom:auto;padding-top:12px;padding-bottom:12px}
body.about-page .about:not(.story) .about-grid{margin-top:0}
/* v5.4 /about: list sections as tile grids (no bullets) */
.story-card .story-list{list-style:none;columns:auto;padding:0;margin:8px 0 6px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.story-card .story-list li{background:#f6f8fb;border:1px solid var(--line);border-left:4px solid var(--navy);border-radius:6px;padding:10px 12px;font-weight:700;color:var(--navy);font-size:15px;line-height:1.3;display:flex;align-items:center}
.story-card .story-outro{background:rgba(1,33,105,.06);border-left:4px solid var(--navy);border-radius:6px;padding:12px 16px;color:var(--navy)!important;font-size:18px;margin-top:12px!important}
@media (max-width:900px){.story-card .story-list{grid-template-columns:repeat(3,1fr)}}
@media (max-width:640px){.story-card .story-list{grid-template-columns:repeat(2,1fr)}}
/* v5.5 /about: center incomplete last row of tiles */
.story-card .story-list{display:flex;flex-wrap:wrap;justify-content:center}
.story-card .story-list li{box-sizing:border-box;flex:0 0 calc((100% - 30px)/4);width:calc((100% - 30px)/4)}
@media (max-width:900px){.story-card .story-list li{flex-basis:calc((100% - 20px)/3);width:calc((100% - 20px)/3)}}
@media (max-width:640px){.story-card .story-list li{flex-basis:calc((100% - 10px)/2);width:calc((100% - 10px)/2)}}
/* v5.5 Back button (all public pages except home) */
.back-btn{display:inline-flex;align-items:center;gap:4px;align-self:flex-start;margin:4px 0 6px;padding:4px 12px;border:1px solid var(--navy,#012169);border-radius:6px;color:var(--navy,#012169);background:#fff;font-size:13px;font-weight:700;line-height:1.4;text-decoration:none;position:relative;z-index:5}
.back-btn:hover,.back-btn:focus-visible{background:var(--navy,#012169);color:#fff}
/* v5.5b Back button styled like .pubnav links */
.back-btn{position:absolute;left:24px;top:16px;margin:0;display:inline-block;padding:2px 0;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:var(--navy);font-weight:600;font-size:15px;line-height:normal;text-decoration:none;z-index:5}
body.about-page .back-btn{font-size:17px}
.back-btn:hover,.back-btn:focus-visible{background:none;color:var(--navy);border-bottom-color:var(--red)}
/* v5.8 Back button: same spot on every page, relative to the page */
body>.back-btn{position:absolute!important;top:24px!important;left:24px!important;font-size:17px;font-weight:600;color:var(--navy);letter-spacing:normal;line-height:normal;padding:2px 0}
/* v5.9 /shop: footer pinned to bottom, cards lowered */
body.landing-page:not(.about-page):has(.landing-grid){min-height:100vh;display:flex;flex-direction:column}
body.landing-page:not(.about-page):has(.landing-grid)>.wrap{flex:1 0 auto;width:100%;box-sizing:border-box}
body.landing-page:not(.about-page):has(.landing-grid)>.wfoot{margin-top:auto;flex-shrink:0}
body.landing-page:not(.about-page) .landing-grid{margin-top:28px}
/* v6.0 /shop: card row centered between tagline and footer */
body.landing-page:not(.about-page):has(.landing-grid)>.wrap{display:flex;flex-direction:column}
body.landing-page:not(.about-page) .landing{flex:1 0 auto;display:flex;flex-direction:column}
body.landing-page:not(.about-page) .landing-grid{margin-top:auto!important;margin-bottom:0}
body.landing-page:not(.about-page) .landing-staff{margin-bottom:auto}
/* v6.1 /shop: logo centered above cards, tagline centered below admin line */
body.landing-page:not(.about-page) .landing-mark{width:min(368px,80vw);margin:auto auto!important}
body.landing-page:not(.about-page) .landing-grid{margin-top:0!important;margin-bottom:0!important}
body.landing-page:not(.about-page) .landing-staff{margin-bottom:0!important}
body.landing-page:not(.about-page) .landing .landing-lead{margin:auto 0!important;padding:8px 0}
.story-card .story-list li{border-left:1px solid var(--line);justify-content:center;text-align:center}
.story-card .story-list li{background:#eef1f8;border:1px solid #d5dcec}
.story-card .story-outro{background:#ffeef0;border:1px solid #fed5d9;text-align:center}
.acard-in{border-top-color:var(--navy)}
.about:not(.story) .about-quote p.fp3{text-align:left;width:fit-content;max-width:100%;margin-left:auto;margin-right:auto}
/* v7.3 homepage: smaller principle cards, quote + logo moved down (scoped to home/about page) */
body.about-page .about:not(.story) .landing-mark{margin-top:32px!important}
body.about-page .about:not(.story) .about-quote{padding-top:40px}
body.about-page .about:not(.story) .about-grid{max-width:940px;gap:14px}
body.about-page .about:not(.story) .acard.ptip{min-height:80px;padding:10px 13px 12px}
body.about-page .about:not(.story) .acard.ptip h2{font-size:25px}
@media (min-width:1600px) and (min-height:900px){body.about-page .about:not(.story) .about-grid{max-width:1080px;gap:19px}body.about-page .about:not(.story) .acard.ptip{min-height:94px}body.about-page .about:not(.story) .acard.ptip h2{font-size:29px}}
@media (min-width:821px) and (max-height:760px){body.about-page .about:not(.story) .acard.ptip{min-height:62px}}
@media (max-width:820px){body.about-page .about:not(.story) .landing-mark{margin-top:20px!important}body.about-page .about:not(.story) .about-quote{padding-top:28px}body.about-page .about:not(.story) .acard.ptip{min-height:60px}body.about-page .about:not(.story) .acard.ptip h2{font-size:21px}}
/* v7.4 navy top stripe matching the Our Heritage principle boxes (.acard-in: 3px solid var(--navy) #14295c) */
body.about-page .about:not(.story) .acard.ptip{border-top:3px solid var(--navy)}
/* v7.5 stripe hardening: same 3px navy as .acard-in, forced over .lcard red top */
body.about-page .about:not(.story) section.lcard.acard.ptip{border-top:3px solid #14295c!important;border-top-color:#14295c!important}
/* v7.5 /shop: fixed gap logo->cards, tagline pushed down near footer */
body.landing-page:not(.about-page) .landing-mark{margin:16px auto 40px!important}
body.landing-page:not(.about-page) .landing .landing-lead{margin:auto 0 0!important;padding:24px 0 4px}
@media (max-width:820px){body.landing-page:not(.about-page) .landing-mark{margin:8px auto 22px!important}body.landing-page:not(.about-page) .landing .landing-lead{padding:18px 0 4px}}
/* v7.6 About: outer What We Do / What We Really Do / Our Commitment keep .lcard red 4px top (same as Our Heritage); inner tiles get the 3px navy top like .acard-in */
body.about-page section.lcard.story-card.story-stripe{border-top:4px solid var(--red)!important}
body.about-page section.story-card.story-stripe .story-list li,body.about-page section.story-card.story-stripe .story-outro{border-top:3px solid #14295c!important}
/* v7.7 About: Custom patches tile reveals its four options on hover/focus/tap (reuses .ptip-pop) */
body.about-page .story-card .story-list li.ptip{position:relative;cursor:help;outline:none;overflow:visible}
body.about-page .story-card .story-list li.ptip:focus-visible{box-shadow:0 0 0 3px rgba(32,89,145,.45)}
body.about-page .story-card .story-list li.ptip .ptip-pop{font-weight:600;max-width:260px}
/* v7.8 /shop: cards container 960px -> 1120px (+~17%) */
body.landing-page:not(.about-page) .landing-grid{max-width:1120px;width:100%}
/* v7.9 /shop: equal-width cards, ~17% shorter */
body.landing-page:not(.about-page) .landing-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
body.landing-page:not(.about-page) .landing-grid>.lcard{padding:10px 22px 11px;min-width:0}
body.landing-page:not(.about-page) .lcard-art{height:100px;margin-bottom:2px}
body.landing-page:not(.about-page) .lcard-art img{width:100px;height:100px}
body.landing-page:not(.about-page) .lcard h2{margin:3px 0 3px}
body.landing-page:not(.about-page) .lcard p{margin:0 0 8px}
@media (min-height:900px){body.landing-page:not(.about-page) .lcard-art{height:125px}body.landing-page:not(.about-page) .lcard-art img{width:125px;height:125px}}
@media (max-width:820px){body.landing-page:not(.about-page) .landing-grid{grid-template-columns:minmax(0,1fr)}}
/* v8.0 logo home link: only the logo image is clickable (wrapper was a stretched flex child that also covered the image margins) */
.landing>a[href="/"]:has(>.landing-mark),.about>a[href="/"]:has(>.landing-mark){display:block;align-self:center;width:fit-content;max-width:100%;margin-left:auto;margin-right:auto;pointer-events:none;line-height:0}
.landing>a[href="/"]>.landing-mark,.about>a[href="/"]>.landing-mark{pointer-events:auto;cursor:pointer}
/* v8.1 /shop: identical art frames; Originals shield shrunk to roughly the seal's visual area, both centered */
body.landing-page:not(.about-page) .landing-grid .lcard-art{height:110px;width:100%;display:flex;align-items:center;justify-content:center;margin:0 0 4px;flex:0 0 auto}
body.landing-page:not(.about-page) .landing-grid .lcard-art img{object-fit:contain;display:block}
body.landing-page:not(.about-page) #client-signin .lcard-art img{width:110px;height:110px;max-width:110px;max-height:110px}
body.landing-page:not(.about-page) #retail .lcard-art img{width:auto;height:84px;max-height:84px;max-width:58%}
@media (min-height:900px){body.landing-page:not(.about-page) .landing-grid .lcard-art{height:130px}body.landing-page:not(.about-page) #client-signin .lcard-art img{width:130px;height:130px;max-width:130px;max-height:130px}body.landing-page:not(.about-page) #retail .lcard-art img{height:98px;max-height:98px}}
@media (max-width:820px){body.landing-page:not(.about-page) .landing-grid .lcard-art{height:100px}body.landing-page:not(.about-page) #client-signin .lcard-art img{width:100px;height:100px;max-width:100px;max-height:100px}body.landing-page:not(.about-page) #retail .lcard-art img{height:76px;max-height:76px}}
/* v8.2 /shop: Originals card top stripe navy (thickness unchanged) */
body.landing-page:not(.about-page) section.lcard#retail{border-top-color:var(--navy)!important}
/* v8.3 homepage reviews section (data/reviews.json) + pill link under the founder quote */
html{scroll-behavior:smooth}
body.about-page .rv-pill{display:inline-flex;align-items:center;gap:6px;align-self:center;margin:-4px auto 18px;padding:6px 16px;border:2px solid var(--red);border-radius:6px;background:#fff;color:var(--navy);font-weight:700;font-size:14px;text-decoration:none;letter-spacing:.02em;position:relative;z-index:1}
body.about-page .rv-pill span{color:var(--red);font-size:15px}
body.about-page .rv-pill:hover,body.about-page .rv-pill:focus-visible{background:var(--red);color:#fff}
body.about-page .rv-pill:hover span,body.about-page .rv-pill:focus-visible span{color:#fff}
body.about-page .rv{width:100%;max-width:1080px;margin:40px auto 18px;text-align:center;scroll-margin-top:16px;position:relative;z-index:1}
body.about-page .rv h2{color:var(--navy);font-size:28px;margin:0 0 6px}
body.about-page .rv h2:after{content:"";display:block;width:64px;height:3px;background:var(--red);margin:10px auto 0;border-radius:2px}
body.about-page .rv-empty{color:var(--muted);font-style:italic;font-size:17px;margin:14px 0 0}
body.about-page .rv-sample-note{display:inline-block;background:#ffeef0;border:1px solid #fed5d9;color:#b3001a;font-weight:700;font-size:13px;border-radius:6px;padding:6px 12px;margin:10px 0 0}
body.about-page .rv-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:18px}
body.about-page .rv-card{position:relative;margin:0;border-top:3px solid #14295c!important;padding:18px 18px 16px;text-align:left;align-items:stretch}
body.about-page .rv-card blockquote{margin:6px 0 12px;color:var(--navy);font-weight:600;font-style:italic;font-size:16.5px;line-height:1.45;border:0;padding:0}
body.about-page .rv-card figcaption{font-size:13px;color:var(--muted);letter-spacing:.04em;text-transform:uppercase}
body.about-page .rv-card figcaption b{color:var(--navy);display:block;letter-spacing:.02em}
body.about-page .rv-stars{color:var(--red);letter-spacing:2px;font-size:16px}
body.about-page .rv-tag{position:absolute;top:8px;right:10px;background:var(--red);color:#fff;font-size:11px;font-weight:800;letter-spacing:.08em;padding:2px 8px;border-radius:4px}
body.about-page .rv-sample{border-style:dashed;border-top-style:solid}
@media (max-width:820px){body.about-page .rv-grid{grid-template-columns:minmax(0,1fr);gap:12px}body.about-page .rv h2{font-size:22px}body.about-page .rv{margin-top:28px}body.about-page .rv-pill{font-size:13px;margin-bottom:14px}}
/* v8.4 homepage reviews button -> /reviews; /reviews page */
body.about-page .rv-link{display:inline-flex;align-items:center;gap:8px;align-self:center;margin:22px auto 10px;padding:9px 20px;border:2px solid var(--navy);border-radius:6px;background:#fff;color:var(--navy);font-weight:700;font-size:15px;text-decoration:none;box-shadow:inset 0 -3px 0 var(--red);position:relative;z-index:1;transition:background .15s,color .15s,border-color .15s}
body.about-page .rv-link:hover,body.about-page .rv-link:focus-visible{background:var(--red);border-color:var(--red);color:#fff;box-shadow:none}
body.about-page .rv-page .rv{margin-top:10px}
@media (max-width:820px){body.about-page .rv-link{font-size:14px;padding:8px 14px;margin-top:16px}}
/* v8.5 /reviews: CTA pinned just above the footer */
body.about-page>main.wrap>.rv-page{flex:1 0 auto;display:flex;flex-direction:column;align-items:center;width:100%}
body.about-page .rv-page>.about-cta{margin-top:auto!important;margin-bottom:22px!important;align-self:center}
/* v8.6 homepage footer: reviews pill left, contact right (other pages keep the plain footer) */
.wfoot.wfoot-split{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;text-align:left;padding-left:24px;padding-right:24px}
.wfoot-split .wfoot-rv{display:inline-flex;align-items:center;gap:6px;padding:5px 14px;border:1.5px solid rgba(255,255,255,.85);border-radius:6px;background:rgba(255,255,255,.08);color:#fff!important;font-weight:700;font-size:13.5px;text-decoration:none;white-space:nowrap;transition:background .15s,color .15s,border-color .15s}
.wfoot-split .wfoot-rv:hover,.wfoot-split .wfoot-rv:focus-visible{background:#fff;color:var(--navy)!important;border-color:#fff}
.wfoot-split .wfoot-contact{margin-left:auto;text-align:right}
@media (max-width:820px){.wfoot.wfoot-split{flex-direction:column;justify-content:center;text-align:center}.wfoot-split .wfoot-contact{margin-left:0;text-align:center}}
/* v8.7 split footer on every page: keep pill colors over store-specific .wfoot a rules */
body .wfoot.wfoot-split a.wfoot-rv{color:#fff!important}
body .wfoot.wfoot-split a.wfoot-rv:hover,body .wfoot.wfoot-split a.wfoot-rv:focus-visible{color:#14295c!important;background:#fff}
/* v8.8 founder quote: 2nd+3rd sentences share one line-group and may wrap */
.about:not(.story) .about-quote p.fp3>span:nth-child(2){white-space:normal;text-wrap:pretty}
/* v8.9 founder quote: one flowing, centered paragraph */
.about:not(.story) .about-quote p.fp3,.about:not(.story) .about-quote p.fp3>span{white-space:normal;text-align:center}
.about:not(.story) .about-quote p.fp3>span{display:inline}
/* v9.0 founder quote: exact 3 lines on wide screens, natural wrap on narrow */
@media (min-width:900px){.about:not(.story) .about-quote p.fp3{text-align:center;width:auto;font-size:clamp(15px,1.25vw,24px)!important}.about:not(.story) .about-quote p.fp3>span{display:block;white-space:nowrap;text-align:center}}
@media (max-width:899px){.about:not(.story) .about-quote p.fp3>span{display:inline;white-space:normal}}
/* v9.1 /about (story): logo same size as /shop, same gap to the first box as /shop logo->cards */
body.about-page .about.story .landing-mark.story-mark{width:min(368px,80vw)!important;margin:16px auto 40px!important}
@media (max-width:820px){body.about-page .about.story .landing-mark.story-mark{margin:8px auto 22px!important}}
/* v9.2 founder quote: block centered, lines left-aligned, closing .? on its own line */
.about:not(.story) .about-quote p.fp3{display:block;width:fit-content;max-width:100%;margin-left:auto;margin-right:auto;text-align:left!important}
.about:not(.story) .about-quote p.fp3>span{text-align:left!important}
@media (max-width:899px){.about:not(.story) .about-quote p.fp3>span.fp3-end{display:inline}}
/* v9.3 founder quote: hanging .? after "year" (outside the measured width); cite tucked under the quote */
.about:not(.story) .about-quote p.fp3 span.fp3-end{display:inline;white-space:nowrap}
@media (min-width:900px){.about:not(.story) .about-quote p.fp3 span.fp3-end{position:absolute}}
.about:not(.story) .about-quote p.fp3{margin-bottom:0!important;padding-bottom:0!important}
.about:not(.story) .about-quote cite{margin-top:6px!important;padding-top:0!important}
/* logotop: align About logo top with Shop */
body.about-page .about.story .landing-mark.story-mark{margin-top:-11.75px!important}
@media (max-width:820px){body.about-page .about.story .landing-mark.story-mark{margin-top:-19.75px!important}}

/* navytheme v9.5: site-wide navy buttons, light text -> white on hover, red bottom stripe */
.btn,.btn.sec,.btn.red,.btn.navy,a.btn,button.btn{background:#14295c;color:#c9d3ea;border:0;box-shadow:inset 0 -3px 0 #FF0020;transition:background-color .18s,color .18s;filter:none}
.btn:hover,.btn:focus-visible,.btn.sec:hover,.btn.red:hover,.btn.navy:hover{background:#0d1d45;color:#fff;filter:none}

/* storebasket */
.nav a.cartlink{display:inline-flex;align-items:center;gap:5px}.nav .cartcount{display:inline-block;min-width:20px;padding:1px 6px;border-radius:999px;background:#FF0020;color:#fff;font-size:12px;font-weight:800;text-align:center;line-height:18px}

/* ctared: homepage Order your swag button */
.btn.cta-red{background:#FF0020;color:#fff;box-shadow:inset 0 -3px 0 #14295c}
.btn.cta-red:hover,.btn.cta-red:focus-visible{background:#d0021d;color:#fff}
/* logoexact: About logo box identical to Shop; stable scrollbar gutter */
html{scrollbar-gutter:stable}
body.about-page .about.story > a:first-child{display:flow-root;margin-top:-27.75px}
body.about-page .about.story .landing-mark.story-mark{margin-top:16px!important;margin-bottom:40px!important}
@media (max-width:820px){body.about-page .about.story .landing-mark.story-mark{margin-top:8px!important;margin-bottom:22px!important}}
/* logoexact2: whole-number About wrap width so logo centering matches Shop */
body.about-page .wrap{max-width:round(down,min(1600px,94vw),2px)}
/* logovert: About-only nav has fixed height and main has fixed top padding so logo top matches Shop at every viewport height */
body.about-page:has(.about.story)>main.wrap{padding-top:8px!important}
body.about-page:has(.about.story) nav.pubnav{height:27.75px!important;font-size:15px!important;box-sizing:border-box;overflow:visible}

/* homebadge: 6-col grid; CTA centered under Craftsmanship+Partnership, badge centered between Partnership and Pride */
@media (min-width:821px){.about:not(.story) .about-grid{grid-template-columns:repeat(6,1fr)}.about:not(.story) .about-grid>.acard{grid-row:1}.about:not(.story) .about-grid>.acard:nth-of-type(1){grid-column:1/3}.about:not(.story) .about-grid>.acard:nth-of-type(2){grid-column:3/5}.about:not(.story) .about-grid>.acard:nth-of-type(3){grid-column:5/7}.about:not(.story) .about-grid>.hb-cta{grid-row:2;grid-column:2/4}.about:not(.story) .about-grid>.hb-badge{grid-row:2;grid-column:4/6}}
.about-grid>.hb-cta{justify-self:center;align-self:center;width:max-content;margin:4px 0}
.about-grid>.hb-badge{justify-self:center;align-self:center;margin:0;text-align:center}
@media (max-width:820px){.about-grid>.hb-cta{order:3}.about-grid>.hb-badge{order:4}.about-grid>.acard:nth-of-type(3){order:5}}
/* nofee-box: navy rounded-rectangle callout for "No setup charges" (not the red .badge pill) */
.nofee-box{display:inline-block;padding:6px 14px;border-radius:6px;background:#14295c;color:#ffffff;font-size:14px;font-weight:700;line-height:1.3;text-align:center}
.nofee-box.nofee-red{background:var(--red);color:#ffffff}
/* nofee-btnsize: homepage box sized like the "Order your swag or ours" button (.btn.lbtn.about-cta) */
.about:not(.story) .nofee-box.nofee-btnsize{font-size:18px;padding:14px 32px;line-height:1.45;min-width:220px;height:auto;box-sizing:border-box;font-weight:700;white-space:nowrap}
@media (min-width:1600px) and (min-height:900px){.about:not(.story) .nofee-box.nofee-btnsize{font-size:20px;padding:16px 38px}}
/* homenofee: navy bottom line on homepage red box (same inset style as the button) */
.about:not(.story) .nofee-box.nofee-btnsize{box-shadow:inset 0 -3px 0 #14295c}
/* homenofee: CTA and box share one width and height, centered; each centered in its half of row 2 (equal widths cannot fit centered on the card gaps) */
.about:not(.story) .about-grid>.hb-cta,.about:not(.story) .nofee-box.nofee-btnsize{width:440px;max-width:100%;min-width:0;box-sizing:border-box;text-align:center;white-space:nowrap;line-height:1.45}
@media (min-width:821px){.about:not(.story) .about-grid>.hb-cta{grid-column:1/4}.about:not(.story) .about-grid>.hb-badge{grid-column:4/7}}
@media (min-width:1600px) and (min-height:900px){.about:not(.story) .about-grid>.hb-cta,.about:not(.story) .nofee-box.nofee-btnsize{width:480px}}
/* homenofee fit: never overflow; on narrower screens shrink both equally and let text wrap, keeping equal heights */
.about:not(.story) .about-grid{grid-template-columns:minmax(0,1fr)}
@media (min-width:821px){.about:not(.story) .about-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
.about:not(.story) .about-grid>.hb-cta,.about:not(.story) .nofee-box.nofee-btnsize{width:min(440px,100%);display:inline-flex;align-items:center;justify-content:center}
@media (min-width:1600px) and (min-height:900px){.about:not(.story) .about-grid>.hb-cta,.about:not(.story) .nofee-box.nofee-btnsize{width:min(480px,100%)}}
@media (max-width:1180px){.about:not(.story) .about-grid>.hb-cta,.about:not(.story) .nofee-box.nofee-btnsize{white-space:normal}.about:not(.story) .about-grid>.hb-cta,.about:not(.story) .about-grid>.hb-badge{align-self:stretch;margin:0}.about:not(.story) .about-grid>.hb-badge{display:flex;justify-content:center}.about:not(.story) .about-grid>.hb-badge>.nofee-box{height:100%}}
@media (min-width:821px) and (max-width:1180px){.about:not(.story) .about-grid>.hb-cta,.about:not(.story) .nofee-box.nofee-btnsize{width:min(440px,calc(100% - 8px))}}
.about:not(.story) .about-grid>.hb-badge{justify-self:stretch;width:100%;display:flex;justify-content:center}
@media (max-width:1180px){.about:not(.story) .about-grid>.hb-cta,.about:not(.story) .nofee-box.nofee-btnsize{min-height:80px}}
/* shopnofee: single no-fees box under the admin link on /shop */
.shop-nofee{display:flex;justify-content:center;margin:14px auto 6px;padding:0 16px}
.shop-nofee-box{display:inline-block;max-width:760px;padding:14px 24px;border-radius:6px;background:#14295c;color:#ffffff;font-size:21px;line-height:1.35;font-weight:500;text-align:center;box-shadow:inset 0 -3px 0 #FF0020}
.shop-nofee-box b{font-weight:800}
@media (max-width:820px){.shop-nofee-box{font-size:18px;padding:12px 16px}}
/* shopcenter: no-fees box vertically centered between admin link and the "Custom hat patches" line (equal space above/below) */
body.landing-page:not(.about-page) .shop-nofee{margin:auto 0!important;padding:14px 16px;width:100%;box-sizing:border-box}
body.landing-page:not(.about-page) .shop-nofee+.landing-lead{margin-top:0!important}
/* shopcenter: bigger no-fees box */
.shop-nofee-box{font-size:24px;padding:18px 32px;max-width:860px}
@media (max-width:820px){.shop-nofee-box{font-size:20px;padding:14px 20px}}
body.landing-page:not(.about-page) .shop-nofee+.landing-lead{padding-top:0!important}
/* homecenter: badge removed; CTA centered under the middle (Partnership) card */
@media (min-width:821px){.about:not(.story) .about-grid>.hb-cta{grid-column:3/5;grid-row:2}}
@media (max-width:820px){.about:not(.story) .about-grid>.hb-cta{order:5}}
@media (min-width:821px){.about:not(.story) .about-grid>.hb-cta{grid-column:1/7}}
@media (max-width:820px){.about:not(.story) .about-grid>.hb-cta{order:6}}

/* labelvc: vertically center card name labels */
.card .nm,.tp-item .nm{display:flex;flex-direction:column;justify-content:center}

/* homebtncenter (Matt 2026-10-14): "order your swag" CTA vertically centered between the card row and the footer ribbon */
body.about-page>main.wrap:has(.about-grid>.hb-cta){padding-bottom:0}
body.about-page .about:not(.story):has(>.about-grid>.hb-cta)>.about-grid{flex:1 0 auto;margin-bottom:0;grid-template-rows:auto 1fr;row-gap:0;padding-bottom:0}
body.about-page .about:not(.story) .about-grid>.hb-cta{align-self:center;margin-top:24px!important;margin-bottom:24px!important}
@media (max-width:820px){body.about-page .about:not(.story):has(>.about-grid>.hb-cta)>.about-grid{grid-template-rows:none;row-gap:12px}body.about-page .about:not(.story) .about-grid>.hb-cta{margin-top:12px!important;margin-bottom:24px!important}}

/* footbottom (Matt 2026-10-15): sticky footer on EVERY page this app serves.
   Footer sits at the viewport bottom when content is short, and right after content when long.
   Not position:fixed. Leaves SJRWMD sjfit (height:100dvh + overflow:hidden on home) alone. */
/* footrim (Matt 2026-10-15): shorter testimonials ribbon everywhere (was 22px vertical padding). */
html{height:100%}
body{min-height:100%;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body>main.wrap{flex:1 0 auto;width:100%;box-sizing:border-box}
body>.wfoot,body>footer.wfoot,.wfoot{margin-top:auto;flex-shrink:0;margin-bottom:0;padding-top:12px;padding-bottom:12px}
body>.fbm-foot{flex-shrink:0}

/* Product gallery lightbox (Matt 2026-10-17) */
.gallery .main img.lb-trigger{cursor:zoom-in}
body.lb-open{overflow:hidden}
.lb-overlay{position:fixed;inset:0;z-index:10000;background:rgba(13,29,69,.88);display:flex;align-items:center;justify-content:center;padding:2vh 2vw;box-sizing:border-box}
.lb-overlay[hidden]{display:none!important}
.lb-overlay .lb-img{max-width:90vw;max-height:90vh;width:auto;height:auto;object-fit:contain;background:#F1F3F5;border-radius:8px;box-shadow:0 8px 40px rgba(0,0,0,.45);padding:2.5vh 2.5vw;box-sizing:border-box}
.lb-overlay .lb-close{position:absolute;top:14px;right:18px;border:0;background:rgba(255,255,255,.12);color:#fff;font-size:32px;line-height:1;width:44px;height:44px;border-radius:6px;cursor:pointer}
.lb-overlay .lb-close:hover,.lb-overlay .lb-close:focus-visible{background:rgba(255,255,255,.28)}
.lb-overlay .lb-prev,.lb-overlay .lb-next{position:absolute;top:50%;transform:translateY(-50%);border:0;background:rgba(255,255,255,.12);color:#fff;font-size:42px;line-height:1;width:48px;height:64px;border-radius:6px;cursor:pointer}
.lb-overlay .lb-prev{left:12px}.lb-overlay .lb-next{right:12px}
.lb-overlay .lb-prev:hover,.lb-overlay .lb-next:hover,.lb-overlay .lb-prev:focus-visible,.lb-overlay .lb-next:focus-visible{background:rgba(255,255,255,.28)}
.lb-overlay .lb-prev[hidden],.lb-overlay .lb-next[hidden]{display:none!important}
@media (max-width:700px){
  .lb-overlay .lb-prev,.lb-overlay .lb-next{width:40px;height:52px;font-size:34px}
}

/* stdheader (2026-10-20, staged): standard store header = logo far left, name + powered by beside it, nav pushed right */
.sh.sh-std .in{justify-content:flex-start}.sh.sh-std .brand{display:flex;align-items:center;gap:12px;margin-right:auto}.sh.sh-std .nav{margin-left:auto;justify-content:flex-end}

/* rwevgray 2026-10-21 (Matt 9:37/9:48 PM ET): /rmrw2 Event Merch card image areas #E4E4E7; band unchanged */
body.st-rmrw2 .rml-tiles-ev:not(.rml-home115) .rml-card .rml-ph,body.st-rmrw2 .rml-tiles-ev:not(.rml-home115) .rml-card{background:#E4E4E7!important}
body.st-rmrw2 .rml-tiles-ev:not(.rml-home115) .rml-card .rml-bd{background:#8A8F96}

/* sp-assign 2026-10-24: salesperson assignment rows - vertically centre the Save button */
form.sp-assign{display:flex;flex-wrap:wrap;align-items:center}
form.sp-assign label{margin-top:0;margin-bottom:0}
form.sp-assign .btn{margin-top:0;margin-bottom:0;align-self:center}

/* ampage 2026-10-24 (Matt 11:40 PM): Account Managers page - labels above boxes, even field spacing, buttons level with the boxes */
.am-page form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px 16px;margin:0}
.am-page form label{display:flex;flex-direction:column;gap:6px;margin:0;font-weight:600}
.am-page form input,.am-page form select{margin:0;height:38px;box-sizing:border-box}
.am-page form .btn{margin:0;height:38px;box-sizing:border-box;display:inline-flex;align-items:center;align-self:flex-end}
.am-page form input[name=code]{width:96px;text-transform:uppercase}
.am-page form input[name=name]{width:170px}
.am-page form input[name=email]{width:34ch;min-width:30ch}
.am-page form input[name=phone]{width:150px}
.am-page form input[name=rate]{width:96px}
.am-page td{vertical-align:middle;padding-top:10px;padding-bottom:10px}
.am-page .panel{margin-top:18px}

/* amresend 2026-10-24: store settings - Save settings and Resend store code on one line */
.st-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin-top:6px}
.st-actions .btn{margin:0}
/* amcenter 2026-10-24 (Matt 11:43 PM): Save buttons centred on the account manager boxes (labels inline, so box middle = row middle) */
.am-page form{align-items:center}
.am-page form label{flex-direction:row;align-items:center;gap:8px}
.am-page form .btn{align-self:center}
#salesperson form.sp-assign{align-items:center}
#salesperson form.sp-assign label{display:flex;flex-direction:row;align-items:center;gap:8px}
#salesperson form.sp-assign select{margin:0}
#salesperson form.sp-assign .btn{align-self:center;margin:0}

/* spcenter 2026-10-25 (Matt 12:16 AM): every account manager dropdown/box + Save: label inline, box and button same height, centred */
form.sp-assign{display:flex;flex-wrap:wrap;align-items:center}
form.sp-assign label{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0}
form.sp-assign select,form.sp-assign input:not([type=hidden]){width:auto;margin:0;height:38px;box-sizing:border-box}
form.sp-assign .btn{margin:0;height:38px;box-sizing:border-box;display:inline-flex;align-items:center;align-self:center}

/* prodactions 2026-10-25 (Matt 12:29 AM): admin Products header: Export to Excel directly under Add product, same size, right-aligned */
.row:has(> .prod-actions){align-items:flex-start}
.prod-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px}
.prod-actions .btn{margin:0;display:flex;align-items:center;justify-content:center;text-align:center;box-sizing:border-box}

/* saml 2026-10-25: store settings SSO panel */
.saml-panel .saml-status{margin:0 0 12px}
.saml-panel .saml-status.on b{color:#0a7a3d}
.saml-panel .saml-status.off b{color:#8a5a00}
.saml-panel table.saml-sp{width:100%;border-collapse:collapse;margin:0 0 16px}
.saml-panel table.saml-sp th{text-align:left;white-space:nowrap;padding:6px 12px 6px 0;vertical-align:top;width:1%}
.saml-panel table.saml-sp td{padding:6px 0;word-break:break-all}
.saml-panel textarea{width:100%;font-family:monospace;font-size:12px}
.saml-panel label.saml-check{display:flex;align-items:center;gap:8px}
.saml-panel label.saml-check input{width:auto;margin:0}

/* btnheight 2026-10-25 (Matt 9:19 AM): standard small-button height, so link buttons (Products, People, Orders, Settings) and form buttons (Save) line up on /admin and every store */
a.btn.sm,button.btn.sm,.btn.sm{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 12px;line-height:1.2;vertical-align:middle;white-space:nowrap}

/* byos-std 2026-10-25 (Matt 9:51/9:52 AM): one standard red Build Your Own Swag button, right of Cart; rectangle with 5px corners (never a pill) */
.nav-byos,a.nav-byos{display:inline-flex;align-items:center;background:#FF0020;color:#fff!important;border:0;border-radius:5px;padding:6px 12px;font-weight:800;text-decoration:none;white-space:nowrap;line-height:1.2}
.nav-byos:hover,.nav-byos:focus-visible{background:#c80019;color:#fff}
/* admintotp 2026-10-26 */
.gatebox{border-top-color:#FF0020}.totp-qr{text-align:center;margin:12px 0}.totp-qr img{background:#fff;padding:6px}.totp-key code{letter-spacing:1px;word-break:break-all}.totp-skip{margin-top:10px;text-align:center}

/* merkstileorder 2026-10-26 (Matt): design thumbnails on the Merk's designs admin */
.mkd-thumb{width:64px;height:64px;object-fit:contain;border:1px solid #ddd;border-radius:4px;background:#fff}

/* signin24 2026-10-26 4:22 PM ET (Matt): Merk's sign-in history filter; rectangular 38px button */
.sh24-note{margin:-4px 0 8px}
.sh24-links{margin:0 0 8px}
.sh24-btn{display:inline-flex;align-items:center;height:38px;box-sizing:border-box;padding:0 14px;border:1px solid #c5ccd6;border-radius:5px;background:#fff;color:#1f2d3d;font-weight:700;text-decoration:none}
