/* =========================
   FLOATING PHONE BUTTON
========================= */

.tp-additional-contact-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #000;
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
    cursor: pointer;
    z-index: 10000;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: transform .2s ease, box-shadow .2s ease;
}

.tp-additional-contact-btn:hover {
    transform: translateY(0) scale(1.08);
    box-shadow: 0 10px 28px rgba(0,0,0,.35);
}


.tp-additional-contact-btn img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    pointer-events: none;
}


/* =========================
   POPUP / MODAL PRZY IKONCE
========================= */

.tp-additional-contact-modal {
    position: fixed;
    right: 100px;
    bottom: 20px;

    width: 380px;
    max-width: calc(100vw - 140px);

    background: #ffffff;
    border-radius: 14px;
    padding: 20px;

    z-index: 9999;
    display: none;

    box-shadow: 0 20px 50px rgba(0,0,0,.35);
    animation: tpContactFadeIn .2s ease;
}

.tp-additional-contact-modal.active {
    display: block;
}

/* strzałka przy dymku */
.tp-additional-contact-modal::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);

    width: 0;
    height: 0;
    border-left: 10px solid #ffffff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}


/* =========================
   RESET KOLORÓW (WAŻNE)
========================= */

.tp-additional-contact-modal {
    color: #000;
}

.tp-additional-contact-modal a {
    color: #000;
}


/* =========================
   MODAL HEADER
========================= */

.tp-additional-contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tp-additional-contact-title {
    font-size: 18px;
    font-weight: 600;
}

/* =========================
   KRZYŻYK – ODSTĘP OD TREŚCI
========================= */

.tp-additional-contact-modal {
    padding-top: 44px; /* miejsce na X */
}

.tp-additional-contact-close {
    position: absolute;
    top: 12px;
    right: 14px;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    opacity: .5;
    z-index: 2;
}

.tp-additional-contact-close:hover {
    opacity: 1;
}



/* =========================
   MODAL CONTENT
========================= */

.tp-additional-contact-content {
    font-size: 15px;
    line-height: 1.5;
}

.tp-additional-contact-content a {
    color: #000000;
    text-decoration: none;
}

.tp-additional-contact-content a:hover {
    text-decoration: underline;
}

/* =========================
   ANIMATION
========================= */

@keyframes tpContactFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   MOBILE
========================= */



/* =========================
   LEKKIE TŁO PO OTWARCIU
========================= */

.tp-additional-contact-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.15); /* LEKKO szare */
    z-index: 9998;
    display: none;
}

.tp-additional-contact-overlay.active {
    display: block;
}

@media (max-width: 767px) {

  /* MODAL – PEŁNA SZEROKOŚĆ NA TELEFONIE */
  .tp-additional-contact-modal {
    right: 0 !important;
    left: 0 !important;
      bottom: 64px !important;
    width: 100% !important;
    max-width: 100% !important;

    border-radius: 16px 16px 0 0 !important; /* ładne zaokrąglenie u góry */
    padding: 20px 16px 24px !important;

    animation: tpContactSlideUp .25s ease;
  }

  /* USUŃ STRZAŁKĘ / DZIUBEK */
  .tp-additional-contact-modal::after {
    display: none !important;
    content: none !important;
  }

  /* OVERLAY – CIUT CIEMNIEJSZY NA MOBILE */
  .tp-additional-contact-overlay {
    background: rgba(0, 0, 0, 0.35);
  }

}

/* ANIMACJA WYSUWANIA OD DOŁU */
@keyframes tpContactSlideUp {
  from

