.btpp-product-search-form {
	display: flex;
	align-items: stretch;
	gap: 12px;
	width: 100%;
	margin: 0;
	background: transparent;
}

.btpp-product-search-form input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	height: 48px;
	border-radius: 0;
	margin: 0;
}

.btpp-product-search-form button,
.btpp-product-search-form input[type="submit"] {
	flex: 0 0 auto;
	height: 48px;
	padding: 0 26px;
	border-radius: 0;
	border: 0;
	background-color: var(--secondary-color, #720026);
	color: #ffffff;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
	margin: 0;
}

.btpp-product-search-form button:hover,
.btpp-product-search-form input[type="submit"]:hover {
	opacity: 0.9;
	color: #ffffff;
}
/* Hide prices inside product search/live search results */
.btpp-product-search-results .price,
.btpp-product-search-results .amount,
.btpp-product-search-results .woocommerce-Price-amount,
.autocomplete-suggestions .price,
.autocomplete-suggestions .amount,
.autocomplete-suggestions .woocommerce-Price-amount,
.autocomplete-suggestion .price,
.autocomplete-suggestion .amount,
.autocomplete-suggestion .woocommerce-Price-amount,
.live-search-results .price,
.live-search-results .amount,
.live-search-results .woocommerce-Price-amount,
.search-results .product .price {
	display: none !important;
}
/* Hide prices in recommended/related/product card sections */
.related.products .price,
.upsells.products .price,
.cross-sells .price,
.wc-block-grid__product-price,
.wp-block-woocommerce-product-price,
.wp-block-woocommerce-product-template .price {
	display: none !important;
}

/* B2B cart/checkout: hide retail strike-through and Save badge, keep B2B price */
body.btpp-account-b2b del.wc-block-components-product-price__regular,
body.btpp-account-b2b .wc-block-components-product-price__regular,
body.btpp-account-b2b .wc-block-components-sale-badge,
body.btpp-account-b2b .wc-block-components-product-badge.wc-block-components-sale-badge,
body.btpp-account-b2b .wc-block-cart-item__total-price-and-sale-badge-wrapper .wc-block-components-sale-badge {
	display: none !important;
}

/* B2B cart/checkout: make B2B runtime price look like normal price, not sale price */
body.btpp-account-b2b ins.wc-block-components-product-price__value,
body.btpp-account-b2b .wc-block-components-product-price__value.is-discounted {
	text-decoration: none !important;
}

/* Hide WooCommerce block grid product prices, e.g. recommended/new-in-store cards */
.wc-block-grid__product-price,
.wc-block-grid__product-price.price,
.wc-block-grid__product-price .woocommerce-Price-amount,
.wc-block-grid__product .price,
.wc-block-grid__product .amount,
.wc-block-grid__product .woocommerce-Price-amount {
	display: none !important;
}

@media (max-width: 549px) {
	.btpp-product-search-form {
		flex-direction: column;
	}

	.btpp-product-search-form button,
	.btpp-product-search-form input[type="submit"] {
		width: 100%;
	}
}

/* Product grid images: show full product without cropping */
.products .product-small .box-image {
    aspect-ratio: 1 / 1;
    background: #fff;
    overflow: hidden;
}

.products .product-small .box-image img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center;
    padding: 12px;
}