/* Niltist WhatsApp – ürün düğmesi (Woodmart .wd-action-btn ile uyumlu) */
.wd-whatsapp-icon .wd-action-icon:before { content: none; }
.wd-whatsapp-icon .nwa-icon {
	width: var(--wd-action-icon-size, 1.1em);
	height: var(--wd-action-icon-size, 1.1em);
	color: var(--wd-action-icon-color, var(--wd-action-color));
	transition: color .25s ease;
	display: block;
}
.wd-whatsapp-icon > a:hover .nwa-icon { color: var(--wd-action-icon-color-hover, var(--wd-action-color-hover)); }
.wd-whatsapp-icon.wd-style-text .nwa-icon { width: 1.25em; height: 1.25em; }

/* Kısa kod "button" stili */
.wd-whatsapp-icon.nwa-style-button > a {
	padding: 10px 18px;
	border-radius: var(--wd-brd-radius, 4px);
	background: #25d366;
	--wd-action-color: #fff;
	--wd-action-color-hover: #fff;
}
.wd-whatsapp-icon.nwa-style-button > a:hover { background: #1ebe5b; }

/* Kayan düğme – Woodmart .scrollToTop ile aynı ölçüler */
.nwa-float {
	position: fixed;
	bottom: var(--nwa-bottom, 20px);
	z-index: 350;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--nwa-size, 50px);
	height: var(--nwa-size, 50px);
	border-radius: 50%;
	background-color: var(--nwa-bg, #fff);
	box-shadow: 0 0 5px rgba(0, 0, 0, .17);
	color: var(--nwa-color, #25d366);
	text-decoration: none !important;
	transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
	backface-visibility: hidden;
}
.nwa-float .nwa-icon { width: 56%; height: 56%; display: block; }
.nwa-float:hover { color: var(--nwa-color, #25d366); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.nwa-float.nwa-delayed { opacity: 0; pointer-events: none; }
.nwa-float.nwa-delayed.nwa-shown { opacity: 1; pointer-events: auto; }
.wd-search-opened .nwa-float { display: none; }

/* Etiket (masaüstünde üzerine gelince) */
.nwa-float .nwa-float-label {
	position: absolute;
	left: calc(100% + 10px);
	top: 50%;
	transform: translateY(-50%);
	max-width: 260px;
	padding: 8px 12px;
	border-radius: 6px;
	background: #fff;
	color: #333;
	font-size: 13px;
	line-height: 1.3;
	white-space: nowrap;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s ease, visibility .2s ease;
	pointer-events: none;
}
.nwa-float:hover .nwa-float-label,
.nwa-float:focus-visible .nwa-float-label { opacity: 1; visibility: visible; }
.nwa-float.nwa-offline .nwa-float-label { white-space: normal; width: 220px; }
.nwa-float.nwa-offline:after {
	content: "";
	position: absolute;
	top: 4px;
	right: 4px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #9e9e9e;
	border: 2px solid #fff;
}

@media (max-width: 1024px) {
	.nwa-float { width: 40px; height: 40px; bottom: 12px; --nwa-side: 12px; }
	.nwa-float .nwa-float-label { display: none; }
	/* Woodmart mobil alt araç çubuğu ve yapışkan sepete ekle çubuğu */
	.sticky-toolbar-on .nwa-float { bottom: 67px; }
	.sticky-toolbar-on.wd-sticky-btn-shown .nwa-float { bottom: calc(12px + 55px + var(--wd-sticky-btn-height, 0px)); }
}
