.wns-bar {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	max-width: 100%;
	box-sizing: border-box;
	padding: 8px 16px 8px 12px;
	border-radius: 999px;
	background: var(--wns-header-bg, #1b6d24);
	color: var(--wns-header-color, #fff);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	vertical-align: middle;
}

.wns-bar--fixed {
	position: fixed;
	top: 18px;
	right: 18px;
	z-index: 99999;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body.admin-bar .wns-bar--fixed {
	top: 60px;
}

.wns-bar__icon {
	display: inline-flex;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	color: var(--wns-header-color, #fff);
}

.wns-bar__icon svg {
	display: block;
	width: 18px;
	height: 18px;
}

.wns-bar__slot {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--wns-header-color, #fff);
	text-decoration: none;
	cursor: default;
}

.wns-bar .wns-bar__slot,
.wns-bar .wns-bar__slot:hover,
.wns-bar .wns-bar__slot:focus,
.wns-bar .wns-bar__slot:visited {
	color: var(--wns-header-color, #fff);
	text-decoration: none;
}

.wns-bar__slot.is-active {
	cursor: pointer;
}

.wns-bar__slot[hidden] {
	display: none !important;
}

.wns-bar:not(.is-live) .wns-bar__slot {
	pointer-events: none;
}

.wns-bar__dot {
	display: none;
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #c8ff9a;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.wns-bar__slot.is-active .wns-bar__dot {
	display: inline-block;
}

.wns-bar__text {
	white-space: nowrap;
}

.wns-bar__slot:focus-visible {
	outline: 2px solid var(--wns-header-color, #fff);
	outline-offset: 3px;
	border-radius: 999px;
}

a.wns-buy,
a.wns-buy.button,
.woocommerce a.button.wns-buy,
.pb-card-actions a.wns-buy {
	position: relative;
	z-index: 3;
	display: inline-flex;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 0;
	height: 40px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid #1b6d24 !important;
	border-radius: 999px !important;
	background: #1b6d24 !important;
	color: #fcf8f0 !important;
	font-family: Lora, serif !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	text-align: center;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	pointer-events: auto !important;
	appearance: none;
	box-shadow: none !important;
}

a.wns-buy:hover,
a.wns-buy:focus,
a.wns-buy.button:hover,
.woocommerce a.button.wns-buy:hover,
.pb-card-actions a.wns-buy:hover,
.pb-card-actions a.wns-buy:focus {
	border-color: #14551c !important;
	background: #14551c !important;
	color: #ffffff !important;
	box-shadow: none !important;
}

li.product:has(.pb-card-buy) a.wns-buy[data-wns-source="loop"],
li.product:has(a.wns-buy[data-wns-source="shortcode"]) a.wns-buy[data-wns-source="loop"] {
	display: none !important;
}

a.wns-buy:focus-visible {
	outline: 2px solid #1b6d24;
	outline-offset: 3px;
}

body.wns-mode-whatsapp:not(.wns-ready) form.cart .single_add_to_cart_button {
	pointer-events: none;
}

.wns-float {
	display: inline-flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	box-sizing: border-box;
}

.wns-float--fixed {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99990;
	max-width: calc(100vw - 40px);
}

.wns-float a.wns-float__btn,
.wns-float a.wns-float__btn:visited {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	box-sizing: border-box;
	min-width: 196px;
	height: 44px;
	margin: 0;
	padding: 0 6px 0 18px;
	border: 0;
	border-radius: 999px;
	background: var(--wns-btn-bg, #fff);
	color: var(--wns-btn-color, #b80049);
	box-shadow: 0 4px 14px rgba(40, 23, 26, 0.16);
	font-family: Lora, serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.2px;
	text-align: left;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wns-float a.wns-float__btn:hover,
.wns-float a.wns-float__btn:focus {
	color: var(--wns-btn-color, #b80049);
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(40, 23, 26, 0.22);
}

.wns-float a.wns-float__btn:focus-visible {
	outline: 2px solid var(--wns-icon-bg, #b80049);
	outline-offset: 3px;
}

.wns-float a.wns-float__btn[hidden] {
	display: none !important;
}

.wns-float a.wns-float__btn.has-no-icon {
	justify-content: center;
	padding: 0 18px;
}

.wns-float__text {
	overflow: hidden;
	text-overflow: ellipsis;
}

.wns-float__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--wns-icon-bg, #b80049);
	color: var(--wns-icon-color, #fff);
}

.wns-float__icon svg,
.wns-float__icon img {
	display: block;
	width: 18px;
	height: 18px;
	object-fit: contain;
}

.wns-float__btn--wa .wns-float__icon svg {
	width: 20px;
	height: 20px;
}

@media (max-width: 640px) {
	.wns-float--fixed {
		right: 12px;
		bottom: 12px;
		gap: 8px;
	}

	.wns-float a.wns-float__btn,
	.wns-float a.wns-float__btn:visited {
		min-width: 0;
		height: 40px;
		padding-left: 14px;
		font-size: 13px;
	}

	.wns-float__icon {
		width: 30px;
		height: 30px;
	}
}

@media print {
	.wns-float--fixed {
		display: none !important;
	}
}

.wns-block-placeholder {
	margin: 0;
	color: #646970;
	font-size: 13px;
}

@media screen and (min-width: 783px) {
	body.admin-bar .wns-bar--fixed {
		top: 46px;
	}
}

@media (max-width: 640px) {
	.wns-bar--fixed {
		top: 10px;
		right: 10px;
		left: 10px;
		justify-content: center;
		flex-wrap: wrap;
		row-gap: 6px;
		border-radius: 18px;
		font-size: 13px;
	}

	body.admin-bar .wns-bar--fixed {
		top: 56px;
	}
}

@media print {
	.wns-bar--fixed {
		display: none !important;
	}
}
