.wheel-search-open {
 display: inline-grid;
 place-items: center;
 width: 44px;
 height: 44px;
 padding: 0;
 border: 1px solid #51545b;
 background: #1c1e22;
 color: #f7f7f8;
 cursor: pointer;
}
.wheel-search-open:hover,
.wheel-search button:hover,
.wheel-search-results a:hover { border-color: #c4fa3e; }
.wheel-search :focus-visible, .wheel-search-open:focus-visible {
 outline: 2px solid #c4fa3e;
 outline-offset: 3px;
}
.wheel-search {
 box-sizing: border-box;
 width: min(680px, calc(100% - 28px));
 max-height: 90dvh;
 overflow-y: auto;
 padding: clamp(18px, 4vw, 28px);
 margin: auto;
 border: 1px solid #51545b;
 background: #17191d;
 color: #f3f4f6;
 color-scheme: dark;
}
.wheel-search::backdrop { background: #000b; }
.wheel-search.has-results { width: min(1180px, calc(100% - 28px)); }
.wheel-search-heading {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 12px;
 margin-bottom: 16px;
}
.wheel-search h2 { margin: 0; font-size: 24px; }
.wheel-search button {
 border: 1px solid #51545b;
 background: #202329;
 color: inherit;
 min-height: 40px;
 padding: 4px 12px;
 cursor: pointer;
 font: inherit;
}
.wheel-search-heading button { font-size: 22px; }
.wheel-search label, .wheel-search-status { font-size: 13px; color: #bbc1cb; }
.wheel-search-fields {
 display: grid;
 grid-template-columns: minmax(0, 1fr) auto;
 gap: 8px;
 margin-top: 7px;
}
.wheel-search input {
 box-sizing: border-box;
 width: 100%;
 padding: 12px;
 border: 1px solid #666b75;
 background: #101114;
 color: #f3f4f6;
 font: inherit;
 font-size: 16px;
}
.wheel-search .wheel-search-submit {
 padding-inline: 24px;
 border-color: #c4fa3e;
 background: #c4fa3e;
 color: #17191d;
 font-weight: 700;
}
.wheel-search-vehicle {
 display: inline-flex;
 align-items: center;
 gap: 6px;
 min-height: 40px;
 margin-bottom: 8px;
 color: #c4fa3e;
 text-underline-offset: 3px;
 font-size: 14px;
}
.wheel-search-results {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
 gap: 12px;
 margin: 0;
 padding: 0;
 list-style: none;
}
.wheel-search-results a {
 display: flex;
 flex-direction: column;
 align-items: stretch;
 gap: 10px;
 height: 100%;
 box-sizing: border-box;
 padding: 8px;
 border: 1px solid #393d45;
 color: inherit;
 text-decoration: none;
}
.wheel-search-results img {
 width: 100%;
 height: 200px;
 object-fit: contain;
 background: #202329;
}
.wheel-search-results img.wheel-search-installation-image { object-fit: cover; }
.wheel-search-results small { display: block; margin-top: 3px; color: #bbc1cb; }
.wheel-search-results .wheel-search-installed { color: #c4fa3e; }
@media (max-width: 700px) {
 .wheel-search { padding: 16px; }
 .wheel-search-results { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
 .wheel-search-results a { padding: 6px; }
 .wheel-search-results img { height: 112px; }
 .wheel-search-results strong { overflow-wrap: anywhere; }
 .wheel-search .wheel-search-submit { padding-inline: 16px; }
 .product-header:has(> .wheel-search-open) {
  grid-template-columns: minmax(0, 1fr) auto auto auto;
 }
 .product-header > .wheel-search-open { grid-column: 4; grid-row: 1; }
 .wheel-search-open { width: 38px; height: 38px; }
}
