
.wpcf7 .hidden-fields-container{
	border: none !important;
	padding: none !important;
	display: none !important;
} 
/* Kontener kalkulatora wewnątrz formularza CF7 */
.wpcf7 .fence-calc > p {
  display: flex;               /* flex na wrapperze <p> */
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  border-bottom: 2px solid #111;
  padding-bottom: 0.75rem;
  margin: 0 0 1.5rem 0;
  font-family: "Inter", "Helvetica Neue", sans-serif;
}

/* CF7 generuje <br> – chowamy, żeby nie łamały wiersza */
.wpcf7 .fence-calc br {
  display: none !important;
}
/* Każde pole (label) jako kolumna */
.wpcf7 .fence-calc label {
  flex: 1 1 18%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-weight: 600;
  color: #000;
  margin: 0;                 /* CF7 potrafi dodać marginesy */
}
/* Każde pole (label) jako kolumna */
.wpcf7 .fence-calc label label{
  flex: 1 1 18%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  font-weight: 600;
  color: #000;
  margin: 0;                
	/* CF7 potrafi dodać marginesy */
}

    flex-direction: row;

/* Tytuł nad wartością */
.wpcf7 .fence-calc .label-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: #555;
  margin-bottom: 0.25rem;
  display: block;
}

.wpcf7 .fence-calc-disp textarea{	
    min-width: 100% !important;
    min-height: 400px !important;
}
/* Wartość (duża, pogrubiona) */
.wpcf7 .fence-calc input[type="number"],
.wpcf7 .fence-calc select {
  font-size: 1.75rem;
  font-weight: 700;
  border: none;
  border-bottom: 2px solid transparent;
  outline: none;
  padding: 0;
  width: 100%;
  background: transparent;
  text-align: left;
}

/* Checkboxy – powiększone */
.wpcf7 .fence-calc input[type="checkbox"] {
  width: 26px;
  height: 26px;
  border: 2px solid #000;
  border-radius: 4px;
  cursor: pointer;
}

/* Zaznaczenie checkboxa */
.wpcf7 .fence-calc input[type="checkbox"]:checked {
  background-color: #000;
}

/* Responsywność */
@media (max-width: 768px) {
  .wpcf7 .fence-calc > p {
    flex-direction: column;
    align-items: stretch;
  }
  .wpcf7 .fence-calc label {
    flex: 1 1 100%;
  }
}
