/**
 * Bloom Product Gallery Nav — clearer PDP carousel arrows.
 */

/* Undo Porto show-nav-hover slide/fade on product gallery only */
.single-product .product-image-slider.owl-carousel.show-nav-hover .owl-nav .owl-prev,
.single-product .product-image-slider.owl-carousel.show-nav-hover .owl-nav .owl-next {
	opacity: 1 !important;
	transform: translateY(-50%) !important;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Main image: charcoal base + tan ::after overlay (opacity-only transition) */
.single-product .product-image-slider.owl-carousel .owl-nav .owl-prev,
.single-product .product-image-slider.owl-carousel .owl-nav .owl-next {
	position: absolute;
	top: 50%;
	z-index: 12;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	line-height: 1;
	border-radius: 50%;
	background-color: rgba(40, 40, 40, 0.72) !important;
	background-image: none !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	color: #fff !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	font-size: 18px;
}

.single-product .product-image-slider.owl-carousel .owl-nav .owl-prev::after,
.single-product .product-image-slider.owl-carousel .owl-nav .owl-next::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background-color: var(--porto-primary-color, #d4af7f);
	opacity: 0;
	z-index: 0;
	pointer-events: none;
	transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.single-product .product-image-slider.owl-carousel .owl-nav .owl-prev::before,
.single-product .product-image-slider.owl-carousel .owl-nav .owl-next::before {
	position: relative;
	z-index: 1;
	display: block;
	line-height: 1;
	margin: 0;
	left: auto;
	right: auto;
	top: auto;
	transform: none;
}

.single-product .product-image-slider.owl-carousel .owl-nav .owl-prev {
	left: 12px;
	right: auto;
}

.single-product .product-image-slider.owl-carousel .owl-nav .owl-next {
	right: 12px;
	left: auto;
}

.single-product .product-image-slider.owl-carousel .owl-nav .owl-prev:hover::after,
.single-product .product-image-slider.owl-carousel .owl-nav .owl-next:hover::after,
.single-product .product-image-slider.owl-carousel .owl-nav .owl-prev:focus-visible::after,
.single-product .product-image-slider.owl-carousel .owl-nav .owl-next:focus-visible::after {
	opacity: 1;
}

.single-product .product-image-slider.owl-carousel .owl-nav .owl-prev:hover,
.single-product .product-image-slider.owl-carousel .owl-nav .owl-next:hover,
.single-product .product-image-slider.owl-carousel .owl-nav .owl-prev:focus-visible,
.single-product .product-image-slider.owl-carousel .owl-nav .owl-next:focus-visible {
	background-color: rgba(40, 40, 40, 0.72) !important;
	border-color: var(--porto-primary-color, #d4af7f) !important;
	color: var(--porto-primary-color-inverse, #fff) !important;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

.single-product .product-image-slider.owl-carousel .owl-nav .owl-prev:focus,
.single-product .product-image-slider.owl-carousel .owl-nav .owl-next:focus {
	outline: none;
}

.single-product .product-image-slider.owl-carousel .owl-nav .owl-prev:focus-visible,
.single-product .product-image-slider.owl-carousel .owl-nav .owl-next:focus-visible {
	outline: 2px solid var(--porto-primary-color, #d4af7f);
	outline-offset: 2px;
}

.single-product .product-image-slider.owl-carousel .owl-nav .owl-prev:active::after,
.single-product .product-image-slider.owl-carousel .owl-nav .owl-next:active::after {
	opacity: 0.85;
}

.single-product .product-image-slider.owl-carousel .owl-nav .owl-prev.disabled,
.single-product .product-image-slider.owl-carousel .owl-nav .owl-next.disabled {
	opacity: 0.35 !important;
	pointer-events: none;
}

/* Thumbnail strip */
.single-product .product-thumbs-slider .thumb-nav {
	opacity: 1 !important;
	z-index: 5;
	top: 0 !important;
	bottom: 0 !important;
	height: 100% !important;
	margin-top: 0 !important;
	width: 100% !important;
}

.single-product .product-thumbs-slider .thumb-nav .thumb-prev,
.single-product .product-thumbs-slider .thumb-nav .thumb-next {
	position: absolute;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	margin: 0;
	line-height: 1;
	border-radius: 50%;
	background-color: rgba(40, 40, 40, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
	font-size: 14px;
	top: 50% !important;
	transform: translateY(-50%) !important;
	text-shadow: none;
}

.single-product .product-thumbs-slider .thumb-nav .thumb-prev::after,
.single-product .product-thumbs-slider .thumb-nav .thumb-next::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background-color: var(--porto-primary-color, #d4af7f);
	opacity: 0;
	z-index: 0;
	pointer-events: none;
	transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.single-product .product-thumbs-slider .thumb-nav .thumb-prev::before,
.single-product .product-thumbs-slider .thumb-nav .thumb-next::before {
	position: relative;
	z-index: 1;
	display: block;
	line-height: 1;
	margin: 0;
	left: auto;
	right: auto;
	top: auto;
	transform: none;
}

.single-product .product-thumbs-slider .thumb-nav .thumb-prev {
	left: 8px;
	right: auto;
}

.single-product .product-thumbs-slider .thumb-nav .thumb-next {
	right: 8px;
	left: auto;
}

.single-product .product-thumbs-slider .thumb-nav .thumb-prev:hover::after,
.single-product .product-thumbs-slider .thumb-nav .thumb-next:hover::after {
	opacity: 1;
}

.single-product .product-thumbs-slider .thumb-nav .thumb-prev:hover,
.single-product .product-thumbs-slider .thumb-nav .thumb-next:hover {
	border-color: var(--porto-primary-color, #d4af7f);
	color: var(--porto-primary-color-inverse, #fff);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.single-product .product-thumbs-slider .thumb-nav .thumb-prev:active::after,
.single-product .product-thumbs-slider .thumb-nav .thumb-next:active::after {
	opacity: 0.85;
}

/* Hide thumbnail arrows when four or fewer images */
.single-product.bloom-pdp-few-gallery-images .product-thumbs-slider .thumb-nav,
.single-product .product-thumbs-slider.bloom-thumb-nav-hidden .thumb-nav {
	display: none !important;
}

@media (max-width: 991px) {
	.single-product .product-image-slider.owl-carousel .owl-nav .owl-prev,
	.single-product .product-image-slider.owl-carousel .owl-nav .owl-next {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}

	.single-product .product-image-slider.owl-carousel .owl-nav .owl-prev {
		left: 8px;
		right: auto;
	}

	.single-product .product-image-slider.owl-carousel .owl-nav .owl-next {
		right: 8px;
		left: auto;
	}
}
