/* =====================================================
   FONTS
===================================================== */
@font-face {
  font-family: "Oddlini";
  src: url("../fonts/oddlini.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Garamond";
  src: url("../fonts/garamond.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: optional;
}

/* =====================================================
   HEADER BASE
===================================================== */
.pt-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid #eef0f3;
}

.pt-header__inner {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

/* =====================================================
   LEFT – SOCIAL ICONS
===================================================== */
.pt-header__left a {
  margin-right: 12px;
  font-size: 22px;
  color: #2b3f58;
  transition: opacity .2s ease;
}

.pt-header__left a:hover {
  opacity: .6;
}

/* =====================================================
   LOGO
===================================================== */
.pt-header__logo a {
  display: block;
}

.pt-header__logo img {
  width: 300px;
  height: auto;
}

/* =====================================================
   RIGHT – SEARCH / CTA / BURGER
===================================================== */
.pt-header__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* CTA */
.pt-header__cta {
  font-family: "Oddlini", sans-serif;
  padding: 8px 20px;
  background: #2b3f58;
  color: #fff;
  border-radius: 22px;
  font-size: 13px;
  text-decoration: none;
  transition: background .2s ease;
}

.pt-header__cta:hover {
  background: #556877;
  color: #fff;
}

/* =====================================================
   SEARCH ICON (HEADER)
===================================================== */
.pt-search-open {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.pt-search-open i {
  font-size: 22px;
  color: #2b3f58;
  transition: opacity .2s ease, transform .2s ease;
}

.pt-search-open:hover i {
  opacity: .7;
  transform: translateY(-1px);
}

.pt-search-open:focus-visible {
  outline: 2px solid rgba(43,63,88,.3);
  outline-offset: 4px;
}

/* =====================================================
   DESKTOP NAV
===================================================== */
.pt-header__nav {
  margin: 20px 0;
}

.pt-menu {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 0;
}

.pt-menu > li > a {
  font-family: "Oddlini", sans-serif;
  font-size: 16px;
  color: #2b3f58;
  text-decoration: none;
  padding: 8px 0;
  transition: opacity .2s ease;
}

.pt-menu > li > a:hover {
  opacity: .65;
}
/* =====================================================
   ACTIVE MENU ITEM – aria-current
===================================================== */

.pt-menu a[aria-current="page"],
.pt-mobile-menu a[aria-current="page"] {
  font-weight: 700;
}

/* =====================================================
   SEARCH OVERLAY – EDITORIAL
===================================================== */
.pt-search-overlay {
  position: fixed;
  inset: 0;
  background: #faf8f5;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease;
}

.pt-search-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  overflow-y: auto;
}

.pt-search-close {
  position: absolute;
  top: 20px;
  right: 24px;

  background: transparent;
  border: 0;
  padding: 0;

  font-size: 30px;
  line-height: 1;
  font-weight: 300;

  color: #2b3f58;
  cursor: pointer;

  transition: opacity .2s ease, transform .2s ease;

  appearance: none;
  -webkit-appearance: none;
}
.pt-mobile-menu__close {
  position: absolute;
  top: 0px;
  right: 0px;
    z-index: 1005;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;

  font-size: 30px;
  line-height: 1;
  font-weight: 300;

  background: transparent;
  border: 0;
  color: #2b3f58;
  cursor: pointer;
}
/* hover */
.pt-search-close:hover,
.pt-mobile-menu__close:hover {
  opacity: .6;
  transform: scale(.95);
}
.pt-mobile-menu .pt-mm-view {
  z-index: 1000;
}
/* focus – AA */
.pt-search-close:focus-visible,
.pt-mobile-menu__close:focus-visible {
  outline: 2px solid rgba(43,63,88,.3);
  outline-offset: 4px;
}



.pt-search-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 140px 24px 80px;
}

.pt-search-title {
  font-family: "Oddlini", serif;
  font-size: 48px;
  margin-bottom: 56px;
}

.pt-search-input {
  width: 100%;
  font-size: 22px;
  border: 0;
  border-bottom: 1px solid rgba(43,63,88,.35);
  background: transparent;
  padding: 12px;
}

.pt-search-section {
  margin-bottom: 56px;
}


.pt-search-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pt-search-links a {
  font-size: 18px;
  color: #2b3f58;
  text-decoration: none;
}


/* =====================================================
   DESKTOP – MEGA MENU (ZABIEGI)
===================================================== */
@media (min-width: 993px) {
.pt-header__burger,.pt-mobile-menu {
  display: none;
}
.pt-menu > li.menu-item-has-children > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;              /* ODSTĘP MIĘDZY TEKSTEM A STRZAŁKĄ */
  }

  .pt-menu > li.menu-item-has-children > a::after {
    content: "▾";
    font-size: 18px;       /* mniejsza = bardziej premium */
    line-height: 1.2;
    margin-top: 0;       /* korekta optyczna do fontu Oddlini */
    opacity: .8;

    transition:
      transform .2s ease,
      opacity .2s ease;
  }

.pt-menu > li.menu-item-has-children > a::after {
  content: "▾";
  font-size: 16px;
  line-height: 1;
  opacity: .6;
  transform-origin: center;
  transition: transform .2s ease, opacity .2s ease;
}

.pt-menu > li.menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
  opacity: .85;
}
  /* tylko Zabiegi */
  .pt-menu > li.pt-mega {
    position: relative;
  }

  /* kontener mega menu */
  .pt-menu > li.pt-mega > ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(16px);

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;

    min-width: 960px;
    padding: 36px 44px;

    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,.08);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
      opacity .25s ease,
      transform .25s ease,
      visibility .25s ease;

    z-index: 1000;
  }

  /* hover */
  .pt-menu > li.pt-mega:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
	background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 35%;
  background-image: linear-gradient( rgba(255,255,255,.8), rgba(255,255,255,.7) ), url('https://test.piotrturkowski.pl/wp-content/uploads/2024/05/piotr-turkowski-top.webp');
  }

  /* =========================
     KOLUMNY
  ========================= */

  .pt-menu > li.pt-mega > ul.sub-menu > li.pt-col-left {
    grid-column: 1;
  }

  .pt-menu > li.pt-mega > ul.sub-menu > li.pt-col-right {
    grid-column: 2;
  }

  /* ukrywamy linki "Lewa / Prawa" */
  .pt-menu > li.pt-mega > ul.sub-menu > li.pt-col-left > a,
  .pt-menu > li.pt-mega > ul.sub-menu > li.pt-col-right > a {
    display: none;
  }

  /* reset list */
  .pt-menu > li.pt-mega ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  /* =========================
     SEKCJE (menu-separator)
  ========================= */

  .menu-separator {
    margin-bottom: 28px;
  }

  .menu-separator > span.pt-menu-separator {
    display: block;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(43,63,88,.55);
    margin-bottom: 14px;
    position: relative;
  }

  .menu-separator > span.pt-menu-separator::after {
    content: "";
    display: block;
    height: 1px;
    background: rgba(0,0,0,.12);
    margin-top: 10px;
  }

  /* =========================
     LINKI
  ========================= */

  .menu-separator > ul.sub-menu > li a {
    display: block;
    padding: 6px 0;
    font-size: 15px;
    color: #2b3f58;
    text-decoration: none;
    transition: opacity .2s ease;
  }

  .menu-separator > ul.sub-menu > li a:hover {
    opacity: .65;
  }
}







@media (max-width: 992px) {

 .pt-header__nav,
  .pt-header__left,
  .pt-header__cta {
    display: none;
  }

  /* =========================
     SEKCJE (menu-separator)
  ========================= */

  .menu-separator {
    margin-bottom: 5px;
  }

  .menu-separator > span.pt-menu-separator {
    display: block;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(43,63,88,.55);
    position: relative;
  }

  .menu-separator > span.pt-menu-separator::after {
    content: "";
    display: block;
    height: 1px;
    background: rgba(0,0,0,.12);
    margin-top: 10px;
  }

  .pt-header__logo img {
    width: 150px;
  }

  .pt-mobile-menu {
    display: block;
  }
.pt-menu-separator {
padding: 0px;	
}
.pt-menu-separator::after {
	margin-bottom: 0px;
}
/* =====================================================
   BURGER (MOBILE)
===================================================== */

.pt-header__burger {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;

  font-size: 22px;           /* wielkość ikonki */
  line-height: 1;
  font-weight: 300;          /* cieńszy znak */
  color: #2b3f58;            /* TEN SAM KOLOR CO LUPA */

  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;

  transition: opacity .2s ease, transform .2s ease;
}

.pt-header__burger:hover {
  opacity: .7;
  transform: translateY(-1px); /* identyczny micro-motion jak lupa */
}

.pt-header__burger:focus-visible {
  outline: 2px solid rgba(43,63,88,.3);
  outline-offset: 4px;
}



/* =====================================================
   MOBILE MENU
===================================================== */
.pt-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 998;
  padding: 10px 15px;
  transition: right .35s cubic-bezier(.4,0,.2,1);
}
/* =====================================================
   MOBILE MENU – FIX POZYCJONOWANIA VIEW
===================================================== */

.pt-mobile-menu__inner {
  position: relative; /* 🔴 KLUCZOWE */
  width: 100%;
  height: 100%;
  overflow: hidden;   /* żeby nie było „wycieku” widoków */
}

.pt-mobile-menu.open {
  right: 0;
}

.pt-mobile-menu__list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.pt-mobile-menu__list li {
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

.pt-mobile-menu__list a {
  font-size: 18px;
  color: #2b3f58;
  text-decoration: none;
}
/* =====================================================
   MOBILE MENU OVERLAY + SCROLL LOCK
===================================================== */

/* overlay pod menu */
.pt-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 42, 54, 0.45); /* delikatny, premium */
  z-index: 997;

  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.pt-mobile-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* blokada scrolla body */
body.menu-open {
  overflow: hidden;
  touch-action: none;
}


/* =====================================================
   MOBILE MENU – BACK BUTTON (FINAL)
===================================================== */

.pt-mm-back {
  position: absolute;
  top: 5px;
  left: 20px;
  z-index: 2000;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 6px 12px;
  border-radius: 18px;

  font-family: "Oddlini", sans-serif;
  font-size: 14px;
  line-height: 1;
  font-weight: 400;

  background: transparent;
  border: 1px solid rgba(43,63,88,.25);
  color: #2b3f58;

  cursor: pointer;
  transition:
    background .2s ease,
    opacity .2s ease,
    transform .2s ease;
}

/* hover */
.pt-mm-back:hover {
  background: rgba(43,63,88,.05);
  opacity: .85;
  transform: translateX(-1px);
}

/* focus – accessibility */
.pt-mm-back:focus-visible {
  outline: 2px solid rgba(43,63,88,.3);
  outline-offset: 4px;
}	
/* =====================================================
   MOBILE MENU – MULTI VIEW (STABILNE)
===================================================== */

.pt-mm-view {
  position: absolute;
  inset: 0;
  padding: 55px 15px 0 15px;
  background: #fff;
 overflow-y: auto;
  overflow-x: hidden;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;

  transition:
    transform .35s cubic-bezier(.4,0,.2,1),
    opacity .25s ease;
}

.pt-mm-view.is-active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.pt-mobile-menu__footer {
  position: absolute;
  bottom: 0;
  z-index: 99999;
  background: #fff;
  width: 100%;

  display: flex;
  flex-direction: column;
  gap: 18px;

  transition: opacity .25s ease, visibility .25s ease;
}

.pt-mobile-menu__footer.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* =====================================================
   MOBILE MENU – SCROLL
===================================================== */

.pt-mm-submenu ul {
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}


/* =====================================================
   MOBILE MENU – STRZAŁKA
===================================================== */

.pt-mobile-menu__list > li.menu-item-has-children > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pt-mobile-menu__list > li.menu-item-has-children > a::after {
  content: "→";
  font-size: 18px;
  opacity: .8;
}
 .pt-mobile-menu .sub-menu{
    display: none !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .pt-mm-view[data-view="submenu"] .sub-menu{
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .pt-mm-view[data-view="submenu"] .sub-menu li{
    padding: 3px 0 3px 0;
  }

  .pt-mm-view[data-view="submenu"] .sub-menu a{
    font-size: 18px;
    color: #2b3f58;
    text-decoration: none;
    display: block;
  }
/* =========================
   WPML
========================= */

.pt-mobile-lang {
  display: flex;
  justify-content: center;
}

/* reset wpml */
.pt-mobile-lang ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
}

.pt-mobile-lang a {
  font-family: "Oddlini", sans-serif;
  font-size: 14px;
  color: #2b3f58;
  text-decoration: none;
  opacity: .8;
  transition: opacity .2s ease;
}

.pt-mobile-lang a:hover,
.pt-mobile-lang .wpml-ls-current-language a {
  opacity: 1;
}

/* =========================
   SOCIALS
========================= */

.pt-mobile-socials {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.pt-mobile-socials a {
  font-size: 22px;
  color: #2b3f58;
  opacity: .7;
  transition: opacity .2s ease, transform .2s ease;
}

.pt-mobile-socials a:hover {
  opacity: 1;
  transform: translateY(-1px);
}  
  .pt-search-inner {
    padding: 50px 20px 60px;
  }

  .pt-search-title {
    font-size: 32px;
	margin-bottom:30px;
  }

  .pt-search-input {
    font-size: 18px;
	padding:10px;
  }
}






















































