/*
 * Marketing Digital Core — flechas de la galería de producto (FlexSlider).
 * Colores de la marca: vino #4D0E13, tierra #EEE4DA.
 */

.woocommerce-product-gallery .flex-viewport { position: relative; }

.woocommerce-product-gallery .flex-direction-nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce-product-gallery .flex-direction-nav a {
	position: absolute;
	top: 50%;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-top: -22px;
	border: 1px solid rgba(77, 14, 19, .18);
	border-radius: 50%;
	background: rgba(238, 228, 218, .94);
	box-shadow: 0 6px 18px -6px rgba(77, 14, 19, .35);
	color: #4D0E13;
	font-size: 0; /* oculta el texto visible; los lectores de pantalla lo siguen leyendo */
	line-height: 0;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, opacity .2s ease, transform .2s ease;
}

.woocommerce-product-gallery .flex-direction-nav .flex-prev { left: 12px; }
.woocommerce-product-gallery .flex-direction-nav .flex-next { right: 12px; }

/* Chevron dibujado con bordes (hereda currentColor). */
.woocommerce-product-gallery .flex-direction-nav a::before {
	content: "";
	display: block;
	width: 10px;
	height: 10px;
	border-top: 2px solid currentColor;
	border-left: 2px solid currentColor;
}
.woocommerce-product-gallery .flex-direction-nav .flex-prev::before { transform: translateX(2px) rotate(-45deg); }
.woocommerce-product-gallery .flex-direction-nav .flex-next::before { transform: translateX(-2px) rotate(135deg); }

.woocommerce-product-gallery .flex-direction-nav a:hover {
	background: #4D0E13;
	color: #EEE4DA;
}
.woocommerce-product-gallery .flex-direction-nav a:focus-visible {
	outline: 2px solid #4D0E13;
	outline-offset: 3px;
}
.woocommerce-product-gallery .flex-direction-nav a:active { transform: scale(.94); }

/* Primera/última imagen (animationLoop desactivado): la flecha queda visible pero apagada. */
.woocommerce-product-gallery .flex-direction-nav .flex-disabled {
	opacity: .35;
	cursor: default;
	pointer-events: none;
}

@media (max-width: 767px) {
	.woocommerce-product-gallery .flex-direction-nav a {
		width: 40px;
		height: 40px;
		margin-top: -20px;
	}
	.woocommerce-product-gallery .flex-direction-nav .flex-prev { left: 8px; }
	.woocommerce-product-gallery .flex-direction-nav .flex-next { right: 8px; }
}
