/* ============================================================
   Stelo Psychologists — card carousel
   ============================================================ */

.stelo-psych-wrap {
	position: relative;
}

.stelo-psych-title {
	margin: 0 0 32px;
}

/* Swiper container — allow overflow so partial side-cards peek */
.stelo-psych-swiper {
	overflow: hidden;
	padding-bottom: 48px; /* room for pagination */
}

/* ── Card ── */
.stelo-psych-card {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	cursor: pointer;
	/* portrait aspect ratio ~3:4 */
	aspect-ratio: 3 / 4;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	background: #d9d3ce;
}

.stelo-psych-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

/* ── Photo ── */
.stelo-psych-photo {
	position: absolute;
	inset: 0;
	background-color: #d9d3ce;
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
}

/* Neutral gradient placeholder when no photo */
.stelo-psych-photo--placeholder {
	background: linear-gradient(160deg, #ddd6cf 0%, #b8aea6 100%);
}

/* ── Play button ── */
.stelo-psych-play {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 3;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.88);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: none;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #222;
	transition: background 0.2s ease, transform 0.2s ease;
}

.stelo-psych-play:hover {
	background: #fff;
	transform: scale(1.1);
}

.stelo-psych-play svg {
	width: 18px;
	height: 18px;
	display: block;
	margin-left: 2px; /* optical centering for play triangle */
}

/* ── Video modal ── */
.stelo-psych-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(0, 0, 0, 0.85);
	align-items: center;
	justify-content: center;
}

.stelo-psych-modal.is-open {
	display: flex;
}

.stelo-psych-modal__inner {
	position: relative;
	width: 90vw;
	max-width: 480px;
}

.stelo-psych-modal__close {
	position: absolute;
	top: -44px;
	right: 0;
	background: none;
	border: none;
	color: #fff;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
	padding: 4px 8px;
	opacity: 0.8;
}

.stelo-psych-modal__close:hover {
	opacity: 1;
}

.stelo-psych-modal video {
	width: 100%;
	border-radius: 12px;
	display: block;
	background: #000;
	max-height: 80vh;
}

.stelo-psych-modal__spinner {
	text-align: center;
	color: #fff;
	padding: 40px 0;
	font-size: 14px;
	opacity: 0.7;
}

/* ── Heart button ── */
.stelo-psych-heart {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 3;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.88);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: none;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #555;
	transition: color 0.2s ease, background 0.2s ease;
}

.stelo-psych-heart svg {
	width: 18px;
	height: 18px;
	display: block;
	transition: fill 0.2s ease, stroke 0.2s ease;
}

.stelo-psych-heart:hover {
	color: #e84444;
}

.stelo-psych-heart.is-liked {
	color: #e84444;
}

.stelo-psych-heart.is-liked svg {
	fill: #e84444;
	stroke: #e84444;
}

/* ── Gradient overlay ── */
.stelo-psych-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.68) 0%,
		rgba(0, 0, 0, 0.35) 20%,
		rgba(0, 0, 0, 0) 50%,
		transparent 80%
	);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

/* ── Card content ── */
.stelo-psych-content {
	padding: 18px 18px 20px;
}

.stelo-psych-name {
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
	font-family: inherit;
}

/* ── Spec bullets ── */
.stelo-psych-specs {
	list-style: disc;
	margin: 0 0 12px;
	padding: 0 0 0 18px;
	color: rgba(255, 255, 255, 0.95);
	font-size: 13.5px;
	line-height: 1.55;
}

.stelo-psych-specs li + li {
	margin-top: 2px;
}

/* ── Footer row: stats + price ── */
.stelo-psych-footer {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.stelo-psych-stats {
	color: rgba(255, 255, 255, 0.8);
	font-size: 12.5px;
	line-height: 1.45;
	flex: 1;
	min-width: 0;
}

.stelo-psych-price {
	flex-shrink: 0;
	background: #fff;
	color: #1a1a1a;
	font-size: 12px;
	font-weight: 600;
	padding: 5px 13px;
	border-radius: 20px;
	white-space: nowrap;
	letter-spacing: 0.01em;
}

/* ── OneLink CTA button ── */
.stelo-psych-cta {
	text-align: center;
	margin-top: 32px;
}

.stelo-psych-cta-btn {
	display: inline-block;
	padding: 14px 36px;
	background: #4f46e5;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
	letter-spacing: 0.01em;
}

.stelo-psych-cta-btn:hover {
	background: #4338ca;
	transform: translateY(-2px);
}

/* ── QR modal inner ── */
.stelo-psych-qr-inner {
	max-width: 300px;
	background: #fff;
	border-radius: 16px;
	padding: 32px 32px 28px;
	text-align: center;
}

.stelo-psych-qr-inner .stelo-psych-modal__close {
	position: absolute;
	top: -44px;
	right: 0;
	color: #fff;
}

.stelo-psych-qr-hint {
	margin: 0 0 20px;
	font-size: 15px;
	font-weight: 600;
	color: #1a1a1a;
}

.stelo-psych-qr-canvas img,
.stelo-psych-qr-canvas canvas {
	display: block;
	margin: 0 auto;
	border-radius: 8px;
}

/* ── Navigation arrows ── */
.stelo-psych-wrap .swiper-button-prev,
.stelo-psych-wrap .swiper-button-next {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	color: #222;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
	transition: box-shadow 0.2s;
}

.stelo-psych-wrap .swiper-button-prev:hover,
.stelo-psych-wrap .swiper-button-next:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
}

.stelo-psych-wrap .swiper-button-prev::after,
.stelo-psych-wrap .swiper-button-next::after {
	font-size: 13px;
	font-weight: 800;
}

/* ── Pagination dots ── */
.stelo-psych-wrap .swiper-pagination {
	bottom: 0;
}

.stelo-psych-wrap .swiper-pagination-bullet {
	background: #aaa;
	opacity: 1;
}

.stelo-psych-wrap .swiper-pagination-bullet-active {
	background: #222;
}
