.wwis-launcher, .wwis-dialog { --wwis-red: #c62026; --wwis-ink: #151515; --wwis-line: #ddd; font-family: 'DM Sans', system-ui, sans-serif; }
body.wwis-open { overflow: hidden; }
.wwis-launcher {
  position: fixed; right: 24px; bottom: 24px; z-index: 1000;
  display: inline-flex; gap: 10px; align-items: center; justify-content: center;
  padding: 10px 14px; min-height: 44px; border: 1px solid #151515;
  background: #fff; color: #151515; border-radius: 0; font-size: 13px; font-weight: 700; cursor: pointer;
}
.wwis-launcher.wwis-mounted { position: static; }
.wwis-launcher svg, .wwis-form svg { fill: none; stroke: currentColor; stroke-width: 1.8; flex-shrink: 0; }
.wwis-launcher:hover { background: #c62026; color: #fff; border-color: #c62026; }
.wwis-launcher:focus-visible, .wwis-dialog a:focus-visible, .wwis-dialog button:focus-visible { outline: 2px solid #c62026; outline-offset: 3px; }
.wwis-dialog {
  width: min(860px, calc(100vw - 40px)); max-width: none;
  max-height: min(800px, calc(100dvh - 100px));
  margin: 60px auto; padding: 0; border: 1px solid #151515;
  border-top: 4px solid #c62026; border-radius: 0;
  background: #fff; color: #151515; overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.25);
}
.wwis-dialog[open] { display: flex; flex-direction: column; }
.wwis-dialog::backdrop { background: rgba(15,15,15,.62); }
.wwis-dialog *, .wwis-dialog *::before, .wwis-dialog *::after { box-sizing: border-box; border-radius: 0; }
.wwis-dialog [hidden] { display: none !important; }
.wwis-topline { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 24px 8px; flex-shrink: 0; }
.wwis-topline > span { color: #c62026; font-size: 10px; letter-spacing: .16em; font-weight: 800; }
.wwis-dialog .wwis-close, .wwis-dialog .wwis-clear {
  padding: 0; border: 0; background: transparent; color: #151515;
  width: 40px; height: 40px; min-height: 40px; font-size: 28px; line-height: 1; cursor: pointer;
}
.wwis-dialog .wwis-close:hover, .wwis-dialog .wwis-clear:hover { color: #c62026; background: #f4d9db; }
.wwis-form { margin: 0 24px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid #151515; flex-shrink: 0; }
.wwis-form:focus-within { border-color: #c62026; box-shadow: inset 0 0 0 1px #c62026; }
.wwis-dialog .wwis-form input[type=search] {
  min-width: 0; width: 100%; padding: 0; margin: 0; border: 0 !important;
  background: #fff; color: #151515; box-shadow: none; outline: none;
  font-family: 'Sora', system-ui, sans-serif; font-size: 20px; line-height: 1.5; height: 36px;
}
.wwis-form input[type=search]::-webkit-search-cancel-button { display: none; }
.wwis-meta { display: flex; justify-content: space-between; gap: 12px; padding: 14px 24px 0; color: #777; font-size: 9px; letter-spacing: .12em; flex-shrink: 0; }
.wwis-meta kbd { font: inherit; padding: 0; border: 0; background: transparent; }
.wwis-status { padding: 14px 24px; color: #707070; font-size: 13px; flex-shrink: 0; }
.wwis-results { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
body .wwis-dialog a.wwis-product {
  display: grid; grid-template-columns: 72px minmax(0,1fr) auto; gap: 18px;
  align-items: center; padding: 12px 24px; border-top: 1px solid #eee;
  background: #fff; color: #151515; text-decoration: none !important;
}
body .wwis-dialog a.wwis-product:hover, body .wwis-dialog a.wwis-product[aria-selected=true] { background: #f5f5f5; color: #151515; box-shadow: inset 3px 0 #c62026; }
.wwis-image { position: relative; width: 72px; height: 72px; display: block; background: #f5f5f5; }
body .wwis-dialog .wwis-image img { width: 100% !important; height: 100% !important; max-height: 100%; margin: 0; padding: 0; object-fit: contain !important; display: block; }
.wwis-sale { position: absolute; left: 0; bottom: 0; padding: 3px 5px; background: #c62026; color: #fff; font-size: 8px; font-weight: 800; letter-spacing: .06em; }
.wwis-info { min-width: 0; }
.wwis-info strong { display: block; font-family: 'Sora', system-ui, sans-serif; font-size: 13px; line-height: 1.45; }
.wwis-info small { display: block; margin-top: 5px; color: #777; font-size: 10px; overflow-wrap: anywhere; }
.wwis-product-right { text-align: right; min-width: 85px; }
.wwis-price { display: block; font-size: 15px; font-weight: 800; line-height: 1.3; }
.wwis-price del { display: block; color: #888; font-size: 11px; font-weight: 400; }
.wwis-price ins { text-decoration: none; color: #c62026; background: none; }
.wwis-stock { display: block; color: #707070; font-size: 8px; letter-spacing: .04em; margin-top: 7px; font-weight: 700; }
.wwis-stock.wwis-out { color: #a11; }
body .wwis-dialog a.wwis-all { display: flex; justify-content: space-between; padding: 16px 24px; margin: 0; background: #c62026; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none !important; flex-shrink: 0; }
body .wwis-dialog a.wwis-all:hover { background: #861015; color: #fff; }
.wwis-bottom { display: flex; justify-content: space-between; padding: 12px 24px; background: #171717; color: #aaa; font-size: 8px; font-weight: 700; letter-spacing: .13em; flex-shrink: 0; }
@media (max-width: 900px) {
  body.wwis-header-ready .wr-header__tools { display: flex !important; position: absolute; right: 78px; top: 50%; transform: translateY(-50%); }
  body.wwis-header-ready .wr-header__tools .wr-header-phone { display: none; }
  .wwis-launcher.wwis-mounted { width: 44px; height: 44px; padding: 8px; }
  .wwis-launcher.wwis-mounted span { display: none; }
  body.wwis-header-ready .wr-brand__logo img, body.wwis-header-ready .wr-brand .custom-logo { max-width: min(230px, calc(100vw - 150px)) !important; }
}
@media (max-width: 600px) {
  .wwis-dialog { width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border: 0; border-top: 4px solid #c62026; }
  .wwis-topline { padding: 12px 16px 6px; }
  .wwis-topline > span { font-size: 9px; letter-spacing: .1em; }
  .wwis-form { margin: 0 16px; gap: 8px; padding: 10px; }
  .wwis-dialog .wwis-form input[type=search] { font-size: 16px; }
  .wwis-meta, .wwis-status { padding-left: 16px; padding-right: 16px; }
  .wwis-meta kbd { display: none; }
  .wwis-results { flex: 1; }
  body .wwis-dialog a.wwis-product { grid-template-columns: 60px minmax(0,1fr) 75px; gap: 10px; padding: 12px 16px; }
  .wwis-image { width: 60px; height: 60px; }
  .wwis-info strong { font-size: 11px; }
  .wwis-info small { font-size: 9px; }
  .wwis-product-right { min-width: 0; }
  .wwis-price { font-size: 12px; }
  .wwis-stock { font-size: 7px; }
  .wwis-bottom { padding: 12px 16px; font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) { .wwis-dialog *, .wwis-launcher { transition: none !important; } }
/* Wide catalogue search, matching the reference layout. */
.wwis-dialog { width: calc(100vw - 64px); height: calc(100dvh - 64px); max-height: none; margin: 32px auto; }
.wwis-topline { padding: 12px 20px 0; justify-content: flex-end; }
.wwis-topline > span, .wwis-meta, .wwis-bottom { display: none; }
.wwis-form { width: min(720px, calc(100% - 80px)); margin: 12px auto 44px; min-height: 60px; }
.wwis-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 40px; overflow-y: auto; min-height: 0; padding: 0 28px 36px; flex: 1; }
.wwis-sidebar section { margin: 0 0 40px; }
.wwis-sidebar h3 { font-family: 'Sora',system-ui,sans-serif; text-transform: uppercase; font-size: 18px; font-weight: 800; margin: 0 0 24px; }
body .wwis-sidebar a { display: block; color: #c62026; font-size: 15px; line-height: 1.5; margin: 0 0 14px; text-decoration: none; }
body .wwis-sidebar a:hover { text-decoration: underline; }
.wwis-sidebar p { color: #888; font-size: 13px; }
.wwis-results-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.wwis-status { padding: 0; color: #151515; font-family: 'Sora',system-ui,sans-serif; font-size: clamp(18px,2vw,30px); line-height: 1.3; font-weight: 800; }
body .wwis-dialog a.wwis-all { padding: 0; background: transparent; color: #151515; text-transform: uppercase; white-space: nowrap; }
body .wwis-dialog a.wwis-all:hover { color: #c62026; background: transparent; }
.wwis-results { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px 20px; overflow: visible; }
body .wwis-dialog a.wwis-product { display: flex; flex-direction: column; padding: 0 8px 16px; gap: 14px; border: 0; text-align: center; min-width: 0; align-items: stretch; }
body .wwis-dialog a.wwis-product:hover, body .wwis-dialog a.wwis-product[aria-selected=true] { box-shadow: inset 0 -3px #c62026; }
.wwis-image { width: 100%; height: auto; aspect-ratio: 1; background: #fff; }
.wwis-info strong { font-size: 13px; text-transform: uppercase; }
.wwis-info small { display: none; }
.wwis-product-right { text-align: center; min-width: 0; }
.wwis-price { font-weight: 500; font-size: 17px; }
.wwis-stock { margin-top: 9px; }
.wwis-sale { padding: 5px 8px; font-size: 9px; }
.wwis-dialog mark { background: #fff000; color: #151515; padding: 0; }
@media (max-width: 1100px) {
 .wwis-layout { grid-template-columns: 180px minmax(0,1fr); gap: 24px; }
 .wwis-results { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 700px) {
 .wwis-dialog { width: 100%; height: 100dvh; margin: 0; }
 .wwis-topline { padding: 8px 12px 0; }
 .wwis-form { width: calc(100% - 32px); margin: 6px auto 24px; }
 .wwis-layout { display: flex; flex-direction: column; padding: 0 16px 24px; gap: 30px; }
 .wwis-equipment { order: -1; }
 .wwis-results { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 10px; flex: none; }
 .wwis-results-heading { gap: 10px; margin-bottom: 20px; }
 .wwis-status { font-size: 18px; }
 body .wwis-dialog a.wwis-all { font-size: 10px; }
 .wwis-info strong { font-size: 11px; }
 .wwis-price { font-size: 14px; }
 .wwis-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 1px solid #ddd; padding-top: 24px; }
 .wwis-sidebar h3 { font-size: 15px; margin-bottom: 16px; }
 body .wwis-sidebar a { font-size: 13px; }
}
.wwis-image { height: clamp(160px, 18vw, 300px); aspect-ratio: auto; flex-shrink: 0; }
@media (max-width:700px) { .wwis-image { height: clamp(130px, 38vw, 220px); } }
