/* =============================================================================
   Hajimi Elementor — hajimi.css
   ============================================================================= */

/* --- Slider wrapper -------------------------------------------------------- */
.hajimi-testimonial-slider {
	position: relative;
	width: 100%;
}

/* --- Individual slide card ------------------------------------------------- */
.hajimi-testimonial-item {
	height: 100%;
	box-sizing: border-box;

	/* Defaults — overridden by Elementor style controls */
	background-color: #ffffff;
	border-radius: 12px;
	padding: 32px;
	text-align: center;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* Make swiper-slide use flex so equal-height cards work */
.hajimi-testimonial-slider .swiper-slide {
	height: auto;
	display: flex;
}

.hajimi-testimonial-slider .swiper-slide .hajimi-testimonial-item {
	flex: 1;
}

/* --- Content wrapper (title + description) --------------------------------- */
.hajimi-testimonial-content {
	display: flex;
	flex-direction: column;
}

/* --- Stars ------------------------------------------------------------------ */
.hajimi-stars {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 16px;
}

.hajimi-star {
	font-size: 22px;
	color: #F5A623;
	line-height: 1;
}

.hajimi-star.empty {
	color: #DDDDDD;
}

/* --- Description ------------------------------------------------------------ */
.hajimi-testimonial-description {
	margin: 0 0 16px;
	line-height: 1.7;
}

/* --- Title ------------------------------------------------------------------ */
.hajimi-testimonial-title {
	font-weight: 600;
	margin-top: 16px;
}

/* --- Navigation arrows ----------------------------------------------------- */
.hajimi-slider-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 24px;
}

.hajimi-nav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 2px solid currentColor;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	opacity: 0.6;
	transition: opacity 0.2s ease, transform 0.2s ease;
	padding: 0;
	line-height: 1;
	font-size: 16px;
}

.hajimi-nav-btn:hover {
	opacity: 1;
	transform: scale( 1.1 );
}

/* --- Swiper pagination dots ------------------------------------------------ */
.hajimi-testimonial-slider .hajimi-pagination {
	position: relative;
	margin-top: 20px;
	bottom: auto;
}

.hajimi-testimonial-slider .swiper-pagination-bullet {
	opacity: 0.3;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.hajimi-testimonial-slider .swiper-pagination-bullet-active {
	opacity: 1;
	transform: scale( 1.35 );
}

/* --- Smooth scrolling (linear easing) -------------------------------------- */
.hajimi-testimonial-slider.swiper-smooth-scrolling .swiper-wrapper {
	transition-timing-function: linear !important;
}

/* --- Elementor editor: disable transitions for cleaner live editing -------- */
.elementor-editor-active .hajimi-testimonial-slider .swiper-wrapper {
	transition-duration: 0ms !important;
}
