/* ===== Breadcrumb global ===== */

/* Home icon via ::before pe primul link din breadcrumb */
.woocommerce-breadcrumb a:first-child {
	font-size: 0;
	vertical-align: middle;
}

.woocommerce-breadcrumb a:first-child::before {
	content: '';
	display: inline-block;
	width: 15px;
	height: 15px;
	vertical-align: middle;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lg-breadcrumb-sep {
	color: var(--lg-orange);
	margin: 0 5px;
	font-weight: 400;
}

/* ===== Mega menu: arrow indicator pe itemele cu copii ===== */

.lg-mega-panel__cat-arrow {
	display: block;
	width: 17px;
	height: 17px;
	margin-left: auto;
	opacity: .6;
	flex-shrink: 0;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.59 16.59L13.17 12L8.59 7.41L10 6l6 6-6 6z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.59 16.59L13.17 12L8.59 7.41L10 6l6 6-6 6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ===== Mid bar (logo + contact info) ===== */
.lg-midbar {
	background: #fff;
}

.lg-midbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	padding: 18px var(--lg-page-gutter);
}

.lg-logo img {
	display: block;
	height: 50px;
	width: auto;
}

/* ===== Bara minimala de checkout ===== */
.lg-midbar--checkout {
	border-bottom: 1px solid var(--lg-border);
}

.lg-midbar__inner--checkout {
	justify-content: space-between;
}

.lg-checkout-back {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--lg-navy);
}

.lg-checkout-back:hover {
	color: var(--lg-orange);
}

.lg-checkout-back .lg-icon {
	font-size: 20px;
}

.lg-logo a {
	font-size: 22px;
	font-weight: 700;
	color: var(--lg-navy);
}

.lg-contact-list {
	display: flex;
	align-items: center;
	gap: 34px;
}

.lg-contact-item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.lg-contact-item__link {
	display: flex;
	align-items: center;
	gap: 12px;
	color: inherit;
}

.lg-contact-item__link .lg-contact-item__label {
	transition: color .2s ease;
}

.lg-contact-item__link:hover .lg-contact-item__label {
	color: var(--lg-orange);
}

.lg-contact-item .lg-icon {
	font-size: 28px;
	color: var(--lg-orange);
}

.lg-contact-item.lg-contact-item--contact .lg-icon {
	color: var(--lg-orange-2);
}

.lg-contact-item__label {
	font-size: 16px;
	font-weight: 400;
	color: var(--lg-navy);
	display: block;
}

.lg-contact-item__sub {
	font-size: 12px;
	color: var(--lg-gray);
	display: block;
}

/* ===== Nav bar (mega menu trigger, search, account icons) ===== */
.lg-navbar {
	background: var(--lg-navy);
}

.lg-navbar__inner {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 10px var(--lg-page-gutter);
}

.lg-menu-trigger {
	display: flex;
	align-items: center;
	gap: 5px;
	background: var(--lg-orange);
	color: #fff;
	border: none;
	border-radius: 4px 4px 0 0;
	width: 220px;
	height: 45px;
	margin-bottom: -10px;
	align-self: flex-start;
	padding: 10px 5px;
	font-size: 15px;
	font-weight: 300;
	white-space: nowrap;
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}

.lg-menu-trigger .lg-icon {
	font-size: 20px;
}

.lg-search {
	position: relative;
	flex: 1 1 auto;
	max-width: 760px;
	margin: 0 auto;
}

.lg-search__field {
	position: relative;
	display: flex;
	align-items: center;
	background: #fff;
	border-radius: 12px;
	height: 35px;
	padding: 10px 5px;
}

.lg-search__input {
	flex: 1;
	border: none;
	outline: none;
	background: none;
	padding: 0 12px;
	font-family: var(--lg-font-base);
	font-size: 14px;
	color: var(--lg-navy);
	height: 100%;
	border-radius: 12px 0 0 12px;
}

.lg-search__submit {
	border: none;
	background: none;
	width: 26px;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--lg-gray);
	font-size: 20px;
}

/* Live search results dropdown */

.lg-search__results {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
	max-height: 70vh;
	overflow-y: auto;
	z-index: 500;
	padding: 8px 0;
	text-align: left;
}

.lg-search__loading,
.lg-search__empty {
	color: var(--lg-gray);
	font-size: 13px;
	padding: 16px;
	margin: 0;
	text-align: center;
}

.lg-search__group-title {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--lg-gray);
	margin: 0;
	padding: 10px 16px 4px;
}

.lg-search__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 16px;
	text-decoration: none;
	transition: background .12s;
}

.lg-search__item:hover {
	background: var(--lg-bg);
}

.lg-search__item-img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	background: var(--lg-bg);
	border-radius: 4px;
	flex-shrink: 0;
}

.lg-search__item-content {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
	min-width: 0;
}

.lg-search__item-name {
	flex: 1;
	min-width: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--lg-navy);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lg-search__item-price {
	font-family: var(--lg-font-price);
	font-size: 13px;
	font-weight: 700;
	color: var(--lg-navy);
	white-space: nowrap;
	flex-shrink: 0;
}

.lg-search__item-price ins {
	color: inherit;
	text-decoration: none;
}

.lg-search__item-price del {
	color: var(--lg-gray);
	font-size: 11px;
	font-weight: 400;
	text-decoration: none;
}

.lg-search__item-price del::before {
	content: 'Preț recomandat:';
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	margin-right: 4px;
}

.lg-search__item-price del * {
	text-decoration: none;
}

.lg-search__all {
	display: block;
	text-align: center;
	padding: 12px 16px 6px;
	margin-top: 4px;
	border-top: 1px solid var(--lg-border);
	font-size: 13px;
	font-weight: 600;
	color: var(--lg-orange);
	text-decoration: none;
}

.lg-search__all:hover {
	text-decoration: underline;
}

.lg-user-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

.lg-user-actions__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	height: 35px;
	padding: 10px 5px;
	color: #fff;
	font-size: 11px;
	font-weight: 500;
	position: relative;
}

.lg-user-actions__link .lg-icon {
	font-size: 20px;
}

.lg-badge {
	position: absolute;
	top: -4px;
	right: 0;
	background: var(--lg-orange);
	color: #fff;
	font-size: 8px;
	font-weight: 700;
	line-height: 1;
	border-radius: 999px;
	min-width: 12px;
	height: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 2px;
}

.lg-cart {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	background: var(--lg-orange);
	color: #fff;
	border-radius: 12px;
	min-width: 187px;
	height: 35px;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 300;
	white-space: nowrap;
	position: relative;
}

.lg-cart .lg-icon {
	font-size: 20px;
}

.lg-cart .lg-badge {
	background: #fff;
	color: var(--lg-orange);
	top: -6px;
	right: -6px;
}

/* Headerul compact si cautarea pe homepage sunt activate doar pe mobil. */
.lg-mobile-homebar {
	display: none;
}

.lg-search-drawer {
	position: fixed;
	inset: 0 0 auto;
	z-index: 1301;
	background: #fff;
	box-shadow: 0 14px 34px rgba( 11, 22, 40, .2 );
	transform: translate3d( 0, -100%, 0 );
	visibility: hidden;
	opacity: 0;
	transition: transform .3s cubic-bezier( .32, .72, 0, 1 ), visibility 0s linear .3s, opacity .2s ease;
}

.lg-search-drawer.lg-drawer--open {
	transform: translate3d( 0, 0, 0 );
	visibility: visible;
	opacity: 1;
	transition: transform .3s cubic-bezier( .32, .72, 0, 1 ), visibility 0s linear 0s, opacity .2s ease;
}

.lg-search-drawer__inner {
	width: min( 960px, 100% );
	margin: 0 auto;
	padding: 18px clamp( 16px, 4vw, 36px ) 22px;
}

.lg-search-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}

.lg-search-drawer__title {
	font-family: var(--lg-font-heading);
	font-size: clamp( 18px, 4vw, 24px );
	color: var(--lg-navy);
}

.lg-search-drawer__form {
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) 48px;
	height: 50px;
	border: 1px solid #d8dde3;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba( 11, 22, 40, .06 );
}

.lg-search-drawer__input,
.lg-search-drawer__submit {
	min-width: 0;
	border: 0;
	background: transparent;
}

.lg-search-drawer__input {
	padding: 0 16px;
	font: inherit;
	color: var(--lg-navy);
	outline: 0;
}

.lg-search-drawer__submit {
	display: grid;
	place-items: center;
	font-size: 21px;
	color: var(--lg-navy);
}

.lg-search-drawer__results {
	max-height: min( 65dvh, 620px );
	margin-top: 10px;
	overflow-y: auto;
	border: 1px solid var(--lg-border);
	border-radius: 12px;
	background: #fff;
	overscroll-behavior: contain;
}

/* ===== Mega menu - desfasurat pe homepage, dropdown la hover pe restul paginilor ===== */
.lg-mega-menu-wrap {
	position: relative;
}

.lg-mega-panel {
	padding: 0;
}

.lg-mega-panel--static > .lg-container {
	padding-right: var(--lg-page-gutter);
	padding-left: var(--lg-page-gutter);
}

.lg-mega-panel--dropdown {
	position: absolute;
	top: calc( 100% + 10px );
	left: 0;
	z-index: 60;
	box-shadow: 0 12px 30px -5px rgba( 0, 0, 0, 0.25 );
}

.lg-mega-panel--dropdown .lg-mega-panel__row--menu-only {
	width: 260px;
}

.lg-mega-panel__row {
	position: relative;
	display: flex;
	align-items: stretch;
	gap: 0;
	height: 587px;
}

.lg-mega-panel__categories {
	width: 260px;
	flex-shrink: 0;
	padding: 0;
	background: #fff;
	box-shadow: 0 2px 10px rgba( 0, 0, 0, 0.08 );
	box-sizing: border-box;
}

.lg-mega-panel__list {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.lg-mega-panel__list > li {
	flex: 1 1 0;
}

.lg-mega-panel__list > li > a {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 100%;
	padding: 0 5px 0 14px;
	font-size: 13px;
	font-weight: 400;
	color: var(--lg-navy);
	border-bottom: 1px solid var(--lg-border);
}

.lg-mega-panel__list > li:last-child > a {
	border-bottom: none;
}

.lg-mega-panel__list > li > a:hover {
	color: var(--lg-orange);
}

.lg-mega-panel__cat-img-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	flex-shrink: 0;
}

.lg-mega-panel__cat-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.lg-mega-panel__visual {
	position: relative;
	flex: 1 1 auto;
	height: 100%;
	padding: 0;
	overflow: hidden;
}

.lg-mega-panel__slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity .5s ease, visibility 0s linear .5s;
}

.lg-mega-panel__visual > .lg-mega-panel__slide:first-child,
.lg-mega-panel__slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity .5s ease, visibility 0s linear 0s;
}

.lg-mega-panel__visual > .lg-mega-panel__slide.is-inactive {
	opacity: 0;
	visibility: hidden;
	transition: opacity .5s ease, visibility 0s linear .5s;
}

.lg-mega-panel__slide::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient( 57.71deg, rgba( 0, 0, 0, 0.48 ) 0%, rgba( 0, 0, 0, 0 ) 69.36% );
	pointer-events: none;
}

.lg-mega-panel__visual-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lg-mega-panel__visual-picture {
	display: block;
	width: 100%;
	height: 100%;
}

.lg-mega-panel__arrow {
	position: absolute;
	top: 50%;
	transform: translateY( -50% );
	z-index: 2;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: none;
	background: rgba( 0, 0, 0, 0.35 );
	color: #fff;
	font-size: 18px;
}

.lg-mega-panel__arrow:hover {
	background: rgba( 0, 0, 0, 0.55 );
}

.lg-mega-panel__arrow--prev {
	left: 14px;
}

.lg-mega-panel__arrow--next {
	right: 14px;
}

.lg-mega-panel__dots {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX( -50% );
	display: flex;
	gap: 8px;
	z-index: 2;
}

.lg-mega-panel__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	background: rgba( 255, 255, 255, 0.5 );
	padding: 0;
}

.lg-mega-panel__dot.is-active {
	background: #fff;
}

.lg-mega-panel__visual-cta {
	position: absolute;
	z-index: 2;
	bottom: 30px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 60%;
}

.lg-mega-panel__visual-cta--left {
	left: 30px;
	align-items: center;
	text-align: center;
}

.lg-mega-panel__visual-cta--right {
	right: 30px;
	align-items: center;
	text-align: center;
}

.lg-mega-panel__visual-title {
	margin: 0;
	font-size: clamp( 24px, 5vw, 56px );
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
	text-shadow: 0px 0px 3px #000;
}

.lg-mega-panel__visual-btn {
	display: inline-block;
	background: #fff;
	color: var(--lg-navy);
	font-size: 14px;
	font-weight: 300;
	padding: 12px 26px;
	border-radius: 20px;
}

.lg-mega-panel__visual-btn:hover {
	background: var(--lg-bg);
}

.lg-mega-panel__visual-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 220px;
	background: #f5f5f5;
	border: 1px dashed var(--lg-border);
	color: var(--lg-gray);
	font-size: 13px;
	text-align: center;
	padding: 20px;
}

/* ===== Subcategory fly-out ===== */

.lg-mega-panel__list > li,
.lg-mega-panel__sub-menu > li {
	position: relative;
}

/* Arrow indicator sits right at the row edge on desktop */
.lg-mega-panel__list > li.menu-item-has-children > a {
	padding-right: 2px;
}

/* Sub-menu — hidden by default, absolute to the right on desktop */
.lg-mega-panel__sub-menu {
	display: none;
	position: absolute;
	top: 0;
	left: 100%;
	min-width: 200px;
	background: #fff;
	border: 1px solid var(--lg-border);
	border-radius: 0 4px 4px 0;
	box-shadow: 4px 4px 16px rgba( 0, 0, 0, 0.12 );
	z-index: 70;
	list-style: none;
	padding: 0;
	margin: 0;
}

.lg-mega-panel__sub-menu .lg-mega-panel__sub-menu {
	top: -1px;
	left: 100%;
	border-radius: 4px;
}

/* Show on hover (desktop) or when Alpine sets .is-open (mobile expand button) */
.lg-mega-panel__list > li:hover > .lg-mega-panel__sub-menu,
.lg-mega-panel__list > li.is-open > .lg-mega-panel__sub-menu,
.lg-mega-panel__list > li:focus-within > .lg-mega-panel__sub-menu,
.lg-mega-panel__sub-menu > li:hover > .lg-mega-panel__sub-menu,
.lg-mega-panel__sub-menu > li.is-open > .lg-mega-panel__sub-menu {
	display: block;
}

.lg-mega-panel__sub-menu > li > a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	font-size: 13px;
	font-weight: 400;
	color: var(--lg-navy);
	border-bottom: 1px solid var(--lg-border);
	white-space: nowrap;
}

.lg-mega-panel__sub-menu > li.menu-item-has-children > a {
	padding-right: 8px;
}

.lg-mega-panel__sub-menu > li:last-child > a {
	border-bottom: none;
}

.lg-mobile-submenu__head,
.lg-mobile-submenu__all {
	display: none;
}

.lg-mega-panel__sub-menu > li > a:hover {
	color: var(--lg-orange);
	background: #f9f9f9;
}

/* Expand button — shown only on touch/mobile */
.lg-mega-panel__expand {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: 36px;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	color: var(--lg-navy);
	font-size: 16px;
	cursor: pointer;
	z-index: 2;
	transition: color 0.15s;
}

.lg-mega-panel__expand:hover {
	color: var(--lg-orange);
}

.lg-mega-panel__list > li.is-open > .lg-mega-panel__expand .lg-icon,
.lg-mega-panel__sub-menu > li.is-open > .lg-mega-panel__expand .lg-icon {
	display: inline-block;
	transform: rotate( 90deg );
}

/* Desktop: un singur panou fix peste zona vizuală, indiferent de rândul activ. */
@media (min-width: 1025px) {
	.lg-mega-panel__list > li {
		position: static;
	}

	.lg-mega-panel__list > li > .lg-mega-panel__sub-menu--root {
		top: 0;
		right: auto;
		bottom: 0;
		left: 260px;
		width: min( 520px, calc( 100% - 260px ) );
		max-width: 520px;
		min-width: 0;
		height: 100%;
		padding: 24px 30px;
		overflow-y: auto;
		border: 0;
		border-left: 1px solid var(--lg-border);
		border-radius: 0;
		background: #fff;
		box-shadow: none;
	}

	.lg-mega-panel--dropdown .lg-mega-panel__list > li > .lg-mega-panel__sub-menu--root {
		right: auto;
		width: min( 520px, calc( 100vw - 290px ) );
		border: 1px solid var(--lg-border);
		border-left: 1px solid var(--lg-border);
		border-radius: 0 4px 4px 0;
		box-shadow: none;
	}

	.lg-mega-panel__sub-menu--root > li.menu-item {
		width: 100%;
		max-width: 460px;
	}

	.lg-mega-panel__sub-menu--root > li.menu-item > a {
		padding: 9px 0;
		border-bottom: 0;
		background: transparent;
		font-weight: 700;
		white-space: normal;
	}

	.lg-mega-panel__sub-menu--root .lg-mega-panel__sub-menu--nested {
		display: block;
		position: static;
		width: auto;
		min-width: 0;
		margin: 0 0 8px;
		padding: 2px 0 2px 18px;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	.lg-mega-panel__sub-menu--root .lg-mega-panel__sub-menu--nested > li > a {
		padding: 7px 0;
		border-bottom: 0;
		background: transparent;
		font-weight: 400;
		white-space: normal;
	}

	.lg-mega-panel__sub-menu--root .lg-mega-panel__cat-arrow {
		display: none;
	}
}

/* ===== Drawer navigare mobilă ===== */
.lg-mobile-menu {
	position: fixed;
	inset: 0 auto 0 0;
	z-index: 1301;
	display: none;
	flex-direction: column;
	width: min( 390px, 92vw );
	height: 100dvh;
	background: #fff;
	box-shadow: 12px 0 34px rgba( 11, 22, 40, .2 );
	transform: translate3d( -100%, 0, 0 );
	visibility: hidden;
	opacity: 0;
	transition: transform .28s cubic-bezier( .32, .72, 0, 1 ), visibility 0s linear .28s, opacity .2s ease;
}

.lg-mobile-menu.lg-drawer--open {
	transform: translate3d( 0, 0, 0 );
	visibility: visible;
	opacity: 1;
	transition: transform .28s cubic-bezier( .32, .72, 0, 1 ), visibility 0s linear 0s, opacity .2s ease;
}

.lg-mobile-menu__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 18px 14px;
	border-bottom: 1px solid var(--lg-border);
}

.lg-mobile-menu__eyebrow,
.lg-mobile-menu__title {
	display: block;
}

.lg-mobile-menu__eyebrow {
	margin-bottom: 2px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--lg-orange);
}

.lg-mobile-menu__title {
	font-family: var(--lg-font-heading);
	font-size: 18px;
	color: var(--lg-navy);
}

.lg-mobile-menu__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	border-bottom: 1px solid var(--lg-border);
	overscroll-behavior: contain;
}

.lg-mobile-menu__quick {
	display: flex;
	flex-wrap: wrap;
	gap: 7px 16px;
	padding: 14px 18px max( 16px, env( safe-area-inset-bottom ) );
}

.lg-mobile-menu__quick a {
	font-size: 13px;
	font-weight: 600;
	color: var(--lg-navy);
}

/* ===== Responsive ===== */

@media (max-width: 1024px) {
	.lg-mega-panel--dropdown {
		display: none !important;
	}

	.lg-header--compact-mobile .lg-midbar,
	.lg-header--compact-mobile .lg-navbar {
		display: none;
	}

	.lg-header--compact-mobile .lg-mobile-homebar {
		display: grid;
		grid-template-columns: 90px minmax( 0, 1fr ) 90px;
		align-items: center;
		width: 100%;
		height: 64px;
		padding: 8px max( var(--lg-page-gutter), env( safe-area-inset-right ) ) 8px max( var(--lg-page-gutter), env( safe-area-inset-left ) );
		background: #fff;
		border-bottom: 1px solid var(--lg-border);
	}

	.lg-mobile-homebar__action {
		position: relative;
		display: grid;
		place-items: center;
		flex: 0 0 44px;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		border-radius: 10px;
		background: transparent;
		color: var(--lg-navy);
		font-size: 22px;
	}

	.lg-mobile-homebar__action:active {
		background: var(--lg-bg);
	}

	.lg-mobile-homebar__icon {
		display: block;
		width: 26px;
		height: 26px;
		fill: none;
		stroke: currentColor;
		stroke-linecap: round;
		stroke-linejoin: round;
		stroke-width: 1.8;
		vector-effect: non-scaling-stroke;
	}

	.lg-mobile-homebar__logo {
		display: flex;
		align-items: center;
		justify-content: center;
		align-self: center;
		justify-self: center;
		width: 100%;
		min-width: 0;
		margin-left: 0;
	}

	.lg-mobile-homebar__logo a {
		display: flex;
		align-items: center;
		justify-content: center;
		max-width: 100%;
	}

	.lg-mobile-homebar__logo img {
		display: block;
		width: auto;
		max-width: min( 100%, 154px, 39vw );
		height: auto;
		max-height: 36px;
	}

	.lg-mobile-homebar__logo > a:not(.custom-logo-link) {
		font-size: 17px;
		font-weight: 700;
		color: var(--lg-navy);
	}

	.lg-mobile-homebar__actions {
		display: flex;
		align-items: center;
		align-self: center;
		justify-self: end;
		gap: 2px;
		margin-left: 0;
	}

	.lg-mobile-homebar__cart .lg-badge {
		top: 2px;
		right: 1px;
	}

	.lg-header--front .lg-mega-panel--static {
		display: block !important;
		width: 100%;
	}

	.lg-header--front .lg-mega-panel--static > .lg-container {
		width: 100%;
		max-width: none;
		padding: 0;
	}

	.lg-header--front .lg-mega-panel--static .lg-mega-panel__row {
		width: 100%;
		height: clamp( 240px, 56.25vw, 430px );
	}

	.lg-header--front .lg-mega-panel--static .lg-mega-panel__categories {
		display: none;
	}

	.lg-header--front .lg-mega-panel--static .lg-mega-panel__visual {
		width: 100%;
	}

	.lg-header--front .lg-mega-panel__visual-cta {
		top: 50%;
		bottom: auto;
		left: 50%;
		right: auto;
		width: calc( 100% - 90px );
		max-width: none;
		align-items: center;
		gap: 10px;
		text-align: center;
		transform: translate( -50%, -50% );
	}

	.lg-header--front .lg-mega-panel__visual-cta--left {
		left: 50%;
	}

	.lg-header--front .lg-mega-panel__visual-cta--right {
		right: auto;
	}

	.lg-header--front .lg-mega-panel__visual-title {
		font-size: clamp( 22px, 6vw, 38px );
	}

	.lg-header--front .lg-mega-panel__visual-btn {
		align-self: center;
		padding: 7px 14px;
		border-radius: 17px;
		font-size: 12px;
		line-height: 1.2;
	}

	.lg-mobile-menu {
		display: flex;
	}

	.lg-contact-list,
	.lg-search,
	.lg-user-actions__link:not(.lg-user-actions__cart-link) {
		display: none;
	}

	.lg-navbar__inner {
		justify-content: space-between;
		gap: 10px;
	}

	.lg-mega-menu-wrap {
		flex: 1 1 auto;
		min-width: 0;
		max-width: 220px;
	}

	.lg-menu-trigger {
		width: 100%;
		height: 40px;
		margin-bottom: 0;
		align-self: center;
		padding: 8px 14px;
		border-radius: 10px;
	}

	.lg-user-actions,
	.lg-user-actions__cart-link {
		min-width: 0;
	}

	.lg-cart {
		min-width: 0;
		height: 40px;
		padding: 8px 12px;
	}

	/* Show expand button on touch screens */
	.lg-mega-panel__expand {
		display: flex;
	}

	/* Leave room for the expand button on items that have children */
	.lg-mega-panel__list > li.menu-item-has-children > a,
	.lg-mega-panel__sub-menu > li.menu-item-has-children > a {
		padding-right: 36px;
	}

	/* Subcategoriile intra ca un al doilea drawer peste meniul principal. */
	.lg-mobile-menu .lg-mega-panel__list > li,
	.lg-mobile-menu .lg-mega-panel__sub-menu > li {
		position: relative;
	}

	.lg-mobile-menu .menu-item-has-children > .lg-mega-panel__sub-menu,
	.lg-mobile-menu .menu-item-has-children:hover > .lg-mega-panel__sub-menu {
		position: fixed;
		inset: 0;
		z-index: 6;
		display: flex;
		flex-direction: column;
		width: 100%;
		min-width: 0;
		height: 100%;
		padding: 0 0 max( 16px, env( safe-area-inset-bottom ) );
		overflow-y: auto;
		border: 0;
		border-radius: 0;
		background: #fff;
		box-shadow: 10px 0 28px rgba( 11, 22, 40, .16 );
		transform: translate3d( -100%, 0, 0 );
		visibility: hidden;
		opacity: 0;
		transition: transform .28s cubic-bezier( .32, .72, 0, 1 ), visibility 0s linear .28s, opacity .2s ease;
	}

	.lg-mobile-menu .menu-item-has-children.is-open > .lg-mega-panel__sub-menu {
		transform: translate3d( 0, 0, 0 );
		visibility: visible;
		opacity: 1;
		transition: transform .28s cubic-bezier( .32, .72, 0, 1 ), visibility 0s linear 0s, opacity .2s ease;
	}

	.lg-mobile-menu .lg-mobile-submenu__head,
	.lg-mobile-menu .lg-mobile-submenu__all {
		display: block;
	}

	.lg-mobile-menu .lg-mobile-submenu__head {
		flex: 0 0 auto;
		border-bottom: 1px solid var(--lg-border);
	}

	.lg-mobile-submenu__back {
		display: flex;
		align-items: center;
		gap: 13px;
		width: 100%;
		min-height: 72px;
		padding: 12px 18px;
		border: 0;
		background: #fff;
		color: var(--lg-navy);
		text-align: left;
	}

	.lg-mobile-submenu__back .lg-icon {
		font-size: 20px;
		color: var(--lg-orange);
	}

	.lg-mobile-submenu__back small,
	.lg-mobile-submenu__back strong {
		display: block;
	}

	.lg-mobile-submenu__back small {
		margin-bottom: 2px;
		font-size: 11px;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: .06em;
		color: var(--lg-gray);
	}

	.lg-mobile-submenu__back strong {
		font-family: var(--lg-font-heading);
		font-size: 18px;
	}

	.lg-mobile-menu .lg-mobile-submenu__all > a,
	.lg-mobile-menu .lg-mega-panel__sub-menu > li > a {
		display: flex;
		align-items: center;
		min-height: 54px;
		padding: 10px 18px;
		border-bottom: 1px solid var(--lg-border);
		font-size: 14px;
		white-space: normal;
	}

	.lg-mobile-menu .lg-mega-panel__sub-menu > li.menu-item-has-children > a {
		padding-right: 48px;
	}

	.lg-mobile-menu .lg-mobile-submenu__all > a {
		font-weight: 700;
		color: var(--lg-orange);
		background: #fff8f3;
	}

	.lg-mobile-menu .lg-mega-panel__row,
	.lg-mobile-menu .lg-mega-panel__row--menu-only,
	.lg-mobile-menu .lg-mega-panel__categories,
	.lg-mobile-menu .lg-mega-panel__list {
		width: 100%;
		height: auto;
		max-height: none;
	}

	.lg-mobile-menu .lg-mega-panel__categories {
		overflow: visible;
		box-shadow: none;
	}

	.lg-mobile-menu .lg-mega-panel__list > li {
		flex: none;
	}

	.lg-mobile-menu .lg-mega-panel__list > li > a {
		min-height: 58px;
		padding: 7px 48px 7px 14px;
	}

	.lg-mobile-menu .lg-mega-panel__cat-arrow {
		display: none;
	}
}

@media (max-width: 620px) {
	.lg-search-drawer__inner {
		padding-right: var(--lg-page-gutter);
		padding-left: var(--lg-page-gutter);
	}

	.lg-search__group-title,
	.lg-search__item {
		padding-right: var(--lg-page-gutter);
		padding-left: var(--lg-page-gutter);
	}

	.lg-search__item {
		align-items: flex-start;
	}

	.lg-search__item-img {
		width: 52px;
		height: 52px;
	}

	.lg-search__item-content {
		display: grid;
		gap: 4px;
	}

	.lg-search__item-name {
		display: -webkit-box;
		overflow: hidden;
		line-height: 1.35;
		white-space: normal;
		text-overflow: clip;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	.lg-search__item-price {
		display: flex;
		align-items: baseline;
		gap: 6px;
		flex-wrap: wrap;
	}

	.lg-midbar__inner {
		padding-top: 12px;
		padding-bottom: 12px;
	}

	.lg-logo img {
		max-width: min( 220px, 72vw );
		height: auto;
		max-height: 48px;
	}

	.lg-cart-summary {
		display: none;
	}

	.lg-cart {
		width: 44px;
		justify-content: center;
		padding: 8px;
		border-radius: 10px;
	}

	.lg-menu-trigger {
		justify-content: flex-start;
	}
}
