/* Belépés + regisztráció (2026-10) — a kapcsolat-oldal és a pénztár szabályai:
   8 px rács, szögletes, 1 px halvány keret, 52 px vezérlő, fekete + Wasserburg-arany gomb sötét felirattal. */
.au-page {
	--ink: #222222; --text: #3c3c3c; --muted: #6b6b6b; --line: #e4e4e4; --line-strong: #cfcfcf; --page: #faf9f8;
	--gold: #b9a16b; --gold-hover: #a88f57; --gold-press: #957d47;
	--danger: #c32929; --ok: #2d6a43; --ease: cubic-bezier(.4, 0, .2, 1);
	padding-bottom: 80px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink);
}
/* A téma JS-e a fix fejléc magasságát (60 / 90 / 98 / 109 px) betöltés után írja a main padding-top-jába -> a tartalom egyszer 60-109 px-et ugrik.
   Itt ugyanezt az értéket előre beállítjuk, a JS utána ugyanazt írja be (nincs ugrás). */
body:has(.au-page) main { padding-top: 60px; }
@media (min-width: 992px) { body:has(.au-page) main { padding-top: 90px; } }
@media (min-width: 1200px) { body:has(.au-page) main { padding-top: 98px; } }
@media (min-width: 1400px) { body:has(.au-page) main { padding-top: 109px; } }
.au-page *, .au-page *::before, .au-page *::after { box-sizing: border-box; }
.store-location.container.au-wrap { max-width: 1120px; padding-left: 24px; padding-right: 24px; }
.store-location.container.au-wrap.au-wrap--reg { max-width: 1240px; }
@media (min-width: 1200px) { .store-location.container.au-wrap { padding-left: 40px; padding-right: 40px; } }
@media (max-width: 575px) { .store-location.container.au-wrap { padding-left: 16px; padding-right: 16px; } }
.store-location.container.au-wrap.au-wrap--narrow { max-width: 720px; }
.au-page .au-title { margin: 0 0 28px; text-align: center; overflow-wrap: anywhere; }
.au-lead { margin: 0 0 16px; color: var(--text); }
.au-lead--strong { margin-bottom: 32px; }
.au-lead b { font-weight: 500; color: var(--ink); }
.au-back { margin: 24px 0 0; text-align: center; color: var(--text); }
@media (max-width: 575px) { .au-page .au-title { margin: 0 0 20px; } }

.au-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
@media (min-width: 992px) { .au-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
.au-card { padding: 32px; background: #ffffff; border: 1px solid var(--line); }
@media (min-width: 1200px) { .au-card { padding: 40px; } }
@media (max-width: 575px) { .au-card { padding: 24px 16px; } }
.au-card--soft { background: var(--page); }
.au-card--stretch { align-self: stretch; }

.au-h { margin: 0 0 24px; font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.au-h + .au-sub { margin-top: -12px; }
.au-h:not(:first-child) { margin-top: 40px; }
.au-sub { margin: 0 0 12px; font-size: 16px; font-weight: 500; color: var(--ink); }

.au-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.au-full { grid-column: 1 / -1; }
.au-page .form-group { margin: 0; }
.au-field label, .au-page .form-group > label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--ink); }
.au-req { margin-left: 2px; color: var(--danger); font-weight: 500; }
.au-page :is(input[type="text"], input[type="email"], input[type="password"], input[type="tel"], select) {
	display: block;
	width: 100%;
	height: auto;
	min-height: 52px;
	margin: 0;
	padding: 13px 16px;
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
	color: var(--ink);
	background-color: #ffffff;
	border: 1px solid var(--line-strong);
	border-radius: 0;
	box-shadow: none;
	transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.au-page ::placeholder { color: var(--muted); opacity: 1; }
.au-page :is(input, select):hover { border-color: var(--muted); }
.au-page :is(input[type="text"], input[type="email"], input[type="password"], input[type="tel"], select):focus { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); outline: none; }
.au-page input.is-invalid { border-color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); }

/* jelszó + megjelenítés gomb */
.au-pw { position: relative; }
.au-pw input { padding-right: 56px !important; }
.au-pw-toggle {
	position: absolute; top: 0; right: 0;
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; padding: 0;
	color: var(--muted); background: none; border: 0; cursor: pointer;
	transition: color 150ms var(--ease);
}
.au-pw-toggle:hover { color: var(--ink); }
.au-pw-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
.au-pw-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.au-pw-toggle .au-eye-off { display: none; }
.au-pw-toggle[aria-pressed="true"] .au-eye { display: none; }
.au-pw-toggle[aria-pressed="true"] .au-eye-off { display: block; }

/* gombok */
.au-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 200px; min-height: 56px;
	padding: 12px 32px;
	font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1.2;
	letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
	color: var(--ink); background: var(--gold);
	border: 1px solid var(--gold); border-radius: 0; cursor: pointer;
	transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease);
}
.au-btn:hover { color: var(--ink); background: var(--gold-hover); border-color: var(--gold-hover); }
.au-btn:active { background: var(--gold-press); border-color: var(--gold-press); }
.au-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.au-btn--block { display: flex; width: 100%; }
.au-btn--dark { color: #ffffff; background: var(--ink); border-color: var(--ink); }
.au-btn--dark:hover { color: #ffffff; background: #000000; border-color: #000000; }
.au-btn--dark:active { background: #000000; border-color: #000000; }
.au-actions { margin-top: 32px; }
.au-links { display: flex; justify-content: flex-end; margin-top: 16px; }
.au-link { color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.au-link:hover { color: var(--ink); text-decoration-color: var(--ink); }
.au-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* belépés: regisztráció-panel */
.au-benefits { margin: 0 0 32px; padding: 0; list-style: none; }
.au-benefits li { position: relative; margin: 0; padding: 8px 0 8px 24px; color: var(--text); }
.au-benefits li::before { content: ""; position: absolute; left: 0; top: 17px; width: 8px; height: 8px; background: var(--gold); }
.au-note { margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--text); }
.au-note a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.au-note a:hover { text-decoration-color: var(--ink); }

/* regisztráció */
.au-switch { margin: -16px 0 32px; text-align: center; color: var(--text); }
.au-intro { margin: 0 0 32px; padding: 24px 32px; background: var(--page); border: 1px solid var(--line); }
.au-intro p { margin: 0 0 8px; color: var(--text); }
.au-intro .au-benefits { margin: 8px 0 0; }
@media (max-width: 575px) { .au-intro { padding: 20px 16px; } }

.au-check { display: flex; align-items: flex-start; gap: 12px; margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); cursor: pointer; }
.au-check input {
	-webkit-appearance: none; appearance: none;
	display: inline-grid; place-content: center;
	flex: 0 0 auto; width: 22px; height: 22px; margin: 2px 0 0; padding: 0;
	background: #ffffff; border: 1px solid var(--line-strong); border-radius: 0; cursor: pointer;
	transition: border-color 150ms var(--ease), background-color 150ms var(--ease);
}
.au-check input::after { content: ""; width: 11px; height: 6px; margin-top: -2px; border-left: 2px solid #ffffff; border-bottom: 2px solid #ffffff; transform: rotate(-45deg); opacity: 0; transition: opacity 150ms var(--ease); }
.au-check input:checked { background: var(--ink); border-color: var(--ink); }
.au-check input:checked::after { opacity: 1; }
.au-check input:hover { border-color: var(--muted); }
.au-check input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.au-check b { font-weight: 500; color: var(--ink); }
.au-consent { padding: 20px 0; border-top: 1px solid var(--line); }
.au-h + .au-consent { padding-top: 0; border-top: 0; }
.au-consent .au-legal, .au-consent .au-text { margin-top: 12px; }
.au-text { margin: 0; font-size: 14px; line-height: 1.6; font-style: italic; color: var(--muted); }
.au-legal {
	max-height: 132px; overflow: auto; padding: 12px 16px;
	font-size: 14px; line-height: 1.6; font-style: italic; color: var(--muted);
	background: var(--page); border: 1px solid var(--line);
	overscroll-behavior: contain;
}
.au-legal:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.au-legal :is(p, ul, ol) { margin: 0 0 8px; }
.au-legal > :last-child { margin-bottom: 0; }

.au-captcha { margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.au-captcha .au-hint { margin: 0 0 12px; font-size: 15px; font-weight: 500; color: var(--danger); }
.au-captcha-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.au-captcha-row label { margin: 0; font-size: 16px; font-weight: 500; white-space: nowrap; }
.au-captcha-row input[type="text"] { width: 160px; letter-spacing: .12em; }
.au-captcha-row img { display: block; height: 52px; width: auto; max-width: 100%; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; }
.au-captcha .au-help { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

/* irányítószám + település egy sorban, kis kijelzőn is */
.au-addr { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; }
.au-addr > * { min-width: 0; }
@media (max-width: 575px) {
	.au-fields { grid-template-columns: minmax(0, 1fr); }
	.au-btn { width: 100%; }
	.au-captcha-row input[type="text"] { flex: 1 1 0; width: 0; min-width: 0; }
	.au-links { justify-content: flex-start; }
	.au-addr { grid-template-columns: 112px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .au-page * { transition: none !important; } }
/* nagyon keskeny kijelzőn (≥300 px alatt, pl. 400%-os nagyítás) az irányítószám és a település egymás alá kerül */
@media (max-width: 299px) { .au-addr { grid-template-columns: minmax(0, 1fr); } }
/* A mobil alsó sáv (Főoldal / Webáruház / Belépés) az űrlap mezőit takarná, és a virtuális billentyűzet fölött a hely is kell:
   mint a pénztáron, ezeken az oldalakon rejtve van; a téma JS-e által a body-ra írt 52 px alsó térköz is megszűnik. */
@media (max-width: 767px) {
	body:has(.au-page) .footer-mobile { display: none !important; }
	body:has(.au-page) { padding-bottom: 0 !important; }
}
/* fókuszba görgetéskor a mező ne a fix fejléc alá kerüljön */
.au-page :is(input, select, button, a, label, .au-legal) { scroll-margin-top: 130px; scroll-margin-bottom: 32px; }
/* Windows nagy kontrasztú mód: a háttérrel rajzolt jelölők (lista-négyzet, pipa) a rendszerszíneket kapják */
@media (forced-colors: active) {
	.au-benefits li::before { background: CanvasText; }
	.au-check input:checked { background: Highlight; border-color: Highlight; }
	.au-check input:checked::after { border-color: HighlightText; }
	.au-btn { border: 2px solid ButtonText; }
}
