/* =====================================================
   PT TREATMENTS LIST – PREMIUM CLINIC STYLE
===================================================== */

.pt-treatments-list *,
.pt-treatments-list *::before,
.pt-treatments-list *::after {
  box-sizing: border-box;
}

.pt-treatments-list {
  padding: 90px 0;
  background: transparent;
  font-family: 'Montserrat', sans-serif !important;
}

.pt-zabiegi-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: start;
}

.pt-zabiegi-main {
  width: 100%;
  min-width: 0;
}

.pt-zabiegi-sidebar {
  position: sticky;
  top: 220px; /* Dostosowane pod standardowy fixed header */
  align-self: start;
  min-width: 0;
  z-index: 10;
}

.pt-treatments-list__section + .pt-treatments-list__section {
  margin-top: 60px;
}

/* Nagłówki sekcji (Premium Lora) */
.pt-treatments-list__heading {
  margin: 0 0 24px;
  font-family: "Lora", serif !important;
  font-size: 34px !important;
  font-weight: 600 !important;
  line-height: 1.25;
  color: #1b2d42;
  letter-spacing: -0.01em;
}

.pt-treatments-list__heading::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 16px;
  background: rgba(27, 45, 66, 0.08);
}

.pt-treatments-list__items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pt-treatments-list__item {
  margin: 0;
}

.pt-treatments-list__item + .pt-treatments-list__item {
  margin-top: 12px;
}

/* Interaktywny wiersz zabiegu (Satin Micro-Card) */
.pt-treatments-list__item-inner {
  display: block;
  padding: 16px 20px;
  border-radius: 14px;
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  transition:
    background 0.4s cubic-bezier(.16, 1, .3, 1),
    border-color 0.4s cubic-bezier(.16, 1, .3, 1),
    transform 0.4s cubic-bezier(.16, 1, .3, 1),
    box-shadow 0.4s cubic-bezier(.16, 1, .3, 1);
}

.pt-treatments-list__item-inner:hover {
  background: #f8fafc;
  border-color: rgba(27, 45, 66, 0.05);
  transform: translateX(4px);
  box-shadow: 0 10px 25px rgba(27, 45, 66, 0.03);
}

.pt-treatments-list__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.pt-treatments-list__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  line-height: 1.4;
  color: #1b2d42;
  font-weight: 600;
  text-decoration: none;
  transition: color .3s ease;
}

/* Ikona i animacja strzałki */
.pt-treatments-list__link::before {
  content: "\ea42";
  font-family: "icomoon";
  font-size: 13px;
  color: #1b2d42;
  opacity: 0.6;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(.16, 1, .3, 1), opacity 0.3s ease;
}

.pt-treatments-list__item-inner:hover .pt-treatments-list__link::before {
  transform: translateX(4px);
  opacity: 1;
}

.pt-treatments-list__desc {
  display: block;
  margin-top: 8px;
  margin-left: 25px;
  font-size: 15px;
  line-height: 1.7;
  color: #526071;
  font-weight: 400 !important;
}

/* Badge (Dopasowany do brandu) */
.pt-treatments-list__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: rgba(27, 45, 66, 0.08);
  color: #1b2d42;
  white-space: nowrap;
}

/* =====================================================
   SIDEBAR CARD (PREMIUM SATIN LUXURY)
===================================================== */

.pt-zabiegi-card {
  padding: 40px;
  background: #1b2d42;
  color: #ffffff;
  border-radius: 24px;
  margin: 0;
  box-shadow: 0 20px 45px rgba(27, 45, 66, 0.12);
  border: 1px solid rgba(27, 45, 66, 0.05);
  box-sizing: border-box;
}

.pt-zabiegi-card__title {
  font-family: "Lora", serif !important;
  font-size: 26px !important;
  font-weight: 600 !important;
  color: #ffffff;
  margin: 0 0 16px 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.pt-zabiegi-card__text {
  margin: 0 0 28px 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400 !important;
}

/* Przycisk w panelu bocznym */
.pt-zabiegi-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  text-decoration: none;
  background: #ffffff;
  color: #1b2d42;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: transform 0.25s cubic-bezier(.16, 1, .3, 1), background 0.25s ease, box-shadow 0.25s ease;
  border: none;
}

.pt-zabiegi-card__btn:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #1b2d42;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Numer telefonu */
.pt-zabiegi-card__phone {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  text-decoration: none !important;
  color: #ffffff !important;
  font-size: 20px;
  font-weight: 600;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.pt-zabiegi-card__phone:hover {
  opacity: .85;
  transform: translateY(-1px);
}

.pt-zabiegi-card__phone strong {
  font-weight: 700;
  color: #ffffff;
  margin-left: 20px;
}

/* Zabezpieczenie dla kontekstu sticky */
.pt-treatments-list,
.pt-treatments-list .container,
.pt-zabiegi-layout,
.entry-content,
.site-main {
  overflow: visible;
}

/* =====================================================
   RESPONSIVE (RWD SAFETIES)
===================================================== */

@media (max-width: 1024px) {
  .pt-zabiegi-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .pt-zabiegi-sidebar {
    position: static;
    margin-top: 20px;
    max-width: 450px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .pt-treatments-list {
    padding: 60px 0;
  }

  .pt-treatments-list__section + .pt-treatments-list__section {
    margin-top: 40px;
  }

  .pt-treatments-list__heading {
    font-size: 28px !important;
    margin-bottom: 20px;
  }

  .pt-treatments-list__item-inner {
    padding: 12px 14px;
    border-radius: 12px;
  }
  
  .pt-treatments-list__item-inner:hover {
    transform: translateX(2px);
  }

  .pt-treatments-list__link {
    font-size: 18px;
  }

  .pt-treatments-list__desc {
    margin-left: 25px;
    font-size: 14px;
    line-height: 1.6;
  }

  .pt-treatments-list__badge {
    font-size: 10px;
    padding: 3px 10px;
  }

  .pt-zabiegi-card {
    border-radius: 20px;
    padding: 36px 24px;
  }

  .pt-zabiegi-card__title {
    font-size: 24px !important;
  }

  .pt-zabiegi-card__text {
    font-size: 14.5px;
    margin-bottom: 24px;
  }
  
  .pt-zabiegi-card__phone {
    font-size: 18px;
  }
}