/* ==========================================================================
   Egységes WB felületi elemek (2026-11-30), minden oldalon (index.php):
   1. kosárértesítés, 2. mobil fejlécmenü.
   ========================================================================== */

/* ==========================================================================
   1. Kosárértesítés (wjs/theme.js, KosarErtesites)
   A Sanimix kosárkártyájának (sm-cart-feedback) WB-arculatú változata: fehér
   kártya, felül arany jelzővonal, Jost, szögletes sarkok, 44 px-es célterületek.
   Asztalon jobbra lent, telefonon alul középen a téma alsó sávja és a termékoldal
   ragadós kosársávja fölött (--wb-ku-also: a JS méri).
   ========================================================================== */
.wb-kosar-uzenet {
	position: fixed;
	z-index: 1035;   /* a mobil alsó sáv (1000) és a „fel” gomb (#scrollTop, 1030) fölött, a panelek háttere (1040) alatt */
	right: max(24px, env(safe-area-inset-right));
	bottom: calc(var(--wb-ku-also, 0px) + 24px + env(safe-area-inset-bottom));
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) 44px;
	align-items: start;
	gap: 14px;
	width: min(392px, calc(100% - 48px));
	max-height: calc(100dvh - 24px);
	overflow: auto;
	padding: 14px 6px 14px 14px;
	border: 1px solid #e4e4e4;
	border-top: 2px solid #b9a16b;
	border-radius: 0;
	background: #fff;
	box-shadow: 0 18px 44px rgba(34, 34, 34, .16);
	color: #222;
	font-family: "Jost", sans-serif;
	text-align: start;
	overscroll-behavior: contain;
}
.wb-kosar-uzenet[hidden],
.wb-kosar-uzenet [hidden] { display: none !important; }
.wb-kosar-uzenet-be { animation: wb-kosar-uzenet-be .2s ease-out; }
@keyframes wb-kosar-uzenet-be { from { opacity: 0; transform: translateY(6px); } }

.wb-kosar-uzenet svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.wb-kosar-uzenet-kep {
	position: relative;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	background: #faf9f8;
	color: #222;
}
.wb-kosar-uzenet-kep img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #fff;
}
.wb-kosar-uzenet .wb-ku-figyelem { display: none; }
.wb-kosar-uzenet-szoveg { min-width: 0; }
.wb-kosar-uzenet p { margin: 0; text-align: start; }
.wb-kosar-uzenet-cim {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
}
.wb-kosar-uzenet .wb-ku-pipa { width: 18px; height: 18px; color: #2e6b45; stroke-width: 2; }
.wb-kosar-uzenet-nev {
	display: -webkit-box;
	margin-top: 3px !important;
	overflow: hidden;
	font-size: 14px;
	line-height: 1.4;
	color: #222;
	overflow-wrap: anywhere;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
}
.wb-kosar-uzenet-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0 12px;
	margin-top: 4px;
}
.wb-kosar-uzenet-darab { font-size: 13px; color: #767676; }
.wb-kosar-uzenet .wb-kosar-uzenet-kosar {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-left: auto;
	color: #222;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: underline;
	text-decoration-color: #b9a16b;
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}
.wb-kosar-uzenet-zar {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: -8px 0 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #222;
	cursor: pointer;
}
.wb-kosar-uzenet-zar svg { width: 18px; height: 18px; }
.wb-kosar-uzenet :is(a, button):focus-visible { outline: 2px solid #222; outline-offset: 2px; }

/* figyelmeztetés (pl. készlet, ár-egyeztetés): piros jelzővonal és ikon, nem tűnik el magától */
.wb-kosar-uzenet-figyelem { border-top-color: #c32929; }
.wb-kosar-uzenet-figyelem .wb-kosar-uzenet-cim { color: #c32929; }
.wb-kosar-uzenet-figyelem .wb-ku-pipa,
.wb-kosar-uzenet-figyelem .wb-ku-taska { display: none; }
.wb-kosar-uzenet-figyelem .wb-ku-figyelem { display: block; color: #c32929; }
.wb-kosar-uzenet-figyelem .wb-kosar-uzenet-kep { background: #fbeeee; }

@media (hover: hover) and (pointer: fine) {
	.wb-kosar-uzenet .wb-kosar-uzenet-kosar:hover { color: #222; text-decoration-color: #222; }
	.wb-kosar-uzenet-zar:hover { background: #faf9f8; }
}
@media (max-width: 767.98px) {
	.wb-kosar-uzenet {
		right: max(10px, env(safe-area-inset-right));
		left: max(10px, env(safe-area-inset-left));
		bottom: calc(var(--wb-ku-also, 0px) + 10px + env(safe-area-inset-bottom));
		width: auto;
		max-width: 420px;
		max-height: calc(100dvh - var(--wb-ku-also, 0px) - 20px);
		margin-inline: auto;
		grid-template-columns: 56px minmax(0, 1fr) 44px;
		gap: 12px;
		padding: 12px 4px 10px 12px;
	}
	.wb-kosar-uzenet-kep { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
	.wb-kosar-uzenet-be { animation: none; }
}
@media (forced-colors: active) {
	.wb-kosar-uzenet { border: 2px solid CanvasText; }
	.wb-kosar-uzenet svg { stroke: CanvasText; }
}

/* ==========================================================================
   2. Mobil fejlécmenü (index.php, .header-mobile__navigation): a menüpontok
   28 px magas szövegsorok voltak. Most 52 px-es, teljes szélességű sorok
   elválasztóval és arany nyíllal; az aktuális oldal arany jelölést kap.
   ========================================================================== */
.header-mobile .header-mobile__navigation .navigation__list {
	margin: 4px 0 16px;
	border-top: 1px solid #e4e4e4;
}
.header-mobile .header-mobile__navigation .navigation__list > li { margin: 0; }
.header-mobile .header-mobile__navigation .navigation__list > li > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 52px;
	padding: 6px 4px 6px 0;
	border-bottom: 1px solid #e4e4e4;
	color: #222;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	touch-action: manipulation;
}
.header-mobile .header-mobile__navigation .navigation__list > li > a::after {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	margin-right: 4px;
	border-top: 1.5px solid #b9a16b;
	border-right: 1.5px solid #b9a16b;
	transform: rotate(45deg);
}
.header-mobile .header-mobile__navigation .navigation__list > li.active > a {
	box-shadow: inset 3px 0 0 #b9a16b;
	padding-left: 14px;
}
.header-mobile .header-mobile__navigation .navigation__list > li > a:active { background: #faf9f8; }
.header-mobile .header-mobile__navigation .navigation__list > li > a:focus-visible,
.header-mobile .header-mobile__navigation .customer-links a:focus-visible {
	outline: 2px solid #222;
	outline-offset: -2px;
}
.header-mobile .header-mobile__navigation .customer-links {
	display: flex;
	align-items: center;
	gap: 10px;
}
.header-mobile .header-mobile__navigation .customer-links a {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
}
.header-mobile .header-mobile__navigation .customer-links a span { margin-left: 0 !important; }
@media (forced-colors: active) {
	.header-mobile .header-mobile__navigation .navigation__list > li > a::after { border-color: CanvasText; }
}
