.elementor-4225 .elementor-element.elementor-element-3ab31fd4{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;overflow:visible;}.elementor-4225 .elementor-element.elementor-element-f4b5a2e{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;overflow:visible;}.elementor-4225 .elementor-element.elementor-element-eccded6 img{width:100%;height:572px;object-fit:cover;object-position:top right;}.elementor-4225 .elementor-element.elementor-element-25d54e14{--display:flex;--justify-content:center;--gap:12px 12px;--row-gap:12px;--column-gap:12px;--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;overflow:visible;}.elementor-4225 .elementor-element.elementor-element-25d54e14:not(.elementor-motion-effects-element-type-background), .elementor-4225 .elementor-element.elementor-element-25d54e14 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#09281C;}.elementor-4225 .elementor-element.elementor-element-49df26a0 .elementor-heading-title{font-size:20px;font-weight:500;letter-spacing:3.2px;color:#C7A080;}.elementor-4225 .elementor-element.elementor-element-1be6fdf > .elementor-widget-container{margin:0px 0px -12px 0px;}.elementor-4225 .elementor-element.elementor-element-1be6fdf{color:var( --e-global-color-primary );}.elementor-4225 .elementor-element.elementor-element-1be6fdf a{color:var( --e-global-color-2c47bd5 );}#elementor-popup-modal-4225 .dialog-widget-content{animation-duration:1.2s;box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);margin:0px 0px 0px 0px;}#elementor-popup-modal-4225{background-color:rgba(0,0,0,.8);justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-4225 .dialog-message{width:912px;height:572px;align-items:flex-start;padding:0px 0px 0px 0px;}#elementor-popup-modal-4225 .dialog-close-button{display:flex;}#elementor-popup-modal-4225 .dialog-close-button i{color:var( --e-global-color-2c47bd5 );}#elementor-popup-modal-4225 .dialog-close-button svg{fill:var( --e-global-color-2c47bd5 );}@media(max-width:767px){.elementor-4225 .elementor-element.elementor-element-49df26a0 .elementor-heading-title{font-size:14px;}}@media(min-width:768px){.elementor-4225 .elementor-element.elementor-element-f4b5a2e{--width:45%;}.elementor-4225 .elementor-element.elementor-element-25d54e14{--width:60%;}}/* Start custom CSS */:root {
  --ph-border: #C7A080;
  --ph-accent: white;   /* akcent */
  --ph-head-bg: #C7A080;  /* jaśniejszy, „prawie biały” beż dla nagłówka tabeli */
  --ph-text: #2B2B2B;
}

/* główny nagłówek mieszkania */
.property-title {
  font-size: 24px;
  font-weight: 600;
  color: #3B3B3B; /* ciemny, kontrastowy */
  margin-bottom: 14px;
  text-align: left;
}

/* kontener główny */
.price-history-modal {
  max-width: 720px;
  margin: 0 auto;
  padding: 15px 20px;
  color: var(--ph-text);
  font-family: inherit;
}

/* nagłówek sekcji */
.price-history-title {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  color: white;
  
  margin-bottom: 14px;
}
.price-history-title h6 {
  margin: 0;
  font-size: 18px;          
  line-height: 1.2;
  font-weight: 600;         
  letter-spacing: .2px;
  color: var(--ph-accent);  /* beżowy akcent */
}
.price-history-title .badge {
  font-size: 12px;
  padding: 6px 10px;
  border: 1px solid var(--ph-border);
  border-radius: 999px;
  background: #fff;
}

/* tabela */
.price-history-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--ph-border);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.price-history-table thead th {
  background: var(--ph-head-bg);  
  color: white;
  font-weight: 600;
  font-size: 15px;                
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ph-border);
}

/* wiersze danych – zawsze białe */
.price-history-table tbody tr:nth-child(even),
.price-history-table tbody tr:nth-child(odd),
.price-history-table tbody td {
  background: #fff !important;
}

.price-history-table tbody td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--ph-border);
}
.price-history-table tbody tr:last-child td {
  border-bottom: 0;
}
.price-history-table td.price {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* pogrubienie pierwszego (najnowszego) wiersza */
.price-history-table tbody tr:first-child td {
  font-weight: 600;
}

/* pionowe linie */
.price-history-table th,
.price-history-table td {
  border-right: 1px solid var(--ph-border);
}
.price-history-table th:last-child,
.price-history-table td:last-child {
  border-right: none;
}

/* brak hovera */
.price-history-table tbody tr:hover td {
  background: #fff !important;
}

/* stopka */
.price-history-note {
  margin-top: 10px;
  font-size: 12px;
  opacity: .7;
  text-align: center;
}

/* mobile */
@media (max-width: 480px) {
  .price-history-title {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .price-history-title .badge {
    justify-self: start;
  }
  .price-history-table thead {
    display: none;
  }
  .price-history-table,
  .price-history-table tbody,
  .price-history-table tr,
  .price-history-table td {
    display: block;
    width: 100%;
  }
  .price-history-table tr {
    border-bottom: 1px solid var(--ph-border);
  }
  .price-history-table tr:last-child {
    border-bottom: 0;
  }
  .price-history-table td {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 8px;
    padding: 10px 14px;
  }
  .price-history-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #6B5A3C;
  }
  .price-history-table td.price {
    text-align: left;
  }
}/* End custom CSS */