/* v2.6.16 — HOT badge scheme D (red circle) + main-image prev/next arrows.
   Loaded only when v2616_hot_circle and/or v2616_gallery_arrows is on.
   Does not change logo artwork, #7EBDFD, footer, WhatsApp, cookie bar,
   nav wording, or the 2.6.15 header Request a Quote button.
   NEW badges keep the existing blue rounded-rectangle style. */

/* ---------- 1) HOT badge: scheme D, circular red ----------
   Diameter 52px when the main frame is ~520–560px.
   Offset 16px from the top-left of the image frame (was 14px).
   Enough specificity to override .jc60-badge when the toggle is on. */
body.jc616-hot-circle .jc60-gallery__main > .jc60-badge.jc60-badge--hot {
	top: 16px;
	left: 16px;
	z-index: 3;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	min-width: 52px;
	min-height: 52px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #C41E3A;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1;
	text-transform: uppercase;
	text-align: center;
	box-shadow: none;
	transform: none;
}

/* NEW stays the 2.6.15 blue rounded rectangle. Do not restyle as a red circle. */
body.jc616-hot-circle .jc60-gallery__main > .jc60-badge.jc60-badge--new {
	border-radius: 4px;
	background: var(--jc60-blue);
	padding: 4px 12px;
	width: auto;
	height: auto;
	min-width: 0;
	min-height: 0;
}

/* ---------- 2) Prev / next on the main image ----------
   Mid-range EU/US retail: white circular hit-area, dark chevron, light edge.
   Siblings of .jc60-gallery__zoom (never inside the zoom anchor).
   Inset so overflow:hidden on .jc60-gallery__main does not clip them.
   Vertically centred so they do not cover the top-left HOT badge. */
body.jc616-gallery-arrows .jc616-nav {
	position: absolute;
	top: 50%;
	z-index: 4;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	margin: 0;
	border: 1px solid rgba(15, 39, 66, .12);
	border-radius: 50%;
	background: rgba(255, 255, 255, .94);
	color: #0f2742;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(15, 39, 66, .08);
	transform: translateY(-50%);
	transition: opacity .18s ease, background .18s ease, border-color .18s ease;
	-webkit-appearance: none;
	appearance: none;
}
body.jc616-gallery-arrows .jc616-nav--prev { left: 12px; }
body.jc616-gallery-arrows .jc616-nav--next { right: 12px; }
body.jc616-gallery-arrows .jc616-nav__icon {
	display: block;
	width: 18px;
	height: 18px;
	pointer-events: none;
}
body.jc616-gallery-arrows .jc616-nav:hover {
	background: #fff;
	border-color: rgba(15, 39, 66, .2);
}
body.jc616-gallery-arrows .jc616-nav:focus {
	outline: none;
}
body.jc616-gallery-arrows .jc616-nav:focus-visible {
	outline: 2px solid #1A64B3;
	outline-offset: 2px;
	opacity: 1;
}

/* Desktop (fine pointer): unobtrusive at rest, clearer on gallery hover / focus. */
@media (hover: hover) and (pointer: fine) {
	body.jc616-gallery-arrows .jc616-nav {
		opacity: .55;
	}
	body.jc616-gallery-arrows .jc60-gallery:hover .jc616-nav,
	body.jc616-gallery-arrows .jc60-gallery:focus-within .jc616-nav {
		opacity: 1;
	}
}

/* Mobile / coarse pointer: always discoverable, ≥44px tap target, no overflow. */
@media (max-width: 767px), (hover: none), (pointer: coarse) {
	body.jc616-gallery-arrows .jc616-nav {
		width: 44px;
		height: 44px;
		opacity: 1;
	}
	body.jc616-gallery-arrows .jc616-nav--prev { left: 10px; }
	body.jc616-gallery-arrows .jc616-nav--next { right: 10px; }
}
