/**
 * Lourenza Product Tabs Widget Styles
 * Matching Exact UI Design from Reference Image
 */

.lourenza-tabs-wrapper {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background-color: #ffffff;
	overflow: hidden;
	display: flex;
	flex-direction: row;
	margin: 0 auto;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
	font-family: inherit;
}

/* ==========================================================================
   LEFT COLUMN: Tab Buttons List
   ========================================================================== */
.lourenza-tabs-nav {
	width: 38%;
	min-width: 260px;
	border-right: 1px solid #e2e8f0;
	display: flex;
	flex-direction: column;
	background-color: #ffffff;
	box-sizing: border-box;
}

.lourenza-tab-nav-item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 22px 24px;
	cursor: pointer;
	transition: background-color 0.3s ease, border-color 0.3s ease;
	border-bottom: 1px solid #e2e8f0;
	background-color: #ffffff;
	box-sizing: border-box;
	user-select: none;
}

.lourenza-tab-nav-item:last-child {
	border-bottom: none;
}

.lourenza-tab-nav-item:hover:not(.is-active) {
	background-color: #f8f9fa;
}

/* Active Accent Left Border Bar */
.lourenza-tab-accent-bar {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background-color: #bfa145;
	opacity: 0;
	transition: opacity 0.3s ease, background-color 0.3s ease, width 0.3s ease;
}

.lourenza-tab-nav-item.is-active {
	background-color: #ffffff;
}

.lourenza-tab-nav-item.is-active .lourenza-tab-accent-bar {
	opacity: 1;
}

/* Left Tab Text Content */
.lourenza-tab-text-wrap {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding-right: 12px;
}

.lourenza-tab-title {
	font-size: 20px;
	line-height: 1.3;
	font-weight: 500;
	color: #2c333e;
	margin: 0 0 6px 0;
	transition: color 0.3s ease;
	letter-spacing: -0.2px;
}

.lourenza-tab-nav-item.is-active .lourenza-tab-title {
	color: #bfa145;
}

.lourenza-tab-subtitle {
	font-size: 13px;
	line-height: 1.4;
	color: #6c757d;
	font-weight: 400;
	transition: color 0.3s ease;
	margin: 0;
}

.lourenza-tab-nav-item.is-active .lourenza-tab-subtitle {
	color: #bfa145;
}

/* Pouch Thumbnail Image inside Left Tab Button */
.lourenza-tab-pouch-wrap {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lourenza-tab-pouch-img {
	max-width: 55px;
	width: 100%;
	height: auto;
	object-fit: contain;
	display: block;
	transition: transform 0.3s ease;
}

.lourenza-tab-nav-item.is-active .lourenza-tab-pouch-img {
	transform: scale(1.05);
}

/* ==========================================================================
   RIGHT COLUMN: Content Panel
   ========================================================================== */
.lourenza-tabs-content {
	flex: 1;
	padding: 35px 40px;
	background-color: #ffffff;
	box-sizing: border-box;
	position: relative;
	display: flex;
	align-items: center;
}

.lourenza-tab-panel {
	display: none;
	width: 100%;
	box-sizing: border-box;
}

.lourenza-tab-panel.is-active {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start;
	justify-content: space-between;
	gap: 30px;
	animation: lourenzaFadeIn 0.35s ease forwards;
}

@keyframes lourenzaFadeIn {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.lourenza-tab-content-text {
	flex: 1;
}

.lourenza-content-subtitle {
	font-size: 17px;
	line-height: 1.4;
	color: #5e646e;
	margin: 0 0 16px 0;
	font-weight: 400;
	letter-spacing: 0.1px;
}

.lourenza-content-desc {
	font-size: 14px;
	line-height: 1.65;
	color: #4a5568;
	margin-bottom: 14px;
}

.lourenza-content-desc p {
	margin: 0 0 14px 0;
}

.lourenza-content-desc p:last-child {
	margin-bottom: 0;
}

/* Right Detail Image & Caption */
.lourenza-tab-content-media {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.lourenza-content-img {
	max-width: 180px;
	width: 100%;
	height: auto;
	object-fit: contain;
	display: block;
	border-radius: 12px;
	margin-bottom: 8px;
}

.lourenza-content-caption {
	font-size: 14px;
	color: #5e646e;
	text-align: center;
	font-weight: 400;
	letter-spacing: 0.1px;
	margin-top: 4px;
}

/* ==========================================================================
   RESPONSIVE LAYOUT (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 768px) {
	.lourenza-tabs-wrapper {
		flex-direction: column;
	}

	.lourenza-tabs-nav {
		width: 100% !important;
		min-width: 100%;
		border-right: none;
		border-bottom: 1px solid #e2e8f0;
	}

	.lourenza-tabs-content {
		padding: 28px 24px;
	}

	.lourenza-tab-panel.is-active {
		display: flex !important;
		flex-direction: column-reverse !important;
		align-items: center;
		gap: 20px;
	}

	.lourenza-tab-content-text {
		width: 100%;
		text-align: center;
	}

	.lourenza-tab-content-media {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		margin-bottom: 10px;
	}
}
