/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Trust badges under Add to Cart on single product pages */
.brittlite-trust-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0 6px;
	padding-top: 16px;
	border-top: 1px solid #e5e5e5;
}

.brittlite-trust-badge {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	background: #F7F7F7;
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	font-family: "Hind", sans-serif;
	font-weight: 500;
	font-size: 13px;
	color: #111111;
	line-height: 1.2;
}

.brittlite-trust-badge svg {
	flex-shrink: 0;
	color: #012169;
}

@media (max-width: 768px) {
	.brittlite-trust-badges {
		gap: 8px;
	}

	.brittlite-trust-badge {
		flex: 1 1 calc(50% - 8px);
		font-size: 12px;
		padding: 8px 10px;
	}
}

/* "Get a Quote" header CTA button (top-right row, before Trade Account / Custom Projects) */
.wd-get-a-quote-btn {
	margin-right: 22px;
}

.wd-get-a-quote-btn .info-box-content {
	background-color: #012169;
	border-radius: 4px;
	padding: 12px 22px;
	transition: background-color 0.15s ease;
}

.wd-get-a-quote-btn:hover .info-box-content {
	background-color: #C8102E;
}

.wd-get-a-quote-btn .info-box-title {
	color: #FFFFFF !important;
	font-family: "Hind", sans-serif;
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

.wd-get-a-quote-btn .info-box-inner {
	display: none;
}

/* Site-wide soft-rounded corners (4-6px) on every button, including widgets
   that hardcode btn-shape-rectangle regardless of the theme's global button-radius setting */
.btn.btn-shape-rectangle,
.btn.btn-shape-square,
button.button,
a.button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.single_add_to_cart_button,
.elementor-button,
.wd-info-box .info-box-content {
	border-radius: 5px !important;
}

/* BrittLite WooCommerce category archive: clean category navigation and filters */
body.tax-product_cat .elementor-element-bcdbe1b {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
}

body.tax-product_cat .brt-category-nav,
body.tax-product_cat .elementor-element-efb039a {
	background: #fff;
	border: 1px solid #dfe4ec;
	border-radius: 10px;
	box-shadow: 0 8px 28px rgba(1, 33, 105, 0.07);
	overflow: hidden;
}

body.tax-product_cat .brt-category-nav {
	border-top: 4px solid #012169;
	padding: 20px 18px 16px;
}

body.tax-product_cat .brt-category-heading {
	margin-bottom: 12px;
}

body.tax-product_cat .brt-category-kicker {
	display: block;
	margin-bottom: 2px;
	color: #c8102e;
	font-family: "Hind", sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1;
	text-transform: uppercase;
}

body.tax-product_cat .brt-category-heading h2 {
	margin: 0;
	color: #012169;
	font-family: "Raleway", sans-serif;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.25;
}

body.tax-product_cat .brt-all-products {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 -6px 8px;
	padding: 9px 10px;
	border-radius: 6px;
	color: #012169;
	font-family: "Hind", sans-serif;
	font-size: 14px;
	font-weight: 600;
}

body.tax-product_cat .brt-all-products::after {
	content: "→";
	color: #c8102e;
	font-size: 16px;
}

body.tax-product_cat .brt-all-products:hover {
	background: #f4f6fa;
	color: #c8102e;
}

body.tax-product_cat .brt-cat-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.tax-product_cat .brt-cat-level-0 {
	border-top: 1px solid #e8ebf0;
	padding-top: 8px;
}

body.tax-product_cat .brt-cat-item > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 1px -6px;
	padding: 8px 10px;
	border-left: 3px solid transparent;
	border-radius: 5px;
	color: #253247;
	font-family: "Hind", sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
}

body.tax-product_cat .brt-cat-level-1 {
	margin: 1px 0 6px 12px;
	padding-left: 10px;
	border-left: 1px solid #dfe4ec;
}

body.tax-product_cat .brt-cat-level-1 .brt-cat-item > a {
	padding-top: 6px;
	padding-bottom: 6px;
	color: #5d6675;
	font-size: 13px;
	font-weight: 500;
}

body.tax-product_cat .brt-cat-item > a:hover {
	background: #f4f6fa;
	border-left-color: #c8102e;
	color: #012169;
}

body.tax-product_cat .brt-cat-count {
	flex: 0 0 auto;
	min-width: 24px;
	padding: 2px 6px;
	border-radius: 999px;
	background: #f1f3f7;
	color: #727b89;
	font-size: 11px;
	font-weight: 600;
	text-align: center;
}

body.tax-product_cat .brt-cat-item > a.brt-current,body.term-148 .brt-cat-item-148 > a,
body.term-149 .brt-cat-item-149 > a,
body.term-49 .brt-cat-item-49 > a,
body.term-40 .brt-cat-item-40 > a,
body.term-139 .brt-cat-item-139 > a,
body.term-79 .brt-cat-item-79 > a,
body.term-144 .brt-cat-item-144 > a,
body.term-31 .brt-cat-item-31 > a,
body.term-76 .brt-cat-item-76 > a,
body.term-140 .brt-cat-item-140 > a,
body.term-138 .brt-cat-item-138 > a,
body.term-30 .brt-cat-item-30 > a,
body.term-142 .brt-cat-item-142 > a,
body.term-23 .brt-cat-item-23 > a,
body.term-143 .brt-cat-item-143 > a,
body.term-141 .brt-cat-item-141 > a,
body.term-147 .brt-cat-item-147 > a,
body.term-33 .brt-cat-item-33 > a,
body.term-146 .brt-cat-item-146 > a,
body.term-78 .brt-cat-item-78 > a,
body.term-145 .brt-cat-item-145 > a {
	background: #012169;
	border-left-color: #c8102e;
	color: #fff;
}
body.term-148 .brt-cat-item-148 > a .brt-cat-count { background: rgba(255,255,255,.16); color: #fff; }
body.term-149 .brt-cat-item-149 > a .brt-cat-count { background: rgba(255,255,255,.16); color: #fff; }
body.term-49 .brt-cat-item-49 > a .brt-cat-count { background: rgba(255,255,255,.16); color: #fff; }
body.term-40 .brt-cat-item-40 > a .brt-cat-count { background: rgba(255,255,255,.16); color: #fff; }
body.term-139 .brt-cat-item-139 > a .brt-cat-count { background: rgba(255,255,255,.16); color: #fff; }
body.term-79 .brt-cat-item-79 > a .brt-cat-count { background: rgba(255,255,255,.16); color: #fff; }
body.term-144 .brt-cat-item-144 > a .brt-cat-count { background: rgba(255,255,255,.16); color: #fff; }
body.term-31 .brt-cat-item-31 > a .brt-cat-count { background: rgba(255,255,255,.16); color: #fff; }
body.term-76 .brt-cat-item-76 > a .brt-cat-count { background: rgba(255,255,255,.16); color: #fff; }
body.term-140 .brt-cat-item-140 > a .brt-cat-count { background: rgba(255,255,255,.16); color: #fff; }
body.term-138 .brt-cat-item-138 > a .brt-cat-count { background: rgba(255,255,255,.16); color: #fff; }
body.term-30 .brt-cat-item-30 > a .brt-cat-count { background: rgba(255,255,255,.16); color: #fff; }
body.term-142 .brt-cat-item-142 > a .brt-cat-count { background: rgba(255,255,255,.16); color: #fff; }
body.term-23 .brt-cat-item-23 > a .brt-cat-count { background: rgba(255,255,255,.16); color: #fff; }
body.term-143 .brt-cat-item-143 > a .brt-cat-count { background: rgba(255,255,255,.16); color: #fff; }
body.term-141 .brt-cat-item-141 > a .brt-cat-count { background: rgba(255,255,255,.16); color: #fff; }
body.term-147 .brt-cat-item-147 > a .brt-cat-count { background: rgba(255,255,255,.16); color: #fff; }
body.term-33 .brt-cat-item-33 > a .brt-cat-count { background: rgba(255,255,255,.16); color: #fff; }
body.term-146 .brt-cat-item-146 > a .brt-cat-count { background: rgba(255,255,255,.16); color: #fff; }
body.term-78 .brt-cat-item-78 > a .brt-cat-count { background: rgba(255,255,255,.16); color: #fff; }
body.term-145 .brt-cat-item-145 > a .brt-cat-count { background: rgba(255,255,255,.16); color: #fff; }

body.tax-product_cat .wd-product-filters {
	display: flex;
	flex-direction: column;
	gap: 0;
	align-items: stretch;
}

body.tax-product_cat .wd-product-filters .wd-pf-checkboxes {
	display: block !important;
	flex: none;
	height: auto !important;
	min-height: 0;
	border: 0;
	border-bottom: 1px solid #e8ebf0;
	background: #fff;
}

body.tax-product_cat .wd-product-filters .wd-pf-checkboxes:last-child {
	border-bottom: 0;
}

body.tax-product_cat .wd-product-filters .wd-pf-title {
	display: block;
	padding: 16px 18px 8px;
	cursor: default;
	pointer-events: none;
}

body.tax-product_cat .wd-product-filters .wd-pf-title::after {
	display: none !important;
}

body.tax-product_cat .wd-product-filters .wd-pf-title .title-text {
	color: #012169;
	font-family: "Raleway", sans-serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

body.tax-product_cat .wd-product-filters .wd-pf-results {
	margin-top: 5px;
}

body.tax-product_cat .wd-product-filters .wd-pf-dropdown {
	position: static !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: 100% !important;
	height: auto !important;
	padding: 4px 18px 16px;
	border: 0;
	box-shadow: none !important;
	transform: none !important;
	pointer-events: auto !important;
}

body.tax-product_cat .wd-product-filters .wd-scroll {
	max-height: none;
}

body.tax-product_cat .wd-product-filters .wd-pf-stock ul {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

body.tax-product_cat .wd-product-filters .wd-pf-stock li {
	margin: 0;
}

body.tax-product_cat .wd-product-filters .wd-pf-stock .pf-value {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 7px 11px;
	border: 1px solid #d8dee8;
	border-radius: 999px;
	background: #fff;
	color: #455166;
	font-family: "Hind", sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
}

body.tax-product_cat .wd-product-filters .wd-pf-stock .pf-value:hover,
body.tax-product_cat .wd-product-filters .wd-pf-stock li.wd-active .pf-value {
	border-color: #c8102e;
	background: #fff5f6;
	color: #c8102e;
}

body.tax-product_cat .wd-product-filters .price_slider_wrapper {
	padding-top: 4px;
}

body.tax-product_cat .wd-product-filters .ui-slider .ui-slider-range,
body.tax-product_cat .wd-product-filters .ui-slider .ui-slider-handle {
	background-color: #012169 !important;
	border-color: #012169 !important;
}

body.tax-product_cat .wd-product-filters .filter_price_slider_amount {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 14px;
}

body.tax-product_cat .wd-product-filters .price_label {
	color: #455166;
	font-family: "Hind", sans-serif;
	font-size: 13px;
}

body.tax-product_cat .wd-product-filters .widget_price_filter .button {
	order: 2;
	min-height: 34px;
	padding: 8px 14px;
	border-radius: 5px !important;
	background: #c8102e !important;
	color: #fff !important;
	font-family: "Hind", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
}

body.tax-product_cat .wd-product-filters .widget_price_filter .button:hover {
	background: #012169 !important;
}

body.tax-product_cat .elementor-element-brtsidebarimg1 {
	display: none !important;
}

@media (max-width: 1024px) {
	body.tax-product_cat .brt-category-nav {
		padding: 17px 14px 13px;
	}

	body.tax-product_cat .brt-category-heading h2 {
		font-size: 19px;
	}

	body.tax-product_cat .brt-cat-item > a {
		font-size: 13px;
	}
}

@media (max-width: 767px) {
	body.tax-product_cat .elementor-element-11a9b18 > .e-con-inner,
	body.tax-product_cat .elementor-element-11a9b18 {
		flex-direction: column !important;
	}

	body.tax-product_cat .elementor-element-bcdbe1b,
	body.tax-product_cat .elementor-element-c63adde {
		width: 100% !important;
	}

	body.tax-product_cat .elementor-element-bcdbe1b {
		gap: 12px;
		margin-bottom: 8px;
	}

	body.tax-product_cat .brt-category-nav {
		padding: 16px 14px 12px;
		border-radius: 8px;
		box-shadow: 0 5px 18px rgba(1, 33, 105, .06);
	}

	body.tax-product_cat .brt-category-heading {
		margin-bottom: 8px;
	}

	body.tax-product_cat .brt-category-heading h2 {
		font-size: 18px;
	}

	body.tax-product_cat .brt-cat-level-0 {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 4px 8px;
		max-height: 310px;
		overflow-y: auto;
		padding-right: 3px;
	}

	body.tax-product_cat .brt-cat-level-1 {
		grid-column: 1 / -1;
		margin-left: 7px;
	}

	body.tax-product_cat .brt-cat-item > a {
		padding: 7px 8px;
		font-size: 12.5px;
	}

	body.tax-product_cat .brt-cat-count {
		display: none;
	}

	body.tax-product_cat .elementor-element-efb039a {
		border-radius: 8px;
		box-shadow: 0 5px 18px rgba(1, 33, 105, .06);
	}

	body.tax-product_cat .wd-product-filters {
		display: grid;
		grid-template-columns: 1fr;
	}

	body.tax-product_cat .wd-product-filters .wd-pf-title {
		padding: 14px 14px 6px;
	}

	body.tax-product_cat .wd-product-filters .wd-pf-dropdown {
		padding: 4px 14px 14px;
	}
}

/* Shop by Category grid: uniform square thumbnails, aligned titles */
.elementor-element-b50dcbd .category-grid-item {
	background: #FFFFFF;
	border: 1px solid #E5E5E5;
	border-radius: 4px;
	overflow: hidden;
	transition: border-color 0.15s ease;
}

.elementor-element-b50dcbd .category-grid-item:hover {
	border-color: #012169;
}

.elementor-element-b50dcbd .wd-cat-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.elementor-element-b50dcbd .wd-cat-thumb {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	height: auto !important;
	overflow: hidden;
	background: #F7F7F7;
}

.elementor-element-b50dcbd .wd-cat-thumb .wd-cat-image {
	position: absolute;
	inset: 0;
	display: block;
}

.elementor-element-b50dcbd .wd-cat-thumb img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
}

.elementor-element-b50dcbd .wd-cat-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1 0 auto;
	padding: 16px 12px;
	text-align: center;
}

.elementor-element-b50dcbd .wd-entities-title {
	font-family: "Hind", sans-serif;
	font-weight: 600;
	font-size: 15px;
	color: #111111;
	margin: 0 0 6px;
	min-height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.elementor-element-b50dcbd .wd-cat-count {
	margin-top: auto;
	font-family: "Hind", sans-serif;
	font-size: 13px;
	color: #767676;
}

.elementor-element-b50dcbd .wd-cat-count a {
	color: inherit;
}

@media (max-width: 1024px) {
	.elementor-element-b50dcbd .wd-entities-title {
		font-size: 14px;
		min-height: 36px;
	}
}

@media (max-width: 767px) {
	.elementor-element-b50dcbd .wd-cat-content {
		padding: 12px 8px;
	}
	.elementor-element-b50dcbd .wd-entities-title {
		font-size: 13px;
		min-height: 32px;
	}
	.elementor-element-b50dcbd .wd-cat-count {
		font-size: 12px;
	}
}

/* Hide duplicate "Get a Quote" nav link on desktop (standalone CTA button covers it) */
@media (min-width: 1025px) {
	.wd-header-main-nav .menu-item-29910 {
		display: none !important;
	}
}

/* Single-product spacing: only reduce the two requested vertical gaps */
@media (min-width: 768px) {
	.single-product .elementor-element-67eb16f0 {
		padding-bottom: 10px !important;
	}

	.single-product .elementor-element-4f3ea720 {
		padding-top: 20px !important;
		padding-bottom: 20px !important;
	}

	.single-product .elementor-element-2998a04 {
		padding-top: 10px !important;
	}
}

@media (max-width: 767px) {
	.single-product .elementor-element-67eb16f0 {
		padding-bottom: 8px !important;
	}

	.single-product .elementor-element-4f3ea720 {
		padding-top: 8px !important;
		padding-bottom: 8px !important;
	}

	.single-product .elementor-element-2998a04 {
		padding-top: 8px !important;
	}
}

/* Remove only the excess blank space above and below the product tabs area */
.single-product .product-tabs-wrapper {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.single-product .product-tabs-wrapper .tabs-layout-tabs > .wd-nav-tabs-wrapper {
	margin-top: 0 !important;
}

/* Mobile only: hide Trade Account in Woodmart's cloned sticky header */
@media (max-width: 767px) {
	.whb-sticky-header.whb-clone .whb-mobile-right .brittlite-trade-under-cart {
		display: none !important;
	}
}

/* BrittLite category mobile availability refinement */
body.tax-product_cat .elementor-element-efb039a {
	order: 1;
}

body.tax-product_cat .elementor-element-brtcatnav1 {
	order: 2;
}

@media (max-width: 767px) {
	body.tax-product_cat .elementor-element-brtcatnav1 {
		display: none !important;
	}

	body.tax-product_cat .elementor-element-bcdbe1b {
		gap: 0;
		margin-bottom: 14px;
	}

	body.tax-product_cat .elementor-element-efb039a {
		border: 1px solid #dfe4ec;
		border-top: 4px solid #012169;
		border-radius: 8px;
		background: #fff;
		box-shadow: 0 5px 18px rgba(1, 33, 105, .06);
	}

	body.tax-product_cat .wd-product-filters .wd-pf-price-range {
		display: none !important;
	}

	body.tax-product_cat .wd-product-filters .wd-pf-stock {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		padding: 14px;
		border: 0;
	}

	body.tax-product_cat .wd-product-filters .wd-pf-stock .wd-pf-title {
		width: 100% !important;
		min-height: 0 !important;
		padding: 0 0 9px;
		border: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
	}

	body.tax-product_cat .wd-product-filters .wd-pf-stock .wd-pf-title .title-text {
		font-size: 16px;
	}

	body.tax-product_cat .wd-product-filters .wd-pf-stock .wd-pf-results {
		display: none !important;
	}

	body.tax-product_cat .wd-product-filters .wd-pf-stock .wd-pf-dropdown {
		width: auto !important;
		padding: 0;
	}

	body.tax-product_cat .wd-product-filters .wd-pf-stock ul {
		display: flex;
		flex-wrap: wrap;
		gap: 7px;
	}

	body.tax-product_cat .wd-product-filters .wd-pf-stock .pf-value {
		min-height: 32px;
		padding: 7px 11px;
		font-size: 13px;
	}
}

/* BrittLite desktop archive filter correction */
@media (min-width: 768px) {
	body.tax-product_cat .elementor-element-efb039a {
		width: 100% !important;
		border-top: 4px solid #012169;
	}

	body.tax-product_cat .wd-product-filters,
	body.tax-product_cat .wd-product-filters .wd-pf-checkboxes {
		width: 100% !important;
		max-width: none !important;
	}

	body.tax-product_cat .wd-product-filters .wd-pf-title {
		width: 100% !important;
		min-height: 0 !important;
		padding: 16px 18px 7px;
		border: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
	}

	body.tax-product_cat .wd-product-filters .wd-pf-title .title-text {
		font-size: 16px;
		line-height: 1.25;
	}

	body.tax-product_cat .wd-product-filters .wd-pf-results {
		display: none !important;
	}

	body.tax-product_cat .wd-product-filters .wd-pf-dropdown {
		width: 100% !important;
		max-width: none !important;
		padding: 5px 18px 18px;
	}

	body.tax-product_cat .wd-product-filters .wd-pf-stock ul {
		gap: 8px;
	}

	body.tax-product_cat .wd-product-filters .wd-pf-stock .pf-value {
		min-height: 34px;
		padding: 7px 12px;
		font-size: 13px;
	}

	body.tax-product_cat .wd-product-filters .price_slider_wrapper {
		width: 100%;
		padding-top: 5px;
	}

	body.tax-product_cat .wd-product-filters .price_slider {
		height: 4px !important;
		margin: 10px 8px 17px;
		border: 0 !important;
		background: #dce2eb !important;
	}

	body.tax-product_cat .wd-product-filters .ui-slider .ui-slider-handle {
		top: -6px !important;
		width: 16px !important;
		height: 16px !important;
		margin-left: -8px !important;
		border: 2px solid #012169 !important;
		border-radius: 50% !important;
		background: #fff !important;
	}

	body.tax-product_cat .wd-product-filters .filter_price_slider_amount {
		margin-top: 0;
	}

	body.tax-product_cat .wd-product-filters .widget_price_filter .button {
		min-height: 34px;
		padding: 8px 13px;
	}
}
/* Active LED Driver child category */
body.term-150 .brt-cat-item-150 > a { background: #012169; border-left-color: #c8102e; color: #fff; }
body.term-150 .brt-cat-item-150 > a .brt-cat-count { background: rgba(255,255,255,.16); color: #fff; }

/* BrittLite desktop product gallery layout: main image full-width, thumbnails below */
@media (min-width: 1025px) {
	body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery.thumbs-position-left {
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		gap: 14px;
	}

	body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery.thumbs-position-left.wd-has-thumb .wd-gallery-images,
	body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery.thumbs-position-left .wd-gallery-images,
	body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery.thumbs-position-left .woocommerce-product-gallery__wrapper {
		flex: 0 0 auto !important;
		align-self: stretch !important;
		order: 1 !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery.thumbs-position-left .woocommerce-product-gallery__image,
	body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery.thumbs-position-left .woocommerce-product-gallery__image a {
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 100%;
	}

	body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery.thumbs-position-left .woocommerce-product-gallery__image img {
		display: block;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		object-fit: contain !important;
	}

	body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb {
		position: relative !important;
		order: 2 !important;
		flex: 0 0 auto !important;
		width: 100% !important;
		max-width: 100% !important;
		height: 84px !important;
		min-height: 84px !important;
		max-height: 84px !important;
		margin: 0 !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		-webkit-overflow-scrolling: touch;
	}

	body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb .wd-carousel-inner {
		position: static !important;
		inset: auto !important;
		width: 100% !important;
		height: 84px !important;
		min-height: 84px !important;
		max-height: 84px !important;
		overflow: visible !important;
	}

	body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb .wd-carousel {
		width: 100% !important;
		height: 84px !important;
		min-height: 84px !important;
		max-height: 84px !important;
		margin-inline: 0 !important;
		touch-action: pan-y !important;
		overflow: visible !important;
	}

	body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb .wd-carousel-wrap {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		gap: 10px;
		width: max-content !important;
		height: 84px !important;
		transform: none !important;
	}

	body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb .wd-carousel-item {
		flex: 0 0 78px !important;
		width: 78px !important;
		max-width: 78px !important;
		height: 78px !important;
		padding-inline: 0 !important;
	}

	body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb img {
		width: 78px !important;
		height: 78px !important;
		margin-bottom: 0 !important;
		object-fit: contain !important;
	}

	body.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb .wd-thumb-nav {
		display: none !important;
	}
}


/* BrittLite side cart redesign start */
.cart-widget-side {
  --wd-side-hidden-w: 430px;
  box-shadow: -18px 0 45px rgba(0, 18, 50, 0.18);
}

.cart-widget-side .wd-heading {
  min-height: 70px;
  padding: 20px 24px;
  border-bottom: 1px solid #e7ebf1;
  background: #ffffff;
}

.cart-widget-side .wd-heading .title {
  color: #071f52;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.cart-widget-side .wd-heading .wd-action-btn > a,
.cart-widget-side .close-side-widget > a {
  color: #071f52;
  font-weight: 600;
}

.cart-widget-side .wd-scroll-content {
  background: #ffffff;
}

.cart-widget-side .woocommerce-mini-cart {
  margin: 0;
  padding: 0;
}

.cart-widget-side .woocommerce-mini-cart .mini_cart_item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
  min-height: 100px;
  padding: 16px 22px 16px 20px;
  border-bottom: 1px solid #eef1f5;
  background: #ffffff;
}

.cart-widget-side .woocommerce-mini-cart .mini_cart_item:hover {
  background: #f8fafc;
}

.cart-widget-side .woocommerce-mini-cart .cart-item-link {
  display: none;
}

.cart-widget-side .woocommerce-mini-cart .cart-item-image {
  width: 76px;
  height: 76px;
  margin: 0;
  border: 1px solid #e7ebf1;
  border-radius: 8px;
  background: #f6f8fb;
}

.cart-widget-side .woocommerce-mini-cart .cart-item-image img,
.cart-widget-side .woocommerce-mini-cart > li > img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center;
  border-radius: 7px;
}

.cart-widget-side .woocommerce-mini-cart .cart-info {
  min-width: 0;
  padding-inline-end: 24px;
}

.cart-widget-side .cart-info .wd-entities-title {
  display: block;
  margin: 0 0 7px;
  color: #263247;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.cart-widget-side .cart-info .wd-entities-title a {
  color: inherit;
}

.cart-widget-side .cart-info span.quantity {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.3;
}

.cart-widget-side .cart-info span.quantity .woocommerce-Price-amount {
  color: #071f52;
  font-size: 15px;
  font-weight: 700;
}

.cart-widget-side .cart-info div.quantity {
  margin: 2px 0 8px;
}

.cart-widget-side .woocommerce-mini-cart .remove {
  top: 14px;
  inset-inline-end: 16px;
  width: 24px;
  height: 24px;
  color: #7b8494;
  line-height: 24px;
  background: #f2f4f7;
}

.cart-widget-side .woocommerce-mini-cart .remove:hover {
  color: #ffffff;
  background: #cf0a2c;
  box-shadow: none;
}

.cart-widget-side .shopping-cart-widget-footer {
  padding: 18px 20px 22px;
  border-top: 1px solid #e7ebf1;
  background: #ffffff;
  box-shadow: 0 -10px 26px rgba(0, 18, 50, 0.06);
}

.cart-widget-side .shopping-cart-widget-footer > * {
  padding-inline: 0;
}

.cart-widget-side .woocommerce-mini-cart__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  color: #263247;
  font-size: 15px;
}

.cart-widget-side .woocommerce-mini-cart__total strong {
  color: #263247;
  font-weight: 700;
}

.cart-widget-side .woocommerce-mini-cart__total .woocommerce-Price-amount {
  color: #071f52;
  font-size: 20px;
  font-weight: 800;
  text-align: right;
}

.cart-widget-side .woocommerce-mini-cart__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  text-align: initial;
}

.cart-widget-side .woocommerce-mini-cart__buttons .button {
  width: auto;
  min-height: 48px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #cf0a2c;
  border-radius: 8px;
  background: #cf0a2c;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: none;
}

.cart-widget-side .woocommerce-mini-cart__buttons .button:first-child {
  border-color: #071f52;
  background: #ffffff;
  color: #071f52;
}

.cart-widget-side .woocommerce-mini-cart__buttons .button:hover {
  border-color: #071f52;
  background: #071f52;
  color: #ffffff;
}

@media (max-width: 480px) {
  .cart-widget-side {
    --wd-side-hidden-w: 92vw;
  }

  .cart-widget-side .wd-heading {
    min-height: 64px;
    padding: 18px 18px;
  }

  .cart-widget-side .woocommerce-mini-cart .mini_cart_item {
    grid-template-columns: 68px minmax(0, 1fr);
    column-gap: 12px;
    min-height: 92px;
    padding: 14px 18px 14px 16px;
  }

  .cart-widget-side .woocommerce-mini-cart .cart-item-image {
    width: 68px;
    height: 68px;
  }

  .cart-widget-side .shopping-cart-widget-footer {
    padding: 16px;
  }

  .cart-widget-side .woocommerce-mini-cart__buttons {
    grid-template-columns: 1fr;
  }
}
/* BrittLite side cart redesign end */

/* BrittLite side cart load-order hardening start */
.cart-widget-side.wd-side-hidden {
  width: min(430px, 100vw) !important;
}

.cart-widget-side .woocommerce-mini-cart > li,
.cart-widget-side .woocommerce-mini-cart .woocommerce-mini-cart-item,
.cart-widget-side .woocommerce-mini-cart .mini_cart_item,
.cart-widget-side ul.cart_list.product_list_widget > li {
  display: grid !important;
  grid-template-columns: 76px minmax(0, 1fr) !important;
  grid-auto-flow: column !important;
  column-gap: 14px !important;
  align-items: start !important;
  min-height: 100px !important;
  padding: 16px 42px 16px 20px !important;
  border-bottom: 1px solid #eef1f5 !important;
  background: #ffffff !important;
}

.cart-widget-side .woocommerce-mini-cart > li > .cart-item-image,
.cart-widget-side .woocommerce-mini-cart .cart-item-image,
.cart-widget-side ul.cart_list.product_list_widget > li > a.cart-item-image {
  grid-column: 1 !important;
  grid-row: 1 / span 4 !important;
  display: block !important;
  width: 76px !important;
  min-width: 76px !important;
  max-width: 76px !important;
  height: 76px !important;
  min-height: 76px !important;
  max-height: 76px !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 1px solid #e7ebf1 !important;
  border-radius: 8px !important;
  background: #f6f8fb !important;
}

.cart-widget-side .woocommerce-mini-cart .cart-item-image img,
.cart-widget-side ul.cart_list.product_list_widget > li > a.cart-item-image img,
.cart-widget-side ul.cart_list.product_list_widget > li > img {
  display: block !important;
  float: none !important;
  width: 76px !important;
  min-width: 76px !important;
  max-width: 76px !important;
  height: 76px !important;
  min-height: 76px !important;
  max-height: 76px !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 7px !important;
}

.cart-widget-side .woocommerce-mini-cart .cart-info,
.cart-widget-side ul.cart_list.product_list_widget > li > .cart-info {
  grid-column: 2 !important;
  min-width: 0 !important;
  padding-inline-end: 0 !important;
}

.cart-widget-side .woocommerce-mini-cart .cart-item-link {
  display: none !important;
}

.cart-widget-side .cart-info .wd-entities-title {
  color: #263247 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

.cart-widget-side .cart-info span.quantity .woocommerce-Price-amount,
.cart-widget-side .woocommerce-mini-cart__total .woocommerce-Price-amount {
  color: #071f52 !important;
}

.cart-widget-side .woocommerce-mini-cart__buttons .button:first-of-type {
  border-color: #071f52 !important;
  background: #ffffff !important;
  color: #071f52 !important;
}

.cart-widget-side .woocommerce-mini-cart__buttons .button.checkout,
.cart-widget-side .woocommerce-mini-cart__buttons .checkout {
  border-color: #cf0a2c !important;
  background: #cf0a2c !important;
  color: #ffffff !important;
}

@media (max-width: 480px) {
  .cart-widget-side.wd-side-hidden {
    width: 92vw !important;
  }

  .cart-widget-side .woocommerce-mini-cart > li,
  .cart-widget-side .woocommerce-mini-cart .woocommerce-mini-cart-item,
  .cart-widget-side .woocommerce-mini-cart .mini_cart_item,
  .cart-widget-side ul.cart_list.product_list_widget > li {
    grid-template-columns: 68px minmax(0, 1fr) !important;
    min-height: 92px !important;
    padding: 14px 36px 14px 16px !important;
  }

  .cart-widget-side .woocommerce-mini-cart > li > .cart-item-image,
  .cart-widget-side .woocommerce-mini-cart .cart-item-image,
  .cart-widget-side ul.cart_list.product_list_widget > li > a.cart-item-image,
  .cart-widget-side .woocommerce-mini-cart .cart-item-image img,
  .cart-widget-side ul.cart_list.product_list_widget > li > a.cart-item-image img,
  .cart-widget-side ul.cart_list.product_list_widget > li > img {
    width: 68px !important;
    min-width: 68px !important;
    max-width: 68px !important;
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;
  }
}
/* BrittLite side cart load-order hardening end */

/* BrittLite Elementor side cart layout start */
.cart-widget-side .elementor-menu-cart__products {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.cart-widget-side .elementor-menu-cart__product {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 76px minmax(0, 1fr) !important;
  grid-template-areas:
    "thumb name"
    "thumb price" !important;
  column-gap: 14px !important;
  row-gap: 6px !important;
  align-items: start !important;
  min-height: 104px !important;
  margin: 0 !important;
  padding: 16px 46px 16px 20px !important;
  border-bottom: 1px solid #eef1f5 !important;
  background: #ffffff !important;
}

.cart-widget-side .elementor-menu-cart__product:hover {
  background: #f8fafc !important;
}

.cart-widget-side .elementor-menu-cart__product-image {
  grid-area: thumb !important;
  width: 76px !important;
  min-width: 76px !important;
  max-width: 76px !important;
  height: 76px !important;
  min-height: 76px !important;
  max-height: 76px !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 1px solid #e7ebf1 !important;
  border-radius: 8px !important;
  background: #f6f8fb !important;
}

.cart-widget-side .elementor-menu-cart__product-image a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.cart-widget-side .elementor-menu-cart__product-image img {
  display: block !important;
  width: 76px !important;
  min-width: 76px !important;
  max-width: 76px !important;
  height: 76px !important;
  min-height: 76px !important;
  max-height: 76px !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 7px !important;
}

.cart-widget-side .elementor-menu-cart__product-name {
  grid-area: name !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #263247 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

.cart-widget-side .elementor-menu-cart__product-name a {
  color: #263247 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

.cart-widget-side .elementor-menu-cart__product-price {
  grid-area: price !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #6b7280 !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
}

.cart-widget-side .elementor-menu-cart__product-price .product-quantity {
  color: #6b7280 !important;
  font-size: 13px !important;
}

.cart-widget-side .elementor-menu-cart__product-price .woocommerce-Price-amount {
  color: #071f52 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.cart-widget-side .elementor-menu-cart__product-remove {
  position: absolute !important;
  top: 14px !important;
  right: 16px !important;
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
}

.cart-widget-side .elementor-menu-cart__product-remove a {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background: #f2f4f7 !important;
  color: #7b8494 !important;
}

.cart-widget-side .elementor-menu-cart__product-remove a:hover {
  background: #cf0a2c !important;
  color: #ffffff !important;
}

.cart-widget-side .elementor-menu-cart__subtotal {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 18px 20px 12px !important;
  border-top: 1px solid #e7ebf1 !important;
  color: #263247 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.cart-widget-side .elementor-menu-cart__subtotal .woocommerce-Price-amount {
  color: #071f52 !important;
  font-size: 20px !important;
  font-weight: 800 !important;
}

.cart-widget-side .elementor-menu-cart__footer-buttons {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  padding: 0 20px 22px !important;
  background: #ffffff !important;
}

.cart-widget-side .elementor-menu-cart__footer-buttons .elementor-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  border: 1px solid #cf0a2c !important;
  border-radius: 8px !important;
  background: #cf0a2c !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-transform: none !important;
}

.cart-widget-side .elementor-menu-cart__footer-buttons .elementor-button:first-child {
  border-color: #071f52 !important;
  background: #ffffff !important;
  color: #071f52 !important;
}

.cart-widget-side .elementor-menu-cart__footer-buttons .elementor-button:hover {
  border-color: #071f52 !important;
  background: #071f52 !important;
  color: #ffffff !important;
}

@media (max-width: 480px) {
  .cart-widget-side .elementor-menu-cart__product {
    grid-template-columns: 68px minmax(0, 1fr) !important;
    min-height: 94px !important;
    padding: 14px 40px 14px 16px !important;
  }

  .cart-widget-side .elementor-menu-cart__product-image,
  .cart-widget-side .elementor-menu-cart__product-image img {
    width: 68px !important;
    min-width: 68px !important;
    max-width: 68px !important;
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;
  }

  .cart-widget-side .elementor-menu-cart__footer-buttons {
    grid-template-columns: 1fr !important;
    padding: 0 16px 18px !important;
  }
}
/* BrittLite Elementor side cart layout end */
