/**
 * Vehicle search results product grid — Speedibleed
 *
 * @author H M Shahadul Islam
 */

 .page-template-template-search .elementor-element-80ed962,
 .page-template-template-search .elementor-element-80ed962 .elementor-container {
	 width: 100% !important;
 }
 
 .search-results.elementor-column,
 .search-results .elementor-widget-wrap,
 .search-results .elementor-widget-container,
 .search-results .bottomsearch,
 .search-results .bottomsearch #primary,
 .search-results .bottomsearch .site-main {
	 max-width: 100% !important;
	 width: 100% !important;
	 overflow-x: hidden;
	 box-sizing: border-box;
 }
 
 .search-results .woocommerce-products__panel {
	 margin-bottom: 0.75rem;
	 padding: 20px 15px 0;
 }
 
 .search-results .strapper {
	 text-align: center;
	 font-weight: 400;
	 font-size: 1.125rem;
	 margin: 0 0 1.25rem;
	 color: #333;
 }
 
 .search-results .strapper b {
	 color: #bd0000;
	 font-weight: 700;
 }
 
 .search-results .woocommerce ul.products.products-grid {
	 display: grid !important;
	 grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	 gap: 12px;
	 margin: 0 auto;
	 padding: 0 15px 30px;
	 list-style: none;
	 width: 100%;
	 max-width: 1200px;
	 clear: both;
	 box-sizing: border-box;
 }
 
 .search-results .woocommerce ul.products.products-grid::before,
 .search-results .woocommerce ul.products.products-grid::after {
	 display: none;
 }
 
 .search-results .woocommerce ul.products.products-grid li.product {
	 float: none !important;
	 width: auto !important;
	 max-width: none !important;
	 margin: 0 !important;
	 padding: 0;
	 box-sizing: border-box;
	 list-style: none;
	 min-width: 0;
 }
 
 /* Product card */
 .search-results .woocommerce ul.products.products-grid li.product .product-content {
	 background: #f2f2f2;
	 border: none;
	 box-shadow: none;
	 height: 100%;
	 display: flex;
	 flex-direction: column;
	 text-align: center;
	 overflow: hidden;
	 padding: 0;
 }
 
 .search-results .product-content .headercat {
	 width: 100% !important;
	 text-align: center;
	 font-size: 1rem;
	 font-weight: 600;
	 color: #555;
	 background-color: #f5e0e0;
	 line-height: 44px;
	 margin: 0;
 }
 
 .search-results .product-content .headercat p {
	 margin: 0;
 }
 
 .search-results .product-content .briston {
	 display: block !important;
	 min-height: 0 !important;
	 height: auto !important;
	 overflow: hidden;
	 padding: 16px;
	 margin: 0 12px;
	 background: #fff;
	 box-sizing: border-box;
 }
 
 .search-results .product-content .briston img.attachment-woocommerce_thumbnail {
	 width: 100%;
	 height: auto;
	 max-height: 200px;
	 object-fit: contain;
	 margin: 0 auto;
	 display: block;
 }
 
 .search-results .woocommerce-loop-product__title {
	 font-size: 0.95rem !important;
	 line-height: 1.35 !important;
	 padding: 14px 12px 8px !important;
	 margin: 0 !important;
	 font-weight: 400 !important;
 }
 
 
 .search-results .woocommerce-loop-product__title a:hover {
	 color: #004499 !important;
 }
 
 
 
 .search-results .holdwex:last-of-type {
	 margin-top: auto;
	 padding-bottom: 16px;
 }
 
 .search-results .holdwex .price,
 .search-results .holdwex .price .amount,
 .search-results .holdwex .splprcc {
	 display: block;
	 font-size: 1.125rem;
	 font-weight: 700;
	 color: #000 !important;
 }
 
 .search-results .holdwex .woocommerce-Price-currencySymbol {
	 color: #000 !important;
 }
 
 .search-results .holdwex .crtbttn,
 .search-results .holdwex .button {
	 display: inline-block;
	 background: #bd0000 !important;
	 color: #fff !important;
	 border: none !important;
	 border-radius: 4px;
	 padding: 10px 22px;
	 font-weight: 700;
	 font-size: 0.9rem;
	 text-decoration: none;
	 text-transform: none;
	 line-height: 1.2;
 }
 
 .search-results .holdwex .crtbttn:hover,
 .search-results .holdwex .button:hover {
	 background: #9a0000 !important;
	 color: #fff !important;
 }
 
 /* Promo column — 4th cell, same row */
 .search-results li.product.speedibleed-promo-card {
	 grid-column: auto;
 }
 
 .search-results li.product.speedibleed-promo-card .product-content {
	 background: #f2f2f2;
	 justify-content: center;
	 align-items: center;
	 padding: 24px 16px;
	 min-height: 100%;
 }
 
 .search-results .product-content--promo {
	 display: flex !important;
	 flex-direction: column;
	 align-items: center;
	 justify-content: center;
	 text-align: center;
	 gap: 12px;
 }
 
 .search-results .promo-question {
	 margin: 0;
	 font-size: 1.125rem;
	 font-weight: 400;
	 color: #333;
	 line-height: 1.4;
 }
 
 .search-results .promo-link {
	 color: #bd0000 !important;
	 font-style: italic;
	 text-decoration: underline !important;
	 font-size: 1.125rem;
	 font-weight: 400;
 }
 
 .search-results .promo-link:hover {
	 color: #9a0000 !important;
 }
 
 /* Legacy specxx markup fallback */
 .search-results li.product .woocommerce-loop-product__title.specxx {
	 margin: 0 !important;
	 padding: 0 !important;
	 font-size: 1.125rem !important;
	 font-weight: 400 !important;
	 line-height: 1.5 !important;
	 min-height: 0;
	 display: flex;
	 flex-direction: column;
	 align-items: center;
	 justify-content: center;
	 gap: 12px;
 }
 
 .search-results li.product .woocommerce-loop-product__title.specxx a {
	 color: #bd0000 !important;
	 text-decoration: underline !important;
	 font-style: italic;
	 text-transform: none;
 }
 
 .search-results li.product.noprdd {
	 grid-column: 1 / -1;
 }
 
 .search-results li.product.noprdd .product-content {
	 background: #f2f2f2;
 }
 
 .search-results .briston.noimageshold {
	 width: 50%;
	 margin: 0 auto;
	 text-align: center;
 }
 
 .topsearch {
	 background-color: #bd0000;
	 position: relative;
	 width: 100% !important;
	 left: auto !important;
 }
 
 .page-template-template-search .topsearch.elementor-section-stretched {
	 width: 100% !important;
	 left: 0 !important;
 }
 
 @media (max-width: 900px) {
	 .search-results .woocommerce ul.products.products-grid {
		 grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	 }
 }
 
 @media (max-width: 600px) {
	 #fmv_filter_form {
		 width: 90vw;
		 margin: 0 auto;
		 padding: 20px;
		 display: inline-block;
	 }
 
	 .search-results .woocommerce ul.products.products-grid {
		 grid-template-columns: 1fr !important;
		 gap: 16px;
	 }
 }
 