.ecomus-products-carousel {
	ul.products {
		li.product {
			height: auto;
    		flex-grow: 1;

			.product-inner {
				height: 100%;
			}
		}
	}

	.swiper-button {
		--em-arrow-top: calc(50% - 25px);
		opacity: 0;

		&.elementor-swiper-button-prev {
			margin-left: 20px;
		}

		&.elementor-swiper-button-next {
			margin-right: 20px;
		}
    }

    &:hover {
        .swiper-button {
			opacity: 1;

			&.elementor-swiper-button-prev {
				margin-left: 0;
			}

			&.elementor-swiper-button-next {
				margin-right: 0;
			}
        }
    }
}

.ecomus-products-carousel__heading-display-between {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 49px;

	h4 {
		margin: 0;
	}

	.swiper-button {
		@include font-size(8/16);
		position: static;
		display: inline-flex;
		transform: none;
		width: 30px;
		height: 30px;
		margin-left: 6px;
		opacity: 1;
		border-radius: var(--em-button-rounded);
	}

	.swiper-button.elementor-swiper-button-next {
		margin-right: 0;
	}
}

.ecomus-products-carousel__heading-display-center {
	margin-bottom: 60px;

	.swiper-arrows {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 16px;
	}

	.ecomus-products-carousel__title {
		@include font-size(12/16);
		font-weight: 600;
		text-transform: uppercase;
		margin: 0;

		a {
			line-height: 1;
			position: relative;
			padding: 0 0 5px 0;

			&:after {
				content: '';
				position: absolute;
				left: 0;
				bottom: 0;
				width: 100%;
				height: 1px;
				background-color: var(--em-link-color);
				transition: 0.4s;
			}

			&:hover {
				&:after {
					content: '';
					position: absolute;
					left: 0;
					bottom: 0;
					width: 100%;
					height: 1px;
					background-color: var(--em-link-color-hover);
				}
			}
		}
	}

	.swiper-button {
		--em-arrow-color-hover: var(--em-color__primary);

		@include font-size(14/16);
		text-align: center;
		position: static;
		transform: none;
		padding-top: 2px;
		margin-left: 0;
		opacity: 1;
		cursor: pointer;
		transition: 0.4s;
		display: inline-flex;
	}

	.elementor-swiper-button-next {
		margin-right: 0;
	}
}

.ecomus-addtocart-button-show--yes {
	.ecomus-button {
		min-width: 100%;
	}

	ul.products {
		li.product {
			.product-inner {
				.product-featured-icons {
					.product-loop-button-atc {
						display: none;
					}

					&:not(.no-atc) {
						&.product-featured-icons--no-spacing .product-loop-button:nth-child(3) {
							border-radius: var(--em-button-rounded-product-card-xs) 0 0 var(--em-button-rounded-product-card-xs);
						}
					}
				}
			}

			.product-loop-button-atc {
				--em-button-height: auto;
				--em-button-width: auto;
			}
		}

		&.product-card-button-atc-transfrom--top {
			li.product {
				.product-summary {
					transform: translateY(0);
					z-index: 2;
				}

				.product-loop-button-atc {
					opacity: 1;
					visibility: visible;
					pointer-events: auto;
				}
			}
		}

		&.product-card-button-atc-transfrom--bottom {
			li.product {
				.product-loop-button-atc {
					position: static;
					visibility: visible;
					opacity: 1;
					transform: none;
				}
			}
		}

		&.product-card-mobile-show-atc li.product {
			.product-loop-button-atc {
				display: inline-flex;
			}
		}
	}
}