.luniart-header-v1,
.luniart-header-v1 * {
	box-sizing: border-box;
}

.luniart-header-v1 {
	--luniart-header-blue: #0a4f6e;
	--luniart-header-deep: #123c5b;
	--luniart-header-text: #2d4357;
	--luniart-header-soft: #f3f9fc;

	position: sticky;
	top: 0;
	z-index: 1000;
	width: 100%;
	min-height: 79px;
	background: rgb(255 255 255 / 96%);
	border-bottom: 1px solid rgb(23 85 118 / 10%);
	box-shadow: 0 8px 24px rgb(24 68 96 / 4.3%);
}

html body.admin-bar .luniart-header-v1 {
	top: 0 !important;
	margin-top: 0 !important;
}

html body .luniart-header-v1 .luniart-header-v1__inner {
	display: flex;
	align-items: center;
	width: min(100%, 1207px);
	min-height: 78px;
	margin-inline: auto;
	padding: 0 26px;
	gap: 9px;
}

html body .luniart-header-v1 .luniart-header-v1__brand {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	flex: 0 0 auto;
	width: 142px;
	min-width: 142px;
	height: calc(142px * 64 / 195);
	margin-right: auto;
	color: inherit;
	text-decoration: none;
}

html body .luniart-header-v1 .luniart-header-v1__picture {
	display: block;
	width: 142px;
	height: calc(142px * 64 / 195);
}

html body .luniart-header-v1 .luniart-header-v1__logo {
	display: block;
	max-width: none;
	height: auto;
	object-fit: contain;
}

html body .luniart-header-v1 .luniart-header-v1__logo--desktop {
	display: block;
	width: 142px;
	height: calc(142px * 64 / 195);
}

html body .luniart-header-v1 .luniart-header-v1__logo--mobile {
	display: none;
}

html body .luniart-header-v1 .luniart-header-v1__logo--responsive {
	display: block;
	width: 142px;
	height: calc(142px * 64 / 195);
}

html body .luniart-header-v1 .luniart-header-v1__legacy-nav {
	display: none;
}

html body .luniart-header-v1 .luniart-header-v1__actions {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 9px;
	margin: 0;
}

html body .luniart-header-v1 .luniart-header-v1__action {
	position: relative;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: 46px;
	min-height: 46px;
	max-height: 46px;
	margin: 0;
	padding: 0 15px;
	gap: 8px;
	flex: 0 0 auto;
	color: var(--luniart-header-blue);
	background: #fff;
	border: 1px solid rgb(10 79 110 / 18%);
	border-radius: 15px;
	box-shadow: none;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

html body .luniart-header-v1 .luniart-header-v1__action--order {
	height: 46px;
	min-width: 183px;
	min-height: 46px;
	max-height: 46px;
	padding: 0 15px;
	gap: 9px;
	color: var(--luniart-header-blue);
	background: var(--luniart-header-soft);
	border-color: rgb(10 79 110 / 20%);
	box-shadow: none;
}

html body .luniart-header-v1 .luniart-header-v1__action--cart {
	min-width: 123px;
	color: var(--luniart-button-text, #fff);
	background: var(--luniart-button-bg, #197bb6);
	border-color: var(--luniart-button-border, #197bb6);
	box-shadow: none;
}

html body .luniart-header-v1 .luniart-header-v1__action--cart:has(.luniart-header-v1__count) {
	min-width: 152px;
}

html body .luniart-header-v1 .luniart-header-v1__action--menu {
	min-width: 101px;
	color: var(--luniart-header-deep);
	background: #fff;
	border-color: rgb(10 79 110 / 18%);
}

html body .luniart-header-v1 .luniart-header-v1__icon {
	display: block;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	color: currentcolor;
}

html body .luniart-header-v1 .luniart-header-v1__action--order .luniart-header-v1__icon {
	display: block;
	width: 18px;
	height: 18px;
	margin: 0;
	flex: 0 0 18px;
	color: currentcolor;
}

html body .luniart-header-v1 .luniart-header-v1__label,
html body .luniart-header-v1 .luniart-header-v1__cart-label,
html body .luniart-header-v1 .luniart-header-v1__menu-label {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	color: inherit;
	font: inherit;
	line-height: 1;
	white-space: nowrap;
}

html body .luniart-header-v1 .luniart-header-v1__action--order .luniart-header-v1__label {
	display: inline-flex;
	align-items: center;
	margin: 0;
	color: inherit;
}

html body .luniart-header-v1 .luniart-header-v1__count,
html body .luniart-header-v1 .luniart-hcart-v1__count,
html body .luniart-header-v1 .header-cart__count {
	display: inline-grid;
	place-items: center;
	min-width: 23px;
	height: 23px;
	padding: 0 6px;
	flex: 0 0 auto;
	color: var(--luniart-header-blue);
	background: #fff;
	border: 0;
	border-radius: 8px;
	box-shadow: 0 1px 4px rgb(0 60 100 / 12%);
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

html body .luniart-header-v1 .luniart-hcart-v1--empty .luniart-hcart-v1__count {
	display: none;
}

html body .luniart-header-v1 .luniart-header-v1__action--order:hover,
html body .luniart-header-v1 .luniart-header-v1__action--order:focus-visible {
	color: var(--luniart-header-blue);
	background: #eaf5fa;
	border-color: rgb(10 79 110 / 30%);
}

html body .luniart-header-v1 .luniart-header-v1__action--cart:hover,
html body .luniart-header-v1 .luniart-header-v1__action--cart:focus-visible {
	color: #fff;
	background: linear-gradient(135deg, #084660, #103650);
	border-color: transparent;
	box-shadow: 0 8px 19px rgb(10 79 110 / 20%);
}

html body .luniart-header-v1 .luniart-header-v1__action--menu:hover,
html body .luniart-header-v1 .luniart-header-v1__action--menu:focus-visible {
	color: var(--luniart-header-deep);
	background: var(--luniart-header-soft);
	border-color: rgb(10 79 110 / 28%);
}

html body .luniart-header-v1 .luniart-header-v1__action:focus-visible {
	outline: 3px solid rgb(10 79 110 / 22%);
	outline-offset: 3px;
}

html body .luniart-header-v1 .luniart-header-v1__action:hover,
html body .luniart-header-v1 .luniart-header-v1__action:focus,
html body .luniart-header-v1 .luniart-header-v1__action:active {
	transform: none;
	text-decoration: none;
}

@media (width <= 767px) {
	.luniart-header-v1 {
		min-height: 71px;
	}

	html body .luniart-header-v1 .luniart-header-v1__inner {
		display: grid;
		grid-template-columns: 42px minmax(0, 1fr) 42px;
		align-items: center;
		width: 100%;
		min-height: 70px;
		padding: 0 10px;
		gap: 7px;
	}

	html body .luniart-header-v1 .luniart-header-v1__brand {
		width: 42px;
		height: 42px;
		min-width: 42px;
		margin-right: 0;
		flex: 0 0 42px;
	}

	html body .luniart-header-v1 .luniart-header-v1__picture {
		width: 42px;
		height: 42px;
	}

	html body .luniart-header-v1 .luniart-header-v1__logo--responsive {
		width: 42px;
		height: 42px;
	}

	html body .luniart-header-v1 .luniart-header-v1__logo--desktop {
		display: none;
	}

	html body .luniart-header-v1 .luniart-header-v1__logo--mobile {
		display: block;
		width: 42px;
		height: 42px;
	}

	html body .luniart-header-v1 .luniart-header-v1__actions {
		display: grid;
		grid-template-columns: max-content max-content;
		justify-content: end;
		width: 100%;
		max-width: none;
		min-width: 0;
		flex: none;
		gap: 6px;
	}

	html body .luniart-header-v1 .luniart-header-v1__action {
		height: 42px;
		min-height: 42px;
		max-height: 42px;
		border-radius: 13px;
		font-size: 11px;
	}

	html body .luniart-header-v1 .luniart-header-v1__action--order {
		width: max-content;
		height: 42px;
		min-width: 0;
		min-height: 42px;
		max-height: 42px;
		padding: 0 9px;
		gap: 7px;
		color: var(--luniart-header-blue);
		background: var(--luniart-header-soft);
		border-color: rgb(10 79 110 / 20%);
		box-shadow: none;
		overflow: visible;
	}

	html body .luniart-header-v1 .luniart-header-v1__action--cart {
		width: max-content;
		max-width: none;
		min-width: 42px;
		padding: 0 9px;
		gap: 6px;
		flex: none;
		overflow: visible;
		white-space: nowrap;
	}

	html body .luniart-header-v1 .luniart-header-v1__action--cart:has(.luniart-header-v1__count),
	html body .luniart-header-v1 .luniart-header-v1__action--cart:has(.luniart-hcart-v1__count),
	html body .luniart-header-v1 .luniart-header-v1__action--cart:has(.header-cart__count) {
		min-width: 75px;
	}

	html body .luniart-header-v1 .luniart-header-v1__action--menu {
		width: 42px;
		min-width: 42px;
		padding: 0;
	}

	html body .luniart-header-v1 .luniart-header-v1__icon {
		width: 17px;
		height: 17px;
		flex-basis: 17px;
	}

	html body .luniart-header-v1 .luniart-header-v1__action--order .luniart-header-v1__icon {
		display: block;
		width: 17px;
		height: 17px;
		flex-basis: 17px;
	}

	html body .luniart-header-v1 .luniart-header-v1__menu-label {
		display: none;
	}

	html body .luniart-header-v1 .luniart-header-v1__cart-label,
	html body .luniart-header-v1 .luniart-header-v1__action--cart .header-cart__label {
		display: inline-flex;
	}

	html body .luniart-header-v1 .luniart-header-v1__action--cart .header-cart__icon {
		display: block;
		width: 17px;
		height: 17px;
		flex: 0 0 17px;
	}

	html body .luniart-header-v1 .luniart-header-v1__count,
	html body .luniart-header-v1 .luniart-hcart-v1__count,
	html body .luniart-header-v1 .header-cart__count {
		min-width: 20px;
		height: 20px;
		padding: 0 5px;
		border-radius: 7px;
		font-size: 11px;
	}
}

@media (width <= 390px) {
	html body .luniart-header-v1 .luniart-header-v1__action--order,
	html body .luniart-header-v1 .luniart-header-v1__action--cart {
		padding-inline: 6px;
		gap: 4px;
		font-size: 10px;
	}
}

@media (width <= 340px) {
	html body .luniart-header-v1 .luniart-header-v1__inner {
		grid-template-columns: 40px minmax(0, 1fr) 40px;
		padding-inline: 8px;
		gap: 5px;
	}

	html body .luniart-header-v1 .luniart-header-v1__brand,
	html body .luniart-header-v1 .luniart-header-v1__logo--mobile,
	html body .luniart-header-v1 .luniart-header-v1__action--menu {
		width: 40px;
		height: 40px;
		min-width: 40px;
		flex-basis: 40px;
	}

	html body .luniart-header-v1 .luniart-header-v1__actions {
		gap: 5px;
	}

	html body .luniart-header-v1 .luniart-header-v1__action--order {
		padding-inline: 6px;
		gap: 5px;
		font-size: 10px;
	}

	html body .luniart-header-v1 .luniart-header-v1__action--cart {
		padding-inline: 5px;
		gap: 3px;
	}
}

/* Isolated header contract: keep legacy button/cart rules out of Header v1. */
html body header.site-header.luniart-header-v1 .luniart-header-v1__action--order {
    background: #f3f9fc !important;
    background-image: none !important;
    color: #0a4f6e !important;
    border: 1px solid rgb(10 79 110 / 20%) !important;
    box-shadow: none !important;
}

html body header.site-header.luniart-header-v1 .luniart-header-v1__action--order .luniart-header-v1__icon {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
    margin: 0 !important;
    color: currentcolor !important;
    visibility: visible !important;
    opacity: 1 !important;
}

html body header.site-header.luniart-header-v1 .luniart-header-v1__action--order .luniart-header-v1__label {
    display: inline-flex !important;
    color: inherit !important;
}

@media (width <= 767px) {
    html body header.site-header.luniart-header-v1 .luniart-header-v1__inner {
        grid-template-columns: 42px minmax(0, 1fr) 42px !important;
        gap: 7px !important;
        padding-inline: 10px !important;
    }

    html body header.site-header.luniart-header-v1 .luniart-header-v1__actions {
        display: grid !important;
        grid-template-columns: max-content max-content !important;
        justify-content: end !important;
        gap: 6px !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    html body header.site-header.luniart-header-v1 .luniart-header-v1__action {
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
    }

    html body header.site-header.luniart-header-v1 .luniart-header-v1__action--order {
        width: max-content !important;
        min-width: 0 !important;
        height: 42px !important;
        padding-inline: 9px !important;
        gap: 6px !important;
        white-space: nowrap !important;
    }

    html body header.site-header.luniart-header-v1 .luniart-header-v1__action--cart {
        width: auto !important;
        min-width: 42px !important;
        max-width: none !important;
        height: 42px !important;
        padding: 0 7px !important;
        gap: 5px !important;
        flex-shrink: 0 !important;
        overflow: visible !important;
        white-space: nowrap !important;
    }

    html body header.site-header.luniart-header-v1 .luniart-header-v1__action--cart .luniart-header-v1__cart-label,
    html body header.site-header.luniart-header-v1 .luniart-header-v1__action--cart .header-cart__label,
    html body header.site-header.luniart-header-v1 .luniart-header-v1__action--cart .luniart-hcart-v1__label {
        display: inline-flex !important;
    }

    html body header.site-header.luniart-header-v1 .luniart-header-v1__action--cart .luniart-header-v1__count,
    html body header.site-header.luniart-header-v1 .luniart-header-v1__action--cart .header-cart__count,
    html body header.site-header.luniart-header-v1 .luniart-header-v1__action--cart .cart-count {
        flex: 0 0 auto !important;
    }
}

@media (width <= 390px) {
    html body header.site-header.luniart-header-v1 .luniart-header-v1__action--order,
    html body header.site-header.luniart-header-v1 .luniart-header-v1__action--cart {
        padding-inline: 6px !important;
        gap: 4px !important;
        font-size: 10px !important;
    }
}

@media (width <= 340px) {
    html body header.site-header.luniart-header-v1 .luniart-header-v1__action--cart {
        padding-inline: 5px !important;
        gap: 3px !important;
    }
}

/* Keep the compact action group clear of the round logo on narrow phones. */
@media (width <= 360px) {
    html body header.site-header.luniart-header-v1 .luniart-header-v1__action--order .luniart-header-v1__icon {
        display: none !important;
    }
}

/* Override legacy cart.css selectors that use :has() and otherwise win specificity. */
@layer components {
html body header.site-header.luniart-header-v1 .luniart-header-v1__actions:has(> a.luniart-header-v1__action--cart) > a.header-cart.luniart-hcart-v1.luniart-header-v1__action--cart {
    display: inline-flex !important;
    box-sizing: border-box !important;
    width: max-content !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    padding: 0 15px !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
    overflow: hidden !important;
    color: var(--luniart-button-text, #fff) !important;
    background: var(--luniart-button-bg, #197bb6) !important;
    border-color: var(--luniart-button-border, #197bb6) !important;
    box-shadow: none !important;
    font-size: 13px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

html body header.site-header.luniart-header-v1 .luniart-header-v1__actions:has(> a.luniart-header-v1__action--cart) > a.header-cart.luniart-hcart-v1.luniart-header-v1__action--cart .luniart-header-v1__count,
html body header.site-header.luniart-header-v1 .luniart-header-v1__actions:has(> a.luniart-header-v1__action--cart) > a.header-cart.luniart-hcart-v1.luniart-header-v1__action--cart .header-cart__count {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    display: inline-grid !important;
    place-items: center !important;
    min-width: 23px !important;
    width: auto !important;
    height: 23px !important;
    min-height: 23px !important;
    max-height: 23px !important;
    padding: 0 6px !important;
    flex: 0 0 auto !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--luniart-header-blue) !important;
    box-shadow: none !important;
    font-size: 12px !important;
    line-height: 1 !important;
}

@media (width <= 767px) {
    html body header.site-header.luniart-header-v1 .luniart-header-v1__actions:has(> a.luniart-header-v1__action--cart) {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: 100% !important;
        min-width: 0 !important;
        gap: 6px !important;
    }

    html body header.site-header.luniart-header-v1 .luniart-header-v1__actions:has(> a.luniart-header-v1__action--cart) > a.header-cart.luniart-hcart-v1.luniart-header-v1__action--cart {
        display: inline-flex !important;
        box-sizing: border-box !important;
        width: max-content !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        padding: 0 7px !important;
        gap: 5px !important;
        flex: 0 0 auto !important;
        overflow: hidden !important;
        font-size: 11px !important;
        white-space: nowrap !important;
    }

    html body header.site-header.luniart-header-v1 .luniart-header-v1__actions:has(> a.luniart-header-v1__action--cart) > a.header-cart.luniart-hcart-v1.luniart-header-v1__action--cart .luniart-header-v1__count,
    html body header.site-header.luniart-header-v1 .luniart-header-v1__actions:has(> a.luniart-header-v1__action--cart) > a.header-cart.luniart-hcart-v1.luniart-header-v1__action--cart .header-cart__count {
        display: inline-grid !important;
        place-items: center !important;
        min-width: 20px !important;
        width: auto !important;
        height: 20px !important;
        min-height: 20px !important;
        max-height: 20px !important;
        padding: 0 5px !important;
        flex: 0 0 auto !important;
        position: static !important;
        inset: auto !important;
        z-index: auto !important;
        border: 0 !important;
        border-radius: 7px !important;
        background: #fff !important;
        color: var(--luniart-header-blue) !important;
        box-shadow: none !important;
        font-size: 11px !important;
        line-height: 1 !important;
    }
}

@media (width <= 390px) {
    html body header.site-header.luniart-header-v1 .luniart-header-v1__actions:has(> a.luniart-header-v1__action--cart) > a.header-cart.luniart-hcart-v1.luniart-header-v1__action--cart {
        padding-inline: 6px !important;
        gap: 4px !important;
        font-size: 10px !important;
    }
}

@media (width <= 340px) {
    html body header.site-header.luniart-header-v1 .luniart-header-v1__actions:has(> a.luniart-header-v1__action--cart) > a.luniart-header-v1__action--order .luniart-header-v1__icon {
        display: none !important;
    }

    html body header.site-header.luniart-header-v1 .luniart-header-v1__actions:has(> a.luniart-header-v1__action--cart) > a.header-cart.luniart-hcart-v1.luniart-header-v1__action--cart {
        padding-inline: 5px !important;
        gap: 3px !important;
    }
}
}

/* Keep both compact actions inside the 320 px header track. */
@media (width <= 360px) {
    html body header.site-header.luniart-header-v1 .luniart-header-v1__actions {
        gap: 2px !important;
    }

    html body header.site-header.luniart-header-v1 .luniart-header-v1__action--order,
    html body header.site-header.luniart-header-v1 .luniart-header-v1__action--cart {
        padding-inline: 4px !important;
        gap: 2px !important;
        font-size: 9px !important;
    }
}

@media (500px <= width <= 767px) {
    html body header.site-header.luniart-header-v1 .luniart-header-v1__inner {
        grid-template-columns: 142px minmax(0, 1fr) 42px !important;
    }

    html body header.site-header.luniart-header-v1 .luniart-header-v1__brand {
        width: 142px !important;
        height: calc(142px * 64 / 195) !important;
        min-width: 142px !important;
        flex-basis: 142px !important;
    }

    html body header.site-header.luniart-header-v1 .luniart-header-v1__picture {
        width: 142px !important;
        height: calc(142px * 64 / 195) !important;
    }

    html body header.site-header.luniart-header-v1 .luniart-header-v1__logo--responsive {
        width: 142px !important;
        height: calc(142px * 64 / 195) !important;
    }

    html body header.site-header.luniart-header-v1 .luniart-header-v1__logo--desktop {
        display: block !important;
        width: 142px !important;
        height: calc(142px * 64 / 195) !important;
    }

    html body header.site-header.luniart-header-v1 .luniart-header-v1__logo--mobile {
        display: none !important;
    }
}

/* Use the full primary navigation once the header has room for it. */
@media (width >= 1100px) {
    html body header.site-header.luniart-header-v1 .luniart-header-v1__brand {
        margin-right: 0;
    }

    html body header.site-header.luniart-header-v1 .luniart-header-v1__legacy-nav {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        min-width: 0;
        margin: 0 18px 0 28px;
        flex: 1 1 auto;
    }

    html body header.site-header.luniart-header-v1 .luniart-header-v1__legacy-nav .nav-menu {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        min-width: 0;
        margin: 0;
        padding: 0;
        list-style: none;
        white-space: nowrap;
    }

    html body header.site-header.luniart-header-v1 .luniart-header-v1__legacy-nav .nav-menu li {
        margin: 0;
        padding: 0;
    }

    html body header.site-header.luniart-header-v1 .luniart-header-v1__legacy-nav .nav-menu a {
        display: inline-flex;
        align-items: center;
        min-height: 36px;
        padding: 0 8px;
        color: var(--luniart-header-blue);
        border-radius: 10px;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.2;
        text-decoration: none;
        white-space: nowrap;
    }

    html body header.site-header.luniart-header-v1 .luniart-header-v1__legacy-nav .nav-menu a:hover,
    html body header.site-header.luniart-header-v1 .luniart-header-v1__legacy-nav .nav-menu a:focus-visible {
        color: var(--luniart-header-deep);
        background: var(--luniart-header-soft);
        text-decoration: none;
    }

    html body header.site-header.luniart-header-v1 .luniart-header-v1__action--menu {
        display: none !important;
    }
}
