/**
 * SlidePlus Frontend Styles
 *
 * @package SlidePlus
 */

:root {
	--slideplus-primary: #6366f1;
	--slideplus-primary-hover: #4f46e5;
	--slideplus-text: #1e293b;
	--slideplus-text-light: #64748b;
	--slideplus-bg: #ffffff;
	--slideplus-radius: 12px;
	--slideplus-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
	--slideplus-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slideplus-wrapper {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: var(--slideplus-radius, 12px);
	--slideplus-height: 500px;
	--slideplus-radius: 16px;
	--slideplus-overlay: 0.4;
}

.slideplus-wrapper.slideplus-fullwidth {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	border-radius: 0;
}

.slideplus-wrapper.slideplus-width-auto {
	width: 100%;
	max-width: 100%;
}

.slideplus-wrapper.slideplus-height-image:not(.slideplus-height-calculated) .slideplus-swiper,
.slideplus-wrapper.slideplus-height-image:not(.slideplus-height-calculated) .slideplus-slide {
	height: auto;
	min-height: 0;
}

.slideplus-wrapper.slideplus-height-image:not(.slideplus-height-calculated) .slideplus-slide-media {
	position: relative;
	inset: auto;
	height: auto;
}

.slideplus-wrapper.slideplus-height-image:not(.slideplus-height-calculated) .slideplus-slide-media img {
	width: 100%;
	height: auto;
	object-fit: unset;
}

.slideplus-wrapper.slideplus-height-image.slideplus-height-calculated .slideplus-slide-media {
	position: absolute;
	inset: 0;
	height: 100%;
}

.slideplus-preview-wrapper.slideplus-height-image .slideplus-swiper {
	height: auto;
	min-height: 0;
	max-height: none;
}

.slideplus-preview-wrapper.slideplus-height-image.slideplus-height-calculated .slideplus-swiper {
	height: var(--slideplus-height, auto);
	min-height: var(--slideplus-height, auto);
}

.slideplus-gallery-portal {
	position: relative;
	width: 100%;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.slideplus-gallery-portal:empty,
body.slideplus-gallery-ready .slideplus-gallery-portal {
	display: none !important;
}

body.slideplus-has-product-gallery .slideplus-gallery-target .ct-image-container,
body.slideplus-has-product-gallery .slideplus-gallery-target .woocommerce-product-gallery__image:not(.slideplus-product-gallery-wrap),
body.slideplus-has-product-gallery .slideplus-gallery-target .flexy-container:not(:has(.slideplus-product-gallery-wrap)),
body.slideplus-has-product-gallery .slideplus-gallery-target img[src*="placeholder"] {
	display: none !important;
}

body.slideplus-has-product-gallery .slideplus-gallery-target .slideplus-product-gallery-wrap {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	visibility: visible !important;
	opacity: 1 !important;
	position: relative !important;
}

.slideplus-product-gallery-wrap {
	width: 100%;
	max-width: 100%;
	margin-bottom: 0;
}

.slideplus-product-gallery-wrap .slideplus-mount {
	width: 100%;
	display: block;
}

.slideplus-product-gallery-wrap .slideplus-wrapper,
.slideplus-wrapper.slideplus-product-gallery {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	border-radius: var(--slideplus-radius, 12px);
}

.slideplus-product-gallery-wrap .slideplus-swiper {
	height: auto;
	min-height: 0;
}

.slideplus-product-gallery-wrap .slideplus-wrapper.slideplus-height-calculated .slideplus-swiper {
	height: var(--slideplus-height, auto);
	min-height: var(--slideplus-height, auto);
}

.slideplus-gallery-target {
	width: 100%;
	max-width: 100%;
	min-height: 0;
	overflow: visible;
	position: relative;
}

/* Keep WooCommerce / Blocksy sale & stock badges above the slider. */
body.slideplus-has-product-gallery .slideplus-gallery-target .onsale,
body.slideplus-has-product-gallery .slideplus-gallery-target .ct-product-badges,
body.slideplus-has-product-gallery .slideplus-gallery-target .ct-badge,
body.slideplus-has-product-gallery .slideplus-gallery-target .slideplus-kept-badge,
body.slideplus-has-product-gallery .slideplus-kept-badge,
body.slideplus-has-product-gallery .product .ct-product-badges,
body.slideplus-has-product-gallery .product > .onsale,
body.slideplus-has-product-gallery .product .ct-product-view .onsale {
	z-index: 30 !important;
	position: absolute !important;
	top: 12px;
	left: 12px;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: none;
}

body.slideplus-has-product-gallery .slideplus-gallery-target .slideplus-product-gallery-wrap,
body.slideplus-has-product-gallery .slideplus-gallery-target .slideplus-mount {
	z-index: 1;
}

.slideplus-gallery-target .slideplus-mount {
	display: block !important;
	justify-content: stretch !important;
}

.slideplus-gallery-target .slideplus-product-gallery-wrap,
.slideplus-gallery-target .slideplus-mount,
.slideplus-gallery-target .slideplus-wrapper {
	width: 100% !important;
	max-width: var(--slideplus-gallery-width, 100%) !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
}

body.slideplus-has-product-gallery .slideplus-wrapper.slideplus-fullwidth,
body.slideplus-has-product-gallery .slideplus-wrapper.slideplus-product-gallery-sized {
	width: 100% !important;
	max-width: var(--slideplus-gallery-width, 100%) !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.slideplus-has-product-gallery .slideplus-wrapper.slideplus-product-gallery-sized .slideplus-swiper,
body.slideplus-has-product-gallery .slideplus-wrapper.slideplus-product-gallery-sized .slideplus-slide {
	height: var(--slideplus-height, auto) !important;
	min-height: 0 !important;
	max-height: var(--slideplus-height, auto) !important;
}

body.slideplus-has-product-gallery .slideplus-wrapper.slideplus-product-gallery-sized .slideplus-slide-media,
body.slideplus-has-product-gallery .slideplus-wrapper.slideplus-product-gallery-sized .slideplus-slide-media img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}

body.slideplus-has-product-gallery .product .ct-product-gallery:not(:has(.slideplus-product-gallery-wrap)),
body.slideplus-has-product-gallery .product .flexy-container:not(:has(.slideplus-product-gallery-wrap)) {
	display: none !important;
}

.slideplus-mount {
	width: 100%;
	display: flex;
	justify-content: center;
}

.slideplus-mount > .slideplus-wrapper {
	flex-shrink: 0;
}

.slideplus-wrapper.slideplus-width-custom {
	width: var(--slideplus-width, 960px);
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

.slideplus-wrapper.slideplus-has-shadow {
	box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

.slideplus-swiper {
	width: 100%;
	height: var(--slideplus-height, 500px);
	min-height: var(--slideplus-height, 500px);
}

.slideplus-slide {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: var(--slideplus-height, 500px);
	min-height: var(--slideplus-height, 500px);
	background: var(--slideplus-bg);
	overflow: hidden;
}

.slideplus-slide-media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.slideplus-slide-image .slideplus-slide-media {
	position: absolute;
	inset: 0;
}

.slideplus-slide-media img {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: var(--slideplus-image-fit, cover);
	object-position: var(--slideplus-image-position, center center);
	display: block;
}

.slideplus-wrapper.slideplus-fit-cover .slideplus-slide-media img {
	object-fit: cover;
}

.slideplus-wrapper.slideplus-fit-contain .slideplus-slide-media img {
	object-fit: contain;
}

.slideplus-wrapper.slideplus-fit-fill .slideplus-slide-media img {
	object-fit: fill;
}

.slideplus-wrapper.slideplus-fit-scale-down .slideplus-slide-media img {
	object-fit: scale-down;
}

.slideplus-slide-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #1e293b;
	color: #64748b;
	font-size: 0.875rem;
}

/* Legacy: keep image-only slides filling the frame */
.slideplus-slide-image:not(:has(.slideplus-title, .slideplus-description, .slideplus-subtitle)) .slideplus-slide-media {
	position: absolute;
	inset: 0;
}

.slideplus-slide-content {
	position: relative;
	z-index: 2;
	max-width: 640px;
	padding: 2rem;
	text-align: center;
	color: #fff;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity var(--slideplus-transition), transform var(--slideplus-transition);
}

.slideplus-slide-content.slideplus-animated {
	opacity: 1;
	transform: translateY(0);
}

.slideplus-subtitle {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 0.5rem;
	opacity: 0.9;
}

.slideplus-title {
	font-size: clamp(1.75rem, 4vw, 3rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 1rem;
}

.slideplus-description {
	font-size: 1.125rem;
	line-height: 1.6;
	margin: 0 0 1.5rem;
	opacity: 0.95;
}

.slideplus-cta,
.slideplus-add-to-cart {
	display: inline-flex;
	align-items: center;
	padding: 0.75rem 1.75rem;
	background: var(--slideplus-primary);
	color: #fff !important;
	font-weight: 600;
	font-size: 0.9375rem;
	border-radius: 8px;
	text-decoration: none !important;
	transition: background var(--slideplus-transition), transform var(--slideplus-transition);
	border: none;
	cursor: pointer;
}

.slideplus-cta:hover,
.slideplus-add-to-cart:hover {
	background: var(--slideplus-primary-hover);
	transform: translateY(-2px);
}

/* Navigation */
.slideplus-nav-prev,
.slideplus-nav-next {
	color: var(--slideplus-primary) !important;
	background: rgba(255, 255, 255, 0.9);
	width: 44px !important;
	height: 44px !important;
	border-radius: 50%;
	box-shadow: var(--slideplus-shadow);
	backdrop-filter: blur(8px);
}

.slideplus-pagination .swiper-pagination-bullet-active {
	background: var(--slideplus-primary);
}

/* Product Card */
.slideplus-product-card {
	background: var(--slideplus-bg);
	border-radius: var(--slideplus-radius);
	box-shadow: var(--slideplus-shadow);
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.slideplus-product-image img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.slideplus-product-info {
	padding: 1.25rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.slideplus-product-title {
	font-size: 1rem;
	font-weight: 600;
	margin: 0;
}

.slideplus-product-title a {
	color: var(--slideplus-text);
	text-decoration: none;
}

.slideplus-product-price {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--slideplus-primary);
}

.slideplus-product-rating {
	color: #f59e0b;
	font-size: 0.875rem;
	letter-spacing: 2px;
}

/* Testimonial */
.slideplus-testimonial-card {
	max-width: 720px;
	margin: 0 auto;
	padding: 3rem 2rem;
	text-align: center;
}

.slideplus-testimonial-rating {
	color: #f59e0b;
	font-size: 1.25rem;
	margin-bottom: 1.5rem;
	letter-spacing: 4px;
}

.slideplus-testimonial-quote {
	font-size: 1.375rem;
	font-style: italic;
	line-height: 1.7;
	color: var(--slideplus-text);
	margin: 0 0 2rem;
	border: none;
	padding: 0;
}

.slideplus-testimonial-author {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}

.slideplus-avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
}

.slideplus-author-name {
	display: block;
	font-style: normal;
	font-weight: 600;
	color: var(--slideplus-text);
}

.slideplus-author-role {
	font-size: 0.875rem;
	color: var(--slideplus-text-light);
}

/* Team */
.slideplus-team-card {
	text-align: center;
	padding: 2rem;
}

.slideplus-team-photo {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 1rem;
}

/* Video */
.slideplus-video-container {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
}

.slideplus-video-container iframe,
.slideplus-video-container video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* Ken Burns */
.slideplus-ken-burns-active .swiper-slide-active .slideplus-slide-media img {
	animation: slideplusKenBurns 8s ease-out forwards;
}

@keyframes slideplusKenBurns {
	from { transform: scale(1); }
	to { transform: scale(1.15); }
}

/* Text Animations */
.slideplus-text-slide-up.slideplus-animated { animation: slideplusSlideUp 0.6s ease forwards; }
.slideplus-text-slide-down.slideplus-animated { animation: slideplusSlideDown 0.6s ease forwards; }
.slideplus-text-scale.slideplus-animated { animation: slideplusScale 0.6s ease forwards; }
.slideplus-text-rotate.slideplus-animated { animation: slideplusRotate 0.6s ease forwards; }

@keyframes slideplusSlideUp {
	from { opacity: 0; transform: translateY(30px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes slideplusSlideDown {
	from { opacity: 0; transform: translateY(-30px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes slideplusScale {
	from { opacity: 0; transform: scale(0.9); }
	to { opacity: 1; transform: scale(1); }
}

@keyframes slideplusRotate {
	from { opacity: 0; transform: rotate(-3deg) scale(0.95); }
	to { opacity: 1; transform: rotate(0) scale(1); }
}

/* Carousel spacing */
.slideplus-wrapper .swiper-slide {
	min-height: auto;
}

.slideplus-slide-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.75) 100%);
	pointer-events: none;
	z-index: 1;
}

.slideplus-content-left { text-align: left; margin-right: auto; margin-left: 5%; }
.slideplus-content-center { text-align: center; margin-left: auto; margin-right: auto; }
.slideplus-content-right { text-align: right; margin-left: auto; margin-right: 5%; }

.slideplus-slide.slideplus-valign-top,
.slideplus-wrapper.slideplus-valign-top .slideplus-slide {
	align-items: flex-start;
}

.slideplus-slide.slideplus-valign-center,
.slideplus-wrapper.slideplus-valign-center .slideplus-slide {
	align-items: center;
}

.slideplus-slide.slideplus-valign-bottom,
.slideplus-wrapper.slideplus-valign-bottom .slideplus-slide {
	align-items: flex-end;
}

.slideplus-slide-content.slideplus-valign-top {
	margin-top: 5%;
	margin-bottom: auto;
}

.slideplus-slide-content.slideplus-valign-center {
	margin-top: auto;
	margin-bottom: auto;
}

.slideplus-slide-content.slideplus-valign-bottom {
	margin-top: auto;
	margin-bottom: 5%;
}

/* Navigation styles */
.slideplus-nav-glass .slideplus-nav-prev,
.slideplus-nav-glass .slideplus-nav-next {
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff !important;
}

.slideplus-nav-minimal .slideplus-nav-prev,
.slideplus-nav-minimal .slideplus-nav-next {
	background: transparent;
	box-shadow: none;
	color: #fff !important;
	font-size: 1.25rem;
}

.slideplus-pag-progress .swiper-pagination-progressbar {
	background: rgba(255, 255, 255, 0.25);
	height: 4px;
}

.slideplus-pag-progress .swiper-pagination-progressbar-fill {
	background: var(--slideplus-primary);
}

.slideplus-pag-fraction .swiper-pagination-fraction {
	color: #fff;
	font-weight: 600;
	background: rgba(0, 0, 0, 0.35);
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	width: auto;
	left: auto;
	right: 1rem;
	bottom: 1rem;
}

/* Extended text animations */
.slideplus-text-fade-in.slideplus-animated { animation: slideplusFadeIn 0.7s ease forwards; }
.slideplus-text-slide-left.slideplus-animated { animation: slideplusSlideLeft 0.7s ease forwards; }
.slideplus-text-slide-right.slideplus-animated { animation: slideplusSlideRight 0.7s ease forwards; }
.slideplus-text-blur-in.slideplus-animated { animation: slideplusBlurIn 0.8s ease forwards; }
.slideplus-text-bounce-in.slideplus-animated { animation: slideplusBounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.slideplus-text-flip-in.slideplus-animated { animation: slideplusFlipIn 0.7s ease forwards; }
.slideplus-text-glow-pulse.slideplus-animated { animation: slideplusGlowPulse 2s ease-in-out infinite; }

.slideplus-typewriter-cursor::after {
	content: '|';
	animation: slideplusBlink 0.8s step-end infinite;
	margin-left: 2px;
}

@keyframes slideplusFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes slideplusSlideLeft {
	from { opacity: 0; transform: translateX(40px); }
	to { opacity: 1; transform: translateX(0); }
}

@keyframes slideplusSlideRight {
	from { opacity: 0; transform: translateX(-40px); }
	to { opacity: 1; transform: translateX(0); }
}

@keyframes slideplusBlurIn {
	from { opacity: 0; filter: blur(12px); transform: scale(1.05); }
	to { opacity: 1; filter: blur(0); transform: scale(1); }
}

@keyframes slideplusBounceIn {
	0% { opacity: 0; transform: scale(0.85) translateY(20px); }
	60% { opacity: 1; transform: scale(1.03) translateY(-4px); }
	100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes slideplusFlipIn {
	from { opacity: 0; transform: perspective(400px) rotateX(-15deg); }
	to { opacity: 1; transform: perspective(400px) rotateX(0); }
}

@keyframes slideplusGlowPulse {
	0%, 100% { text-shadow: 0 0 20px rgba(99, 102, 241, 0.4); }
	50% { text-shadow: 0 0 40px rgba(99, 102, 241, 0.9); }
}

@keyframes slideplusBlink {
	50% { opacity: 0; }
}

/* Effect: cards polish */
.slideplus-effect-cards .slideplus-slide {
	border-radius: var(--slideplus-radius, 16px);
	overflow: hidden;
}

/* Elementor placeholder */
.slideplus-elementor-placeholder {
	padding: 2rem;
	text-align: center;
	background: #f1f5f9;
	border: 2px dashed #cbd5e1;
	border-radius: 8px;
	color: #64748b;
}

/* Carousel display modes */
.slideplus-carousel-single .swiper-slide {
	box-sizing: border-box;
}

.slideplus-carousel-peek .slideplus-slide,
.slideplus-carousel-multi .slideplus-slide {
	box-sizing: border-box;
}

.slideplus-carousel-multi .slideplus-slide-media {
	border-radius: calc(var(--slideplus-radius, 12px) * 0.5);
	overflow: hidden;
}

/* ─────────────── Lightbox / zoom popup ─────────────── */

.slideplus-slide-media.slideplus-zoomable {
	cursor: zoom-in;
}

.slideplus-zoom-hint {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	color: #fff;
	background: rgba(15, 23, 42, 0.45);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, 0.25);
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity 0.2s ease, transform 0.2s ease;
	pointer-events: none;
}

.slideplus-slide-media.slideplus-zoomable:hover .slideplus-zoom-hint {
	opacity: 1;
	transform: translateY(0);
}

body.slideplus-lb-lock {
	overflow: hidden;
}

.slideplus-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: 1.5rem;
}

.slideplus-lightbox.is-open {
	display: flex;
	animation: slideplus-lb-fade 0.2s ease;
}

@keyframes slideplus-lb-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

.slideplus-lb-backdrop {
	position: absolute;
	inset: 0;
	background: radial-gradient(1200px 600px at 50% 0%, rgba(30, 41, 59, 0.92), rgba(2, 6, 23, 0.97));
	backdrop-filter: blur(4px);
	cursor: pointer;
}

.slideplus-lb-frame {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: min(92vw, 1400px);
	max-height: min(82vh, 900px);
}

.slideplus-lb-stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: min(92vw, 1400px);
	max-height: min(82vh, 900px);
	overflow: visible;
	touch-action: none;
}

.slideplus-lb-img {
	display: block;
	max-width: min(92vw, 1400px);
	max-height: min(82vh, 900px);
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 10px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
	transform-origin: center center;
	transition: transform 0.12s ease-out;
	cursor: zoom-in;
	user-select: none;
}

.slideplus-lb-img.is-zoomed {
	cursor: grab;
	transition: none;
}

.slideplus-lb-img.is-grabbing {
	cursor: grabbing;
}

.slideplus-lb-close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 4;
	width: 40px;
	height: 40px;
	font-size: 1.6rem;
	line-height: 1;
	color: #e2e8f0;
	background: rgba(15, 23, 42, 0.75);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.15s, transform 0.15s;
}

.slideplus-lb-close:hover {
	background: rgba(244, 63, 94, 0.9);
	transform: rotate(90deg);
}

.slideplus-lb-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 4;
	width: 44px;
	height: 44px;
	font-size: 1.75rem;
	line-height: 1;
	color: #e2e8f0;
	background: rgba(15, 23, 42, 0.75);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.15s, transform 0.15s;
}

.slideplus-lb-arrow:hover {
	background: rgba(99, 102, 241, 0.85);
}

.slideplus-lb-prev { left: -22px; }
.slideplus-lb-next { right: -22px; }

.slideplus-lb-bar {
	position: relative;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.7);
	border: 1px solid rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(12px);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.slideplus-lb-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	min-width: 36px;
	height: 36px;
	padding: 0 0.6rem;
	justify-content: center;
	font-size: 0.95rem;
	font-weight: 600;
	color: #e2e8f0;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}

.slideplus-lb-btn:hover {
	background: linear-gradient(135deg, #6366f1, #8b5cf6);
	color: #fff;
	border-color: transparent;
}

.slideplus-lb-pp-text {
	font-size: 0.8125rem;
}

.slideplus-lb-zoom,
.slideplus-lb-counter {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #cbd5e1;
	min-width: 3rem;
	text-align: center;
}

.slideplus-lb-sep {
	width: 1px;
	height: 22px;
	background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 600px) {
	.slideplus-lb-arrow { width: 38px; height: 38px; font-size: 1.35rem; }
	.slideplus-lb-prev { left: -10px; }
	.slideplus-lb-next { right: -10px; }
	.slideplus-lb-close { top: 6px; right: 6px; width: 34px; height: 34px; font-size: 1.35rem; }
	.slideplus-lb-pp-text { display: none; }
	.slideplus-lb-stage,
	.slideplus-lb-img,
	.slideplus-lb-frame { max-width: 96vw; max-height: 70vh; }
}

@media (prefers-reduced-motion: reduce) {
	.slideplus-lightbox.is-open,
	.slideplus-lb-img,
	.slideplus-lb-close,
	.slideplus-zoom-hint {
		animation: none;
		transition: none;
	}
}
