.nextshop-whatsapp-order {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	width: 100%;
	margin-top: 0.15rem;
}

.nextshop-product-actions-row {
	display: flex;
	align-items: stretch;
	gap: 0.65rem;
	width: 100%;
	margin-top: 0.15rem;
}

.nextshop-product-actions-row .nextshop-whatsapp-order {
	flex: 1 1 auto;
	min-width: 0;
	margin-top: 0;
}

.nextshop-product-actions-row .nextshop-wishlist-btn--single {
	flex: 0 0 auto;
	width: 52px;
	min-width: 52px;
	min-height: 52px;
	margin-top: 0;
	padding: 0;
	border-radius: var(--sp-radius-sm, 10px);
}

.nextshop-product-actions-row .nextshop-wishlist-btn--text.nextshop-wishlist-btn--single,
.nextshop-product-actions-row .nextshop-wishlist-btn--both.nextshop-wishlist-btn--single {
	width: auto;
	min-width: 52px;
	padding: 0 1rem;
}

.nextshop-whatsapp-order__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	width: 100%;
	min-height: 52px;
	padding: 0 1.25rem;
	border-radius: var(--sp-radius-sm, 10px);
	background: var(--ns-wa-btn-bg, #25d366);
	color: var(--ns-wa-btn-color, #fff) !important;
	text-decoration: none !important;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
	box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}

.nextshop-whatsapp-order__btn:hover,
.nextshop-whatsapp-order__btn:focus {
	background: var(--ns-wa-btn-hover-bg, #1ebe5d);
	color: var(--ns-wa-btn-color, #fff) !important;
	transform: translateY(-1px);
}

.nextshop-whatsapp-order__btn i {
	font-size: 1.25rem;
	line-height: 1;
}

.nextshop-hide-add-to-cart .nextshop-product-buybox .single_add_to_cart_button,
.nextshop-hide-add-to-cart .nextshop-product-buybox form.cart > .button,
.nextshop-hide-add-to-cart .nextshop-product-buybox .woocommerce-variation-add-to-cart .button {
	display: none !important;
}

.nextshop-hide-quantity .nextshop-product-buybox form.cart .quantity,
.nextshop-hide-quantity .nextshop-product-buybox form.cart .nextshop-qty-stepper,
.nextshop-hide-quantity .nextshop-buy-box form.cart .quantity,
.nextshop-hide-quantity .nextshop-buy-box form.cart .nextshop-qty-stepper {
	display: none !important;
}

/* Sticky floating WhatsApp button */
.nextshop-whatsapp-sticky {
	position: fixed;
	bottom: calc(68px + env(safe-area-inset-bottom, 0px));
	z-index: 9985;
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	min-height: 64px;
	padding: 0.55rem 0.55rem 0.55rem 0.85rem;
	border-radius: 999px;
	background: var(--ns-wa-sticky-bg, var(--ns-text, #1f2937));
	color: #fff !important;
	text-decoration: none !important;
	box-shadow: 0 10px 32px rgba(15, 23, 42, 0.28);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	max-width: min(320px, calc(100vw - 32px));
}

.nextshop-whatsapp-sticky:hover,
.nextshop-whatsapp-sticky:focus {
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 14px 36px rgba(15, 23, 42, 0.34);
}

.nextshop-whatsapp-sticky__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 46px;
	height: 46px;
	border: 2px solid var(--ns-wa-sticky-icon-border, var(--ns-primary, #2563eb));
	border-radius: 50%;
	color: var(--ns-wa-sticky-icon-color, var(--ns-primary, #2563eb));
	font-size: 1.35rem;
	line-height: 1;
}

.nextshop-whatsapp-sticky__text {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 0;
	flex: 1 1 auto;
}

.nextshop-whatsapp-sticky__title {
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ns-wa-sticky-title, var(--ns-primary, #2563eb));
}

.nextshop-whatsapp-sticky__subtitle {
	font-size: 0.78rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--ns-wa-sticky-subtitle, var(--ns-primary, #2563eb));
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nextshop-whatsapp-sticky__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--ns-wa-sticky-action-bg, var(--ns-primary, #2563eb));
	color: var(--ns-wa-sticky-action-icon, #fff);
	font-size: 1rem;
	line-height: 1;
}

.nextshop-whatsapp-sticky__action i {
	transition: transform 0.2s ease;
}

.nextshop-whatsapp-sticky:hover .nextshop-whatsapp-sticky__action i,
.nextshop-whatsapp-sticky:focus .nextshop-whatsapp-sticky__action i {
	transform: translateX(2px);
}

[dir="rtl"] .nextshop-whatsapp-sticky__action i {
	transform: scaleX(-1);
}

[dir="rtl"] .nextshop-whatsapp-sticky:hover .nextshop-whatsapp-sticky__action i,
[dir="rtl"] .nextshop-whatsapp-sticky:focus .nextshop-whatsapp-sticky__action i {
	transform: scaleX(-1) translateX(2px);
}

body.has-mobile-bottom-nav .nextshop-whatsapp-sticky {
	bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 480px) {
	.nextshop-whatsapp-sticky {
		min-height: 58px;
		gap: 0.65rem;
		padding: 0.45rem 0.45rem 0.45rem 0.7rem;
	}

	.nextshop-whatsapp-sticky__icon,
	.nextshop-whatsapp-sticky__action {
		width: 40px;
		height: 40px;
		font-size: 1.1rem;
	}

	.nextshop-whatsapp-sticky__title {
		font-size: 0.82rem;
	}

	.nextshop-whatsapp-sticky__subtitle {
		font-size: 0.72rem;
	}
}
