/* Nasa Products slider — Smooth Scroll Mode + Right Offset (child theme) */
.ns-smooth-slider {
	position: relative;
}

.ns-smooth-slider .ns-smooth-swiper {
	width: 100%;
	overflow: hidden;
}

.ns-smooth-slider .swiper-wrapper {
	display: flex;
}

.ns-smooth-slider .swiper-slide {
	flex-shrink: 0;
	height: auto;
	box-sizing: border-box;
}

/* Product cards fill their slide. Side padding comes from the theme's own
   .ns-items-gap rules (10px desktop / 5px <=1230px), so the modern-9 hover
   "Add to cart" button (sized against that padding) stays full card width. */
.ns-smooth-slider .swiper-slide > .product-item,
.ns-smooth-slider .swiper-slide > .nasa-wrap-column {
	width: 100% !important;
	max-width: 100%;
	float: none;
	margin-left: 0;
	margin-right: 0;
	visibility: visible;
}

/* Mirror the theme's `.ns-items-gap .slick-list` negative margins so the
   first/last cards line up with the section edges exactly like Slick. */
.ns-items-gap.ns-smooth-slider > .ns-smooth-swiper {
	margin-left: -10px;
	margin-right: -10px;
	width: auto;
}

@media screen and ( max-width: 1230px ) {
	.ns-items-gap.ns-smooth-slider > .ns-smooth-swiper {
		margin-left: -5px;
		margin-right: -5px;
	}
}

.ns-items-gap.nasa-small-center-mode.ns-smooth-slider > .ns-smooth-swiper {
	margin-left: 0;
	margin-right: 0;
}

/* Continuous marquee: constant speed, no easing between slides. */
.ns-smooth-continuous .swiper-wrapper {
	transition-timing-function: linear !important;
}

.ns-smooth-free .ns-smooth-swiper {
	cursor: grab;
}
.ns-smooth-free .ns-smooth-swiper:active {
	cursor: grabbing;
}

/* Arrows reuse the theme's .nasa-nav-arrow styling; just make them clickable. */
.ns-smooth-slider > .nasa-nav-arrow {
	cursor: pointer;
}

/* Pagination dots */
.ns-smooth-slider .swiper-pagination.ns-smooth-dots {
	position: relative;
	bottom: auto;
	margin-top: 15px;
	text-align: center;
	line-height: 0;
}

.ns-smooth-slider .ns-smooth-dots .swiper-pagination-bullet {
	width: 9px;
	height: 9px;
	margin: 0 5px;
	background: rgba( 17, 17, 17, 0.3 );
	opacity: 1;
	transition: transform 0.2s ease, background 0.2s ease;
}

.ns-smooth-slider .ns-smooth-dots .swiper-pagination-bullet-active {
	background: #111;
	transform: scale( 1.25 );
}
