/* Illata chrome — light header, dark icons (tokens from illata-tokens.css) */
:root {
	--illata-header-bg: #ffffff;
	--illata-header-fg: var(--illata-text, #252936);
	--illata-header-hover: rgba(37, 41, 54, 0.06);
	--illata-accent: #c74672;
	--illata-accent-hover: #a8385f;
	--illata-accent-soft: var(--illata-soft, #f8e8ee);
	--illata-accent-2: #c9a227;
	--illata-surface: #ffffff;
	/* Surface tint — never use as text color. Text muted is --illata-text-muted. */
	--illata-muted-bg: #f3f3f3;
	--illata-muted: var(--illata-text-muted, #6b7280);
	--illata-border: #e8e4e6;
	--illata-text: #252936;
	--illata-text-muted: #6b7280;
	--illata-z-header: 1040;
	--illata-z-overlay: 1050;
	--illata-z-drawer: 1060;
	--illata-z-catalog: 1070;
	--illata-header-h: 80px;
}

body.illata-chrome-active > header.uni-header-legacy:not(.illata-chrome),
body.illata-chrome-active .fly-menu,
body.illata-chrome-active .fly-block {
	display: none !important;
}

body.illata-chrome-active,
body:has(> header.illata-chrome) {
	padding-top: 0;
	/* Uni sticky offset (--header-position-top: -34px) must not shift Illata chrome */
	--header-position-top: 0px;
	--header-position: relative;
}

/* Defense: never hide the Illata chrome header even if uni-header-legacy was mis-applied */
body.illata-chrome-active > header.illata-chrome,
body.illata-chrome-active > header.illata-chrome.uni-header-legacy,
header.illata-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(--illata-z-header);
}

/* Block layout so __inner can be width:100% and search flex:1 expands */
body.illata-chrome-active > header.illata-chrome .illata-header {
	display: block !important;
	visibility: visible !important;
	width: 100%;
}

.illata-header {
	position: relative;
	top: 0;
	z-index: var(--illata-z-header);
	background: var(--illata-header-bg);
	color: var(--illata-header-fg);
	border-bottom: 1px solid var(--illata-border, #e8e4e6);
	box-shadow: none;
	width: 100%;
}

.illata-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	max-width: none;
	margin: 0 auto;
	padding: 14px 15px;
	min-height: var(--illata-header-h);
	box-sizing: border-box;
	position: relative;
}

/* Same horizontal rhythm as Bootstrap .container (+ Uni XL) on all pages */
@media (min-width: 768px) {
	.illata-header__inner {
		width: 750px;
	}
}

@media (min-width: 992px) {
	.illata-header__inner {
		width: 970px;
	}
}

@media (min-width: 1200px) {
	.illata-header__inner {
		width: 1170px;
	}
}

@media (min-width: 1345px) {
	.illata-header__inner {
		width: 1340px;
	}
}

@media (min-width: 1600px) {
	.illata-header__inner {
		width: 1500px;
	}
}

.illata-header__left {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	z-index: 2;
	min-width: 0;
}

.illata-header__burger {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.illata-header__burger:hover {
	background: var(--illata-header-hover, rgba(37, 41, 54, 0.06));
}

.illata-header__catalog {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid rgba(37, 41, 54, 0.18);
	border-radius: 10px;
	background: var(--illata-soft, #f8e8ee);
	color: var(--illata-accent, #c74672);
	font-family: var(--illata-font-display, inherit);
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
}

.illata-header__catalog:hover {
	background: var(--illata-accent, #c74672);
	color: #fff;
	border-color: var(--illata-accent, #c74672);
}

.illata-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;
}

.illata-header__catalog-text {
	display: inline;
}

.illata-header__burger-lines,
.illata-header__burger-lines::before,
.illata-header__burger-lines::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
	position: relative;
}

.illata-header__burger-lines::before,
.illata-header__burger-lines::after {
	content: '';
	position: absolute;
	left: 0;
}

.illata-header__burger-lines::before { top: -6px; }
.illata-header__burger-lines::after { top: 6px; }

.illata-header__search-toggle {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.illata-header__search-toggle:hover {
	background: var(--illata-header-hover, rgba(37, 41, 54, 0.06));
}

/* Compact search (replaces logo while scrolled on mobile) — hidden by default */
.illata-header__sticky-search {
	display: none;
	align-items: center;
	gap: 8px;
	flex: 1 1 auto;
	min-width: 0;
	min-height: 40px;
	margin: 0 8px;
	padding: 0 12px;
	border: 1px solid var(--illata-border, #e8e4e6);
	border-radius: 10px;
	background: #f7f5f6;
	color: var(--illata-text-muted, #6b7280);
	font-family: var(--illata-font-body, 'Inter', sans-serif);
	font-size: 14px;
	font-weight: 500;
	text-align: left;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}
.illata-header__sticky-search .illata-icon {
	flex: 0 0 auto;
	color: var(--illata-accent, #c74672);
}
.illata-header__sticky-search-text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.illata-header__sticky-search:hover,
.illata-header__sticky-search:focus {
	border-color: var(--illata-accent, #c74672);
	outline: none;
	color: var(--illata-text, #252936);
}

.illata-header__logo {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	max-width: min(260px, 56vw);
	pointer-events: auto;
}

.illata-header__logo-img {
	display: block;
	max-height: 64px;
	width: auto;
	margin: 0 auto;
}

.illata-header__logo-text {
	display: block;
	color: var(--illata-header-fg);
	font-weight: 700;
	font-size: 18px;
	text-decoration: none;
	letter-spacing: 0.02em;
	text-align: center;
	white-space: nowrap;
}

/* Open search — same pill as sticky bar (burger | search | cart) */
.illata-header__search-panel {
	display: none;
	position: relative;
	z-index: 5;
	flex: 1 1 auto;
	align-items: center;
	gap: 0;
	min-width: 0;
	margin: 0 8px;
	padding: 0;
	background: transparent;
	box-sizing: border-box;
}

.illata-header__search-panel[hidden] {
	display: none !important;
}

.illata-header.is-search-open .illata-header__search-panel {
	display: flex;
}

.illata-header.is-search-open .illata-header__search-panel[hidden] {
	display: flex !important;
}

.illata-header.is-search-open .illata-header__logo,
.illata-header.is-search-open .illata-header__sticky-search,
.illata-header.is-search-open .illata-header__search-toggle,
.illata-header.is-search-open .illata-header__catalog {
	display: none !important;
}

.illata-header.is-search-open .illata-header__inner {
	justify-content: flex-start;
}

.illata-header.is-search-open .illata-header__left,
.illata-header.is-search-open .illata-header__actions {
	flex: 0 0 auto;
	visibility: visible;
	pointer-events: auto;
}

.illata-header.is-search-open .illata-header__actions {
	margin-left: 0;
}

.illata-header__search {
	flex: 1 1 auto;
	min-width: 0;
	position: relative;
}

.illata-header__search-close {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	margin-left: 4px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--illata-header-fg, #252936);
	cursor: pointer;
	font-size: 26px;
	line-height: 1;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.illata-header.is-search-open .illata-header__search-close {
	display: inline-flex;
}

.illata-header__search-close:hover {
	background: var(--illata-header-hover, rgba(37, 41, 54, 0.06));
}

.illata-header__search .header-search {
	margin: 0;
}

.illata-header__search .header-search__form {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #f7f5f6;
	border: 1px solid var(--illata-border, #e8e4e6);
	border-radius: 10px;
	overflow: hidden;
	min-height: 40px;
	padding: 0 4px 0 4px;
}

.illata-header__search .header-search__category {
	display: none !important;
}

.illata-header__search .header-search__input {
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	height: 40px !important;
	flex: 1 1 auto;
	min-width: 0;
	order: 2;
	padding: 0 8px 0 0 !important;
	color: var(--illata-text, #252936);
	font-family: var(--illata-font-body, 'Inter', sans-serif);
	font-size: 14px;
	font-weight: 500;
}

.illata-header__search .header-search__input::placeholder {
	color: var(--illata-text-muted, #6b7280);
	opacity: 1;
}

.illata-header__search .search-btn-clear {
	order: 3;
}

.illata-header__search .header-search__btn,
.illata-header__search .search-btn {
	order: 1;
	flex: 0 0 auto;
	border: 0 !important;
	border-radius: 8px !important;
	background: transparent !important;
	color: var(--illata-accent, #c74672) !important;
	min-width: 36px;
	width: 36px;
	height: 36px !important;
	padding: 0 !important;
	font-weight: 600;
	box-shadow: none !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
}

.illata-header__search .header-search__btn:hover,
.illata-header__search .search-btn:hover {
	background: rgba(199, 70, 114, 0.08) !important;
	color: var(--illata-accent, #c74672) !important;
}

.illata-header__search .header-search__btn i {
	display: inline-block !important;
	font-size: 16px;
	line-height: 1;
}

.illata-header__search .header-search__btn::after {
	content: none !important;
}

.illata-header__search-label {
	display: none;
}

.illata-header__search .live-search {
	left: 0;
	right: 0;
	top: calc(100% + 4px);
	z-index: 30;
}

.illata-header.is-search-open .illata-header__search .live-search {
	z-index: 40;
}

.illata-header__actions {
	display: flex;
	align-items: center;
	gap: 2px;
	flex: 0 0 auto;
	z-index: 2;
	margin-left: auto;
}

.illata-header__lang {
	margin-right: 2px;
	align-self: center;
	display: inline-flex;
	align-items: center;
}

.illata-header__lang .top-menu__language,
.illata-header__lang .btn-group {
	display: inline-flex;
	align-items: center;
}

.illata-header__lang .btn,
.illata-header__lang button,
.illata-header__lang .top-menu__btn {
	background: transparent;
	color: var(--illata-header-fg);
	border: 0;
	box-shadow: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 44px;
	height: 44px;
	min-height: 44px;
	padding: 0 6px;
	border-radius: 8px;
}

.illata-header__lang .top-menu__btn:hover {
	background: var(--illata-header-hover, rgba(37, 41, 54, 0.06));
}

.illata-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;
}

.illata-header__lang .top-menu__btn .fa-globe::before {
	content: none !important;
}

.illata-header__action {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	color: var(--illata-header-fg);
	text-decoration: none;
	border-radius: 8px;
}

.illata-header__action:hover {
	background: var(--illata-header-hover, rgba(37, 41, 54, 0.06));
	color: var(--illata-header-fg);
}

.illata-header__action .illata-icon {
	display: block;
	flex: 0 0 auto;
}

.illata-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;
}

.illata-header__cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	border-radius: 8px;
	color: var(--illata-header-fg);
}

.illata-header__cart:hover {
	background: var(--illata-header-hover, rgba(37, 41, 54, 0.06));
	color: var(--illata-header-fg);
}

.illata-header__cart .header-cart {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.illata-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 */
.illata-header__cart .header-cart__icon {
	display: block;
	width: 24px;
	height: 24px;
	font-size: 0 !important;
	line-height: 0;
	color: var(--illata-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;
}

.illata-header__cart .header-cart__icon::before {
	content: none !important;
}

.illata-header__cart:hover .header-cart__icon {
	color: var(--illata-header-fg) !important;
}

.illata-header__cart .header-block__item-caption {
	display: none !important;
}

.illata-header__cart .header-cart__dropdown {
	right: 0;
	left: auto;
	top: calc(100% + 8px);
}

.illata-header .illata-badge,
.illata-header__cart .header-cart__total-items {
	background: var(--illata-accent, #c74672);
	color: #fff;
}

.illata-badge {
	position: absolute;
	top: 2px;
	right: 2px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--illata-accent);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
	z-index: 1;
}

.illata-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 */
.illata-cart-bar {
	background: #fff;
	border-bottom: 1px solid var(--illata-border);
}

.illata-cart-bar__inner {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 8px 15px;
	display: flex;
	align-items: center;
	gap: 16px;
	box-sizing: border-box;
}

/* Match Bootstrap .container (+ Uni XL) — must come after the base rule above */
@media (min-width: 768px) {
	.illata-cart-bar__inner {
		max-width: 750px;
	}
}

@media (min-width: 992px) {
	.illata-cart-bar__inner {
		max-width: 970px;
	}
}

@media (min-width: 1200px) {
	.illata-cart-bar__inner {
		max-width: 1170px;
	}
}

@media (min-width: 1345px) {
	.illata-cart-bar__inner {
		max-width: 1340px;
	}
}

@media (min-width: 1600px) {
	.illata-cart-bar__inner {
		max-width: 1500px;
	}
}

.illata-cart-bar__info {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1 1 auto;
	min-width: 0;
	color: var(--illata-text);
	font-size: 14px;
	text-decoration: none;
}

.illata-cart-bar__text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.illata-cart-bar__info:hover {
	color: var(--illata-accent);
}

.illata-cart-bar__info:hover .illata-cart-bar__text {
	text-decoration: underline;
}

.illata-cart-bar__icon {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--illata-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;
}

.illata-cart-bar__thumbs {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 0 1 auto;
	min-width: 0;
	max-width: min(280px, 36vw);
	overflow: hidden;
}

.illata-cart-bar__thumb {
	flex: 0 0 auto;
}

.illata-cart-bar__thumb img {
	display: block;
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid var(--illata-border);
	background: #fff;
}

.illata-cart-bar__more {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 6px;
	border-radius: 6px;
	border: 1px solid var(--illata-border);
	background: var(--illata-accent-soft, #f8e8ee);
	color: var(--illata-accent, #c74672) !important;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none !important;
}

.illata-cart-bar__more:hover {
	background: var(--illata-accent, #c74672);
	border-color: var(--illata-accent, #c74672);
	color: #fff !important;
}

.illata-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;
}

.illata-cart-bar__cta:hover {
	background: #f7f7f7;
	color: #000 !important;
	border-color: #000;
}

/* Overlay + drawer */
.illata-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: var(--illata-z-overlay);
}

.illata-overlay[hidden] {
	display: none !important;
}

.illata-drawer {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: min(360px, 92vw);
	height: 100%;
	height: 100dvh;
	height: -webkit-fill-available;
	max-height: 100dvh;
	max-height: -webkit-fill-available;
	background: #f3f3f3;
	z-index: var(--illata-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);
	/* Whole panel scrolls — most reliable on iOS Safari */
	overflow-x: hidden;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	touch-action: pan-y;
}

.illata-drawer[hidden] {
	display: none !important;
}

.illata-drawer.is-open {
	transform: translateX(0);
}

.illata-drawer__head {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex: 0 0 auto;
	min-height: 52px;
	padding: 12px 48px 10px;
	background: #fff;
	border-bottom: 1px solid #e6e6e6;
	color: var(--illata-text);
}

.illata-drawer__phones {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	flex: 0 1 auto;
	min-width: 0;
	max-width: 100%;
}

.illata-drawer__phone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: var(--illata-text);
	text-decoration: none;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.25;
	max-width: 100%;
}

.illata-drawer__phone:hover {
	color: var(--illata-accent);
}

.illata-drawer__phone-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
	color: var(--illata-accent);
}

.illata-drawer__phone-ico svg {
	width: 20px;
	height: 20px;
	display: block;
}

.illata-drawer__phone-text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.illata-drawer__brand {
	color: var(--illata-text);
	font-weight: 700;
	text-decoration: none;
	font-size: 18px;
	letter-spacing: 0.01em;
	text-align: center;
}

.illata-drawer__close,
.illata-catalog__close {
	border: 0;
	background: transparent;
	color: var(--illata-text);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	width: 40px;
	height: 40px;
	flex: 0 0 auto;
	border-radius: 8px;
}

.illata-drawer__close {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
}

.illata-drawer__close:hover {
	background: rgba(0, 0, 0, 0.05);
	color: var(--illata-accent);
}

.illata-catalog__close {
	color: inherit;
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
}

.illata-catalog__close:hover {
	background: rgba(0, 0, 0, 0.05);
	color: var(--illata-accent);
}

.illata-drawer__body {
	flex: 0 0 auto;
	padding: 12px;
	padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: #f3f3f3;
	/* Parent .illata-drawer scrolls; do not trap touch here */
	overflow: visible;
}

.illata-drawer__catalog-btn {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	border: 0;
	border-radius: 10px;
	background: #111;
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
}

.illata-drawer__catalog-btn:hover {
	background: #000;
}

.illata-drawer__card--lang {
	padding: 12px 14px;
}

.illata-drawer__locale {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 14px 18px;
}

.illata-drawer__locale-group {
	flex: 0 1 auto;
	min-width: 0;
}

.illata-drawer__lang-label {
	margin: 0 0 8px;
	font-size: 0.82em;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--illata-text-muted, #6b7280);
}

.illata-lang {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.illata-currency .illata-lang__btn {
	min-width: 44px;
	font-size: 15px;
	letter-spacing: 0;
}

.illata-lang__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	min-height: 40px;
	padding: 8px 14px;
	border: 1px solid var(--illata-border, #e8e4e6);
	border-radius: 10px;
	background: #fff;
	color: var(--illata-text, #252936);
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	-webkit-tap-highlight-color: transparent;
}

button.illata-lang__btn:hover,
button.illata-lang__btn:focus {
	background: var(--illata-accent-soft, #f8e8ee);
	border-color: var(--illata-accent, #c74672);
	color: var(--illata-accent, #c74672);
	outline: none;
}

.illata-lang__btn.is-active {
	background: var(--illata-accent, #c74672);
	border-color: var(--illata-accent, #c74672);
	color: #fff;
	cursor: default;
	pointer-events: none;
}

.illata-drawer__catalog-icon {
	width: 18px;
	height: 18px;
	background:
		linear-gradient(var(--illata-surface), var(--illata-surface)) 0 0 / 7px 7px no-repeat,
		linear-gradient(var(--illata-surface), var(--illata-surface)) 11px 0 / 7px 7px no-repeat,
		linear-gradient(var(--illata-surface), var(--illata-surface)) 0 11px / 7px 7px no-repeat,
		linear-gradient(var(--illata-surface), var(--illata-surface)) 11px 11px / 7px 7px no-repeat;
}

.illata-drawer__card {
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	overflow: hidden;
}

.illata-drawer__card--auth {
	padding: 14px;
}

.illata-drawer__card--auth .illata-drawer__link--user {
	padding: 0;
	border-bottom: 0;
}

.illata-drawer__auth-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--illata-accent);
	border-radius: 8px;
	background: #fff;
	color: var(--illata-accent);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	text-align: center;
}

.illata-drawer__auth-btn:hover {
	background: var(--illata-accent-soft);
	color: var(--illata-accent-hover);
	border-color: var(--illata-accent-hover);
}

.illata-drawer__auth-register {
	display: block;
	margin-top: 10px;
	text-align: center;
	font-size: 13px;
	color: var(--illata-text-muted);
	text-decoration: none;
}

.illata-drawer__auth-register:hover {
	color: var(--illata-accent);
}

.illata-drawer__link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	color: var(--illata-text);
	text-decoration: none;
	border-bottom: 1px solid #f0f0f0;
	position: relative;
	font-size: 15px;
	font-weight: 500;
}

.illata-drawer__link:last-child {
	border-bottom: 0;
}

.illata-drawer__link:hover {
	color: var(--illata-accent);
	background: #fafafa;
}

.illata-drawer__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	flex: 0 0 auto;
	color: var(--illata-accent);
}

.illata-drawer__ico svg {
	width: 24px;
	height: 24px;
	display: block;
}

.illata-drawer__link span:not(.illata-drawer__ico):not(.illata-badge) {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
	min-width: 0;
}

.illata-drawer__link small {
	color: var(--illata-text-muted);
	font-size: 12px;
	font-weight: 400;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.illata-drawer__link .illata-badge {
	position: static;
	margin-left: auto;
}

/* Catalog: left slide-out tree (same on mobile + desktop) */
.illata-catalog {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: min(400px, 92vw);
	height: 100%;
	height: 100dvh;
	height: -webkit-fill-available;
	max-height: 100dvh;
	max-height: -webkit-fill-available;
	background: #fff;
	z-index: var(--illata-z-catalog);
	display: flex;
	flex-direction: column;
	transform: translateX(-105%);
	transition: transform 0.22s ease;
	box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
	overflow-x: hidden;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	touch-action: pan-y;
}

.illata-catalog[hidden] {
	display: none !important;
}

.illata-catalog.is-open {
	transform: translateX(0);
}

.illata-catalog__head {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-height: 52px;
	padding: 12px 48px 10px;
	background: #fff;
	border-bottom: 1px solid #e6e6e6;
}

.illata-catalog__title {
	font-weight: 700;
	font-size: 17px;
	color: var(--illata-text);
	text-align: center;
}

.illata-catalog__body {
	flex: 0 0 auto;
	overflow: visible;
	padding: 6px 0 calc(28px + env(safe-area-inset-bottom, 0px));
	background: #fff;
}

.illata-cat-tree,
.illata-cat-tree__children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.illata-cat-tree__children {
	padding-left: 0;
	background: #fafafa;
}

.illata-cat-tree__children .illata-cat-tree__children {
	background: #f5f5f5;
}

.illata-cat-tree__row {
	display: flex;
	align-items: stretch;
	min-height: 44px;
	border-bottom: 1px solid #f0f0f0;
}

.illata-cat-tree__toggle {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	padding: 11px 8px 11px 14px;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: pointer;
	color: var(--illata-text);
	font-size: 14px;
	line-height: 1.3;
}

.illata-cat-tree__toggle:hover,
.illata-cat-tree__toggle:focus {
	background: var(--illata-accent-soft, #ffe8f0);
	outline: none;
}

.illata-cat-tree__chevron {
	flex: 0 0 auto;
	width: 6px;
	height: 6px;
	border-right: 1.5px solid #999;
	border-bottom: 1.5px solid #999;
	transform: rotate(-45deg);
	transition: transform 0.18s ease;
	margin-left: 3px;
}

.illata-cat-tree__node.is-open > .illata-cat-tree__row .illata-cat-tree__chevron {
	transform: rotate(45deg);
}

.illata-cat-tree__node.is-current > .illata-cat-tree__row {
	background: var(--illata-accent-soft, #ffe8f0);
}

.illata-cat-tree__node.is-current > .illata-cat-tree__row .illata-cat-tree__name {
	color: var(--illata-accent, #c74672);
	font-weight: 700;
}

.illata-cat-tree__chevron.is-leaf {
	opacity: 0;
}

.illata-cat-tree__name {
	flex: 1 1 auto;
	min-width: 0;
	font-weight: 500;
}

.illata-cat-tree__children .illata-cat-tree__name {
	font-weight: 400;
	font-size: 13.5px;
}

.illata-cat-tree__goto {
	flex: 0 0 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #aaa;
	text-decoration: none !important;
	border-left: 1px solid #f0f0f0;
	transition: color 0.15s ease, background 0.15s ease;
}

.illata-cat-tree__goto svg {
	width: 14px;
	height: 14px;
}

.illata-cat-tree__goto:hover,
.illata-cat-tree__goto:focus {
	color: var(--illata-accent, #c74672);
	background: var(--illata-accent-soft, #ffe8f0);
	outline: none;
}

.illata-cat-tree__children .illata-cat-tree__toggle {
	padding-left: 28px;
}

.illata-cat-tree__children .illata-cat-tree__children .illata-cat-tree__toggle {
	padding-left: 42px;
}

/* Page lock while drawer open (position:fixed applied via JS for iOS) */
html.illata-scroll-lock,
body.illata-scroll-lock {
	overflow: hidden !important;
	overscroll-behavior: none;
	width: 100%;
}

@media (max-width: 991px) {
	.illata-header__inner {
		gap: 8px;
		padding: 12px 15px;
		min-height: 72px;
	}

	.illata-header__logo {
		max-width: 180px;
	}

	.illata-header__logo-img {
		max-height: 56px;
	}

	/* Desktop-only catalog CTA; mobile uses drawer + dock. */
	.illata-header__catalog {
		display: none !important;
	}

	.illata-header__actions {
		gap: 0;
		align-items: center;
	}

	.illata-header__lang {
		display: inline-flex;
		margin-right: 0;
	}

	.illata-header__lang .top-menu__btn {
		min-width: 36px;
		width: 36px;
		height: 36px;
		padding: 0;
	}

	.illata-header__lang .top-menu__btn-text {
		display: none !important;
	}

	.illata-header__action,
	.illata-header__cart,
	.illata-header__search-toggle {
		display: inline-flex !important;
		width: 40px;
		height: 40px;
		min-width: 40px;
		padding: 0;
	}

	.illata-header__action .illata-icon,
	.illata-header__cart .header-cart__icon,
	.illata-header__cart .header-cart__btn {
		width: 22px;
		height: 22px;
	}

	.illata-header__lang .top-menu__btn .fa-globe {
		width: 22px;
		height: 22px;
	}

	.illata-header__action-text,
	.illata-header__cart .header-block__item-caption {
		display: none !important;
	}

	.illata-cart-bar__thumbs {
		display: none;
	}

	.illata-cart-bar__inner {
		flex-wrap: wrap;
	}

	.illata-cart-bar__cta {
		width: auto;
		margin-left: auto;
	}

}

@media (max-width: 360px) {
	.illata-drawer__close {
		width: 32px;
		height: 32px;
		font-size: 24px;
	}

	.illata-drawer__brand {
		font-size: 16px;
	}
}

@media (max-width: 575px) {
	.illata-header__inner {
		flex-wrap: nowrap;
	}

	.illata-header__action,
	.illata-header__cart {
		width: 36px;
		height: 36px;
		min-width: 36px;
		padding: 0;
	}

	.illata-header__burger,
	.illata-header__search-toggle {
		width: 36px;
		height: 36px;
	}

	.illata-header__lang .top-menu__btn {
		min-width: 36px;
		width: 36px;
		height: 36px;
	}
}

@media (min-width: 992px) {
	.illata-catalog__back {
		display: none !important;
	}

	.illata-header__sticky-search,
	.illata-dock {
		display: none !important;
	}
}

/* —— Mobile: sticky header on scroll + always-on bottom dock —— */
@media (max-width: 991px) {
	.illata-chrome.is-scrolled {
		/* Reserve space so fixed header does not jump content */
		padding-top: 72px;
	}

	.illata-chrome.is-scrolled .illata-header {
		position: fixed !important;
		top: 0;
		left: 0;
		right: 0;
		width: 100%;
		z-index: calc(var(--illata-z-header) + 1);
		box-shadow: 0 2px 12px rgba(37, 41, 54, 0.08);
	}

	.illata-chrome.is-scrolled .illata-header__logo {
		display: none !important;
	}

	.illata-chrome.is-scrolled .illata-header__sticky-search {
		display: inline-flex !important;
	}

	.illata-chrome.is-scrolled .illata-header.is-search-open .illata-header__sticky-search {
		display: none !important;
	}

	.illata-chrome.is-scrolled .illata-header__search-toggle {
		display: none !important;
	}

	.illata-chrome.is-scrolled .illata-header__inner {
		position: relative;
		justify-content: flex-start;
	}

	.illata-chrome.is-scrolled .illata-header__left {
		flex: 0 0 auto;
	}

	.illata-chrome.is-scrolled .illata-header__actions {
		flex: 0 0 auto;
		margin-left: auto;
	}

	/* Bottom dock — always visible on mobile */
	.illata-dock {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: calc(var(--illata-z-header) + 2);
		display: flex;
		align-items: stretch;
		justify-content: space-around;
		gap: 0;
		min-height: 58px;
		padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
		background: #fff;
		border-top: 1px solid var(--illata-border, #e8e4e6);
		box-shadow: 0 -4px 18px rgba(37, 41, 54, 0.08);
		transform: translateY(0);
		transition: transform 0.22s ease, opacity 0.22s ease;
		pointer-events: auto;
	}

	.illata-dock[hidden] {
		display: none !important;
	}

	.illata-dock__item {
		position: relative;
		flex: 1 1 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		min-width: 0;
		padding: 4px 6px;
		border: 0;
		background: transparent;
		color: #111;
		text-decoration: none !important;
		font-family: var(--illata-font-body, 'Inter', sans-serif);
		font-size: 11px;
		font-weight: 600;
		line-height: 1.15;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}

	.illata-dock__item:hover,
	.illata-dock__item:focus {
		color: #000;
		outline: none;
	}

	.illata-dock__ico {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 24px;
		height: 24px;
	}

	.illata-dock__ico svg {
		display: block;
		width: 22px;
		height: 22px;
	}

	.illata-dock__label {
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.illata-dock__badge {
		position: absolute;
		top: 2px;
		right: calc(50% - 22px);
		min-width: 18px;
		height: 18px;
		padding: 0 5px;
		border-radius: 999px;
		background: var(--illata-accent, #c74672);
		color: #fff !important;
		font-size: 10px;
		font-weight: 700;
		line-height: 18px;
		text-align: center;
	}

	.illata-dock__badge.hidden {
		display: none !important;
	}

	/* Hide dock while drawer/catalog open; leave room above dock when visible */
	body.illata-panel-open .illata-dock {
		opacity: 0;
		pointer-events: none;
		transform: translateY(110%);
	}

	body.illata-dock-on,
	body.illata-scrolled {
		padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
	}

	body.illata-dock-on .illata-cart-bar-wrap:not([hidden]),
	body.illata-scrolled .illata-cart-bar-wrap:not([hidden]) {
		bottom: calc(58px + env(safe-area-inset-bottom, 0px));
	}

	/* Checkout: never show floating dock (conflicts with order CTA bar) */
	.illata-chrome--no-dock .illata-dock,
	body.checkout-page .illata-dock {
		display: none !important;
	}
}
