/* Nagłówek i stopka sklepu, propozycja 1 Klasyczny (makieta panel-klienta.html?n=1).
   Wszystko pod .lph-ng i .lph-sf, z klasą + elementem w selektorze, żeby style
   zestawu Elementora (.elementor-kit-N a, h2…) nie przebijały kolorów.
   Kontrasty WCAG (kontrast.py, 2026-11-23):
   biały 86% na #123F27 (pasek): 9,22 | złoto #F9CA63 na #123F27: 7,73
   biały 80% na #123F27 (stopka): 8,24 | selektory odnośników mocniejsze niż .elementor-kit-N a (0,1,1) | #1F2622 na #FFF: 15,46 | biały na #17803F: 5,00 */

:root {
  --lph-f-head: 'Playfair Display', Georgia, serif;
  --lph-f-body: 'Poppins', system-ui, sans-serif;
  --lph-bg: #FFFFFF; --lph-bg2: #F2F6F3; --lph-ink: #1F2622; --lph-muted: #545E58; --lph-line: #DCE5DF;
  --lph-accent: #17803F; --lph-deco: #23A455; --lph-gold: #F9CA63; --lph-forest: #123F27;
  --lph-max: 1200px;
}

.lph-in { max-width: var(--lph-max); margin-inline: auto; padding-inline: 24px; }
.lph-ng .ik, .lph-sf .ik { width: 1.35rem; height: 1.35rem; flex: none; }

/* przyciski w motywie (menu na telefonie) */
.lph-ng a.lph-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 999px; border: 1.5px solid transparent;
  font: 500 .95rem/1 var(--lph-f-body); text-decoration: none; white-space: nowrap;
  transition: transform .2s, filter .2s;
}
.lph-ng a.lph-btn--main { background: var(--lph-accent); color: #fff; }
.lph-ng a.lph-btn--main:hover { filter: brightness(1.1); color: #fff; }
.lph-ng a.lph-btn--ghost { border-color: var(--lph-line); background: #fff; color: var(--lph-ink); }
.lph-ng a.lph-btn--ghost:hover { border-color: var(--lph-ink); color: var(--lph-ink); }
.lph-ng a.lph-btn:active { transform: translateY(1px) scale(.98); }

/* ══ Nagłówek ══ */
.lph-ng { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid var(--lph-line); font: 400 16px/1.5 var(--lph-f-body); color: var(--lph-ink); }
.lph-ng p { margin: 0; }
.lph-ng ul { margin: 0; padding: 0; list-style: none; }
.lph-ng a { text-decoration: none; }
.lph-ng :focus-visible { outline: 3px solid var(--lph-deco); outline-offset: 3px; }

.lph-ng .ng1-gora { background: var(--lph-forest); color: rgba(255,255,255,.86); font-size: .82rem; }
.lph-ng .ng1-gora .lph-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.lph-ng .ng1-gora p, .lph-ng .ng1-prawo { display: flex; align-items: center; gap: 20px; }
.lph-ng .ng1-gora a { display: inline-flex; align-items: center; gap: 6px; color: inherit; }
.lph-ng .ng1-gora a:hover, .lph-ng .ng1-gora a[aria-current] { color: #fff; }
.lph-ng .ng1-gora .ik { width: 1rem; height: 1rem; color: var(--lph-gold); }
.lph-ng .ng1-dol .lph-in { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.lph-ng .ng-nav { margin-inline: auto; }

.lph-ng .ng-logo { flex: none; display: block; color: var(--lph-ink); }
.lph-ng .ng-logo img { display: block; height: 40px; width: auto; }
.lph-ng .ng-logo__tekst { font: 600 1.4rem/1 var(--lph-f-head); }

.lph-ng .ng-menu { display: flex; align-items: center; gap: 2px; }
.lph-ng .ng-menu > li { position: relative; }
.lph-ng .ng-menu > li > a { display: flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: 999px; font: 500 .92rem/1 var(--lph-f-body); color: var(--lph-ink); white-space: nowrap; }
.lph-ng .ng-menu > li > a:hover, .lph-ng .ng-menu > li > a[aria-current] { background: var(--lph-bg2); color: var(--lph-ink); }
/* strzałka przy pozycji z podmenu: sam CSS, działa i dla menu z WordPressa, i dla domyślnego */
.lph-ng .ng-menu > .menu-item-has-children > a::after {
  content: ""; width: .4em; height: .4em; border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  transform: translateY(-25%) rotate(45deg); margin-left: 2px;
}
.lph-ng .ng-menu .sub-menu {
  display: none; position: absolute; top: 100%; left: 0; z-index: 60; min-width: 250px; padding: 8px;
  background: #fff; border: 1px solid var(--lph-line); border-radius: 14px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.3);
}
.lph-ng .ng-menu > li:hover > .sub-menu, .lph-ng .ng-menu > li:focus-within > .sub-menu { display: grid; }
.lph-ng .ng-menu .sub-menu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--lph-ink); font-size: .92rem; }
.lph-ng .ng-menu .sub-menu a:hover, .lph-ng .ng-menu .sub-menu a[aria-current] { background: var(--lph-bg2); color: var(--lph-ink); }

.lph-ng .ng-akcje { display: flex; align-items: center; gap: 6px; flex: none; }
.lph-ng .ng-ikona {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 42px; height: 42px; padding: 0 10px; margin: 0; border: 0; border-radius: 999px; background: none;
  color: var(--lph-ink); font: 500 .9rem/1 var(--lph-f-body); cursor: pointer; white-space: nowrap;
}
.lph-ng .ng-ikona:hover, .lph-ng .ng-ikona:focus { background: var(--lph-bg2); color: var(--lph-ink); }
.lph-ng .ng-ikona[aria-current] { color: var(--lph-accent); }
.lph-ng .kosz-ile {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--lph-gold); color: var(--lph-ink); font: 600 .7rem/18px var(--lph-f-body); text-align: center;
}
.lph-ng .kosz-ile[hidden] { display: none; }

.lph-ng .jez { display: inline-flex; gap: 2px; }
.lph-ng .jez a { padding: 4px 6px; border-radius: 6px; }
.lph-ng .jez a[aria-current] { font-weight: 600; }

/* telefon: przyklejony pasek */
.lph-ng .ng-mob { display: none; }
.lph-ng .ng-mob .lph-in { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 64px; padding-inline: 16px 8px; }
.lph-ng .ng-mob .ng-logo img { height: 30px; }
.lph-ng .ng-mob .ng-akcje { gap: 0; }
@media (max-width: 860px) {
  .lph-ng { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); }
  .lph-ng .ng-pc { display: none; }
  .lph-ng .ng-mob { display: block; }
}
@media (max-width: 600px) {
  .lph-ng { top: 0; } /* pasek administratora na telefonie przewija się ze stroną */
}

/* menu wysuwane z prawej (<dialog>) */
.lph-ng .szuflada {
  position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); max-width: none; height: 100dvh; max-height: none;
  margin: 0; padding: 0; border: 0; background: #fff; color: var(--lph-ink);
  translate: 100% 0; transition: translate .3s cubic-bezier(.2,.8,.2,1), overlay .3s allow-discrete, display .3s allow-discrete;
}
.lph-ng .szuflada[open] { translate: 0 0; }
@starting-style { .lph-ng .szuflada[open] { translate: 100% 0; } }
.lph-ng .szuflada::backdrop { background: rgba(0,0,0,.4); }
@media (prefers-reduced-motion: reduce) { .lph-ng .szuflada { transition: none; } }
html:has(.szuflada[open]) { overflow: hidden; }
.lph-ng .szuflada__panel { display: flex; flex-direction: column; gap: 20px; min-height: 100%; padding: 12px 20px 24px; }
.lph-ng .szuflada__gora { display: flex; justify-content: space-between; align-items: center; }
.lph-ng .szuflada__gora img { height: 28px; width: auto; }
.lph-ng .szuflada__menu { display: grid; border-top: 1px solid var(--lph-line); }
.lph-ng .szuflada__menu > li { border-bottom: 1px solid var(--lph-line); }
.lph-ng .szuflada__menu a { display: flex; align-items: center; padding: 14px 4px; font: 500 1.05rem/1.2 var(--lph-f-body); color: var(--lph-ink); }
.lph-ng .szuflada__menu .sub-menu { display: grid; padding: 0 0 10px 12px; }
.lph-ng .szuflada__menu .sub-menu a { padding: 10px 4px; font-size: .95rem; color: var(--lph-muted); }
.lph-ng .szuflada__menu a[aria-current] { color: var(--lph-accent); }
.lph-ng .szuflada__konto { display: grid; gap: 8px; }
.lph-ng .szuflada__konto .ik { width: 1.15rem; height: 1.15rem; }
.lph-ng .szuflada__dol { display: grid; gap: 10px; margin-top: auto; font-size: .9rem; color: var(--lph-muted); }
.lph-ng .szuflada__dol a { display: inline-flex; align-items: center; gap: 8px; color: var(--lph-ink); }
.lph-ng .szuflada__dol .ik { width: 1.1rem; height: 1.1rem; }
.lph-ng .szuflada__dol .jez a[aria-current] { color: var(--lph-accent); }

/* ══ Stopka ══ */
.lph-sf { background: var(--lph-forest); color: rgba(255,255,255,.8); font: 400 16px/1.6 var(--lph-f-body); }
.lph-sf p, .lph-sf ul { margin: 0; padding: 0; }
.lph-sf ul { list-style: none; }
html .lph-sf a { color: inherit; text-decoration: none; }
html .lph-sf a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.lph-sf :focus-visible { outline: 3px solid var(--lph-gold); outline-offset: 3px; }
.lph-sf .sf1 { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px 48px; }
.lph-sf .sf1-marka { display: grid; gap: 18px; align-content: start; max-width: 300px; }
.lph-sf .sf1-marka img { width: 72px; height: 72px; border-radius: 50%; }
.lph-sf h2.sf-tytul { margin: 0 0 16px; font: 600 .95rem/1.3 var(--lph-f-body); color: #fff; letter-spacing: 0; }
.lph-sf .sf-lista { display: grid; gap: 10px; font-size: .92rem; }
.lph-sf address { font-style: normal; font-size: .92rem; line-height: 1.75; margin: 0 0 14px; }
.lph-sf .social { display: flex; gap: 8px; }
.lph-sf .social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); color: #fff; }
.lph-sf .social a:hover { border-color: #fff; text-decoration: none; }
.lph-sf .social .ik { width: 1.15rem; height: 1.15rem; }
.lph-sf .sf-dol { font-size: .82rem; border-top: 1px solid rgba(255,255,255,.14); }
.lph-sf .sf-dol .lph-in { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-block: 20px; }
.lph-sf .sf-prawne__lista { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.lph-sf .plat { display: inline-flex; align-items: center; gap: 6px; }
.lph-sf .plat span:not(.screen-reader-text) { padding: 5px 10px; border-radius: 6px; background: #fff; color: #1F2622; font: 600 .72rem/1 var(--lph-f-body); }
@media (max-width: 860px) {
  .lph-sf .sf1 { grid-template-columns: 1fr 1fr; gap: 32px; }
  .lph-sf .sf1-marka { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .lph-sf .sf1 { grid-template-columns: minmax(0, 1fr); }
}
