@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@600;700&display=swap');
/* ==========================================================================
   MS Kala — Getlist shared design layer (replaces liquid-glass.css)
   Loaded LAST on every page, right before nav-links.js, so it wins the cascade
   over each page's own <style> block without touching per-brand markup or data.
   Sections: tokens · top bar · menu · price-list template · detail sheet ·
   your list · forms · Plato landing · motion.
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600;700&display=swap');

:root{
  --ink:#0F1B2A; --ink-2:#1B2A3C;
  --steel:#52606F; --steel-light:#7B8794;
  --bg:#F5F7F9; --panel:#FFFFFF; --line:#E3E8ED; --line-2:#D5DCE3;
  --teal:#0891A6; --teal-deep:#066C7D; --teal-tint:#E6F4F6;
  --brass:#B8862F; --brass-deep:#8F6428; --brass-tint:#FBF3E4;
  --good:#1E8F5B; --danger:#B4433B;
  --radius-sm:10px; --radius:14px; --radius-lg:20px;
  --shadow-sm:0 1px 2px rgba(15,27,42,.05);
  --shadow-md:0 10px 28px rgba(15,27,42,.10);
  --sans:'Plus Jakarta Sans','Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  --mono:'JetBrains Mono','IBM Plex Mono','SFMono-Regular',Consolas,monospace;
  --bar-h:58px;
}
html{background:var(--bg);}
body{font-family:var(--sans); color:var(--ink); background:var(--bg); -webkit-font-smoothing:antialiased;}
::selection{background:rgba(8,145,166,.18);}
:focus-visible{outline:2px solid var(--teal); outline-offset:2px;}
html.nm-lock, html.nm-lock body{overflow:hidden;}

/* Old decorative layers, now retired */
.bgwater, .topglow, .search-water, .sw-bubble, .tap-wavepool, .rain-layer, .lg-edgeglow,
.sheet-ocean, .gnav-ripple-ring, .brandstrip, .strip{display:none !important;}

/* ==========================================================================
   Top bar
   ========================================================================== */
.gnav{
  position:sticky; top:0; z-index:40; margin:0; border-radius:0; overflow:visible;
  height:var(--bar-h); display:flex; align-items:center; gap:10px;
  padding:0 max(16px, calc((100% - 1180px) / 2));
  background:var(--ink); border:0; border-bottom:1px solid rgba(255,255,255,.07);
  box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none;
}
.gnav::before, .gnav::after, .gnav-logo::after, .gnav-menubtn::after{display:none !important; content:none;}
.gnav-back{
  flex:none; width:38px; height:38px; border-radius:50%; display:grid; place-items:center; cursor:pointer;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.12); color:#fff; padding:0;
  transition:background .15s;
}
.gnav-back:hover{background:rgba(255,255,255,.14);}
.gnav-back svg{width:18px; height:18px;}
.gnav-logo{display:flex; align-items:center; gap:10px; text-decoration:none; min-width:0; margin-right:auto;}
.gnav-logo img{height:30px; width:auto; border-radius:6px; flex:none;}
.gnav-logo span{
  display:flex; flex-direction:column; line-height:1.15; color:#fff; white-space:nowrap;
  font-family:var(--sans); font-size:14px; font-weight:700; letter-spacing:0; text-transform:none;
}
.gnav-logo span small{font-size:11.5px; font-weight:500; color:rgba(255,255,255,.6);}
.gnav-brand{
  flex:none; height:34px; display:flex; align-items:center; justify-content:center;
  background:#fff; border-radius:9px; padding:0 12px; max-width:150px;
}
.gnav-brand img{height:18px; width:auto; max-width:120px; object-fit:contain; display:block;}
.gnav-brand span{font-family:var(--sans) !important; font-weight:800 !important; font-size:12px !important; color:var(--ink) !important; letter-spacing:.03em;}
.gnav-menubtn{
  flex:none; display:flex; align-items:center; gap:8px; height:38px; padding:0 14px 0 12px; cursor:pointer;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16); border-radius:999px; color:#fff;
  font:600 13.5px var(--sans); box-shadow:none; transform:none; transition:background .15s;
}
.gnav-menubtn:hover{background:rgba(255,255,255,.15);}
.gnav-menubtn:active{transform:none; box-shadow:none;}
.gnav-menubtn svg{width:18px; height:18px; transform:none !important;}
@media (max-width:520px){
  .gnav{gap:8px; padding:0 12px;}
  .gnav-logo span small{display:none;}
  html.ms-nav-ready .gnav-back ~ .gnav-logo span{display:none;}
  .gnav-brand{max-width:110px; padding:0 10px;}
  .gnav-menubtn{padding:0 12px;}
}
@media (max-width:360px){ .gnav-menubtn span{display:none;} .gnav-menubtn{padding:0 10px;} }

/* ==========================================================================
   Brand switcher (built by nav-links.js): drop-down panel, bottom sheet on phones
   ========================================================================== */
.sw-stage{position:fixed; inset:0; z-index:1000;}
.sw-stage[hidden]{display:none;}
.sw-scrim{position:absolute; inset:0; background:rgba(10,16,26,.35); opacity:0; transition:opacity .18s ease;}
.sw-panel{
  position:absolute; top:calc(var(--bar-h) + 8px); right:max(16px, calc((100% - 1180px) / 2));
  width:400px; max-height:calc(100vh - var(--bar-h) - 24px); overflow:auto; outline:none;
  background:#fff; border-radius:16px; border:1px solid var(--line);
  box-shadow:0 24px 60px rgba(10,16,26,.28); padding:12px;
  opacity:0; transform:translateY(-6px) scale(.98); transform-origin:top right; transition:opacity .16s ease, transform .18s ease;
}
.sw-stage.open .sw-scrim{opacity:1;}
.sw-stage.open .sw-panel{opacity:1; transform:none;}
.sw-grab{display:none;}
.sw-top{display:flex; align-items:center; gap:8px;}
.sw-search{flex:1; position:relative; display:block;}
.sw-search svg{position:absolute; left:12px; top:50%; transform:translateY(-50%); width:17px; height:17px; color:var(--steel-light); pointer-events:none;}
.sw-search input{width:100%; height:40px; padding:0 12px 0 38px; border-radius:10px; border:1px solid var(--line-2); background:var(--bg) !important;
  font:500 14.5px var(--sans); color:var(--ink); outline:none; -webkit-appearance:none; appearance:none; box-shadow:none !important;}
.sw-search input:focus{border-color:var(--teal); background:#fff !important; box-shadow:0 0 0 3px rgba(8,145,166,.15) !important;}
.sw-close{flex:none; width:40px; height:40px; border-radius:10px; border:0; background:var(--bg); color:var(--ink); display:grid; place-items:center; cursor:pointer; padding:0;}
.sw-close:hover{background:var(--line);}
.sw-close svg{width:16px; height:16px;}
.sw-tabs{display:flex; gap:4px; background:var(--bg); padding:4px; border-radius:11px; margin:10px 0;}
.sw-tabs[hidden]{display:none;}
.sw-tabs button{flex:1; height:34px; border:0; border-radius:8px; background:transparent; color:var(--steel); font:600 13px var(--sans); cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center; gap:6px; box-shadow:none;}
.sw-tabs button svg{width:13px; height:13px;}
.sw-tabs button[aria-selected="true"]{background:#fff; color:var(--ink); box-shadow:var(--shadow-sm);}
.sw-tabs button[data-tab="dealer"][aria-selected="true"]{color:var(--brass-deep);}
.sw-grid{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:8px;}
.sw-grid[hidden], .sw-empty[hidden], .sw-note[hidden]{display:none;}
.sw-results{margin-top:10px;}
.sw-tile{position:relative; display:flex; flex-direction:column; align-items:center; gap:6px; padding:12px 6px 10px; border-radius:12px;
  border:1px solid var(--line); background:#fff; text-decoration:none; color:var(--ink); transition:border-color .12s, background .12s;}
.sw-tile:hover{border-color:var(--teal); background:#FAFDFD;}
.sw-tile.is-here{border-color:var(--teal); box-shadow:inset 0 0 0 1px var(--teal); background:var(--teal-tint);}
.sw-logo{width:100%; height:30px; display:grid; place-items:center; position:relative;}
.sw-logo img{max-width:82%; max-height:26px; object-fit:contain;}
.sw-logo .sw-initials{display:none;}
.sw-logo.is-fallback img{display:none;}
.sw-logo.is-fallback .sw-initials{display:grid; place-items:center; width:30px; height:30px; border-radius:8px; color:#fff; font-size:12px; font-weight:800;}
.sw-name{font-size:12.5px; font-weight:600; line-height:1.2; display:inline-flex; align-items:center; gap:3px;}
.sw-name em{font-style:normal; font-weight:800; color:var(--brass);}
.sw-here{position:absolute; top:5px; right:5px; font-size:9.5px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; color:#fff; background:var(--teal); padding:1px 6px; border-radius:999px;}
.sw-empty{padding:28px 8px; text-align:center; color:var(--steel); font-size:14px;}
.sw-note{display:flex; align-items:center; gap:6px; margin-top:10px; padding:0 4px; font-size:12px; color:var(--steel-light);}
.sw-note svg{width:12px; height:12px;}
.sw-home{display:flex; align-items:center; gap:10px; margin-top:12px; padding:10px 12px; border-radius:10px; background:var(--ink); color:#fff; text-decoration:none; font-size:13.5px; font-weight:600;}
.sw-home svg{width:17px; height:17px;}
.sw-home small{margin-left:auto; font-size:11px; font-weight:500; color:rgba(255,255,255,.55);}
.sw-home:hover{background:var(--ink-2);}
@media (max-width:520px){
  .sw-scrim{background:rgba(10,16,26,.45);}
  .sw-panel{top:auto; bottom:0; left:0; right:0; width:auto; max-height:85vh; border-radius:20px 20px 0 0; border:0;
    padding:8px 14px calc(14px + env(safe-area-inset-bottom, 0px)); transform:translateY(24px); transform-origin:bottom center;}
  .sw-grab{display:block; width:40px; height:5px; border-radius:3px; background:var(--line-2); margin:2px auto 12px; cursor:pointer;}
  .sw-search input{height:44px; font-size:16px;}
  .sw-close{width:44px; height:44px;}
}

/* ==========================================================================
   Price-list template (all brand pages)
   ========================================================================== */
.wrap{max-width:1180px; padding:8px 20px 110px;}
header.topbar{
  top:var(--bar-h); margin:0 -20px; padding:20px 20px 14px;
  background:rgba(245,247,249,.94); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
}
header.topbar.scrolled{border-color:var(--line); box-shadow:0 6px 18px rgba(15,27,42,.06);}
.titlerow{margin-bottom:16px; align-items:center;}
.titlerow .id{gap:12px;}
.brandmark{display:none !important;}
h1{font-size:26px; font-weight:800; letter-spacing:-.02em; line-height:1.15;}
.sub{font-family:var(--sans); font-size:13.5px; color:var(--steel); margin-top:4px; letter-spacing:0;}
.sub b{color:var(--ink); font-weight:700; background:none !important; padding:0 !important;}

.searchbar{border-radius:14px; overflow:visible;}
.searchbar input{
  height:54px; padding:0 48px 0 48px; border-radius:14px; border:1px solid var(--line-2);
  background:#fff !important; font-family:var(--sans); font-size:16px; font-weight:500; letter-spacing:0;
  box-shadow:var(--shadow-sm);
}
.searchbar input::placeholder{color:var(--steel-light); font-family:var(--sans);}
.searchbar input:focus{border-color:var(--teal); background:#fff !important; box-shadow:0 0 0 4px rgba(8,145,166,.14) !important;}
.searchbar svg.icon{left:17px; width:20px; height:20px; color:var(--steel-light);}
.searchbar input:focus ~ svg.icon, .searchbar:focus-within svg.icon{color:var(--teal-deep);}
.clearbtn{right:9px; width:34px; height:34px; border-radius:50%; background:var(--bg) !important; color:var(--steel);}
.clearbtn:hover{background:var(--line) !important; color:var(--ink);}
.clearbtn svg{width:16px; height:16px;}

.filterrow{gap:12px; margin-top:14px;}
.filterlabel{
  font-family:var(--sans); font-size:12px; font-weight:600; letter-spacing:0; text-transform:none;
  color:var(--steel); margin-bottom:6px;
}
.combo-input{
  height:44px; font-family:var(--sans); font-size:14px; font-weight:500; border:1px solid var(--line-2);
  border-radius:11px; padding:0 34px 0 13px; background:#fff !important; box-shadow:none;
}
.combo-input::placeholder{color:var(--ink); opacity:.75; font-family:var(--sans);}
.combo-input:focus{border-color:var(--teal); box-shadow:0 0 0 3px rgba(8,145,166,.14) !important;}
.combobox .chev{width:16px; height:16px; right:12px; color:var(--steel);}
.combo-list{border-radius:12px; border-color:var(--line); box-shadow:0 16px 36px rgba(15,27,42,.16); padding:6px; max-height:280px;}
.combo-item{font-family:var(--sans); font-size:14px; padding:10px 10px; border-radius:8px;}
.combo-item.selected{color:var(--teal-deep); background:var(--teal-tint);}
.combo-item .cnt{font-size:12px; color:var(--steel-light); font-variant-numeric:tabular-nums;}
.combo-empty{font-family:var(--sans); font-size:13px;}
.filterrow label.filterlabel input[type=checkbox]{accent-color:var(--teal); width:18px !important; height:18px !important;}
.filterrow label.filterlabel{font-size:13.5px; color:var(--ink);}

.status{font-family:var(--sans); font-size:13px; font-weight:600; color:var(--steel); margin-top:14px;}


/* Results */
.results{grid-template-columns:repeat(auto-fill, minmax(330px, 1fr)); gap:14px; margin-top:6px;}
.card{
  border-radius:var(--radius); border:1px solid var(--line); padding:16px; gap:14px;
  box-shadow:var(--shadow-sm); animation:none;
  transition:border-color .15s, box-shadow .2s, transform .2s;
}
.card:hover{border-color:var(--teal); box-shadow:0 12px 28px rgba(15,27,42,.09); transform:translateY(-2px);}
.card:active{transform:translateY(0); box-shadow:var(--shadow-sm);}
.thumb{width:44px; height:44px; border-radius:12px; box-shadow:none !important;}
.thumb svg{width:22px; height:22px; filter:none;}
.code{font-family:var(--mono); font-size:14px; font-weight:600; letter-spacing:0;}
.code mark, .desc mark{background:#FFF0C7; color:inherit; border-radius:3px; padding:0 1px;}
.brandtag, .verified-badge, .discontinued-badge{
  font-family:var(--sans); font-size:11px; font-weight:700; letter-spacing:.02em; padding:3px 8px; border-radius:999px;
}
.brandtag{background:var(--teal-tint); color:var(--teal-deep);}
.desc{font-size:13.5px; line-height:1.45; color:var(--steel); margin-bottom:12px;}
.prices{border-top:1px solid var(--line); padding-top:12px; gap:8px 14px;}
.price-label{font-family:var(--sans); font-size:11.5px; font-weight:600; letter-spacing:.02em; text-transform:none; color:var(--steel-light); margin-bottom:2px;}
.price-val{font-size:17px; font-weight:800; letter-spacing:-.01em; font-variant-numeric:tabular-nums;}
.price-val.mrp{color:var(--brass-deep);}
.price-val.gst{color:var(--teal-deep);}
.addbtn, .imgbtn, .fullbtn{
  width:34px; height:34px; border-radius:10px; border:1px solid var(--line-2); background:#fff !important;
  color:var(--steel); box-shadow:none !important;
}
.addbtn svg, .imgbtn svg, .fullbtn svg{width:16px; height:16px;}
.addbtn:hover, .imgbtn:hover, .fullbtn:hover{border-color:var(--teal); color:var(--teal-deep); background:var(--teal-tint) !important; transform:none;}
.addbtn.added{background:var(--good) !important; border-color:var(--good); color:#fff;}
.qstepper{height:34px; border-radius:10px;}
.qstepper .qbtn{width:28px; font-family:var(--sans);}
.qstepper .qval{font-family:var(--sans); font-size:13px;}
.card.discontinued{background:#FDF2F2; border-color:#F3C6C6;}

.empty, .hint{padding:64px 20px;}
.empty svg, .hint svg{width:40px; height:40px; color:var(--line-2);}
.empty .t{font-size:16px; font-weight:700;}
.empty .s{font-size:14px;}
.hint .t{font-family:var(--sans); font-size:15px; font-weight:600; letter-spacing:0; text-transform:none; color:var(--steel);}
.more{font-family:var(--sans); font-size:13px; font-weight:600;}
.wrap > footer, body > footer{font-family:var(--sans); font-size:12.5px; color:var(--steel-light); line-height:1.5; margin-top:32px;}

/* ==========================================================================
   Detail sheet + full product view
   ========================================================================== */
.overlay{background:rgba(10,16,26,.5); backdrop-filter:none; -webkit-backdrop-filter:none; z-index:50;}
.sheet{
  max-width:560px; border-radius:var(--radius-lg) var(--radius-lg) 0 0; padding:18px 20px 24px;
  box-shadow:0 -20px 50px rgba(10,16,26,.25); max-height:88vh;
}
@media (min-width:700px){
  .overlay{align-items:center; padding:24px;}
  .sheet{border-radius:var(--radius-lg); max-height:calc(100vh - 48px);}
  .sheet-handle{display:none;}
}
.sheet-handle{width:40px; height:5px; background:var(--line-2); margin-bottom:16px;}

.sheet-shore{
  height:auto !important; min-height:0; padding:18px 18px 16px; margin:0 0 14px; border-radius:16px;
  background:radial-gradient(420px 200px at 100% 0%, rgba(8,145,166,.35), transparent 70%), var(--ink) !important;
}
.sheet-shore .shore-sand, .sheet-shore .shore-wet, .sheet-shore .shore-wave-group{display:none !important;}
.sheet-shore .shore-info{position:static; padding-right:70px; gap:6px;}
.sheet-shore .shore-code{font-family:var(--mono); font-size:17px; font-weight:700; text-shadow:none;}
.sheet-shore .shore-desc{font-size:13.5px; line-height:1.45; color:rgba(255,255,255,.78); text-shadow:none; max-width:none; -webkit-line-clamp:3;}
.sheet-shore .shore-prices{position:static; margin-top:16px; padding-top:14px; border-top:1px solid rgba(255,255,255,.14); justify-content:flex-start; gap:28px; flex-wrap:wrap;}
.sheet-shore .shore-price-item, .sheet-shore .shore-price-item.mrp-item{align-items:flex-start;}
.sheet-shore .shore-price-label{font-family:var(--sans); font-size:11.5px; font-weight:600; letter-spacing:.02em; text-transform:none; color:rgba(255,255,255,.6); opacity:1;}
.sheet-shore .shore-price-val{font-family:var(--sans); font-size:22px; font-weight:800; color:#fff;}
.sheet-shore .shore-price-val.mrp{color:#F2D49B;}
.sheet-shore .shore-icon{top:16px; right:16px;}
.sheet-shore .shore-icon .thumb{border:0; width:52px; height:52px; border-radius:14px;}

.sheet-brand{display:none;}
.sheet .card-top{justify-content:flex-start; margin-bottom:14px;}
.sheet .code{font-size:17px;}
.sheet .desc{font-size:14px;}
.sheetlinks{gap:10px;}
.sheetlinks a, .viewfullbtn{
  min-height:46px; border-radius:12px; border:1px solid var(--line-2); background:#fff;
  font-family:var(--sans); font-size:13px; font-weight:700; letter-spacing:.02em; color:var(--ink);
}
.sheetlinks a:hover, .viewfullbtn:hover{border-color:var(--teal); background:var(--teal-tint); transform:none;}
.sheetlinks a.jaquarlink img{height:15px;}
.viewfullbtn{margin-bottom:12px;}
.copybtn{
  min-height:50px; border-radius:12px; font-family:var(--sans); font-size:14px; font-weight:700; letter-spacing:.03em;
  box-shadow:none !important;
}
.copybtn:hover{filter:brightness(1.08); transform:none;}
.copybtn.copied{background:var(--good);}
.sheet-qty{padding:10px 12px; border:1px solid var(--line); border-radius:12px; margin-bottom:12px;}
.sheet-qty-label{font-family:var(--sans); font-size:13.5px; font-weight:600; letter-spacing:0; text-transform:none; color:var(--ink);}
.qstepper.big{height:40px;}

.fullback{font-family:var(--sans); font-size:13px; font-weight:700; letter-spacing:0; text-transform:none; color:var(--teal-deep);}
.fulltabs{gap:4px; background:var(--bg); padding:4px; border-radius:12px; border:0;}
.fulltab{
  font-family:var(--sans); font-size:13px; font-weight:600; letter-spacing:0; text-transform:none; color:var(--steel);
  border:0; border-radius:9px; padding:9px 6px;
}
.fulltab.active{background:#fff; color:var(--ink); box-shadow:var(--shadow-sm); font-weight:700;}
.specrow{border-bottom:1px solid var(--line); padding:11px 0;}
.specrow .k{font-family:var(--sans); font-size:13px; font-weight:500; letter-spacing:0; text-transform:none; color:var(--steel);}
.specrow .v{font-size:14px;}
.fullphoto{border-radius:16px; border:1px solid var(--line);}
.nophoto-note{font-family:var(--sans); font-size:12.5px;}

/* ==========================================================================
   Selection bar + "Your list"
   ========================================================================== */
.selbar{
  bottom:calc(18px + env(safe-area-inset-bottom, 0px)); padding:8px 8px 8px 20px; gap:14px;
  border-radius:999px; box-shadow:0 14px 34px rgba(10,16,26,.3);
}
.selbar .count{font-family:var(--sans); font-size:14px;}
.selbar button{font-family:var(--sans); font-size:14px; font-weight:700; padding:10px 18px; background:var(--teal); color:#fff;}
.selbar button:hover{background:#0AA3BA;}

.listpage{background:var(--bg);}
.listbar{
  padding:calc(12px + env(safe-area-inset-top, 0px)) max(16px, calc((100% - 860px) / 2)) 12px;
  background:var(--ink); border-bottom:0; color:#fff; backdrop-filter:none;
}
.listbar .backbtn{width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16); color:#fff;}
.listbar h2{font-size:18px; font-weight:800; color:#fff;}
.listbar .listsub{font-family:var(--sans); font-size:12.5px; color:rgba(255,255,255,.6);}
.listbar-logo{background:#fff; border-radius:8px; padding:4px 8px; height:32px;}
.listbody{padding:20px 16px 48px;}
.listactions{gap:10px;}
.listactions button{
  min-height:46px; font-family:var(--sans); font-size:13.5px; font-weight:700; letter-spacing:0;
  border-radius:12px; border:1px solid var(--line-2);
}
.listactions button:hover:not(:disabled){border-color:var(--teal); background:var(--teal-tint);}
.listactions button.primary{background:var(--teal); border-color:var(--teal); color:#fff;}
.listactions button.primary:hover:not(:disabled){background:#0AA3BA;}
.listactions button.danger{color:var(--danger); border-color:#F1D8D5;}
.listactions button.danger:hover{background:#FDF2F2 !important; border-color:var(--danger) !important;}
.tablewrap{border-radius:var(--radius);}
table.cmp{font-size:13.5px;}
table.cmp thead th{font-family:var(--sans); font-size:12px; font-weight:600; letter-spacing:0; text-transform:none; color:var(--steel); padding:11px 12px;}
table.cmp tbody td{padding:11px 12px;}
table.cmp .rcode{font-family:var(--mono); font-size:13px;}
table.cmp .rdesc{font-size:12px;}
table.cmp .qtyinput{font-family:var(--sans); font-size:14px; border:1px solid var(--line-2); padding:7px 4px;}
table.cmp tfoot td, .listbrandsection table.cmp tfoot td{font-family:var(--sans); font-size:13.5px;}
table.cmp tfoot td:first-child{font-family:var(--sans); font-size:12px; font-weight:700; letter-spacing:.02em; text-transform:none;}
.listbrandhead .lbh-name{font-size:15px;}
.listbrandhead .lbh-count{font-family:var(--sans); font-size:12px; font-weight:600;}
.pricetoggle{font-family:var(--sans); font-size:13px;}
.pricetoggle .ptbtn{font-family:var(--sans); font-size:13px; padding:7px 16px;}
.pricetoggle .ptnote{font-size:12px;}
.listgrandtotal{border-radius:var(--radius); padding:16px 20px;}
.listgrandtotal .lgt-label, .listgrandtotal .lgt-qty{font-family:var(--sans); font-size:12.5px; letter-spacing:.02em; text-transform:none;}
.listgrandtotal .lgt-amount{font-size:22px;}
.listempty .t{font-size:16px;}
.listempty .s{font-size:14px;}

/* ==========================================================================
   WhatsApp form + toast
   ========================================================================== */
.email-title{font-size:20px; font-weight:800;}
.email-sub{font-size:14px;}
.formfield label{font-family:var(--sans); font-size:13px; font-weight:600; letter-spacing:0; text-transform:none; color:var(--ink);}
.formfield label .req{font-size:12px;}
.formfield input, .formfield textarea{border:1px solid var(--line-2); border-radius:12px; padding:12px 14px; font-size:15px; background:#fff !important;}
.formfield input:focus, .formfield textarea:focus{box-shadow:0 0 0 3px rgba(8,145,166,.14) !important;}
.fielderr{font-family:var(--sans); font-size:12.5px;}
#emailSendBtn{background:#1FA855;}
.toast{font-size:14px; font-weight:600; border-radius:12px; padding:12px 18px;}

/* ==========================================================================
   Plato landing (plato/index.html)
   ========================================================================== */
body:not(.home) .hero{background:none; padding:36px 20px 8px; text-align:center;}
body:not(.home) .hero .hero-logo{height:64px; width:auto; filter:none; margin:0 auto 10px;}
.cat-section{max-width:760px; margin:0 auto; padding:16px 20px 48px;}
.cat-heading{font-size:22px !important; font-weight:800; letter-spacing:-.02em; text-align:left !important; margin:12px 0 14px !important;}
.cat-tile{
  border-radius:var(--radius) !important; border:1px solid var(--line) !important; padding:18px !important;
  box-shadow:var(--shadow-sm) !important; transition:border-color .15s, box-shadow .2s, transform .2s !important;
}
.cat-tile:hover{border-color:var(--teal) !important; box-shadow:0 12px 28px rgba(15,27,42,.09) !important; transform:translateY(-2px);}
.cat-name{font-size:16px !important; font-weight:700 !important;}
.cat-desc{font-size:13.5px !important; color:var(--steel) !important; line-height:1.45;}
.cat-status{font-family:var(--sans) !important; font-size:12px !important; font-weight:700 !important; letter-spacing:0 !important; text-transform:none !important; padding:4px 10px !important; border-radius:999px !important;}
.cat-icon{box-shadow:none !important;}
.homefooter{font-family:var(--sans) !important; font-size:12.5px !important;}

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width:640px){
  .wrap{padding:4px 16px 110px;}
  header.topbar{margin:0 -16px; padding:14px 16px 12px;}
  .titlerow{margin-bottom:12px;}
  h1{font-size:21px;}
  .sub{font-size:12.5px;}
  .searchbar input{height:50px; font-size:16px;}
  .filterrow{gap:8px; margin-top:10px;}
  .filterrow-triple{grid-template-columns:1fr 1fr 1fr;}
  .filterlabel{font-size:11.5px; margin-bottom:4px;}
  .combo-input{height:40px; font-size:13.5px; padding:0 26px 0 10px;}
  .combobox .chev{right:8px; width:14px; height:14px;}
  .results{grid-template-columns:1fr; gap:10px;}
  .card{padding:14px; gap:12px;}
  .thumb{width:40px; height:40px;}
  .price-val{font-size:16px;}
  .sheet{padding:12px 16px 20px;}
  .sheet-shore .shore-price-val{font-size:19px;}
  .listactions{grid-template-columns:1fr 1fr;}
}

/* ==========================================================================
   Motion
   ========================================================================== */
@media (prefers-reduced-motion:reduce){
  *, *::before, *::after{animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important;}
}

/* Catalogue switcher (Plato drainer page) */
.cattabs{display:flex; gap:4px !important; background:#E9EDF1 !important; padding:4px !important; border-radius:12px !important; border:0 !important;}
.cat-tab{flex:1; font-family:var(--sans) !important; font-size:13.5px !important; font-weight:600 !important; letter-spacing:0 !important; text-transform:none !important;
  border:0 !important; border-radius:9px !important; background:transparent !important; color:var(--steel) !important; box-shadow:none !important; min-height:38px;}
.cat-tab.active{background:#fff !important; color:var(--ink) !important; box-shadow:var(--shadow-sm) !important; font-weight:700 !important;}
.gnav-pool-stage{display:none !important;}
.sheet-shore .shore-price-val.sdp-excl{color:rgba(255,255,255,.72);}
.metarow{gap:6px;}
.metachip{font-family:var(--sans) !important; font-size:11.5px !important; font-weight:600 !important; letter-spacing:0 !important; text-transform:none !important;
  background:#F1F4F7 !important; color:var(--ink-2) !important; border:0 !important; border-radius:6px !important; padding:3px 8px !important;}

/* Live product photos (assets/product-photos.js) */
.thumb .pp-img{position:absolute; inset:0; width:100%; height:100%; object-fit:contain; padding:3px; opacity:0; transition:opacity .2s; border-radius:inherit;}
.thumb[data-photo="ok"]{background:#fff !important; border:1px solid var(--line);}
.thumb[data-photo="ok"] > svg{visibility:hidden;}
.thumb[data-photo="ok"] .pp-img{opacity:1;}
.fullphoto .thumb .pp-img{padding:16px;}
.fullphoto .thumb[data-photo="ok"]{border:0;}
.fullphoto:has(.thumb[data-photo="ok"]) + .nophoto-note{display:none;}
.sheet-shore .shore-icon .thumb[data-photo="ok"]{border:0; width:64px; height:64px;}
.card .thumb[data-photo="ok"]{width:64px; height:64px;}
@media (max-width:640px){ .card .thumb[data-photo="ok"]{width:56px; height:56px;} }

/* Active on brand website (assets/product-photos.js) */
.pp-active{display:inline-flex; align-items:center; gap:4px; flex:none; font-family:var(--sans); font-size:11px; font-weight:700; letter-spacing:.02em;
  color:#fff; background:var(--good); padding:3px 8px 3px 6px; border-radius:999px; white-space:nowrap;}
.pp-active svg{width:11px; height:11px;}
.card[data-active="yes"]{border-color:#A7D9BF; box-shadow:inset 4px 0 0 var(--good), var(--shadow-sm);}
.card[data-active="yes"]:hover{border-color:var(--good); box-shadow:inset 4px 0 0 var(--good), 0 12px 28px rgba(15,27,42,.09);}
.sheet .card-top .pp-active{font-size:12px; padding:4px 10px 4px 8px;}
.sheet-shore.is-active{box-shadow:inset 0 -4px 0 var(--good);}

/* Photo filter */
.pp-filter{display:inline-flex; align-items:center; gap:4px; flex-wrap:wrap; margin-left:auto;}
.filterrow:has(.pp-filter){display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px;}
.pp-filter-label{font-size:13px; font-weight:600; color:var(--steel); margin-right:4px;}
.pp-filter button{height:32px; padding:0 12px; border-radius:999px; border:1px solid var(--line-2); background:#fff; color:var(--ink);
  font:600 12.5px var(--sans); cursor:pointer; white-space:nowrap; box-shadow:none;}
.pp-filter button:hover{border-color:var(--teal); color:var(--teal-deep);}
.pp-filter button[aria-pressed="true"]{background:var(--ink); border-color:var(--ink); color:#fff;}
@media (max-width:640px){ .pp-filter{margin-left:0;} .pp-filter button{height:30px; padding:0 10px; font-size:12px;} }
.filterrow.pp-row{display:flex; margin-top:10px;} .filterrow.pp-row .pp-filter{margin-left:0;}

/* Website MRP check (assets/product-photos.js) */
.pp-badge{display:inline-flex; align-items:center; gap:4px; flex:none; font-family:var(--sans); font-size:11px; font-weight:700; letter-spacing:.02em;
  color:#fff; padding:3px 8px 3px 6px; border-radius:999px; white-space:nowrap;}
.pp-badge svg{width:12px; height:12px;}
.pp-mrp-changed{background:#C62828;}
.card[data-mrp="changed"]{background:#FDECEC !important; border-color:#E57373 !important; box-shadow:inset 4px 0 0 #C62828, var(--shadow-sm) !important;}
.card[data-mrp="changed"]:hover{border-color:#C62828 !important; box-shadow:inset 4px 0 0 #C62828, 0 12px 28px rgba(198,40,40,.15) !important;}
.card[data-mrp="changed"] .prices{border-top-color:#F2B8B8;}
.card[data-mrp="changed"] .price-val.mrp{color:#C62828; text-decoration:line-through; text-decoration-thickness:2px;}
.pp-mrpnote{display:flex; align-items:flex-start; gap:7px; margin-top:10px; padding:8px 10px; border-radius:10px; font-size:12.5px; line-height:1.4;}
.pp-mrpnote svg{width:15px; height:15px; flex:none; margin-top:1px;}
.pp-mrpnote b{font-weight:700;}
.pp-mrpnote.is-changed{background:#C62828; color:#fff;}
.pp-mrpnote.is-updated{background:var(--teal-tint); color:var(--teal-deep);}
.sheet .pp-mrpnote{margin:0 0 12px; font-size:13.5px; padding:10px 12px;}
.sheet-shore.is-mrp-changed{background:radial-gradient(420px 200px at 100% 0%, rgba(255,120,120,.35), transparent 70%), #8E1B1B !important; box-shadow:inset 0 -4px 0 #FF8A80;}
.sheet .card-top .pp-mrp-changed{font-size:12px; padding:4px 10px 4px 8px;}
.pp-filter button.is-red{border-color:#E57373; color:#C62828;}
.pp-filter button.is-red[aria-pressed="true"]{background:#C62828; border-color:#C62828; color:#fff;}

/* SDP prices in the item header (Plus pages) — readable on the dark header */
.sheet-shore .shore-prices{display:grid !important; grid-template-columns:repeat(2, minmax(0,1fr)); gap:14px 20px;}
.sheet-shore .shore-price-item, .sheet-shore .shore-price-item.mrp-item{align-items:flex-start;}
.sheet-shore .shore-price-val.sdp-excl{color:#fff !important; font-size:22px !important;}
.sheet-shore .shore-price-val.sdp-incl{color:#7FE3B0 !important; font-size:22px !important;}
.sheet-shore .shore-price-item:has(.sdp-incl){background:rgba(127,227,176,.12); border:1px solid rgba(127,227,176,.35); border-radius:10px; padding:6px 10px; margin:-7px -11px;}
.price-val.sdp-incl, .specrow .v.sdp-incl{color:var(--good) !important;}
@media (max-width:640px){ .sheet-shore .shore-price-val.sdp-excl, .sheet-shore .shore-price-val.sdp-incl{font-size:19px !important;} }

/* ==========================================================================
   Your list (assets/list-view.js)
   ========================================================================== */
.listbody{max-width:980px; padding:20px 20px 120px;}
.lv-head{display:flex; align-items:flex-end; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:14px;}
.lv-title{font-size:22px; font-weight:800; letter-spacing:-.02em; color:var(--ink);}
.lv-sub{font-size:13.5px; color:var(--steel); margin-top:2px;}
.lv-mode{display:inline-flex; align-items:center; gap:4px; background:#fff; border:1px solid var(--line-2); border-radius:999px; padding:3px;}
.lv-mode span{font-size:12px; font-weight:600; color:var(--steel); padding:0 6px 0 8px;}
.lv-mode button{height:30px; padding:0 14px; border:0; border-radius:999px; background:transparent; color:var(--steel); font:700 12.5px var(--sans); cursor:pointer; box-shadow:none;}
.lv-mode button[aria-pressed="true"]{background:var(--ink); color:#fff;}
.lv-actions{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:18px;}
/* ADDED 2026-10-23: the dealer's business on the quotation header */
.lv-biz-row:empty{display:none}
.lv-biz-row{display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin:-6px 0 16px; padding:10px 12px; border-radius:12px; background:var(--surface-2,#f4f6f8); border:1px solid var(--line,#e3e8ed); font-size:13px}
.lv-biz{display:flex; gap:8px; align-items:center; flex:1; min-width:220px}
.lv-biz span{font-weight:600; white-space:nowrap}
.lv-biz select{flex:1; min-width:0; padding:7px 10px; border-radius:9px; border:1px solid var(--line,#d3d9df); background:#fff; font:inherit}
.lv-biz-def{display:flex; gap:6px; align-items:center; white-space:nowrap; color:var(--muted,#5b6577)}
.lv-btn{display:inline-flex; align-items:center; gap:8px; height:42px; padding:0 16px; border-radius:11px; border:1px solid var(--line-2);
  background:#fff; color:var(--ink); font:700 13.5px var(--sans); cursor:pointer; box-shadow:none;}
.lv-btn svg{width:17px; height:17px;}
.lv-btn:hover{border-color:var(--teal); background:var(--teal-tint);}
.lv-btn.primary{background:var(--ink); border-color:var(--ink); color:#fff;}
.lv-btn.primary:hover{background:var(--ink-2);}
.lv-btn.wa{background:#1FA855; border-color:#1FA855; color:#fff;}
.lv-btn.wa:hover{background:#1A9149;}
.lv-btn.danger{margin-left:auto; color:var(--danger); border-color:#F1D8D5;}
.lv-btn.danger:hover{background:#FDF2F2; border-color:var(--danger);}
.lv-btn:disabled{opacity:.6; cursor:default;}

.lv-brand{background:#fff; border:1px solid var(--line); border-radius:16px; margin-bottom:14px; overflow:hidden; box-shadow:var(--shadow-sm);}
.lv-brand-head{display:flex; align-items:center; gap:10px; padding:12px 16px; border-bottom:1px solid var(--line);}
.lv-brand-logo{height:26px; display:flex; align-items:center;}
.lv-brand-logo img{max-height:22px; max-width:90px; object-fit:contain;}
.lv-brand-name{font-size:15px; font-weight:800;}
.lv-brand-count{margin-left:auto; font-size:12px; font-weight:600; color:var(--steel); background:var(--bg); padding:3px 10px; border-radius:999px;}
.lv-cols, .lv-item{display:grid; grid-template-columns:56px minmax(0,1fr) 104px 116px 84px 116px 32px; align-items:center; gap:12px;}
.lv-cols{padding:8px 16px; background:var(--bg); font-size:11.5px; font-weight:700; color:var(--steel); letter-spacing:.02em;}
.lv-cols span:first-child{grid-column:1 / span 2;}
.lv-cols span:nth-child(2), .lv-cols span:nth-child(5){text-align:right;}
.lv-cols span:nth-child(3), .lv-cols span:nth-child(4){text-align:center;}
.lv-item{padding:12px 16px; border-top:1px solid var(--line);}
.lv-item:first-of-type{border-top:0;}
.lv-photo{width:56px; height:56px; border-radius:10px; border:1px solid var(--line); background:var(--bg); display:grid; place-items:center; color:var(--steel-light); overflow:hidden;}
.lv-photo svg{width:22px; height:22px;}
.lv-photo.has-photo{background:#fff;}
.lv-photo img{width:100%; height:100%; object-fit:contain; padding:3px;}
.lv-info{min-width:0;}
.lv-code{font-family:var(--mono); font-size:13.5px; font-weight:700; color:var(--ink); overflow-wrap:anywhere;}
.lv-desc{font-size:12.5px; color:var(--steel); line-height:1.4; margin-top:2px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;}
.lv-unit{text-align:right; font-size:14px; font-weight:700; color:var(--ink); font-variant-numeric:tabular-nums;}
.lv-unit small{display:block; font-size:10.5px; font-weight:600; color:var(--steel-light);}
.lv-qty{display:flex; align-items:center; justify-content:center; border:1px solid var(--line-2); border-radius:10px; height:36px; overflow:hidden; background:#fff;}
.lv-qty button{width:32px; height:100%; border:0; background:var(--bg); color:var(--ink); font:700 16px var(--sans); cursor:pointer; box-shadow:none;}
.lv-qty button:hover{background:var(--line);}
.lv-qty input{width:46px; height:100%; border:0 !important; text-align:center; font:700 14px var(--sans); color:var(--ink); background:#fff !important; box-shadow:none !important; -moz-appearance:textfield;}
.lv-qty input::-webkit-outer-spin-button, .lv-qty input::-webkit-inner-spin-button{-webkit-appearance:none; margin:0;}
.lv-line{text-align:right; font-size:15px; font-weight:800; color:var(--ink); font-variant-numeric:tabular-nums;}
.lv-rm{width:32px; height:32px; border-radius:8px; border:0; background:transparent; color:var(--steel-light); display:grid; place-items:center; cursor:pointer; box-shadow:none;}
.lv-rm svg{width:15px; height:15px;}
.lv-rm:hover{background:#FDF2F2; color:var(--danger);}
.lv-brand-foot{display:flex; justify-content:space-between; align-items:center; padding:12px 16px; background:var(--bg); border-top:1px solid var(--line); font-size:13.5px; color:var(--steel);}
.lv-brand-foot b{color:var(--ink); font-variant-numeric:tabular-nums;}
.lv-brand-foot > b{font-size:15px;}
.lv-total{position:sticky; bottom:12px; display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:6px;
  padding:16px 20px; border-radius:16px; background:var(--ink); color:#fff; box-shadow:0 14px 34px rgba(10,16,26,.28);}
.lv-total-label{font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:rgba(255,255,255,.65);}
.lv-total-qty{font-size:13px; color:rgba(255,255,255,.8); margin-top:2px;}
.lv-total-amount{font-size:24px; font-weight:800; letter-spacing:-.01em; font-variant-numeric:tabular-nums;}
.lv-note{font-size:12px; color:var(--steel-light); margin:14px 2px 0;}
/* 2026-10-16: grand total in a side panel next to the items (it used to cover the last items) */
.lv-layout{display:block;}
.lv-sub b{color:var(--ink); font-variant-numeric:tabular-nums;}
.lv-side .lv-total{position:static; flex-wrap:wrap;}
.lv-side-acts{display:none; gap:8px; width:100%;}
.lv-side-acts .lv-btn{flex:1; justify-content:center;}
@media (min-width:1200px){
  .listbody:has(.lv-layout){max-width:1360px;}
  .lv-layout{display:grid; grid-template-columns:minmax(0,1fr) 290px; gap:20px; align-items:start;}
  .lv-side{position:sticky; top:96px;}
  .lv-side .lv-total{display:block; padding:20px;}
  .lv-side .lv-total-amount{font-size:28px; margin:12px 0 14px;}
  .lv-side-acts{display:flex;}
  .lv-main > .lv-brand:last-child{margin-bottom:0;}
}
.lv-empty{text-align:center; padding:72px 20px; color:var(--steel);}
.lv-empty svg{width:44px; height:44px; color:var(--line-2); margin-bottom:12px;}
.lv-empty .t{font-size:17px; font-weight:700; color:var(--ink); margin-bottom:4px;}
@media (max-width:700px){
  .listbody{padding:16px 12px 110px;}
  .lv-cols{display:none;}
  .lv-item{grid-template-columns:56px minmax(0,1fr) 32px; grid-template-areas:"photo info rm" "photo unit unit" "qty line line"; row-gap:8px; padding:12px;}
  .lv-photo{grid-area:photo; align-self:start;}
  .lv-info{grid-area:info;}
  .lv-rm{grid-area:rm; align-self:start;}
  .lv-unit{grid-area:unit; text-align:left; display:flex; gap:6px; align-items:baseline; font-size:13.5px;}
  .lv-unit small{display:inline;}
  .lv-qty{grid-area:qty; justify-self:start; width:128px;}
  .lv-qty input{flex:1;}
  .lv-disc{grid-area:disc;}
  .lv-line{grid-area:line; align-self:center; white-space:nowrap;}
  .lv-actions .lv-btn{flex:1 1 calc(50% - 4px); justify-content:center;}
  .lv-btn.danger{margin-left:0;}
  .lv-total-amount{font-size:21px;}
}
/* Quotation: customer, per-item discount (list-view.js) */
.lv-quote{background:#fff; border:1px solid var(--line); border-radius:14px; margin:-4px 0 16px; box-shadow:var(--shadow-sm);}
.lv-quote summary{display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; padding:12px 16px; cursor:pointer; list-style:none; font-size:14px; color:var(--ink);}
.lv-quote summary::-webkit-details-marker{display:none;}
.lv-quote summary::before{content:'▸'; color:var(--steel); transition:transform .15s;}
.lv-quote[open] summary::before{transform:rotate(90deg);}
.lv-quote summary span{font-size:12.5px; color:var(--steel);}
.lv-quote-grid{display:grid; grid-template-columns:1fr 1fr; gap:10px 12px; padding:0 16px 14px;}
.lv-quote-grid label{display:flex; flex-direction:column; gap:4px; font-size:11.5px; font-weight:700; color:var(--steel);}
.lv-quote-grid label.wide{grid-column:1 / -1;}
.lv-cust-name{position:relative;}
.lv-cust-sugg{position:absolute; top:100%; left:0; right:0; z-index:40; margin-top:4px; background:var(--card,#fff); border:1px solid var(--line,#d9dee5); border-radius:10px; box-shadow:0 8px 24px rgba(0,0,0,.14); max-height:260px; overflow:auto;}
.lv-cust-sugg button{display:flex; flex-direction:column; align-items:flex-start; gap:2px; width:100%; padding:8px 12px; border:0; border-bottom:1px solid var(--line,#eef0f3); background:none; text-align:left; cursor:pointer; font:inherit; color:inherit;}
.lv-cust-sugg button:hover{background:rgba(0,0,0,.05);}
.lv-cust-sugg button b{font-size:13px;}
.lv-cust-sugg button span{font-size:11px; font-weight:500; color:var(--steel);}
.lv-quote-grid input[type=text], .lv-quote-grid input[type=tel]{height:40px; padding:0 12px; border:1px solid var(--line-2); border-radius:10px; font:500 14.5px var(--sans); color:var(--ink); background:#fff;}
.lv-quote-all{grid-column:1 / -1; display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:13px; font-weight:700; color:var(--ink); padding-top:4px; border-top:1px dashed var(--line); margin-top:2px;}
.lv-quote-all > span{margin-right:auto;}
.lv-quote-all .lv-btn{height:38px;}
.lv-quote-all .lv-btn[hidden]{display:none;}
.lv-pct{display:inline-flex; align-items:center; height:36px; border:1px solid var(--line-2); border-radius:10px; background:#fff; overflow:hidden;}
.lv-pct input{width:52px; height:100%; border:0 !important; text-align:right; padding:0 2px 0 6px; font:700 14px var(--sans); color:var(--ink); background:transparent !important; box-shadow:none !important; -moz-appearance:textfield;}
.lv-pct input::-webkit-outer-spin-button, .lv-pct input::-webkit-inner-spin-button{-webkit-appearance:none; margin:0;}
.lv-pct i{font-style:normal; font-weight:700; font-size:13px; color:var(--steel); padding:0 8px 0 2px;}
.lv-disc{display:flex; flex-direction:column; align-items:center; gap:2px;}
.lv-disc .lv-off{font-size:10.5px; font-weight:700; color:#0E7A4E; white-space:nowrap; min-height:0;}
.lv-disc .lv-off:empty{display:none;}
.lv-item.has-disc .lv-pct{border-color:#2FC28D; background:#F0FBF6;}
.lv-line s{display:block; font-size:11.5px; font-weight:600; color:var(--steel-light);}
.lv-item.has-disc .lv-line span{color:#0E7A4E;}
.lv-brand-disc{display:flex; align-items:center; gap:6px; font-size:11.5px; font-weight:700; color:var(--steel);}
.lv-brand-disc .lv-pct{height:30px;}
.lv-brand-disc .lv-pct input{width:40px; font-size:13px;}
.lv-total-disc{font-size:12.5px; color:#9EE6C7; margin-top:3px;}
.lv-total-disc[hidden]{display:none;}
@media (max-width:700px){
  .lv-item{grid-template-columns:56px minmax(0,1fr) auto auto; grid-template-areas:"photo info info rm" "photo unit unit unit" "qty qty disc line"; column-gap:10px;}
  .lv-rm{justify-self:end;}
  .lv-quote-grid{grid-template-columns:1fr;}
  .lv-quote-all > span{flex:1 0 100%;}
  .lv-quote-all .lv-btn{padding:0 12px;}
  .lv-brand-disc > span:first-child{display:none;}
}
.lv-brand-foot, .lv-brand-head{font-family:var(--sans) !important; text-align:left; margin:0;}

/* Inactive in the Jaquar DMS (dms-sync.php -> assets/dms-status/<brand>.json, product-photos.js) */
.pp-dms-inactive{background:#6B7280;}
.card[data-dms="inactive"]{background:#F3F4F6 !important; border-color:#D1D5DB !important; box-shadow:inset 4px 0 0 #6B7280, var(--shadow-sm) !important;}
.card[data-dms="inactive"] .desc, .card[data-dms="inactive"] .price-val{color:#6B7280;}
.sheet .card-top .pp-dms-inactive{font-size:12px; padding:4px 10px 4px 8px;}
.pp-filter button[data-v="dmsinactive"]{border-color:#9CA3AF; color:#4B5563;}
.pp-filter button[data-v="dmsinactive"][aria-pressed="true"]{background:#4B5563; border-color:#4B5563; color:#fff;}

/* Install as an app (nav-links.js) */
.gnav-install{background:#33CC99 !important; color:#08140F !important; border-color:#33CC99 !important; font-weight:700;}
.gnav-install:hover{background:#2DB98A !important;}
.gnav-install[hidden]{display:none !important;}
@media (max-width:480px){ .gnav-install{padding-left:10px; padding-right:12px;} }
.ms-install-help{position:fixed; inset:0; z-index:10000; background:rgba(15,27,42,.45); display:flex; align-items:flex-end; justify-content:center; padding:16px;}
.ms-install-card{background:#fff; color:#101826; border-radius:18px; padding:18px 18px 14px; width:100%; max-width:380px; font:500 14.5px/1.5 var(--sans, system-ui, sans-serif); box-shadow:0 20px 50px rgba(0,0,0,.25);}
.ms-install-title{font-size:16px; font-weight:800; margin-bottom:6px;}
.ms-install-card ol{margin:0 0 12px; padding-left:20px;}
.ms-install-card button{width:100%; height:42px; border:0; border-radius:12px; background:#0F1B2A; color:#fff; font:700 14px var(--sans, system-ui, sans-serif); cursor:pointer;}
@media (min-width:700px){ .ms-install-help{align-items:center;} }

/* Jaquar Group pages: prices are the Jaquar DMS's, so a website difference is shown as a check (amber), not an error */
.pp-dms .pp-mrp-changed{background:#B45309;}
.pp-dms .card[data-mrp="changed"]{background:#FFF7ED !important; border-color:#F5C084 !important; box-shadow:inset 4px 0 0 #D97706, var(--shadow-sm) !important;}
.pp-dms .card[data-mrp="changed"]:hover{border-color:#D97706 !important;}
.pp-dms .card[data-mrp="changed"] .prices{border-top-color:#FAD9AE;}
.pp-dms .card[data-mrp="changed"] .price-val.mrp{color:inherit; text-decoration:none;}
.pp-dms .pp-mrpnote.is-changed{background:#FFEDD5; color:#7C2D12;}
.pp-dms .sheet-shore.is-mrp-changed{background:radial-gradient(420px 200px at 100% 0%, rgba(251,191,36,.35), transparent 70%), #7C2D12 !important; box-shadow:inset 0 -4px 0 #F59E0B;}
.pp-dms .pp-filter button.is-red{border-color:#F5C084; color:#B45309;}

/* ==========================================================================
   Phones: keep results in view (nav-links.js setupPhoneList)
   ========================================================================== */
.ms-filterbtn{display:none;}
.ms-totop{display:none;}
@media (max-width:760px){
  /* Filters fold away behind a button */
  .ms-list .ms-filters{display:none;}
  .ms-list.ms-filters-open .ms-filters{display:block;}
  .ms-filterbtn{display:inline-flex; align-items:center; gap:6px; height:34px; margin-top:10px; padding:0 14px; border-radius:999px;
    border:1px solid var(--line-2, #D5DDE5); background:#fff; color:var(--ink); font:600 13px var(--sans); cursor:pointer; position:relative;}
  .ms-filterbtn svg{width:16px; height:16px;}
  .ms-filters-open .ms-filterbtn{background:var(--ink); color:#fff; border-color:var(--ink);}
  .ms-dot{width:8px; height:8px; border-radius:50%; background:#33CC99; display:inline-block;}
  .ms-dot[hidden]{display:none;}
  .ms-list header.topbar .status{margin-top:8px;}

  /* Typing: only the search bar stays at the top, so results show above the keyboard */
  .ms-typing .gnav, .ms-typing .titlerow, .ms-typing .ms-filters, .ms-typing .ms-filterbtn, .ms-typing .brandstrip, .ms-typing .cattabs{display:none !important;}
  .ms-typing header.topbar{top:0 !important; padding-top:8px !important; padding-bottom:6px !important;}
  .ms-typing header.topbar .status{margin-top:4px;}

  /* Back to top */
  .ms-totop{display:flex; align-items:center; justify-content:center; position:fixed; left:14px; bottom:calc(14px + env(safe-area-inset-bottom, 0px));
    width:44px; height:44px; border-radius:50%; border:0; background:var(--ink); color:#fff; box-shadow:0 6px 18px rgba(15,27,42,.28);
    z-index:60; opacity:0; transform:translateY(12px); pointer-events:none; transition:opacity .2s, transform .2s;}
  .ms-totop svg{width:20px; height:20px;}
  .ms-totop.show{opacity:1; transform:none; pointer-events:auto;}
  .ms-typing .ms-totop{display:none;}
}
/* Installed app: respect the phone's notch / home bar */
@media (display-mode: standalone){
  .gnav{padding-top:env(safe-area-inset-top, 0px); height:calc(var(--bar-h) + env(safe-area-inset-top, 0px));}
}
/* Hidden toasts sit just above the screen; keep their shadow from peeking in */
.toast{transition:transform .25s cubic-bezier(.2,.8,.2,1), opacity .2s !important;}
.toast:not(.show){opacity:0; pointer-events:none;}
/* Admin-only menu link (nav-links.js) */
.sw-admin{margin-top:8px; background:#E8FBF3; color:#0B5E40; border:1px solid #A7E8CC;}
.sw-admin small{color:#0B5E40; opacity:.7;}
.sw-admin:hover{background:#D3F6E7;}
.sw-admin[hidden]{display:none !important;}

/* No flash of the old top bar: its contents show once nav-links.js has rebuilt it */
html:not(.ms-nav-ready) .gnav > *{visibility:hidden;}

/* ==========================================================================
   Wide screens: filters in a sticky left sidebar (nav-links.js setupPhoneList)
   ========================================================================== */
.ms-side{display:none;}
@media (min-width:1024px){
  .ms-has-side .wrap{max-width:1440px; display:grid; grid-template-columns:268px minmax(0,1fr); column-gap:28px; align-items:start;}
  .ms-has-side .wrap > *{grid-column:2;}
  .ms-has-side .wrap > .ms-side{grid-column:1; grid-row:1 / span 20;}
  .ms-has-side header.topbar{margin-left:0; margin-right:0; padding-left:0; padding-right:0;}
  .ms-side{display:block; position:sticky; top:calc(var(--bar-h) + 16px); margin-top:20px; padding:16px; background:#fff;
    border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow-sm);}
  .ms-side-title{display:flex; align-items:center; gap:8px; font:700 14px var(--sans); color:var(--ink); margin:0 0 4px;}
  .ms-side-title svg{width:16px; height:16px; color:var(--steel);}
  .ms-side .filterrow{display:block; margin-top:12px;}
  .ms-side .filterrow-triple{display:grid; grid-template-columns:1fr; gap:10px;}
  .ms-side .filterrow-triple > *{min-width:0;}
  .ms-side .filterlabel{display:flex; align-items:flex-start; gap:8px; font-size:13px; line-height:1.35;}
  .ms-side .pp-filter{display:flex; flex-wrap:wrap; gap:6px; margin:0;}
  .ms-side .pp-filter-label{width:100%; margin:0 0 2px;}
  .ms-side .pp-filter button{height:30px; padding:0 11px; font-size:12px;}
  .ms-side .filterrow:has(.pp-filter){display:flex; flex-direction:column; align-items:stretch; gap:12px;}
  .ms-side .combo-list{z-index:50;}
}
@media (min-width:1024px){ .ms-has-side .gnav{padding-left:max(16px, calc((100% - 1440px) / 2 + 20px)); padding-right:max(16px, calc((100% - 1440px) / 2 + 20px));} }
/* "Search all brands" in the brand menu */
.sw-searchall{background:#fff; color:var(--ink); border:1px solid var(--line-2, #D5DDE5);}
.sw-searchall small{color:var(--steel);}
.sw-searchall:hover{background:#F3F5F8;}
.sw-searchall + .sw-home{margin-top:8px;}
/* Home: Sign in / account (nav-links.js setupAccount) */
.ms-acct{position:relative; margin-left:auto;}
.ms-acct + .gnav-menubtn, .ms-acct ~ #gnavMenuBtn{margin-left:8px;}
.gnav .ms-signin{text-decoration:none; background:#fff !important; color:var(--ink) !important; border-color:#fff !important; font-weight:700;}
.gnav .ms-signin:hover{background:#E8EDF2 !important;}
.ms-acct-menu{position:absolute; right:0; top:calc(100% + 8px); min-width:210px; background:#fff; color:var(--ink); border-radius:14px; box-shadow:0 18px 44px rgba(0,0,0,.25); padding:6px; z-index:80;}
.ms-acct-menu[hidden]{display:none;}
.ms-acct-who{padding:8px 10px 10px; font-size:12.5px; color:var(--steel); border-bottom:1px solid var(--line); margin-bottom:4px;}
.ms-acct-menu a{display:block; padding:9px 10px; border-radius:9px; color:var(--ink); text-decoration:none; font:600 13.5px var(--sans);}
.ms-acct-menu a:hover{background:#F3F5F8;}
@media (max-width:420px){ .ms-acct-btn span{max-width:70px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;} }
/* Sidebar: every filter row stacks one control per line, whatever grid the page set inline */
@media (min-width:1024px){ .ms-side .filterrow-triple{grid-template-columns:1fr !important;} }
/* No sideways drag on phones; iOS bounce at the top shows the dark bar colour, not a light band */
html{overflow-x:hidden; background:#0F1B2A;}
body{background:var(--bg, #F3F5F8); min-height:100vh;}
@supports (overscroll-behavior: none){ html{overscroll-behavior-y:none;} }

/* Old prices (product-photos.js; OLD_PRICES written by dms-sync.php) */
.pp-oldbtn{display:inline-flex; align-items:center; gap:6px; height:32px; padding:0 12px; border-radius:999px; border:1px solid #C7B9F5; background:#fff;
  color:#5B3FC4; font:600 12.5px var(--sans); cursor:pointer; white-space:nowrap;}
.pp-oldbtn svg{width:14px; height:14px;}
.pp-oldbtn[aria-pressed="true"]{background:#5B3FC4; border-color:#5B3FC4; color:#fff;}
.pp-oldnote{display:flex; align-items:flex-start; gap:7px; margin-top:10px; padding:8px 10px; border-radius:10px; background:#F1ECFF; color:#3F2A96; font-size:12.5px; line-height:1.4;}
.pp-oldnote svg, .pp-oldbar svg, .pp-oldlist svg{width:15px; height:15px; flex:none; margin-top:1px;}
.card[data-old="yes"]{box-shadow:inset 4px 0 0 #7C5CE6, var(--shadow-sm) !important;}
.pp-old-on .card[data-old="yes"] .price-val{color:#5B3FC4 !important;}
.pp-oldlist{margin:0 0 12px; padding:10px 12px; border-radius:12px; background:#F7F4FF; border:1px solid #E2D9FF; font-size:13px;}
.pp-oldlist-h{display:flex; align-items:center; gap:7px; color:#3F2A96; margin-bottom:6px;}
.pp-oldlist > div:not(.pp-oldlist-h){display:flex; justify-content:space-between; gap:10px; padding:3px 0; border-top:1px dashed #E2D9FF;}
.pp-oldlist > div span{color:var(--steel);}
.pp-oldbar{position:fixed; left:50%; transform:translateX(-50%); bottom:calc(16px + env(safe-area-inset-bottom, 0px)); z-index:70; display:flex; align-items:center; gap:10px;
  width:min(680px, calc(100% - 24px)); padding:10px 12px 10px 14px; border-radius:14px; background:#3F2A96; color:#fff; font-size:13px; line-height:1.4; box-shadow:0 12px 32px rgba(40,20,110,.35);}
.pp-oldbar span{flex:1;}
.pp-oldbar button{flex:none; height:34px; padding:0 12px; border:0; border-radius:10px; background:#fff; color:#3F2A96; font:700 12.5px var(--sans); cursor:pointer;}
.ms-side .pp-oldbtn{margin-top:4px;}

/* The card's button row may never be wider than the card: extra badges wrap to a 2nd line. */
.card .card-top .right{max-width:100%; min-width:0; flex-shrink:1;}

/* From the Jaquar DMS (dms-sync.php): "New" / "Price updated" for 30 days, and spare parts */
.pp-new{background:#2563EB;}
.pp-upd{background:#B45309;}
.pp-spare{background:#475569;}
.sheet .card-top .pp-new, .sheet .card-top .pp-upd, .sheet .card-top .pp-spare{font-size:12px; padding:4px 10px 4px 8px;}

/* ADDED 2026-10-23: admin box in an item's detail view -- refresh this item / price history (product-photos.js) */
.pp-admin { margin: 12px 0 4px; border: 1px solid rgba(8,145,166,.35); border-radius: 14px; background: linear-gradient(180deg, rgba(8,145,166,.06), rgba(8,145,166,.02)); overflow: hidden; font-size: 13px; }
.pp-admin-tabs { display: flex; align-items: center; gap: 6px; padding: 8px 8px 0; }
.pp-admin-tabs button { border: 0; background: transparent; padding: 7px 12px; border-radius: 10px 10px 0 0; font-weight: 600; font-size: 13px; font-family: inherit; color: #475569; cursor: pointer; }
.pp-admin-tabs button[aria-pressed="true"] { background: #fff; color: #0e7490; box-shadow: 0 -1px 0 rgba(8,145,166,.25) inset; }
.pp-admin-tabs span { margin-left: auto; font-weight: 800; font-size: 10px; line-height: 1; font-family: inherit; letter-spacing: .12em; text-transform: uppercase; color: #0891a6; padding-right: 6px; }
.pp-admin-body { background: #fff; padding: 12px; }
.pp-admin-body p { margin: 0 0 10px; color: #334155; }
.pp-admin-go, .pp-admin-reload { border: 0; border-radius: 10px; padding: 9px 14px; background: linear-gradient(135deg, #0891a6, #0e7490); color: #fff; font-weight: 600; font-size: 13px; font-family: inherit; cursor: pointer; }
.pp-admin-go[disabled] { opacity: .65; cursor: wait; }
.pp-admin-reload { margin-top: 8px; background: #0f172a; }
.pp-admin-out ul { margin: 10px 0 0; padding-left: 18px; color: #1e293b; }
.pp-admin-out li { margin: 4px 0; }
.pp-admin-err { color: #b42318 !important; }
.pp-his-now { display: grid; gap: 6px; margin-bottom: 10px; }
.pp-his-now div { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.pp-his-now span { color: #64748b; min-width: 140px; }
.pp-his { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.pp-his th { text-align: left; color: #64748b; font-weight: 600; padding: 6px 4px; border-bottom: 1px solid #e2e8f0; }
.pp-his td { padding: 6px 4px; border-bottom: 1px solid #f1f5f9; vertical-align: top; }
.pp-his td i { color: #0891a6; font-style: normal; font-weight: 600; }
.pp-his-old { margin-top: 10px; color: #475569; display: grid; gap: 3px; }

/* ADDED 2026-10-23 (Phase 3): Tally stock for staff -- card chip, item view godowns (product-photos.js + stock.php) */
.pp-stock { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pp-stock b { font-weight: 800; }
.pp-stock-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent); }
.pp-stock.is-in { color: #067647; background: #ecfdf3; }
/* ADDED 2026-11-01: on a Jaquar purchase order, not yet billed (product-photos.js / stock-chips.js) */
.pp-stock.is-order { color: #1d4ed8; background: #eff6ff; }
.pp-stock.is-project { color: #6d28d9; background: #f3efff; }   /* on a project's Jaquar order (2026-11-01) */
.pp-stock-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pp-stock.is-in .pp-stock-dot { animation: ppStockBeat 2.4s ease-in-out infinite; }
.pp-stock.is-out { color: #64748b; background: #f1f5f9; }
@keyframes ppStockBeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
.pp-stock-sheet { margin: 10px 0 4px; }
.pp-stock-gd { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pp-stock-gd span { font-size: 12px; padding: 4px 9px; border-radius: 9px; background: #f8fafc; border: 1px solid #e2e8f0; color: #334155; }
.pp-stock-at { margin-top: 6px; font-size: 11.5px; color: #64748b; }

@media (prefers-reduced-motion: reduce) { .pp-stock.is-in .pp-stock-dot { animation: none; } }

/* ADDED 2026-10-23: colour variants + item details in the detail view (product-photos.js; preview = admins only) */
.pp-sec-h { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; margin: 0 0 8px; color: #0f172a; }
.pp-preview { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #9a3412; background: #fff1e6; border: 1px solid #fed7aa; border-radius: 999px; padding: 2px 8px; }
.pp-variants, .pp-details { margin: 14px 0 6px; }
.pp-var-row { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pp-var { flex-shrink: 0; scroll-snap-align: start; display: grid; justify-items: center; align-content: start; gap: 3px; width: 112px; padding: 8px 8px 10px; border-radius: 18px; border: 1px solid #e2e8f0; background: #fff; cursor: pointer; font: inherit; color: #0f172a; text-align: center; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, border-color .25s; animation: ppPop .45s cubic-bezier(.2,.8,.2,1) both; }
.pp-var-ph { position: relative; width: 92px; height: 92px; border-radius: 14px; background: #f8fafc; display: grid; place-items: center; margin-bottom: 4px; overflow: visible; }
.pp-var-ph img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; mix-blend-mode: multiply; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.pp-var-ph i { position: absolute; right: -6px; bottom: -6px; width: 26px; height: 26px; border-radius: 50%; border: 3px solid #fff; box-shadow: inset 0 2px 3px rgba(255,255,255,.6), inset 0 -2px 4px rgba(0,0,0,.25), 0 4px 10px -4px rgba(15,23,42,.5); }
.pp-var-ph img + i { width: 26px; height: 26px; }
.pp-var-ph:not(:has(img)) i { position: static; width: 58px; height: 58px; border-width: 0; }
.pp-var b { font-size: 12px; line-height: 1.15; }
.pp-var small { font-size: 10.5px; color: #64748b; }
.pp-var em { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #e0f2fe; color: #0369a1; margin-top: 2px; }
.pp-var em.in { background: #ecfdf3; color: #067647; }
.pp-var em.out { background: #f1f5f9; color: #64748b; }
.pp-var:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -16px rgba(15,23,42,.5); }
.pp-var:hover .pp-var-ph img { transform: scale(1.06); }
.pp-var.is-on { border-color: #0891a6; box-shadow: 0 0 0 2px rgba(8,145,166,.25); cursor: default; }
@keyframes ppPop { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.pp-desc { margin: 0 0 10px; font-size: 13px; line-height: 1.55; color: #334155; }
.pp-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-bottom: 10px; }
.pp-spec { display: grid; justify-items: center; gap: 6px; padding: 10px 6px; border-radius: 14px; background: linear-gradient(180deg,#f8fafc,#eef2f6); border: 1px solid #e2e8f0; text-align: center; font-size: 11.5px; font-weight: 600; color: #1e293b; animation: ppPop .45s cubic-bezier(.2,.8,.2,1) both; }
.pp-spec img { width: 34px; height: 34px; object-fit: contain; mix-blend-mode: multiply; }
.pp-spec b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #e0f2f1; color: #0f766e; }
.pp-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.pp-facts div { display: grid; gap: 2px; padding: 8px 12px; border-radius: 12px; background: #f8fafc; border: 1px solid #e2e8f0; }
.pp-facts span { font-size: 11px; color: #64748b; }
.pp-facts b { font-size: 13.5px; }
.pp-sheetlink { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 12px; background: #0f172a; color: #fff; font-weight: 600; font-size: 13px; text-decoration: none; }

@media (prefers-reduced-motion: reduce) { .pp-var, .pp-spec { animation: none; } }

.pp-admin-url { display: block; width: 100%; box-sizing: border-box; margin: 0 0 10px; padding: 9px 12px; border: 1px solid #cbd5e1; border-radius: 10px; font: inherit; font-size: 13px; }
.pp-admin-tried { color: #64748b; font-size: 12px; word-break: break-all; }

/* ===== ADDED 2026-10-24 (user: "re-design the item detail page, professional and latest"; "In stock not
   visible properly") -- the item sheet's sections as tidy cards, and a high-contrast stock chip. ===== */
.pp-stock.is-in { color: #fff; background: #067647; box-shadow: 0 4px 12px -6px rgba(6,118,71,.7); }
.pp-stock.is-out { color: #334155; background: #e2e8f0; }
.pp-stock.is-in .pp-stock-dot { background: #a6f4c5; }
.pp-var em.in { background: #067647; color: #fff; }
.pp-var em.out { background: #e2e8f0; color: #334155; }
.sheet .pp-stock-sheet, .sheet .pp-variants, .sheet .pp-details {
  margin: 12px 0; padding: 14px 14px 12px; border-radius: 18px; background: #fff;
  border: 1px solid #e6eaf0; box-shadow: 0 1px 0 rgba(15,23,42,.03), 0 12px 28px -22px rgba(15,23,42,.45);
  animation: ppCardIn .4s cubic-bezier(.2,.8,.2,1) both;
}
.sheet .pp-stock-sheet .pp-stock { margin-top: 0; font-size: 13px; padding: 5px 12px; }
.sheet .pp-sec-h { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #475569; margin-bottom: 10px; }
.sheet .pp-sec-h::before { content: ""; width: 4px; height: 14px; border-radius: 4px; background: linear-gradient(180deg, #0891a6, #0e7490); }
.sheet .pp-var-row { margin: 0 -4px; padding: 4px 4px 6px; }
.sheet .pp-var { border-radius: 16px; background: #fbfcfd; }
.sheet .pp-var.is-on { background: #f0fbfc; }
.sheet .pp-desc { font-size: 13.5px; color: #1e293b; padding-left: 12px; border-left: 3px solid #e0f2f1; }
.sheet .pp-specs { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.sheet .pp-spec { background: #fbfcfd; transition: transform .2s, box-shadow .2s; }
.sheet .pp-spec:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -16px rgba(15,23,42,.6); }
.sheet .pp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.sheet .pp-facts div { background: #fbfcfd; }
.sheet .pp-facts b { font-size: 14.5px; color: #0f172a; }
.sheet .pp-sheetlink { background: linear-gradient(135deg, #0891a6, #0e7490); box-shadow: 0 8px 18px -10px rgba(8,145,166,.8); transition: transform .2s; }
.sheet .pp-sheetlink:hover { transform: translateY(-1px); }
.sheet .pp-sheetlink::before { content: "\2193"; font-weight: 800; }
@keyframes ppCardIn { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .sheet .pp-stock-sheet, .sheet .pp-variants, .sheet .pp-details { animation: none; } }

/* ===== ADDED 2026-10-24 (user: "re-check the item page -- variant icons small, nothing going out of the box,
   no hidden variants, more organised, neat and beautiful") -- item sheet v2. ===== */
.sheet .pp-stock-sheet, .sheet .pp-variants, .sheet .pp-details { padding: 14px; border-radius: 16px; overflow: hidden; }
.sheet .pp-sec-h { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.pp-sec-n { margin-left: 2px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #e0f2f1; color: #0e7490; font-size: 11px; letter-spacing: 0; display: inline-grid; place-items: center; }
/* stock: one tidy row */
.sheet .pp-stock-sheet { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.sheet .pp-stock-gd { margin: 0; }
.sheet .pp-stock-gd span { font-size: 12px; padding: 4px 9px; border-radius: 8px; }
.sheet .pp-stock-at { flex-basis: 100%; margin: 0; font-size: 11.5px; }
/* finishes: small tiles in a grid, all in view */
.pp-var-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 156px), 1fr)); gap: 8px; }
.sheet .pp-var { width: auto; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 7px; border-radius: 14px; text-align: left; justify-items: initial; background: #fbfcfd; border: 1px solid #e6eaf0; }
.sheet .pp-var:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -14px rgba(15,23,42,.55); border-color: #cbd5e1; }
.sheet .pp-var.is-on { border-color: #0891a6; background: #f0fbfc; box-shadow: 0 0 0 1px #0891a6 inset; }
.sheet .pp-var.is-more { display: none; }
.pp-variants.show-all .pp-var.is-more { display: flex; }
.sheet .pp-var-ph { flex: 0 0 44px; width: 44px; height: 44px; margin: 0; border-radius: 10px; background: #fff; border: 1px solid #eef1f5; overflow: visible; }
.sheet .pp-var-ph img { width: 100%; height: 100%; object-fit: contain; border-radius: 9px; }
.sheet .pp-var:hover .pp-var-ph img { transform: none; }
.sheet .pp-var-ph i, .sheet .pp-var-ph img + i { width: 16px; height: 16px; right: -4px; bottom: -4px; border-width: 2px; }
.sheet .pp-var-ph:not(:has(img)) i { position: static; width: 30px; height: 30px; border: 0; }
.pp-var-tx { min-width: 0; display: grid; gap: 1px; }
.sheet .pp-var-tx b { font-size: 12.5px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sheet .pp-var-tx small { font-size: 11px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet .pp-var em { justify-self: start; margin-top: 3px; padding: 1px 7px; font-size: 10px; }
.sheet .pp-var em.on { background: #0e7490; color: #fff; }
.pp-var-all { margin-top: 10px; width: 100%; padding: 9px; border-radius: 12px; border: 1px dashed #cbd5e1; background: transparent; font-family: inherit; font-weight: 600; font-size: 12.5px; color: #0e7490; cursor: pointer; }
/* details: tabs */
.pp-tabs { display: flex; gap: 4px; padding: 4px; margin: 0 0 12px; border-radius: 12px; background: #f1f5f9; overflow-x: auto; scrollbar-width: none; }
.pp-tabs button { flex: 1 0 auto; border: 0; background: transparent; padding: 8px 12px; border-radius: 9px; font-family: inherit; font-weight: 600; font-size: 12.5px; line-height: 1; color: #475569; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.pp-tabs button small { font-size: 10.5px; color: #94a3b8; margin-left: 3px; }
.pp-tabs button[aria-selected="true"] { background: #fff; color: #0f172a; box-shadow: 0 1px 3px rgba(15,23,42,.12); }
.pp-tab { animation: ppCardIn .25s ease both; }
.sheet .pp-desc { margin: 0; padding: 0; border: 0; font-size: 13.5px; line-height: 1.65; color: #334155; }
.sheet .pp-specs { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 6px; margin: 0; }
.sheet .pp-spec { display: flex; align-items: center; justify-items: initial; gap: 9px; padding: 7px 10px 7px 7px; border-radius: 12px; text-align: left; font-size: 12px; font-weight: 600; line-height: 1.25; background: #fbfcfd; }
.sheet .pp-spec:hover { transform: none; box-shadow: none; border-color: #cbd5e1; }
.pp-spec-ic { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 8px; background: #fff; border: 1px solid #eef1f5; display: grid; place-items: center; overflow: hidden; }
.pp-spec-ic:empty::before { content: "\2713"; color: #0f766e; font-weight: 800; }
.sheet .pp-spec-ic img { width: 24px; height: 24px; object-fit: contain; }
.sheet .pp-facts { display: block; margin: 0 0 12px; border: 1px solid #e6eaf0; border-radius: 12px; overflow: hidden; }
.sheet .pp-facts div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border: 0; border-radius: 0; background: transparent; }
.sheet .pp-facts div + div { border-top: 1px solid #eef1f5; }
.pp-facts dt { font-size: 12.5px; color: #64748b; margin: 0; }
.pp-facts dt i { font-style: normal; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 999px; background: #fef3c7; color: #92400e; margin-left: 4px; }
.pp-facts dd { margin: 0; font-size: 14px; font-weight: 700; color: #0f172a; font-variant-numeric: tabular-nums; }
.sheet .pp-sheetlink { width: 100%; justify-content: center; box-sizing: border-box; }
.sheet .pp-admin { border-radius: 16px; }


/* ===== ADDED 2026-10-24 (user: "the item view on a single screen instead of scrolling down") -- the item
   sheet laid out by sheetLayout() in product-photos.js: two columns on wide screens, a tab bar on phones.
   GetList is a light site: the sheet's cards stay light in dark mode too. ===== */
#sheet .pp-stock-sheet, #sheet .pp-variants, #sheet .pp-details { margin: 10px 0 0; background: #fff; border: 1px solid #e6eaf0; }
#sheet .sheetlinks { margin: 10px 0 0; }
#sheet .viewfullbtn { margin: 8px 0 0; }
#sheet .pp-admin { margin: 12px 0 0; }
#sheet .sheetlinks a, #sheet .viewfullbtn { min-height: 44px; font-size: 12.5px; }
#sheet #sheetQtyRow:not(:empty) { margin-top: 12px; }
#sheet #addFromSheetBtn, #sheet #copyBtn { margin: 12px 0 0 !important; font-size: 13px; padding-left: 8px; padding-right: 8px; }
.pp-dim { color: #94a3b8 !important; font-weight: 600 !important; font-size: 12.5px !important; }
.pp-facts dt i { text-transform: uppercase; letter-spacing: .04em; }
.pp-snav { display: flex; gap: 4px; padding: 4px; margin: 12px 0 0; border-radius: 14px; background: #f1f5f9; }
.pp-snav button { flex: 1 1 0; min-width: 0; border: 0; background: transparent; padding: 10px 6px; border-radius: 10px; font-family: inherit; font-weight: 700; font-size: 13px; color: #475569; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.pp-snav button[aria-selected="true"] { background: #fff; color: #0f172a; box-shadow: 0 1px 4px rgba(15,23,42,.14); }

/* phones and narrow windows: one column, tab bar, Add / Copy pinned at the bottom */
@media (max-width: 899px) {
  #sheet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 10px; align-content: start; }
  #sheet > *, #sheet .pp-col > * { grid-column: 1 / -1; min-width: 0; }
  #sheet .pp-col { display: contents; }
  #sheet .sheet-handle { order: -3; justify-self: center; }
  #sheet .sheet-shore { order: -2; }
  #sheet .pp-snav { order: 1; }
  #sheet .pp-stock-sheet { order: 2; } #sheet .pp-variants { order: 3; } #sheet .pp-details { order: 4; }
  #sheet .sheetlinks, #sheet .viewfullbtn { order: 6; } #sheet .pp-admin { order: 7; }
  #sheet #sheetQtyRow { order: 8; }
  #sheet #addFromSheetBtn, #sheet #copyBtn { order: 9; grid-column: auto; position: sticky; bottom: 0; z-index: 3;
    box-shadow: 0 0 0 6px #fff, 0 30px 0 6px #fff, 0 -18px 22px 2px rgba(255,255,255,.92) !important; }
  #sheet[data-tab] .pp-stock-sheet, #sheet[data-tab] .pp-variants, #sheet[data-tab] .pp-details,
  #sheet[data-tab] .sheetlinks, #sheet[data-tab] .viewfullbtn, #sheet[data-tab] .pp-admin { display: none; }
  #sheet[data-tab="fin"] .pp-variants, #sheet[data-tab="det"] .pp-details, #sheet[data-tab="stk"] .pp-stock-sheet { display: block; }
  #sheet[data-tab="stk"] .pp-stock-sheet { display: flex; }
  #sheet[data-tab="more"] .sheetlinks { display: flex; } #sheet[data-tab="more"] .viewfullbtn, #sheet[data-tab="more"] .pp-admin { display: block; }
  #sheet .sheet-shore .shore-desc { -webkit-line-clamp: 2; }
  #sheet .sheet-shore .shore-prices { margin-top: 10px; padding-top: 10px; }
  #sheet .sheet-shore { padding-top: 16px; padding-bottom: 14px; }
}

/* wide screens: two columns that fit the window */
@media (min-width: 900px) {
  .overlay:has(#sheet) { align-items: center; }
  #sheet { max-width: 1100px; width: calc(100vw - 64px); height: min(820px, calc(100vh - 56px)); max-height: none; overflow: hidden;
    display: grid; grid-template-columns: minmax(340px, 410px) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); column-gap: 22px; padding: 22px; box-sizing: border-box; }
  #sheet .sheet-handle, #sheet .pp-snav { display: none; }
  #sheet .pp-col { min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
  #sheet .pp-col-l { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 10px; align-content: start; }
  #sheet .pp-col-l > * { grid-column: 1 / -1; min-width: 0; }
  #sheet .pp-col-l > #addFromSheetBtn, #sheet .pp-col-l > #copyBtn { grid-column: auto; }
  #sheet .pp-col-r { display: flex; flex-direction: column; padding-right: 4px; }
  #sheet .pp-col-r > * { flex-shrink: 0; }
  #sheet .pp-col-r > .pp-variants { order: 1; margin-top: 0; } #sheet .pp-col-r > .pp-details { order: 2; }
  #sheet .pp-col-r > .sheetlinks { order: 3; } #sheet .pp-col-r > .viewfullbtn { order: 4; } #sheet .pp-col-r > .pp-admin { order: 5; }
  #sheet .pp-col-l > .sheet-shore { margin-top: 0; }
  #sheet .pp-col-l > .pp-stock-sheet { order: 2; } #sheet .pp-col-l > #sheetQtyRow { order: 3; }
  #sheet .pp-col-l > #addFromSheetBtn, #sheet .pp-col-l > #copyBtn { order: 4; }
  #sheet .pp-var-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
}
.sw-beta[hidden]{display:none !important;}

/* ===== PERFORMANCE (ADDED 2026-10-25, user: "lags in GetList") =====================================
   Measured at phone speed: each keystroke froze the page 0.5-2 s (drawing 150 result cards) and the page
   kept drawing ~450 ms in every 3 s while idle (background rain + search-bar waves, forever).
   - a result card off screen is not drawn until it scrolls in (content-visibility)
   - the background rain is gone (decorative, drew all the time)
   - the search-bar waves move only while typing in it
   - no frosted-glass blur on phones (very slow to draw there)
   - "reduce motion" in the phone's settings stops every animation */
.card { content-visibility: auto; contain-intrinsic-size: auto 150px; }
#bgwaterLayer, .bgwater { display: none !important; }
#searchBar:not(.active) .search-water svg, #searchBar:not(.active) .sw-bubble { animation-play-state: paused !important; }
@media (pointer: coarse), (max-width: 900px) {
  *, *::before, *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ADDED 2026-10-25 (user: "every app should fit the screen -- phone, iPad, computer"): no page ever slides
   sideways on a phone; wide parts (tables, chip rows) scroll inside themselves instead. "clip" (not "hidden")
   keeps sticky headers working; older browsers simply ignore it. */
html, body { max-width: 100%; overflow-x: clip; }
img, video, canvas, svg { max-width: 100%; }
table { max-width: 100%; }
.table-wrap, .tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ═══ GetList — new look (beta), 2026-10-29 ═══════════════════════════════════════════════════
 * What GetList is for: a showroom price list and quotation maker -- a dealer or our staff finds an
 * item by code or name, sees its photo and price, adds it to a quotation and sends it to the
 * customer. So the look is a calm catalogue: warm paper background, ink text, prices in a brass
 * figure face that stands out, bigger photos (the product is what sells), and the quotation list as
 * the hero of the page. Appended to the live site.css by tools/beta/newlook.py (beta only).
 */
:root{
  --bg:#F6F4EF; --panel:#FFFFFF; --line:#E7E2D8; --line-2:#D9D2C4;
  --ink:#141A22; --ink-2:#26303C; --steel:#5C6570;
  --teal:#0E7C86; --teal-deep:#0A5C64; --teal-tint:#E4F2F2;
  --brass:#A8741F; --brass-deep:#7E5514; --brass-tint:#F8EEDB;
  --radius:16px; --radius-lg:22px;
  --shadow-sm:0 1px 0 rgba(20,26,34,.04); --shadow-md:0 16px 36px -22px rgba(20,26,34,.30);
}
.price-val{font-family:'Space Grotesk',var(--sans); color:var(--brass-deep); letter-spacing:-.02em}
.thumb{width:56px; height:56px; border-radius:14px; background:#fff; border:1px solid var(--line)}
.card{border-radius:var(--radius); border-color:var(--line)}
.searchbar{border-radius:16px; box-shadow:0 14px 34px -24px rgba(20,26,34,.45)}
.searchbar input{font-size:16px}
.lv-item{border-radius:14px}
.lv-photo{width:64px; height:64px; border-radius:14px}
.lv-btn.primary{background:var(--ink); border-color:var(--ink); color:#fff}
.lv-quote{border-radius:18px}
.sq-bar{background:linear-gradient(135deg,#fff,var(--brass-tint)) !important; border-color:var(--line-2) !important}
.toast{border-radius:14px}
.gl-beta-tag{position:fixed; left:12px; bottom:12px; z-index:9999; font:700 10px/1 var(--sans); letter-spacing:.14em; padding:5px 10px; border-radius:99px;
  background:var(--ink); color:#fff; opacity:.75; pointer-events:none}
/* REDONE 2026-11-08 (user: "own company logo on the left, the brand of the page in the centre, account and menu at
   the right corners"). Three zones on every GetList page:
   left   = back, MS Kala logo;   centre = the brand of this price list, pinned to the middle;
   right  = Find, (install), account, Brands menu -- the menu in the corner.
   Phones: the account and Brands show only their icons, the logo only its picture, Find only its icon. */
.gnav{display:flex;align-items:center;position:sticky;top:0;gap:8px}   /* 2026-11-14: was position:relative -- the bar scrolled away on phones (sticky also holds the centred brand) */
.gnav > *{flex:none}
.gnav-back{order:1}
.gnav-logo{order:2;flex:none !important;margin-right:0 !important;min-width:28px}
.gnav-logo img{flex:none;height:30px;width:auto}
.gnav-brand{position:absolute !important;left:50%;top:50%;transform:translate(-50%,-50%);margin:0 !important;max-width:34%;z-index:1}
.gnav .gl-find-nav{order:3;margin-left:auto;color:#fff}
.gnav .gnav-install{order:4}
.gnav .ms-acct{order:5;margin-left:0}
.gnav #gnavMenuBtn{order:6;margin-left:0 !important}
.gnav > .ms-acct:first-child, .gnav .gl-find-nav ~ .ms-acct{margin-left:0}
.gnav:not(:has(.gl-find-nav)) .gnav-install, .gnav:not(:has(.gl-find-nav)) .ms-acct{margin-left:auto}
@media (max-width:640px){
  .gnav .ms-acct-btn > span, #gnavMenuBtn > span{display:none}
  .gnav .ms-acct-btn, #gnavMenuBtn{padding:0 11px}
  .gnav-back ~ .gnav-logo span{display:none}
  .gnav-brand{max-width:30%}
  .gnav .gl-find-nav{font-size:0;padding:6px 8px}.gnav .gl-find-nav::before{content:'\2315';font-size:18px;font-weight:700}
}
@media (max-width:380px){ .gnav-logo span{display:none} .gnav{gap:6px;padding:0 10px} }
