/**
 * Brilho no hover — is-style-lzm-hover-shine.
 *
 * Brilho = protótipo .card-ferramentas (::after left/skew).
 * Sombra/lift = mesmos tokens do Elevar (post-card / post-card-hover).
 *
 * overflow: clip + overflow-clip-margin: o brilho continua contido no
 * bloco, mas a sombra (que o overflow:hidden cortava) permanece visível.
 *
 * !important: o suporte Shadow do bloco grava box-shadow inline e anula o :hover.
 */
.wp-block-group.is-style-lzm-hover-shine,
.wp-block-columns.is-style-lzm-hover-shine,
.wp-block-column.is-style-lzm-hover-shine,
.wp-block-wheyprotein-category-card.is-style-lzm-hover-shine {
	position: relative;
	z-index: 0;
	overflow: clip;
	overflow-clip-margin: 12px 12px 55px 12px;
	box-shadow: var(--wp--preset--shadow--post-card, none) !important;
	transition:
		box-shadow var(--wp--custom--post-card-transition-duration, 0.2s) ease,
		transform var(--wp--custom--post-card-transition-duration, 0.2s) ease;
}

.wp-block-group.is-style-lzm-hover-shine::after,
.wp-block-columns.is-style-lzm-hover-shine::after,
.wp-block-column.is-style-lzm-hover-shine::after,
.wp-block-wheyprotein-category-card.is-style-lzm-hover-shine::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -70%;
	width: 45%;
	background: linear-gradient(
		105deg,
		transparent,
		rgba(255, 255, 255, 0.14),
		transparent
	);
	transform: skewX(-18deg);
	transition: left 0.6s ease;
	pointer-events: none;
	z-index: 2;
}

@media (hover: hover) {
	.wp-block-group.is-style-lzm-hover-shine:hover,
	.wp-block-columns.is-style-lzm-hover-shine:hover,
	.wp-block-column.is-style-lzm-hover-shine:hover,
	.wp-block-wheyprotein-category-card.is-style-lzm-hover-shine:hover {
		z-index: 5;
		box-shadow: var(--wp--preset--shadow--post-card-hover, none) !important;
		transform: translateY(
			calc(-1 * var(--wp--custom--post-card-hover-lift, 0px))
		);
	}

	.wp-block-group.is-style-lzm-hover-shine:hover::after,
	.wp-block-columns.is-style-lzm-hover-shine:hover::after,
	.wp-block-column.is-style-lzm-hover-shine:hover::after,
	.wp-block-wheyprotein-category-card.is-style-lzm-hover-shine:hover::after {
		left: 130%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wp-block-group.is-style-lzm-hover-shine::after,
	.wp-block-columns.is-style-lzm-hover-shine::after,
	.wp-block-column.is-style-lzm-hover-shine::after,
	.wp-block-wheyprotein-category-card.is-style-lzm-hover-shine::after {
		display: none;
	}

	.wp-block-group.is-style-lzm-hover-shine,
	.wp-block-columns.is-style-lzm-hover-shine,
	.wp-block-column.is-style-lzm-hover-shine,
	.wp-block-wheyprotein-category-card.is-style-lzm-hover-shine {
		transition: none;
	}
}
