@font-face{font-family:Inter;font-weight:400;font-style:normal;font-display:swap;src:url('/assets/inter-latin-400.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215}
@font-face{font-family:Inter;font-weight:400;font-style:normal;font-display:swap;src:url('/assets/inter-latin-ext-400.woff2') format('woff2');unicode-range:U+0100-02FF,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Inter;font-weight:400;font-style:normal;font-display:swap;src:url('/fonts/inter-cyrillic-400-normal.woff2') format('woff2');unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;font-weight:600;font-style:normal;font-display:swap;src:url('/assets/inter-latin-600.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215}
@font-face{font-family:Inter;font-weight:600;font-style:normal;font-display:swap;src:url('/assets/inter-latin-ext-600.woff2') format('woff2');unicode-range:U+0100-02FF,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Inter;font-weight:600;font-style:normal;font-display:swap;src:url('/fonts/inter-cyrillic-600-normal.woff2') format('woff2');unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
:root{font-family:var(--body);color:#202020;background:#f5f5f2;font-synthesis:none;--gold:#b49554;--muted:#6d6d69;--line:#e4e4df;--ink:#151515}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit}button,input,select,textarea{border-radius:0}button{border:1px solid var(--line);padding:11px 16px;background:#fff;color:var(--ink)}button:hover:not(:disabled){border-color:#aaa}button:focus-visible,a:focus-visible{outline:3px solid #b49554;outline-offset:3px}input,select,textarea{border:1px solid #d8d8d1;background:white;padding:12px;width:100%;color:#202020}input:focus,select:focus,textarea:focus{outline:2px solid #b49554;outline-offset:1px}label{display:grid;gap:7px;font-size:13px;font-weight:400}h1,h2,h3,p{margin:0}h1{font-size:32px;letter-spacing:-1px;font-weight:400}h2{font-size:22px;font-weight:400}h3{font-size:16px}p{line-height:1.6}.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:2px;color:var(--muted);font-size:10px;font-weight:400}.primary{background:var(--ink);border-color:var(--ink);color:white}.primary:hover:not(:disabled){background:#333}.gold{background:#ddc58d;border-color:#ddc58d;color:#202020}.link-button{padding:4px 0;border:0;background:none;text-decoration:underline;color:var(--muted)}.brand-word{font-family:var(--body);font-weight:400;letter-spacing:-2px;font-size:32px}.brand-sub{font-size:9px;letter-spacing:3px;text-transform:uppercase;margin-top:7px}.boot {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 18px;
  padding: 24px;
  background: #fff;
}
.boot p { margin: 0; }
.boot-message > span { display: none; }
html[lang="lv"] .boot-message > [lang="lv"],
html[lang="en"] .boot-message > [lang="en"],
html[lang="lt"] .boot-message > [lang="lt"],
html[lang="et"] .boot-message > [lang="et"],
html[lang="fi"] .boot-message > [lang="fi"] { display: inline; }

.boot-inline { min-height: 160px; }
.boot-inline[hidden], .document-sheet[hidden], .zoom-canvas[hidden] { display: none; }
.boot-logos {
  width: min(100%, 360px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(10px, 3vw, 24px);
}
.boot-logos img {
  display: block;
  width: 100%;
  height: clamp(48px, 14vw, 84px);
  object-fit: contain;
}
.boot-logos img:nth-child(-n+2) { filter: invert(1); }
.boot-logos img:nth-child(2) { height: clamp(36px, 10vw, 62px); }.login-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-story{background:#000;color:#fff;display:grid;grid-template-rows:1fr auto 1fr;justify-items:center;align-items:center;text-align:center;gap:clamp(34px,6vh,64px);padding:clamp(36px,6vh,72px) clamp(24px,4vw,72px);min-height:100vh}.login-story .brand-word{font-size:43px}.login-story h1{font-family:inherit;font-weight:400;font-size:clamp(28px,3.8vw,58px);line-height:1.1;max-width:520px;margin-inline:auto;letter-spacing:-.045em}.login-story p{color:#b4b4ad;margin:18px auto 0;max-width:360px;font-size:15px}.login-story footer{font-size:11px;color:#b4b4ad;letter-spacing:1px}.login-panel{display:flex;align-items:center;justify-content:center;padding:48px}.login-card{max-width:410px;width:100%;display:grid;gap:27px}.login-card h2{font-size:28px;letter-spacing:-.6px;margin:12px 0}.login-card form{display:grid;gap:20px}.login-card .primary{margin-top:6px;padding:15px}.login-help{font-size:12px;line-height:1.7;color:var(--muted);border-top:1px solid var(--line);padding-top:20px}.shell{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh}.sidebar{background:#191919;color:#fff;padding:30px 20px;display:flex;flex-direction:column;position:fixed;width:220px;height:100dvh;z-index:10}.sidebar .brand-word{font-size:30px}.sidebar .brand-sub{color:#b4b4ad}.sidebar nav{display:grid;gap:7px;margin-top:48px}.nav-button{text-align:left;background:none;color:#bfbfb6;border-color:transparent;font-size:13px;display:flex;gap:14px;align-items:center;padding:13px 12px}.nav-button.active{background:#30302b;color:#f2ddad}.nav-button .nav-icon{font-size:17px;width:19px}.sidebar-bottom{margin-top:auto;border-top:1px solid #393934;padding-top:22px;font-size:11px;color:#aaa;display:grid;gap:14px}.sidebar-bottom button{background:none;color:#ddd;border-color:#494940}.main{grid-column:2;min-width:0}.topbar{height:74px;display:flex;justify-content:space-between;align-items:center;background:#fff;border-bottom:1px solid var(--line);padding:0 34px;gap:20px}.topbar .company{font-size:13px;font-weight:400}.topbar .account{font-size:11px;color:var(--muted)}.avatar{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:0;background:#eee9de;color:#645127;font-size:12px;font-weight:400}.topbar-right{display:flex;align-items:center;gap:13px}.mobile-brand{display:none}.page{padding:32px 34px 80px;max-width:1700px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:27px}.page-heading p{font-size:13px;color:var(--muted);margin-top:10px}.pill{font-size:10px;padding:7px 10px;background:#eee9dd;border-radius:0;color:#6e582c;white-space:nowrap}.catalogue-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}.filters{display:grid;grid-template-columns:minmax(180px,1.6fr) 1fr 1fr;gap:10px;margin-bottom:17px}.filters input,.filters select{font-size:12px;padding:12px}.results{font-size:11px;color:var(--muted);display:flex;justify-content:space-between;margin-bottom:16px}.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.product-card{background:#fff;border:1px solid var(--line);border-radius:0;overflow:hidden;display:flex;flex-direction:column}.product-photo{background:#f7f7f5;border:0;border-radius:0;height:210px;padding:18px;width:100%;position:relative}.product-photo img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.product-photo .no-image{color:#c1bcae;font-family:var(--body);font-size:50px}.product-body{padding:17px;display:flex;flex-direction:column;gap:10px;flex:1}.product-meta{font-size:9px;color:#8b8981;letter-spacing:.5px}.product-title{font-size:13px;line-height:1.5;font-weight:400;text-align:left;border:0;padding:0;background:none;border-radius:0;min-height:38px}.price-row{margin-top:auto;display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding-top:6px}.price-row strong{font-size:17px}.price-row small{font-size:10px;color:var(--muted)}.pack{font-size:10px;color:var(--muted)}.quantity{display:grid;grid-template-columns:34px 1fr 34px;align-items:center;border:1px solid var(--line);border-radius:0;margin-top:2px;height:35px;overflow:hidden}.quantity button{padding:0;height:100%;border:0;border-radius:0;background:#fafaf8;font-size:18px}.quantity input{padding:5px;text-align:center;border:0;border-radius:0;appearance:textfield;font-size:12px;min-width:0}.quantity input::-webkit-inner-spin-button{appearance:none}.cart-panel{background:#fff;border:1px solid var(--line);border-radius:0;padding:22px;position:sticky;top:24px}.cart-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.cart-title span{font-size:11px;color:var(--muted)}.cart-empty{padding:22px 0 35px;text-align:center;color:var(--muted);font-size:12px}.cart-summary{display:flex;justify-content:space-between;margin:12px 0;font-size:12px}.cart-total{border-top:1px solid var(--line);padding-top:20px;margin-top:20px;display:flex;justify-content:space-between;align-items:baseline;font-size:12px}.cart-total strong{font-size:23px}.cart-panel .primary{width:100%;margin-top:22px;font-size:12px}.fine-print{font-size:10px!important;line-height:1.65;color:var(--muted);margin-top:13px}.cart-item{font-size:11px;padding:11px 0;border-bottom:1px solid var(--line);display:grid;gap:5px}.cart-item small{color:var(--muted)}.panel{background:#fff;border:1px solid var(--line);border-radius:0;padding:25px;margin-bottom:20px}.empty{padding:50px 20px;text-align:center;color:var(--muted);font-size:14px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:25px}.stat{background:white;border:1px solid var(--line);border-radius:0;padding:25px}.stat strong{font-size:32px;display:block;margin-top:15px;font-weight:400}.intro-panel{background:#e9e5da;padding:32px;border-radius:0;display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:25px}.intro-panel h2{font-family:var(--body);font-size:29px;font-weight:400}.intro-panel p{font-size:13px;margin-top:12px;color:#666}.intro-panel button{white-space:nowrap}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}th{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);padding:13px 10px;border-bottom:1px solid var(--line);font-weight:400}td{padding:16px 10px;border-bottom:1px solid var(--line);line-height:1.5}td a{font-weight:400}.order-detail{margin:15px 0}.order-detail summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;padding:14px 0;font-size:13px}.status{display:inline-block;font-size:10px;padding:5px 9px;background:#f0eee7;border-radius:0}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.kv{display:grid;grid-template-columns:140px 1fr;font-size:13px;gap:15px;margin-top:23px;line-height:1.5}.kv dt{color:var(--muted)}.kv dd{margin:0}.admin-forms{display:grid;grid-template-columns:1fr 1fr;gap:20px}.admin-forms form{display:grid;gap:15px}.admin-forms h3{margin-bottom:5px}.document-count{font-size:12px;color:var(--muted);margin-top:18px}.error-box{background:#fff1ef;color:#8b3026;border:1px solid #f0c6be;border-radius:0;padding:14px;font-size:12px;line-height:1.6}.info-box{background:#f2eee4;border:1px solid #e7dfcc;border-radius:0;padding:15px;font-size:12px;color:#685c43;line-height:1.6;margin:15px 0}.mobile-cart{display:none}dialog{border:1px solid var(--line);border-radius:0;padding:0;width:min(950px,94vw);max-height:90dvh;overflow:auto;background:#fff;color:#202020}dialog::backdrop{background:#0008;backdrop-filter:blur(3px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;padding:20px 25px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:2}.dialog-header button{border:0;padding:5px 10px;font-size:24px}.product-detail{display:grid;grid-template-columns:300px 1fr;gap:30px;padding:28px}.detail-image{height:330px;width:100%;object-fit:contain;background:#f7f7f5;border-radius:0;padding:22px}.detail-info h2{line-height:1.35;margin:10px 0 20px}.detail-price{font-size:23px;margin-bottom:10px}.tab-list{display:flex;gap:5px;overflow:auto;border-bottom:1px solid var(--line);padding:0 25px}.tab-list button{font-size:11px;white-space:nowrap;border:0;border-bottom:2px solid transparent;border-radius:0;padding:16px 12px;color:var(--muted)}.tab-list button[aria-selected=true]{border-color:var(--gold);color:#202020;font-weight:400}.tab-content{padding:26px;white-space:pre-wrap;font-size:13px;line-height:1.8;min-height:170px}.tab-content table{white-space:normal}.review-content{padding:25px;display:grid;gap:18px}.review-content footer{display:flex;justify-content:space-between;gap:15px;align-items:center}.review-content textarea{min-height:85px;resize:vertical}#notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#222;color:white;padding:14px 23px;border-radius:0;box-shadow:0 8px 35px #0002;z-index:100;font-size:13px;max-width:90vw;display:none}#notice.visible{display:block}.busy{opacity:.6;pointer-events:none}@media(min-width:1600px){.products{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1200px){.shell{grid-template-columns:185px minmax(0,1fr)}.sidebar{width:185px;padding:30px 14px}.sidebar .brand-word{font-size:25px}.page{padding:28px 22px 80px}.topbar{padding:0 22px}.catalogue-layout{grid-template-columns:minmax(0,1fr) 245px}.products{grid-template-columns:repeat(2,minmax(0,1fr))}.filters{grid-template-columns:1fr 1fr}.filters input{grid-column:1/-1}.product-photo{height:220px}.cart-panel{padding:18px}}@media(max-width:850px){.sidebar{width:165px}.shell{grid-template-columns:165px minmax(0,1fr)}.sidebar .brand-word{font-size:22px}.catalogue-layout{grid-template-columns:1fr}.cart-panel{position:static}.cart-empty{padding:15px}.login-story{padding:35px}.login-panel{padding:35px}.account-grid,.admin-forms{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:18px}.stat strong{font-size:25px}}@media(max-width:600px){.login-page{grid-template-columns:1fr}.login-story{grid-template-rows:auto;min-height:0;padding:32px 24px 40px;gap:28px}.login-story .brand-word{font-size:32px}.login-story h1{font-size:clamp(27px,7vw,34px);max-width:320px}.login-story p{display:none}.login-story footer{display:none}.login-panel{padding:35px 25px}.login-card{max-width:none}.shell{display:block}.sidebar{height:auto;width:100%;position:sticky;top:0;padding:0;background:#171717}.sidebar>.brand,.sidebar-bottom{display:none}.sidebar nav{display:flex;margin:0;gap:0;overflow:auto;padding:6px}.nav-button{font-size:10px;gap:5px;padding:11px 10px;white-space:nowrap;border-radius:0}.nav-button .nav-icon{font-size:14px;width:15px}.main{display:block}.topbar{height:66px;padding:0 17px;gap:10px}.mobile-brand{display:block;font-family:var(--body);font-size:19px;font-weight:400;letter-spacing:-1px}.topbar .company{font-size:11px}.topbar .account{display:none}.topbar-right{gap:8px}.topbar-right .avatar{width:28px;height:28px}.page{padding:24px 16px 110px}.page-heading{margin-bottom:23px;align-items:start}h1{font-size:27px}.page-heading p{font-size:12px}.pill{font-size:9px;padding:6px}.products{gap:10px}.product-photo{height:170px;padding:13px}.product-body{padding:12px;gap:8px}.product-title{font-size:11px;min-height:34px}.product-meta{font-size:8px}.price-row{flex-wrap:wrap;gap:3px}.price-row strong{font-size:15px}.pack{font-size:9px}.quantity{grid-template-columns:30px 1fr 30px;height:34px}.filters{gap:8px}.filters input,.filters select{font-size:11px;padding:11px}.cart-panel{padding:20px}.mobile-cart{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);padding:12px 17px;z-index:9;justify-content:space-between;align-items:center;font-size:12px;box-shadow:0 -5px 25px #0001}.mobile-cart strong{font-size:17px;display:block;margin-top:3px}.mobile-cart button{font-size:12px;padding:12px 20px}.stats{grid-template-columns:repeat(3,1fr)}.stat{padding:15px 12px;font-size:10px}.stat strong{font-size:22px}.intro-panel{padding:24px;display:block}.intro-panel h2{font-size:25px}.intro-panel button{margin-top:20px}.panel{padding:19px}.kv{grid-template-columns:105px 1fr;font-size:12px;gap:14px}.product-detail{grid-template-columns:1fr;padding:20px;gap:20px}.detail-image{height:240px}.detail-info h2{font-size:22px}.detail-price{font-size:21px}.tab-list{padding:0 12px}.tab-content{padding:20px;font-size:12px}.dialog-header{padding:15px 20px}dialog{width:96vw;max-height:94dvh}.review-content{padding:19px}.review-content footer{align-items:stretch;flex-direction:column}.review-content footer button{width:100%}.order-detail summary{font-size:11px;flex-wrap:wrap}#notice{bottom:85px}.topbar-logout{padding:5px 8px;font-size:10px}.topbar select{max-width:140px;font-size:11px;padding:7px}}

/* Reference-aligned typography and 92px icon sidebar. */

:root{font-family:var(--body);font-size:14px;background:#f4f4f2;color:#141414;--ink:#000;--gold:#888;--line:#e8e8e4}
.shell{grid-template-columns:92px minmax(0,1fr)}.sidebar{width:92px;background:#000;padding:0;align-items:stretch}.sidebar .brand{height:90px;display:grid;place-items:center;padding:10px 8px 5px}.sidebar .brand img{width:76px;height:76px;object-fit:contain}.sidebar nav{margin-top:0;padding:4px 8px 16px;gap:4px}.nav-button{width:76px;min-height:66px;padding:12px 2px;flex-direction:column;justify-content:center;gap:6px;text-align:center;color:#c4c4c4;font-size:10.5px;font-weight:400;border:0;border-radius:0}.nav-button.active{background:#222;color:#fff}.nav-icon{width:24px!important;height:24px;font-size:21px!important}.nav-icon svg{height:24px;width:24px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}.sidebar-bottom{display:none}.topbar{height:68px;padding:0 28px;justify-content:flex-start;gap:16px;position:sticky;top:0;z-index:8;background:#fffffff2;backdrop-filter:blur(10px)}#global-search-form{max-width:340px;width:32%;flex-shrink:0}#global-search-form input{padding:10px 13px;font-size:12px;border-color:#ebebeb;border-radius:0}.language-badge{padding:10px;border:1px solid #eee;border-radius:0;font-size:12px;font-weight:400}.topbar-right .avatar{background:#000;color:#fff;border-radius:0;width:38px;height:38px;order:-1}.topbar .company{font-size:12px}.topbar .account{font-size:11px}.topbar-right{gap:10px}.topbar-logout{padding:10px 12px;font-size:12px;border-radius:0;color:#666}.page{max-width:none;padding:28px}.page-heading{margin-bottom:20px}.page-heading h1{font-size:26px;line-height:1.2;letter-spacing:-.52px;font-weight:400}.page-heading .eyebrow{display:none}.page-heading p{font-size:12px;margin-top:7px}.pill{color:#555;background:#eaeae6}.catalogue-layout{grid-template-columns:minmax(0,1fr) 360px;gap:20px}.filters{grid-template-columns:minmax(200px,1.6fr) 1fr 1fr}.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.product-card{border-radius:0;border:1px solid #ebebe8;box-shadow:0 1px 2px #00000003}.product-photo{height:220px;padding:20px;background:#fff;border-bottom:1px solid #f5f5f2}.product-photo img{width:180px;max-width:100%;height:180px;object-fit:contain;mix-blend-mode:normal}.product-body{padding:16px;gap:6px}.product-title{font-size:13px;font-weight:400;line-height:1.35;min-height:35px}.product-meta{font:11px var(--body);color:#999;letter-spacing:0;line-height:1.5}.details-button{font-size:11px;font-weight:400;align-self:flex-start;padding:5px 10px;border:1px solid #e4e4e0;border-radius:0;display:flex;align-items:center;gap:5px;margin:3px 0 3px}.price-row{padding-top:3px;margin-top:auto}.price-row strong{font-size:18px;letter-spacing:-.3px}.price-row small{font-size:10px}.pack{font-size:10px}.quantity{grid-template-columns:34px minmax(0,1fr) 48px 34px;background:#f6f6f3;height:40px;border-radius:0;border:1px solid #dfdfda;margin-top:10px}.quantity input,.quantity button{background:transparent;font-weight:400}.quantity-unit{font-size:9px;color:#888;letter-spacing:.3px;text-align:center}.cart-panel{top:90px;border-radius:0;border:1px solid #e8e8e4;box-shadow:0 1px 2px #00000003;padding:22px}.cart-title{margin-bottom:10px}.cart-title h3{font-size:13px}.source-cart-total{font-size:36px;font-weight:400;letter-spacing:-1px;margin-bottom:20px}.cart-summary{padding:12px 0;margin:0;border-bottom:1px dashed #ededeb;color:#777}.cart-summary strong{color:#222}.cart-total{display:none}.cart-panel .primary{background:#000;padding:15px 16px;font-weight:400;text-transform:uppercase;border-radius:0}.cart-empty{background:#edf2fa;color:#53709d;border-radius:0;padding:16px;font-size:11px;line-height:1.6;margin:15px 0}.fine-print{font-size:10px!important}.details-button span{font-size:13px}.tab-list button[aria-selected=true]{border-color:#141414}.intro-panel{background:#e9e9e4}.intro-panel h2{font-family:var(--body);font-size:26px;font-weight:400}.gold{background:#e9e9e4;color:#141414;border-color:#ddd}
@media(min-width:1600px){.products{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1200px){.catalogue-layout{grid-template-columns:minmax(0,1fr) 300px}.products{grid-template-columns:repeat(2,minmax(0,1fr))}.filters{grid-template-columns:1fr 1fr}.filters input{grid-column:1/-1}.topbar .account{display:none}}
@media(max-width:900px){.catalogue-layout{grid-template-columns:1fr}.cart-panel{position:static}.topbar{padding:0 18px;gap:10px}.page{padding:24px 18px}.product-photo{height:215px}.topbar .company{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.language-badge{display:none}#global-search-form{flex:1;max-width:none;width:auto}}
@media(max-width:600px){.shell{display:block}.sidebar{width:100%;height:auto;padding:0;position:sticky;top:0}.sidebar .brand{display:none}.sidebar nav{padding:5px;gap:1px;display:flex;overflow:auto}.nav-button{min-height:53px;min-width:63px;width:auto;padding:5px 7px;flex-direction:column;gap:4px;font-size:8px;border-radius:0}.nav-icon,.nav-icon svg{width:20px!important;height:20px}.topbar{height:62px;padding:0 12px;position:static;gap:9px}.topbar .company,.topbar .mobile-brand,.topbar .account{display:none}.topbar-right .avatar{height:30px;width:30px;border-radius:0;font-size:10px}.topbar-logout{font-size:10px;padding:8px}.page{padding:22px 13px 110px}.page-heading h1{font-size:24px}.page-heading p{font-size:11px}.page-heading .pill{font-size:8px;max-width:95px;white-space:normal;line-height:1.5}.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-photo{height:170px;padding:10px}.product-photo img{width:150px;height:150px}.product-body{padding:12px;gap:6px}.product-title{font-size:11px;min-height:31px}.product-meta{font-size:8px}.details-button{font-size:9px;padding:4px 7px;gap:4px}.price-row strong{font-size:17px}.quantity{grid-template-columns:26px minmax(0,1fr) 37px 26px;height:36px}.quantity-unit{font-size:7px}.quantity input{font-size:11px}.cart-panel{padding:20px}.filters input,.filters select{font-size:11px}.source-cart-total{font-size:30px}.mobile-cart{font-size:11px}.mobile-cart .primary{border-radius:0}.intro-panel h2{font-size:23px}}

.advanced-toolbar{display:flex;gap:10px;justify-content:space-between;margin-bottom:14px}.advanced-toolbar button,.advanced-toolbar select{font-size:11px;padding:9px 12px;border-radius:0}.advanced-toolbar select{max-width:210px}.advanced-filters:not([hidden]){display:flex;gap:15px;align-items:center;background:#eeeee9;padding:13px;border-radius:0;margin-bottom:16px}.advanced-filters label{font-size:10px;max-width:150px}.advanced-filters label:first-child{display:flex;align-items:center;gap:6px;white-space:nowrap}.advanced-filters input[type=checkbox]{width:15px}.advanced-filters input[type=number]{padding:8px;font-size:11px}.order-lines-heading{margin-top:25px}@media(max-width:600px){.advanced-toolbar select{max-width:180px}.advanced-filters:not([hidden]){gap:9px}.advanced-filters label{max-width:95px}.advanced-toolbar button{font-size:10px;padding:8px}}

@media(max-width:600px){.sidebar nav{scrollbar-width:none}.sidebar nav::-webkit-scrollbar{display:none}.tab-list{scrollbar-width:thin}}
/* Original product photo viewer: fit first, then zoom and pan without cropping. */
.product-photo,.detail-image-button{cursor:zoom-in}.detail-image-button{border:0;padding:0;background:transparent;position:relative;width:100%;border-radius:0;overflow:hidden}.detail-image-button .detail-image{width:100%;display:block}.detail-zoom-hint{position:absolute;right:10px;bottom:10px;background:#fffef0ed;color:#333;border:1px solid #ddd;border-radius:0;font-size:11px;padding:6px 10px}
#image-dialog{width:min(1200px,96vw);height:92vh;max-width:96vw;max-height:96vh;padding:0;overflow:hidden;border:0;border-radius:0;background:#fff}#image-dialog[open]{display:flex;flex-direction:column}#image-dialog::backdrop{background:#000b;backdrop-filter:blur(4px)}.zoom-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;border-bottom:1px solid #eee;flex-shrink:0}.zoom-header h2{font-size:16px;margin:5px 0 0;font-weight:400;line-height:1.3}.zoom-header>button{font-size:28px;line-height:1;width:40px;height:40px;border-radius:0;background:#f5f5f3;flex-shrink:0}.zoom-stage{flex:1;min-height:0;overflow:auto;background:#fff;overscroll-behavior:contain;cursor:zoom-in;touch-action:pan-x pan-y pinch-zoom}.zoom-canvas{min-width:100%;min-height:100%;width:max-content;display:grid;place-items:center}.zoom-stage img{display:block;object-fit:contain;max-width:none;max-height:none;user-select:none;-webkit-user-drag:none}.zoom-stage.is-zoomed{cursor:grab}.zoom-stage.is-zoomed:active{cursor:grabbing}.zoom-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;border-top:1px solid #eee;background:#fafaf8;flex-shrink:0}.zoom-hint{font-size:12px;color:#777}.zoom-toolbar>div{display:flex;gap:5px}.zoom-toolbar button{min-width:42px;height:40px;border:1px solid #deded9;border-radius:0;background:white;font-size:18px}.zoom-toolbar [data-zoom-reset]{min-width:68px;font-size:12px}.zoom-toolbar button:disabled{opacity:.35;cursor:default}@media(max-width:600px){#image-dialog{height:92dvh;width:96vw;border-radius:0}.zoom-header{padding:13px 15px}.zoom-header h2{font-size:13px}.zoom-header .eyebrow{font-size:8px}.zoom-toolbar{padding:10px 12px;justify-content:center}.zoom-hint{display:none}}

/* Beta v2: source-aligned ordering controls and responsive checkout. */
.beta-version{font-size:10px;color:#777;white-space:nowrap}.language-badge{border:0;background:transparent;font:inherit;font-size:12px;max-width:60px}.cart-quantity{display:flex;gap:4px;margin-top:8px}.cart-quantity button{width:29px;height:29px;padding:0;border:1px solid #ddd;border-radius:0;background:white}.cart-quantity input{width:50px;min-width:0;text-align:center;padding:3px}.clear-cart{border:0;color:#666;background:transparent;text-decoration:underline;font-size:11px;margin-bottom:10px}.detail-quantity{max-width:260px}.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.checkout-layout .panel{min-width:0}.checkout-summary{position:sticky;top:90px}.checkout-summary .primary{width:100%}.address-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:25px 0}.back-link{border:0;background:transparent;margin:0 0 18px;padding:0;color:#555}.order-filters{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:18px;align-items:end}.order-filters>input{flex:1;min-width:180px}.order-filters>select{width:auto}.order-filters label{flex:1;min-width:130px}.order-filters label input{width:100%}.order-filters>button{border:1px solid #ddd;background:white;border-radius:0;padding:11px}.order-timeline{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:20px;margin:20px 0}.order-timeline li{border-left:2px solid #171717;padding-left:12px;font-size:12px}.order-timeline time{display:block;color:#777;margin-top:4px}.confirm-dialog{border:0;border-radius:0;max-width:420px;width:calc(100% - 32px)}.dialog-actions{display:flex;justify-content:end;gap:12px;margin-top:24px}.dialog-actions>button{padding:12px;border-radius:0}.stats{grid-template-columns:repeat(4,1fr)}
@media(max-width:1000px){.checkout-layout{grid-template-columns:1fr}.checkout-summary{position:static}.beta-version{display:none}}@media(max-width:600px){.address-grid{grid-template-columns:1fr}.order-filters{gap:8px}.order-filters select{max-width:100%}.stats{grid-template-columns:1fr 1fr}.checkout-layout .panel{padding:16px}.detail-quantity{max-width:100%}}
.language-badge{display:inline-block!important;min-width:48px;flex-shrink:0}.topbar{gap:12px}
/* Keep close glyphs centred independently of font metrics and inherited padding. */
.dialog-header [data-close],.zoom-header>button{display:grid;place-items:center;padding:0!important;line-height:1!important;flex-shrink:0;text-align:center}
.dialog-header [data-close]{width:40px;height:40px;font-family:var(--body);font-size:28px}
.checkout-summary .cart-total{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:20px}.checkout-summary .cart-total strong{font-size:24px}
.dialog-header [data-close] svg,.zoom-header>button svg{display:block;margin:0;width:22px;height:22px;flex:none}

.dashboard-columns{display:grid;grid-template-columns:1.3fr 1fr;gap:20px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.ordering-guide{padding-left:20px;font-size:13px;line-height:1.7;color:#666}.ordering-guide li{padding:8px 0}@media(max-width:800px){.dashboard-columns{grid-template-columns:1fr}}

.document-reader{width:min(1080px,96vw);height:94dvh;max-height:96dvh;padding:0;border:0;border-radius:0;overflow:hidden}.document-reader[open]{display:flex;flex-direction:column}.document-stage{flex:1;min-height:0;overflow:auto;background:#e9e9e6;padding:18px;overscroll-behavior:contain}.document-stage .document-sheet{display:block;height:auto;margin:auto;box-shadow:0 2px 10px #0002;background:white;user-select:none}.document-toolbar{display:flex;align-items:center;justify-content:center;gap:9px;padding:12px;background:white;border-top:1px solid #e6e6e2}.document-toolbar label{display:flex;align-items:center;gap:8px}.document-toolbar select{width:auto;max-width:120px}.document-toolbar button{min-width:38px}.document-error{padding:10px;color:#a22;text-align:center}.document-open{padding:8px 12px;font-size:12px}@media(max-width:600px){.document-stage{padding:6px}.document-toolbar{gap:4px;padding:8px}.document-toolbar button{padding:9px;min-width:32px}.document-toolbar label{font-size:0}.document-toolbar select{font-size:12px;padding:9px;max-width:90px}.document-reader .zoom-header h2{max-width:65vw;overflow-wrap:anywhere}}
@media print{.document-reader{display:none!important}}

.quantity .unit-selector{width:76px;min-width:65px;padding:4px 14px 4px 4px;border:0;background:transparent;color:#777;font-size:10px;font-weight:400;box-shadow:none}.quantity .unit-selector:focus{outline:1px solid #b7b7b2}@media(max-width:600px){.quantity .unit-selector{width:60px;min-width:54px;padding-right:10px;font-size:9px}}
/* Measured Senso reference values; our branding and customer terms stay separate. */
:root{--line:#e6e6e2;--muted:#6f6f6b}.product-card{border-color:#e6e6e2;box-shadow:none}.product-photo{height:210px;padding:15px 0;border-bottom:0}.product-photo img{width:180px;height:180px}.product-body{padding:14px 16px 16px;gap:4px}.product-title{font-size:14px;line-height:1.3;min-height:0}.product-meta{font-size:12px;color:#9a9a95}.quantity{height:42px;background:#f5f5f3;border-color:#d6d6d1;border-radius:0;grid-template-columns:42px minmax(0,1fr) 48px 42px;margin-top:0}.quantity button{font-size:18px;font-weight:400;color:#6f6f6b;padding:1px 6px}.quantity input{font-size:14px;font-weight:400;padding:1px 2px}.mobile-nav-toggle{display:none}.nav-scrim{display:none}
@media(max-width:760px){.shell{display:block}.main{width:100%;margin:0}.sidebar{position:fixed;top:0;left:0;width:92px;height:100dvh;z-index:30;transform:translateX(-100%);padding:0;transition:transform .16s ease}.shell.nav-open .sidebar{transform:translateX(0)}.sidebar .brand{display:grid;height:90px}.sidebar nav{display:grid;overflow:visible;padding:4px 8px 16px;gap:4px;margin:0}.sidebar .nav-button{width:76px;min-width:76px;min-height:66px;padding:12px 2px;gap:6px;font-size:10.5px;border-radius:0}.sidebar .nav-icon,.sidebar .nav-icon svg{width:24px!important;height:24px!important}.topbar{position:sticky;top:0;padding:0 16px;height:68px;z-index:8}.mobile-nav-toggle{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;padding:0;border:1px solid #e6e6e2;background:white;border-radius:0}.shell.nav-open .nav-scrim{display:block;position:fixed;inset:0;z-index:20;border:0;border-radius:0;padding:0;background:#0004}.page{padding:26px 16px 110px}.topbar .company{display:none}.topbar-right .avatar{order:0}.topbar-logout{font-size:11px;padding:9px}.product-photo{height:210px}.product-body{padding:14px 16px 16px}.product-title{font-size:14px;line-height:1.3}.product-meta{font-size:12px}.quantity{height:42px;grid-template-columns:36px minmax(0,1fr) 48px 36px}.quantity input{font-size:14px}.quantity-unit{font-size:9px}}
@media(max-width:480px){#global-search-form{display:none}.topbar-right{margin-left:auto}.topbar{gap:8px}.product-photo{height:170px}.product-photo img{width:150px;height:150px}.product-body{padding:12px}.product-title{font-size:12px}.product-meta{font-size:9px}.quantity{grid-template-columns:27px minmax(0,1fr) 42px 27px}.quantity input{font-size:12px}.quantity-unit{font-size:8px}.advanced-toolbar{flex-wrap:wrap}.advanced-toolbar select{max-width:100%;flex:1}.page-heading h1{font-size:26px}}

/* Source grid and card rhythm, including the single-column phone catalogue. */
:root{line-height:1.5;font-variant-numeric:tabular-nums;--gold:#b08b4f}.catalogue-layout{gap:18px;grid-template-columns:minmax(0,1fr) 360px}.products{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px}.product-photo{height:210px;padding:0;display:grid;place-items:center;border-bottom:1px solid #e6e6e2}.product-photo img{width:180px;max-width:80%;height:180px;object-fit:contain}.product-card .price-row{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:8px 0 12px;padding:0}.price-row strong{font:400 20px var(--display);letter-spacing:normal;white-space:nowrap}.price-row small,.pack{font-size:12px;color:#6f6f6b}.price-row strong small{font-weight:400}.details-button{font-size:12.5px;border-color:#d6d6d1;border-radius:0;gap:6px;margin:6px 0 0;padding:6px 10px 6px 9px;line-height:normal}.quantity{margin-top:auto}.quantity-unit{font-size:11px;letter-spacing:.08em}.product-card.in-cart{border-color:#000;box-shadow:0 0 0 1px #000}.product-card.in-cart .quantity{background:#000;border-color:#000}.product-card.in-cart .quantity button,.product-card.in-cart .quantity input,.product-card.in-cart .quantity-unit,.product-card.in-cart .unit-selector{color:white}.product-card.in-cart .unit-selector option{color:#141414;background:white}.product-card:hover{border-color:#d6d6d1}.cart-panel{padding:20px;box-shadow:none;border-color:#e6e6e2}.cart-title{margin-bottom:16px}.cart-title h3{font-size:15px}.source-cart-total{font-size:36px;font-weight:400;line-height:1;letter-spacing:normal}.cart-summary{font-size:13px;padding:8px 0}.nav-button{font-size:11.5px;line-height:1.2}.source-filterbar{display:flex;gap:10px;flex-wrap:wrap;align-items:start}.source-filterbar .filters{display:flex;flex-wrap:wrap;gap:10px;margin:0;flex:1;min-width:250px}.source-filterbar .filters>input{flex:1;min-width:220px;width:auto}.source-filterbar .filters>select{width:auto;min-width:150px;flex:1}.source-filterbar .advanced-toolbar{margin:0;display:flex;flex-wrap:wrap;gap:10px}.filters input,.filters select,.advanced-toolbar button,.advanced-toolbar select{height:40px;font-size:14px;padding:0 12px;border-radius:0;border-color:#d6d6d1}.advanced-toolbar select{max-width:240px}.advanced-filters:not([hidden]){margin:10px 0 0;padding:12px;border:1px dashed #d6d6d1;border-radius:0;background:#fafaf9;gap:10px;flex-wrap:wrap}.advanced-filters select{width:auto;min-width:140px;font-size:13px;padding:8px 12px}.results{font-size:13px;margin:10px 0 16px}.page-heading p:empty{display:none}
@media(max-width:1280px){.catalogue-layout{grid-template-columns:1fr}.cart-panel{position:static}}
@media(min-width:761px) and (max-width:900px){.shell{display:grid;grid-template-columns:92px minmax(0,1fr)}.main{grid-column:2;width:auto}.sidebar{transform:none;position:fixed;display:flex;width:92px;height:100dvh;top:0}.mobile-nav-toggle{display:none}.topbar{height:68px}.sidebar .brand{display:grid}.sidebar nav{display:grid}}
@media(max-width:760px){.page{padding:18px 16px 110px}.sidebar .nav-button{font-size:11.5px}.products{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}.product-body{padding:14px 16px 16px;gap:4px}.product-title{font-size:14px;line-height:1.3;min-height:0}.product-meta{font-size:12px;line-height:1.5}.product-photo{height:210px}.product-photo img{width:180px;height:180px}.quantity{grid-template-columns:42px minmax(0,1fr) 60px 42px;height:42px}.quantity input{font-size:14px}.quantity-unit{font-size:11px}.product-card .unit-selector{font-size:11px;width:66px;min-width:60px}.page-heading h1{font-size:26px}.source-filterbar .filters>select{min-width:130px}.source-filterbar .advanced-toolbar{width:100%}.advanced-toolbar select{flex:none}.source-cart-total{font-size:36px}}

/* Product information layout measured against the supplier reference. */
.pd { display: grid; grid-template-columns: 300px minmax(0, 1fr); position: relative; min-height: 480px; }
.pd-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius:0; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; z-index: 1; }
.pd-media { background: #fff; border-right: 1px solid var(--line); border-radius:0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 28px; }
.pd-media img { max-width: 100%; max-height: 380px; object-fit: contain; }
.pd-media .no-img { font-size: 48px; }
.pd-hi { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); text-decoration: none; }
.pd-hi:hover { color: var(--text); }
.pd-hi .ic { width: 14px; height: 14px; }
.pd-main { padding: 26px 28px 26px; min-width: 0; }
.pd-main h2 { margin: 4px 44px 0 0; font:400 22px/1.25 var(--body); letter-spacing: -.01em; }
.pd-main .ps { font-size: 12px; color: var(--dim); }
.pd-buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 16px 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pd-buy .pp { display: flex; flex-direction: column; gap: 2px; }
.pd-buy .pp b { font:400 22px var(--display); }
.pd-buy .pp small { color: var(--muted); font-size: 12px; }
.detail-quantity-wrap { display: flex; align-items: center; gap: 8px; }
.detail-quantity-wrap .qty { width: 200px; margin: 0; }
.detail-quantity-wrap.in .qty { background: #000; border-color: #000; }
.detail-quantity-wrap.in .qty button, .detail-quantity-wrap.in .qty input, .detail-quantity-wrap.in .qty .u { color: #fff; }
.pd-tabs { margin-bottom: 16px; }
.pd-tabs button { padding: 10px 11px; }
.pd-body { font-size: 14px; line-height: 1.65; }
.pd-body p { margin: 0 0 10px; }
.pd-body h4 { margin: 16px 0 8px; font-size: 12px; color: var(--muted); font-weight: 600; }
.pd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pd-chips span { background: var(--card-2); border: 1px solid var(--line); border-radius:0; padding: 3px 10px; font-size: 13px; line-height: 1.5; }
.pd-notes { display: grid; gap: 10px; margin-bottom: 16px; }
.pd-note { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: start; }
.pd-note > span { font-size: 12px; color: var(--muted); padding-top: 4px; }
.pd-story { background: var(--card-2); border-radius:0; padding: 14px 16px 6px; }
.pd-inci { font-size: 13px; color: var(--muted); margin: 0; }
.pd-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.pd-doc { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius:0; padding: 11px 12px; color: inherit; text-decoration: none; font-size: 13px; font-weight: 500; }
.pd-doc:hover { border-color: #000; }
.pd-doc span { flex: 1; }
.pd-doc .ic { width: 16px; height: 16px; color: var(--muted); }

#product-dialog{width:min(1060px,calc(100vw - 40px));padding:0;border:1px solid #d6d6d1;border-radius:0;max-height:90vh}#product-dialog .pd-x svg{display:block;margin:0;width:20px;height:20px}#product-dialog .pd-body{padding:0}#product-dialog .pd-tabs{padding:0;gap:4px;border-bottom:1px solid #e6e6e2}#product-dialog .pd-tabs button{font-size:14px;font-weight:400;border-radius:0;border-bottom:2px solid transparent;color:#6f6f6b;margin-bottom:-1px}#product-dialog .pd-tabs button[aria-selected=true]{color:#141414;border-bottom-color:#c8a46a}#product-dialog .detail-image-button{border-radius:0}#product-dialog .detail-image{width:auto;height:auto;max-width:100%;max-height:380px;object-fit:contain}#product-dialog .pd-hi{padding:0;border:0;background:transparent}#product-dialog .pd-buy .pp b{font-size:22px}#product-dialog .pd-body table{width:100%;font-size:13px}#product-dialog .pd-body th{font-weight:400;color:#6f6f6b;text-align:left;width:40%}
@media(max-width:760px){#product-dialog .pd{grid-template-columns:1fr;min-height:0}#product-dialog .pd-media{border-right:0;border-bottom:1px solid #e6e6e2;border-radius:0;padding:20px}#product-dialog .detail-image{max-height:220px}#product-dialog .pd-main{padding:18px 16px 20px}#product-dialog .pd-note{grid-template-columns:1fr;gap:4px}#product-dialog .detail-quantity-wrap .quantity{width:200px}}
:root{--bg:#f4f4f2;--panel:#fafaf9;--card:#fff;--card-2:#f5f5f3;--hover:#ededea;--line-2:#d6d6d1;--text:#141414;--dim:#9a9a95;--accent:#b08b4f;--accent-2:#c8a46a;--accent-t:#8a6a33;--body:Inter,system-ui,sans-serif;--display:var(--body)}

.doc-bar{display:flex;gap:10px;flex-wrap:wrap}.doc-bar input{flex:1;min-width:220px}.doc-bar select{width:auto;min-width:180px}.document-types{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 12px}.document-types button{padding:7px 12px;border-radius:0;font-size:12px;border:1px solid #e6e6e2;background:white}.document-types button.selected{background:#141414;color:white;border-color:#141414}.doc-table-panel{padding:0;margin-top:12px;overflow:hidden}.document-matrix th:not(:first-child),.document-matrix td:not(:first-child){text-align:center;width:62px;padding-left:4px;padding-right:4px}.document-matrix th{font-size:12px;color:#6f6f6b}.document-matrix th.selected{color:#141414}.document-matrix td:first-child{min-width:220px;font-size:13px}.document-matrix td:first-child small{display:block;color:#9a9a95;margin-top:3px}.document-icon{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:0;border:1px solid #e6e6e2;padding:0;background:white;color:#141414;font-size:16px}.document-icon:hover:not(:disabled){border-color:#000;background:#f5f5f3}.document-picker{width:min(900px,96vw);padding:0;border:1px solid #d6d6d1;border-radius:0}.document-picker .dialog-header button{display:grid;place-items:center;width:34px;height:34px;padding:0;border-radius:0}.pd-docs .pd-doc{display:flex;align-items:center;text-align:left;line-height:1.4}.pd-docs .pd-doc small{font-size:10px;white-space:nowrap;color:#6f6f6b}

#product-dialog .detail-image{background:#fff;border:0;border-radius:0;padding:0}#product-dialog .pd-media .detail-image-button{background:white;border:0;border-radius:0;padding:0}#product-dialog .pd-media .detail-image-button:hover{border:0}.product-card.in-cart:hover{border-color:#000}

.details-button span{font-size:12.5px;line-height:normal}.details-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.details-button .detail-arrow{width:13px;height:13px;color:#6f6f6b;margin-left:-2px}

.details-button:hover:not(:disabled){border-color:#000;background:#f5f5f3}.quantity input{appearance:textfield;-moz-appearance:textfield}.quantity input::-webkit-inner-spin-button,.quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}

.cart-header-right{display:flex;align-items:center;gap:10px;font-size:12px;color:#6f6f6b}.cart-header-right .clear-cart{display:grid;place-items:center;padding:3px;border:0;background:none;margin:0;text-decoration:none;color:#6f6f6b}.cart-panel .cart-empty{margin:14px 0}.company-summary[hidden]{display:none}

/* Keep the market selector compact beside the account controls. */
.topbar #language-select{width:52px;min-width:52px;max-width:52px;flex:0 0 52px;padding:8px 4px}.topbar-right .avatar{flex-shrink:0}

.source-filterbar .filters>select{flex:0 0 155px;min-width:0}.source-filterbar .advanced-toolbar{flex:0 0 auto;flex-wrap:nowrap}.source-filterbar .advanced-toolbar button{white-space:nowrap}.source-filterbar #sort{width:200px;max-width:200px}.source-filterbar #clear-filters[hidden]{display:none}
@media(max-width:1000px){.source-filterbar .filters{flex:1 1 100%;width:100%}.source-filterbar .filters>input{flex:1 1 100%;min-width:0}.source-filterbar .filters>select{flex:1 1 130px}.source-filterbar .advanced-toolbar{width:100%;flex:1 1 100%;flex-wrap:wrap}.source-filterbar #sort{width:200px;max-width:100%}}

/* Align product subjects and card rows consistently across the grid. */
.product-photo,.detail-image-button{position:relative;overflow:hidden}.product-photo img.subject-aligned,.detail-image-button img.subject-aligned{position:absolute;max-width:none;max-height:none;object-fit:fill;margin:0}.detail-image-button{display:block;width:100%;height:260px;min-height:260px;padding:0}.product-card .product-title{height:2.6em;min-height:2.6em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-card .product-meta{height:36px;min-height:36px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.product-card .price-row{min-height:36px;align-items:center}.product-card .price-row strong small{font-size:11px}.product-card .price-row strong:not(:has(small)){font-size:14px;white-space:normal}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.warehouse-order{margin-bottom:20px}.warehouse-order p{margin:10px 0}.warehouse-order form{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.warehouse-order [data-pick] input{width:90px}.warehouse-order input[type=checkbox]{width:auto}.warehouse-order [data-pack],.warehouse-order [data-handover]{margin-top:20px}.warehouse-order .dialog-actions{flex-wrap:wrap}.warehouse-order label{max-width:100%}.warehouse-order [data-handover] label:has(input[type=checkbox]){display:flex;align-items:center}.fulfilment-summary{margin:12px 0}.fulfilment-summary p{margin-top:7px}

.zoom-subject{position:relative;overflow:hidden}.zoom-subject img{position:absolute;max-width:none;max-height:none;object-fit:fill;margin:0}

.stock-status{font-size:11px;line-height:16px;min-height:16px;margin:0 0 8px}.stock-available{color:#286447}.stock-unavailable{color:#777}.stock-unknown{color:#896928}

#order-form label[hidden]{display:none}.warehouse-order [data-payment-form]{margin-top:16px}
/* Form grids must respect conditional sections on every breakpoint. */
#order-form [hidden]{display:none!important}

.login-branding { width: 100%; max-width: 360px; }
.login-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
}
.login-logos img {
  display: block;
  width: 100%;
  height: clamp(50px, 8vw, 84px);
  object-fit: contain;
  mix-blend-mode: screen;
}
.login-logos img:nth-child(2) { height: clamp(38px, 6vw, 60px); }
.login-logos .login-logo-noir { filter: invert(1); }
.login-branding .brand-sub { margin-top: 16px; text-align: center; }


/* Keep figures legible and compact without changing ordinary text. */
.figure, .quantity input, .source-cart-total, .stat strong, .cart-summary strong {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
}
.price-row strong small { font-weight: 400; letter-spacing: normal; }

.login-story p,
.login-story footer {
  color: #fff;
}

.login-panel,
.login-panel .muted,
.login-panel .eyebrow,
.login-panel .login-help,
.login-panel input,
.login-panel input::placeholder,
.login-panel .info-box,
.login-panel .error-box {
  color: #000;
}

.login-card { container-type: inline-size; }

.login-panel .login-help {
  font-size: min(10px, 2.65cqi);
}

.login-panel input::placeholder { opacity: 1; }
.login-panel { background: #fff; }
.login-panel .info-box,
.login-panel .error-box { background: #fff; border-color: #000; }

.login-story footer p { margin: 0 0 12px; letter-spacing: normal; }

@font-face {
  font-family: Inter;
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('/assets/inter-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF;
}

.login-page { --login-accent: #e10800; }
.login-highlight { font-weight: 700; }
.login-highlight span,
.login-period { color: var(--login-accent); }
.login-card .primary { border-radius:0; }
.login-card .primary,
.login-card .primary:hover:not(:disabled) {
  background: var(--login-accent);
  border-color: var(--login-accent);
  color: #fff;
}

/* Shared controls use the same palette and typography as the sign-in page. */
:root {
  --login-accent: #e10800;
  --bg: #fff;
  background: #fff;
}

.primary,
.primary:hover:not(:disabled),
.cart-panel .primary,
.sidebar .nav-button.active,
.product-card.in-cart .quantity,
.detail-quantity-wrap.in .qty {
  background: var(--login-accent);
  border-color: var(--login-accent);
  color: #fff;
}

/* Draw the closed controls ourselves so native styling does not round them. */
select,
input:is([type=search], [type=date], [type=checkbox]) {
  -webkit-appearance: none;
  appearance: none;
}

select {
  padding-inline-end: 28px !important;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
                    linear-gradient(135deg, currentColor 50%, transparent 50%) !important;
  background-position: right 15px center, right 10px center !important;
  background-size: 5px 5px !important;
  background-repeat: no-repeat !important;
}

.topbar #language-select,
.quantity .unit-selector {
  padding-inline-end: 19px !important;
  background-position: right 9px center, right 5px center !important;
  background-size: 4px 4px !important;
}

input[type=checkbox] {
  inline-size: 16px;
  block-size: 16px;
  padding: 0;
  vertical-align: middle;
}

input[type=checkbox]:checked {
  border-color: var(--login-accent);
  background: var(--login-accent);
  box-shadow: inset 0 0 0 3px #fff;
}

/* Wide screens show the portal sections above the account and search toolbar. */
@media (min-width: 1024px) {
  .shell { display: block; }
  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 72px;
    align-items: stretch;
    padding-inline: clamp(12px, 2.5vw, 36px);
    background: #fff;
    color: #151515;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .brand {
    height: 56px;
    padding: 8px 14px;
  }
  .sidebar .brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(1);
  }
  .sidebar nav {
    display: flex;
    align-items: stretch;
    justify-content: safe center;
    gap: 0;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow-x: auto;
  }
  .sidebar .nav-button {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    min-height: 56px;
    padding: 0 clamp(8px, 1.1vw, 18px);
    border-bottom: 2px solid transparent;
    border-radius: 0;
    color: inherit;
    background: #fff;
    font-size: 13px;
    white-space: nowrap;
  }
  .sidebar .nav-button .nav-icon { display: none; }
  .sidebar .nav-button:hover { background: #f4f4f4; color: #151515; }
  .sidebar .nav-button.active {
    background: #fff;
    border-bottom-color: var(--login-accent);
    color: #151515;
    font-weight: 600;
  }
  .sidebar .nav-button:focus-visible { outline-offset: -4px; }
}

/* Catalogue and product detail preview. */
.product-card .product-photo {
  height: clamp(220px, 19vw, 280px);
  background: #fff;
}
.product-card .product-body {
  padding: 16px;
  gap: 6px;
}
.product-card .product-title {
  font-weight: 600;
}
.product-card .product-meta {
  color: #555;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-card .price-row strong,
#product-dialog .pd-buy .pp b {
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: -.025em;
}
.product-card .quantity {
  margin-top: auto;
}
#product-dialog .pd {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: #fff;
}
#product-dialog .pd-media {
  padding: 24px;
  border-right: 0;
}
#product-dialog .pd-media .detail-image-button {
  height: clamp(240px, 30vw, 340px);
  min-height: 0;
}
#product-dialog .pd-main {
  align-self: center;
  padding: 32px 52px 32px 28px;
}
#product-dialog .pd-main h2 {
  font: 600 clamp(22px, 3vw, 34px)/1.2 var(--body);
  margin: 6px 0 12px;
}
#product-dialog .pd-buy {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
#product-dialog .pd-information {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding: 0 28px 28px;
  min-width: 0;
}
#product-dialog .pd-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
}
#product-dialog .pd-tabs button { flex: 0 0 auto; }
#product-dialog .pd-tabs button[aria-selected="true"] { border-bottom-color: var(--login-accent); }

@media (max-width: 760px) {
  #product-dialog .pd { grid-template-columns: minmax(0, 1fr); }
  #product-dialog .pd-media { padding: 20px 16px 12px; border-bottom: 0; }
  #product-dialog .pd-main { padding: 12px 16px 22px; }
  #product-dialog .pd-information { padding: 0 16px 20px; }
}

.login-company-line {
  font-size: 10px;
  font-weight: 400;
}

.login-company-details {
  display: grid;
  gap: 2px;
  margin-top: 4px;
  letter-spacing: inherit;
  color: inherit;
}
.login-company-details a { color: inherit; }

@media (max-width: 600px) {
  .login-story footer { display: block; }
}

.login-contacts {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(4px, 2vw, 18px);
  margin-top: 6px;
}
.login-contacts a,
.login-contacts select {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: #000;
  color: #fff;
}
.login-contacts svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.login-contacts select {
  background-image: none !important;
  padding-inline-end: 0 !important;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  color-scheme: dark;
}


.order-detail > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, .65fr);
  align-items: center;
}
.order-detail > summary .status { justify-self: start; }
.order-detail > summary > :last-child { justify-self: end; text-align: right; }

@media (max-width: 480px) {
  .order-detail > summary {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px 12px;
  }
  .order-detail > summary > :nth-child(2) { justify-self: end; }
}

.sidebar .brand a {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.overview { max-width: 1040px; margin: 0 auto; }
.overview-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  padding: 12px 0 28px;
  border-bottom: 1px solid var(--line);
}
.overview-heading h1 {
  margin: 0 0 4px;
  font: 600 clamp(30px, 4vw, 48px)/1.12 var(--body);
  letter-spacing: -.04em;
}
.overview-heading .company { overflow-wrap: anywhere; }
.overview-orders { padding: 26px 0; }
.overview-orders h2 { margin: 0 0 10px; font-size: 20px; }
.overview-orders .order-detail { margin: 0; border-bottom: 1px solid var(--line); }
.overview-orders .status small { display: block; margin-top: 3px; font-size: 11px; }
.overview-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.overview-links button {
  background: #fff;
  color: #151515;
  border: 1px solid var(--line);
  text-align: start;
}
.overview-links button { display: flex; justify-content: space-between; gap: 8px; padding: 14px; }
.overview-links button:hover { background: #f4f4f4; }
@media (max-width: 600px) {
  .overview-heading { flex-direction: column; align-items: flex-start; padding-bottom: 20px; }
  .overview-orders { padding: 20px 0; }
  .overview-links { grid-template-columns: 1fr; }
}

/* Keep the unit dropdown and its arrow inside their own grid column. */
.quantity:has(> .unit-selector) {
  grid-template-columns: 34px minmax(0, 1fr) 64px 34px;
}
.quantity > .unit-selector {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.contact-stack {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}
.contact-stack dd { overflow-wrap: anywhere; }

.onboarding-panel { max-width: 760px; }
.onboarding-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.onboarding-form label { display: grid; gap: 6px; }
.onboarding-form #onboarding-error { grid-column: 1 / -1; color: #b00000; }
.onboarding-form .primary { justify-self: start; }
@media (max-width: 600px) {
  .onboarding-form { grid-template-columns: minmax(0, 1fr); }
}

.login-partner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  align-items: start;
}
.login-partner > div { display: grid; justify-items: start; }
.login-partner small { font-size: 11px; line-height: 1.4; color: #555; }
.login-partner button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #151515;
  font-size: 12px;
  font-weight: 600;
  text-align: start;
}
.login-partner button span { color: var(--login-accent); }
.login-partner #apply-ambassador {
  padding-inline: 8px;
  background: #fff3f2;
}
.login-partner #apply-ambassador:hover { background: #ffe7e5; }

@container (max-width: 355px) {
  .login-partner { grid-template-columns: 1fr; }
}
.ambassador-form-wide { grid-column: 1 / -1; }
.ambassador-info { margin: 16px 0; padding: 0; }
.ambassador-info summary {
  padding: 13px 16px;
  cursor: pointer;
  font-weight: 600;
}
.ambassador-info summary::marker { color: #d52113; }
.ambassador-info-body {
  padding: 0 16px 16px;
  max-width: 70ch;
  line-height: 1.5;
}
.ambassador-info-body dl { margin: 0; }
.ambassador-info-body dt { font-weight: 600; margin-top: 12px; }
.ambassador-info-body dd { margin: 2px 0 0; }
.ambassador-info-body p { margin: 14px 0 0; }

.partner-application { max-width: 820px; margin-inline: auto; container-type: inline-size; }
.partner-application-intro { font-size: min(12px, 1.55cqi); white-space: nowrap; }
.partner-application .onboarding-form label[hidden] { display: none; }
.partner-application #partner-feedback { grid-column: 1 / -1; }
.partner-review { display: grid; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.partner-review h4, .partner-review p { margin: 0; }
.partner-review button { justify-self: start; }
