/*
 * FusionCommerce Figma redesign overlay.
 *
 * Final last-loaded project CSS layer for pragmatic visual implementation
 * over the existing functional Joomla/VirtueMart CSS baseline.
 *
 * Keep sections clearly labelled.
 * Do not add rules here for Joomla/VirtueMart commercial logic.
 * Clean old CSS only when it directly blocks the approved visual design.
 */

/* home component */
.home .main-component {
	padding: 0 !important;
}

/* Header */

.header {
	background: var(--color-white);
	color: var(--color-text);
	position: relative;
	z-index: 50;
}

/* Topbar: light, not green. Logo Europlant is green. */

/* Topbar: white utility strip */

.header .toolbar {
	background: var(--color-white);
	color: var(--color-text);
	border-bottom: 1px solid rgba(var(--color-black-rgb), 0.08);
	font-family: var(--font-body);
	font-size: 0.8125rem;
	line-height: 1.35;
}

.header .toolbar .bg-alt {
	background: transparent !important;
}

.header .toolbar p {
	margin: 0;
}

/* Topbar utility menu */

.header .toolbar .topbar-utility-menu {
	display: inline-flex !important;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: nowrap;
	gap: 0.875rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.header .toolbar .topbar-utility-menu>li {
	display: block;
	margin: 0;
	padding: 0;
}

.header .toolbar .topbar-utility-menu>li+li {
	margin-left: 0.875rem;
}

.header .toolbar .topbar-utility-menu>li>a {
	display: inline-flex;
	align-items: center;
	padding: 0;
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.header .toolbar .topbar-utility-menu>li>a:hover,
.header .toolbar .topbar-utility-menu>li>a:focus,
.header .toolbar .topbar-utility-menu>li.active>a,
.header .toolbar .topbar-utility-menu>li.current>a {
	color: var(--color-primary);
	text-decoration: none;
}

.header .toolbar .topbar-utility-menu>li.parent>a::after {
	display: none;
}

@media (max-width: 767.98px) {
	.header .toolbar .topbar-utility-menu {
		display: none !important;
	}
}

/* Main header row */

.header .header-inner {
	background: var(--color-white);
	border-bottom: 1px solid var(--color-border-soft);
}

.header .header-inner>.row {
	align-items: center;
}

.header .logo img {
	display: block;
	max-height: 3.25rem;
	width: auto;
	object-fit: contain;
}

/* Keep existing menu/mega-menu behavior. Do not style all nested ul. */

@media (min-width: 1200px) {
	.header .header-inner>.row {
		flex-wrap: nowrap;
	}

	.header .main-menu {
		min-width: 0;
	}

	.header .main-menu .mega-menu-nav {
		justify-content: center;
		gap: 0.25rem;
	}

	.header .main-menu .mega-menu-nav>li>a,
	.header .main-menu .mega-menu-nav>li>span,
	.header .main-menu .mega-menu-nav>li>.mod-menu__heading,
	.header .main-menu .mega-menu-nav>li>.mod-menu__separator {
		min-height: 3rem;
		padding: 0.75rem 0.7rem;
		color: var(--color-text);
		font-family: var(--font-body);
		font-size: 0.95rem;
		font-weight: 600;
	}

	.header .main-menu .mega-menu-nav>li>a:hover,
	.header .main-menu .mega-menu-nav>li>a:focus,
	.header .main-menu .mega-menu-nav>li.active>a,
	.header .main-menu .mega-menu-nav>li.current>a {
		color: var(--color-primary);
	}
}

/* Search */

.header .main-search {
	min-width: 13rem;
}

.header .main-search form {
	margin: 0;
}

.header .main-search input[type="search"],
.header .main-search input[type="text"],
.header .main-search .form-control {
	min-height: 2.5rem;
	border: 0;
	border-radius: var(--bs-border-radius-pill);
	background: var(--color-accent);
	color: var(--color-white);
	font-family: var(--font-body);
	font-size: 0.875rem;
	padding: 0.625rem 1rem;
	box-shadow: none;
}

.header .main-search input::placeholder,
.header .main-search .form-control::placeholder {
	color: rgba(var(--color-white-rgb), 0.92);
	opacity: 1;
}

.header .main-search input:focus,
.header .main-search .form-control:focus {
	background: var(--color-accent);
	color: var(--color-white);
	box-shadow: 0 0 0 0.2rem rgba(var(--color-accent-rgb), 0.22);
}

/* Header action area: cart position may contain wishlist + VM cart */

.header .cart-module {
	align-items: center;
	gap: 0.875rem;
	font-family: var(--font-body);
}

.header .cart-module .row,
.header .cart-module .col {
	margin: 0;
	padding: 0;
}

.header .cart-module .col,
.header .cart-module .vmCartModule,
.header .cart-module .moduletable,
.header .cart-module .module {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.875rem;
}

.header .cart-module a,
.header .cart-module button,
.header .cart-module .btn,
.header .cart-module .dropdown-toggle {
	color: var(--color-text);
	text-decoration: none;
}

.header .cart-module a:hover,
.header .cart-module button:hover,
.header .cart-module .btn:hover {
	color: var(--color-primary);
}

.header .cart-module .badge,
.header .cart-module [class*="badge"] {
	background: var(--color-danger);
	color: var(--color-white);
	border-radius: var(--bs-border-radius-pill);
}

/* Responsive */

@media (max-width: 1199.98px) {
	.header .main-search {
		max-width: 100%;
	}
}

@media (max-width: 991.98px) {
	.header .main-search {
		display: none;
	}
}

/* Header actions: account / wishlist / cart */

@media (min-width: 1200px) {
	.header .cart-module {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 1.125rem;
		font-family: var(--font-body);
	}

	.header .cart-module .mod-custom p,
	.header .cart-module .mod-custom a,
	.header .cart-module .vme-mod-wishlist,
	.header .cart-module .vmCartModule {
		margin: 0 !important;
	}



	.header .cart-module .dropdown-menu {
		margin-top: 0.75rem;
	}
}

/* Header actions shared responsive baseline */

.header .cart-module .fc-header-action-link {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.2rem;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	box-shadow: none;
}

.header .cart-module .fc-header-action-link:hover,
.header .cart-module .fc-header-action-link:focus {
	color: var(--color-primary);
}

.header .cart-module .fc-header-action-icon,
.header .cart-module .fc-header-action-icon img,
.header .cart-module .fc-header-action-link>svg {
	display: block;
	width: 1.35rem;
	height: 1.35rem;
	object-fit: contain;
	color: currentColor;
}

.header .cart-module .fc-header-action-label {
	display: block;
	color: currentColor;
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1.1;
	white-space: nowrap;
}

.header .cart-module .fc-header-action-link.dropdown-toggle::after,
.header .cart-module .vme-wishlist-toggle::after {
	display: none;
}

.header .cart-module .jewel,
.header .cart-module .total_products {
	position: absolute;
	top: -0.25rem;
	right: 0.05rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1rem;
	height: 1rem;
	margin: 0 !important;
	padding: 0 0.28rem;
	border-radius: var(--bs-border-radius-pill);
	background: var(--color-danger);
	color: var(--color-white);
	font-size: 0.6rem;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.header .cart-module .jewel .product-count {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

@media (min-width: 1200px) {
	.header .cart-module .fc-header-action-link {
		gap: 0.25rem;
		min-width: 3.75rem;
		min-height: 3rem;
		font-size: 0.875rem;
	}

	.header .cart-module .fc-header-action-icon,
	.header .cart-module .fc-header-action-icon img,
	.header .cart-module .fc-header-action-link>svg {
		width: 1.35rem;
		height: 1.35rem;
	}

	.header .cart-module .fc-header-action-label {
		font-size: 0.875rem;
	}

	.header .cart-module .jewel,
	.header .cart-module .total_products {
		top: -0.35rem;
		right: 0.2rem;
		min-width: 1.1rem;
		height: 1.1rem;
		font-size: 0.625rem;
	}
}

/* Split hero */

.plx-position-full--hero>.container-xxl {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

.plx-position-full--hero>.container-xxl>.row {
	--bs-gutter-x: 0;
	margin-left: 0;
	margin-right: 0;
}

.plx-position-full--hero .moduletable,
.plx-position-full--hero .mod-custom {
	width: 100%;
	padding: 0;
}

.plx-split-hero-shell {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--color-cream);
}

.plx-split-hero-shell::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -1rem;
	z-index: 2;
	width: min(88vw, 70rem);
	background-image: url("../images/green-leaf-falling-air-02.png");
	background-repeat: no-repeat;
	background-position: left center;
	background-size: auto 100%;
	opacity: 0.9;
	pointer-events: none;
}

.despre-noi-hub .plx-split-hero-shell::before {
	background-image: url("../images/green-leaf-falling-air-1.png");
}

.plx-split-hero {
	position: relative;
	background: transparent;
}

.plx-split-hero__layout {
	min-height: clamp(22rem, 34vw, 27rem);
}

.plx-split-hero__content {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	background: transparent;
}

.plx-split-hero__inner,
.plx-split-hero__panel {
	position: relative;
	z-index: 4;
}

.plx-split-hero__inner {
	width: 100%;
	padding-left: max(1rem, calc((100vw - 1200px) / 2));
}

.plx-split-hero__panel {
	max-width: 36rem;
}

.plx-split-hero__eyebrow {
	margin: 0 0 1rem;
	color: var(--color-accent);
	font-family: var(--font-body);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.plx-split-hero__title {
	max-width: 13.5ch;
	margin: 0;
	color: var(--color-primary);
	font-family: var(--font-heading);
	font-size: clamp(2.35rem, 3.55vw, 3.55rem);
	font-weight: 500;
	line-height: 1.03;
	letter-spacing: -0.045em;
}

.plx-split-hero__title-line {
	display: block;
}

.plx-split-hero__title-line--strong {
	font-weight: 600;
}

.plx-split-hero__title-line--soft {
	font-weight: 400;
}

.plx-split-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2.25rem;
}

.plx-split-hero__actions .btn {
	min-width: 13rem;
	border-radius: var(--bs-border-radius-pill);
	padding: 0.95rem 1.75rem;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.15;
}

.plx-split-hero__actions .btn-primary {
	border-color: var(--color-accent);
	background: var(--color-accent);
	color: var(--color-white);
}

.plx-split-hero__actions .btn-primary:hover,
.plx-split-hero__actions .btn-primary:focus {
	border-color: var(--color-accent-dark);
	background: var(--color-accent-dark);
	color: var(--color-white);
}

.plx-split-hero__actions .btn-outline-primary {
	border-color: var(--color-accent);
	background: var(--color-white);
	color: var(--color-text);
}

.plx-split-hero__actions .btn-outline-primary:hover,
.plx-split-hero__actions .btn-outline-primary:focus {
	border-color: var(--color-accent);
	background: var(--color-accent);
	color: var(--color-white);
}

.plx-split-hero__media {
	position: relative;
	z-index: 1;
	margin: 0;
	min-height: inherit;
	overflow: hidden;
	background: var(--color-surface-soft);
}

.plx-split-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: inherit;
	object-fit: cover;
	object-position: center right;
}

/* Split hero: tablet / medium screens */

@media (min-width: 768px) and (max-width: 1199.98px) {
	.plx-split-hero__layout {
		min-height: clamp(20rem, 38vw, 24rem);
	}

	.plx-split-hero-shell::before {
		left: -5rem;
		opacity: 0.58;
	}

	.plx-split-hero__inner {
		padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem);
	}

	.plx-split-hero__eyebrow {
		margin-bottom: 0.75rem;
		font-size: 0.75rem;
	}

	.plx-split-hero__title {
		max-width: 13ch;
		font-size: clamp(1.9rem, 3.8vw, 2.65rem);
	}

	.plx-split-hero__actions {
		gap: 0.75rem;
		margin-top: 1.5rem;
	}

	.plx-split-hero__actions .btn {
		min-width: 10.75rem;
		padding: 0.8rem 1.15rem;
		font-size: 0.9rem;
	}
}

/* Split hero: mobile */

@media (max-width: 767.98px) {
	.plx-split-hero-shell::before {
		display: none;
	}

	.plx-split-hero__layout {
		min-height: auto;
	}

	.plx-split-hero__media {
		height: clamp(13rem, 52vw, 17rem);
		min-height: 0;
	}

	.plx-split-hero__media img {
		height: 100%;
		min-height: 0;
		object-position: center;
	}

	.plx-split-hero__content {
		min-height: auto;
	}

	.plx-split-hero__inner {
		padding: 1.5rem 1rem 1.75rem;
	}

	.plx-split-hero__panel {
		max-width: none;
	}

	.plx-split-hero__eyebrow {
		margin-bottom: 0.75rem;
		font-size: 0.72rem;
	}

	.plx-split-hero__title {
		max-width: 13ch;
		font-size: clamp(1.95rem, 9.2vw, 2.65rem);
		line-height: 1.04;
	}

	.plx-split-hero__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
		margin-top: 1.5rem;
	}

	.plx-split-hero__actions .btn {
		width: 100%;
		min-width: 0;
		padding: 0.85rem 1.25rem;
		font-size: 0.95rem;
	}
}

/* Home trust strip */

.plx-home-trust {
	background: var(--color-primary);
	color: var(--color-white);
}

.plx-home-trust__inner {
	width: min(1200px, calc(100% - 2rem));
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
}

.plx-home-trust__item {
	min-height: 7rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 1.5rem 1rem;
	text-align: center;
}

.plx-home-trust__item+.plx-home-trust__item {
	border-left: 1px solid rgba(var(--color-white-rgb), 0.18);
}

.plx-home-trust__item strong,
.plx-home-trust__item span {
	display: block;
	color: inherit;
	font-family: var(--font-body);
	line-height: 1.15;
}

.plx-home-trust__item strong {
	font-size: clamp(1.25rem, 2vw, 1.75rem);
	font-weight: 700;
}

.plx-home-trust__item span {
	margin-top: 0.25rem;
	font-size: clamp(0.95rem, 1.4vw, 1.25rem);
	font-weight: 400;
	opacity: 0.92;
}

@media (max-width: 767.98px) {
	.plx-home-trust__inner {
		grid-template-columns: 1fr;
		width: 100%;
	}

	.plx-home-trust__item {
		min-height: auto;
		padding: 1.25rem 1rem;
	}

	.plx-home-trust__item+.plx-home-trust__item {
		border-left: 0;
		border-top: 1px solid rgba(var(--color-white-rgb), 0.18);
	}
}

/* Mobile header controls polish */

@media (max-width: 1199.98px) {
	.header .cart-module {
		align-items: center;
		gap: 0.5rem;
	}

	.header .cart-module #search-toggle,
	.header .cart-module [data-bs-target="#MenuOffcanvas"] {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 auto;
		width: 2.75rem;
		height: 2.75rem;
		margin-left: 0.5rem !important;
		border-radius: var(--bs-border-radius-pill);
		background: var(--color-surface-soft);
		color: var(--color-primary) !important;
		text-decoration: none;
		box-shadow: none;
	}

	.header .cart-module #search-toggle:hover,
	.header .cart-module #search-toggle:focus,
	.header .cart-module [data-bs-target="#MenuOffcanvas"]:hover,
	.header .cart-module [data-bs-target="#MenuOffcanvas"]:focus {
		background: var(--color-cream);
		color: var(--color-primary) !important;
	}

	.header .cart-module #search-toggle svg,
	.header .cart-module [data-bs-target="#MenuOffcanvas"] svg {
		display: block;
		width: 1.5rem;
		height: 1.5rem;
	}
}

@media (max-width: 575.98px) {
	.header .header-inner {
		padding-top: 0.875rem !important;
		padding-bottom: 0.875rem !important;
	}

	.header .logo img {
		max-height: 2.75rem;
	}
}

/* Mobile header action compact mode */

@media (max-width: 767.98px) {
	.header .header-inner {
		padding-top: 0.75rem !important;
		padding-bottom: 0.75rem !important;
	}

	.header .header-inner>.row {
		--bs-gutter-x: 0.5rem;
	}

	.header .logo {
		min-width: 0;
	}

	.header .logo img {
		max-width: 8.5rem;
		max-height: 2.45rem;
	}

	.header .cart-module {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		flex-wrap: nowrap;
		gap: 0.25rem;
		min-width: 0;
	}

	.header .cart-module .mod-custom,
	.header .cart-module .moduletable,
	.header .cart-module .module,
	.header .cart-module .vme-mod-wishlist,
	.header .cart-module .vmCartModule {
		margin: 0 !important;
		padding: 0 !important;
	}

	.header .cart-module .vme-mod-wishlist,
	.header .cart-module .vme-wishlist-toggle {
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.header .cart-module .fc-header-action-link {
		min-width: 2.05rem;
		width: 2.05rem;
		min-height: 2.05rem;
		padding: 0;
		gap: 0;
	}

	.header .cart-module .fc-header-action-label {
		display: none;
	}

	.header .cart-module .fc-header-action-icon,
	.header .cart-module .fc-header-action-icon img,
	.header .cart-module .fc-header-action-link>svg {
		width: 1.2rem;
		height: 1.2rem;
	}

	.header .cart-module .jewel,
	.header .cart-module .total_products {
		top: -0.25rem;
		right: -0.15rem;
		min-width: 0.95rem;
		height: 0.95rem;
		padding: 0 0.25rem;
		font-size: 0.56rem;
	}

	.header .cart-module #search-toggle,
	.header .cart-module [data-bs-target="#MenuOffcanvas"] {
		width: 2.35rem;
		height: 2.35rem;
		margin-left: 0.25rem !important;
	}

	.header .cart-module #search-toggle svg,
	.header .cart-module [data-bs-target="#MenuOffcanvas"] svg {
		width: 1.35rem;
		height: 1.35rem;
	}
}

@media (max-width: 374.98px) {
	.header .logo img {
		max-width: 8rem;
	}

	.header .cart-module {
		gap: 0.15rem;
	}

	.header .cart-module .fc-header-action-link {
		min-width: 1.95rem;
		width: 1.95rem;
	}

	.header .cart-module #search-toggle,
	.header .cart-module [data-bs-target="#MenuOffcanvas"] {
		width: 2.2rem;
		height: 2.2rem;
		margin-left: 0.2rem !important;
	}
}

/* Header account dropdown */

.header .cart-module .fc-header-account {
	position: relative;
	margin: 0 !important;
}

.header .cart-module .fc-header-account-menu {
	min-width: 12rem;
	padding: 0.45rem;
	border: 1px solid var(--color-border-soft);
	border-radius: var(--bs-border-radius-lg);
	background: var(--color-white);
	box-shadow: var(--shadow-dropdown);
	font-family: var(--font-body);
	font-size: 0.875rem;
}

.header .cart-module .fc-header-account-menu .dropdown-item {
	display: flex;
	align-items: center;
	min-height: 2.25rem;
	padding: 0.55rem 0.75rem;
	border-radius: var(--bs-border-radius);
	color: var(--color-text);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.25;
	text-decoration: none;
}

.header .cart-module .fc-header-account-menu .dropdown-item:hover,
.header .cart-module .fc-header-account-menu .dropdown-item:focus {
	background: var(--color-primary-soft);
	color: var(--color-primary);
}

.header .cart-module .fc-header-account-menu .dropdown-item.active,
.header .cart-module .fc-header-account-menu .dropdown-item:active {
	background: var(--color-primary);
	color: var(--color-white);
}

.header .cart-module .fc-header-account-menu .dropdown-header {
	padding: 0.45rem 0.75rem 0.25rem;
	color: var(--color-text-muted);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.header .cart-module .fc-header-account-menu .dropdown-divider {
	margin: 0.35rem 0;
	border-color: var(--color-border-soft);
}

@media (min-width: 1200px) and (max-width: 1399.98px) {

	.header .cart-module,
	.header .cart-module .col,
	.header .cart-module .vmCartModule,
	.header .cart-module .moduletable,
	.header .cart-module .module {
		gap: 0.375rem;
	}
}