:root {
	--gz-background-color-primary: var( --gz-color-primary );
	--gz-background-color-gray: #ddd;
}

@keyframes fs-raise {
	0% {
		width: 30px;
	}
	100% {
		width: var(--gz-progress, 100%);
	}
}

@keyframes fs-progress {
	0% {
		background-position: 0 0;
	}
	100% {
		background-position: -60px -60px;
	}
}

@keyframes fs-flash {
	50%, 0%, 100% {
		opacity: 1;
	}
	25%, 75% {
		opacity: 0;
	}
}

.glozin-free-shipping-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	transition: var(--gz-transition);
}

.glozin-free-shipping-bar.gz-is-success {
	--gz-background-color-primary: #14854e;
}

.glozin-free-shipping-bar__message {
	width: 100%;
	margin-top: 29px;
}

.glozin-free-shipping-bar__message strong {
	font-weight: 500;
	color: var(--gz-background-color-primary);
}

.glozin-free-shipping-bar__progress {
    width: 100%;
    background-color: var(--gz-background-color-gray);
	display: flex;
	height: 5px;
	border-radius: var( --gz-rounded-xs );
	position: relative;
}

.glozin-free-shipping-bar__progress-bar {
	border-radius: var( --gz-rounded-xs );
	height: 100%;
	position: relative;
	min-width: 30px;
	width: var(--gz-progress);
	transition: all .5s ease .2s;

	display: block;
    height: 100%;
    animation: fs-progress 5s linear infinite;
    background-color: var(--gz-background-color-primary);
    -webkit-background-image: linear-gradient(135deg, #ffffff26 0 25%, #fff0 25% 50%, #ffffff26 50% 75%, #fff0 75% 100%);
    background-image: linear-gradient(135deg, #ffffff26 0 25%, #fff0 25% 50%, #ffffff26 50% 75%, #fff0 75% 100%);
    background-size: 40px 40px;
}

.glozin-free-shipping-bar__icon {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	transition: all .5s ease .2s;
}

.rtl .glozin-free-shipping-bar__icon {
	right: auto;
	left: 0;
	transform: translateY(-50%) scaleX(-1);
}

.rtl .glozin-free-shipping-bar--preload .glozin-free-shipping-bar__icon {
	right: auto;
	left: 0;
}

.glozin-free-shipping-bar--preload .glozin-free-shipping-bar__progress-bar {
	width: 30px;
	min-width: 30px;
	animation: fs-raise 0.8s forwards, fs-progress 5s linear infinite;
	animation-delay: 1s;
}

.glozin-free-shipping-bar--preload.gz-is-success .glozin-free-shipping-bar__progress-bar {
	animation: fs-raise 0.8s forwards;
}

.gz-is-success .glozin-free-shipping-bar__progress,
.gz-is-success .glozin-free-shipping-bar__message {
	animation: fs-flash .8s linear .8s 2 both;
	animation-delay: 2s;
}

.gz-is-success .glozin-free-shipping-bar__progress-bar {
	animation: none;
}

.glozin-free-shipping-bar__icon .glozin-svg-icon {
	font-size: 30px;
	color: var( --gz-background-color-primary );
	transition: all .5s ease .2s;
}

.glozin-free-shipping-bar__percent-value {
	font-size: 13px;
	font-weight: 500;
	width: 50px;
	text-align: right;
	margin-top: -9px;
	display: none;
}

.rtl .glozin-free-shipping-bar__percent-value {
	text-align: left;
}

.woocommerce-cart .site-content .glozin-free-shipping-bar {
	border-bottom: 1px solid var(--gz-border-color);
	padding: 12px 0 26px;
	margin-bottom: 26px;
}

.woocommerce-checkout .site-content .glozin-free-shipping-bar {
    color: var(--gz-color-dark);
    border: 1px solid var(--gz-border-color);
    background-color: #fbfbfc;
	border-radius: var(--gz-rounded-md);
	padding: 33px 30px 17px;
	margin-bottom: 30px;
}

.cart-panel .glozin-free-shipping-bar {
	background-color: var(--gz-color-light-grey);
	padding: 30px 30px 15px;
	margin-inline-start: -30px;
	margin-inline-end: -30px;
	position: relative;
	display: none;
}

.cart-panel.offscreen-panel--open .glozin-free-shipping-bar { 
	display: flex;
}

.cart-panel .glozin-free-shipping-bar__message {
	margin-top: 17px;
}

.cart-panel .glozin-free-shipping-bar:after {
	content: '';
	position: absolute;
	bottom: 0;
	height: 1px;
	width: 100%;
	background-color: var(--gz-border-color);
}

.glozin-popup-add-to-cart .glozin-free-shipping-bar  {
	padding-top: 20px;
}

@media (max-width: 767px) {
	.cart-panel .glozin-free-shipping-bar__message {
		font-size: 13px;
	}
}