.tab-search-results .product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;list-style:none;padding:0}
.tab-search-results .product-item{width:auto!important;float:none!important;margin:0!important;display:flex;flex-direction:column;padding:24px;box-sizing:border-box}
.tab-search-results .tab-result-title{font-size:1.3rem;line-height:1.4;margin:16px 0}
.tab-search-results .tab-result-title a{color:inherit;text-decoration:none}
.tab-search-results figure{margin:0 0 16px}
.tab-search-results figure img{max-width:100%;height:180px;object-fit:contain}
.tab-search-results .tab-result-summary{flex:1}
.tab-search-results .tab-result-link{display:inline-block;margin:12px 0}
.tab-search-results .tab-search-form{display:flex;gap:10px;max-width:620px;margin:24px auto}
.tab-search-results .tab-search-form input{min-width:0;flex:1;padding:12px;border:1px solid #aaa}
.tab-search-results .tab-pagination{margin:30px 0}
.tab-search-results .tab-pagination .page-numbers{display:inline-block;padding:8px 12px}
@media(max-width:900px){.tab-search-results .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.tab-search-results .product-grid{grid-template-columns:1fr}}

/* Overrides scoped to search results; the existing catalogue remains unchanged. */
.tab-search-results #content-products .product-grid li.product-item { padding:24px; }
.tab-search-results #content-products .product-grid li > span { position:static; align-self:center; }
.tab-search-results #content-products .product-grid li figure { height:auto; margin:16px 0; }
.tab-search-results #content-products .product-grid li.product-item input[type=submit] { position:static; transform:none; padding:10px 24px; margin-top:12px; max-width:100%; cursor:pointer; }
.tab-search-results #content-products .product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
@media(max-width:900px){.tab-search-results #content-products .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){.tab-search-results #content-products .product-grid{grid-template-columns:1fr;}}
/* Zoekknop (loepje) in de top-bar, rechts naast "Bel mij terug". Native details, werkt zonder jQuery. */
.top-bar { position:relative; z-index:10000; }
.top-bar .tab-header-search { position:relative; display:flex; align-self:stretch; margin-left:12px; }
.top-bar .tab-header-search summary { list-style:none; display:flex; align-items:center; justify-content:center; aspect-ratio:1; box-sizing:border-box; cursor:pointer; color:#10218b; background:#fff; border:1px solid #10218b; border-radius:4px; }
.top-bar .tab-header-search summary::-webkit-details-marker { display:none; }
.top-bar .tab-header-search summary:focus-visible { outline:3px solid #f36a10; outline-offset:3px; }
.top-bar .tab-header-search[open] summary { background:#10218b; color:#fff; }
.top-bar .tab-header-search svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2.5; stroke-linecap:round; }
.top-bar .tab-header-search form { position:absolute; top:calc(100% + 10px); right:0; width:420px; max-width:calc(100vw - 30px); padding:20px; background:#fff; border:1px solid #ddd; box-shadow:0 8px 24px #0002; z-index:100; text-align:left; }
.top-bar .tab-header-search label { display:block; font-size:15px; color:#333; margin-bottom:8px; }
.top-bar .tab-search-fields { display:flex; gap:8px; }
.top-bar .tab-search-fields input { width:100%; min-width:0; padding:10px; border:1px solid #aaa; font:inherit; color:#333; }
.top-bar .tab-search-fields button { display:flex; align-items:center; justify-content:center; background:#10218b; color:#fff; padding:0 14px; border:0; cursor:pointer; }
