/* Sold (yacht_sold): grayscale + label */
.custom-product-gallery-slider--sold img {
	filter: grayscale(1);
	-webkit-filter: grayscale(1);
}

.custom-product-sold-badge {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	pointer-events: none;
	font-size: clamp(0.85rem, 3.2vw, 1.35rem);
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
	background: rgba(0, 0, 0, 0.38);
}

.custom-product-gallery-slider {
    position: relative;
    margin-bottom: 15px;
    overflow: hidden;
}

.custom-gallery-slides {
    position: relative;
    width: 100%;
}

.custom-slide {
    display: none;
    width: 100%;
    transition: opacity 0.3s ease;
}

.custom-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* Full width strips container - теперь на всю высоту */
.custom-slider-strips-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    pointer-events: none;
    z-index: 10;
    gap: 5px;
    padding: 0 5px;
}

/* Individual strip area - full height hover area */
.custom-strip-area {
    flex: 1;
    position: relative;
    cursor: pointer;
    pointer-events: auto;
    min-width: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
}

/* Visual strip indicator */
.custom-strip {
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 1px;
    transition: all 0.3s ease;
    pointer-events: none;
    position: relative;
    z-index: 10;
}

/* Active strip styling */
.custom-strip.active-strip {
    background-color: #fff;
    height: 2px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Hover effect - only highlight the hovered strip */
.custom-strip-area:hover .custom-strip {
    background-color: rgba(255, 255, 255, 0.8);
    height: 2px;
}

/* Active strip should stay white even on hover */
.custom-strip-area .custom-strip.active-strip {
    background-color: #fff !important;
    height: 2px !important;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6) !important;
}

/* Ensure images maintain aspect ratio */
.custom-product-gallery-slider img {
    width: 100%;
    height: auto;
    display: block;
}

/* Make sure slides are positioned correctly */
.custom-gallery-slides,
.custom-gallery-slides .custom-slide,
.custom-gallery-slides img {
    height: 100%;
    object-fit: cover;
}

