/*
Theme Name: Pet Care Zone Child
Template: pet-care-zone
Description: Naprawione menu (desktop + mobile) – wersja stabilna 3.1
Version: 3.1
*/

/* ===================== */
/* HEADER                */
/* ===================== */
header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 25px;
  background: #13213C;
  position: relative;
  z-index: 1000;
}
/* ====================================== */
/* 📱 DOPRACOWANE MENU MOBILNE – WYRÓWNANE */
/* ====================================== */
@media (max-width: 1024px) {

  /* Wyrównanie głównych linków */
  #primary-menu > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 54px !important;
    padding: 0 24px !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    color: #fff !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
  }

  /* Submenu bez przesunięcia w bok */
  #primary-menu li ul.sub-menu {
    padding: 0 !important;
    margin: 0 !important;
    background-color: #1e2a44 !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* Pozycje submenu – jedno wcięcie i równa wysokość */
  #primary-menu li ul.sub-menu li a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 50px !important;
    padding: 0 36px !important; /* jedno wcięcie względem głównego menu */
    font-size: 16px !important;
    color: #fff !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }

  /* Równe odstępy między wszystkimi elementami menu */
  #primary-menu li {
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  }

  /* Efekt hover */
  #primary-menu li a:hover {
    background-color: rgba(255,255,255,0.08) !important;
    color: #f7a12d !important;
  }

  /* Submenu ma być zawsze pod katalogiem (nie obok) */
  #primary-menu li ul.sub-menu {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
  }
}

.site-branding img {
  max-height: 65px;
  width: auto;
}

/* ===================== */
/* DESKTOP MENU          */
/* ===================== */
nav.main-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#primary-menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 30px;
}

#primary-menu > li {
  position: relative;
}

#primary-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

#primary-menu a:hover {
  color: #f78f1e;
}

/* --- Submenu desktop --- */
#primary-menu li ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #13213C;
  list-style: none;
  padding: 10px 0;
  border-radius: 0;
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  z-index: 9999;
  min-width: 220px;
}

#primary-menu li:hover > ul.sub-menu {
  display: block;
}

#primary-menu ul.sub-menu li a {
  display: block;
  padding: 12px 24px;
  color: #fff;
}

#primary-menu ul.sub-menu li a:hover {
  background: rgba(255,255,255,0.1);
  color: #f7a12d;
}

/* ===================== */
/* HAMBURGER ICON        */
/* ===================== */
.menu-toggle {
  background: none;
  border: none;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  display: none;
  z-index: 999999;
  position: relative;
}

/* ===================== */
/* MOBILE MENU (≤1024px) */
/* ===================== */
@media (max-width: 1024px) {

  /* 🍔 HAMBURGER */
  .menu-toggle {
    display: block !important;
    position: fixed !important;
    top: 36px !important;
    right: 20px !important;
    z-index: 999999 !important;
  }

  body.admin-bar .menu-toggle {
    top: 68px !important;
  }

  /* 🟦 HEADER */
  header.site-header {
    justify-content: flex-start !important;
    padding: 15px 20px !important;
    background: #13213C !important;
  }

  /* 📋 MENU GŁÓWNE – przyklejone pod nagłówkiem */
  nav.main-menu {
    display: none;
    flex-direction: column !important;
    position: fixed !important;
    top: 100% !important; /* dokładnie pod granatowym paskiem */
    left: 0 !important;
    width: 100% !important;
    background: #13213C !important;
    z-index: 9999 !important;
  }

  body.menu-open nav.main-menu {
    display: flex !important;
  }

  /* 🔹 LINKI MENU */
  #primary-menu {
    flex-direction: column !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #primary-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }

  #primary-menu a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 54px !important;
    padding: 0 24px !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
  }

  #primary-menu a:hover {
    background: rgba(255,255,255,0.1);
    color: #f78f1e !important;
  }

  /* 📂 SUBMENU – pionowo pod Katalogiem */
  #primary-menu li ul.sub-menu {
    display: none;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    flex-direction: column !important;
    width: 100% !important;
    background: #1e2a44 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
  }

  /* Widoczne po otwarciu */
  #primary-menu li.show-submenu > ul.sub-menu {
    display: flex !important;
  }

  #primary-menu li ul.sub-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  #primary-menu li ul.sub-menu li a {
    padding-left: 44px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  #primary-menu li ul.sub-menu li a:hover {
    background-color: rgba(255,255,255,0.1);
    color: #f78f1e !important;
  }

  /* 🔹 Hamburger na środku paska */
  .menu-toggle {
    position: absolute !important;
    right: 22px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 999999 !important;
  }

  /* 🔹 Logo wizualnie wyrównane */
  .site-branding img {
    max-height: 58px !important;
  }
}

@media (max-width: 1024px) {
  #primary-menu li ul.sub-menu li a {
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 36px !important;
    font-size: 16px !important;
  }
}
/* ===================================== */
/* 📱 POPRAWA WYRÓWNANIA MENU MOBILNEGO */
/* ===================================== */
@media (max-width: 1024px) {

  /* Linki główne i submenu — wyśrodkowane pionowo, nie poziomo */
  nav.main-menu li a {
    display: flex !important;
    align-items: center !important;   /* pionowe wyśrodkowanie */
    justify-content: flex-start !important; /* tekst wyrównany do lewej */
    height: 56px !important;
    padding: 0 24px !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    color: #fff !important;
  }

  /* Submenu – delikatne wcięcie, nadal lewa krawędź wyrównana */
  nav.main-menu ul.sub-menu li a {
    padding-left: 44px !important;
    justify-content: flex-start !important;
  }

  /* Menu — cały blok lewy, nieśrodkowany */
  nav.main-menu {
    align-items: stretch !important;
    text-align: left !important;
  }

  /* Teksty — niecentrowane */
  #primary-menu {
    text-align: left !important;
  }
}

/* ===================================== */
/* 🧩 NAPRAWA POZYCJI LOGO (HEADER) */
/* ===================================== */
@media (max-width: 1024px) {
  header.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    background: #13213C !important;
  }

  /* Odsuń pierwszą sekcję strony w dół, żeby nie chowała się pod headerem */
  body {
    padding-top: 90px !important;
  }
}
/* =================================================== */
/* ✅ OSTATECZNE POPRAWKI MENU 2025-10-15 WERSJA 2 */
/* =================================================== */

/* 🔸 ZALOGUJ SIĘ – pomarańczowe */
#primary-menu > li:last-child > a {
  color: #f78f1e !important;
  font-weight: 600 !important;
}

/* 🔸 SUBMENU POD KATALOGIEM NA DESKTOPIE */
@media (min-width: 1025px) {
  #primary-menu {
    position: relative !important;
  }

  #primary-menu li ul.sub-menu {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 2px) !important; /* dokładnie pod linkiem */
    left: 0 !important;
    background: #13213C !important;
    padding: 10px 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3) !important;
    min-width: 220px !important;
    z-index: 9999 !important;
  }

  #primary-menu li:hover > ul.sub-menu {
    display: block !important;
  }

  #primary-menu li ul.sub-menu li a {
    display: flex !important;
    align-items: center !important;
    height: 46px !important;
    padding: 0 22px !important;
    color: #fff !important;
  }

  #primary-menu li ul.sub-menu li a:hover {
    background-color: rgba(255,255,255,0.1) !important;
    color: #f78f1e !important;
  }
}

/* 🔸 USUNIĘCIE LOGO W STOPCE (także Elementor) */
footer .site-branding,
footer .elementor-widget-theme-site-logo,
footer .elementor-widget-image[data-element_type="widget"] img[src*="logo"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* 🔹 MOBILNE MENU (max 1024px) – WYRÓWNANIE I HEADER FIX */
@media (max-width: 1024px) {
  header.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    background: #13213C !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 20px !important;
  }

  body {
    padding-top: 90px !important;
  }

  .site-branding img {
    max-height: 56px !important;
    width: auto !important;
  }

  .menu-toggle {
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 30px !important;
    color: #fff !important;
    background: none !important;
    border: none !important;
  }

  nav.main-menu {
    position: fixed !important;
    top: 70px !important;
    left: 0 !important;
    width: 100% !important;
    background: #13213C !important;
    flex-direction: column !important;
    display: none !important;
    z-index: 9999 !important;
  }

  body.menu-open nav.main-menu {
    display: flex !important;
  }

  /* 🟩 Linki menu głównego – idealne wyśrodkowanie pionowe */
  nav.main-menu li a {
    display: flex !important;
    align-items: center !important;       /* 🔹 pionowo */
    justify-content: flex-start !important; /* 🔹 tekst po lewej */
    line-height: 1.3 !important;
    height: 56px !important;
    padding: 0 24px !important;
    font-size: 17px !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    text-decoration: none !important;
  }

  nav.main-menu li a:hover {
    background-color: rgba(255,255,255,0.1) !important;
    color: #f78f1e !important;
  }

  /* 🟦 Submenu pod Katalogiem */
  nav.main-menu ul.sub-menu {
    position: static !important;
    display: none !important;
    flex-direction: column !important;
    background: #1e2a44 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  nav.main-menu li.show-submenu > ul.sub-menu {
    display: flex !important;
  }

  nav.main-menu ul.sub-menu li a {
    padding-left: 44px !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
}
/* =================================================== */
/* ✅ MENU NAPRAWIONE – WERSJA FINALNA 2025-10-15 */
/* =================================================== */

/* 🔸 ZALOGUJ SIĘ – pomarańczowe */
#primary-menu > li:last-child > a {
  color: #f78f1e !important;
  font-weight: 600 !important;
}

/* 🔸 SUBMENU „KATALOG” – dokładnie pod przyciskiem */
@media (min-width: 1025px) {
  #primary-menu li ul.sub-menu {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 0px) !important; /* dokładnie pod tekstem */
    left: 0 !important;
    background: #13213C !important;
    padding: 10px 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3) !important;
    min-width: 220px !important;
    z-index: 9999 !important;
  }

  #primary-menu li:hover > ul.sub-menu {
    display: block !important;
  }

  #primary-menu li ul.sub-menu li a {
    display: flex !important;
    align-items: center !important;
    height: 46px !important;
    padding: 0 22px !important;
    color: #fff !important;
  }

  #primary-menu li ul.sub-menu li a:hover {
    background-color: rgba(255,255,255,0.1) !important;
    color: #f78f1e !important;
  }
}

/* 🔸 UKRYCIE LOGO W STOPCE (również Elementor) */
footer .site-branding,
footer .elementor-widget-theme-site-logo,
footer .elementor-widget-image img[src*="logo"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* 🔹 MENU MOBILNE – WYŚRODKOWANIE PIONOWE + FIX HEADERA */
@media (max-width: 1024px) {
  header.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    background: #13213C !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 20px !important;
  }

  body {
    padding-top: 90px !important;
  }

  .site-branding img {
    max-height: 56px !important;
    width: auto !important;
  }

  .menu-toggle {
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 30px !important;
    color: #fff !important;
    background: none !important;
    border: none !important;
  }

  nav.main-menu {
    position: fixed !important;
    top: 70px !important;
    left: 0 !important;
    width: 100% !important;
    background: #13213C !important;
    flex-direction: column !important;
    display: none !important;
    z-index: 9999 !important;
  }

  body.menu-open nav.main-menu {
    display: flex !important;
  }

  /* 🟩 Linki menu głównego – wyśrodkowanie pionowe */
  nav.main-menu li a {
    display: flex !important;
    align-items: center !important;   /* pionowo wyśrodkowane */
    justify-content: flex-start !important;
    height: 56px !important;
    padding: 0 24px !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    color: #fff !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  }

  nav.main-menu li a:hover {
    background-color: rgba(255,255,255,0.1) !important;
    color: #f78f1e !important;
  }

  /* 📂 Submenu pod Katalogiem */
  nav.main-menu ul.sub-menu {
    position: static !important;
    display: none !important;
    flex-direction: column !important;
    background: #1e2a44 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  nav.main-menu li.show-submenu > ul.sub-menu {
    display: flex !important;
  }

  nav.main-menu ul.sub-menu li a {
    padding-left: 44px !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
}
/* ============================================ */
/* 🔧 POPRAWKI MENU – wersja końcowa (działa wszędzie) */
/* ============================================ */

/* Pomarańczowy „Zaloguj się” */
#primary-menu > li:last-child > a {
  color: #f78f1e !important;
  font-weight: 600 !important;
}

/* Submenu pod Katalogiem – pozycjonowanie */
@media (min-width: 1025px) {
  #primary-menu li {
    position: relative !important;
  }
  #primary-menu li ul.sub-menu {
    display: none !important;
    position: absolute !important;
    top: calc(100%) !important;
    left: 0 !important;
    background: #13213C !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3) !important;
    padding: 10px 0 !important;
    min-width: 220px !important;
  }
  #primary-menu li.show-submenu > ul.sub-menu {
    display: block !important;
  }
  #primary-menu li ul.sub-menu li a {
    padding: 12px 24px !important;
    display: flex !important;
    align-items: center !important;
  }
}

/* Ukryj logo w stopce */
footer .site-branding,
footer .elementor-widget-theme-site-logo,
footer .elementor-widget-image img[src*="logo"] {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Menu mobilne – pionowe wyśrodkowanie */
@media (max-width: 1024px) {
  nav.main-menu li a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 56px !important;
    padding: 0 24px !important;
    color: #fff !important;
  }
}
/* ============================================ */
/* ✨ OSTATECZNE POPRAWKI MENU 2025 */
/* ============================================ */

/* 1️⃣ Pomarańczowy ZALOGUJ SIĘ */
#primary-menu > li:last-child > a {
  color: #f78f1e !important;
  font-weight: 600 !important;
}

/* 2️⃣ Submenu pod Katalogiem – pozycjonowanie */
@media (min-width: 1025px) {
  #primary-menu li {
    position: relative !important;
  }

  /* usuń rozwijanie po hover */
  #primary-menu li:hover > ul.sub-menu {
    display: none !important;
  }

  /* ukryte submenu */
  #primary-menu li ul.sub-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: #13213C !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3) !important;
    padding: 0 !important;
    min-width: 220px !important;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
  }

  /* submenu otwarte po kliknięciu */
  #primary-menu li.show-submenu > ul.sub-menu {
    display: block !important;
    max-height: 600px;
    transition: max-height 0.3s ease-in;
  }

  #primary-menu li ul.sub-menu li a {
    padding: 12px 24px !important;
    display: flex !important;
    align-items: center !important;
    color: #fff !important;
  }

  #primary-menu li ul.sub-menu li a:hover {
    background-color: rgba(255,255,255,0.1) !important;
    color: #f78f1e !important;
  }
}

/* 3️⃣ Ukryj logo w stopce */
footer .site-branding,
footer .elementor-widget-theme-site-logo,
footer .elementor-widget-image img[src*="logo"] {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* 4️⃣ Menu mobilne – wyśrodkowanie i rozwijanie po kliknięciu */
@media (max-width: 1024px) {
  nav.main-menu li a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 56px !important;
    padding: 0 24px !important;
    color: #fff !important;
  }

  nav.main-menu li ul.sub-menu {
    display: none !important;
    flex-direction: column !important;
    background: #1e2a44 !important;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
  }

  nav.main-menu li.open > ul.sub-menu {
    display: flex !important;
    max-height: 600px;
    transition: max-height 0.3s ease-in;
  }

  nav.main-menu ul.sub-menu li a {
    padding-left: 44px !important;
    height: 52px !important;
  }
}
/* ============================================ */
/* 🧹 1. Usuń logo w stopce (wszystkie wersje) */
/* ============================================ */

/* Jeśli motyw używa klasy .site-branding */
footer .site-branding {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Jeśli Elementor dodał logo jako widget */
footer .elementor-widget-theme-site-logo,
footer .elementor-widget-image,
footer .elementor-widget-image img {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

/* Dodatkowe zabezpieczenie — jeśli logo ma nazwę pliku "logo" */
footer img[src*="logo"] {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}
/* ============================================ */
/* 🧹 USUNIĘCIE NAPISU "Znajdź najlepszego..." ZE STOPKI */
/* ============================================ */

/* Dotyczy motywu Pet Care Zone */
footer .footer-text,
footer .site-footer .elementor-widget-text-editor,
footer .site-footer .elementor-text-editor,
footer .footer-widget,
footer .site-footer p:first-of-type {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* ============================================ */
/* 🧩 POPRAWIONA STOPKA — BEZ TEKSTU, WYRÓWNANA */
/* ============================================ */

/* Główna stopka */
footer {
  background-color: #13213C !important;
  color: #fff !important;
  padding: 30px 0 !important;
  border: none !important;
}

/* Wewnętrzny kontener (logo + tekst + menu) */
footer > div:first-child {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 40px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* Usuń ten niepotrzebny tekst promocyjny */
footer .footer-text {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Menu i logo – wyrównanie do lewej */
footer .footer-logo,
footer .footer-menu {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
}

/* Sekcja copyright – też do lewej */
footer > div:last-child {
  text-align: left !important;
  font-size: 15px !important;
  color: #fff !important;
  margin: 15px auto 0 auto !important;
  max-width: 1200px !important;
  padding-left: 0 !important;
}

/* Linki w copyright */
footer a {
  color: #fff !important;
  text-decoration: none !important;
}

footer a:hover {
  color: #f7a12d !important;
}

/* 📱 Na telefonach – wyśrodkowanie i pionowy układ */
@media (max-width: 768px) {
  footer > div:first-child {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  footer > div:last-child {
    text-align: center !important;
  }
}
/* ✅ Dokładne zmniejszenie pionowej wysokości w środku stopki */
footer > div {
  gap: 0 !important; /* usuwa przestrzeń między menu a copyrightem */
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}

footer > div > nav.footer-menu {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

footer > div > div {
  margin-top: 0 !important;
  padding-top: 0 !important;
  line-height: 1 !important;
}
/* 🔧 Zmniejszenie odstępu nad pierwszym wierszem w stopce */
footer {
  padding-top: 14px !important;   /* było pewnie 20–30px */
}

footer > div {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
/* --- MENU MOBILNE I TABLETOWE (zgodne z body.menu-open) --- */
@media (max-width: 1024px) {
  header.site-header nav.main-menu {
    position: fixed !important;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #13213C;
    z-index: 9999;
    display: none; /* ukryte domyślnie */
  }

  /* pokazanie menu, gdy body ma klasę .menu-open */
  body.menu-open header.site-header nav.main-menu {
    display: block !important;
  }

  /* przewijanie menu */
  header.site-header nav.main-menu > ul#primary-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: 20px 0 20px; /* odstęp od góry */
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    max-height: calc(100vh - 70px);
  }

  header.site-header nav.main-menu li {
    width: 100%;
    padding: 10px 20px;
  }
}

/* Tablety */
@media (min-width: 769px) and (max-width: 1024px) {
  header.site-header nav.main-menu {
    top: 70px;
    height: calc(100vh - 70px);
  }

  header.site-header nav.main-menu > ul#primary-menu {
    padding-top: 10px;
  }
}

/* Telefony */
@media (max-width: 768px) {
  header.site-header nav.main-menu {
    top: 0;
    height: 100vh;
  }
}
/* Header nie może blokować kliknięć w formularzu */
header.site-header {
    position: relative !important;
    z-index: 5 !important;
    pointer-events: auto !important;
}

/* Gdy menu mobilne otwarte – header idzie na wierzch */
body.menu-open header.site-header {
    z-index: 99999 !important;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

.zp-location-title {
  font-family: "Roboto", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 14px;
}

.zp-location-intro {
  max-width: 760px;
  margin: 0 0 16px;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #444;
}

.zp-location-intro p {
  margin: 0;
}

.zp-location-count {
  margin: 0 0 22px;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  color: #1d1d1d;
}

/* bardziej zwarta karta */
.zp-results-list-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.zp-card-result {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  text-decoration: none;
  min-height: auto;
}

.zp-card-result.premium {
  border-width: 2px;
}

.zp-res-img {
  width: 88px;
  min-width: 88px;
  height: 88px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.zp-res-content {
  flex: 1;
  min-width: 0;
  padding-right: 90px; /* miejsce na badge premium */
}

.zp-res-content h3 {
  margin: 0 0 6px;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  line-height: 1.3;
}

.zp-res-addr {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #666;
}

.zp-premium-badge {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
}

.zp-card-cta {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  font-size: 14px;
  color: #f28c1b;
  font-family: "Roboto", sans-serif;
}

/* FAQ */
.zp-location-faq {
  margin-top: 40px;
  padding-top: 8px;
  font-family: "Roboto", sans-serif;
}

.zp-location-faq h2 {
  font-family: "Roboto", sans-serif;
  font-size: 24px;   /* mniejsze niż nagłówek Warszawa */
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.zp-faq-item {
  margin-bottom: 16px;
}

.zp-faq-item h3 {
  font-family: "Roboto", sans-serif;
  font-size: 17px;   /* pytania wyraźnie mniejsze */
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
}

.zp-faq-item p {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #444;
  margin: 0;
}

/* kontener listy */
.zp-results-list-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

/* karta nie na pełną szerokość */
.zp-card-result {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  max-width: 760px;
  padding: 16px 18px;
  border-radius: 16px;
  text-decoration: none;
  min-height: auto;
  box-sizing: border-box;
}

.zp-card-result.premium {
  border-width: 2px;
}

/* obrazek */
.zp-res-img {
  width: 88px;
  min-width: 88px;
  height: 88px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* treść karty */
.zp-res-content {
  flex: 1;
  min-width: 0;
  padding-right: 120px; /* miejsce na badge */
}

.zp-res-content h3 {
  margin: 0 0 6px;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  line-height: 1.3;
}

.zp-res-addr {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #666;
}

.zp-card-cta {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  font-size: 14px;
  color: #f28c1b;
  font-family: "Roboto", sans-serif;
}

/* badge premium w rogu */
.zp-premium-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}

/* trochę węższa karta na mniejszych ekranach */
@media (max-width: 900px) {
  .zp-card-result {
    max-width: 100%;
  }

  .zp-res-content {
    padding-right: 0;
  }

  .zp-premium-badge {
    position: static;
    display: inline-block;
    margin-bottom: 10px;
  }
}

/* ==========================================================
   TYPOGRAFIA – WYMUSZENIE ROBOTO
   ========================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700;
}

.zp-search-container h1 {
    font-size: 32px;
}

.zp-search-container h2 {
    font-size: 24px;
}

.zp-search-container h3 {
    font-size: 18px;
}
h1 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

h2 {
    font-weight: 600;
}

h3 {
    font-weight: 500;
}

/* SEO city pages - typography */
.zp-search-container h1,
.zp-search-container h2,
.zp-search-container h3,
.zp-search-container h4,
.zp-search-container h5,
.zp-search-container h6 {
    font-family: 'Roboto', sans-serif !important;
    font-style: normal !important;
}

.zp-search-container h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.zp-search-container h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.zp-search-container h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}
.zp-seo-content {
  margin: 28px 0 28px;
  max-width: 850px;
  line-height: 1.7;
  color: #374151;
}

.zp-seo-content h2 {
  font-size: 26px;
  margin-bottom: 14px;
  color: #0b4f5c;
}

.zp-seo-content h3 {
  font-size: 20px;
  margin-top: 20px;
  color: #0b4f5c;
}

.zp-seo-content ul {
  margin-left: 20px;
}

.zp-location-faq {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #e5e7eb;
}

.zp-location-faq h2 {
  color: #0b4f5c;
  margin-bottom: 20px;
}

.zp-faq-item {
  margin-bottom: 24px;
}

.zp-faq-item h3 {
  font-size: 19px;
  color: #0b4f5c;
  margin-bottom: 8px;
}

.zp-faq-item p {
  line-height: 1.7;
  color: #374151;
}