/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

@media (min-width: 768px) {
	.shop_table .product-name {
		width: 60% !important;
	}
}

.post-content .checkout-inline-error-message {
	color:#e0284f !important;
	font-size: 14px;
}
.woocommerce-invalid::after {
	display: none !important;
}

/* Etichetele articolului ca butoane, ca vechiul Tag Cloud (elementul Avada Meta le da doar ca text cu virgula) */
.fusion-meta-tb .fusion-tb-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 0;
}
.fusion-meta-tb .fusion-tb-tags a {
	font-size: 14px;
	line-height: 14px;
	padding: 10.5px 14px;
	border: 1px solid var(--awb-color3);
	border-radius: 10px;
	color: var(--awb-custom_color_1);
}
.fusion-meta-tb .fusion-tb-tags a:hover {
	border-color: var(--awb-custom_color_1);
}

/* Buton WhatsApp fix, stanga jos (dreapta e butonul to top Avada), pe toate paginile */
.bt-whatsapp { position: fixed; left: 20px; bottom: 20px; z-index: 9990; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2); transition: transform 0.2s ease, background 0.2s ease; }
.bt-whatsapp:hover, .bt-whatsapp:focus-visible { background: #1ebe5b; color: #fff; }
/* tooltip doar pe dispozitive cu mouse; textul vine din aria-label */
@media (hover: hover) {
	.bt-whatsapp::after { content: attr(aria-label); position: absolute; left: calc(100% + 10px); top: 50%; transform: translate(-4px, -50%); white-space: nowrap; padding: 7px 12px; border-radius: 8px; background: var(--awb-color8); color: #fff; font-size: 14px; line-height: 1.2; opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; }
	.bt-whatsapp:hover::after, .bt-whatsapp:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
}
@media print { .bt-whatsapp { display: none; } }
