/* Marcin: header in the style of the rest of the site (05.11.2026; ported from secondflor.us to EU 23.11.2026) - loaded after custom/tables.css (header.tpl; the US menu.css is not used on EU).
   Search field as the site's form fields, the icons on the right in one style with a label under each
   (FAQ / contact / account / favorites / cart) and green count badges, the account menu
   as the mega menu panels.
   Palette: green #414f34 (hover #2f3a25), text #2b2b29 / #3c3c3b / #6d6c67 / #8a8984, lines #e3e3e3, surface #f4f4f4. */

/* ---------- search ---------- */
#header #search_block_top #search_query_top {
	height: 44px;
	padding: 0 48px 0 16px;
	border: 0;
	border-radius: 4px;
	background: #f4f4f4;
	box-shadow: none;
	color: #2b2b29;
	font-size: 14px;
	font-style: normal;
	transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

#header #search_block_top #search_query_top::placeholder {
	color: #8a8984;
	font-style: normal;
	opacity: 1;
}

#header #search_block_top #search_query_top:focus {
	outline: none;
	background: #fff;
	box-shadow: 0 0 0 1px #414f34, 0 0 0 4px rgba(65, 79, 52, 0.12);
}

#header #search_block_top .header_search_button {
	top: 1px;
	right: 2px;
	color: #3c3c3b;
	font-size: 18px;
}

#header #search_block_top .header_search_button:hover {
	color: #414f34;
}

/* ---------- icons on the right: one style, label under the icon ---------- */
#header .header_contact_section_container {
	align-items: flex-start;
	gap: 6px;
}

/* the items: FAQ, contact, account, favorites (logged in: advansedwishlist, guest: header.tpl), cart */
#header .header_contact_section_container .header_faq,
#header .header_contact_section_container .header_contact,
#header .header_contact_section_container .header_user,
#header .header_contact_section_container #login_wish > .new_a,
#header .header_contact_section_container .wishlist_top_not_logged > div:first-child,
#header .header_contact_section_container .shopping_cart_nav_container {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	/* one width for all, so the icons are evenly spaced; a longer label (cart total) overflows evenly on both sides */
	flex: 0 0 64px;
	width: 64px;
	min-width: 0;
	/* the theme gives these boxes a fixed 38px / 22px height, which clipped the label */
	height: auto !important;
	padding: 0 6px;
	color: #2b2b29;
	text-transform: none;
	cursor: pointer;
}

/* the wrappers around favorites and cart had 11px side padding from the theme: equal spacing comes from the gap */
#header .header_contact_section_container #login_wish,
#header .header_contact_section_container .wishlist_top_not_logged,
#header .header_contact_section_container #shopping_cart {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

#header .header_contact_section_container .header_faq > i,
#header .header_contact_section_container .header_contact > i,
#header .header_contact_section_container .header_user > i,
#header .header_contact_section_container #login_wish i,
#header .header_contact_section_container .wishlist_top_not_logged i,
#header .header_contact_section_container .shopping_cart_nav_container > i {
	display: block;
	height: 22px;
	margin: 0;
	color: #2b2b29 !important;
	font-size: 21px;
	line-height: 22px;
	transition: color 0.15s ease;
}

#header .header_contact_section_container .header_faq:hover > i,
#header .header_contact_section_container .header_contact:hover > i,
#header .header_contact_section_container .header_user:hover > i,
#header .header_contact_section_container #login_wish:hover i,
#header .header_contact_section_container .wishlist_top_not_logged:hover i,
#header .header_contact_section_container .shopping_cart_nav_container:hover > i {
	color: #414f34 !important;
}

/* labels: the name / "Sign in", "Favorites", the cart total ("Cart" when empty) */
#header .header_contact_section_container .sf-head-label,
#header .header_contact_section_container .shopping_cart_nav_container .ajax_cart_total,
#header .header_contact_section_container .shopping_cart_nav_container .ajax_cart_no_product {
	display: block;
	max-width: 88px;
	overflow: hidden;
	color: #6d6c67;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 14px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#header .header_contact_section_container .shopping_cart_nav_container .ajax_cart_total.unvisible,
#header .header_contact_section_container .shopping_cart_nav_container .ajax_cart_no_product.unvisible,
#header .header_contact_section_container .shopping_cart_nav_container .ajax_cart_product_txt,
#header .header_contact_section_container .shopping_cart_nav_container .ajax_cart_product_txt_s {
	display: none !important;
}

/* blockcart.css hides the total and "(empty)" in the header with !important - shown here as the label */
#header #header_nav #shopping_cart .shopping_cart_nav_container .ajax_cart_total:not(.unvisible),
#header #header_nav #shopping_cart .shopping_cart_nav_container .ajax_cart_no_product:not(.unvisible) {
	display: block !important;
}

/* empty cart: "Cart" instead of "(empty)" */
#header .header_contact_section_container .shopping_cart_nav_container .ajax_cart_no_product {
	height: 14px;
	font-size: 0;
	line-height: 0;
}

#header .header_contact_section_container .shopping_cart_nav_container .ajax_cart_no_product::after {
	content: "Cart";
	display: block;
	font-size: 11px;
	line-height: 14px;
}

/* Marcin (EU port 23.11.2026): the empty-cart label in the shop's languages (html lang = {$lang_iso}) */
html[lang="fr"] #header .header_contact_section_container .shopping_cart_nav_container .ajax_cart_no_product::after {
	content: "Panier";
}

html[lang="es"] #header .header_contact_section_container .shopping_cart_nav_container .ajax_cart_no_product::after {
	content: "Carrito";
}

html[lang="de"] #header .header_contact_section_container .shopping_cart_nav_container .ajax_cart_no_product::after {
	content: "Warenkorb";
}

html[lang="it"] #header .header_contact_section_container .shopping_cart_nav_container .ajax_cart_no_product::after {
	content: "Carrello";
}

/* logged in: the person icon + first name instead of the green initials circle */
#header .header_contact_section_container .header_user_logged .user_letters {
	display: none;
}

/* count badges: small green circles on the icon's top right corner */
#header .header_contact_section_container #login_wish .wishlist_count,
#header .header_contact_section_container .shopping_cart_nav_container .ajax_cart_quantity {
	position: absolute;
	top: -6px;
	left: calc(50% + 4px);
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 16px;
	height: 16px;
	margin: 0;
	padding: 0 4px;
	border-radius: 8px;
	background: #414f34;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
}

#header .header_contact_section_container #login_wish .wishlist_count.empty_list,
#header .header_contact_section_container .shopping_cart_nav_container:has(.ajax_cart_no_product:not(.unvisible)) .ajax_cart_quantity {
	display: none;
}

/* ---------- account menu (logged in: blockuserinfo nav.tpl .sf-acc, opened by a click - global.js) ---------- */
/* look (desktop dropdown and the phone drawer, where global.js moves the panel to <body>) */
.login_on_hover.sf-acc {
	overflow: hidden;
	background: #fff;
	color: #3c3c3b;
	font-family: "Open Sans", sans-serif;
	text-align: left;
}

.sf-acc .sf-acc__head {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 14px;
	width: 100%;
	box-sizing: border-box;
	min-height: 0;
	margin: 0;
	padding: 20px 20px 18px;
	border-bottom: 1px solid #ebebeb;
	background: #f4f4f4;
	color: #2b2b29;
	font-size: 14px;
	letter-spacing: 0;
	text-transform: none;
}

.sf-acc .sf-acc__avatar {
	display: flex;
	flex: 0 0 44px;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #414f34;
	color: #fff;
	/* the theme's title font (Marcellus) is inherited by the head - Open Sans for the initials and the e-mail */
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.sf-acc .sf-acc__who {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.sf-acc .sf-acc__hello {
	overflow: hidden;
	color: #2b2b29;
	font-family: Marcellus, Georgia, serif;
	font-size: 20px;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sf-acc .sf-acc__mail {
	overflow: hidden;
	color: #8a8984;
	font-family: "Open Sans", sans-serif;
	font-size: 12px;
	line-height: 1.4;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sf-acc .sf-acc__body {
	padding: 16px 0 0;
}

/* quick tiles: orders and favorites */
.sf-acc .sf-acc__tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 0 16px 16px;
}

.sf-acc .sf-acc__tiles:has(> :only-child) {
	grid-template-columns: minmax(0, 1fr);
}

.sf-acc .sf-acc__tile,
.sf-acc .sf-acc__tile:visited {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	text-align: left;
	padding: 14px;
	border: 1px solid #ebebeb;
	border-radius: 4px;
	background: #fff;
	color: #2b2b29;
	text-decoration: none;
	transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.sf-acc .sf-acc__tile i {
	margin: 0 0 8px;
	color: #414f34;
	font-size: 18px;
	line-height: 1;
}

.sf-acc .sf-acc__tile-title {
	color: #2b2b29;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.sf-acc .sf-acc__tile-sub {
	color: #8a8984;
	font-size: 12px;
	line-height: 1.35;
}

.sf-acc .sf-acc__tile:hover,
.sf-acc .sf-acc__tile:focus-visible,
.sf-acc .sf-acc__tile.is-active {
	border-color: #414f34;
	background: #f7f8f5;
}

.sf-acc .sf-acc__tile:hover {
	transform: translateY(-1px);
}

/* account pages */
.sf-acc .sf-acc__kicker {
	margin: 0;
	padding: 0 20px 6px;
	text-align: left;
	color: #8a8984;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.sf-acc .sf-acc__list {
	margin: 0;
	padding: 0 0 8px;
	list-style: none;
}

.sf-acc .sf-acc__list li {
	display: block;
	margin: 0;
	padding: 0;
}

.sf-acc .sf-acc__list a,
.sf-acc .sf-acc__list a:visited {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 20px;
	color: #3c3c3b;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.3;
	text-decoration: none;
	text-transform: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.sf-acc .sf-acc__list a i {
	width: 18px;
	margin: 0;
	color: #a9a79f;
	font-size: 16px;
	line-height: 1;
	text-align: center;
	transition: color 0.15s ease;
}

.sf-acc .sf-acc__list a:hover,
.sf-acc .sf-acc__list a:focus-visible {
	background: #f7f8f5;
	color: #414f34;
}

.sf-acc .sf-acc__list a:hover i,
.sf-acc .sf-acc__list a:focus-visible i {
	color: #414f34;
}

/* the page you are on: green bar, as in the account side menu */
.sf-acc .sf-acc__list a.is-active {
	background: #f7f8f5;
	box-shadow: inset 3px 0 0 #414f34;
	color: #414f34;
}

.sf-acc .sf-acc__list a.is-active i {
	color: #414f34;
}

/* log out */
.sf-acc .sf-acc__foot {
	border-top: 1px solid #ebebeb;
}

.sf-acc .sf-acc__foot a.sf-acc__logout,
.sf-acc .sf-acc__foot a.sf-acc__logout:visited {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 14px 20px;
	border-radius: 0;
	background: transparent;
	color: #6d6c67;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.sf-acc .sf-acc__foot a.sf-acc__logout i {
	width: 18px;
	margin: 0;
	font-size: 15px;
	text-align: center;
}

.sf-acc .sf-acc__foot a.sf-acc__logout:hover {
	background: #fdf3f3;
	color: #a33a3a;
}

/* desktop dropdown: 320px card under the account icon, centred on it, with a small pointer */
@media (min-width: 992px) {
	/* the panel is positioned from the icon's box, not from the theme's wrapper */
	#header .header_user_logged .topbar_left_side {
		position: static;
	}

	#header .header_user_logged .login_on_hover.sf-acc {
		top: calc(100% + 14px);
		right: auto;
		left: 50%;
		width: 320px;
		overflow: visible;
		border: 1px solid #e3e3e3;
		border-radius: 6px;
		box-shadow: 0 18px 40px rgba(43, 43, 41, 0.12), 0 2px 6px rgba(43, 43, 41, 0.05);
		transform: translateX(-50%);
		animation: sf-acc-in 0.18s ease-out;
	}

	/* pointer: a rotated square with the head's colour */
	#header .header_user_logged .login_on_hover.sf-acc::before {
		content: "";
		position: absolute;
		top: -7px;
		left: 50%;
		width: 12px;
		height: 12px;
		margin-left: -6px;
		border-top: 1px solid #e3e3e3;
		border-left: 1px solid #e3e3e3;
		background: #f4f4f4;
		transform: rotate(45deg);
	}

	#header .header_user_logged .login_on_hover.sf-acc .sf-acc__head {
		border-radius: 6px 6px 0 0;
	}

	#header .header_user_logged .login_on_hover.sf-acc .sf-acc__foot,
	#header .header_user_logged .login_on_hover.sf-acc .sf-acc__logout {
		border-radius: 0 0 6px 6px;
	}

	/* the phone close button is not needed in the dropdown */
	#header .header_user_logged .sf-acc .close_mobile_login {
		display: none;
	}
}

/* everything in the account menu on the left at every width (Marcin, 10.11.2026): up to 1199px blockuserinfo.css
   right-aligns ".login_on_hover a" (flex-end, text-align right, 17px !important, width 100% !important) and
   ".login_on_hover_content span" (text-align right, display block !important) - the tiles' texts, the list and
   Log out ended up on the right */
html body .login_on_hover.sf-acc .sf-acc__body a,
html body .login_on_hover.sf-acc .sf-acc__body span {
	justify-content: flex-start;
	text-align: left;
}

html body .login_on_hover.sf-acc .sf-acc__tiles a.sf-acc__tile {
	justify-content: flex-start;
	align-items: flex-start;
	height: auto;
	padding: 14px;
}

html body .login_on_hover.sf-acc .sf-acc__list a,
html body .login_on_hover.sf-acc .sf-acc__foot a.sf-acc__logout {
	justify-content: flex-start;
	height: auto;
}

html body .login_on_hover.sf-acc .sf-acc__list a {
	padding: 9px 20px;
	font-size: 14px !important;
}

html body .login_on_hover.sf-acc .sf-acc__foot a.sf-acc__logout {
	padding: 14px 20px;
	font-size: 13px !important;
}

/* phone drawer (global.js moves the panel to <body>): the theme centres the title row and right-aligns the content */
@media (max-width: 991px) {
	.sf-acc .sf-acc__head {
		padding-right: 64px;
	}

	.sf-acc .sf-acc__head .close_mobile_login {
		position: absolute;
		top: 50%;
		right: 16px;
		background: transparent;
		transform: translateY(-50%);
	}

	.sf-acc .sf-acc__body,
	.sf-acc .sf-acc__list a {
		text-align: left;
	}
}

@keyframes sf-acc-in {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(-6px);
	}

	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	#header .header_user_logged .login_on_hover.sf-acc {
		animation: none;
	}

	.sf-acc .sf-acc__tile:hover {
		transform: none;
	}
}

/* ---------- sign in window (guests: nav.tpl #login_on_hover.sf-acc--guest, toggled by global.js) ----------
   same card as the account menu: grey head with the question, the form with labels, the pro account offer at the bottom.
   No #header in the selectors: on phones global.js moves the panel to <body> */
html body .sf-acc--guest .sf-acc__avatar--guest {
	border: 1px solid #e3e3e3;
	background: #fff;
	color: #414f34;
}

html body .sf-acc--guest .sf-acc__avatar--guest i {
	display: block;
	margin: 0;
	font-size: 18px;
	line-height: 1;
}

/* the theme centres the title row - greeting and the line under it to the left */
html body #login_on_hover.sf-acc--guest .sf-acc__who {
	align-items: flex-start;
	text-align: left;
}

/* form#login_form: the theme pads the panel's form 15px with an id selector */
html body #login_on_hover.sf-acc--guest form#login_form.sf-acc__form {
	margin: 0;
	padding: 18px 20px 20px;
	text-align: left;
}

html body #login_on_hover.sf-acc--guest .sf-acc__form fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}

html body #login_on_hover.sf-acc--guest .sf-acc__label {
	display: block;
	margin: 0 0 6px;
	color: #3c3c3b;
	font-family: "Open Sans", sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
	text-transform: none;
}

html body #login_on_hover.sf-acc--guest .sf-acc__label-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 14px 0 0;
}

html body #login_on_hover.sf-acc--guest .sf-acc__forgot,
html body #login_on_hover.sf-acc--guest .sf-acc__forgot:visited {
	color: #6d6c67;
	font-size: 12px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

html body #login_on_hover.sf-acc--guest .sf-acc__forgot:hover {
	color: #414f34;
}

/* fields: the theme's were grey pills with italic placeholders */
html body #login_on_hover.sf-acc--guest input.account_input {
	display: block;
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
	background: #fff;
	box-shadow: none;
	color: #2b2b29;
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
	font-style: normal;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

html body #login_on_hover.sf-acc--guest input.account_input::placeholder {
	color: #a9a79f;
	font-style: normal;
}

html body #login_on_hover.sf-acc--guest input.account_input:focus {
	border-color: #414f34;
	outline: 0;
	box-shadow: 0 0 0 3px rgba(65, 79, 52, 0.12);
}

html body #login_on_hover.sf-acc--guest .sf-acc__submit {
	display: block;
	width: 100%;
	height: 44px;
	margin: 18px 0 0;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: #414f34;
	box-shadow: none;
	color: #fff;
	font-family: "Open Sans", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

html body #login_on_hover.sf-acc--guest .sf-acc__submit:hover,
html body #login_on_hover.sf-acc--guest .sf-acc__submit:focus-visible {
	background: #2f3a25;
}

/* pro account offer */
html body #login_on_hover.sf-acc--guest .sf-acc__join {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 20px;
	border-top: 1px solid #ebebeb;
	background: #f4f4f4;
}

html body #login_on_hover.sf-acc--guest .sf-acc__join-text {
	color: #6d6c67;
	font-family: "Open Sans", sans-serif;
	font-size: 12px;
	white-space: nowrap;
	line-height: 1.35;
	text-align: left;
}

html body #login_on_hover.sf-acc--guest a.sf-acc__join-btn,
html body #login_on_hover.sf-acc--guest a.sf-acc__join-btn:visited {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	height: 36px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid #414f34;
	border-radius: 4px;
	background: #fff;
	color: #414f34;
	font-family: "Open Sans", sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease;
}

html body #login_on_hover.sf-acc--guest a.sf-acc__join-btn:hover {
	background: #414f34;
	color: #fff;
}

/* phone panel: the offer under the form, text over a full-width button */
@media (max-width: 767px) {
	html body #login_on_hover.sf-acc--guest .sf-acc__join {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		padding: 18px 20px;
	}

	html body #login_on_hover.sf-acc--guest a.sf-acc__join-btn {
		justify-content: center;
		height: 44px;
	}

	/* close: a 40px box with the 30px circle, its right edge 20px from the side like the fields (the theme's
	   60px box left the circle 35px in - Marcin, 10.11.2026) */
	html body #login_on_hover.sf-acc--guest .sf-acc__head .close_mobile_login,
	html body .sf-acc .sf-acc__head .close_mobile_login {
		width: 40px;
		right: 15px;
	}
}

/* Marcin: tablet (768-1199): the theme's blockuserinfo.css (and responsive.css at 768-991) show the panels there with
   display: block !important - its old side drawer, kept off screen with right: -400px. With the dropdown position below
   (left: 50%) the guest Sign in window, and at 992-1199 the account menu, stood open over the page all the time.
   global.js toggles them with an inline display - hidden until that inline style says block */
@media (min-width: 768px) and (max-width: 1199px) {
	html body #header .nav_login_button #login_on_hover.sf-acc--guest:not([style*="block"]) {
		display: none !important;
	}

	html body #header .nav_login_button #login_on_hover.sf-acc--guest {
		position: absolute !important;
		bottom: auto;
		max-width: none;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	html body #header .header_user_logged .login_on_hover.sf-acc:not([style*="block"]) {
		display: none !important;
	}

	html body #header .header_user_logged .login_on_hover.sf-acc {
		position: absolute !important;
		bottom: auto;
		max-width: none;
	}
}

/* desktop and tablet dropdown (global.js toggles it from 768px): 320px card centred under the icon */
@media (min-width: 768px) {
	#header .nav_login_button .topbar_left_side {
		position: static;
	}

	#header .nav_login_button #login_on_hover.sf-acc--guest {
		top: calc(100% + 14px);
		right: auto;
		left: 50%;
		width: 320px;
		padding: 0;
		overflow: visible;
		border: 1px solid #e3e3e3;
		border-radius: 6px;
		background: #fff;
		box-shadow: 0 18px 40px rgba(43, 43, 41, 0.12), 0 2px 6px rgba(43, 43, 41, 0.05);
		transform: translateX(-50%);
		animation: sf-acc-in 0.18s ease-out;
	}

	#header .nav_login_button #login_on_hover.sf-acc--guest::before {
		content: "";
		position: absolute;
		top: -7px;
		left: 50%;
		width: 12px;
		height: 12px;
		margin-left: -6px;
		border-top: 1px solid #e3e3e3;
		border-left: 1px solid #e3e3e3;
		background: #f4f4f4;
		transform: rotate(45deg);
	}

	#header .nav_login_button #login_on_hover.sf-acc--guest .sf-acc__head {
		border-radius: 6px 6px 0 0;
	}

	#header .nav_login_button #login_on_hover.sf-acc--guest .sf-acc__join {
		border-radius: 0 0 6px 6px;
	}

	#header .nav_login_button #login_on_hover.sf-acc--guest .close_mobile_login {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	#header .nav_login_button #login_on_hover.sf-acc--guest {
		animation: none;
	}
}

/* ---------- phone ---------- */
@media (max-width: 767px) {
	/* top row: logo, FAQ, contact and account icons without labels (search, favorites and cart are in the bottom bar) */
	#header .header_contact_section_container .search_block_top_mobile_opener {
		display: none !important;
	}

	#header .header_contact_section_container .sf-head-label {
		display: none;
	}

	/* breadcrumb bar (bottom of the product page): a long path overflowed both sides of the screen in one centred
	   line - it wraps onto more lines instead (Marcin, 10.11.2026) */
	.breadcrumb .breadcrumb_inside {
		flex-wrap: wrap;
		justify-content: center;
		row-gap: 2px;
		max-width: 100%;
		text-align: center;
	}

	/* icons only: narrower items */
	#header .header_contact_section_container .header_faq,
	#header .header_contact_section_container .header_contact,
	#header .header_contact_section_container .header_user {
		flex-basis: 44px;
		width: 44px;
	}

	/* the last icon's glyph stood 33px from the right edge (half of its 44px box + the 6px gap before the hidden
	   favorites / cart items) while the logo starts 15px from the left - the group moved 17px right
	   (#page clips the overhang, no sideways scroll) */
	#header .header_contact_section_container {
		margin-right: -17px;
	}

	/* bottom bar (favorites and cart are moved there by global.js): icons only, counts as green badges */
	.mobile_bottom_bar_container .sf-head-label,
	.mobile_bottom_bar_container .shopping_cart_nav_container .ajax_cart_total,
	.mobile_bottom_bar_container .shopping_cart_nav_container .ajax_cart_no_product {
		display: none !important;
	}

	.mobile_bottom_bar_container #login_wish > .new_a,
	.mobile_bottom_bar_container .shopping_cart_nav_container {
		position: relative;
		display: inline-flex;
		align-items: center;
	}

	.mobile_bottom_bar_container i {
		color: #2b2b29 !important;
	}

	/* !important: the theme styles the bottom bar counts as grey 13px text beside the icon */
	.mobile_bottom_bar_container #login_wish .wishlist_count,
	.mobile_bottom_bar_container .shopping_cart_nav_container .ajax_cart_quantity {
		position: absolute !important;
		top: -6px !important;
		right: auto !important;
		left: 14px !important;
		display: flex;
		align-items: center;
		justify-content: center;
		min-width: 16px;
		height: 16px !important;
		margin: 0 !important;
		padding: 0 4px !important;
		border-radius: 8px;
		background: #414f34 !important;
		color: #fff !important;
		font-size: 10px !important;
		font-weight: 700;
		line-height: 1 !important;
	}

	.mobile_bottom_bar_container #login_wish .wishlist_count.empty_list,
	.mobile_bottom_bar_container .shopping_cart_nav_container:has(.ajax_cart_no_product:not(.unvisible)) .ajax_cart_quantity {
		display: none;
	}
}


/* Marcin: language selector dropdown in the style of the account menu and the sort list - a card with a thin line,
   6px corners, soft shadow and a pointer; rows with flag, language name and ISO code, light hover */
#languages_block_top .languages_top_new_selection {
	top: calc(100% + 10px);
	right: -6px;
	min-width: 190px;
	padding: 6px;
	border: 1px solid #e3e3e3;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 18px 40px rgba(43, 43, 41, 0.12), 0 2px 6px rgba(43, 43, 41, 0.05);
}
#languages_block_top .languages_top_new_selection:before {
	top: -7px;
	left: auto;
	right: 32px; /* Marcin: tip under the centre of the round flag (flag centre = 38 px from the card's right edge) */
	width: 12px;
	height: 12px;
	border-top: 1px solid #e3e3e3;
	border-left: 1px solid #e3e3e3;
	background: #fff;
	transform: rotate(45deg);
}
#languages_block_top .languages_top_new_select a {
	display: flex;
	align-items: center;
	gap: 10px;
	width: auto;
	margin: 0;
	padding: 9px 12px;
	border-radius: 4px;
	color: #3c3c3b;
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.4;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
	transition: none;
}
#languages_block_top .languages_top_new_select a img {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
}
#languages_block_top .languages_top_new_select a .sf-lang-iso {
	margin-left: auto;
	padding-left: 16px;
	color: #8a8a87;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
#languages_block_top .languages_top_new_selection .languages_top_new_select a:hover,
#languages_block_top .languages_top_new_selection .languages_top_new_select:first-child a:hover,
#languages_block_top .languages_top_new_selection .languages_top_new_select:last-child a:hover {
	border-radius: 4px;
	background: #f4f4f4;
	color: #2b2b29;
}

/* Marcin: the theme gives the selector and its rows "transition: all" - with the hover radius/background rules of
   blocklanguages.css every row animated on mouse move (flicker); the card and rows switch state instantly */
#languages_block_top, #languages_block_top .languages_top_new_selection, #languages_block_top .languages_top_new_select,
#languages_block_top .languages_top_new_select a, #languages_block_top .languages_top_new_select a img { transition: none !important; }

/* ---------- favorites for guests: "You have to be logged" + Sign in / Create account (header.tpl .fav_not_logged_info_container,
   desktop under the heart and phone over the bottom bar; shown by global.js) - Marcin 27.11.2026: the card of the
   sign in window (line, 6px corners, shadow, pointer), title in Marcellus, Sign in as the green button and
   Create account as the outlined one (was a pill with two plain links and a grey bar between them) ---------- */
html body .fav_not_logged_info_container .fav_not_logged_info_v2 {
	display: block;
	box-sizing: border-box;
	width: 280px;
	height: auto !important;
	padding: 20px !important;
	border: 1px solid #e3e3e3;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 18px 40px rgba(43, 43, 41, 0.12), 0 2px 6px rgba(43, 43, 41, 0.05);
	color: #3c3c3b !important;
	font-family: "Open Sans", sans-serif;
	text-align: left;
}

html body .fav_not_logged_info_container .fav_not_logged_title {
	margin: 0 0 16px;
	color: #2b2b29;
	font-family: Marcellus, Georgia, serif;
	font-size: 19px;
	font-weight: 400;
	line-height: 1.3;
	text-transform: none;
}

html body .fav_not_logged_info_container .fav_not_logged_buttons_container {
	display: flex;
	flex-direction: column;
	/* the theme centres the links (global.css align-items: center) - full-width buttons */
	align-items: stretch;
	gap: 8px;
}

html body .fav_not_logged_info_container .wishlist_spacer {
	display: none;
}

html body .fav_not_logged_info_container .fav_not_logged_buttons_container > a,
html body .fav_not_logged_info_container .fav_not_logged_buttons_container > a:visited {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid #414f34;
	border-radius: 4px;
	background: #fff;
	color: #414f34;
	font-family: "Open Sans", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease;
}

html body .fav_not_logged_info_container .fav_not_logged_buttons_container > a:hover,
html body .fav_not_logged_info_container .fav_not_logged_buttons_container > a:focus-visible {
	background: #f4f4f4;
	color: #2f3a25;
}

/* Sign in: the main action */
html body .fav_not_logged_info_container .fav_not_logged_buttons_container > a:first-child,
html body .fav_not_logged_info_container .fav_not_logged_buttons_container > a:first-child:visited {
	background: #414f34;
	color: #fff;
}

html body .fav_not_logged_info_container .fav_not_logged_buttons_container > a:first-child:hover,
html body .fav_not_logged_info_container .fav_not_logged_buttons_container > a:first-child:focus-visible {
	border-color: #2f3a25;
	background: #2f3a25;
	color: #fff;
}

/* desktop: centred under the heart, pointer as on the sign in window */
html body #header .wishlist_top_not_logged .fav_not_logged_info_container {
	top: 100%;
	right: auto;
	left: 50%;
	padding-top: 14px;
	transform: translateX(-50%);
}

html body #header .wishlist_top_not_logged .fav_not_logged_info_v2::before {
	top: -7px;
	right: auto;
	left: 50%;
	width: 12px;
	height: 12px;
	margin-left: -6px;
	border-top: 1px solid #e3e3e3;
	border-left: 1px solid #e3e3e3;
	background: #fff;
}

/* phone: over the bottom bar, full width */
html body .mobile_bottom_bar_container .fav_not_logged_info_container .fav_not_logged_info_v2 {
	width: 100%;
}

/* ---------- language switcher (next to the search): the flag with its code under it, like the labels of the
   other header icons (FAQ, Contact, ...) - Marcin 27.11.2026 (was a 27px flag alone, the code hidden) ---------- */
#header #languages_block_top .languages_top_new_current {
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 3px;
	height: auto;
	/* flag and code on the lines of the other icons and labels (icon top 18px, label top 43px) */
	margin-top: -2px;
}

/* the card's pointer under the centre of the 22px flag (was set for the 27px flag) */
#header #languages_block_top .languages_top_new_selection:before {
	right: 10px;
}

/* !important: responsive.css sets .languages_top_new img 27px !important */
#header #languages_block_top .languages_top_new_current img {
	display: block;
	width: 22px !important;
	height: 22px !important;
	margin: 0;
}

#header #languages_block_top .languages_top_new_current span {
	display: block;
	margin: 0;
	padding: 0;
	color: #6d6c67;
	font-family: "Open Sans", sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 14px;
	text-transform: uppercase;
	white-space: nowrap;
}

/* phones: no labels under the header icons; the block as tall as the flag - at 38px (theme) it made the icon row
   taller than on secondflor.us and the icons sat 7px higher than there */
@media (max-width: 767px) {
	#header #languages_block_top .languages_top_new_current span {
		display: none;
	}

	#header .header_contact_section_container #languages_block_top {
		height: auto;
		min-height: 0;
		align-self: center;
	}

	#header #languages_block_top .languages_top_new_current {
		margin-top: 0;
	}

	/* the theme pads the switcher to 36px around the 22px flag */
	#header #languages_block_top #countries,
	#header #languages_block_top .languages_top_new {
		height: auto;
		min-height: 0;
		padding-top: 0;
		padding-bottom: 0;
	}
}

/* Marcin 27.11.2026 (trial): "Ordering from the US? secondflor.us ->" at the bottom of the language card,
   grey band to the card's edges (the card has 6px padding) */
#languages_block_top .languages_top_new_selection a.sf-lang-us,
#languages_block_top .languages_top_new_selection a.sf-lang-us:visited {
	display: block;
	margin: 6px -6px -6px;
	padding: 12px 18px;
	border-top: 1px solid #ebebeb;
	border-radius: 0 0 6px 6px;
	background: #f4f4f4;
	color: #6d6c67;
	font-family: "Open Sans", sans-serif;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.4;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
}

#languages_block_top .languages_top_new_selection a.sf-lang-us .sf-lang-us__site {
	color: #414f34;
	font-weight: 600;
}

#languages_block_top .languages_top_new_selection a.sf-lang-us:hover .sf-lang-us__site,
#languages_block_top .languages_top_new_selection a.sf-lang-us:focus-visible .sf-lang-us__site {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* the card keeps its width on every screen, the US line wraps (Marcin 27.11.2026: as on phones, where the long
   French line pushed the card off the left edge); without the language codes in the rows (Marcin 27.11.2026) the
   card is narrower */
#languages_block_top .languages_top_new_selection {
	width: 170px;
	min-width: 0;
}

#languages_block_top .languages_top_new_select a .sf-lang-iso {
	display: none;
}

#languages_block_top .languages_top_new_selection a.sf-lang-us,
#languages_block_top .languages_top_new_selection a.sf-lang-us:visited {
	white-space: normal;
}

/* Marcin 27.11.2026: the open language card stays over the menu bar - the menu jumps to z-index 999 !important
   on hover (global.css .ets_mm_megamenu:hover), so moving the mouse from the flag down to the card put the menu
   over the card (the switcher was 101) */
#header #languages_block_top #countries {
	z-index: 1001 !important;
}
