/* ==========================================================
   CYBERIAL — Widget Product Tabs
   Navigation pills arrondie, contenu 2 colonnes (texte + image),
   liste de fonctionnalités avec check icons.
   ========================================================== */

.cy-tabs-wrapper {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	font-family: 'Inter', sans-serif;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 10px;
}

/* --- Navigation tabs (pills) --- */
.cy-tabs-nav {
	display: inline-flex;
	background-color: #F3F1EB;
	padding: 4px;
	border-radius: 50px;
	gap: 2px;
	margin-bottom: 40px;
	position: relative;
	max-width: 100%;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.cy-tabs-nav::-webkit-scrollbar {
	display: none;
}

.cy-tab-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 30px;
	border: none;
	background: transparent;
	cursor: pointer;
	font-size: 13px;
	font-weight: 500;
	color: #666;
	transition: all 0.2s ease;
	outline: none;
	white-space: nowrap;
	flex-shrink: 0;
	font-family: inherit;
}

.cy-tab-btn svg {
	width: 14px;
	height: 14px;
	stroke-width: 2;
	stroke: currentColor;
	fill: none;
}

.cy-tab-btn:hover {
	color: #1d1c1a;
}

.cy-tab-btn.active {
	background-color: #ffffff;
	color: #1d1c1a;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* --- Contenu des tabs --- */
.cy-tab-content {
	display: none;
	width: 100%;
	background-color: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 16px;
	overflow: hidden;
	animation: cyFadeIn 0.4s ease-out;
}

.cy-tab-content.active {
	display: flex;
	flex-direction: row;
}

/* --- Colonne gauche (texte) --- */
.cy-content-left {
	flex: 1;
	padding: 60px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	text-align: left;
}

/* --- Tag pill --- */
.cy-tag-pill {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #191919;
	background: #F3F1EB;
	padding: 6px 12px;
	border-radius: 4px;
	margin-bottom: 20px;
	display: inline-block;
}

.cy-tag-pill--soon {
	background: #eee;
	color: #999;
}

/* --- Titre --- */
.cy-tab-title {
	font-family: 'Libre Baskerville', serif;
	font-size: 24px;
	color: #1d1c1a;
	margin: 0 0 16px 0;
	line-height: 1.2;
}

/* --- Description --- */
.cy-tab-desc {
	font-size: 16px;
	color: #666;
	line-height: 1.6;
	margin: 0 0 30px 0;
	max-width: 90%;
}

/* --- Liste fonctionnalités --- */
.cy-feature-list {
	list-style: none;
	padding: 0;
	margin: 10px 0 30px 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

.cy-feature-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #191919;
	font-weight: 500;
}

.cy-check-icon {
	width: 18px;
	height: 18px;
	color: #e9c359;
	flex-shrink: 0;
}

/* --- Colonne droite (visuel) --- */
.cy-content-right {
	flex: 1;
	background-color: #f9f9f9;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	min-height: 400px;
	position: relative;
}

.cy-tab-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* --- Animation --- */
@keyframes cyFadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* --- Responsive --- */
@media (max-width: 900px) {
	.cy-tab-content.active {
		flex-direction: column-reverse;
	}

	.cy-content-left {
		padding: 40px 20px;
	}

	.cy-content-right {
		min-height: 250px;
	}

	.cy-tab-title {
		font-size: 26px;
	}
}
