.woning-galerij-grid,
.woning-plattegrond-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 767px) {
    .woning-galerij-grid,
    .woning-plattegrond-grid {
        grid-template-columns: 1fr;
    }
}

.woning  .woning-galerij-slider {
	width: 100%;
    display: flex;
    gap: 15px;
    overflow: hidden;
    overflow-x: scroll;
    padding-bottom: 15px;
    margin-bottom: 15px;
    margin-top: 15px;
}

.woning .slider-slide {
    min-width: 75%; 
    transition: 0.5s ease all;
}

.woning  .slider-slide img {
    width: 100%; 
    display: block;
    border-radius: 5px;
}

.woning table {
    margin-bottom: 20px;
}

.woning table tr td {
    background: unset;
    padding: 5px;
}

.woning table td, 
.woning table th {
    font-size: 13.5px;
    padding: 5px;
    border-radius: 3px;
    border: unset;
}

.woning table tr.woning-prijs td {
    font-size: 15.5px;
}

.woning table tr.woning-extra-opties ul {
    padding-left: 15px;
    margin: 5px;
}

/*
.woning table tr:nth-child(even) td{
    background-color: #f1f1f19e;
}
*/
.woning h3 {
    margin: 10px 0px;
    font-size: 22px;
}

.woning .button {
    width: 100%;
    padding: 15px;
    background: #000;
    color: #fff;
    margin-top: 50px;
    text-decoration: none;
    min-width: 260px;
    margin-top: 15px;
	width: 100%;
}

.woning-galerij-grid,
.woning-plattegrond-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.woning-galerij-item img,
.woning-plattegrond-grid img
{
	width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 160px;
    object-fit: cover;
}

.tabs {
  margin: 2em 0;
  position: relative;
  width: 100%;
  max-width: 700px;
  background: #f7f7f7;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding-bottom: 30px;
}

/* Verberg de radio buttons */
.tabs input[type="radio"] {
  display: none;
}

/* Tab labels */
.tabs label {
  display: inline-block;
  padding: 0.5em 1.5em;
  margin-right: 2px;
  cursor: pointer;
  background: #e0e0e0;
  color: #333;
  border-radius: 6px 6px 0 0;
  transition: background 0.2s, color 0.2s;
  font-weight: 500;
  font-size: 1.1em;
}

/* Active tab label */
.tabs input[type="radio"]:checked + label {
  background: #fff;
  color: #0073aa;
  border-bottom: 2px solid #fff;
  position: relative;
  z-index: 2;
}

/* Tab content standaard verbergen */
.tabs .tab-content {
  display: none;
  background: #fff;
  border-radius: 0 0 8px 8px;
  padding: 1.5em 1em 1em 1em;
  margin-top: -2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

/* Toon de juiste tab-content op basis van radio button volgorde */
.tabs input[type="radio"]:nth-of-type(1):checked ~ .tab-content:nth-of-type(1),
.tabs input[type="radio"]:nth-of-type(2):checked ~ .tab-content:nth-of-type(2),
.tabs input[type="radio"]:nth-of-type(3):checked ~ .tab-content:nth-of-type(3),
.tabs input[type="radio"]:nth-of-type(4):checked ~ .tab-content:nth-of-type(4) {
  display: block;
}

/* Responsive */
@media (max-width: 600px) {
  .tabs {
    padding: 0.5em;
  }
  .tabs label {
    font-size: 1em;
    padding: 0.5em 1em;
  }
  .tabs .tab-content {
    padding: 1em 0.5em 0.5em 0.5em;
  }
}