/* ==========================================================================
   Omega Vintage Watch — Panel klienta (Moje konto)
   Figma: 593:19111 i in. (desktop 1920), 593:28554 i in. (mobile 393).
   Korzysta z tokenów z main.css (--c-*, --f-*, --gutter…), doładowany po
   ovw-main. Aktywny tylko na stronach Moje konto (patrz inc/account.php).
   ========================================================================== */

/* Strona konta ma własny, szerszy układ — bez ogólnego ograniczenia .entry__content. */
body.woocommerce-account .entry__content { max-width: none; }
/* Okruszki: Figma 593:19111 — wiersz okruszków zaczyna się 18 px pod nagłówkiem (okruszki mają własne 13 px). */
body.woocommerce-account .page-shell { padding-top: 5px; }
body.woocommerce-account .page-shell .section-title { display: none; }
body.woocommerce-account.has-modal { overflow: hidden; }

.acct { display: block; }
/* Okruszki: w panelu i na logowaniu stoją na krawędzi kolumny (x=120), bez bocznego paddingu z main.css. */
.acct .crumbs { padding-left: 0; padding-right: 0; }
/* Figma 593:19111: „Witaj” 32 px pod okruszkami (tekst 84 px pod nagłówkiem), treść i menu 32 px pod „Witaj” (147 px pod
   nagłówkiem). Stała wysokość 31 px, żeby „Witaj” nie skakało między zakładkami z przyciskiem (40 px) i bez. */
.acct__head { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; height: 31px; margin: 32px 0 32px; }
.acct__head-cta { flex: none; }
.acct__greeting {
	margin: 0;
	font-family: var(--f-sans);
	font-size: 24px;
	font-weight: 500;
	line-height: 31px;
	color: var(--c-black);
}
.acct__notice {
	margin: 0 0 24px;
	padding: 14px 18px;
	border: 1px solid var(--c-gold);
	background: #faf8f3;
	font-size: 14px;
}
.acct__notice--error { border-color: #b83838; background: #fbefef; color: #b83838; }

/* Figma: menu 260 px od x=120, treść 1254 px od x=546 (odstęp 166). WooCommerce
   daje treści float:right + 68% szerokości — tu kolumną steruje grid. */
.acct__layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 0 166px; align-items: start; }
body.woocommerce-account .acct__layout > .woocommerce-MyAccount-content { float: none; width: auto; max-width: 1254px; min-width: 0; }

/* ---------- Nawigacja boczna ---------- */
.acct-nav { border: none; }
/* Figma 593:19282: każda zakładka to osobne pole 260×62 z ramką, odstęp 14 px. „Wyloguj się” w Figmie stoi 120 px niżej; na prośbę użytkownika (09.10) w tym samym rytmie 14 px. */
.acct-nav__list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 0 0 14px; padding: 0; }
.acct-nav__list li { border: 1px solid #eeeeee; }
.acct-nav__list a {
	display: flex;
	align-items: center;
	height: 60px;
	padding: 0 14px;
	font-family: var(--f-sans);
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--c-black);
	text-decoration: none;
	transition: background-color 0.2s var(--ease-out);
}
.acct-nav__list a:hover,
.acct-nav__list a:focus-visible { background: #f5f3ee; }
.acct-nav__list li.is-active a { background: #ededed; }
.acct-nav__logout {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	height: 48px;
	padding: 0 14px;
	border: 1px solid #eeeeee;
	font-family: var(--f-sans);
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #b83838;
	text-decoration: none;
}
.acct-nav__logout:hover { background: #fbefef; }

/* Menu mobilne: zwijany wybór aktualnej zakładki. */
.acct-nav--mobile { display: none; }

/* ---------- Przyciski wspólne ---------- */
.acct-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 24px;
	border: 1px solid transparent;
	background: var(--c-sand);
	font-family: var(--f-sans);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--c-black);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.acct-btn:hover, .acct-btn:focus-visible { background: var(--c-sand-hover); }
.acct-btn--ghost { background: none; border-color: var(--c-border); }
.acct-btn--ghost:hover { background: var(--c-black); color: var(--c-white); border-color: var(--c-black); }
.acct-btn--block { width: 100%; }
/* Wypełniony piaskiem, bez ramki (Figma „Szczegóły zamówienia” 223×40, #d9cfb7). */
.acct-btn--sand { border-color: transparent; }
.acct-btn[disabled] { opacity: 0.5; pointer-events: none; }

/* ---------- Karty zamówień (home / zwroty / gwarancje) ---------- */
.acct-orders { display: flex; flex-direction: column; gap: 32px; }
.acct-order { border: 1px solid #e9e9e9; }
/* Nagłówek karty (Figma 1254×161): wiersz tytułu 28 px + 24 + blok faktów 62 px + padding 24. */
.acct-order__head {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 24px;
	background: #f9f9f9;
	border-bottom: 1px solid #e9e9e9;
}
.acct-order__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; min-height: 28px; }
.acct-order__id { margin: 0; font-family: var(--f-sans); font-size: 16px; font-weight: 600; line-height: 28px; }
.acct-order__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
/* Figma 593:19320: podpis (wiersz 34 px) i wartość 28 px niżej; blok niższy o 4 px, żeby karta miała 373 px, nie 377. */
.acct-order__facts { display: flex; flex-wrap: wrap; gap: 12px 82px; margin: 0; min-height: 58px; }
.acct-order__facts dt { height: 28px; font-size: 14px; line-height: 34px; color: #8e8e8e; }
.acct-order__facts dd { margin: 0; font-size: 14px; line-height: 28px; color: var(--c-black); }
.acct-order__actions { display: flex; flex-wrap: wrap; gap: 16px; align-self: center; margin-left: auto; }
.acct-order--claim { list-style: none; }
.acct-order--claim:not(:has(.acct-order__items)) .acct-order__head { border-bottom: none; }
/* Status (Figma 593:19308): ikona 18 px + tekst 14 px Regular w wierszu 28 px, bez tła; w zgłoszeniach sam tekst. */
.acct-order__status { display: inline-flex; align-items: center; gap: 8px; height: 28px; font-size: 14px; font-weight: 400; line-height: 28px; color: var(--c-black); }
.acct-order__status svg { flex: none; width: 18px; height: 18px; }

/* Produkty: zdjęcie 164×164 + nazwa (DM Sans Light 14), specyfikacja 12 #979797, „Zobacz produkt”. */
.acct-order__items { display: flex; flex-direction: column; gap: 24px; padding: 24px; }
.acct-order__item { display: flex; align-items: center; gap: 24px; }
.acct-order__item img,
.acct-order__item-ph { display: block; width: 164px; height: 164px; object-fit: cover; border: 1px solid #eeeeee; flex: none; background: var(--c-mist); }
.acct-order__item-name { margin: 0; font-family: var(--f-sans); font-size: 14px; font-weight: 300; line-height: 1.2; }
.acct-order__item-qty { margin: 12px 0 0; font-size: 12px; line-height: 1.2; color: #979797; }
.acct-order__item-link { display: inline-block; margin-top: 36px; font-size: 14px; font-weight: 600; line-height: 18px; color: var(--c-black); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Obserwowane ---------- */
.acct-wish { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.acct-wish__tile { border: 1px solid var(--c-line); }
.acct-wish__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--c-mist); }
.acct-wish__media img { width: 100%; height: 100%; object-fit: cover; }
.acct-wish__remove {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #e5e5e5;
	background: rgba(255, 255, 255, 0.92);
	cursor: pointer;
}
.acct-wish__remove .icon { width: 18px; height: 18px; }
/* Figma 593:19620: kafel 402×554 — rok 18 px, nazwa 22 px, parametry 16 px, cena i przycisk w jednym wierszu (przycisk 4 px nad parametrami). */
.acct-wish__body { padding: 19px 17px 31px 21px; }
.acct-wish__year { display: block; font-size: 14px; line-height: 18px; color: var(--c-black); }
.acct-wish__name { margin: 4px 0 0; font-family: var(--f-serif); font-size: 16px; font-weight: 400; line-height: 22px; }
.acct-wish__spec { margin: 4px 0 0; font-size: 12px; line-height: 16px; color: var(--c-muted); }
.acct-wish__row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: -4px; }
.acct-wish__price { font-size: 16px; font-weight: 600; line-height: 21px; }
.acct-wish__cart {
	width: 64px; height: 42px; border-radius: 52px; background: var(--c-sand);
	display: flex; align-items: center; justify-content: center; border: none; cursor: pointer;
}
.acct-wish__cart .icon { width: 20px; height: 20px; }
.acct-empty { padding: 48px 0; text-align: center; color: var(--c-f-line); }
.acct-empty a { color: var(--c-black); text-decoration: underline; }

/* ---------- Zwroty / gwarancje ---------- */
.acct-claims__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.acct-claims__title { margin: 0; font-size: 16px; font-weight: 500; }
/* Zgłoszenia to karty jak zamówienia (.acct-order--claim, Figma 593:20501). */
.acct-claim-list { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 32px; }
.acct-claim-list .acct-order__id { font-size: 16px; }

/* ---------- Powiadomienia ---------- */
/* Figma 593:21916: przycisk ustawień po prawej 14 px pod górą treści (bez nagłówka), lista 20 px niżej; wiersz 112 px,
   ikona 57 px 21 px od krawędzi, tekst 96 px od lewej, wiersze co 18 px. */
.acct-notif__head { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding-top: 14px; margin-bottom: 20px; }
.acct-notif-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.acct-notif-row { display: flex; gap: 18px; min-height: 112px; padding: 21px; border: 1px solid #ededed; box-sizing: border-box; }
.acct-notif-row > div:last-child { flex: 1; min-width: 0; }
.acct-notif-row__icon {
	flex: none; width: 57px; height: 57px; border: 1px solid #e5e5e5;
	display: flex; align-items: center; justify-content: center;
}
.acct-notif-row__icon .icon { width: 24px; height: 24px; }
.acct-notif-row__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.acct-notif-row__title { margin: 0; font-size: 16px; font-weight: 600; line-height: 28px; }
.acct-notif-row__date { margin-top: 5px; font-size: 14px; line-height: 19px; white-space: nowrap; }
.acct-notif-row__text { margin: 4px 0 0; font-size: 14px; line-height: 19px; color: var(--c-black); }
/* Figma 593:21953: sama ikona + napis (215×40), bez ramki. */
.acct-settings-open {
	display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 13px;
	border: none; background: none; font-size: 14px; cursor: pointer;
}
.acct-settings-open:hover { background: #f9f9f9; }
.acct-settings-open .icon { width: 18px; height: 18px; }

/* ---------- Moje dane ---------- */
/* Figma 593:20003: tytuł sekcji 21 px, pola 48 px pod pierwszym tytułem i 39 px pod kolejnymi; pola co 13 px w pionie, 10 w poziomie, sekcje co 27 px. */
.acct-section-title { margin: 0 0 18px; font-family: var(--f-sans); font-size: 16px; font-weight: 500; line-height: 21px; }
.acct-account-form > .acct-section-title:first-of-type { margin-bottom: 27px; }
.acct-account-form { max-width: 828px; } /* Figma: kolumna „Moje dane” 828 px */
.acct-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 10px; margin-bottom: 27px; }
.acct-fields--single { grid-template-columns: 1fr; }
.acct-field { position: relative; grid-column: span 1; }
.acct-field--full { grid-column: 1 / -1; }
.acct-field { border: 1px solid #eaeaea; background: var(--c-white); padding: 6px 20px; min-height: 54px; }
.acct-field label {
	display: block; font-family: var(--f-sans); font-size: 12px; font-weight: 300; color: #808080;
}
.acct-field input,
.acct-field select {
	display: block; width: 100%; border: none; padding: 2px 0 0; font-family: var(--f-sans); font-size: 14px;
	color: var(--c-black); background: none; appearance: none;
}
.acct-field input:focus, .acct-field select:focus { outline: none; }
.acct-field select { cursor: pointer; }
.acct-field--select::after {
	content: ''; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px;
	border-right: 1.5px solid var(--c-black); border-bottom: 1.5px solid var(--c-black);
	transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
fieldset.acct-fieldset { border: none; margin: 0 0 40px; padding: 0; }
fieldset.acct-fieldset legend { padding: 0 0 20px; font-family: var(--f-sans); font-size: 16px; font-weight: 500; }
.acct-actions { display: flex; justify-content: flex-end; gap: 18px; }
.acct-account-form .acct-actions .acct-btn { width: 156px; padding: 0; } /* Figma 593:20075: oba przyciski 156×40, odstęp 18 */

/* ---------- Logowanie / rejestracja (Figma 593:34019, wzorzec z checkoutu) ---------- */
/* Okruszki wyrównane do krawędzi strony (x=120); kolumny formularzy wyśrodkowane. Figma: kolumna 553 px. */
.acct-auth { margin: 0; }
/* Figma 593:34019: tytuł 110 px pod nagłówkiem, czyli 58 px pod wierszem okruszków. */
.acct-auth__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 113px; align-items: start; max-width: 1219px; margin: 58px auto 0; }
.acct-auth__grid--single { grid-template-columns: 1fr; max-width: 553px; margin: 58px auto 0; }
.acct-auth__col[hidden] { display: none; }
.acct-auth__col h2:focus { outline: none; }
.acct-auth__col h2 { margin: 0 0 10px; font-family: var(--f-sans); font-size: 16px; font-weight: 400; line-height: 21px; }
.acct-auth__col > p.acct-auth__lead,
.acct-auth form.lost_reset_password p.acct-auth__lead { margin: 0 0 32px; font-size: 14px; line-height: 18px; color: var(--c-f-link-m); }
/* Reset stylów WooCommerce dla formularzy logowania/rejestracji — `.woocommerce form.login` (ramka, padding 20,
   margines 2em, zaokrąglenie) i `.woocommerce form .form-row .input-text` (height:auto → pola 34 px, przycisk
   wystający poza kartę) mają wyższą specyficzność niż same klasy .acct-auth. */
body.woocommerce-account .acct-auth form.login,
body.woocommerce-account .acct-auth form.register,
body.woocommerce-account .acct-auth form.lost_reset_password { border: 0; border-radius: 0; padding: 0; margin: 0; }
body.woocommerce-account .acct-auth form .form-row { float: none; width: 100%; padding: 0; margin: 0 0 24px; }
.acct-auth label { display: block; margin-bottom: 8px; font-family: var(--f-sans); font-size: 12px; font-weight: 500; line-height: 16px; color: var(--c-black); }
body.woocommerce-account .acct-auth form .form-row label { line-height: 16px; }
body.woocommerce-account .acct-auth form .form-row .input-text {
	display: block; width: 100%; height: 54px; padding: 0 18px; border: 1px solid #eaeaea; border-radius: 0;
	background: var(--c-white); font-family: var(--f-sans); font-size: 14px; color: var(--c-black); box-sizing: border-box;
}
body.woocommerce-account .acct-auth form .form-row .input-text:focus { outline: none; border-color: var(--c-black); }
body.woocommerce-account .acct-auth .password-input { display: block; position: relative; }
body.woocommerce-account .acct-auth .password-input .input-text { padding-right: 52px; }
body.woocommerce-account .acct-auth .show-password-input { top: 50%; transform: translateY(-50%); height: auto; }
.acct-auth label.acct-auth__remember { display: flex; height: 18px; margin: 0; }
/* Figma 593:34156: wiersz 18 px, 24 px pod polem hasła i 30 px nad przyciskiem. */
.acct-auth__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 18px; margin-bottom: 30px; }
.acct-auth__remember { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; }
.acct-auth__remember input { width: 18px; height: 18px; accent-color: var(--c-black); }
.acct-auth__lost { font-family: var(--f-sans); font-size: 12px; font-weight: 500; line-height: 16px; color: var(--c-black); }
.acct-auth .woocommerce-form-login__submit,
.acct-auth .woocommerce-form-register__submit,
.acct-auth button[type="submit"] {
	display: flex; align-items: center; justify-content: center; float: none; width: 100%; height: 63px; padding: 0; margin: 0; border: none; border-radius: 0; background: var(--c-black);
	font-family: var(--f-sans); font-size: 14px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--c-white);
	cursor: pointer;
}
.acct-auth .woocommerce-form-login__submit:hover,
.acct-auth button[type="submit"]:hover { background: #2b2b2b; color: var(--c-white); }
/* Wtyczkowe `.woocommerce form .button` dawało float:left — przycisk wystawał z formularza, a link pod nim wchodził na niego. */
body.woocommerce-account .acct-auth form button[type="submit"] { float: none; }
/* Rejestracja: przycisk piaskowy z czarnym napisem (Figma 593:17447, jak w kasie). */
body.woocommerce-account .acct-auth form.register button[type="submit"],
body.woocommerce-account .acct-auth form.register button[type="submit"]:hover { background: var(--c-sand); color: var(--c-black); }
body.woocommerce-account .acct-auth form.register button[type="submit"]:hover { background: var(--c-sand-hover); }
/* Wymagania hasła (Figma 593:17579): tytuł 14 px, wiersze co 27,5 px, spełnione #0caa0c, niespełnione #adadad. */
.acct-pw { margin: -5px 0 32px; }
.acct-pw__title { margin: 0 0 10px; font-size: 14px; line-height: 18px; color: var(--c-black); }
.acct-pw__rules { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7.5px; font-size: 14px; line-height: 18px; color: #adadad; }
.acct-pw__rules li { display: flex; align-items: center; gap: 13px; }
.acct-pw__rules svg { flex: none; width: 20px; height: 20px; padding: 4px; color: #adadad; }
.acct-pw__rules li.is-met, .acct-pw__rules li.is-met svg { color: #0caa0c; }.acct-auth .required { color: var(--c-black); text-decoration: none; }
body.woocommerce-account .acct-auth form.lost_reset_password button[type="submit"] {
	display: flex; align-items: center; justify-content: center; width: 100%; height: 63px; margin: 8px 0 0; padding: 0; border: none; border-radius: 0;
	background: var(--c-black); color: var(--c-white); font-family: var(--f-sans); font-size: 14px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
}
body.woocommerce-account .acct-auth form.lost_reset_password button[type="submit"]:hover { background: #2b2b2b; color: var(--c-white); }
.acct-auth .woocommerce-LostPassword { margin: 0; font-size: 13px; }
.acct-auth__switch { margin: 20px 0 0; text-align: center; font-family: var(--f-sans); font-size: 14px; font-weight: 500; }
.acct-auth__switch a { color: var(--c-black); }
/* „Nie masz jeszcze konta? Zarejestruj się” pod przyciskiem (Figma 593:34154: 48 px pod przyciskiem, link podkreślony). */
.acct-auth__switch--below { margin-top: 48px; line-height: 18px; }
.acct-auth__switch--below a { text-decoration: underline; text-underline-offset: 0.2em; }
.acct-auth .u-columns { display: block; }
.acct-auth .woocommerce-privacy-policy-text { font-size: 12px; color: var(--c-muted); }

/* Pola dotyku min. 44×44 px na telefonie i tablecie — niewidocznie (::before z ujemnym inset), wygląd bez zmian. */
@media (max-width: 1279px), (pointer: coarse) {
	.acct-auth__remember,
	.acct-auth__lost,
	.acct-auth__switch a { position: relative; }
	.acct-auth__remember::before { content: ''; position: absolute; inset: -13px -8px; }
	.acct-auth__lost { display: inline-block; }
	.acct-auth__lost::before { content: ''; position: absolute; inset: -14px -8px; }
	.acct-auth__switch a::before { content: ''; position: absolute; inset: -13px -8px; }
	/* Ikona oka to ::before z WooCommerce — pole dotyku idzie w ::after. */
	body.woocommerce-account .acct-auth .show-password-input::after { content: ''; position: absolute; inset: -11px; }
}

/* ---------- Modal ---------- */
.acct-modal {
	position: fixed; inset: 0; z-index: 90;
	display: flex; align-items: center; justify-content: center;
	background: rgba(0, 0, 0, 0.42);
	padding: 24px;
}
.acct-modal[hidden] { display: none; }
.acct-modal__panel {
	width: 100%; max-width: 600px; max-height: 88vh; overflow-y: auto;
	background: #f9f9f9; border: 1px solid #e5e5e5; box-shadow: 0 20px 73px rgba(0, 0, 0, 0.18);
}
.acct-modal__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 24px 28px; border-bottom: 1px solid #ececec;
}
.acct-modal__head h2 { margin: 0; font-family: var(--f-sans); font-size: 16px; font-weight: 600; }
.acct-modal__close {
	width: 40px; height: 40px; border: 1px solid #e5e5e5; background: none; cursor: pointer;
	display: flex; align-items: center; justify-content: center; flex: none;
}
.acct-modal__body { padding: 24px 28px; }
.acct-modal__foot { padding: 20px 28px; border-top: 1px solid #ececec; display: flex; justify-content: flex-end; }

.acct-modal .acct-field { margin-bottom: 14px; }
.acct-modal textarea {
	width: 100%; min-height: 120px; border: 1px solid #eaeaea; padding: 12px 16px; font-family: var(--f-sans); font-size: 14px; resize: vertical;
}

/* Wiersz ustawienia powiadomień z przełącznikiem. */
.acct-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid #ececec; }
.acct-toggle-row:last-child { border-bottom: none; }
.acct-toggle-row__title { margin: 0; font-size: 14px; font-weight: 600; }
.acct-toggle-row__desc { margin: 4px 0 0; font-size: 13px; color: var(--c-muted); line-height: 1.4; max-width: 380px; }
.acct-toggle { position: relative; flex: none; }
.acct-toggle input { position: absolute; opacity: 0; width: 48px; height: 24px; margin: 0; cursor: pointer; }
.acct-toggle__track {
	position: relative; display: block; width: 48px; height: 24px; border-radius: 42px; background: #e5e5e5; transition: background-color 0.2s var(--ease-out);
}
.acct-toggle__track::before {
	content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--c-white);
	transition: transform 0.2s var(--ease-out);
}
.acct-toggle.is-on .acct-toggle__track { background: var(--c-sand); }
.acct-toggle.is-on .acct-toggle__track::before { transform: translateX(24px); }

/* Natywne komunikaty WooCommerce (np. „Potwierdź adres e-mail”) — spójne z resztą panelu. */
body.woocommerce-account .woocommerce-notices-wrapper { margin: 0 0 24px; }
body.woocommerce-account .woocommerce-notices-wrapper:not(:has(*)) { margin: 0; } /* pusty — bez 24 px nad okruszkami */
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-error {
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
	list-style: none; margin: 0 0 16px; padding: 16px 20px; border: 1px solid var(--c-gold); background: #faf8f3; font-size: 14px;
}
body.woocommerce-account .woocommerce-error { border-color: #b83838; background: #fbefef; }
body.woocommerce-account .woocommerce-info::before,
body.woocommerce-account .woocommerce-message::before,
body.woocommerce-account .woocommerce-error::before { display: none; }
body.woocommerce-account .woocommerce-info .button,
body.woocommerce-account .woocommerce-message .button,
body.woocommerce-account .woocommerce-error .button { order: 2; margin-left: auto; }

/* Domyślna tabela WooCommerce (szczegóły zamówienia) — spójna z resztą projektu. */
body.woocommerce-account table.shop_table {
	width: 100%; border-collapse: collapse; margin: 0 0 32px; font-family: var(--f-sans); font-size: 14px;
}
body.woocommerce-account table.shop_table th,
body.woocommerce-account table.shop_table td { padding: 14px 16px; border-bottom: 1px solid #ededed; text-align: left; }
body.woocommerce-account table.shop_table thead th { background: #f9f9f9; font-weight: 600; text-transform: uppercase; font-size: 12px; letter-spacing: 0.05em; }
body.woocommerce-account .woocommerce-order-details,
body.woocommerce-account .woocommerce-customer-details { margin-bottom: 32px; }
body.woocommerce-account .wc-bacs-bank-details,
body.woocommerce-account address { font-style: normal; }
body.woocommerce-account mark.order-status { background: var(--c-sand); padding: 2px 10px; border-radius: 20px; font-size: 12px; text-transform: uppercase; }
body.woocommerce-account .woocommerce-Button,
body.woocommerce-account a.button {
	display: inline-flex; align-items: center; height: 40px; padding: 0 22px; border: 1px solid var(--c-black);
	background: var(--c-sand); font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em;
	text-decoration: none; color: var(--c-black);
}

/* Pola dotyku panelu min. 44 px — niewidocznie (::before z ujemnym inset), wygląd bez zmian. */
@media (max-width: 1279px), (pointer: coarse) {
	.acct-btn, .acct-settings-open, .acct-wish__cart, .acct-modal__close, .acct-order__item-link { position: relative; }
	.acct-btn::before, .acct-settings-open::before, .acct-modal__close::before { content: ''; position: absolute; inset: -2px; }
	.acct-wish__cart::before { content: ''; position: absolute; inset: -1px 0; }
	.acct-order__item-link::before { content: ''; position: absolute; inset: -13px -8px; }
}

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1279px) {
	.acct__layout { grid-template-columns: 220px 1fr; gap: 0 32px; }
	.acct-wish { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Mobile (393) — sidebar zwinięty do rozwijanej listy zakładek.
   ========================================================================== */
@media (max-width: 767px) {
	/* Okruszki stoją jak na innych stronach (Figma 593:28554 i 593:31347: ta sama wysokość pod nagłówkiem). */
	body.woocommerce-account .page-shell { padding-left: 20px; padding-right: 20px; padding-top: 0; }
	/* Figma 593:28554: „Witaj” 18 px (wiersz 23 px) 18 px pod okruszkami, menu 18 px pod „Witaj”. */
	.acct__greeting { font-size: 18px; line-height: 23px; }
	.acct__head { flex-direction: column; align-items: stretch; gap: 16px; height: auto; margin: 18px 0 18px; }
	.acct__head-cta { width: 100%; height: auto; min-height: 40px; padding: 10px 20px; text-align: center; line-height: 1.3; }
	.acct__layout { display: block; }
	.acct-nav--desktop { display: none; }
	.acct-nav--mobile { display: block; margin-bottom: 24px; }
	.acct-nav--mobile > summary {
		display: flex; align-items: center; justify-content: space-between; gap: 12px;
		height: 74px; padding: 0 20px; background: #f5f5f5; border: 1px solid #f4f4f4;
		font-family: var(--f-sans); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer;
		list-style: none;
	}
	.acct-nav--mobile > summary::-webkit-details-marker { display: none; }
	.acct-nav--mobile[open] > summary .icon { transform: rotate(180deg); }
	.acct-nav--mobile ul { list-style: none; margin: 0; padding: 0; border: 1px solid #f0f0f0; border-top: none; }
	.acct-nav--mobile a {
		display: flex; align-items: center; height: 56px; padding: 0 20px; font-size: 14px;
		letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-black); text-decoration: none;
		border-bottom: 1px solid #f0f0f0;
	}
	.acct-nav--mobile li.is-active a { background: #ededed; }
	.acct-nav--mobile .acct-nav__logout { border: none; height: 56px; }

	/* Przycisk „Zgłoś gwarancję produktu” / „Zwróć / zareklamuj produkt” zawijał się
	   w wysokości 40px (.acct-btn) obok tytułu — na mobile pod tytułem, pełna szerokość. */
	.acct-claims__head { flex-direction: column; align-items: stretch; gap: 12px; }
	.acct-claims__head .acct-btn { width: 100%; height: auto; min-height: 40px; padding: 10px 20px; white-space: normal; text-align: center; line-height: 1.3; }

	.acct-wish { grid-template-columns: 1fr; }
	/* Figma 593:28554: padding 18, status w osobnym wierszu 12 px pod tytułem, fakty co 61 px, przyciski 38 px pod faktami. */
	.acct-order__head { padding: 18px; gap: 24px; }
	.acct-order__top { flex-direction: column; align-items: flex-start; gap: 12px; }
	.acct-order__row { flex-direction: column; align-items: stretch; gap: 38px; }
	.acct-order__facts { flex-direction: column; gap: 5px; min-height: 0; }
	.acct-order__actions { flex-direction: column; align-self: stretch; margin-left: 0; gap: 12px; }
	.acct-order__actions .acct-btn { width: 100%; }
	/* Powiadomienia (Figma 593:29746): przycisk ustawień 36 px, wiersz w kolumnie — ikona nad tekstem, data pod tytułem, wiersze co 12 px. */
	.acct-notif__head { padding-top: 0; margin-bottom: 18px; }
	.acct-settings-open { height: 36px; }
	.acct-settings-open::before { inset: -4px; }
	.acct-notif-list { gap: 12px; }
	.acct-notif-row { flex-direction: column; gap: 18px; }
	.acct-notif-row > div:last-child { flex: none; }
	.acct-notif-row__head { flex-direction: column; gap: 0; }
	.acct-notif-row__date { margin-top: 0; }
	.acct-notif-row__text { margin-top: 12px; }
	.acct-order__items { padding: 21px 18px; }
	.acct-order__item { gap: 24px; }
	.acct-order__item img,
	.acct-order__item-ph { width: 126px; height: 126px; }
	.acct-order__item-link { margin-top: 20px; }
	.acct-btn--block-m { width: 100%; }

	.acct-fields { grid-template-columns: 1fr; }
	/* iOS powiększa stronę przy polach <16px */
	.acct-field input,
	.acct-field select,
	body.woocommerce-account .acct-auth form .form-row .input-text,
	.acct-modal textarea { font-size: 16px; }
	.acct-auth__grid { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
	.acct-auth__grid--single { margin-top: 40px; }
	.acct-modal { padding: 12px; }
	.acct-actions { flex-direction: column-reverse; }
	.acct-actions .acct-btn,
	.acct-account-form .acct-actions .acct-btn { width: 100%; }
}
