/**
 * NexaShop Hero Image Slider & Side Banners Stylesheet
 *
 * Implements:
 * - Style 1 (Tools Market / ابزارمارکت): classic side arrows + bottom-center pill pagination.
 * - Style 2 (Modern Curved Notch / مدرن منحنی): signature inverted concave top notch + dual circular bottom-corner buttons.
 * - Height modes: Fixed pixel/vh height or smart fluid Aspect Ratio.
 * - Object fit modes: Cover, Contain, Fill, Scale-Down, with slide background colors.
 * - Granular per-slide and per-banner sizing customization.
 * - Responsive mobile & tablet layouts (stacked / 2-columns / hidden).
 *
 * @package NexaShop
 * @subpackage ElementorWidgets\Sliders
 * @version 1.1.0
 */

.nexashop-hero-image-slider-wrap,
.nexashop-hero-image-slider-wrap * {
	box-sizing: border-box;
}

.nexashop-hero-image-slider-wrap {
	width: 100%;
	position: relative;
	direction: rtl;
	margin-inline: auto;
}

/* Base style default variables */
.nx-slider-style_1 {
	--nx-slider-radius: 12px;
	--nx-banners-radius: 12px;
}

.nx-slider-style_2 {
	--nx-slider-radius: 28px;
	--nx-banners-radius: 28px;
}

/* ==========================================================================
   1. GRID LAYOUT (Main Slider + Side Banners)
   ========================================================================== */
.nexashop-hero-grid {
	display: flex;
	align-items: stretch;
	width: 100%;
	height: var(--nx-slider-h, 380px);
	gap: var(--nx-gap, 16px);
	--nx-main-w: 70%;
}

/* 1.1 Position: Banners on Left (Default - Matches Both Designs) */
.nexashop-hero-image-slider-wrap.banners-pos-left .nexashop-hero-grid {
	flex-direction: row; /* In RTL: 1st child (Main Slider) is on Right, 2nd child (Side Banners) is on Left */
}

/* 1.2 Position: Banners on Right */
.nexashop-hero-image-slider-wrap.banners-pos-right .nexashop-hero-grid {
	flex-direction: row-reverse;
}

/* 1.3 When side banners are disabled: Main slider takes 100% */
.nexashop-hero-image-slider-wrap.no-side-banners .nexashop-hero-main-col {
	flex: 1 1 100% !important;
	max-width: 100% !important;
	width: 100% !important;
}

.nexashop-hero-image-slider-wrap.no-side-banners .nexashop-hero-side-col {
	display: none !important;
}

/* 1.4 Aspect Ratio Mode (Auto Fluid Proportions) */
.nexashop-hero-image-slider-wrap.height-mode-aspect_ratio .nexashop-hero-grid {
	height: auto;
	align-items: stretch;
}

.nexashop-hero-image-slider-wrap.height-mode-aspect_ratio .nexashop-hero-main-col {
	height: auto;
	aspect-ratio: var(--nx-slider-ratio, 2.4 / 1);
}

.nexashop-hero-image-slider-wrap.height-mode-aspect_ratio .nexashop-hero-side-col {
	height: auto;
	align-self: stretch;
}

.nexashop-hero-image-slider-wrap.height-mode-aspect_ratio .nexashop-side-banner {
	flex: 1 1 0;
	min-height: 0;
}

/* 1.5 Auto Height Mode (Natural Image Ratio) */
.nexashop-hero-image-slider-wrap.height-mode-auto .nexashop-hero-grid {
	height: auto;
	align-items: stretch;
}

.nexashop-hero-image-slider-wrap.height-mode-auto .nexashop-hero-main-col,
.nexashop-hero-image-slider-wrap.height-mode-auto .nexashop-main-swiper,
.nexashop-hero-image-slider-wrap.height-mode-auto .nexashop-slide-item,
.nexashop-hero-image-slider-wrap.height-mode-auto .nexashop-slide-picture {
	height: auto !important;
	min-height: unset !important;
}

.nexashop-hero-image-slider-wrap.height-mode-auto .nexashop-slide-img {
	height: auto !important;
	width: 100% !important;
	max-height: 100%;
}

/* ==========================================================================
   2. MAIN SLIDER COLUMN
   ========================================================================== */
.nexashop-hero-main-col {
	flex: 0 0 var(--nx-main-w, 70%);
	max-width: var(--nx-main-w, 70%);
	height: 100%;
	position: relative;
	overflow: hidden;
	border-radius: var(--nx-slider-radius, 12px);
	background-color: var(--nx-slide-bg, transparent);
	-webkit-mask-image: -webkit-radial-gradient(white, black);
	isolation: isolate;
	transform: translateZ(0);
}

.nexashop-main-swiper {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
	border-radius: inherit;
	-webkit-mask-image: -webkit-radial-gradient(white, black);
}

.nexashop-main-swiper .swiper-wrapper {
	height: 100%;
}

.nexashop-slide-item {
	height: 100%;
	position: relative;
	overflow: hidden;
	background-color: var(--nx-slide-bg, transparent);
	display: flex;
	align-items: center;
	justify-content: center;
}

.nexashop-slide-link,
.nexashop-banner-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
	text-decoration: none !important;
}

.nexashop-slide-picture {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.nexashop-slide-img,
.nexashop-banner-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.3s ease;
}

/* ==========================================================================
   3. SIDE BANNERS COLUMN
   ========================================================================== */
.nexashop-hero-side-col {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: var(--nx-gap, 16px);
}

.nexashop-side-banner {
	flex: 1 1 0;
	min-height: 0;
	position: relative;
	overflow: hidden;
	border-radius: var(--nx-banners-radius, 12px);
	background-color: var(--nx-banner-bg, transparent);
	-webkit-mask-image: -webkit-radial-gradient(white, black);
	isolation: isolate;
	transform: translateZ(0);
}

/* Enforce transparent background when custom bg is not enabled */
.nexashop-hero-image-slider-wrap:not(.has-custom-banners-bg) .nexashop-side-banner {
	background-color: transparent !important;
}

.nexashop-hero-image-slider-wrap:not(.has-custom-slider-bg) .nexashop-hero-main-col,
.nexashop-hero-image-slider-wrap:not(.has-custom-slider-bg) .nexashop-slide-item {
	background-color: transparent !important;
}

/* ==========================================================================
   4. IMAGE HOVER EFFECTS & ANIMATIONS (افکت‌های هاور و انیمیشن پیشرفته)
   ========================================================================== */
.nexashop-slide-img,
.nexashop-banner-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), filter 0.35s ease, opacity 0.35s ease;
	will-change: transform;
	backface-visibility: hidden;
}

/* 4.1 Smooth Zoom In */
.nx-hover-zoom .nexashop-slide-link:hover .nexashop-slide-img,
.nx-hover-zoom .nexashop-banner-link:hover .nexashop-banner-img {
	transform: scale(1.06);
	filter: brightness(1.02);
}

/* 4.2 3D Card Lift & Shadow */
.nx-hover-lift .nexashop-side-banner {
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.nx-hover-lift .nexashop-side-banner:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 36px -8px rgba(0, 0, 0, 0.16);
}
.nx-hover-lift .nexashop-slide-link:hover .nexashop-slide-img,
.nx-hover-lift .nexashop-banner-link:hover .nexashop-banner-img {
	transform: scale(1.04);
}

/* 4.3 Glossy Light Sweep Shine */
.nx-hover-shine .nexashop-slide-item,
.nx-hover-shine .nexashop-side-banner {
	position: relative;
	overflow: hidden;
}

.nx-hover-shine .nexashop-slide-item::after,
.nx-hover-shine .nexashop-side-banner::after {
	content: '';
	position: absolute;
	top: -50%;
	left: -130%;
	width: 60%;
	height: 200%;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(255, 255, 255, 0.38) 50%,
		transparent 100%
	);
	transform: rotate(25deg);
	pointer-events: none;
	z-index: 6;
	opacity: 0;
}

.nx-hover-shine .nexashop-slide-item:hover::after,
.nx-hover-shine .nexashop-side-banner:hover::after {
	animation: nx-hover-sweep-shine 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes nx-hover-sweep-shine {
	0% {
		left: -130%;
		opacity: 0;
	}
	20% {
		opacity: 1;
	}
	80% {
		opacity: 1;
	}
	100% {
		left: 190%;
		opacity: 0;
	}
}

.nx-hover-shine .nexashop-slide-link:hover .nexashop-slide-img,
.nx-hover-shine .nexashop-banner-link:hover .nexashop-banner-img {
	transform: scale(1.035);
}

/* 4.4 3D Tilt & Float */
.nx-hover-tilt .nexashop-slide-link:hover .nexashop-slide-img,
.nx-hover-tilt .nexashop-banner-link:hover .nexashop-banner-img {
	transform: scale(1.05) rotate(0.8deg);
}
.nx-hover-tilt .nexashop-side-banner:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.12);
}

/* 4.5 Brightness & Saturation */
.nx-hover-brightness .nexashop-slide-link:hover .nexashop-slide-img,
.nx-hover-brightness .nexashop-banner-link:hover .nexashop-banner-img {
	filter: brightness(1.08) saturate(1.12);
	transform: scale(1.03);
}

/* 4.6 Cinematic Deep Zoom */
.nx-hover-cinematic .nexashop-slide-link:hover .nexashop-slide-img,
.nx-hover-cinematic .nexashop-banner-link:hover .nexashop-banner-img {
	transform: scale(1.09);
	transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   5. STYLE 1: TOOLS MARKET / ABZARMARKET (تصویر اول)
   ========================================================================== */
.nx-slider-style_1 .nexashop-slider-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.3);
	color: #ffffff;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
	outline: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

.nx-slider-style_1 .nexashop-slider-btn:hover {
	background-color: rgba(0, 0, 0, 0.65);
	color: #ff9b00;
	transform: translateY(-50%) scale(1.08);
}

.nx-slider-style_1 .nexashop-slider-btn:active {
	transform: translateY(-50%) scale(0.96);
}

.nx-slider-style_1 .nexashop-slider-btn svg {
	width: var(--nx-arrows-icon-size, 20px);
	height: var(--nx-arrows-icon-size, 20px);
	stroke: currentColor;
	fill: none;
	stroke-width: var(--nx-arrows-stroke, 2.4);
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* In RTL: prev is right, next is left */
.nx-slider-style_1 .nexashop-slider-btn-prev {
	right: 14px;
}

.nx-slider-style_1 .nexashop-slider-btn-next {
	left: 14px;
}

/* Style 1: Bottom-Center Pill Pagination */
.nx-slider-style_1 .nexashop-style1-pagination {
	position: absolute;
	bottom: 14px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.nx-slider-style_1 .swiper-pagination-bullet {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.65);
	opacity: 1;
	margin: 0 !important;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	outline: none;
}

.nx-slider-style_1 .swiper-pagination-bullet-active {
	width: 22px !important;
	border-radius: 999px !important;
	background-color: #ff9b00 !important;
}

/* ==========================================================================
   6. STYLE 2: MODERN CURVED NOTCH (تصویر دوم و سوم)
   ========================================================================== */

/* 6.1 Top Notch Cutout with Pagination */
.nx-slider-style_2 .nexashop-style2-notch {
	position: absolute;
	top: 0;
	right: var(--nx-notch-offset-x, 24px);
	left: auto;
	z-index: 20;
	display: flex;
	align-items: flex-start;
	pointer-events: none;
	--nx-notch-bg: #ffffff;
	line-height: 0;
}

/* Notch Horizontal Alignment */
.nx-slider-style_2.notch-align-right .nexashop-style2-notch {
	right: var(--nx-notch-offset-x, 24px);
	left: auto;
	transform: none;
}

.nx-slider-style_2.notch-align-left .nexashop-style2-notch {
	left: var(--nx-notch-offset-x, 24px);
	right: auto;
	transform: none;
}

.nx-slider-style_2.notch-align-center .nexashop-style2-notch {
	left: 50%;
	right: auto;
	transform: translateX(-50%);
}

.nx-slider-style_2.notch-align-custom .nexashop-style2-notch {
	right: var(--nx-notch-offset-x, 24px);
	left: auto;
	transform: none;
}

.nx-slider-style_2 .nexashop-notch-curve {
	width: 28px;
	height: var(--nx-notch-depth, 32px);
	fill: var(--nx-notch-bg, #ffffff);
	flex: 0 0 28px;
	display: block;
	shape-rendering: geometricPrecision;
}

.nx-slider-style_2 .nexashop-notch-curve-left {
	margin-inline-end: -0.5px;
}

.nx-slider-style_2 .nexashop-notch-curve-right {
	margin-inline-start: -0.5px;
}

.nx-slider-style_2 .nexashop-notch-body {
	background-color: var(--nx-notch-bg, #ffffff);
	height: var(--nx-notch-depth, 32px);
	padding: 0 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: auto;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.nx-slider-style_2 .nexashop-style2-pagination {
	position: static !important;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transform: none !important;
}

.nx-slider-style_2 .swiper-pagination-bullet {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background-color: #cbd5e1;
	opacity: 1;
	margin: 0 !important;
	transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	outline: none;
}

.nx-slider-style_2 .swiper-pagination-bullet-active {
	width: 24px !important;
	height: 7px !important;
	border-radius: 999px !important;
	background-color: #e53935 !important;
}

/* 6.2 Circular Navigation Buttons */
.nx-slider-style_2 .nexashop-style2-corner-nav {
	position: absolute;
	bottom: var(--nx-nav-offset-y, 20px);
	right: var(--nx-nav-offset-x, 24px);
	left: auto;
	top: auto;
	z-index: 20;
	display: flex;
	align-items: center;
	gap: 8px;
}

/* Nav Alignment */
.nx-slider-style_2.nav-align-bottom_right .nexashop-style2-corner-nav {
	bottom: var(--nx-nav-offset-y, 20px);
	right: var(--nx-nav-offset-x, 24px);
	left: auto;
	top: auto;
}

.nx-slider-style_2.nav-align-bottom_left .nexashop-style2-corner-nav {
	bottom: var(--nx-nav-offset-y, 20px);
	left: var(--nx-nav-offset-x, 24px);
	right: auto;
	top: auto;
}

.nx-slider-style_2.nav-align-top_right .nexashop-style2-corner-nav {
	top: var(--nx-nav-offset-y, 20px);
	right: var(--nx-nav-offset-x, 24px);
	left: auto;
	bottom: auto;
}

.nx-slider-style_2.nav-align-top_left .nexashop-style2-corner-nav {
	top: var(--nx-nav-offset-y, 20px);
	left: var(--nx-nav-offset-x, 24px);
	right: auto;
	bottom: auto;
}

.nx-slider-style_2.nav-align-custom .nexashop-style2-corner-nav {
	bottom: var(--nx-nav-offset-y, 20px);
	right: var(--nx-nav-offset-x, 24px);
	left: auto;
	top: auto;
}

.nx-slider-style_2 .nexashop-btn-circle {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: #ffffff;
	color: #1e293b;
	border: 1px solid rgba(0, 0, 0, 0.06);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
	transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	outline: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

.nx-slider-style_2 .nexashop-btn-circle:hover {
	transform: scale(1.08);
	background-color: #f8fafc;
	color: #e53935;
	border-color: rgba(229, 57, 53, 0.2);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.nx-slider-style_2 .nexashop-btn-circle:active {
	transform: scale(0.96);
}

.nx-slider-style_2 .nexashop-btn-circle svg {
	width: var(--nx-nav-icon-size, 20px);
	height: var(--nx-nav-icon-size, 20px);
	stroke: currentColor;
	fill: none;
	stroke-width: var(--nx-nav-stroke, 2.4);
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ==========================================================================
   7. RESPONSIVENESS (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
	.nexashop-hero-grid {
		--nx-main-w: 66%;
	}

	.nx-slider-style_2 .nexashop-notch-curve {
		width: 22px;
		height: 28px;
		flex: 0 0 22px;
	}

	.nx-slider-style_2 .nexashop-notch-body {
		height: 28px;
		padding: 0 10px;
	}

	.nx-slider-style_2 .nexashop-style2-corner-nav {
		gap: 6px;
	}
}

@media (max-width: 768px) {
	.nexashop-hero-grid {
		flex-direction: column !important;
		height: auto !important;
	}

	.nexashop-hero-main-col {
		flex: 1 1 100% !important;
		max-width: 100% !important;
		width: 100% !important;
		height: auto !important;
		aspect-ratio: var(--nx-slider-ratio, 2.2 / 1);
		min-height: 180px;
	}

	.nexashop-hero-side-col {
		width: 100% !important;
		height: auto !important;
	}

	/* Mobile Banners: Stacked (Two full-width banners under slider) */
	.mobile-banners-stacked .nexashop-hero-side-col {
		flex-direction: column;
		gap: 10px;
	}

	.mobile-banners-stacked .nexashop-side-banner {
		width: 100%;
		height: auto;
		aspect-ratio: 2.1 / 1;
		min-height: 130px;
	}

	/* Mobile Banners: Grid 2 Columns (Side by side 50% - 50%) */
	.mobile-banners-grid_2_cols .nexashop-hero-side-col {
		flex-direction: row;
		gap: 8px;
	}

	.mobile-banners-grid_2_cols .nexashop-side-banner {
		flex: 1 1 50%;
		height: auto;
		aspect-ratio: 1.8 / 1;
	}

	/* Mobile Banners: Hide */
	.mobile-banners-hide .nexashop-hero-side-col {
		display: none !important;
	}

	/* Style 2: Mobile Notch and Buttons Adjustment */
	.nx-slider-style_2 .nexashop-notch-curve {
		width: 18px;
		height: 24px;
		flex: 0 0 18px;
	}

	.nx-slider-style_2 .nexashop-notch-body {
		height: 24px;
		padding: 0 8px;
	}

	.nx-slider-style_2 .swiper-pagination-bullet {
		width: 5px;
		height: 5px;
	}

	.nx-slider-style_2 .swiper-pagination-bullet-active {
		width: 16px !important;
		height: 5px !important;
	}

	.nx-slider-style_2 .nexashop-style2-corner-nav {
		gap: 5px;
	}

	.nx-slider-style_2 .nexashop-btn-circle {
		width: 36px;
		height: 36px;
	}

	.nx-slider-style_2 .nexashop-btn-circle svg {
		width: 16px;
		height: 16px;
	}

	/* Style 1: Mobile Arrow Buttons Adjustment */
	.nx-slider-style_1 .nexashop-slider-btn {
		width: 32px;
		height: 32px;
	}

	.nx-slider-style_1 .nexashop-slider-btn svg {
		width: 16px;
		height: 16px;
	}

	.nx-slider-style_1 .nexashop-slider-btn-prev {
		right: 8px;
	}

	.nx-slider-style_1 .nexashop-slider-btn-next {
		left: 8px;
	}
}

/* ==========================================================================
   8. ARROW NAVIGATION DEVICE VISIBILITY (Desktop / Tablet / Mobile)
   ========================================================================== */
@media (min-width: 1025px) {
	.nexashop-hero-image-slider-wrap.arrows-hide-desktop .nexashop-slider-btn,
	.nexashop-hero-image-slider-wrap.arrows-hide-desktop .nexashop-style2-corner-nav {
		display: none !important;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.nexashop-hero-image-slider-wrap.arrows-hide-tablet .nexashop-slider-btn,
	.nexashop-hero-image-slider-wrap.arrows-hide-tablet .nexashop-style2-corner-nav {
		display: none !important;
	}
}

@media (max-width: 767px) {
	.nexashop-hero-image-slider-wrap.arrows-hide-mobile .nexashop-slider-btn,
	.nexashop-hero-image-slider-wrap.arrows-hide-mobile .nexashop-style2-corner-nav {
		display: none !important;
	}
}

/* ==========================================================================
   9. LIGHT & GLOW ANIMATION EFFECTS (انیمیشن نوری بنرها و اسلایدر)
   ========================================================================== */
.nexashop-light-fx-overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 5;
	overflow: hidden;
	border-radius: inherit;
}

/* 9.1 Sweep Effect (نور مورب روان) */
.nexashop-light-fx-overlay.fx-type-sweep::after {
	content: '';
	position: absolute;
	top: -50%;
	left: -120%;
	width: 60%;
	height: 200%;
	background: linear-gradient(
		90deg,
		transparent 0%,
		var(--nx-light-color, rgba(255, 255, 255, 0.45)) 50%,
		transparent 100%
	);
	transform: rotate(25deg);
	pointer-events: none;
}

.nexashop-light-fx-overlay.fx-type-sweep.fx-trig-always::after {
	animation: nx-light-sweep var(--nx-light-speed, 3.5s) infinite ease-in-out;
}

.nexashop-slide-item:hover .nexashop-light-fx-overlay.fx-type-sweep.fx-trig-hover::after,
.nexashop-side-banner:hover .nexashop-light-fx-overlay.fx-type-sweep.fx-trig-hover::after {
	animation: nx-light-sweep-once 1.2s ease-in-out forwards;
}

@keyframes nx-light-sweep {
	0% {
		left: -120%;
		opacity: 0;
	}
	15% {
		opacity: 1;
	}
	85% {
		opacity: 1;
	}
	100% {
		left: 180%;
		opacity: 0;
	}
}

@keyframes nx-light-sweep-once {
	0% {
		left: -120%;
		opacity: 0;
	}
	20% {
		opacity: 1;
	}
	80% {
		opacity: 1;
	}
	100% {
		left: 180%;
		opacity: 0;
	}
}

/* 9.2 Border Glow (نئون چرخشی دور کادر) */
.nexashop-light-fx-overlay.fx-type-border_glow {
	box-shadow: inset 0 0 16px var(--nx-light-color, rgba(255, 255, 255, 0.45));
	border: 1.5px solid var(--nx-light-color, rgba(255, 255, 255, 0.45));
}

.nexashop-light-fx-overlay.fx-type-border_glow.fx-trig-always {
	animation: nx-border-pulse var(--nx-light-speed, 3s) infinite ease-in-out;
}

.nexashop-slide-item:hover .nexashop-light-fx-overlay.fx-type-border_glow.fx-trig-hover,
.nexashop-side-banner:hover .nexashop-light-fx-overlay.fx-type-border_glow.fx-trig-hover {
	animation: nx-border-pulse 1.2s infinite ease-in-out;
}

@keyframes nx-border-pulse {
	0%, 100% {
		box-shadow: inset 0 0 8px var(--nx-light-color, rgba(255, 255, 255, 0.25));
		border-color: var(--nx-light-color, rgba(255, 255, 255, 0.25));
	}
	50% {
		box-shadow: inset 0 0 22px var(--nx-light-color, rgba(255, 255, 255, 0.65)),
		            0 0 15px var(--nx-light-color, rgba(255, 255, 255, 0.45));
		border-color: var(--nx-light-color, rgba(255, 255, 255, 0.75));
	}
}

/* 9.3 Pulse Glow (تپش نوری ملایم) */
.nexashop-light-fx-overlay.fx-type-pulse_glow {
	background: radial-gradient(
		circle at center,
		var(--nx-light-color, rgba(255, 255, 255, 0.35)) 0%,
		transparent 75%
	);
	opacity: 0;
}

.nexashop-light-fx-overlay.fx-type-pulse_glow.fx-trig-always {
	animation: nx-pulse-glow var(--nx-light-speed, 3s) infinite ease-in-out;
}

.nexashop-slide-item:hover .nexashop-light-fx-overlay.fx-type-pulse_glow.fx-trig-hover,
.nexashop-side-banner:hover .nexashop-light-fx-overlay.fx-type-pulse_glow.fx-trig-hover {
	animation: nx-pulse-glow 1.5s infinite ease-in-out;
}

@keyframes nx-pulse-glow {
	0%, 100% {
		opacity: 0.15;
		transform: scale(0.96);
	}
	50% {
		opacity: 0.85;
		transform: scale(1.04);
	}
}

/* 9.4 Corner Flare (شراره نوری از گوشه) */
.nexashop-light-fx-overlay.fx-type-corner_flare {
	background: radial-gradient(
		circle at 100% 0%,
		var(--nx-light-color, rgba(255, 255, 255, 0.55)) 0%,
		transparent 55%
	);
	opacity: 0;
}

.nexashop-light-fx-overlay.fx-type-corner_flare.fx-trig-always {
	animation: nx-corner-flare var(--nx-light-speed, 3s) infinite ease-in-out;
}

.nexashop-slide-item:hover .nexashop-light-fx-overlay.fx-type-corner_flare.fx-trig-hover,
.nexashop-side-banner:hover .nexashop-light-fx-overlay.fx-type-corner_flare.fx-trig-hover {
	animation: nx-corner-flare 1.5s infinite ease-in-out;
}

@keyframes nx-corner-flare {
	0%, 100% {
		opacity: 0.1;
		transform: scale(0.85);
	}
	50% {
		opacity: 0.95;
		transform: scale(1.15);
	}
}

/* 9.5 Radial Glow (هاله نوری ملایم مرکزی) */
.nexashop-light-fx-overlay.fx-type-radial_glow {
	background: radial-gradient(
		circle at center,
		var(--nx-light-color, rgba(255, 255, 255, 0.4)) 0%,
		transparent 65%
	);
	opacity: 0;
}

.nexashop-light-fx-overlay.fx-type-radial_glow.fx-trig-always {
	animation: nx-radial-glow var(--nx-light-speed, 3.5s) infinite ease-in-out;
}

.nexashop-slide-item:hover .nexashop-light-fx-overlay.fx-type-radial_glow.fx-trig-hover,
.nexashop-side-banner:hover .nexashop-light-fx-overlay.fx-type-radial_glow.fx-trig-hover {
	animation: nx-radial-glow 1.8s infinite ease-in-out;
}

@keyframes nx-radial-glow {
	0%, 100% {
		opacity: 0.2;
	}
	50% {
		opacity: 0.8;
	}
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
	.nexashop-slide-img,
	.nexashop-banner-img,
	.nexashop-slider-btn,
	.swiper-pagination-bullet,
	.nexashop-light-fx-overlay::after,
	.nexashop-light-fx-overlay {
		transition: none !important;
		animation: none !important;
	}
}
