:root {
  color-scheme: light;
  --wh-bg:#f4f6f8; --wh-surface:#fff; --wh-soft:#f0f3f6; --wh-ink:#182b3e;
  --wh-muted:#647588; --wh-line:#dde5eb; --wh-accent:#177c65; --wh-accent-hover:#11634f;
  --wh-accent-soft:#e8f5ef; --wh-shadow:0 4px 16px rgba(26,49,72,.035);
  --wh-header:rgba(255,255,255,.96); --wh-focus:#158669; --wh-good:#157351;
  --wh-good-bg:#eaf6ee; --wh-good-line:#d2e9da; --wh-unavailable:#626e7c;
  --wh-unavailable-bg:#f0f2f5; --wh-unknown:#887039; --wh-unknown-bg:#faf4e7;
}
html[data-warehouse-theme="dark"] {
  color-scheme:dark;
  --wh-bg:#101923; --wh-surface:#192634; --wh-soft:#213140; --wh-ink:#e9f0f6;
  --wh-muted:#a0b2c3; --wh-line:#314354; --wh-accent:#84ddba; --wh-accent-hover:#a3ebcf;
  --wh-accent-soft:#1d3a33; --wh-shadow:0 4px 16px rgba(0,0,0,.12);
  --wh-header:rgba(20,31,43,.96); --wh-focus:#84ddba; --wh-good:#94dfb6;
  --wh-good-bg:#20392f; --wh-good-line:#345446; --wh-unavailable:#b4c0cb;
  --wh-unavailable-bg:#273442; --wh-unknown:#e2c37e; --wh-unknown-bg:#393426;
}
* { box-sizing:border-box; }
[hidden] { display:none!important; }
html { min-width:300px; scroll-padding-top:96px; }
body { margin:0; background:var(--wh-bg); color:var(--wh-ink); font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif; font-size:15px; line-height:1.5; -webkit-font-smoothing:antialiased; }
button,input { font:inherit; }
button,a,input { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
a { color:inherit; text-decoration:none; }
svg { flex:none; }
button:focus-visible,a:focus-visible,input:focus-visible { outline:3px solid var(--wh-focus); outline-offset:4px; }
button:disabled { cursor:wait; }
.wh-visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.wh-skip { position:fixed; top:8px; left:16px; z-index:100; padding:12px 20px; transform:translateY(-160%); background:var(--wh-surface); border:2px solid var(--wh-focus); border-radius:8px; }
.wh-skip:focus { transform:none; }
.wh-header { position:sticky; top:0; z-index:10; background:var(--wh-header); border-bottom:1px solid var(--wh-line); backdrop-filter:blur(16px); }
.wh-header-inner { max-width:1488px; min-height:84px; margin:0 auto; padding:16px 40px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.wh-brand { display:flex; align-items:center; gap:12px; min-width:0; }
.wh-brand>img { display:block; border-radius:10px; }
.wh-brand strong { display:block; font-size:19px; line-height:1.2; font-weight:750; letter-spacing:-.5px; }
.wh-brand small { display:block; margin-top:4px; font-size:12px; color:var(--wh-muted); }
.wh-header-actions { display:flex; align-items:center; gap:26px; }
.wh-view-only { display:flex; align-items:center; gap:7px; color:var(--wh-muted); font-size:12px; }
.wh-view-only svg { width:18px; height:18px; }
.wh-theme-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:42px; padding:8px 13px; color:var(--wh-ink); background:var(--wh-surface); border:1px solid var(--wh-line); border-radius:9px; font-size:12px; font-weight:600; }
.wh-theme-button:hover { border-color:var(--wh-accent); }
.wh-theme-icon { font-size:20px; line-height:1; }
.wh-main { width:100%; max-width:1488px; min-height:calc(100vh - 190px); margin:auto; padding:40px 40px 32px; }
.wh-search-section { display:grid; grid-template-columns:minmax(220px,.8fr) minmax(400px,1.4fr); align-items:center; gap:40px; padding:0 0 34px; }
.wh-eyebrow { color:var(--wh-accent); font-size:10px; font-weight:750; letter-spacing:1.8px; }
.wh-search-heading h1 { margin:7px 0; font-size:32px; font-weight:740; letter-spacing:-1px; line-height:1.2; }
.wh-search-heading p { margin:0; color:var(--wh-muted); font-size:13px; }
.wh-search-form { display:flex; align-items:stretch; gap:10px; width:100%; padding:7px; background:var(--wh-surface); border:1px solid var(--wh-line); border-radius:14px; box-shadow:var(--wh-shadow); }
.wh-search-form:focus-within { border-color:var(--wh-focus); box-shadow:0 0 0 3px var(--wh-accent-soft); }
.wh-search-input-wrap { position:relative; display:flex; align-items:center; flex:1; min-width:0; }
.wh-search-icon { position:absolute; left:14px; width:22px; height:22px; color:var(--wh-muted); pointer-events:none; }
.wh-search-input-wrap input { width:100%; height:52px; min-width:0; padding:10px 44px 10px 48px; color:var(--wh-ink); background:transparent; border:0; border-radius:8px; font-size:17px; }
.wh-search-input-wrap input:focus { outline:none; }
.wh-search-input-wrap input::placeholder { color:var(--wh-muted); opacity:1; }
.wh-search-input-wrap input::-webkit-search-cancel-button { -webkit-appearance:none; }
.wh-search-clear { position:absolute; right:2px; display:grid; place-items:center; width:40px; height:40px; color:var(--wh-muted); border-radius:7px; font-size:25px; }
.wh-search-clear:hover { color:var(--wh-ink); background:var(--wh-soft); }
.wh-search-submit,.wh-button { display:inline-flex; align-items:center; justify-content:center; gap:13px; min-height:48px; padding:11px 25px; color:#fff; background:#177c65; border:0; border-radius:9px; font-size:14px; font-weight:650; white-space:nowrap; }
.wh-search-submit:hover,.wh-button:hover { background:#11634f; }
html[data-warehouse-theme="dark"] .wh-search-submit,html[data-warehouse-theme="dark"] .wh-button { color:#10271e; background:var(--wh-accent); }
html[data-warehouse-theme="dark"] .wh-search-submit:hover,html[data-warehouse-theme="dark"] .wh-button:hover { background:var(--wh-accent-hover); }
.wh-results-toolbar { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:19px; padding-top:25px; border-top:1px solid var(--wh-line); }
.wh-results-count { display:flex; align-items:baseline; flex-wrap:wrap; gap:14px; }
.wh-results-count h2 { margin:0; font-size:18px; font-weight:680; letter-spacing:-.3px; }
.wh-results-count>span { color:var(--wh-muted); font-size:12px; white-space:nowrap; }
.wh-results-count strong { color:var(--wh-ink); font-weight:650; }
.wh-sort { display:flex; align-items:center; gap:5px; font-size:12px; }
.wh-sort>span { margin-right:7px; color:var(--wh-muted); }
.wh-sort a { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:40px; padding:8px 13px; border:1px solid transparent; border-radius:8px; color:var(--wh-muted); }
.wh-sort a:hover { color:var(--wh-ink); background:var(--wh-soft); }
.wh-sort a.is-active { color:var(--wh-accent); background:var(--wh-surface); border-color:var(--wh-line); font-weight:650; }
.wh-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.wh-card { display:flex; flex-direction:column; min-width:0; overflow:hidden; background:var(--wh-surface); border:1px solid var(--wh-line); border-radius:13px; box-shadow:var(--wh-shadow); transition:border-color .15s ease,box-shadow .15s ease; }
.wh-card:hover { border-color:color-mix(in srgb,var(--wh-accent) 45%,var(--wh-line)); box-shadow:0 7px 22px rgba(24,45,67,.07); }
.wh-photo { position:relative; display:flex; justify-content:center; align-items:center; flex:none; width:100%; aspect-ratio:4/3; overflow:hidden; color:#83919f; background:#fff; border-bottom:1px solid var(--wh-line); cursor:zoom-in; }
.wh-photo:focus-visible { outline-offset:-4px; }
.wh-photo>img { display:block; width:100%; height:100%; padding:22px; object-fit:contain; }
.wh-photo.is-empty,.wh-photo.is-preview-only { color:var(--wh-muted); background:var(--wh-soft); }
.wh-photo.is-empty { cursor:default; }
.wh-photo-placeholder { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:20px; font-size:12px; }
.wh-photo-placeholder svg { width:48px; height:48px; opacity:.55; }
.wh-photo-zoom { position:absolute; right:12px; bottom:12px; display:grid; place-items:center; width:31px; height:31px; color:#465d6f; background:rgba(255,255,255,.94); border:1px solid #e0e6eb; border-radius:8px; }
.wh-photo-zoom svg { width:16px; height:16px; }
.wh-photo.is-empty .wh-photo-zoom { display:none; }
.wh-card-body { display:flex; flex-direction:column; flex:1; min-width:0; padding:19px 20px 17px; }
.wh-article-row { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:13px; }
.wh-article-row>div { min-width:0; }
.wh-article-caption { display:block; margin-bottom:3px; color:var(--wh-muted); font-size:9px; font-weight:650; letter-spacing:1.1px; }
.wh-article { display:block; color:var(--wh-ink); font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace; font-size:21px; font-weight:750; line-height:1.25; letter-spacing:-.5px; overflow-wrap:anywhere; user-select:all; }
.wh-copy { display:grid; place-items:center; flex:none; width:38px; height:42px; padding:8px; color:var(--wh-muted); background:transparent; border:1px solid transparent; border-radius:8px; }
.wh-copy:hover { color:var(--wh-accent); background:var(--wh-accent-soft); }
.wh-copy svg { width:18px; height:18px; }
.wh-copy-done { display:none; }
.wh-copy.is-copied { color:var(--wh-good); background:var(--wh-good-bg); }
.wh-copy.is-copied .wh-copy-icon { display:none; }
.wh-copy.is-copied .wh-copy-done { display:block; }
.wh-product-name { margin:0; color:var(--wh-ink); font-size:14px; font-weight:550; line-height:1.5; overflow-wrap:anywhere; }
.wh-variant { margin:6px 0 0; color:var(--wh-muted); font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
.wh-card-footer { margin-top:auto; padding-top:19px; }
.wh-availability { display:inline-flex; align-items:center; gap:7px; min-height:28px; max-width:100%; padding:4px 9px; border:1px solid transparent; border-radius:6px; font-size:11px; font-weight:600; line-height:1.5; }
.wh-availability i { display:block; flex:none; width:5px; height:5px; border-radius:50%; background:currentColor; }
.wh-availability.is-available { color:var(--wh-good); background:var(--wh-good-bg); border-color:var(--wh-good-line); }
.wh-availability.is-unavailable { color:var(--wh-unavailable); background:var(--wh-unavailable-bg); }
.wh-availability.is-unknown { color:var(--wh-unknown); background:var(--wh-unknown-bg); }
.wh-pagination-row { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:18px; padding:30px 0 8px; }
.wh-page-summary { margin:0; color:var(--wh-muted); font-size:12px; }
.wh-page-summary strong { color:var(--wh-ink); font-weight:600; }
.wh-pagination,.wh-page-numbers { display:flex; align-items:center; gap:7px; }
.wh-page-step,.wh-page-number { display:flex; align-items:center; justify-content:center; gap:8px; min-width:40px; min-height:42px; padding:7px 12px; border:1px solid var(--wh-line); border-radius:8px; background:var(--wh-surface); font-size:12px; }
.wh-page-number { padding:7px 10px; }
a.wh-page-step:hover,a.wh-page-number:hover { color:var(--wh-accent); border-color:var(--wh-accent); }
.wh-page-number.is-current { color:var(--wh-accent); background:var(--wh-accent-soft); border-color:var(--wh-accent); font-weight:700; }
.wh-page-step.is-disabled { opacity:.42; background:transparent; }
.wh-empty { padding:66px 24px 74px; text-align:center; background:var(--wh-surface); border:1px solid var(--wh-line); border-radius:14px; }
.wh-empty-icon { display:grid; place-items:center; width:84px; height:84px; margin:0 auto 22px; border-radius:24px; color:var(--wh-muted); background:var(--wh-soft); }
.wh-empty-icon svg { width:44px; height:44px; }
.wh-empty h2 { margin:0 0 12px; font-size:23px; line-height:1.3; font-weight:650; letter-spacing:-.5px; }
.wh-empty p { max-width:560px; margin:6px auto; color:var(--wh-muted); font-size:14px; overflow-wrap:anywhere; }
.wh-empty .wh-empty-query { color:var(--wh-ink); font-weight:600; }
.wh-empty .wh-button { margin-top:24px; }
.wh-error { margin-top:8px; }
.wh-footer { display:flex; justify-content:space-between; align-items:center; gap:20px; width:100%; max-width:1488px; margin:0 auto; padding:22px 40px 30px; color:var(--wh-muted); font-size:11px; }
.wh-footer>span { font-weight:650; letter-spacing:.2px; }
.wh-footer p { margin:0; }
.wh-copy-feedback { position:fixed; bottom:24px; left:50%; z-index:30; width:max-content; max-width:calc(100vw - 32px); transform:translateX(-50%); padding:12px 18px; color:var(--wh-ink); background:var(--wh-surface); border:1px solid var(--wh-line); border-radius:10px; box-shadow:0 8px 32px rgba(0,0,0,.16); font-size:13px; text-align:center; }
.wh-dialog { width:860px; max-width:calc(100vw - 32px); max-height:calc(100dvh - 32px); padding:0; margin:auto; border:1px solid var(--wh-line); border-radius:15px; color:var(--wh-ink); background:var(--wh-surface); box-shadow:0 24px 70px rgba(0,0,0,.3); overflow:auto; }
.wh-dialog:not([open]) { display:none; }
.wh-dialog::backdrop { background:rgba(8,18,28,.78); }
.wh-dialog-header { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding:21px 24px; border-bottom:1px solid var(--wh-line); }
.wh-dialog-header>div { min-width:0; }
.wh-dialog-header h2 { margin:0; font-size:17px; font-weight:600; line-height:1.4; overflow-wrap:anywhere; }
.wh-dialog-header p { margin:8px 0 0; color:var(--wh-muted); font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:13px; overflow-wrap:anywhere; }
.wh-dialog-close { flex:none; width:42px; height:42px; padding:0; border:1px solid var(--wh-line); border-radius:9px; color:var(--wh-ink); background:var(--wh-soft); font-size:28px; line-height:1; }
.wh-dialog-close:hover { color:var(--wh-accent); border-color:var(--wh-accent); }
.wh-dialog-stage { display:flex; align-items:center; justify-content:center; min-height:280px; padding:24px; }
.wh-dialog-stage>img { display:block; max-width:100%; max-height:calc(100dvh - 195px); width:auto; height:auto; background:#fff; object-fit:contain; border-radius:6px; }
.wh-dialog-message { max-width:440px; margin:0; color:var(--wh-muted); font-size:14px; line-height:1.6; text-align:center; }
@media (max-width:1250px) {
  .wh-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .wh-search-section { grid-template-columns:minmax(220px,.8fr) minmax(360px,1.4fr); gap:28px; }
  .wh-header-inner,.wh-main,.wh-footer { padding-left:28px; padding-right:28px; }
}
@media (max-width:950px) {
  .wh-search-section { grid-template-columns:1fr; gap:23px; }
  .wh-search-heading h1 { font-size:30px; }
  .wh-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
  .wh-view-only { display:none; }
  .wh-results-toolbar { align-items:flex-start; }
  .wh-results-count { flex-direction:column; gap:3px; }
  .wh-pagination-row { justify-content:center; }
  .wh-page-summary { width:100%; text-align:center; }
}
@media (max-width:600px) {
  .wh-header-inner { min-height:73px; padding:13px 18px; gap:12px; }
  .wh-brand { gap:10px; }
  .wh-brand>img { width:36px; height:36px; }
  .wh-brand strong { font-size:17px; }
  .wh-brand small { font-size:11px; }
  .wh-theme-button { width:42px; height:42px; padding:8px; }
  .wh-theme-label { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
  .wh-main { padding:27px 16px 24px; }
  .wh-search-section { gap:20px; padding-bottom:25px; }
  .wh-search-heading h1 { font-size:28px; }
  .wh-search-heading p { max-width:310px; font-size:12px; }
  .wh-search-form { padding:5px; gap:3px; border-radius:11px; }
  .wh-search-input-wrap input { height:47px; padding-left:35px; padding-right:33px; font-size:16px; }
  .wh-search-icon { left:8px; width:19px; height:19px; }
  .wh-search-clear { width:30px; height:40px; }
  .wh-search-submit { min-height:47px; padding:10px 14px; font-size:13px; }
  .wh-search-submit>span { display:none; }
  .wh-results-toolbar { flex-wrap:wrap; gap:12px; padding-top:20px; margin-bottom:15px; }
  .wh-results-count { flex-direction:row; gap:10px; align-items:baseline; }
  .wh-results-count h2 { font-size:16px; }
  .wh-sort { width:100%; }
  .wh-sort a { min-height:38px; padding:7px 12px; }
  .wh-grid { gap:12px; }
  .wh-card { border-radius:10px; }
  .wh-photo>img { padding:14px; }
  .wh-photo-zoom { width:27px; height:27px; right:8px; bottom:8px; }
  .wh-photo-placeholder { gap:8px; padding:12px; font-size:11px; }
  .wh-photo-placeholder svg { width:36px; height:36px; }
  .wh-card-body { padding:13px 12px; }
  .wh-article-row { align-items:flex-start; gap:2px; margin-bottom:10px; }
  .wh-article-caption { font-size:8px; letter-spacing:.7px; }
  .wh-article { font-size:18px; }
  .wh-copy { width:29px; height:36px; padding:5px; margin-right:-3px; }
  .wh-copy svg { width:16px; height:16px; }
  .wh-product-name { font-size:12px; line-height:1.45; }
  .wh-variant { font-size:11px; line-height:1.45; }
  .wh-card-footer { padding-top:14px; }
  .wh-availability { padding:4px 6px; gap:5px; font-size:10px; }
  .wh-empty { padding:42px 20px 48px; }
  .wh-empty h2 { font-size:21px; }
  .wh-page-numbers { display:none; }
  .wh-page-step { min-width:112px; }
  .wh-footer { align-items:flex-start; padding:15px 18px 25px; font-size:10px; }
  .wh-footer p { max-width:155px; text-align:right; }
  .wh-dialog { max-width:calc(100vw - 20px); max-height:calc(100dvh - 20px); border-radius:11px; }
  .wh-dialog-header { padding:16px; gap:14px; }
  .wh-dialog-header h2 { font-size:15px; }
  .wh-dialog-header p { font-size:12px; }
  .wh-dialog-stage { padding:14px; min-height:220px; }
  .wh-dialog-stage>img { max-height:calc(100dvh - 180px); }
}
@media (max-width:379px) {
  .wh-grid { grid-template-columns:minmax(0,1fr); }
  .wh-photo { aspect-ratio:3/2; }
  .wh-photo>img { padding:20px; }
  .wh-card-body { padding:17px 18px; }
  .wh-article { font-size:22px; }
  .wh-copy { width:40px; height:42px; }
  .wh-product-name { font-size:14px; }
  .wh-availability { font-size:11px; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }
