/* Sales column widgets. Elementor style controls override these defaults. */

.ecw-sale-notice {
	margin: 0;
	padding: 12px 14px;
	border: 1px dashed #111;
	border-radius: 12px;
	background: #fff;
	color: #111;
	font-family: Montserrat, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.ecw-sale-badges {
	display: flex;
	justify-content: center;
}

.ecw-sale-badges__img {
	display: block;
	width: 220px;
	max-width: 100%;
	height: auto;
}

.ecw-sale-price {
	display: block;
	box-sizing: border-box;
	padding: 16px;
	border-radius: 16px;
	background: #f6f6f6;
	text-align: center;
	font-family: Montserrat, sans-serif;
}

.ecw-sale-price--woo {
	padding: 0;
	border-radius: 0;
	background: transparent;
}

.ecw-sale-price__prefix {
	display: block;
	margin: 0 0 4px;
	color: #111;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.ecw-sale-price__amount,
.ecw-sale-price__amount .price,
.ecw-sale-price__amount .woocommerce-Price-amount {
	display: block;
	color: #111;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.2;
}

.ecw-sale-price__amount del,
.ecw-sale-price__amount del .woocommerce-Price-amount {
	display: inline;
	color: #888;
	font-size: 0.72em;
	font-weight: 600;
}

.ecw-sale-price__amount ins {
	text-decoration: none;
}

.ecw-sale-buy,
.ecw-sale-buy .cc-buy,
.ecw-sale-buy form.cart,
.ecw-sale-buy form.variations_form,
.ecw-sale-buy .single_variation_wrap,
.ecw-sale-buy .woocommerce-variation-add-to-cart,
.ecw-sale-buy .variations_button {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	width: 100%;
	margin: 0;
}

.ecw-sale-buy .variations {
	width: 100%;
	margin: 0;
	border: 0;
}

.ecw-sale-buy .variations td,
.ecw-sale-buy .variations th {
	display: block;
	padding: 0;
	border: 0;
	text-align: inherit;
}

.ecw-sale-buy select,
.ecw-sale-buy .qty {
	box-sizing: border-box;
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 10px;
	background: #fff;
	font-family: Montserrat, sans-serif;
}

.ecw-sale-buy .single_add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 14px 28px;
	border: 0;
	border-radius: 35px;
	background: #25d366;
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
}

.ecw-sale-buy .single_add_to_cart_button:hover {
	background: #1ebe57;
	color: #fff;
}

.ecw-sale-buy--hide-qty .quantity {
	display: none;
}

.ecw-sale-title {
	margin: 0 0 18px;
	color: #e41118;
	font-family: Montserrat, sans-serif;
	font-size: clamp(1.55rem, 2.4vw, 2rem);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.01em;
	text-transform: uppercase;
}

.ecw-sale-stars {
	display: flex;
	justify-content: flex-start;
	gap: 4px;
	margin: 0 0 14px;
	color: #fabb05;
}

.ecw-sale-stars svg {
	display: block;
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.ecw-sale-description {
	margin: 0;
	color: #111;
	font-family: Montserrat, sans-serif;
	font-size: 1.05rem;
	line-height: 1.7;
}

.ecw-sale-description h2,
.ecw-sale-description h3,
.ecw-sale-description h4 {
	margin: 1.1em 0 0.45em;
	font-weight: 700;
}

.ecw-sale-description p:first-child {
	margin-top: 0;
}

.ecw-sale-video {
	overflow: hidden;
	border-radius: 12px;
	background: #0d0d0d;
}

.ecw-sale-video__frame {
	position: relative;
	aspect-ratio: 16 / 9;
}

.ecw-sale-video__frame iframe,
.ecw-sale-video__frame video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.ecw-sale-video--image .ecw-sale-video__img {
	display: block;
	width: 100%;
	height: auto;
}

.ecw-sale-chips {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	overflow: hidden;
	list-style: none;
	border: 1px solid #000;
	border-radius: 25px;
	background: #fff;
}

.ecw-sale-chips__item {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 14px 16px;
	border-right: 2px dotted #000;
}

.ecw-sale-chips__item:last-child {
	border-right: 0;
}

.ecw-sale-chips--cards {
	gap: 14px;
	overflow: visible;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.ecw-sale-chips--cards .ecw-sale-chips__item {
	border: 1px solid rgba(17, 17, 17, 0.22);
	border-radius: 18px;
	background: #fff;
	min-height: 76px;
	padding: 16px;
	box-shadow: 0 1px 0 rgba(17, 17, 17, 0.06);
}

.ecw-sale-chips--cards .ecw-sale-chips__icon {
	width: 42px;
	height: 42px;
	justify-content: center;
	border-radius: 12px;
	background: rgba(17, 17, 17, 0.06);
	color: #111;
}

.ecw-sale-chips--cards .ecw-sale-chips__text {
	font-size: 0.92rem;
	font-weight: 700;
}

.ecw-sale-chips__icon {
	display: inline-flex;
	flex: 0 0 auto;
	color: #e41118;
}

.ecw-sale-chips__text {
	color: #111;
	font-family: Montserrat, sans-serif;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.3;
}

.ecw-sale-faq__title {
	margin: 8px 0 10px;
	color: #111;
	font-family: Montserrat, sans-serif;
	font-size: 25px;
	font-weight: 600;
	text-align: center;
}

.ecw-sale-faq__item {
	border-bottom: 1px solid #e5e5e5;
}

.ecw-sale-faq__q {
	position: relative;
	display: block;
	padding: 14px 28px 14px 0;
	color: #111;
	font-family: Montserrat, sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}

.ecw-sale-faq__q::-webkit-details-marker {
	display: none;
}

.ecw-sale-faq__q::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 4px;
	width: 8px;
	height: 8px;
	border-right: 2px solid #666;
	border-bottom: 2px solid #666;
	transform: translateY(-65%) rotate(45deg);
}

.ecw-sale-faq__item[open] .ecw-sale-faq__q::after {
	transform: translateY(-20%) rotate(225deg);
}

.ecw-sale-faq__a {
	padding: 0 0 16px;
	color: #444;
	font-family: Montserrat, sans-serif;
	font-size: 0.88rem;
	line-height: 1.65;
}

.ecw-sale-ctas {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
}

.ecw-sale-ctas__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	padding: 10px 18px;
	border-radius: 35px;
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}

.ecw-sale-ctas__primary {
	background: #e41118;
}

.ecw-sale-ctas__primary:hover {
	background: #c30e14;
	color: #fff;
}

.ecw-sale-ctas__secondary {
	background: #00bd27;
}

.ecw-sale-ctas__secondary:hover {
	background: #009a1f;
	color: #fff;
}

.ecw-sale-cats {
	margin: 0;
	color: #666;
	font-family: Montserrat, sans-serif;
	font-size: 0.82rem;
}

.ecw-sale-related__title {
	margin: 0 0 16px;
	color: #111;
	font-family: Montserrat, sans-serif;
	font-size: 1.35rem;
	font-weight: 800;
}

.ecw-sale-related {
	--ecw-sale-cols: 3;
	margin-top: 12px;
}

.elementor-widget-ecw-sale-related .cc-related-carousel__shell {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 8px;
	align-items: center;
}

.elementor-widget-ecw-sale-related .cc-related-carousel__viewport {
	overflow: hidden;
	width: 100%;
}

.elementor-widget-ecw-sale-related .cc-related-carousel__track {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 0.5rem 2px 1rem;
}

.elementor-widget-ecw-sale-related .cc-related-carousel__track::-webkit-scrollbar {
	display: none;
}

.elementor-widget-ecw-sale-related .cc-related-carousel__slide {
	flex: 0 0 calc((100% - (var(--ecw-sale-cols, 3) - 1) * 18px) / var(--ecw-sale-cols, 3));
	min-width: 0;
	scroll-snap-align: start;
}

.elementor-widget-ecw-sale-related .cc-related-carousel__nav {
	width: 40px;
	height: 40px;
	border-radius: 999px;
	border: 1px solid rgba(17, 17, 17, 0.25);
	background: #fff;
	color: #111;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

body.single-product .ecw-sale-document > .elementor > .e-con:first-child {
	padding-top: calc(var(--nav-height, 72px) + clamp(36px, 5vw, 64px));
}

@media (max-width: 900px) {
	.ecw-sale-chips--strip,
	.ecw-sale-chips--cards {
		grid-template-columns: 1fr;
	}

	.ecw-sale-chips--strip .ecw-sale-chips__item {
		border-right: 0;
		border-bottom: 2px dotted #000;
	}

	.ecw-sale-chips--strip .ecw-sale-chips__item:last-child {
		border-bottom: 0;
	}

	.elementor-widget-ecw-sale-related .cc-related-carousel__slide {
		flex-basis: 85%;
	}
}
