/* LillyShop chrome — pink header (#f44272), white icons/logo */
:root {
	--lilly-header-bg: #f44272;
	--lilly-header-fg: #ffffff;
	/* Sync with theme cart button: --add-to-cart-btn-bg */
	--lilly-accent: var(--add-to-cart-btn-bg, #f44272);
	--lilly-accent-hover: #d6365f;
	--lilly-accent-soft: #fde8ef;
	--lilly-accent-2: #c9a227;
	--lilly-surface: #ffffff;
	--lilly-muted: #f3f3f3;
	--lilly-border: #e6e6e6;
	--lilly-text: #2a2a2a;
	--lilly-text-muted: #6b6b6b;
	--lilly-z-header: 1040;
	--lilly-z-overlay: 1050;
	--lilly-z-drawer: 1060;
	--lilly-z-catalog: 1070;
	--lilly-header-h: 64px;
}

body.lilly-chrome-active > header.uni-header-legacy:not(.lilly-chrome),
body.lilly-chrome-active .fly-menu,
body.lilly-chrome-active .fly-block {
	display: none !important;
}

body.lilly-chrome-active,
body:has(> header.lilly-chrome) {
	padding-top: 0;
	/* Uni sticky offset (--header-position-top: -34px) must not shift Lilly chrome */
	--header-position-top: 0px;
	--header-position: relative;
}

/* Defense: never hide the Lilly chrome header even if uni-header-legacy was mis-applied */
body.lilly-chrome-active > header.lilly-chrome,
body.lilly-chrome-active > header.lilly-chrome.uni-header-legacy,
header.lilly-chrome {
	display: block !important;
	visibility: visible !important;
	position: relative !important;
	top: 0 !important;
	left: auto !important;
	right: auto !important;
	transform: none !important;
	z-index: var(--lilly-z-header);
}

/* Block layout so __inner can be width:100% and search flex:1 expands */
body.lilly-chrome-active > header.lilly-chrome .lilly-header {
	display: block !important;
	visibility: visible !important;
	width: 100%;
}

.lilly-header {
	position: relative;
	top: 0;
	z-index: var(--lilly-z-header);
	background: var(--lilly-header-bg);
	color: var(--lilly-header-fg);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
	width: 100%;
}

.lilly-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	max-width: none;
	margin: 0 auto;
	padding: 10px 15px;
	min-height: var(--lilly-header-h);
	box-sizing: border-box;
	position: relative;
}

/* Same horizontal rhythm as Bootstrap .container (+ Uni XL) on all pages */
@media (min-width: 768px) {
	.lilly-header__inner,
	.lilly-cart-bar__inner {
		width: 750px;
	}
}

@media (min-width: 992px) {
	.lilly-header__inner,
	.lilly-cart-bar__inner {
		width: 970px;
	}
}

@media (min-width: 1200px) {
	.lilly-header__inner,
	.lilly-cart-bar__inner {
		width: 1170px;
	}
}

@media (min-width: 1345px) {
	.lilly-header__inner,
	.lilly-cart-bar__inner {
		width: 1340px;
	}
}

@media (min-width: 1600px) {
	.lilly-header__inner,
	.lilly-cart-bar__inner {
		width: 1500px;
	}
}

.lilly-header__left {
	display: flex;
	align-items: center;
	gap: 4px;
	flex: 0 0 auto;
	z-index: 2;
	min-width: 0;
}

.lilly-header__burger {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.lilly-header__burger:hover {
	background: rgba(255, 255, 255, 0.15);
}

.lilly-header__catalog {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid var(--lilly-header-fg);
	border-radius: 8px;
	background: transparent;
	color: var(--lilly-header-fg);
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
}

.lilly-header__catalog:hover {
	background: rgba(255, 255, 255, 0.15);
	color: var(--lilly-header-fg);
	border-color: var(--lilly-header-fg);
}

.lilly-header__catalog-icon {
	display: block;
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	background:
		linear-gradient(currentColor, currentColor) 0 0 / 6px 6px no-repeat,
		linear-gradient(currentColor, currentColor) 10px 0 / 6px 6px no-repeat,
		linear-gradient(currentColor, currentColor) 0 10px / 6px 6px no-repeat,
		linear-gradient(currentColor, currentColor) 10px 10px / 6px 6px no-repeat;
}

.lilly-header__catalog-text {
	display: inline;
}

.lilly-header__burger-lines,
.lilly-header__burger-lines::before,
.lilly-header__burger-lines::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
	position: relative;
}

.lilly-header__burger-lines::before,
.lilly-header__burger-lines::after {
	content: '';
	position: absolute;
	left: 0;
}

.lilly-header__burger-lines::before { top: -6px; }
.lilly-header__burger-lines::after { top: 6px; }

.lilly-header__search-toggle {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.lilly-header__search-toggle:hover {
	background: rgba(255, 255, 255, 0.15);
}

.lilly-header__logo {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	max-width: min(180px, 42vw);
	pointer-events: auto;
}

.lilly-header__logo-img {
	display: block;
	max-height: 40px;
	width: auto;
	margin: 0 auto;
}

.lilly-header__logo-text {
	display: block;
	color: var(--lilly-header-fg);
	font-weight: 700;
	font-size: 18px;
	text-decoration: none;
	letter-spacing: 0.02em;
	text-align: center;
	white-space: nowrap;
}

/* Expand search panel — covers full header inner */
.lilly-header__search-panel {
	display: none;
	position: absolute;
	inset: 0;
	z-index: 5;
	align-items: center;
	gap: 8px;
	padding: 8px 15px;
	background: var(--lilly-header-bg);
	box-sizing: border-box;
}

.lilly-header__search-panel[hidden] {
	display: none !important;
}

.lilly-header.is-search-open .lilly-header__search-panel {
	display: flex;
}

.lilly-header.is-search-open .lilly-header__search-panel[hidden] {
	display: flex !important;
}

.lilly-header.is-search-open .lilly-header__left,
.lilly-header.is-search-open .lilly-header__logo,
.lilly-header.is-search-open .lilly-header__actions {
	visibility: hidden;
	pointer-events: none;
}

.lilly-header__search {
	flex: 1 1 auto;
	min-width: 0;
	position: relative;
}

.lilly-header__search-close {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: inherit;
	cursor: pointer;
	font-size: 28px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.lilly-header__search-close:hover {
	background: rgba(255, 255, 255, 0.15);
}

.lilly-header__search .header-search {
	margin: 0;
}

.lilly-header__search .header-search__form {
	display: flex;
	align-items: stretch;
	background: #fff;
	border: 1px solid var(--lilly-border);
	border-radius: 8px;
	overflow: hidden;
	min-height: 42px;
}

.lilly-header__search .header-search__category {
	display: none !important;
}

.lilly-header__search .header-search__input {
	border: 0 !important;
	box-shadow: none !important;
	height: 42px !important;
	flex: 1 1 auto;
	min-width: 0;
	padding-left: 12px;
	color: var(--lilly-text);
}

.lilly-header__search .header-search__btn,
.lilly-header__search .search-btn {
	border: 0 !important;
	border-radius: 0 !important;
	background: var(--lilly-accent) !important;
	color: #fff !important;
	min-width: 96px;
	height: 42px !important;
	font-weight: 600;
	box-shadow: none !important;
}

.lilly-header__search .header-search__btn:hover,
.lilly-header__search .search-btn:hover {
	background: var(--lilly-accent-hover) !important;
	color: #fff !important;
}

.lilly-header__search .header-search__btn i {
	display: none;
}

.lilly-header__search .header-search__btn::after {
	content: attr(title);
}

.lilly-header__search-label {
	display: none;
}

.lilly-header__search .live-search {
	left: 0;
	right: 0;
	top: calc(100% + 4px);
	z-index: 30;
}

.lilly-header.is-search-open .lilly-header__search .live-search {
	z-index: 40;
}

.lilly-header__actions {
	display: flex;
	align-items: center;
	gap: 2px;
	flex: 0 0 auto;
	z-index: 2;
	margin-left: auto;
}

.lilly-header__lang {
	margin-right: 2px;
	align-self: center;
	display: inline-flex;
	align-items: center;
}

.lilly-header__lang .top-menu__language,
.lilly-header__lang .btn-group {
	display: inline-flex;
	align-items: center;
}

.lilly-header__lang .btn,
.lilly-header__lang button,
.lilly-header__lang .top-menu__btn {
	background: transparent;
	color: var(--lilly-header-fg);
	border: 0;
	box-shadow: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 40px;
	height: 40px;
	padding: 0 6px;
	border-radius: 8px;
}

.lilly-header__lang .top-menu__btn:hover {
	background: rgba(255, 255, 255, 0.15);
}

.lilly-header__lang .top-menu__btn .fa-globe {
	display: block;
	width: 24px;
	height: 24px;
	font-size: 0 !important;
	line-height: 0;
	color: inherit;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 3a14.5 14.5 0 0 1 0 18'/%3E%3Cpath d='M12 3a14.5 14.5 0 0 0 0 18'/%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' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 3a14.5 14.5 0 0 1 0 18'/%3E%3Cpath d='M12 3a14.5 14.5 0 0 0 0 18'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lilly-header__lang .top-menu__btn .fa-globe::before {
	content: none !important;
}

.lilly-header__action {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-width: 40px;
	padding: 0;
	color: var(--lilly-header-fg);
	text-decoration: none;
	border-radius: 8px;
}

.lilly-header__action:hover {
	background: rgba(255, 255, 255, 0.15);
	color: var(--lilly-header-fg);
}

.lilly-header__action .lilly-icon {
	display: block;
	flex: 0 0 auto;
}

.lilly-header__action-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.lilly-header__cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-width: 40px;
	padding: 0;
	border-radius: 8px;
	color: var(--lilly-header-fg);
}

.lilly-header__cart:hover {
	background: rgba(255, 255, 255, 0.15);
	color: var(--lilly-header-fg);
}

.lilly-header__cart .header-cart {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lilly-header__cart .header-cart__btn {
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 0;
	color: inherit;
	padding: 0;
}

/* Outline shopping bag — matches account / wishlist stroke */
.lilly-header__cart .header-cart__icon {
	display: block;
	width: 24px;
	height: 24px;
	font-size: 0 !important;
	line-height: 0;
	color: var(--lilly-header-fg) !important;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 8.5h11l1.2 11.2a1.4 1.4 0 0 1-1.4 1.6H6.7a1.4 1.4 0 0 1-1.4-1.6L6.5 8.5z'/%3E%3Cpath d='M9.2 8.5V7.2a2.8 2.8 0 0 1 5.6 0v1.3'/%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' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 8.5h11l1.2 11.2a1.4 1.4 0 0 1-1.4 1.6H6.7a1.4 1.4 0 0 1-1.4-1.6L6.5 8.5z'/%3E%3Cpath d='M9.2 8.5V7.2a2.8 2.8 0 0 1 5.6 0v1.3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lilly-header__cart .header-cart__icon::before {
	content: none !important;
}

.lilly-header__cart:hover .header-cart__icon {
	color: var(--lilly-header-fg) !important;
}

.lilly-header__cart .header-block__item-caption {
	display: none !important;
}

.lilly-header__cart .header-cart__dropdown {
	right: 0;
	left: auto;
	top: calc(100% + 8px);
}

.lilly-header .lilly-badge,
.lilly-header__cart .header-cart__total-items {
	background: #fff;
	color: var(--lilly-accent);
}

.lilly-badge {
	position: absolute;
	top: 2px;
	right: 2px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--lilly-accent);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
	z-index: 1;
}

.lilly-header__cart .header-cart__total-items {
	position: absolute;
	top: -4px;
	right: -8px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
}

/* Cart status bar */
.lilly-cart-bar {
	background: #fff;
	border-bottom: 1px solid var(--lilly-border);
}

.lilly-cart-bar__inner {
	width: 100%;
	max-width: none;
	margin: 0 auto;
	padding: 8px 15px;
	display: flex;
	align-items: center;
	gap: 16px;
	box-sizing: border-box;
}

.lilly-cart-bar__info {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1 1 auto;
	min-width: 0;
	color: var(--lilly-text);
	font-size: 14px;
	text-decoration: none;
}

.lilly-cart-bar__info:hover {
	color: var(--lilly-accent);
}

.lilly-cart-bar__info:hover .lilly-cart-bar__text {
	text-decoration: underline;
}

.lilly-cart-bar__icon {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--lilly-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
	flex: 0 0 auto;
}

.lilly-cart-bar__thumbs {
	display: flex;
	gap: 8px;
	flex: 0 1 auto;
	overflow: hidden;
}

.lilly-cart-bar__thumb img {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid var(--lilly-border);
	background: #fff;
}

.lilly-cart-bar__cta {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding: 0 12px;
	border-radius: 6px;
	border: 1px solid #2a2a2a;
	background: #fff;
	color: #2a2a2a !important;
	font-weight: 600;
	font-size: 13px;
	text-decoration: none !important;
	white-space: nowrap;
	box-shadow: none !important;
}

.lilly-cart-bar__cta:hover {
	background: #f7f7f7;
	color: #000 !important;
	border-color: #000;
}

/* Overlay + drawer */
.lilly-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: var(--lilly-z-overlay);
}

.lilly-overlay[hidden] {
	display: none !important;
}

.lilly-drawer {
	position: fixed;
	top: 0;
	left: 0;
	width: min(360px, 92vw);
	height: 100%;
	background: #f3f3f3;
	z-index: var(--lilly-z-drawer);
	display: flex;
	flex-direction: column;
	transform: translateX(-105%);
	transition: transform 0.22s ease;
	box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
}

.lilly-drawer[hidden] {
	display: none !important;
}

.lilly-drawer.is-open {
	transform: translateX(0);
}

.lilly-drawer__head {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 12px 48px 10px;
	background: #fff;
	border-bottom: 1px solid #e6e6e6;
	color: var(--lilly-text);
}

.lilly-drawer__phones {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	flex: 0 1 auto;
	min-width: 0;
	max-width: 100%;
}

.lilly-drawer__phone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: var(--lilly-text);
	text-decoration: none;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.25;
	max-width: 100%;
}

.lilly-drawer__phone:hover {
	color: var(--lilly-accent);
}

.lilly-drawer__phone-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
	color: var(--lilly-accent);
}

.lilly-drawer__phone-ico svg {
	width: 20px;
	height: 20px;
	display: block;
}

.lilly-drawer__phone-text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lilly-drawer__brand {
	color: var(--lilly-text);
	font-weight: 700;
	text-decoration: none;
	font-size: 18px;
	letter-spacing: 0.01em;
	text-align: center;
}

.lilly-drawer__close,
.lilly-catalog__close {
	border: 0;
	background: transparent;
	color: var(--lilly-text);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	width: 40px;
	height: 40px;
	flex: 0 0 auto;
	border-radius: 8px;
}

.lilly-drawer__close {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
}

.lilly-drawer__close:hover {
	background: rgba(0, 0, 0, 0.05);
	color: var(--lilly-accent);
}

.lilly-catalog__close {
	color: inherit;
	position: static;
	transform: none;
}

.lilly-drawer__body {
	overflow: auto;
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: #f3f3f3;
	-webkit-overflow-scrolling: touch;
}

.lilly-drawer__catalog-btn {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	border: 0;
	border-radius: 10px;
	background: var(--lilly-accent);
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
}

.lilly-drawer__catalog-btn:hover {
	background: var(--lilly-accent-hover);
}

.lilly-drawer__catalog-icon {
	width: 18px;
	height: 18px;
	background:
		linear-gradient(var(--lilly-surface), var(--lilly-surface)) 0 0 / 7px 7px no-repeat,
		linear-gradient(var(--lilly-surface), var(--lilly-surface)) 11px 0 / 7px 7px no-repeat,
		linear-gradient(var(--lilly-surface), var(--lilly-surface)) 0 11px / 7px 7px no-repeat,
		linear-gradient(var(--lilly-surface), var(--lilly-surface)) 11px 11px / 7px 7px no-repeat;
}

.lilly-drawer__card {
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	overflow: hidden;
}

.lilly-drawer__card--auth {
	padding: 14px;
}

.lilly-drawer__card--auth .lilly-drawer__link--user {
	padding: 0;
	border-bottom: 0;
}

.lilly-drawer__auth-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--lilly-accent);
	border-radius: 8px;
	background: #fff;
	color: var(--lilly-accent);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	text-align: center;
}

.lilly-drawer__auth-btn:hover {
	background: var(--lilly-accent-soft);
	color: var(--lilly-accent-hover);
	border-color: var(--lilly-accent-hover);
}

.lilly-drawer__auth-register {
	display: block;
	margin-top: 10px;
	text-align: center;
	font-size: 13px;
	color: var(--lilly-text-muted);
	text-decoration: none;
}

.lilly-drawer__auth-register:hover {
	color: var(--lilly-accent);
}

.lilly-drawer__link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	color: var(--lilly-text);
	text-decoration: none;
	border-bottom: 1px solid #f0f0f0;
	position: relative;
	font-size: 15px;
	font-weight: 500;
}

.lilly-drawer__link:last-child {
	border-bottom: 0;
}

.lilly-drawer__link:hover {
	color: var(--lilly-accent);
	background: #fafafa;
}

.lilly-drawer__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	flex: 0 0 auto;
	color: var(--lilly-accent);
}

.lilly-drawer__ico svg {
	width: 24px;
	height: 24px;
	display: block;
}

.lilly-drawer__link span:not(.lilly-drawer__ico):not(.lilly-badge) {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
	min-width: 0;
}

.lilly-drawer__link small {
	color: var(--lilly-text-muted);
	font-size: 12px;
	font-weight: 400;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lilly-drawer__link .lilly-badge {
	position: static;
	margin-left: auto;
}

/* Mega catalog — MUST honour [hidden]: bare display:flex overrides UA [hidden]{display:none} */
.lilly-catalog {
	position: fixed;
	top: var(--lilly-header-h);
	right: 0;
	bottom: 0;
	left: 0;
	z-index: var(--lilly-z-catalog);
	display: none;
	align-items: stretch;
	justify-content: center;
	padding: 16px 24px 24px;
	background: rgba(0, 0, 0, 0.4);
}

.lilly-catalog[hidden] {
	display: none !important;
}

.lilly-catalog:not([hidden]) {
	display: flex;
}

.lilly-catalog__dialog {
	width: min(1180px, 100%);
	max-height: calc(100vh - var(--lilly-header-h) - 40px);
	background: #fff;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.lilly-catalog__top {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-bottom: 1px solid var(--lilly-border);
}

.lilly-catalog__title {
	flex: 1 1 auto;
	font-weight: 700;
	font-size: 18px;
	color: var(--lilly-text);
}

.lilly-catalog__back {
	border: 0;
	background: transparent;
	color: var(--lilly-accent);
	font-weight: 600;
	cursor: pointer;
	padding: 8px 4px;
}

.lilly-catalog__back[hidden] {
	display: none !important;
}

.lilly-catalog__layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	min-height: 0;
	flex: 1 1 auto;
}

.lilly-catalog__sidebar {
	border-right: 1px solid var(--lilly-border);
	overflow: auto;
	background: #fafafa;
}

.lilly-catalog__l1 {
	list-style: none;
	margin: 0;
	padding: 8px 0;
}

.lilly-catalog__l1-btn {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: pointer;
	color: var(--lilly-text);
	font-size: 14px;
}

.lilly-catalog__l1-btn img {
	width: 28px;
	height: 28px;
	object-fit: contain;
	border-radius: 4px;
	flex: 0 0 auto;
}

.lilly-catalog__l1-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ccc;
	flex: 0 0 auto;
}

.lilly-catalog__l1-btn.is-active,
.lilly-catalog__l1-btn:hover {
	background: var(--lilly-accent-soft);
	color: var(--lilly-accent-hover);
}

.lilly-catalog__pane {
	overflow: auto;
	padding: 16px 20px 24px;
	-webkit-overflow-scrolling: touch;
}

.lilly-catalog__pane-placeholder {
	color: var(--lilly-text-muted);
	padding: 24px 0;
}

.lilly-catalog-pane__title {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 20px;
	font-weight: 700;
	color: var(--lilly-text);
	text-decoration: none;
	margin-bottom: 14px;
}

.lilly-catalog-pane__title::after {
	content: '›';
	font-weight: 400;
	color: var(--lilly-text-muted);
}

.lilly-catalog-pane__popular {
	background: var(--lilly-muted);
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 16px;
}

.lilly-catalog-pane__popular-title {
	font-size: 12px;
	font-weight: 700;
	color: var(--lilly-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 8px;
}

.lilly-catalog-pane__popular-list {
	list-style: none;
	margin: 0;
	padding: 0;
	columns: 2;
	column-gap: 24px;
}

.lilly-catalog-pane__popular-list a {
	display: inline-block;
	padding: 4px 0;
	color: var(--lilly-text);
	text-decoration: none;
	font-size: 14px;
}

.lilly-catalog-pane__popular-list a:hover {
	color: var(--lilly-accent);
}

.lilly-catalog-pane__cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 20px;
}

.lilly-catalog-pane__card {
	border: 1px solid var(--lilly-border);
	border-radius: 10px;
	padding: 12px 14px;
	background: #fff;
}

.lilly-catalog-pane__card-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 700;
	color: var(--lilly-text);
	text-decoration: none;
	margin-bottom: 8px;
}

.lilly-catalog-pane__card-title::after {
	content: '›';
	color: var(--lilly-text-muted);
	font-weight: 400;
}

.lilly-catalog-pane__l3 {
	list-style: none;
	margin: 0;
	padding: 0;
	columns: 2;
	column-gap: 16px;
}

.lilly-catalog-pane__l3 a {
	display: inline-block;
	padding: 3px 0;
	color: var(--lilly-text-muted);
	text-decoration: none;
	font-size: 13px;
}

.lilly-catalog-pane__l3 a:hover {
	color: var(--lilly-accent);
}

body.lilly-scroll-lock {
	overflow: hidden;
	touch-action: none;
}

@media (max-width: 991px) {
	.lilly-header__inner {
		gap: 8px;
		padding: 8px 15px;
		min-height: 56px;
	}

	.lilly-header__logo {
		max-width: 96px;
	}

	.lilly-header__catalog {
		padding: 0 10px;
		font-size: 13px;
		gap: 6px;
	}

	.lilly-header__actions {
		gap: 0;
		align-items: center;
	}

	.lilly-header__lang {
		display: inline-flex;
		margin-right: 0;
	}

	.lilly-header__lang .top-menu__btn {
		min-width: 36px;
		width: 36px;
		height: 36px;
		padding: 0;
	}

	.lilly-header__lang .top-menu__btn-text {
		display: none !important;
	}

	.lilly-header__action,
	.lilly-header__cart {
		display: inline-flex !important;
		width: 40px;
		height: 40px;
		min-width: 40px;
		padding: 0;
	}

	.lilly-header__action .lilly-icon,
	.lilly-header__cart .header-cart__icon,
	.lilly-header__cart .header-cart__btn {
		width: 22px;
		height: 22px;
	}

	.lilly-header__lang .top-menu__btn .fa-globe {
		width: 22px;
		height: 22px;
	}

	.lilly-header__action-text,
	.lilly-header__cart .header-block__item-caption {
		display: none !important;
	}

	.lilly-header__search .header-search__btn,
	.lilly-header__search .search-btn {
		min-width: 42px;
	}

	.lilly-header__search .header-search__btn::after {
		content: '';
	}

	.lilly-header__search .header-search__btn i {
		display: inline-block;
	}

	.lilly-cart-bar__thumbs {
		display: none;
	}

	.lilly-cart-bar__inner {
		flex-wrap: wrap;
	}

	.lilly-cart-bar__cta {
		width: auto;
		margin-left: auto;
	}

	.lilly-catalog {
		padding: 0;
		top: var(--lilly-header-h);
	}

	.lilly-catalog__dialog {
		width: 100%;
		max-height: calc(100vh - var(--lilly-header-h));
		border-radius: 0;
	}

	.lilly-catalog__layout {
		grid-template-columns: 1fr;
	}

	.lilly-catalog.is-drill .lilly-catalog__sidebar {
		display: none;
	}

	.lilly-catalog:not(.is-drill) .lilly-catalog__pane {
		display: none;
	}

	.lilly-catalog-pane__popular-list,
	.lilly-catalog-pane__cards,
	.lilly-catalog-pane__l3 {
		columns: 1;
		grid-template-columns: 1fr;
	}
}

@media (max-width: 360px) {
	.lilly-drawer__close {
		width: 32px;
		height: 32px;
		font-size: 24px;
	}

	.lilly-drawer__brand {
		font-size: 16px;
	}
}

@media (max-width: 575px) {
	.lilly-header__inner {
		flex-wrap: nowrap;
	}

	.lilly-header__search-panel {
		padding: 8px 15px;
	}

	.lilly-header__catalog {
		min-width: 36px;
		width: 36px;
		height: 36px;
		padding: 0;
	}

	.lilly-header__catalog-text {
		display: none;
	}

	.lilly-header__action,
	.lilly-header__cart {
		width: 36px;
		height: 36px;
		min-width: 36px;
		padding: 0;
	}

	.lilly-header__burger,
	.lilly-header__search-toggle,
	.lilly-header__search-close {
		width: 36px;
		height: 36px;
	}

	.lilly-header__lang .top-menu__btn {
		min-width: 36px;
		width: 36px;
		height: 36px;
	}
}

@media (min-width: 992px) {
	.lilly-catalog__back {
		display: none !important;
	}
}
