/*test*/
.dropdownCart-container.is_empty_cart { display: none !important; }
.vmCartModule .dropdownCart-btn {
	align-items: center;
	background: transparent;
	border: 0;
	color: #a85cbd;
	display: inline-flex;
	height: 44px;
	justify-content: center;
	padding: 6px;
	position: relative;
	text-decoration: none;
	width: 44px;
}

.vmCartModule .dropdownCart-btn .dropdownCart-icon {
	display: block;
	height: 33px;
	width: 32px;
}

.vmCartModule .dropdownCart-btn svg {
	display: block;
}

.vmCartModule .dropdownCart-btn svg path {
	stroke: currentColor;
}

.vmCartModule .dropdownCart-btn .total_products {
	align-items: center;
	background: #a85cbd;
	border: 2px solid #fff;
	border-radius: 50%;
	color: #fff;
	display: flex;
	font-size: 11px;
	font-weight: 600;
	height: 19px;
	justify-content: center;
	line-height: 1;
	min-width: 19px;
	padding: 0 4px;
	position: absolute;
	right: -2px;
	top: 0;
}

.vmCartModule .dropdownCart-btn:focus-visible {
	background: rgba(168, 92, 189, 0.12);
	border-radius: 50%;
	color: #7d368f;
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.vmCartModule .dropdownCart-btn:active {
	background: rgba(168, 92, 189, 0.18);
	border-radius: 50%;
	color: #6f2e80;
}

.vmCartModule .dropdownCart-btn:hover {
	background: rgba(168, 92, 189, 0.12);
	border-radius: 50%;
	color: #7d368f;
}

@media (hover: hover) {
	.vmCartModule:not(:has(.dropdownCart-container.is_empty_cart)):hover .dropdownCart-container {
		display: block;
	}
}
.thumbnail > a {
	display: inline-block;
	height: auto;
	width: 100%;
}
.list-product .wrap-inner .top-lead:before, .product-field .wrap-inner .top-lead:before {
	display: none !important;
}
.vm-customfields-wrap { xheight: 5rem; }
form.flex-column { flex-wrap:wrap; }

.addtocart-bar,.vm-customfields-wrap, .vm-customfields-wrap .row.list-product,
div.pd-detail-item .product_s_desc, div.pd-detail-item .product-field-desc, .product-related-products .product_s_desc, .product-related-products .product-field-desc { float: left; width: 100%;clear: both; display:inline-block;}
form .product-fields-title-wrapper { text-align: left;}
.vmCartModule { position: relative;}
.dropdownCart-container { position: absolute; display:none; }

/* Header fixes live in T4's local layer so framework and template updates preserve them. */
.vmCartModule:has(.dropdownCart-container.is_empty_cart) > .dropdownCart-btn .total_products {
	display: none;
}

@media (max-width: 575.98px) {
	#t4-header .navbar-brand {
		margin-right: 12px;
	}
}

@media (max-width: 359.98px) {
	#t4-header .navbar-brand {
		margin-right: 4px;
	}

	#t4-header .t4-header-r > * {
		margin-left: 4px;
	}
}

@media (min-width: 992px) {
	#t4-header .header-inner {
		width: 100%;
	}

	#t4-header .header-wrap {
		flex-wrap: nowrap;
	}

	#t4-header .navbar-brand,
	#t4-header .t4-header-r {
		flex: 0 0 auto;
	}

	#t4-header .t4-navbar {
		flex: 1 1 auto;
		min-width: 0;
	}

	#t4-header .t4-navbar .navbar,
	#t4-header .t4-megamenu {
		max-width: 100%;
		width: 100%;
	}

	#t4-header .t4-megamenu .navbar-nav {
		flex-flow: row nowrap;
		white-space: nowrap;
	}

	#t4-header .t4-megamenu .navbar-nav > .nav-item {
		flex: 0 0 auto;
	}
}

@media (min-width: 992px) and (max-width: 1399.98px) {
	#t4-header .header-inner {
		padding-right: 1rem;
		padding-left: 1rem;
	}

	#t4-header .navbar-brand {
		margin-right: 0.75rem;
	}

	#t4-header .t4-megamenu .navbar-nav > li > a,
	#t4-header .t4-megamenu .navbar-nav > li > .nav-link {
		padding-right: 0.35rem;
		padding-left: 0.35rem;
		font-size: 13px;
	}

	#t4-header .t4-header-r > * {
		margin-left: 0.45rem;
	}
}

/* Product detail options and add-to-cart layout. */
.productdetails-view .vm-product-info .addtocart-area form.product {
	display: flex !important;
	flex-direction: column;
	flex-wrap: nowrap !important;
}

.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap {
	float: none !important;
	clear: none !important;
	display: block !important;
	width: 100% !important;
	height: auto !important;
	margin: 0 0 1rem !important;
}

.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap > .pd-detail-item {
	margin-bottom: 0 !important;
}

.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap .container {
	width: 100%;
	max-width: none;
	padding: 0;
}

.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap .row.list-product,
.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap > .product-fields {
	float: none !important;
	clear: none !important;
	display: flex !important;
	align-items: flex-start;
	flex-wrap: wrap;
	width: 100%;
	gap: .75rem;
	margin: 0;
}

.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap .row.list-product > .product-field,
.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap > .product-fields > .product-field {
	flex: 1 1 150px;
	width: auto;
	max-width: 220px;
	margin: 0 !important;
	padding: 0 !important;
}

.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap .product-fields-title-wrapper {
	text-align: left !important;
}

.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap .product-field-display {
	height: auto !important;
	justify-content: flex-start;
}

.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap .cf4all_wrapper,
.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap select {
	width: 100%;
	max-width: 100%;
}

.productdetails-view .vm-product-info .addtocart-area .addtocart-bar {
	float: none !important;
	clear: none !important;
	width: 100%;
	margin: 0 !important;
	flex-wrap: wrap;
	gap: .75rem;
}

.productdetails-view .vm-product-info .addtocart-area .addtocart-bar .addtocart-button {
	margin-left: 0;
}

@media (max-width: 575.98px) {
	.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap .row.list-product > .product-field,
	.productdetails-view .vm-product-info .addtocart-area .vm-customfields-wrap > .product-fields > .product-field {
		flex-basis: 100%;
		max-width: none;
	}
}
