/* Box-sizing alleen toepassen op content gedeelte */
.column.main *, .column.main *:before, .column.main *:after {
  box-sizing: border-box;
}

/* Basis stijlen - consistente spacing tussen alle secties */
.promo-section {
  margin-bottom: 10px; /* Consistente kleine ruimte onderaan */
}

/* Sectie headers - styling voor de titels */
.section-header {
  text-align: center;
  margin: 30px 0 20px 0;
  padding: 0 15px;
}

.section-title {
  font-family: 'Bree Serif', serif;
  font-size: 32px;
  font-weight: normal;
  color: #5a4a2d;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 16px;
  color: #777;
  margin: 0;
  font-style: italic;
  line-height: 1.4;
}

/* Responsive aanpassingen voor sectie headers */
@media (max-width: 767px) {
  .section-header {
    margin: 25px 0 15px 0;
    padding: 0 10px;
  }
  
  .section-title {
    font-size: 26px;
  }
  
  .section-subtitle {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 22px;
  }
  
  .section-subtitle {
    font-size: 13px;
  }
}

/* Kleinere gutter tussen kolommen - aangepast voor betere uitlijning */
.row.reduced-gutter {
  margin-left: -5px;
  margin-right: -5px;
  margin-bottom: 0px;
}

.row.reduced-gutter > [class*='col-'] {
  padding-left: 5px;
  padding-right: 5px;
}

.view-all {
  color: #b8860b; /* Donker gouden kleur voor links */
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 10px; /* Aangepast voor consistentie */
  font-size: 14px;
}

.view-all:before {
  content: "› ";
  font-weight: bold;
}

/* Linker panel (aanbieding) */
.left-panel {
  background-color: #c19a6b; /* Warm caramel/beige als hoofdkleur */
  color: white;
  border-radius: 5px;
  padding: 20px;
  min-height: 320px; /* Minimale hoogte voor consistentie */
  position: relative;
  border: 1px solid #b38b5d; /* Donkerdere rand */
  margin-bottom: 10px; /* Aangepast voor consistente spacing */
}

/* Rechter panel (video) */
.right-panel {
  position: relative;
  border-radius: 5px;
  overflow: hidden; /* Belangrijk voor het binnen de grenzen houden van de video */
  min-height: 320px;
  margin-bottom: 10px; /* Aangepast voor consistente spacing */
}
/* Stijl voor de aanklikbare link rond het rechter paneel */
.right-panel-link {
  text-decoration: none;
  display: block;
  color: inherit;
}

.right-panel-link:hover {
  text-decoration: none;
}

.right-panel-link:hover .right-panel {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Subtiel hover effect */
}

/* Zorg ervoor dat de video pointer-events niet ontvangt */
.right-panel-link .video-container video {
  pointer-events: none;
}

/* Laat de overlay-link er nog steeds als een knop uitzien */
.right-panel-link .overlay-link {
  cursor: default; /* Voorkomt dubbele pointer */
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Belangrijk om de video correct te schalen */
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 30px;
  z-index: 2;
}

.overlay-title {
  font-family: 'Bree Serif', serif;
  color: white;
  font-size: 20px; 
  font-weight: normal;
  margin-bottom: 8px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.overlay-subtitle {
  font-family: 'Bree Serif', serif;
  color: white;
  font-size: 26px;
  font-weight: normal;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.overlay-link {
  font-family: 'Bree Serif', serif;
  display: inline-block;
  padding: 7px 12px;
  background-color: white;
  color: #5a4a2d;
  text-decoration: none;
  border-radius: 3px;
  font-weight: normal;
  font-size: 12px;
  transition: background-color 0.3s ease;
}

.overlay-link:hover {
  background-color: #f0f0f0;
}

.overlay-link::after {
  content: " »";
}

/* Content layout in linker panel - 2 kolommen */
.product-content {
  display: flex;
  height: 100%;
}

.product-text {
  width: 60%;
  padding-right: 15px;
}

.product-images {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.sale-tag {
  background-color: #d2691e; /* Warme oranje/bruine tint voor aanbieding */
  color: white;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
  font-size: 14px;
}

.discount-title {
  font-size: 28px;
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: normal;
}

.product-name {
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 18px;
  margin-top: 20px;
}

.product-specs {
  margin-top: 0;
  line-height: 1.4;
  font-size: 14px;
}

.price-section {
  margin-top: 15px;
}

.regular-price {
  text-decoration: line-through;
  display: inline-block;
  margin-right: 5px;
  font-size: 14px;
}

.sale-price {
  font-weight: bold;
  font-size: 24px;
}

.product-image-container {
  margin-bottom: 20px;
}

/* Verbeterde stijlen voor de koffieaanbiedingsblokken */
.coffee-offer-block {
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  background-color: #fff;
  padding: 15px;
  position: relative;
  margin-bottom: 10px; /* Consistente spacing */
  height: 100%;
  transition: box-shadow 0.3s ease;
  min-height: 350px;
}

.coffee-offer-block:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.offer-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #d2691e;
  color: white;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 3px;
  z-index: 2;
}

.coffee-offer-image {
  width: 188px;
  height: 188px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  border: 1px dashed #d2b48c;
  position: relative;
}

.coffee-product-brand {
  color: #777;
  font-size: 13px;
  margin-bottom: 5px;
}

.coffee-product-title {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 8px;
  color: #333;
  line-height: 1.2;
  min-height: 40px;
}

.coffee-product-description {
  font-size: 13px;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.3;
  min-height: 50px;
}

.coffee-price-container {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.coffee-price-old {
  text-decoration: line-through;
  color: #999;
  font-size: 13px;
  margin-right: 8px;
}

.coffee-price-current {
  font-weight: bold;
  font-size: 20px;
  color: #333;
}

.coffee-product-link, .coffee-product-link:hover {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.discount-badge {
  background-color: #c19a6b;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 8px;
}

/* Verbeterde styling voor de koffie-carrousel */
.coffee-carousel-container {
  position: relative;
  overflow: hidden;
  padding: 0;
  margin-bottom: 10px; /* Aangepast voor consistente spacing */
  width: calc(100% + 10px);
}

.coffee-carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  scroll-snap-type: x mandatory;
  gap: 10px;
  padding: 5px 0; /* Verminderde padding voor betere uitlijning */
  position: relative;
}

.coffee-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Verbeterde koffie-carrousel item styling voor betere uitlijning */
.coffee-carousel-item {
  flex: 0 0 auto;
  width: calc(100% - 10px);
  scroll-snap-align: center;
  padding: 0; /* Padding verwijderd voor betere uitlijning */
}

@media (min-width: 576px) {
  .coffee-carousel-item {
    width: calc(50% - 10px);
  }
}

@media (min-width: 768px) {
  .coffee-carousel-item {
    width: calc(33.333% - 10px);
  }
}

@media (min-width: 992px) {
  .coffee-carousel-item {
    width: calc(20% - 10px);
  }
}

/* Opvallendere swipe indicator voor mobiel - Font Awesome 4.7 */
.swipe-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(193, 154, 107, 0.9);
  border-radius: 4px;
  width: 120px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  opacity: 0; /* Begin onzichtbaar */
  color: white;
  font-weight: bold;
  text-align: center;
  padding: 0 15px;
  gap: 10px; /* Ruimte tussen de elementen */
}

/* Voor Font Awesome 4.7 gebruiken we :before en :after anders */
.swipe-indicator:before {
  content: "\f053"; /* FA4.7 arrow-left */
  font-family: 'FontAwesome';
  font-size: 14px;
}

.swipe-indicator:after {
  content: "\f054"; /* FA4.7 arrow-right */
  font-family: 'FontAwesome';
  font-size: 14px;
}

/* Animatieklasse die via JS wordt toegevoegd */
.swipe-indicator.animate {
  animation: fadeInOut 4s ease-in-out forwards;
}

@keyframes fadeInOut {
  0% { opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

/* Verberg swipe indicator op desktop */
@media (min-width: 768px) {
  .swipe-indicator {
    display: none;
  }
}

/* Extra aanpassing voor 5 kolommen layout - verbeterd voor uitlijning */
.col-md-1-5 {
  position: relative;
  min-height: 1px;
  padding-right: 5px;
  padding-left: 5px;
}

@media (min-width: 992px) {
  .col-md-1-5 {
    width: 20%;
    float: left;
  }
}

/* Styling voor blog artikelen sectie */
.blog-section {
  /* margin-top: 10px;
  margin-bottom: 10px;*/
}

.blog-wrapper {
  position: relative;
}

.blog-view-all-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 15px;
  margin-bottom: 20px;
}

.blog-view-all-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #c19a6b;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid #c19a6b;
}

.blog-view-all-btn:hover {
  background-color: #b38b5d;
  border-color: #b38b5d;
  transform: translateY(-2px);
  text-decoration: none;
  color: white;
}

.blog-view-all-btn:after {
  content: " »";
  transition: margin-left 0.2s ease;
}

.blog-view-all-btn:hover:after {
  margin-left: 3px;
}

.blog-card {
  border: 1px solid #e8e8e8;
  border-radius: 5px;
  overflow: hidden;
  background-color: #fff;
  margin-bottom: 10px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.blog-image {
  height: 100px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e8e8e8;
  flex: 0 0 auto; /* Hoogte blijft vast */
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
  flex: 1 0 auto; /* Neemt de rest van de beschikbare ruimte in */
  display: flex;
  flex-direction: column;
}

.blog-date {
  font-size: 12px;
  color: #777;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.blog-date:before {
  content: ""; 
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #c19a6b;
  border-radius: 50%;
  margin-right: 8px;
}

.blog-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.3;
  min-height: 47px; /* Zorgt voor consistente hoogte van titels */
}

.blog-excerpt {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 15px;
  flex: 1 0 auto; /* Zorgt ervoor dat de excerpt de beschikbare ruimte opvult */
  min-height: 84px; /* Ongeveer 4 regels tekst voor consistentie */
}

.blog-link {
  font-size: 13px;
  color: #b8860b;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: auto; /* Duwt de link naar beneden */
}

.blog-link:after {
  content: " »";
  transition: margin-left 0.2s ease;
}

.blog-link:hover:after {
  margin-left: 3px;
}

.blog-category {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #c19a6b;
  color: white;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Media queries voor responsive aanpassingen - aangepast om afbeelding rechts te houden */
@media (max-width: 767px) {
  /* Verwijder de flex-direction: column om afbeelding rechts te houden */
  .product-content {
    flex-direction: row; /* Blijf horizontaal */
  }
  
  /* Pas de breedtes aan voor kleinere schermen */
  .product-text {
    width: 60%;
    padding-right: 10px; /* Kleine padding tussen tekst en afbeeldingen */
  }
  
  .product-images {
    width: 40%;
    margin-top: 0; /* Verwijder de extra marge */
  }
  
  /* Maak tekst kleiner op mobiel */
  .discount-title {
    font-size: 22px;
    margin-bottom: 10px;
  }
  
  .product-name {
    font-size: 16px;
    margin-top: 15px;
  }
  
  .product-specs {
    font-size: 12px;
    line-height: 1.3;
  }
  
  .sale-price {
    font-size: 20px;
  }
  
  /* Overige mobiele aanpassingen behouden */
  .right-panel {
    min-height: 250px;
  }
  
  .overlay-title {
    font-size: 18px;
  }
  
  .overlay-subtitle {
    font-size: 22px;
  }

  /* Extra kleine schermen - pas de layout verder aan */
  @media (max-width: 480px) {
    .product-text {
      width: 55%;
    }
    
    .product-images {
      width: 45%;
    }
    
    .discount-title {
      font-size: 20px;
    }
  }
}
.left-panel-link {
  text-decoration: none;
  display: block;
  color: inherit;
}
.left-panel-link,
.left-panel-link:hover {
  text-decoration: none;
}
.left-panel-link:hover .left-panel {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* optioneel voor hover effect */
}
.frombadge{
    color: #999;
    font-size: 13px;
    margin-right: 8px;
}


/*brandlogos*/

/* Brand logos sectie - aangepast voor perfecte uitlijning */
.brand-logos-section {
    margin-bottom: 0;
}

.brand-logos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    justify-content: center;
    width: 100%;
}

.brand-logo-link {
    text-decoration: none;
    color: inherit;
}

.brand-logo-link:hover {
    text-decoration: none;
}

.brand-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 95px;
    height: 95px;
    flex-shrink: 0;
    border: 1px solid #e0e0e0;
}

.brand-logo-link:hover .brand-logo-item {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.brand-logo-image {
    width: 75px;
    height: 75px;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

.view-all-brands {
    text-align: right;
    margin-top: 15px;
    margin-bottom: 10px;
}

.view-all-link {
    color: #b8860b;
    text-decoration: none;
    font-weight: normal;
    font-size: 14px;
    display: inline-block;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #9a7209;
    text-decoration: none;
}

.view-all-link:before {
    content: "› ";
    font-weight: bold;
}

/* Desktop: 1 rij, gebruik volledige breedte */
@media (min-width: 769px) {
    .brand-logos-grid {
        flex-wrap: nowrap;
        gap: 6px;
        justify-content: space-between;
    }
    
    .brand-logo-item {
        width: calc(100% / 12 - 6px);
        min-width: 75px;
        height: 85px;
        flex: 1;
    }
    
    .brand-logo-image {
        width: 60px;
        height: 60px;
    }
    
    /* Toon maximaal 12 logo's op desktop */
    .brand-logo-link:nth-child(n+13) {
        display: none;
    }
}

/* Tablet aanpassingen */
@media (max-width: 768px) and (min-width: 481px) {
    .brand-logos-grid {
        gap: 8px;
        justify-content: center;
    }
    
    .brand-logo-item {
        width: 80px;
        height: 80px;
    }
    
    .brand-logo-image {
        width: 60px;
        height: 60px;
    }
}

/* Mobiel aanpassingen */
@media (max-width: 480px) {
    .brand-logos-grid {
        gap: 8px;
        justify-content: center;
    }
    
    .brand-logo-item {
        width: 70px;
        height: 70px;
    }
    
    .brand-logo-image {
        width: 50px;
        height: 50px;
    }
}


/* Alleen extra margin voor de hoofdpagina header */
.main-page-header {
  margin-top: 0;
}

@media (max-width: 767px) {
  .main-page-header {
    margin-top: 30px;
  }
}

/* SEO content styling - rest blijft hetzelfde */
.seo-content-wrapper {
  margin-top: 40px;
  margin-bottom: 40px;
}

.seo-text-block {
  background: #f8f7f4;
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* [rest van de SEO styling blijft hetzelfde] */

/* Responsive aanpassingen voor hoofdtitel */
@media (max-width: 767px) {
  .main-page-header {
    margin: 30px 0 25px 0;
    padding: 0 10px;
  }
  
  .main-page-title {
    font-size: 28px; /* Verkleind van 30px naar 28px */
  }
}

@media (max-width: 480px) {
  .main-page-title {
    font-size: 24px; /* Verkleind van 26px naar 24px */
  }
}


.seo-text-block p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #5a5a5a;
  font-size: 16px;
}

.seo-text-block p:last-child {
  margin-bottom: 0;
}

.seo-text-block a {
  color: #d2691e;
  text-decoration: none;
  font-weight: 500;
}

.seo-text-block a:hover {
  text-decoration: underline;
}

.seo-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
  margin-top: 25px;
}

.seo-category-link {
  display: block;
  background: white;
  padding: 15px 20px;
  border-radius: 6px;
  text-decoration: none;
  color: #5a5a5a;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #e8e8e8;
}

.seo-category-link:hover {
  background: #d2691e;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(210, 105, 30, 0.2);
}

@media (max-width: 768px) {
  .seo-text-block {
    padding: 20px;
  }
  
  .seo-links-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .seo-category-link {
    padding: 12px 16px;
  }
}