@media screen and (min-width:1025px){
.mobile {
	display: none;
}
}
@media screen and (max-width:1024px){
.desktop {
	display: none;
}
}

/* Fullscreen backdrop */
.tally-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0; /* shorthand for top/right/bottom/left = 0 */
  background: rgba(0,0,0,0.85); /* semi-transparent black overlay */
}

/* Fullscreen modal content */
.tally-modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent; /* remove white background */
  box-shadow: none;
}

/* Close button (×) */
#closeTally {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 36px;
  font-weight: bold;
  color: #fff;
  background: none;
  border: none;
  box-shadow: none;   /* remove any shadows */
  outline: none;      /* remove focus outline */
  cursor: pointer;
  z-index: 10000;
  line-height: 1;
}


/* Make iframe fill the entire screen */
.tally-modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}


/* Przenosi podpisy na środek obrazów w galerii */
.kb-gallery-wrap .kb-gallery-item {
    position: relative !important;
}

.kadence-blocks-gallery-item__caption {
    position: absolute !important;
    top: 40% !important;
}

/* ====== FORMULARZ CONTACT FORM 7 – STYL DOPASOWANY DO ESTHEIA ====== */

/* Ogólny wygląd formularza */
.wpcf7 form {
    max-width: 480px;
    margin: 0 auto;          /* >>> to centruje formularz w kontenerze <<< */
    font-family: 'Poppins', 'Montserrat', sans-serif;
    color: #4a4a4a;
}


/* Etykiety */
.wpcf7 label {
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
    font-size: 15px;
    color: #5a5a5a;
}

/* Pola tekstowe */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: 15px;
    color: #333;
    transition: all .3s;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: #CFB283;
    box-shadow: 0 0 4px rgba(207,178,131,0.4);
    outline: none;
}

/* Mniejsza wysokość pola wiadomości */
.wpcf7 textarea {
    height: 120px;
}

/* Checkbox + zgody */
.wpcf7-list-item {
    margin-left: 0;
}

.wpcf7 input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 8px;
}

.zgoda,
.wpcf7-acceptance {
    margin-top: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

/* Przycisk wysyłania */
.wpcf7 input[type="submit"] {
    background-color: #CFB283;
    color: white;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all .3s;
    font-weight: 600;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #bfa074;
}

/* Komunikaty */
.wpcf7-response-output {
    border-radius: 6px;
    padding: 12px;
}

.wpcf7-not-valid-tip {
    font-size: 13px;
    color: #d00;
    margin-top: 4px;
}