/* Shared, brand-neutral layout for the linen order builder. Colors/fonts come from themes/*.css */
*{box-sizing:border-box}
body{margin:0;background:var(--brand-bg);color:var(--brand-ink);font-family:var(--brand-font-body);font-size:15px;line-height:1.45}
button,input,select{font:inherit;color:inherit}
.demo-flag{background:#fff3d6;color:#6b4e00;font-size:12px;text-align:center;padding:5px}
.top{display:flex;align-items:center;gap:28px;padding:12px 32px;background:var(--brand-surface);border-bottom:1px solid var(--brand-line)}
.logo{width:220px;height:var(--brand-logo-h);background:var(--brand-logo) left center/contain no-repeat;flex:none}
.top nav{display:flex;gap:22px;font-weight:500;font-size:14px;flex:1}
.top nav a{color:var(--brand-ink);text-decoration:none}
.help{border:1px solid var(--brand-line);border-radius:10px;padding:6px 14px;font-size:12px;color:var(--brand-muted)}
.help b{display:block;color:var(--brand-ink);font-size:14px}
.steps{display:flex;justify-content:space-between;max-width:1240px;margin:0 auto;padding:0 32px;background:var(--brand-surface)}
.stepbar{background:var(--brand-surface);border-bottom:1px solid var(--brand-line)}
.step{display:flex;align-items:center;gap:8px;padding:14px 4px;border:0;background:none;cursor:pointer;color:var(--brand-muted);font-size:13.5px;border-bottom:3px solid transparent}
.step i{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--brand-line);font-style:normal;font-size:12px;font-weight:600}
.step.on{color:var(--brand-ink);font-weight:600;border-bottom-color:var(--brand-primary)}
.step.on i{background:var(--brand-primary);color:#fff}
.hero{position:relative;overflow:hidden;background:linear-gradient(90deg,var(--brand-hero-from) 45%,transparent 75%);min-height:150px}
.hero img{position:absolute;right:0;top:0;height:100%;width:52%;object-fit:cover;z-index:-1;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 40%);mask-image:linear-gradient(90deg,transparent 0,#000 40%)}
.hero .in{max-width:1240px;margin:0 auto;padding:26px 32px;position:relative}
.hero h1{font-family:var(--brand-font-head);font-size:34px;margin:0 0 6px;color:var(--brand-primary)}
.hero p{margin:0;max-width:520px;color:var(--brand-ink)}
.wrap{max-width:1240px;margin:0 auto;padding:20px 32px 60px;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px}
.tabs{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}
.tab{background:var(--brand-surface);border:1.5px solid var(--brand-line);border-radius:var(--brand-radius);padding:6px;text-align:center;font-size:12.5px;font-weight:600;cursor:pointer}
.tab .sw{height:56px;border-radius:8px;margin-bottom:6px}
.tab.on{border-color:var(--brand-primary);box-shadow:0 0 0 1px var(--brand-primary)}
.tab.off{opacity:.45;cursor:not-allowed}
.tab small{display:block;font-weight:400;color:var(--brand-muted);font-size:10.5px}
h2{font-family:var(--brand-font-head);font-size:22px;margin:26px 0 12px;color:var(--brand-ink);display:flex;align-items:center;gap:12px;flex-wrap:wrap}
h2 .grow{flex:1}
h3{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--brand-primary);margin:20px 0 10px}
.search{font-family:var(--brand-font-body);border:1px solid var(--brand-line);border-radius:8px;padding:8px 12px;font-size:13px;width:240px;background:var(--brand-surface)}
.link{color:var(--brand-primary);font-size:13px;font-weight:600;text-decoration:underline;background:none;border:0;cursor:pointer;font-family:var(--brand-font-body)}
.colors{display:flex;flex-wrap:wrap;gap:12px 8px}
.cs{width:62px;background:none;border:0;padding:0;cursor:pointer;text-align:center;font-size:11px}
.cs i{display:block;width:40px;height:40px;margin:0 auto 4px;border-radius:50%;border:1px solid rgba(0,0,0,.15);box-shadow:inset 0 -6px 10px rgba(0,0,0,.16)}
.cs.on i{outline:2px solid var(--brand-primary);outline-offset:3px}
.cs.on{font-weight:700;color:var(--brand-primary)}
.cs.more i{display:grid;place-items:center;background:var(--brand-surface);font-style:normal;font-weight:700}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px}
.card{background:var(--brand-surface);border:1px solid var(--brand-line);border-radius:var(--brand-radius);padding:10px;display:flex;flex-direction:column;gap:6px;position:relative}
.card .ph{background:#f1ede8;border-radius:8px;height:130px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.card .ph img{max-width:100%;max-height:130px;object-fit:contain}
.card .ph svg{width:70%;height:80%}
.card b{font-size:15px}
.card .fit{font-size:12px;color:var(--brand-muted)}
.card .drop{font-size:12px}
.badge{position:absolute;top:14px;left:14px;background:var(--brand-primary);color:#fff;font-size:10.5px;font-weight:600;padding:2px 8px;border-radius:999px}
.ph-tag{font-size:10.5px;color:#8a5a00;background:#fff3d6;border-radius:6px;padding:1px 6px;align-self:flex-start}
.row{display:flex;align-items:center;gap:8px;margin-top:auto}
.qty{display:flex;align-items:center;border:1px solid var(--brand-line);border-radius:8px;background:var(--brand-surface)}
.qty button{width:30px;height:32px;border:0;background:none;cursor:pointer;color:var(--brand-primary);font-size:17px}
.qty input{width:38px;height:32px;border:0;text-align:center;font-weight:600;background:none;-moz-appearance:textfield}
.btn{border:0;border-radius:8px;background:var(--brand-primary);color:#fff;font-weight:600;padding:9px 14px;cursor:pointer}
.btn:hover{background:var(--brand-primary-hover)}
.btn.full{width:100%}
.btn.ghost{background:none;color:var(--brand-primary);border:1.5px solid var(--brand-primary)}
.row .btn{flex:1}
.side{position:sticky;top:14px;align-self:start;background:var(--brand-surface);border:1px solid var(--brand-line);border-radius:var(--brand-radius);overflow:hidden}
.side .hd{background:var(--brand-primary);color:#fff;padding:12px 16px;display:flex;justify-content:space-between;align-items:center;font-weight:600}
.side .hd span{font-weight:400;font-size:13px}
.lines{max-height:60vh;overflow:auto}
.ln{display:grid;grid-template-columns:48px 1fr auto auto;gap:8px;align-items:center;padding:10px 14px;border-bottom:1px solid var(--brand-line);font-size:12.5px}
.ln img,.ln .ico{width:48px;height:34px;object-fit:cover;border-radius:5px;background:#f1ede8}
.ln .ico svg{width:100%;height:100%}
.ln small{display:block;color:var(--brand-muted)}
.ln.child{padding-left:30px;background:#fcfaf8}
.ln input{width:40px;border:1px solid var(--brand-line);border-radius:6px;text-align:center;padding:3px}
.ln .x{border:0;background:none;cursor:pointer;color:var(--brand-muted);font-size:16px}
.ln .addl{grid-column:2/5;justify-self:start}
.grp{padding:8px 14px 2px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--brand-muted)}
.empty{padding:18px 16px;color:var(--brand-muted);font-size:13px}
.side .ft{padding:14px 16px;text-align:center;font-size:13px;color:var(--brand-muted)}
.side .ft .btn{margin-top:8px}
.stub{background:var(--brand-surface);border:1px solid var(--brand-line);border-radius:var(--brand-radius);padding:20px;margin-top:18px}
.stub li{margin:4px 0}
.modal{position:fixed;inset:0;background:rgba(20,15,10,.45);display:none;align-items:center;justify-content:center;z-index:50;padding:16px}
.modal.open{display:flex}
.panel{background:var(--brand-surface);border-radius:14px;max-width:880px;width:100%;max-height:92vh;overflow:auto;padding:22px 24px}
.panel h2{margin-top:0}
.panel .sub{color:var(--brand-muted);margin:-6px 0 14px;font-size:13.5px}
.opts{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.opt{border:1.5px solid var(--brand-line);border-radius:var(--brand-radius);padding:10px;display:flex;flex-direction:column;gap:6px}
.opt.sel{border-color:var(--brand-primary);box-shadow:0 0 0 1px var(--brand-primary)}
.opt .ph{background:#f1ede8;border-radius:8px;height:120px;display:flex;align-items:center;justify-content:center}
.opt .ph img{max-width:100%;max-height:120px;object-fit:contain}
.opt label{display:flex;gap:8px;align-items:center;font-weight:600}
.mini{display:flex;gap:5px;overflow-x:auto;padding:4px 2px}
.mini button{flex:none;width:22px;height:22px;border-radius:50%;border:1px solid rgba(0,0,0,.2);cursor:pointer}
.mini button.on{outline:2px solid var(--brand-primary);outline-offset:2px}
.panel .acts{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%) translateY(150px);background:var(--brand-ink);color:#fff;padding:11px 18px;border-radius:10px;transition:.25s;font-size:14px;z-index:60;max-width:92vw}
.toast.show{transform:translateX(-50%) translateY(0)}
.mbar{display:none}
@media (max-width:900px){
  .top{padding:10px 16px;gap:12px}.top nav{display:none}.logo{width:150px}
  .steps{padding:0 10px;overflow-x:auto;gap:14px}.step span{display:none}.step.on span{display:inline}
  .hero h1{font-size:26px}.hero img{width:60%;opacity:.5}.hero .in{padding:18px 16px}
  .wrap{grid-template-columns:1fr;padding:14px 14px 90px}
  .tabs{grid-template-columns:repeat(3,1fr)}
  .search{width:100%}
  .grid{grid-template-columns:repeat(2,1fr);gap:10px}.card .ph{height:100px}.card .ph img{max-height:100px}
  .row{flex-wrap:wrap}.row .btn{width:100%;flex:auto}
  .side{position:fixed;left:0;right:0;bottom:0;top:auto;border-radius:14px 14px 0 0;z-index:40;max-height:75vh;display:none}
  .side.open{display:block}
  .mbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:39;background:var(--brand-primary);color:#fff;padding:12px 16px;align-items:center;justify-content:space-between;font-weight:600}
  .mbar button{background:#fff;color:var(--brand-primary);border:0;border-radius:8px;padding:8px 14px;font-weight:700}
}
.card .row{flex-wrap:wrap}.card .row .btn{flex:1 1 100%;white-space:nowrap}.card .row .qty{flex:1 1 100%;justify-content:space-between}
.need{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;text-align:center;padding:8px;
 background:repeating-linear-gradient(45deg,#f4f1ec 0 10px,#e9e4dd 10px 20px);border:2px dashed #b9ab9b;border-radius:8px;color:#6d6055;font-size:11.5px}
.need b{letter-spacing:.08em;font-size:12px}.need small{font-style:italic;color:#8a7d70}
.need i{width:26px;height:26px;border-radius:50%;border:1px solid rgba(0,0,0,.2);margin-bottom:4px}
.ln .ico.tbl{display:grid;place-items:center;font-size:9px;letter-spacing:.06em;color:var(--brand-muted);border:1px dashed var(--brand-line)}
/* small to-scale drop diagram under each photo (recolored through --lin vars) */
.dia{background:#fbf9f6;border:1px solid var(--brand-line);border-radius:6px;padding:4px 6px}
.dia svg{display:block;width:100%;height:auto;max-height:84px}
.opt .dia svg{max-height:96px}
.need i[style*="transparent"]{display:none}
.panel{padding-bottom:0}.panel .acts{position:sticky;bottom:0;background:var(--brand-surface);padding:12px 0 16px;border-top:1px solid var(--brand-line)}
.toast{opacity:0}.toast.show{opacity:1}
.mini{position:relative}
/* center-tie color picker (real fabric swatch photos) */
.tie{border-top:1px dashed var(--brand-line);padding-top:6px}
.tie .tl{font-size:12px}.tie .tl em{font-style:normal;font-size:10.5px;color:#8a5a00;background:#fff3d6;border-radius:6px;padding:0 5px;margin-left:2px}
.tiem button{width:24px;height:24px}
.tiem button.match{width:auto;border-radius:12px;padding:0 8px;display:flex;align-items:center}
.tiem button.match span{font-size:10.5px;font-weight:600;background:rgba(255,255,255,.85);color:#222;border-radius:8px;padding:1px 5px;white-space:nowrap}
.ln .th{position:relative;display:block;width:48px;height:34px}
.ln .th .tchip{position:absolute;right:-4px;bottom:-4px;width:16px;height:16px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px rgba(0,0,0,.25)}
.payload{font-size:11px;background:#f6f3ef;border:1px solid var(--brand-line);border-radius:6px;padding:8px;max-height:320px;overflow:auto;white-space:pre-wrap}
.grid>.card,.opts>.opt,.tie,.tiem{min-width:0;max-width:100%}
.tiem{scroll-behavior:auto;mask-image:linear-gradient(90deg,#000 88%,transparent);-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent)}
/* center-tie tabs (Solid / Specialty upcharge) + photo tie band overlay */
.ttabs{display:flex;gap:4px;margin:4px 0 2px}
.ttabs button{flex:1;border:1px solid var(--brand-line);background:#fff;border-radius:6px;padding:3px 6px;font-size:11.5px;cursor:pointer;white-space:nowrap}
.ttabs button.on{border-color:var(--brand-primary);color:var(--brand-primary);font-weight:700;background:#faf7f4}
.ttabs small{font-weight:400;color:var(--brand-muted);font-size:10px}
.upb{font-size:9.5px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:#8a3b00;background:#ffe3cc;border-radius:5px;padding:0 4px;margin-left:2px}
.upnote{font-size:11px;color:#8a3b00;margin:3px 0}
.tg{display:grid;grid-template-columns:74px 1fr;align-items:center;gap:4px;margin:2px 0}
.tg>span{font-size:10.5px;color:var(--brand-muted)}
.tsw{display:flex;flex-wrap:wrap;gap:5px;padding:2px}
.tsw button{width:24px;height:24px;border-radius:50%;border:1px solid rgba(0,0,0,.2);cursor:pointer;padding:0}
.tsw button.on{outline:2px solid var(--brand-primary);outline-offset:2px}
.ph{position:relative}
.ph .pw>img:not(.tielay){display:block}
.tielay[hidden]{display:none!important}
.ph img.tielay{position:absolute;left:0;top:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:fill;pointer-events:none;border-radius:0;background:none}
.ln .th img.tielay{position:absolute;left:0;top:0;width:48px;height:34px;object-fit:cover;background:none;pointer-events:none}
/* prices */
.price{font-size:13px}.price .tadd{font-size:11.5px;color:var(--brand-muted)}
.poq{font-size:12px;font-style:italic;color:var(--brand-muted)}
.ln .lp{color:var(--brand-text,#222)!important;font-weight:600}.ln .lp.poq{font-weight:400}
.subt{border:1px solid var(--brand-line);border-radius:8px;padding:8px 10px;margin:0 0 8px;background:#fff;text-align:left}
.subt>div{display:flex;justify-content:space-between;gap:8px;align-items:baseline;font-size:12.5px}.subt b{font-size:16px}
.subt small{display:block;font-size:11px;color:var(--brand-muted);margin-top:2px}
.stub .subt{max-width:520px;margin:10px 0}
.ph .pw{position:relative;display:inline-block;line-height:0;max-width:100%}
.ttabs{flex-wrap:wrap;min-width:0}.ttabs button{min-width:0;white-space:normal;line-height:1.25}
.tg{grid-template-columns:minmax(0,74px) minmax(0,1fr)}
@media (max-width:640px){.tg{grid-template-columns:1fr}.tg>span{margin-top:2px}}
.tg,.tg{display:block;margin:3px 0}.tg>span{display:block;margin:0 0 1px}

/* payload preview (no network) */
.qp-open{margin-top:8px}
.qp-panel{max-width:980px}
.qp-safe{background:#fff7d6;border:1px solid #e6c860;padding:8px 10px;border-radius:6px}
.qp-cust{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px 12px;margin:10px 0}
.qp-cust label{display:flex;flex-direction:column;font-size:12.5px;gap:3px}
.qp-cust label.wide{grid-column:1/-1}
.qp-cust input,.qp-cust select,.qp-cust textarea{font:inherit;padding:6px 8px;border:1px solid #ccc;border-radius:5px}
.qp-err{background:#fdecec;border:1px solid #e3a1a1;padding:6px 10px;border-radius:6px;margin:8px 0;font-size:13px}
.qp-ok{background:#e9f7ee;border:1px solid #9fd2b0;padding:6px 10px;border-radius:6px;margin:8px 0;font-size:13px}
.qp-t{width:100%;border-collapse:collapse;font-size:12.5px;margin:6px 0 14px}
.qp-t th,.qp-t td{border:1px solid #ddd;padding:4px 6px;text-align:left;vertical-align:top}
.qp-t pre{margin:0;white-space:pre-wrap;font:12px/1.35 ui-monospace,Menlo,monospace}
.qp-raw{white-space:pre-wrap;word-break:break-all;max-height:260px;overflow:auto}
.qp-off{background:#fff7d6;border:1px solid #e6c860;padding:6px 10px;border-radius:6px;font-size:13px}
/* ---------- equipment picker (all TR quote-form items) ---------- */
.eqtabs{display:flex;gap:6px;overflow-x:auto;padding:4px 0 10px;margin:0 0 6px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.eqt{flex:0 0 auto;border:1.5px solid var(--brand-line);background:var(--brand-surface);color:var(--brand-ink);border-radius:999px;padding:8px 14px;font:600 13px var(--brand-font-body);cursor:pointer;white-space:nowrap}
.eqt.on{background:var(--brand-primary);border-color:var(--brand-primary);color:#fff}
.eqt i{font-style:normal;margin-left:6px;background:var(--brand-accent);color:#fff;border-radius:999px;padding:0 6px;font-size:11px}
.evbox{display:flex;flex-wrap:wrap;gap:8px 18px;background:var(--brand-surface);border:1px solid var(--brand-line);border-radius:var(--brand-radius);padding:10px 14px;margin-bottom:14px;font-size:13px}
.evq{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}
.evl{font-weight:600}.evl em{font-style:normal;color:#a33;font-weight:400;font-size:11px;margin-left:4px}
.evc{display:flex;gap:12px;flex-wrap:wrap}.evc label{display:flex;gap:5px;align-items:center;cursor:pointer}
.evs{align-items:flex-start;cursor:pointer}.evs small{display:block;color:var(--brand-muted);font-size:11.5px}
.tsurf{background:#fff8ec;border:1px solid #ecd9b8;border-radius:10px;padding:10px 12px;margin:0 0 14px}
.tsurf small{flex:1 1 100%;color:var(--brand-muted);font-size:12px}
.tsurf select,.floorc select{font:13px var(--brand-font-body);padding:7px 8px;border:1px solid var(--brand-line);border-radius:8px;background:#fff;max-width:100%}
.eqo,.eqh,.fl,.fins{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:12px}
.eqo button,.eqh button,.fl button{border:1.5px solid var(--brand-line);background:#fff;border-radius:8px;padding:6px 9px;font:600 12px var(--brand-font-body);cursor:pointer;color:var(--brand-ink)}
.eqo button.on,.eqh button.on,.fl button.on,.fins button.on{border-color:var(--brand-primary);background:var(--brand-primary);color:#fff}
.eqo.need-o{outline:2px solid #d33;outline-offset:3px;border-radius:8px}
.eqh span,.fl>span{font-weight:600;margin-right:2px}.eqh small{flex:1 1 100%;color:var(--brand-muted)}
.fins button{display:flex;flex-direction:column;align-items:center;gap:3px;border:1.5px solid var(--brand-line);background:#fff;border-radius:10px;padding:5px;font:600 11.5px var(--brand-font-body);cursor:pointer;width:80px;color:var(--brand-ink)}
.fins button span{width:66px;height:44px;border-radius:6px;border:1px solid rgba(0,0,0,.15)}
.fgrid{grid-template-columns:1fr;margin-bottom:14px}.floorc{gap:10px}
.floor-out{margin:0;font-size:13px}.floor-out small{display:block;color:#8a5a00;font-size:12px;margin-top:3px}
.ln.auto{background:#f6faf3}.ln.auto .why{color:#3d6b2c}.ln .qn{font-weight:700;text-align:center;min-width:40px}
.ln.warn{background:#fff3d6}.ln.warn .link{font-size:12px;padding:0}
.eqnote{margin-top:10px}
@media (max-width:640px){.evbox{flex-direction:column}.fins button{width:calc(25% - 6px)}.fins button span{width:100%}}
.wrap>main,#build,#eqpane{min-width:0}.eqtabs{max-width:100%}
.tstep{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:var(--brand-primary);color:#fff;font:700 12px var(--brand-font-body)}
.tanc .evc label.off{opacity:.45;cursor:not-allowed}.tanc .evc em{font-style:normal;font-size:11px}
/* ---------- phase 5: qty control (− box +), rooms, item pages, specs, fine print ---------- */
.qty{display:inline-flex;align-items:stretch;border:1.5px solid var(--brand-line);border-radius:10px;background:var(--brand-surface);overflow:hidden;min-height:44px}
.qty button{width:44px;min-height:44px;height:auto;border:0;background:#f6f2ed;cursor:pointer;color:var(--brand-primary);font-size:22px;font-weight:600;line-height:1;touch-action:manipulation}
.qty button:active{background:#ebe4dc}
.qty input{width:60px;min-height:44px;height:auto;border:0;border-left:1px solid var(--brand-line);border-right:1px solid var(--brand-line);text-align:center;font-weight:700;font-size:16px;background:#fff;padding:0}
.qty input:focus{outline:2px solid var(--brand-primary);outline-offset:-2px}
.card .row .qty{justify-content:space-between}.card .row .qty input{flex:1}
.ln{grid-template-columns:48px minmax(0,1fr) auto 44px}
.ln .qty.sm{min-height:44px}.ln .qty.sm button{width:44px;font-size:20px}.ln .qty.sm input{width:46px;font-size:15px}
.ln .x{width:44px;height:44px}
@media (max-width:420px){.ln{grid-template-columns:40px minmax(0,1fr) 44px}.ln .qty.sm{grid-column:2/3;justify-self:start}.ln .x{grid-row:1;grid-column:3}.ln img,.ln .ico,.ln .th{width:40px}}
a.eqt{text-decoration:none;display:inline-flex;align-items:center;min-height:44px}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:4px;margin:2px 0 10px;padding:0;font-size:13px;color:var(--brand-muted)}
.crumbs li+li:before{content:"›";margin-right:4px}
.crumbs a{color:var(--brand-primary);display:inline-block;padding:10px 0}
.rh{font-family:var(--brand-font-head);font-size:30px;margin:4px 0 4px;color:var(--brand-primary)}
.rlead{margin:0 0 12px;color:var(--brand-muted)}
.rgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px;margin:12px 0 8px}
.tile{position:relative;display:flex;flex-direction:column;gap:4px;text-decoration:none;color:var(--brand-ink);background:var(--brand-surface);border:1px solid var(--brand-line);border-radius:var(--brand-radius);padding:10px;transition:box-shadow .15s,border-color .15s}
.tile:hover,.tile:focus-visible{border-color:var(--brand-primary);box-shadow:0 4px 14px rgba(0,0,0,.08)}
.tile .tph{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;background:#f1ede8;border-radius:8px;overflow:hidden}
.tile .tph img{width:100%;height:100%;object-fit:contain}
.tile b{font-size:15px;line-height:1.25}
.tile .from{font-size:13.5px;color:var(--brand-primary);font-weight:600}
.tile .inc{position:absolute;top:16px;left:16px;background:var(--brand-accent);color:#fff;border-radius:999px;padding:2px 9px;font-size:11.5px;font-weight:700}
.roomx{margin:6px 0 4px}
.pd{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:28px;align-items:start;margin-top:4px}
.pd-ph{background:#f1ede8;border-radius:var(--brand-radius);aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;overflow:hidden;position:sticky;top:14px}
.pd-ph img{width:100%;height:100%;object-fit:contain}
.pd h1{font-family:var(--brand-font-head);font-size:30px;line-height:1.15;margin:0 0 4px;color:var(--brand-ink)}
.pd-sub{margin:0 0 6px;color:var(--brand-muted);font-size:14px}
.pd-price{margin:6px 0 8px;font-size:22px;color:var(--brand-primary)}.pd-price small{font-size:13px;color:var(--brand-muted);font-weight:400}
.pd-desc{margin:0 0 12px}
.pd .evbox{margin:4px 0 12px}
.buy .pdbuy{padding:14px;gap:10px}
.buy .eqo{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.buy .eqo .evl{flex:1 1 100%;font-weight:600;font-size:13.5px}
.buy .eqo button{min-height:44px;padding:8px 14px}
.buy .eqh button{min-height:44px;min-width:52px}
.pd-live{margin:2px 0;font-size:15px;min-height:22px}
.buy .row{display:flex;align-items:center;gap:12px;flex-wrap:nowrap}.buy .row .evl{font-weight:600;font-size:13.5px}
.buy .row .qty{flex:0 0 auto}
.buy .btn.full,.buy [data-eadd]{width:100%;min-height:48px;font-size:16px}
.buy .tentx{margin-top:12px}.buy .floorc .fl button,.buy .floorc select,.buy .fins button{min-height:44px}
.back{display:inline-block;margin:14px 0 0;padding:10px 0;color:var(--brand-primary);font-weight:600;text-decoration:none}
.specs{margin:26px 0 8px}.specs h2{margin:0 0 8px}
.specs dl{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:0 24px;border-top:1px solid var(--brand-line)}
.specs dl>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px;padding:10px 0;border-bottom:1px solid var(--brand-line)}
.specs dt{font-weight:700;font-size:13px;color:var(--brand-muted);text-transform:uppercase;letter-spacing:.04em}
.specs dd{margin:0;font-size:14.5px}
.fine{margin:28px 0 6px;color:#7a7470;font-size:12px;line-height:1.5;border-top:1px solid var(--brand-line);padding-top:8px}
.fine summary{cursor:pointer;font-weight:600;color:#6b6560;min-height:44px;display:flex;align-items:center;list-style:none}
.fine summary::-webkit-details-marker{display:none}.fine summary:after{content:"+";margin-left:8px;font-size:16px}.fine[open] summary:after{content:"–"}
.fine p{margin:0 0 6px}.fine a{color:inherit}
@media (min-width:768px){.fine summary{pointer-events:none;min-height:0;margin-bottom:6px}.fine summary:after{content:none}}
@media (max-width:900px){.pd{grid-template-columns:1fr;gap:14px}.pd-ph{position:static}.specs dl{grid-template-columns:1fr}.rh{font-size:24px}.pd h1{font-size:25px}}
@media (max-width:640px){.rgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tile{padding:8px}.tile b{font-size:14px}.tile .inc{top:12px;left:12px}
  .specs dl>div{grid-template-columns:118px minmax(0,1fr)}}

/* phase 5 polish */
.crumbs ol{align-items:center}
.evbox .evs{display:flex;gap:10px;align-items:flex-start;cursor:pointer;min-height:44px}
.evbox .evs input{width:20px;height:20px;margin:2px 0 0;flex:0 0 auto}
.evbox .evs small{display:block;color:var(--brand-muted)}
.evbox .evc label{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-right:14px;cursor:pointer}
.evbox .evc input{width:20px;height:20px;margin:0}
.evbox .evs{flex-wrap:nowrap}.evbox .evs>span{flex:1 1 auto;min-width:0}

/* phase 6: no-post items (no TR code yet) show Call to reserve instead of Add */
.eqc .callres{display:block;text-align:center;text-decoration:none;margin-top:8px}
.eqc .codeconf{margin-top:6px}
/* ---------- phase 8: Continue to checkout + /quote-cart/checkout/ ---------- */
.btn.cta{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:52px;font-size:16px;text-decoration:none;text-align:center}
.btn.cta small{font-weight:500;font-size:12.5px;opacity:.9}
@media (max-width:900px){
  .mbar{padding:8px 10px calc(8px + env(safe-area-inset-bottom));gap:8px}
  .mbar .msum{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;background:transparent;color:#fff;border:0;padding:4px 6px;min-height:44px;font-weight:700;text-align:left;flex:0 1 auto;min-width:0}
  .mbar .msum b{font-size:14px}.mbar .msum small{font-size:12px;font-weight:500;opacity:.92;white-space:nowrap}
  .mbar .mco{background:#fff;color:var(--brand-primary);border:0;border-radius:8px;padding:0 12px;min-height:44px;display:inline-flex;align-items:center;font-weight:800;font-size:14px;text-decoration:none;white-space:nowrap;flex:0 0 auto}
}
#checkout{min-width:0}
.co-steps ol{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.co-steps li{display:flex;align-items:center}
.co-steps li+li:before{content:"→";color:var(--brand-muted);margin:0 6px 0 0}
.co-steps a,.co-steps button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 10px;border-radius:999px;border:1px solid var(--brand-line);background:#fff;color:var(--brand-ink);text-decoration:none;font:600 14px var(--brand-font-body);cursor:pointer}
.co-steps i{font-style:normal;display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--brand-surface);font-size:12.5px}
.co-steps .on a{background:var(--brand-primary);border-color:var(--brand-primary);color:#fff}.co-steps .on i{background:#fff;color:var(--brand-primary)}
.co-steps .done i{background:var(--brand-primary);color:#fff}
.co-steps .co-final button{border-style:dashed}
.co-top{margin:0 0 6px}
.co-keep{display:inline-flex;align-items:center;min-height:44px;font-weight:700;color:var(--brand-primary);text-decoration:underline;text-underline-offset:3px}
.co-h{font:700 22px var(--brand-font-head);margin:4px 0 12px}.co-h small{font:500 14px var(--brand-font-body);color:var(--brand-muted);margin-left:6px}
.co-g{background:#fff;border:1px solid var(--brand-line);border-radius:var(--brand-radius);padding:4px 14px;margin:0 0 14px}
.co-g h3{font:700 17px var(--brand-font-head);margin:10px 0 2px}
.co-ln{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;padding:12px 0;border-top:1px solid var(--brand-line)}
.co-g h3+.co-ln{border-top:0}
.co-ln.child{margin-left:28px;grid-template-columns:48px minmax(0,1fr);background:var(--brand-surface);border-radius:8px;padding:10px;border-top:0;margin-bottom:6px}
.co-th img,.co-th .ico{width:100%;aspect-ratio:1;object-fit:contain;border-radius:8px;background:var(--brand-surface);display:grid;place-items:center;font-size:10px}
.co-b{min-width:0;display:flex;flex-direction:column;gap:3px}.co-t{font-size:15.5px}
.co-b small{color:var(--brand-muted);font-size:13px}
.co-act{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:center;margin-top:4px}
.co-act .link{min-height:44px;display:inline-flex;align-items:center;padding:0 4px;font-size:14px}
.co-ro{font-size:13.5px;font-weight:600;color:var(--brand-muted);min-height:44px;display:inline-flex;align-items:center}
.co-badge{display:inline-block;background:var(--brand-primary);color:#fff;border-radius:4px;padding:0 5px;font-size:11px;font-weight:800;letter-spacing:.05em;margin-right:4px}
.rmnote{margin:4px 0 0;padding:6px 9px;border-left:3px solid var(--brand-primary);background:#fbf9f6;font-size:13px;white-space:pre-line;border-radius:0 6px 6px 0}
.rmnote .rml{font-weight:700}
.co-meta{font-size:13.5px;margin:2px 0 10px}.co-meta.warn{color:#8a4b00}.co-meta .link{min-height:44px}
.co-foot{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;margin:16px 0 8px}
.co-foot .btn{min-height:48px;font-size:16px}
.co-form{background:#fff;border:1px solid var(--brand-line);border-radius:var(--brand-radius);padding:14px;display:flex;flex-direction:column;gap:12px;max-width:640px}
.co-in{display:flex;flex-direction:column;gap:4px;font-weight:600;font-size:14px;border:0;padding:0;margin:0;min-width:0}
.co-in input,.co-in textarea{font:16px var(--brand-font-body);min-height:44px;padding:8px 10px;border:1px solid var(--brand-line);border-radius:8px;width:100%;box-sizing:border-box}
.co-in.bad input,.co-in.bad textarea{border-color:#b3261e;box-shadow:0 0 0 2px rgba(179,38,30,.15)}.co-in.bad legend,.co-in.bad>span{color:#b3261e}
.co-rad legend{font-weight:600;margin-bottom:4px}.co-rad legend em{font-weight:500;color:var(--brand-muted);font-size:12.5px}
.co-rad label{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-right:18px;font-weight:500;cursor:pointer}
.co-rad input,.co-chk input{width:22px;height:22px;margin:0;flex:0 0 auto}
.co-chk{display:flex;gap:10px;align-items:flex-start;min-height:44px;cursor:pointer;font-size:14px}.co-chk small{display:block;color:var(--brand-muted)}
.co-2{display:grid;grid-template-columns:2fr 1fr;gap:10px}
.co-errs{max-width:640px;margin-bottom:12px}
.co-sum{padding:12px 16px 16px;display:flex;flex-direction:column;gap:8px}
.co-tot{display:flex;justify-content:space-between;align-items:baseline;font-size:15px}.co-tot b{font-size:22px}
.co-poq{color:var(--brand-muted)}
.co-est{font-size:13px;margin:0;background:var(--brand-surface);border-radius:8px;padding:8px 10px}
.co-sum .btn{min-height:48px}.co-term{font-size:12px;color:var(--brand-muted);margin:0}
.co-empty{background:#fff;border:1px solid var(--brand-line);border-radius:var(--brand-radius);padding:18px}.co-empty h2{margin:0 0 6px;font:700 22px var(--brand-font-head)}
.co-empty .rgrid{margin-top:12px}
body[data-page=checkout] .hero{display:none}
@media (max-width:900px){
  body[data-page=checkout] .side{position:static;display:block;border-radius:var(--brand-radius);max-height:none;z-index:auto}
  .co-steps span{display:none}.co-steps .on span,.co-steps .co-final span{display:inline}
  .co-steps a,.co-steps button{padding:0 8px;font-size:13px}
  .co-ln.child{margin-left:12px}
}
@media (max-width:420px){.co-ln{grid-template-columns:56px minmax(0,1fr);gap:10px}.co-2{grid-template-columns:1fr}.co-foot .btn{width:100%}}
.co-meta .link,.co-act a.link{display:inline-flex;align-items:center;min-height:44px;vertical-align:middle}
.co-th .ico{display:grid!important;place-items:center;width:100%;height:auto;aspect-ratio:1;background:var(--brand-surface);border:1px solid var(--brand-line);border-radius:8px;font-weight:700;font-size:10px;color:var(--brand-muted);letter-spacing:.05em}
.co-ln.auto .co-th .ico{background:var(--brand-primary);color:#fff;border-color:var(--brand-primary)}
@media (max-width:900px){.co-steps ol{gap:4px;flex-wrap:nowrap}.co-steps li+li:before{content:none}.co-steps a,.co-steps button{padding:0 9px;gap:6px;white-space:nowrap}.co-steps a{min-width:44px;justify-content:center}}
@media (max-width:360px){.co-steps .on span{display:none}}
.co-noph{display:grid;place-items:center;width:100%;height:100%;font:700 15px var(--brand-font-head);color:var(--brand-muted);letter-spacing:.06em;text-transform:uppercase}
.evbox[hidden],[hidden]{display:none!important}
/* desktop order panel (300px sidebar): stack the stepper under the name so names don't wrap one word per line */
@media (min-width:901px){.side .ln{grid-template-columns:40px minmax(0,1fr) 44px}.side .ln .qty.sm{grid-column:2/3;justify-self:start}.side .ln .x{grid-row:1;grid-column:3}
  .side .ln img,.side .ln .ico,.side .ln .th{width:40px}.side .ln .addl{grid-column:2/4}.side .ln.auto .qn{grid-column:3}}
/* ---- 2026-10-25 preview: deep links, own-table linens, bare tables, notes, checkout Cart -> Details -> Preview -> Submit ---- */
.card.hl,.floorc.hl{outline:3px solid var(--brand-primary);outline-offset:2px;box-shadow:0 0 0 6px rgba(0,0,0,.04)}
.ownpick,.barepick{display:flex;gap:8px;align-items:flex-start;font-size:12.5px;cursor:pointer;margin-top:4px;line-height:1.3}
.ownpick input,.barepick input{position:absolute;opacity:0;width:1px;height:1px}
.ownbox{flex:0 0 18px;width:18px;height:18px;border:1.5px solid var(--brand-primary);border-radius:4px;background:#fff;display:grid;place-items:center;margin-top:1px}
.ownpick input:checked+.ownbox,.barepick input:checked+.ownbox{background:var(--brand-primary)}
.ownpick input:checked+.ownbox:after,.barepick input:checked+.ownbox:after{content:"✓";color:#fff;font-size:12px;font-weight:700}
.ownpick input:focus-visible+.ownbox,.barepick input:focus-visible+.ownbox{outline:2px solid var(--brand-primary);outline-offset:2px}
.ownpick small,.barepick small{color:var(--brand-muted)}
.co-lnote{display:flex;flex-direction:column;gap:3px;margin-top:8px;font-size:12.5px;font-weight:600}
.co-lnote small{font-weight:400;color:var(--brand-muted)}
.co-lnote input{font:15px var(--brand-font-body);min-height:40px;padding:6px 10px;border:1px solid var(--brand-line);border-radius:8px;width:100%;box-sizing:border-box}
.co-in select,.eqsel select{font:16px var(--brand-font-body);min-height:44px;padding:8px 10px;border:1px solid var(--brand-line);border-radius:8px;width:100%;box-sizing:border-box;background:#fff}
.eqsel{display:block}.eqsel label{display:flex;flex-direction:column;gap:4px;font-weight:600;width:100%}
.co-hint{font-weight:400;color:var(--brand-muted);font-size:12px}
.co-sub{margin-top:18px}
.co-form{display:flex;flex-direction:column;gap:12px;max-width:640px}
.co-2:has(input[type=time]){grid-template-columns:1fr 1fr}
.co-go{position:fixed;right:24px;bottom:24px;z-index:38;min-height:52px;font-size:16px;padding:12px 22px;box-shadow:0 6px 20px rgba(0,0,0,.22);border-radius:999px}
@media (max-width:900px){.co-go{display:none}}
.co-keep{font-weight:600;color:var(--brand-primary);font-size:14px}
.co-top{margin:0 0 8px}
.co-back{font-size:14px}
.co-warn{color:#b3261e;font-weight:600}
.co-badge.tbd{background:#b3261e}
.co-pt-w{overflow-x:auto}
.co-pt{width:100%;border-collapse:collapse;font-size:14px;margin:8px 0 14px}
.co-pt th,.co-pt td{text-align:left;padding:8px 6px;border-bottom:1px solid var(--brand-line);vertical-align:top}
.co-pt th:nth-child(n+3),.co-pt td:nth-child(n+3){text-align:right;white-space:nowrap}
.co-pt td small{display:block;color:var(--brand-muted);font-size:12px}
.co-pt tr.auto td,.co-pt tr.incl td{background:#faf7f4}.co-pt tr.dl td{font-style:italic}
.co-pt tfoot td{font-weight:600;border-bottom:0}
.co-pv{display:grid;grid-template-columns:1fr 1fr;gap:14px}.co-pv p{margin:0;font-size:14px}
@media (max-width:600px){.co-pv{grid-template-columns:1fr}}
.co-notes{white-space:pre-wrap;font-size:12.5px;background:#f6f3ef;border:1px solid var(--brand-line);border-radius:8px;padding:10px;max-height:420px;overflow:auto}
.co-staff{margin:10px 0;font-size:13px}.co-staff summary{cursor:pointer;font-weight:600}
.co-staff pre{white-space:pre-wrap;margin:0;font-size:11.5px}
.co-submit[disabled]{opacity:.55;cursor:not-allowed}
.co-sent{margin-bottom:10px}
.keepbar{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:10px 0 0;font-size:14px;font-weight:600}
.keepbar a{color:var(--brand-primary);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.keepbar a:hover{text-decoration:underline}
.pd-added{background:#eef6ee;border:1px solid #9cc79c;border-radius:8px;padding:10px 12px;font-size:14px;margin:10px 0}
.sterno{border-top:1px dashed var(--brand-line);padding-top:8px;margin-top:6px;display:flex;flex-direction:column;gap:6px}
.sterno .evl small{display:block;font-weight:400;color:var(--brand-muted)}
.sterno .row{display:flex;gap:8px;align-items:center}
/* linen flow 2026-10-25: cheat-sheet line, color sheet, own-table calculator, Add linens on table pages */
.fitl{font-size:12.5px;line-height:1.4;color:var(--brand-muted);margin:4px 0 2px}
.ownlink{margin:4px 0 14px;font-size:15px}.ownlink a{font-weight:600;color:var(--brand-primary,#5C4B40)}
.lsheet .panel{max-width:620px;position:relative}
.lsh-x{position:absolute;top:10px;right:12px;width:44px;height:44px;border:0;background:transparent;font-size:26px;cursor:pointer}
.lsh-note{background:#F7F2ED;border-radius:8px;padding:8px 10px;font-size:13.5px}
.lsh-row{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;margin:8px 0 12px}
.lsh-row input[type=number]{width:90px;min-height:40px;padding:6px 8px;margin-left:6px;border:1px solid var(--brand-line);border-radius:8px;font-size:15px}
.lsh-sw{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:10px}
.lsh-sw button{display:flex;flex-direction:column;align-items:center;gap:5px;padding:6px 4px 8px;border:1px solid var(--brand-line);border-radius:10px;background:#fff;font-size:12.5px;cursor:pointer;min-height:44px}
.lsh-sw button:hover,.lsh-sw button:focus-visible{border-color:#5C4B40;box-shadow:0 0 0 2px #E3D8CE}
.lsh-sw i{display:block;width:100%;aspect-ratio:1.4;border-radius:7px;border:1px solid rgba(0,0,0,.08)}
.lcalc{border:1px solid var(--brand-line);border-radius:12px;background:#fff;margin:0 0 18px;padding:0}
.lcalc>summary{cursor:pointer;padding:14px 16px;font-weight:700;font-size:16px;min-height:44px}
.lcalc>summary small{font-weight:500;color:var(--brand-muted);margin-left:6px}
.lc-body{padding:0 16px 16px}
.lc-shape{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.lc-shape label{display:block;cursor:pointer}.lc-shape input{position:absolute;opacity:0}
.lc-shape span{display:flex;flex-direction:column;gap:4px;height:100%;padding:10px 12px;border:2px solid var(--brand-line);border-radius:10px}
.lc-shape input:checked+span{border-color:#5C4B40;background:#F7F2ED}.lc-shape input:focus-visible+span{outline:2px solid #5C4B40}
.lc-shape svg{width:80px;height:50px;fill:none;stroke:#927967;stroke-width:2}.lc-shape small{font-size:12.5px;color:var(--brand-muted)}
.lc-tip{font-size:13px;color:var(--brand-muted);margin:8px 0}
.lc-in{display:flex;flex-wrap:wrap;gap:10px;margin:6px 0 10px}.lc-in label{display:grid;gap:3px;font-size:13px;font-weight:600}
.lc-in input{width:120px;min-height:44px;padding:6px 10px;border:1px solid var(--brand-line);border-radius:8px;font-size:16px}
.lc-err{color:#9b1c1c;font-size:13.5px;margin:6px 0}
.lc-for{font-weight:600;margin:8px 0}
.lc-res{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.lc-r{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;border:1px solid var(--brand-line);border-radius:10px;padding:10px 12px}
.lc-r>div:first-child{display:flex;flex-direction:column;gap:2px}.lc-r small{color:var(--brand-muted);font-size:12.5px}
.lc-r.r0,.lc-r.r1{border-color:#5C4B40;background:#FBF8F5}.lc-r.r4,.lc-r.r5{opacity:.75}
.lc-lab{font-weight:600;font-size:14px}.lc-pick{display:inline-block;align-self:flex-start;padding:1px 8px;border-radius:20px;background:#5C4B40;color:#fff;font-size:11.5px;font-weight:600}
.lc-act{display:flex;align-items:center;gap:8px}.lc-act input{width:70px;min-height:40px;padding:4px 8px;border:1px solid var(--brand-line);border-radius:8px}
.addlin{margin-top:16px;padding:14px;border:1px solid var(--brand-line);border-radius:12px;background:#FBF8F5;display:grid;gap:8px}
.addlin h3{margin:0;font-size:17px}.addlin label{display:grid;gap:4px;font-size:13.5px;font-weight:600}
.addlin select,.addlin input{min-height:44px;padding:6px 10px;border:1px solid var(--brand-line);border-radius:8px;font-size:15px;background:#fff}
.addlin .ownlink{margin:2px 0 0}
@media(max-width:600px){.lc-shape{grid-template-columns:1fr}.lsh-sw{grid-template-columns:repeat(3,minmax(0,1fr))}.lsheet .panel{max-height:88vh;padding:18px 14px}.lc-act{width:100%;justify-content:space-between}}
/* room quick view pop-up (2026-10-27): tiles open the product in a dialog; full-screen sheet on phones */
.modal.qv{z-index:45}
html.qv-lock,html.qv-lock body{overflow:hidden}
.qv .qvp{position:relative;max-width:980px;padding:26px 26px 18px}
.qv .qvx{position:absolute;top:10px;right:10px;width:44px;height:44px;border:0;border-radius:999px;background:#f1ede8;color:var(--brand-ink);font-size:24px;line-height:1;cursor:pointer;z-index:2}
.qv .qvx:hover,.qv .qvx:focus-visible{background:var(--brand-line)}
.qv .pd{margin-top:0}
.qv .pd-ph{position:static}
.qv .qvh{font-family:var(--brand-font-head);font-size:26px;line-height:1.15;margin:0 48px 4px 0;color:var(--brand-ink)}
.qv .specs{margin:20px 0 6px}.qv .specs h3{margin:0 0 8px;font-size:17px}
.qv details{margin-top:10px}
.qv .qvfull{margin:14px 0 4px;font-size:14px}
.tile .tadd{margin-top:auto;align-self:flex-start;background:var(--brand-primary);color:#fff;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:700}
.tile .tadd.call{background:#f1ede8;color:var(--brand-ink)}
@media (max-width:640px){.modal.qv{padding:0;align-items:stretch}
  .qv .qvp{max-width:none;max-height:none;height:100%;border-radius:0;padding:18px 14px 28px}
  .qv .qvx{position:fixed;top:10px;right:10px;box-shadow:0 2px 8px rgba(0,0,0,.18)}
  .qv .qvh{font-size:22px}
  .tile .tadd{font-size:12px;padding:5px 10px}}

/* chair use & safety (2026-10-27) */
.csafe{margin-top:6px}
.csafe>summary{display:inline;cursor:pointer;color:#0b5c8a;text-decoration:underline;font-size:.9em;list-style:none}
.csafe>summary::-webkit-details-marker{display:none}
.csafe>summary:focus-visible{outline:2px solid #0b5c8a;outline-offset:2px;border-radius:3px}
.csbox{position:relative;margin-top:8px;padding:12px 40px 12px 14px;border:1px solid #d8d2c4;border-radius:10px;background:#fbf8f1;font-size:.92em;line-height:1.45}
.csbox .cst{margin:0 0 6px;font-weight:600}
.csbox ul{margin:0;padding-left:18px}.csbox li{margin:3px 0}
.csx{display:none;position:absolute;top:6px;right:6px;width:32px;height:32px;border:0;border-radius:50%;background:transparent;font-size:20px;line-height:1;cursor:pointer}
.csx:hover,.csx:focus-visible{background:#ece6d8}
html.csjs .csx{display:block}

/* tables: seats + wood-top lines (2026-10-27) — small meta under name/price on tiles, pop-up and item page */
.tile .tmeta{font-size:12.5px;line-height:1.3;color:var(--brand-muted)}
.tile .tmeta+.tmeta{margin-top:-2px}
.tile .tmeta:last-of-type{margin-bottom:4px}
.pd-meta{margin:-2px 0 10px;display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13.5px;color:var(--brand-muted)}
.rnote{margin:-4px 0 8px;font-size:14px;color:var(--brand-muted)}
@media (max-width:640px){.tile .tmeta{font-size:11.5px}}
.tile .thint{font-style:italic}
/* LowBoy vs high-top comparison (INV17 page + pop-up) */
.lbcmp{margin:0 0 14px;padding:10px 12px;border:1px solid var(--brand-line);border-radius:10px;background:#faf7f3}
.lbcmp figcaption{font-weight:700;font-size:14px;margin:0 0 4px}
.lbcmp .lbsvg{display:block;width:100%;max-width:300px;height:auto;margin:0 auto}
.lbcmp .lbcols{display:grid;grid-template-columns:1fr 1fr;gap:10px;font-size:13px;line-height:1.35}
.lbcmp .lbcols>div{display:flex;flex-direction:column;gap:1px}.lbcmp .lbcols b{font-size:13.5px}
.lbcmp .lbcols a{color:var(--brand-primary);font-weight:600;margin-top:2px}

/* scrollable photo gallery (item pages with a gallery list, e.g. pole swag) + tent questions 2026-10-27 */
.pd-gal{display:block;position:relative}.gal-track{display:flex;height:100%;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
.gal-s{flex:0 0 100%;height:100%;margin:0;scroll-snap-align:center;display:flex;align-items:center;justify-content:center}.gal-s img{width:100%;height:100%;object-fit:contain}
.gal-n{position:absolute;right:8px;bottom:8px;background:rgba(0,0,0,.55);color:#fff;font-size:11px;padding:2px 8px;border-radius:10px}
.tutil{flex-wrap:wrap}.tutil .co-chk{flex:1 1 100%;margin-top:6px}.tutil small{flex:1 1 100%}
.tadd .tadd-r{display:flex;gap:8px;align-items:center;flex-wrap:wrap;flex:1 1 100%}.tadd input{width:64px;padding:7px;border:1px solid var(--brand-line);border-radius:8px}
.co-chk.tutil.bad{outline:2px solid #c0392b;border-radius:8px;padding:6px}
.lctl{flex:1 1 100%;display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center;margin-top:6px}.lctl input{width:70px;padding:7px;border:1px solid var(--brand-line);border-radius:8px}
.lctl small{flex:1 1 100%;font-size:12px}.lctl .lok{color:#2e6b4f}.lctl .lwarn{color:#c0392b;font-weight:600}.lctl [hidden]{display:none}
/* 2026-10-27 all products: quick price list under the room panels, gallery captions, tray style */
.qplist{margin:28px 0 8px;border:1px solid #e3e0da;border-radius:12px;padding:14px 16px;background:#fff}
.qplist h2{font-size:1.15rem;margin:0 0 8px}
.qplist table{width:100%;border-collapse:collapse;font-size:.95rem}
.qplist th,.qplist td{padding:7px 4px;border-top:1px solid #eee;text-align:left;font-weight:400;vertical-align:top}
.qplist td{text-align:right;white-space:nowrap;font-weight:600}
.qplist a{color:inherit}
.qplist .fit{margin:8px 0 0}
.gal-s{position:relative}
.gal-c{position:absolute;left:8px;right:8px;bottom:8px;background:rgba(0,0,0,.62);color:#fff;font-size:.85rem;padding:5px 8px;border-radius:6px}
.eqtray{margin-top:8px}
@media (max-width:520px){.qplist td{white-space:normal}}
/* LINEN POP-UP: bigger blocks (James pt2283u, 2026-10-28). Scoped to #upsell only. Wider/taller panel on desktop,
   cards fill the width (auto-fit: 1 card centered, 2 = halves, 3 = thirds), bigger photo/diagram/text/qty,
   swatches 38px that wrap (no side scroller), selected swatch ringed. Phone: one column, 44px+ tap targets. */
#upsell{padding:3vh 2vw}
#upsell .panel{width:90vw;max-width:1100px;max-height:90vh;max-height:90dvh;overflow-y:auto;overscroll-behavior:contain;padding:26px 30px 0}
#upsell .panel h2{font-size:clamp(22px,2.2vw,30px)}
#upsell .panel .sub{font-size:15.5px;margin:-4px 0 18px}
#upsell .opts{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:18px}
#upsell .opts>.opt:only-child{max-width:600px;width:100%;justify-self:center}
#upsell .opt{padding:16px;gap:10px;border-width:2px}
#upsell .opt .ph{height:clamp(170px,25vh,300px)}
#upsell .opt .ph img{max-height:clamp(170px,25vh,300px)}
#upsell .opt .ph .pw{max-height:100%}
#upsell .opt .dia{padding:8px 10px}
#upsell .opt .dia svg{max-height:clamp(100px,14vh,170px)}
#upsell .opt label{font-size:19px;gap:10px;cursor:pointer}
#upsell .opt label input[type=checkbox]{width:22px;height:22px;flex:none;accent-color:var(--brand-primary)}
#upsell .opt .fit{font-size:16.5px}
#upsell .opt .price{font-size:17px}
#upsell .mini{flex-wrap:wrap;overflow:visible;gap:9px;padding:6px 4px;mask-image:none;-webkit-mask-image:none}
#upsell .mini button{width:38px;height:38px;border:1px solid rgba(0,0,0,.25)}
#upsell .mini button:hover{transform:scale(1.08)}
#upsell .mini button.on{outline:none;box-shadow:0 0 0 3px #fff,0 0 0 6px var(--brand-primary)}
#upsell .tiem button{width:34px;height:34px}
#upsell .tiem button.match{width:auto;height:34px;border-radius:17px;padding:0 12px}
#upsell .tiem button.match span{font-size:13px}
#upsell .tie .tl{font-size:14px}
#upsell .opt .row{display:flex;align-items:center;gap:12px;font-size:17px;margin-top:auto}
#upsell .qty{min-height:52px}
#upsell .qty button{width:54px;min-height:52px;font-size:26px}
#upsell .qty input{width:72px;min-height:52px;font-size:19px}
#upsell .panel .acts{padding:14px 0 18px;margin-top:20px}
#upsell .panel .acts .btn{font-size:16.5px;padding:13px 24px;min-height:48px}
@media (max-width:640px){
  #upsell{padding:8px;align-items:center}
  #upsell .panel{width:100%;max-width:none;max-height:calc(100dvh - 16px);padding:18px 14px 0;border-radius:12px}
  #upsell .panel h2{font-size:21px}
  #upsell .panel .sub{font-size:14.5px}
  #upsell .opts{grid-template-columns:1fr;gap:14px}
  #upsell .opts>.opt:only-child{max-width:none}
  #upsell .opt{padding:12px}
  #upsell .opt .ph,#upsell .opt .ph img{height:auto;max-height:240px}
  #upsell .opt .ph{min-height:180px}
  #upsell .mini{gap:10px}
  #upsell .mini button{width:42px;height:42px}
  #upsell .tiem button{width:40px;height:40px}#upsell .tiem button.match{height:40px}
  #upsell .opt .row .qty{flex:1;justify-content:space-between}#upsell .opt .row .qty input{flex:1}
  #upsell .panel .acts{gap:10px}#upsell .panel .acts .btn{flex:1}
}
/* ---------- floating color bar + recolor / rent-tables dialogs (20261028c) ---------- */
.cbar{position:fixed;top:0;left:0;right:0;z-index:30;display:flex;align-items:center;gap:12px;padding:8px 14px;background:rgba(255,255,255,.97);
 border:1px solid var(--brand-line);border-top:0;border-radius:0 0 12px 12px;box-shadow:0 6px 18px rgba(0,0,0,.12);transform:translateY(-110%);
 transition:transform .18s ease;visibility:hidden;backdrop-filter:blur(6px)}
.cbar.show{transform:none;visibility:visible}
.cb-cur{display:flex;align-items:center;gap:8px;flex:none;min-width:120px;max-width:180px}
.cb-cur i{width:34px;height:34px;border-radius:50%;border:2px solid var(--brand-primary);flex:none}
.cb-cur span{display:grid;line-height:1.15;min-width:0}.cb-cur small{font-size:11px;color:var(--brand-muted);text-transform:uppercase;letter-spacing:.06em}
.cb-cur b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cb-row{flex:1 1 auto;min-width:0;display:flex;gap:6px;overflow-x:auto;mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 14px),transparent);padding-inline:10px!important;scroll-behavior:smooth;padding:3px 2px;scrollbar-width:thin}
.cb-row button{flex:none;width:32px;height:32px;padding:0;border-radius:50%;border:0;background:none;cursor:pointer;position:relative}
.cb-row button i{display:block;width:30px;height:30px;margin:1px;border-radius:50%;border:1px solid rgba(0,0,0,.2)}
.cb-row button span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.cb-row button.on i{outline:2px solid var(--brand-primary);outline-offset:2px}
.cb-row em{font-size:13px;color:var(--brand-muted);align-self:center}
.cb-search{flex:none;width:150px;min-height:36px;padding:4px 10px;border:1px solid var(--brand-line);border-radius:8px;font-size:14px}
.cb-order{flex:none;white-space:nowrap;padding:0 2px}
@media (max-width:1100px) and (min-width:901px){.cb-search{width:110px}.cb-cur{min-width:0;max-width:130px}}
.cb-sbtn{display:none}
@media (max-width:900px){
 .cbar{gap:8px;padding:6px 10px;border-radius:0 0 10px 10px;flex-wrap:wrap;row-gap:2px}
 .cb-cur{min-width:0;max-width:96px;gap:6px}.cb-cur i{width:28px;height:28px}.cb-cur small{display:none}.cb-cur b{font-size:12.5px}
 .cb-row{flex:1 1 0}.cb-row button{width:30px;height:30px}.cb-row button i{width:28px;height:28px}
 .cb-cur{max-width:84px}.cb-cur b{white-space:normal;line-height:1.1;font-size:12px;max-height:2.2em}
 .cb-sbtn{display:grid;place-items:center;flex:none;width:34px;height:34px;border:1px solid var(--brand-line);border-radius:8px;background:#fff;font-size:15px;cursor:pointer}
 .cb-search{display:none;flex:1 1 0;width:auto;min-width:0;min-height:34px;font-size:16px;padding:2px 8px}
 .cbar.srch .cb-search{display:block;flex:0 0 38%}.cbar.srch .cb-cur{display:none}
 .cb-order{flex:1 1 100%;text-align:left;font-size:12.5px;min-height:24px}
}
.lacts{display:flex;flex-wrap:wrap;gap:2px 12px;margin-top:3px}.lacts .link{font-size:12px;padding:0}
.rentfor{display:block;margin:6px 0 2px;padding:0;font-size:12.5px;text-align:left}
.rentfor[hidden]{display:none}
.sm-modal .panel{max-width:560px;padding:20px 22px 0}
.sm-modal h2{margin:0 0 6px;font-size:20px}.sm-modal .sub{margin:0 0 12px;color:var(--brand-muted);font-size:14px}
.sm-modal .acts{display:flex;gap:10px;justify-content:flex-end}
.sm-modal .acts .btn:disabled{opacity:.5;cursor:not-allowed}
.rc-pick{margin-bottom:10px}.rc-pick b{display:block;margin-bottom:4px}
.rc-mini{flex-wrap:nowrap}.rc-mini button{width:30px;height:30px}
.rc-all{display:flex;gap:8px;align-items:center;font-weight:600;margin:6px 0;font-size:14px}
.rc-list,.rt-list{display:grid;gap:6px;margin-bottom:14px}
.rc-ln,.rt-o{display:flex;gap:10px;align-items:center;border:1px solid var(--brand-line);border-radius:10px;padding:8px 10px;cursor:pointer;font-size:14px}
.rc-ln i{width:22px;height:22px;border-radius:50%;border:1px solid rgba(0,0,0,.2);flex:none}
.rc-ln span,.rt-o span{display:grid}.rc-ln small,.rt-o small{color:var(--brand-muted);font-size:12.5px}
.rc-ln input,.rt-o input,.rc-all input{width:18px;height:18px;flex:none;accent-color:var(--brand-primary)}
.rt-o:has(input:checked){border-color:var(--brand-primary);background:#fbf6f3}
