/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Wrapper */
.product-showcase {
	font-family: 'Inter', sans-serif;
	background-color: #ffffff;
	border-radius: 24px;
	padding: 32px;
	box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
	border: 1px solid #f0f0f0;
	max-width: 1140px;
	margin: 0 auto 40px auto;
}

.product-showcase-header .title {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 8px;
	color: #111827;
}

.product-showcase-header .description {
	font-size: 16px;
	color: #6b7280;
	margin-bottom: 32px;
	max-width: 90%;
}

.product-showcase-main {
	display: flex;
	align-items: flex-start;
	gap: 48px;
}

.product-showcase-image {
	flex: 1 1 40%;
	position: sticky;
	top: 20px;
	min-width: 0; /* EZ KULCSFONTOSSÁGÚ a flexbox törés ellen */
}


/* Swiper Struktúra Stílusai */
.product-main-image.swiper-container {
	position: relative; 
	width: 100%;
	aspect-ratio: 4 / 3; 
	border-radius: 16px;
	border: 1px solid #e5e7eb; 
	background-color: #f3f4f6; /* Háttérszín álló képekhez */
	overflow: hidden;
	min-width: 0; /* EZ IS KULCSFONTOSSÁGÚ az Elementor szerkesztőhöz */
}

.product-main-image .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.product-main-link {
	display: block;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 1; 
}

.product-main-image img {
	width: 100%;
	height: 100%;
	object-fit: contain; /* ### MODOSÍTÁS: Visszaállítva 'contain'-re (álló képek) ### */
}

/* Nyíl stílus a Swiper gombjaira */
.product-main-image .swiper-button-next,
.product-main-image .swiper-button-prev {
	background-color: rgba(0, 0, 0, 0.3);
	color: #ffffff;
	width: 40px; 
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease;
	z-index: 2; 
	
	/* ### MODOSÍTÁS: Mindig látható ### */
	opacity: 1;
	visibility: visible;
}

/* Eltávolítjuk az alapértelmezett Swiper nyíl-karaktereket */
.product-main-image .swiper-button-next::after,
.product-main-image .swiper-button-prev::after {
	display: none;
}

/* Stilizáljuk az SVG-t a gombban */
.product-main-image .swiper-button-next svg,
.product-main-image .swiper-button-prev svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

/* Hover szabály csak a színváltáshoz */
.product-main-image .swiper-button-next:hover,
.product-main-image .swiper-button-prev:hover {
	background-color: rgba(0, 0, 0, 0.5);
}

.product-main-image .swiper-button-prev {
	left: 12px;
}
.product-main-image .swiper-button-next {
	right: 12px;
}
/* Swiper Stílus Vége */


.product-showcase-interactive {
	flex: 1 1 60%;
	min-width: 0; /* ### MODOSÍTÁS: Hozzáadva az Elementor hiba javításához ### */
}

.product-showcase-interactive h3 {
	font-size: 18px;
	font-weight: 600;
	color: #374151;
	margin-top: 0;
	margin-bottom: 12px;
}

.product-select {
	width: 100%;
	padding: 16px;
	font-size: 16px;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	background-color: #f9fafb;
	margin-bottom: 24px;
	font-weight: 500;
	-webkit-appearance: none;
	appearance: none;
	background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23374151" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 20px;
}

.product-details-display {
	background-color: #f9fafb;
	border-radius: 16px;
	padding: 24px;
	border: 1px solid #e5e7eb;
	min-height: 200px;
	transition: opacity 0.3s ease;
	/* A WYSIWYG tartalom alapstílusai */
	font-size: 15px;
	color: #4b5563;
	line-height: 1.6;
}

/* A WYSIWYG tartalom stílusai */
.product-details-display p {
	margin-top: 0;
	margin-bottom: 1em;
}
.product-details-display ul,
.product-details-display ol {
	padding-left: 20px;
	margin-bottom: 1em;
}
.product-details-display h1,
.product-details-display h2,
.product-details-display h3,
.product-details-display h4,
.product-details-display h5,
.product-details-display h6 {
	font-weight: 600;
	color: #374151;
	margin-bottom: 0.5em;
}


.general-details-display {
	background-color: #f9fafb;
	border-radius: 16px;
	padding: 24px;
	border: 1px solid #e5e7eb;
	min-height: 200px;
}

.general-details-display p {
	margin-top: 0;
	margin-bottom: 1em;
	color: #6b7280;
}

.general-details-display ul,
.general-details-display ol {
	padding-left: 20px;
	color: #6b7280;
}

.quote-button {
	background: #0d6efd;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	margin-top: 24px;
	width: 100%;
	display: block;
	text-decoration: none;
	text-align: center;
	box-sizing: border-box;
}

.quote-button:hover {
	background: #0052cc;
	transform: translateY(-2px);
	color: #ffffff;
}

@media (max-width: 768px) {
	.product-showcase-main {
		flex-direction: column;
	}

	.product-main-image {
		aspect-ratio: 16 / 9; /* Mobilra szélesebb képet adhatunk */
	}

	.product-main-image .swiper-button-next,
	.product-main-image .swiper-button-prev {
		width: 36px;
		height: 36px;
	}
	
	.product-main-image .swiper-button-next svg,
	.product-main-image .swiper-button-prev svg {
		width: 18px;
		height: 18px;
	}

	.product-showcase-image {
		position: static;
		width: 100%;
		min-width: 0; 
	}

	.product-showcase-interactive {
		width: 100%;
	}

	.product-showcase-header .title {
		font-size: 24px;
	}

	.product-showcase {
		padding: 20px;
	}

	.product-showcase-main {
		gap: 32px;
	}
}

@media (max-width: 1024px) {
	.product-showcase-main {
		gap: 32px;
	}

	.product-showcase-image {
		position: static;
		top: auto;
		min-width: 0; 
	}
}