/* Grid voor de kaarten */
.wppakket-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}
@media (min-width: 768px) {
  .wppakket-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .wppakket-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Kaart zelf */
.wppakket-card {
  position: relative;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 4px 0 rgba(16, 24, 40, 0.08);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.wppakket-card:hover {
  box-shadow: 0 8px 32px 0 rgba(81, 186, 94, 0.13);
  border-color: #51ba5e;
}

/* Header */
.wppakket-card-header {
  position: relative;
  padding: 0;
}
.wppakket-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  background: #51ba5e;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  box-shadow: 0 1px 2px rgba(34, 197, 94, 0.08);
  letter-spacing: 0.01em;
  line-height: 1;
}
.wppakket-badge-outline {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  background: #f0fdf4;
  color: #51ba5e;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  border: 1px solid #bbf7d0;
  letter-spacing: 0.01em;
  line-height: 1;
}

/* Afbeelding met aspect-ratio */
.wppakket-card-img-wrapper {
  width: 100%;
  aspect-ratio: 4/3;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  border-radius: 0;
}
.wppakket-card-img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  display: block;
}

.wppakket-card-specs-title {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
  color: #51ba5e;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.wppakket-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0.5rem 0 0 0;
  line-height: 1.3;
  min-height: 3.2em;
  color: #222;
  padding: 0 1rem 0.5rem 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 3.2em;
  white-space: pre-line;
}

/* Content (specificaties) */
.wppakket-card-content {
  padding: 0.5rem 1rem 0.5rem 1rem;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}
.wppakket-card-content-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.wppakket-card-content-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.85rem;
  padding: 0.15rem 0;
  color: #222;
}
.wppakket-card-content-list li span:first-child {
  color: #6b7280;
  font-weight: 500;
  min-width: 110px;
  flex: 1 1 45%;
  text-align: left;
}
.wppakket-card-content-list li span:last-child {
  color: #222;
  font-weight: 600;
  flex: 1 1 55%;
  text-align: right;
}

/* Footer */
.wppakket-card-footer {
  padding: 1rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.wppakket-card-prijsblok {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  margin-bottom: 0.2rem;
}
.wppakket-card-prijs {
  margin-bottom: 0;
  color: #161616;
  font-size: 1.3rem;
  font-weight: 600;
}

.wppakket-card-prijs span {
  color: #161616;
  font-size: 1.4rem;
  font-weight: 800;
}

.wppakket-card-prijs-link {
  margin: 0;
  padding: 0;
  line-height: 1.2;
  color: #222;
  text-decoration: underline;
}

.wppakket-card-prijs-link:hover {
  color: #51ba5e;
}

.wppakket-card-subsidie {
  color: #51ba5e;
  font-weight: 700;
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.wppakket-card-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wppakket-btn {
  display: block;
  width: 100%;
  min-height: 2.25rem;
  border-radius: 0.375rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border 0.2s;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 0.8rem 1rem;
}
.wppakket-btn-primary {
  background: #51ba5e;
  color: #fff;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 0.375rem;
  transition: background 0.2s;
  box-shadow: 0 2px 8px 0 rgba(81, 186, 94, 0.1);
}
.wppakket-btn-primary:hover {
  background: #368c44;
}
.wppakket-btn-outline {
  background: #fff;
  color: #161616;
  border: 1.5px solid #161616;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 0.375rem;
  transition: background 0.2s, color 0.2s;
}
.wppakket-btn-outline:hover {
  background: #161616;
  color: #fff;
}

.wppakket-btn-outline svg {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.4em;
  width: 1em;
  height: 1em;
  stroke-width: 2.2;
}

.wppakket-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.92rem;
  padding: 0.12rem 0;
}

.wppakket-spec-label {
  color: #6b7280;
  font-weight: 500;
  flex: 0 0 auto;
  text-align: left;
  font-size: 0.92rem;
  white-space: nowrap;
  margin-right: 0.5rem;
}

.wppakket-spec-value {
  color: #222;
  font-weight: 500;
  flex: 1 1 0%;
  min-width: 0;
  text-align: right;
  font-size: 0.92rem;
  word-break: break-word;
}

.wppakket-filterbar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.wppakket-filter-btn {
  padding: 0.5rem 1.1rem;
  border-radius: 0.375rem;
  background: #f3f4f6;
  color: #222;
  font-weight: 600;
  border: 1.5px solid #e5e7eb;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border 0.15s;
  font-size: 1rem;
  cursor: pointer;
  outline: none;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.wppakket-filter-btn.active,
.wppakket-filter-btn:hover {
  background: #51ba5e;
  color: #fff;
  border-color: #51ba5e;
}

.wppakket-card-subtitel {
  color: #161616;
  font-size: 1rem;
  font-weight: 300;
  display: block;
  margin-top: 2px;
  letter-spacing: 0.01em;
}

.wppakket-card-meerinfo-link {
  color: #51ba5e;
  text-decoration: underline;
  font-size: 0.98em;
  font-weight: 500;
  transition: color 0.2s;
}
.wppakket-card-meerinfo-link:hover {
  color: #222;
}
