/* Account, favourites and cart windows under the header icons (design 1 "Classique arrondi"). */
.md-pop {
	position: fixed;
	z-index: 99990;
	width: 340px;
	background: #fff;
	color: #1F1F1F;
	border: 1px solid #E3E3E8;
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(20, 20, 40, .14);
	font-family: Barlow, system-ui, sans-serif;
	/* Shown instantly on hover, without fade or movement (user, 29 October 2026). */
	visibility: hidden;
	pointer-events: none;
}
.md-pop.is-open { visibility: visible; pointer-events: auto; }
.md-pop::before {
	content: "";
	position: absolute;
	top: -8px;
	left: var(--arrow, 40px);
	width: 14px;
	height: 14px;
	background: #fff;
	border-left: 1px solid #E3E3E8;
	border-top: 1px solid #E3E3E8;
	border-top-left-radius: 3px;
	transform: rotate(45deg);
}
/* Bridge between the icon and the window, so the mouse can travel from one to the other. */
.md-pop::after { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.md-pop svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.md-pop__h { display: flex; gap: 12px; align-items: center; padding: 16px 18px 12px; }
.md-pop__h b { display: block; font-size: 19px; font-weight: 700; line-height: 1.2; }
.md-pop__h small { color: #6B6B75; font-size: 13px; }
.md-pop__b { padding: 4px 18px 16px; }
.md-pop__lead { margin: 14px 0 8px; font-weight: 600; font-size: 14px; text-align: center; }
.md-pop__btn {
	display: block;
	width: 100%;
	box-sizing: border-box;
	border: 2px solid #4743C5;
	border-radius: 10px;
	padding: 10px 12px;
	font: 700 15px Barlow, system-ui, sans-serif;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	background: #4743C5;
	color: #fff;
}
.md-pop__btn:hover { background: #3A36A8; border-color: #3A36A8; color: #fff; }
.md-pop__btn.is-sec { background: #fff; color: #4743C5; }
.md-pop__btn.is-sec:hover { background: #F1F0FF; color: #4743C5; }
.md-pop__perks { list-style: none; padding: 0; margin: 14px 0 0; font-size: 13.5px; color: #55555F; }
.md-pop__perks li { padding: 5px 0 5px 22px; position: relative; }
.md-pop__perks li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 5px; border-left: 2px solid #1E8A4C; border-bottom: 2px solid #1E8A4C; transform: rotate(-45deg); }
.md-pop__links { list-style: none; padding: 0; margin: 0 0 6px; }
.md-pop__links a { display: block; padding: 9px 4px; border-bottom: 1px solid #EFEFF3; color: #1F1F1F; text-decoration: none; font-size: 15px; font-weight: 600; }
.md-pop__links a:hover { color: #4743C5; }
.md-pop__f { display: flex; gap: 8px; align-items: center; justify-content: center; background: #F3F3F6; color: #55555F; font-size: 13px; padding: 11px; border-radius: 0 0 15px 15px; }
.md-pop__f svg { width: 16px; height: 16px; }
.md-pop__f2 { padding: 0 18px 16px; }
.md-pop__f2.is-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.md-pop__list { max-height: 300px; overflow-y: auto; }
.md-pop__it { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 22px; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid #EFEFF3; color: #1F1F1F; text-decoration: none; }
.md-pop__th { width: 52px; height: 52px; border-radius: 10px; border: 1px solid #EFEFF3; display: flex; align-items: center; justify-content: center; background: #fff; overflow: hidden; }
.md-pop__th img { max-width: 44px; max-height: 44px; object-fit: contain; }
.md-pop__tx { min-width: 0; font-size: 14px; line-height: 1.25; }
.md-pop__tx b { display: block; font-size: 11px; letter-spacing: .08em; color: #8A8A94; text-transform: uppercase; }
.md-pop__tx span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.md-pop__pr { font: 800 18px "Barlow Condensed", Barlow, sans-serif; color: #4743C5; white-space: nowrap; }
.md-pop__rm { border: 0; background: none; color: #A0A0A8; padding: 0; cursor: pointer; display: flex; }
.md-pop__rm:hover { color: #E0531F; }
.md-pop__rm svg { width: 16px; height: 16px; }
.md-pop__deal { margin: 12px 0 0; background: #FFF6DC; border-radius: 10px; padding: 9px 12px; font-size: 13px; color: #6B5200; }
.md-pop__tot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 15px; }
.md-pop__tot b { font: 800 24px "Barlow Condensed", Barlow, sans-serif; }
.md-pop__empty { text-align: center; color: #6B6B75; font-size: 14px; padding: 14px 0 6px; }
.md-pop__more { font-size: 13px; color: #6B6B75; text-align: center; padding: 8px 0 0; }
