/*===========================================================================
    Slider Css ( Slider Woocommerce )
===========================================================================*/
.bdt-ps-woocommerce {
	position: relative;

	.bdt-ps-item-inner {
		height: 100%;
	}

	.bdt-overlay-default {
		background: transparent;
	}

	.bdt-ps-content {
		max-width: 780px;
		margin-left: 40px;
		margin-right: 40px;

	}
	.bdt-ps-category {
		a {
			background-color: transparent;
			color: #333;
			position: relative;
			border: 1px solid #fe506c;
			transition: all 0.3s ease;
			overflow: hidden;
			display: inline-block;

			&::after,
			&::before {
				content: "";
				position: absolute;
				height: 100%;
				top: 0;
				left: 0;
				transition: all 0.3s ease;
			}
			
			&::after {
				z-index: -2;
				width: 100%;
			}
			&::before {
				z-index: -1;
				width: 0;
				background-color: #fe506c;
			}

			&:hover {
				color: #fff;

				&::before {
					background-color: #fe506c;
					width: 100%;
				}
			}
		}
	}

	.bdt-ps-title {
		font-size: 18px;
		font-weight: 700;
		margin: 0;
		margin-bottom: 10px;
		text-transform: uppercase;

		a {
			color: #000;
		}
	}

	.bdt-ps-text {
		max-width: 600px;
		margin-bottom: 10px;
		font-size: 10px;

		p {
			margin: 0;
		}
	}

	.bdt-ps-price {
		margin-bottom: 10px;

		p {
			margin: 0;
		}

		del,
		.price>span {
			color: #000;
			font-size: 18px;
			font-weight: 700;
		}
	}

	.bdt-ps-add-to-cart {
		margin: 10px 0;

		.cart {
			display: inline-flex;
			flex-direction: row-reverse;
			align-items: center;
		}

		.button {
			color: #fff;
			font-size: 9px;
			background: transparent;
			padding: 8px 12px;
			font-weight: 600;
			letter-spacing: 1px;
			border: 2px solid #fe506c;
			text-transform: uppercase;
			color: #000;
			cursor: pointer;
			transition: all 0.3s ease;
			position: relative;
			overflow: hidden;
			outline: none;

			&::after, 
			&::before {
				content: "";
				position: absolute;
				top: 0;
				left: 0;
				height: 100%;
				transition: all 0.3s ease;
			}
			&::after {
				z-index: -2;
				width: 100%;
			}
			&::before {
				width: 0;
				z-index: -1;
				background-color: #fe506c;
			}

			&:hover {
				color: #fff;

				&::before {
					width: 100%;
					background-color: #fe506c;
				}
			}
		}

		.input-text {
			color: #000;
			font-size: 9px;
			width: 50px;
			padding: 8px 5px 8px 18px;
			font-weight: 600;
			margin-left: 10px;
			text-align: center;
			border: 2px solid #ddd;
			transition: all 0.3s ease;
		}
	}

	.bdt-ps-wc-product-img {
		width: 100%;
		height: 100%;
		background-size: cover;
		background-position: center;
		margin: 0;
	}

	.bdt-prime-slider-social-icon {
		position: absolute;
		left: 40px;
		bottom: 50px;
		z-index: 1;

		a {
			color: #999;
			font-size: 10px;
			margin-right: 10px;
			display: inline-flex;
			// border: 1px solid #fe506c;
			transition: all 0.3s ease;
			position: relative;
			padding: 1px 8px;
			overflow: hidden;

			&::after, 
			&::before {
				content: "";
				position: absolute;
				top: 0;
				left: 0;
				height: 100%;
				transition: all 0.3s ease;
			}
			&::after {
				z-index: -2;
				width: 100%;
			}
			&::before {
				width: 0;
				z-index: -1;
				background-color: #fe506c;
			}

			&:hover {
				color: #fff;

				&::before {
					width: 100%;
					background-color: #fe506c;
				}
			}
		}
	}

	.bdt-scroll-down {
		position: absolute;
		right: 10px;
		z-index: 1;
		bottom: 70px;
		transition: all 0.3s ease;

		span {
			color: #666;
			font-size: 10px;
		}

		.bdt-scroll-icon {
			position: relative;

			svg {
				transition: all 0.4s ease-out;
				margin-bottom: 25px;
				width: 35px;

				* {
					fill: #666;
				}
			}
		}

		&:hover {
			.bdt-scroll-icon {
				svg {
					transform: translateY(100px);
				}
			}
		}

		.bdt-scroll-down-text {
			transform: rotate(90deg);
			display: block;
		}
	}

	.bdt-scroll-down-wrapper {
		display: none;

		button {
			background: transparent;
			padding: 0;
			border: 0;
			outline: none;
			cursor: pointer;
		}
	}
}

// Slide Animation Css
.bdt-ps-woocommerce {
	.bdt-slideshow-item.bdt-active {
		.bdt-ps-wc-product-img {
			position: relative;
			overflow: hidden;

			&:after {
				content: "";
				width: 0;
				position: absolute;
				height: 100%;
				background-color: rgba(255, 255, 255, 0.3);
				animation-name: skin-clump2;
				animation-duration: 1s;
				transition-timing-function: cubic-bezier(1, 0.01, 0, 0.98);
				right: 0;
				top: 0;
				z-index: 10;
			}

			&:before {
				content: "";
				width: 0;
				position: absolute;
				height: 100%;
				background-color: #fff;
				animation-name: skin-clump;
				animation-duration: 0.5s;
				transition-timing-function: cubic-bezier(0.15, 0.82, 0.54, 0.99);
				right: 0;
				top: 0;
				z-index: 12;
			}
		}
	}
}

@keyframes skin-clump {
	0% {
		width: 100%;
	}

	100% {
		width: 0;
	}
}

@keyframes skin-clump2 {
	0% {
		width: 0%;
	}

	100% {
		width: 100%;
	}
}

/*===========================================================================
	  Navigation Css ( Slider Woocommerce )
  ===========================================================================*/
.bdt-ps-woocommerce {
	.bdt-prime-slider-next {
		right: 5px;

		&:hover svg {
			transform: scale(1.2) translateX(3px);
		}
	}

	.bdt-prime-slider-previous {
		left: 5px;

		&:hover svg {
			transform: scale(1.2) translateX(-3px);
		}
	}

	.bdt-prime-slider-next,
	.bdt-prime-slider-previous {
		border-radius: 80px;
		border: 2px solid #fe506c;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		transition: all 0.3s ease;
		position: relative;
		overflow: hidden;
		padding: 10.44px 14px;
		font-size: 10px;

		&::before {
			content: "";
			position: absolute;
			background-color: #fe506c;
			height: 100%;
			width: 0;
			top: 0;
			left: 0;
			transition: all 0.3s ease;
		}

		&:hover {
			&::before {
				width: 100%;
			}

			svg {
				color: #fff;
			}
		}

		svg {
			color: #fe506c;
			width: 1em;
			transition: transform 0.3s ease-out;
		}
	}

	.bdt-ps-dotnav {
		margin-bottom: 50px !important;
		margin-right: 40px;

		li {
			position: absolute;
			left: -35px;
			transform: translateY(50%);
			transition: all 0.3s ease-in;

			a {
				font-size: 12px;
				color: #000;
			}

			&.bdt-active {
				opacity: 1;
				transition-delay: 0.2s;
				transform: translateY(0px);
			}
		}

		li:not(.bdt-active) {
			opacity: 0;
		}

		span {
			font-size: 12px;
			color: #999;

			&:before {
				content: "";
				position: absolute;
				height: 2px;
				width: 10px;
				left: -16px;
				top: 50%;
				background: #999;
			}
		}
	}
}

/*===========================================================================
	  Responsive Css ( Slider Woocommerce )
  ===========================================================================*/
@media (max-width: 639px) {
	.bdt-ps-woocommerce {
		.bdt-content-position-center {
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
			width: max-content;
			max-width: 100%;
			box-sizing: border-box;
			position: absolute !important;
			z-index: 1;
		}

		.bdt-overlay-default {
			background-color: rgba(255, 255, 255, 0.2);
		}
	}
}

@media (min-width: 640px) {
	.bdt-ps-woocommerce {
		.bdt-ps-item-inner {
			position: relative;
			z-index: 1;
		}

		.bdt-ps-content {
			margin-left: 60px;
			margin-right: 20px;
		}
		.bdt-ps-category {
			margin-bottom: 10px;

			a {
				font-size: 12px;
				padding: 5px 15px;
			}
		}

		.bdt-ps-title {
			font-size: 20px;
			margin-bottom: 15px;
		}

		.bdt-ps-text {
			margin-bottom: 10px;
			font-size: 12px;
		}

		.bdt-ps-price {
			margin-bottom: 5px;

			del,
			.price>span {
				font-size: 20px;
			}
		}

		.bdt-ps-add-to-cart {
			.button {
				font-size: 10px;
				padding: 12px 25px;
			}

			.input-text {
				font-size: 10px;
				width: 80px;
				padding: 12px 10px 12px 20px;
			}
		}

		.bdt-prime-slider-social-icon {
			left: 60px;

			a {
				font-size: 14px;
				margin-right: 20px;
			}
		}

		.bdt-ps-wc-product-img,
		.bdt-scroll-down-wrapper {
			display: inherit;
		}

		.bdt-ps-dotnav-width,
		.bdt-ps-wc-product-img {
			width: 180px;
			margin-right: 60px;
		}

		.bdt-ps-dotnav {
			margin-right: 30px;

			li {
				left: -50px;

				a {
					font-size: 20px;
				}
			}

			span {
				font-size: 20px;

				&:before {
					left: -19px;
				}
			}
		}

		.bdt-prime-slider-next {
			right: 16px;
		}

		.bdt-prime-slider-previous {
			left: 16px;
		}
	}
}

@media (min-width: 1024px) {
	.bdt-ps-woocommerce {
		.bdt-ps-content {
			margin-left: 100px;
			margin-right: 40px;
		}
		.bdt-ps-title {
			font-size: 36px;
			margin-bottom: 20px;
		}

		.bdt-ps-text {
			margin-bottom: 15px;
			font-size: 14px;
		}

		.bdt-ps-price {
			margin-bottom: 15px;

			del,
			.price>span {
				font-size: 30px;
			}
		}

		.bdt-ps-add-to-cart {
			.button {
				font-size: 14px;
				letter-spacing: 2px;
				padding: 12px 50px;
			}

			.input-text {
				font-size: 14px;
				padding: 12px 10px 12px 20px;
			}
		}

		.bdt-ps-dotnav-width,
		.bdt-ps-wc-product-img {
			width: 350px;
			margin-right: 100px;
		}

		.bdt-scroll-down {
			right: 28px;
		}

		.bdt-prime-slider-social-icon {
			left: 100px;
		}

		.bdt-prime-slider-next,
		.bdt-prime-slider-previous {
			padding: 13.44px 17px;
		}

		.bdt-prime-slider-next {
			right: 25px;
		}

		.bdt-prime-slider-previous {
			left: 25px;
		}
	}
}

@media (min-width: 1440px) {
	.bdt-ps-woocommerce {
		.bdt-ps-category {
			margin-bottom: 15px;

			a {
				font-size: 14px;
			}
		}

		.bdt-ps-title {
			font-size: 48px;
			margin-bottom: 30px;
		}

		.bdt-ps-text {
			margin-bottom: 30px;
			font-size: 16px;
		}

		.bdt-ps-price {
			margin-bottom: 30px;

			del,
			.price>span {
				font-size: 40px;
			}
		}

		.bdt-ps-dotnav-width,
		.bdt-ps-wc-product-img {
			width: 550px;
		}

		// .bdt-ps-dotnav {
			// margin-bottom: 100px;
			// margin-right: 80px;
		// }

		// .bdt-prime-slider-social-icon {
		// 	bottom: 100px;
		// }

		.bdt-scroll-down {
			bottom: 120px;
		}
	}
}