/*
 Theme Name: Mindscape Child
 Theme URI: https://decoutere.eu/dm-heftrucks
 Description: Child theme for the Mindscape (Kubio) theme
 Author: Your Name
 Author URI: https://example.com
 Template: mindscape
 Version: 1.0.0
 Text Domain: mindscape-child
*/

/* Add your global CSS below */
.heftruck-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
	align-items: stretch;
}

.heftruck-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.heftruck-card {
  display: flex;
  flex-direction: column;
  padding: 15px;
  border: 1px solid #ccc;
  height: 100%;
  overflow: visible;
}
.heftruck-top {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.heftruck-bottom {
    margin-top: auto; /* DUWT dit blok NAAR BENEDEN */
}

.heftruck-card:hover {
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.heftruck-card img {
  max-width: 100%;
  height: auto;
}

.heftruck-card h3 {
  margin-top: 10px;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}
.heftruck-card ul {
  list-style: none;
  padding: 0;
}
.heftruck-card li {
  margin: 5px 0;
}

.image-wrapper {
  position: relative; 
  flex-grow: 1;            /* Laat de image-wrapper zoveel mogelijk ruimte innemen */
  display: flex;
  justify-content: center; /* Horizontaal centreren */
  align-items: center;     /* Verticaal centreren */
}

.stock-label-outside {
  position: absolute;
  top: -10px;
  left: 10px;
  background-color: red;
  color: white;
  padding: 5px 10px;
  font-weight: bold;
  border-radius: 5px;
  font-size: 0.9em;
  z-index: 10;
}

.heftruck-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}
.heftruck-detail img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}
.heftruck-detail ul {
  list-style: none;
  padding: 0;
}
.heftruck-detail li {
  margin: 10px 0;
}
.contact-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #0073aa;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}
.contact-button:hover {
  background-color: #005f8d;
}


html {
  scroll-behavior: smooth;
}
.offerte-label-outside {
  display: inline-block;
  background-color: #D2D2D2;
  color: white !important;
  padding: 4px 12px;
  font-weight: bold;
  font-size: 14px;
  border-radius: 6px;
  text-decoration: none !important;
  margin-top: 10px;
  line-height: 1.2;
  transition: background-color 0.3s ease;
}
.offerte-label-outside:hover {
  background-color: #e60000;
}

.cf7-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.cf7-grid label {
  display: block;
  margin-bottom: 15px;
  font-size: 15px;
}

.cf7-grid input,
.cf7-grid textarea {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 14px;
}

.cf7-grid textarea {
  min-height: 120px;
}

.postcode {
    width: 49%; /* Or 47.5% to account for space */
    float: left;
    margin-right: 2.5%; /* To create a gap */
}

.postcode.last_column {
    margin-right: 0;
}

.clear_column {
    clear: both;
}

.print-btn {
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.4rem .7rem; border:1px solid #ddd; border-radius:.35rem;
  background:#f8f8f8; color:#333; text-decoration:none;
}
.dashicons { font-size:20px; width:20px; height:20px; line-height:20px; }
@media print { .print-btn { display:none !important; } } 
