/* Electrodescuento: share, dock PC, Mi cuenta, títulos 3 líneas. */

/* Compartir ficha: ocultar redes; WhatsApp y copiar se pintan por PHP. */
.share-icons a.facebook,
.share-icons a.twitter,
.share-icons a.x,
.share-icons a.pinterest,
.share-icons a.linkedin,
.share-icons a.email,
.share-icons a.tumblr,
.share-icons a.telegram,
.share-icons a.vk,
.share-icons a.threads,
.yith-wcwl-share a.facebook,
.yith-wcwl-share a.twitter,
.yith-wcwl-share a.pinterest,
.yith-wcwl-share a.linkedin {
	display: none !important;
}

.share-icons a.whatsapp.show-for-medium {
	display: inline-flex !important;
}

.ed-share-copy.is-copied {
	background: #1f9d45 !important;
	color: #fff !important;
	border-color: #1f9d45 !important;
}

/* Footer: follow solo WhatsApp (no FB/IG/LinkedIn). */
.footer a[href*="facebook.com"],
.footer a[href*="instagram.com"],
.footer a[href*="linkedin.com"],
.footer a[href*="tiktok.com"],
#footer a[href*="facebook.com"],
#footer a[href*="instagram.com"],
#footer a[href*="linkedin.com"],
#footer a[href*="tiktok.com"] {
	display: none !important;
}

/* Dock: en PC no existe. El CSS del archivo se carga en todos los viewports. */
@media (min-width: 850px) {
	.ed-dock {
		display: none !important;
	}
}

/* Productos relacionados: 3 líneas fijas (PC y celu). */
body.single-product .related .product-small .name a,
body.single-product .upsells .product-small .name a,
body.single-product .related .product-small .product-title,
body.single-product .upsells .product-small .product-title {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	white-space: normal !important;
	line-height: 1.35;
	min-height: calc(1.35em * 3);
	font-size: 14px;
}

body.single-product .related .product-small .box,
body.single-product .upsells .product-small .box {
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* Columna AYUDA del footer: Mi cuenta y el resto centrados. */
.footer .col:has(a[href*="/mi-cuenta/"]),
.footer .flex-col:has(a[href*="/mi-cuenta/"]) {
	text-align: center;
}
.footer .col:has(a[href*="/mi-cuenta/"]) ul,
.footer .flex-col:has(a[href*="/mi-cuenta/"]) ul,
.footer .col:has(a[href*="/mi-cuenta/"]) li,
.footer .flex-col:has(a[href*="/mi-cuenta/"]) li {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

/* Mi cuenta: botones centrados, 2 columnas en celu = 3 filas. */
.woocommerce-account .woocommerce-MyAccount-content > p,
.woocommerce-account .woocommerce-MyAccount-content .dashboard-links {
	text-align: center;
}

.dashboard-links {
	justify-content: center;
	margin-left: auto;
	margin-right: auto;
}

.dashboard-links li {
	box-sizing: border-box;
}

.dashboard-links a {
	margin-left: 6px !important;
	margin-right: 6px !important;
	min-height: 52px;
	display: flex !important;
	align-items: center;
	justify-content: center;
	padding: 12px 8px !important;
	font-size: 15px;
	line-height: 1.25;
	text-align: center;
}

@media (max-width: 849px) {
	.dashboard-links li {
		width: 50% !important;
	}
}

@media (min-width: 850px) {
	.dashboard-links li {
		width: 33.333% !important;
	}
}
